aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTablesList.m
Commit message (Collapse)AuthorAgeFilesLines
* Add initial support of moving views when renaming a database. Currently not ↵stuconnolly2012-05-041-1/+1
| | | | hooked up yet. Part of issue #1235.
* Tidy up and remove commented out code.stuconnolly2012-04-071-182/+116
|
* Replaced ivar accidentally removed from SP_REFACTOR buildsqlprodev2012-03-281-2/+2
|
* - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-271-4/+0
| | | | | | | fix nightly builds - Fix warnings
* tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-271-16/+42
|
* - Remove the GPL-licensed Colloquy-sourced NSNotificationAdditions category ↵rowanbeentje2012-03-171-8/+0
| | | | from the project, and replace with an MIT-licensed TCMPortMapper sources NSNotificationCenterThreadingAdditions category. This should fix method clashes in the SP_REFACTOR project, so remove behavioural/namespacing switches.
* More bugfixes to the SPMySQL integration branch:rowanbeentje2012-03-141-4/+4
| | | | | | - Fix background database structure checks throwing exceptions at the end of certain table operations - Fix incorrect timer access/overrelease when closing a SPNarrowDownCompletion window when database structure fetching is active
* Final feature work on the SPMySQL branch before merging:rowanbeentje2012-03-141-2/+2
| | | | | | | | - Add a ping keepalive managing object to prevent retain cycles from the NSTimer - Add -[SPMySQLConnection copy] support - Refactor Hans-Jörg Bibiko's database structure retrieval, moving it out of the MySQL framework and building it around a copy of the connection. This reduces the amount of connections-over-time used by Sequel Pro to two constant connections (addressing Issue #1097) and improves robustness. - Use the database structure retrieval connection for faster query cancellation without an extra connection required, if possible
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-48/+47
| | | | | | | | | | | | 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
* - Make SPConnectionController a NSConnectionView subclass so that retain ↵rowanbeentje2012-01-211-3/+0
| | | | cycles caused by manually loading libs with bindings to File's Owner are automatically handled, fixing leaks of SPConnectionController and items it retain including any MCPConnection; this will fix issues with MCPConnections attempting to reconnect but no longer having an associated SPDatabaseDocument
* For some reason table creation on MySQL 4.0 servers doesn't like the ↵stuconnolly2011-10-091-2/+1
| | | | engine/type being quoted.
* * Add "Copy CREATE *" to context and gear menu, fixes #1190 (updated ↵dmoagx2011-09-151-0/+20
| | | | .strings files)
* - Move table creation to a threaded task, avoiding race conditions caused ↵rowanbeentje2011-08-291-4/+16
| | | | by loading the new table and loading the structure tab on different threads (log #2266)
* - Review changes made in r3376 and revert a number of regressionsrowanbeentje2011-08-141-11/+10
|
* Re-add default new table's id field to AUTO_INCREMENT added in r3331, but ↵stuconnolly2011-08-121-1/+1
| | | | knocked out in r3376.
* Fix an exception when removing the only content filter. Fixes exceptions ↵stuconnolly2011-08-071-2/+4
| | | | http://spbug.com/l/2360 and http://spbug.com/l/2453
* merged latest SP_REFACTOR changessqlprodev2011-08-021-41/+95
|
* - Support regex within the table filter list to match tables, falling back ↵rowanbeentje2011-07-121-2/+7
| | | | to plain text matching; thanks to Emma Persky for the original patch
* * Make "Default" in new Table Sheet translatable (fixes part of #1006)dmoagx2011-06-211-2/+2
|
* With the exception of CSV tables, make the initial ID column the primary key ↵stuconnolly2011-06-191-1/+1
| | | | as well as auto increment. Implementes issue #297.
* - Fix "Multiple selection" still being displayed after multiple tables are ↵rowanbeentje2011-06-141-13/+7
| | | | | | | | | deleted - If multiple tables are selected when opening the SPFieldMapperController select the first to import into - Clean up tableName in tablesList - now returns nil if no tables are selected or multiple tables are selected, instead of returning an empty string for multiple tables
* - Ensure the correct table name is displayed when an error occurs deleting ↵rowanbeentje2011-05-291-1/+1
| | | | an item from a filtered list; this addresses Issue #1062
* merging SP_REFACTOR branch with trunksqlprodev2011-05-191-1/+3
|
* • control the separator menu item above the "Open ... in new Tab" in ↵Bibiko2011-05-071-0/+10
| | | | TablesList's context and gear menu to avoid having two separators one after another
* Small tidy up, mainly the addition of constants.stuconnolly2011-05-051-96/+44
|
* SP_REFACTOR: Workaround for naming conflict with ↵sqlprodev2011-04-141-0/+8
| | | | postNotificationOnMainThread: which also exists in TCMPortMapper.framework; NSUserDefaults access now permitted in SP_REFACTOR blocks for a few prefs keys
* initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate ↵sqlprodev2011-04-111-4/+135
| | | | UI code from functional code
* - When creating a new table, switch to the Structure tab to allow further ↵rowanbeentje2011-04-101-0/+2
| | | | setup of the table directly after creation
* - Add support in SPTableView to disable edit-on-tab behaviourrowanbeentje2011-04-101-2/+7
| | | | | - Use this new support in SPTablesList to prevent the tab key entering rename mode when focus is on the table list - this addresses Issue #1028
* - Fix more compiler warningsrowanbeentje2011-03-151-64/+64
| | | | | - Tweak README
* Fix more compiler warnings, including a few bugsrowanbeentje2011-03-081-21/+28
|
* - Fix more compiler warningsrowanbeentje2011-03-041-1/+2
|
* fixed compiler warningssqlprodev2011-03-011-1/+0
|
* - Preserve the current filter string when refreshing the table list if one ↵rowanbeentje2011-02-201-5/+15
| | | | is set. This also fixes the filter text being reset when performing a SQL export.
* • some code improvements for willDisplayCell:Bibiko2011-01-251-23/+41
|
* - Add a new -engineTypeQueryName method to SPServerSupport, with a correct ↵rowanbeentje2011-01-131-1/+1
| | | | | | | split between TYPE or ENGINE depending on database version. - Update CREATE TABLE and ALERT TABLE queries to use this, fixing custom-type table creation on MySQL <4 and table type changes on MySQL >= 5.5. This addresses Issue #947.
* • fixed issue to be able to cancel via ESC the in-cell editing of the ↵Bibiko2010-12-151-1/+2
| | | | tablesListView (and avoiding to call completion for Query Editor) and Bundle Editor's outlineView; in addition the focus remains at the view
* • fix table name encoding problem (return name can be NSNull) which can ↵Bibiko2010-12-111-1/+8
| | | | | | arise while SPTablesList updateTables method, • added [theView breakUndoCoalescing]; before inserting the grey completion suggestion due to possible undo exceptions
* - Fix issues right-clicking in the empty table area ( http://spbug.com/l/1726 )rowanbeentje2010-11-271-0/+3
| | | | | | | - Improve 10.5 compatibility when clearing menus ( http://spbug.com/l/1508 , http://spbug.com/l/1829 , http://spbug.com/l/1818 ) - Fix a possible crash when updating database lists - Update localisable strings
* - Fix interface updates when multiple tables are selectedrowanbeentje2010-11-251-1/+4
|
* - When adding multiple new tables, ensure the keyboard focus is set to the ↵rowanbeentje2010-11-241-0/+3
| | | | name field on subsequent invocations of the sheet
* - Abstract SPDatabaseDocument's Connection/.spf saving/loading ↵rowanbeentje2010-11-231-12/+57
| | | | | | | | | | functionality into state setting and getting functions, and refactor old commands to use them - Fix restoring of content sort column order and selected indexes - Add menu items for duplicating current tab (as an alternate), opening selected table in a new tab, or opening selected database in a new tab - Clean up file menu by making Connection/Session "Save as..." menu items alternates - Update localisable strings
* • renamed some shell variables for Bundle commandsBibiko2010-11-221-0/+40
| | | | • added sequelpro scheme commands: SelectTables, ReloadTablesList, ReloadContentTable
* Add a new category to SPDatabaseDocument, allowing code cleanup and moving ↵rowanbeentje2010-11-031-317/+26
| | | | | | | | | | | central functionality out of SPTablesList: - Centralise control over table loading, moving it away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Centralise control over the main tab view, moving control away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Simplify and clean up view loading logic - Improve thread safety - Update localisable strings
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-241-5/+0
| | | | | | | | - Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it. - Fix some spacing issues on the export dialog. - Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes. - Update strings files.
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* Remove use of multiple comments for localized strings.stuconnolly2010-10-191-1/+1
|
* Various improvements to server capability/version checking, including:stuconnolly2010-10-071-18/+24
| | | | | | | | | | | | | - Add a new ServerSupport class, for which an instance is created upon each new connection and is then subsequently accessible via SPDatabaseDocument. - Replace the majority of manual version checking with calls to properties in the above new class. - Improve the user manager's compatibility with MySQL 3 and 4 servers. Fixes issue #811 Other changes include: - Disable the encoding popup button when adding a new table or database to servers running pre MySQL 4.1 as it only contains one option, 'Default'. - Fix various potential memory leaks discovered during static analysis. - General tidy up and comments.
* • Filter TableBibiko2010-09-291-3/+0
| | | | | - fixed thread issue while loading a new table - fixed DBView.xib warnings
* • Filter TableBibiko2010-09-291-0/+3
| | | | | | | - added "Search while Typing" - added some keyboard short-cuts - fixed some minor issues - Filter Table is now a normal NSWindow