aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableRelations.h
Commit message (Collapse)AuthorAgeFilesLines
* Update URL in source file header to point to GitHub.Stuart Connolly2014-01-261-1/+1
|
* Remove SVN property placeholder.Stuart Connolly2014-01-261-2/+0
|
* Ensure the relations table view is refreshed after field changes result in a ↵stuconnolly2013-10-271-16/+16
| | | | dropped relationship. Fixes issue #1591.
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-14/+22
|
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-5/+3
| | | | | | | | | | | | exceptions as database structure retrieval is currently missing! Further work on SPMySQLFramework integration: - Improve SPMySQL framework build settings including correct ppc builds and a Distribution configuration for the build distributions to match - Add new convenience querying and result methods to the framework - Amend Sequel Pro source to use the new SPMySQL.framework methods everywhere, replacing MCPKit methods where they differ and improving some functions - Remove MCPKit from the source - Fix a number of warnings on Release-style builds
* Rework relation addition and name lookups following testing and research:rowanbeentje2011-09-071-3/+1
| | | | | | | | - Remove the background lookup of table constraint names for the current database. This prevented connection use while the query was running, and the query cannot be optimised and severely taxes servers with many databases. Revert to checking names against names in the current database - Repurpose the activity spinner for adding relation query execution - When an error is encountered adding a relation, re-open the sheet with the submitted values after displaying the error - Add use of 'SHOW InnoDB STATUS' command and text extraction to show more explicit errors for the most common constraint errors
* Fix for issue 1168. Whenever the database is changed load all of the ↵stuconnolly2011-09-041-1/+6
| | | | currently used relation names in a backgroud thread. In the event that the user opens the add new relation sheet during this process, the ability to enter a relation name and confirm the addition is disabled until the retrieval process is complete. There is also a new progress indicator on the add sheet to indicate this.
* * Fixes a spacing issue and an issue where MySQL keywords could be ↵dmoagx2011-07-041-0/+2
| | | | | | translated (fixes #1105) * Adds support for naming relations (fixes #948, #1085)
* * Allow table names to be sorted in lists via "AlphabeticalTableSorting" ↵dmoagx2011-04-291-0/+1
| | | | | | hidden pref key * Change some [[NSPopupButton selectedItem] title] to [NSPopupButton titleOfSelectedItem]
* - Add the ability to double-click in empty areas of the main tableviews to ↵rowanbeentje2011-04-251-1/+3
| | | | add new rows/records
* Fix more compiler warnings, including a few bugsrowanbeentje2011-03-081-0/+3
|
* Tidy up.stuconnolly2010-10-191-1/+0
|
* Initial implementation of tabs:rowanbeentje2010-05-231-1/+0
| | | | | | | | - Addition of PSMTabBar framework - Rework away from a document-based TableDocument - Support tabs throughout the application - Add menu items for creating tabs, and add support for dragging tabs to different windows
* Various printing support enhancements, including:stuconnolly2010-03-121-0/+4
| | | | | | | | | - Splitting out all printing methods to SPPrintController which is category of TableDocument. - The ability to print table relations. - If present the inclusion of table indexes when printing a table's source. - If the user has use monospaced fonts enables, then the print out's tabular data will be in a monospaced font. - Lots of other style enhancements, including page headings and sections headings.
* Random source tidy up changes.stuconnolly2009-12-181-2/+0
|
* Tidy up.stuconnolly2009-11-071-2/+2
|
* - Add task support to all the main interface viewsrowanbeentje2009-11-041-0/+4
| | | | | | | | - Improve task support on previously supported views - Use a threaded task load for all initial table loads - Support threaded task loads for table content loads, reloads, sorts, and filters - Improve upon previous threaded task loads by minimising view updates and supporting updates of the existing data arrays where valid
* Merge framework integration branch back to trunk. Summary of changes:stuconnolly2009-07-211-4/+4
| | | | | | | | | | | | | | | - Includes all custom code from subclasses CMMCPConnection and CMMCPResult, meaning they have subsequently been removed from the project. - All previous Sequel Pro specific code in the above subclasses has been removed in favour of the delegate (currently set to TableDocumet) informing the framework of such information. - All references to CMMCPConnection and CMMCPResult have subsequently been changed to MCPConnection and MCPResult. - Framework includes MySQL 5.1.36 client libraries and source headers. - Framework is now built as a 4-way (32/64 bit, i386/PPC arch) binary. - All import references to <MCPKit_bundled/MCPKit_bundled.h> have been changed to <MCPKit/MCPKit.h>. - New script 'build-mysql-client.sh' can be used to build the MySQL client libraries from the MySQL source. See the script's header for a list of available options or run it with no arguments to display it's usage. Note that there are still a few changes to be made to the framework with regard to removing Sequel Pro specific calls to the delegate. These however can be made later on as they have no effect on functionality and are merely design changes. Also, note that any future development done on the framework should be made to be as 'generic' as possible, with no Sequel Pro specific references. This should allow the framework to be integrated into another project without the need for SP specific code.
* Various enhancements to relation functionality, including:stuconnolly2009-06-031-24/+26
| | | | | | | - Only presenting valid tables for possible relations, that is InnoDB tables. - Only presenting valid columns for possible relations, that is columns of the same data type. - Loads of interface validation.
* More header updates for source files, including Subversion Id property.stuconnolly2009-05-191-0/+2
|
* Source tidy up including standard header for all source files.stuconnolly2009-05-181-1/+0
|
* Rename TableRelations.[hm] to SPTableRelations.[hm] so we it was created by ↵stuconnolly2009-05-181-0/+68
the SP team.