aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
Commit message (Collapse)AuthorAgeFilesLines
* Add a new SPAppController SPWindowManagement.stuconnolly2012-07-071-0/+1
|
* Merged SP r3710 with Codasqlprodev2012-07-051-6/+72
|
* - Fix saving of .spf files using unencrypted formats, encoding the content ↵rowanbeentje2012-06-261-0/+22
| | | | selection index set
* - Allow table check/optimize/analyze etc operations to be performed on ↵rowanbeentje2012-06-251-0/+5
| | | | MySQL 4.1 servers which return results as NSData
* - Fix issues opening new windows when Sequel Pro is opened in the ↵rowanbeentje2012-06-231-7/+10
| | | | | | | background, eg as a result of an application quarantine dialog. This addresses Issue #1375. - Fix exceptions and multiple errors when opening locked or encrypted session files where opening is cancelled.
* - Retain the new SPDatabaseData defaultCharacterSetEncoding when created, ↵rowanbeentje2012-06-111-1/+1
| | | | fixing overrelease crashing on exit
* Add the default encoding and storage engine to the default menu items on the ↵stuconnolly2012-06-101-17/+7
| | | | new table sheet. Implements issue #1245.
* - Remove delayed favourite selection call on tab setup. This fixes detail ↵rowanbeentje2012-06-031-28/+3
| | | | | | | reset issues causing Issue #1362 and Issue #1338, possibly others. - Clean up duplicate code setting and resetting connection interface state, ensuring one code path used by all
* Improvements to connection view outline view:rowanbeentje2012-05-201-1/+1
| | | | | | | | | | - Prevent groups from being dragged into themselves (or child nodes) to prevent data loss - Improve selection handling when manually reordering nodes - Don't allow drags of the "Favorites" title at the top of the view to prevent exceptions - Prevent the "Favorites" title from being collapsed to prevent confusion on 10.7+ - Improve group tooltips to reflect contained favourites and groups - Improve menu validation checks
* Improve connection keepalive, disconnect, and connection loss after ↵rowanbeentje2012-05-151-3/+5
| | | | | | | | | | | reviewing crash logs and testing a number of situations: - Improve stability of closing connections after a connection loss - Minimise prompting a user for connection state restore if closing windows/tabs - Allow cancellation of keepalive ping threads to prevent crashes after deallocation of parent - Manually handle ping thread state struct memory to avoid cross-thread deallocation issues - Improve disconnection speed and resilience
* Add initial support of moving views when renaming a database. Currently not ↵stuconnolly2012-05-041-0/+1
| | | | hooked up yet. Part of issue #1235.
* - Alter the variable that currentFavorite tracks to the favourite instead ↵rowanbeentje2012-05-021-5/+5
| | | | | | | of a copy of the represented node; this addresses a crash on Lion (Issue #1328) - Clean up variables and initialisers, restore connection keychain ID tracking and setting
* Merge outline view branch into trunk.stuconnolly2012-05-021-5/+7
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for managing and grouping favorites into folders in the connection view and removes the associated favorites management from the preferences window. NOTE: On first launch your connection favorites will be migrated from Sequel Pro's preference file to a new file in ~/Application Support/Sequel Pro/Data. Your old favorites will remain in the preference file until removed in a future version. Outstanding known issues: - Removing a group node with no child favorites presents a warning about also removing the non-existent favorites. - Starting the application with no favorites, creating a group node then selecting, hides the connection details input. Doesn't support emoty selection. - Setting the name of a connection, adding it to the favorites and then swicthing to a different connection type, screws with the favorite name. - The preservation between launches of whether group nodes are collapsed or not is currently not supported.
| * Bring outline view branch up to date with trunk.stuconnolly2012-04-161-92/+130
| |
| * Bring outline view branch up to date with trunk (r3471:r3517).stuconnolly2012-03-181-136/+123
| |
| * Bring outline view branch up to date with trunk (r3471:r3481).stuconnolly2012-02-191-3/+3
| |
| * Split out connection controller initialization.stuconnolly2012-01-221-1/+1
| |
| * Bring outlinew view branch up to date with trunk (r3375:3468).stuconnolly2012-01-221-35/+175
| |
| * Fix compile error.stuconnolly2011-08-041-3/+0
| |
| * Bring outline view up to date with trunk (r3307:r3375).stuconnolly2011-08-031-21/+31
| |
| * Fix exceptions being thrown upon launch.stuconnolly2011-05-141-3/+3
| |
| * Bring outline view branch up to date with trunk (r3279:r3306).stuconnolly2011-05-141-16/+28
| |
| * Fix broken build after merge with trunk.stuconnolly2011-04-241-2/+1
| |
| * Bring outline view branch up to date with trunk (r3234:3277).stuconnolly2011-04-221-16/+239
| |
| * Bring outline view branch up to date with trunk (r3246:r3264).stuconnolly2011-04-031-6/+7
| |
| * Bring outline view branch up to date with trunk (r3235:r3245), which should ↵stuconnolly2011-03-191-0/+1
| | | | | | | | resolve all warnings.
| * Bring outline view branch up to date with trunk (r3227:r3233).stuconnolly2011-03-081-37/+40
| |
| * Bring outline view branch up to date with trunk (r3203:r3224).stuconnolly2011-03-071-7/+12
| |
| * Bring outline view branch up to date with trunk (r3179:r3187).stuconnolly2011-02-071-1/+0
| |
| * Bring outline view branch up to date with trunk (r3165:r3177).stuconnolly2011-02-011-22/+27
| |
| * Bring outline view branch up to date with trunk (r3056:r3162).stuconnolly2011-01-271-134/+74
| |\
| * \ Bring fravorites outline view branch up to date with trunk (r3036:3058).stuconnolly2010-12-281-14/+4
| |\ \
| * \ \ Bring outline view branch up to date with trunk (r3030:3035).stuconnolly2010-12-171-26/+338
| |\ \ \
| * \ \ \ Bring outline view branch up to date with trunk (r3018:3028).stuconnolly2010-12-141-3/+35
| |\ \ \ \
| * \ \ \ \ Bring outline view branch up to date with trunk (r3011:3016).stuconnolly2010-12-131-0/+3
| |\ \ \ \ \
| * \ \ \ \ \ Bring outline view branch up to date with trunk (r3007:3010).stuconnolly2010-12-121-15/+19
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Bring outlineview branch up to date with trunk (r2989:3005).stuconnolly2010-12-111-3/+2
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Bring outline view branch up to date with trunk (r2976:2988).stuconnolly2010-12-081-0/+22
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Bring outlineview branch up to date with trunk (r2967:2974).stuconnolly2010-12-061-0/+15
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Apply new favorites outline view patch.stuconnolly2010-12-051-4/+4
| | | | | | | | | | |
* | | | | | | | | | | Tidy up and remove commented out code.stuconnolly2012-04-071-3/+2
| | | | | | | | | | |
* | | | | | | | | | | #ifdef'ing out references to frameworks that are not used in SP_REFACTOR buildssqlprodev2012-03-291-1/+5
| | | | | | | | | | |
* | | | | | | | | | | Refresh the database drop down menu before selecting the new database after ↵stuconnolly2012-03-281-73/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a rename to prevent a secondary thread using the database list while it's being modified on the main thread. Fixes log reports http://spbug.com/l/2294
* | | | | | | | | | | User manager code tidy up.stuconnolly2012-03-281-1/+1
| | | | | | | | | | |
* | | | | | | | | | | - 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-3/+31
| | | | | | | | | | |
* | | | | | | | | | | - Rework SPTableData PRIMARY KEY and UNIQUE KEY parsing to use SPSQLParser ↵rowanbeentje2012-03-221-18/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of regexes - Support multiple primary keys in the SPTableData parse - If possible, use primary keys to preserve table content selection instead of row indexes - Improve SPTableData primary keys method to use cached value instead of using another query - Preserve selection when filtering tables if appropriate
* | | | | | | | | | | - Fix crashes caused by the database structure retrieval continuing briefly ↵rowanbeentje2012-03-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | after the parent document was closed
* | | | | | | | | | | Fix build errors.stuconnolly2012-03-171-4/+4
| | | | | | | | | | |
* | | | | | | | | | | Add constants for MySQL 'system' databases.stuconnolly2012-03-171-3/+6
| | | | | | | | | | |