aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableRelations.m
Commit message (Collapse)AuthorAgeFilesLines
* Replace the main toolbar's #define'd identifier constants with extern's. ↵stuconnolly2009-12-121-3/+3
| | | | This completes the conversion of all constants in SPConstants to extern's.
* When attempting to delete a field that is part of a foreign key ↵stuconnolly2009-11-181-1/+1
| | | | | | | | | relationship, remove the key before the field to prevent an error. Obviously warn the user that the key is being dropped as well. Fixes issue #462. This check also needs to be implemented when removing indexes as foreign keys depend on the presence of indexes to prevent table scans. Something to be discussed, the display of foreign keys that are made up of multiple fields in the relations table and link arrows in the content table.
* Make the relations table view observe the use monospaced font preference.stuconnolly2009-11-151-0/+26
|
* Set keyboard shortcut for Delete button in alert dialogs to command D.avenjamin2009-11-091-4/+5
| | | | Set keyboard shortcut for Truncate button in alert dialog to command T
* Tidy up.stuconnolly2009-11-071-2/+2
|
* - Add task support to all the main interface viewsrowanbeentje2009-11-041-6/+63
| | | | | | | | - 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
* Enable the display of vertical grid lines in the table relations table view.stuconnolly2009-11-011-0/+14
|
* Tiny performance improvement and cleaner code.stuconnolly2009-10-091-3/+3
|
* Don't filter out the current table of available tables to reference when ↵stuconnolly2009-10-091-1/+1
| | | | creating a new relation. Fixes issue #428.
* When creating a new relation, the ON UPDATE and ON DELETE drop downs should ↵stuconnolly2009-08-271-5/+11
| | | | only contain valid MySQL options. Fixes issue #388.
* Don't run the add relation sheet application modally and thus block the ↵stuconnolly2009-08-071-19/+14
| | | | entire main thread until it is dismissed. Note that is not only sheet that is being run using runModalForWindow, which is subsequently causing the same issue. Fixes issue #357.
* - Update the 'this table does not support relations' to be a little more ↵stuconnolly2009-07-301-1/+1
| | | | | | | informative. - Increase the size of the table selection NSPopupButton on the CSV import field mapping panel.
* - Add keyboard shortcuts for Add and Delete buttons in Table Relations panerowanbeentje2009-07-261-0/+9
| | | | | | | | - Remove hidden, non-implemented menu in create table relation add dialog to improve tabbing through fields in the popup - Add cancel shortcut in the table relation add dialog - Prevent table relations table cells from being edited, as edit support isn't present yet - clean up tooltips to fix references to Indexes
* Merge framework integration branch back to trunk. Summary of changes:stuconnolly2009-07-211-3/+1
| | | | | | | | | | | | | | | - 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.
* - Make the DBView window the document window. This allows the document to ↵rowanbeentje2009-07-151-0/+1
| | | | | | | | | | be closed when the window is closed, freeing the document's memory - Update a number of dealloc methods to include more retained memory, and to avoid releasing non-retained memory - Remove notification observers and delegates where appropriate to avoid issues after document closing - Fix a couple of memory leaks - Support window cascading for all windows past the first, using the first window as the autosave window
* Fix warnings caused by calls to validateMenuItem: being passed to NSObject ↵stuconnolly2009-07-021-1/+1
| | | | by returning YES by default.
* Add contextual menus to the table content and table relations views. ↵stuconnolly2009-07-021-0/+15
| | | | Completes the implementation of issue #139 as all views now have contextual menus.
* Change the remove relation confirmation dialog to a sheet as opposed to a ↵stuconnolly2009-06-241-34/+48
| | | | modal dialog.
* Remove table column from relations table view as its redundant data.stuconnolly2009-06-241-1/+0
|
* - Tweak to table relations to allow data refreshing to optionally clear the ↵rowanbeentje2009-06-231-28/+37
| | | | master data cache; removes the duplicate CREATE TABLE command on table load, reducing overall queries and so improving speed further
* Various enhancements to relation functionality, including:stuconnolly2009-06-031-192/+204
| | | | | | | - 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
|
* Updates to add relation sheet.stuconnolly2009-05-181-5/+1
|
* Minor updates to table relation dialogs.stuconnolly2009-05-181-24/+21
|
* Fix an issue where by selecting a table with relations and then selecting ↵stuconnolly2009-05-181-6/+9
| | | | one which doesn't still displays the relations of the previously selected table.
* Rename TableRelations.[hm] to SPTableRelations.[hm] so we it was created by ↵stuconnolly2009-05-181-0/+363
the SP team.