aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPHistoryController.m
Commit message (Collapse)AuthorAgeFilesLines
* Fixed NSMutableString vs NSString warningsMarius Ursache2013-11-091-2/+2
|
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-1/+1
|
* - Add names for most threads created by Sequel Pro for easier debugrowanbeentje2012-10-141-1/+2
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-12/+20
|
* - Rework SPTableData PRIMARY KEY and UNIQUE KEY parsing to use SPSQLParser ↵rowanbeentje2012-03-221-6/+6
| | | | | | | | | | 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 more compiler warnings, including a few bugsrowanbeentje2011-03-081-9/+10
|
* fixed compiler warningssqlprodev2011-03-011-0/+1
|
* • fixed minor issue for filterTable approach in ContentBibiko2011-01-241-0/+2
| | | | - prepared some stuff for table state history
* Add a new category to SPDatabaseDocument, allowing code cleanup and moving ↵rowanbeentje2010-11-031-1/+1
| | | | | | | | | | | 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-2/+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
|
* • made SP more robust against fast closing of tabs and windowsBibiko2010-06-291-1/+3
| | | | • setHideForSingleTab:YES after opening spfs session
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-281-1/+1
|
* Rename TableContent to SPTableContent.stuconnolly2010-05-281-1/+1
|
* Rename TablesList to SPTablesList.stuconnolly2010-05-271-1/+1
|
* - Add support for progress indicator in tabsrowanbeentje2010-05-241-1/+0
| | | | | | - Hide Navigator menu option again - Remove accidentally committed debug
* Initial implementation of tabs:rowanbeentje2010-05-231-0/+1
| | | | | | | | - 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
* - Fix an issue when truncating tables using the right-click menu, by ↵rowanbeentje2010-05-221-13/+13
| | | | | | | | improving the truncation reload code and by removing a problem in TableContent tracking the active table name. This addresses Issue #700 and a number of crash reports. - Rename SPHistoryView* constants to SPTableView* constants and use them more widely rather than hard-coded tab indexes - Fix a problem preventing history navigation if a triggers view was the previous item in the history
* - Add a new couldCommitCurrentViewActions method to TableDocument, and ↵rowanbeentje2010-04-181-0/+3
| | | | | | | | standardise current view-commit-checks to use that - Add checking of that status to history navigation (fixing http://spbug.com/l/127 ) and window closing (fixing http://spbug.com/lr/263 ) - Improve thread safety/deferred actions in TableContent
* - Tweak the history controller to track the toolbar item visibility, and ↵rowanbeentje2010-04-151-1/+67
| | | | only update it when visible - this fixes crashes after the toolbar item is removed from the toolbar and then updated (eg http://spbug.com/l/114 )
* Add support for the triggers view in the history controller.stuconnolly2010-03-251-0/+7
|
* - Correctly store scroll and selection for the navigation history when ↵rowanbeentje2010-03-251-2/+15
| | | | filtering content tables
* General tidy up, with a focus on consolidating more constants in ↵stuconnolly2010-03-241-11/+12
| | | | SPConstants.h/m.
* - Add a new selectDatabase:item: method to TableDocument, to centralise ↵rowanbeentje2010-03-241-27/+14
| | | | | | | | | | code for selecting databases and tables. Clean up database selection to use this new method, and avoid reloads when re-selecting the same database. - Convert the history controller to use this new call. This fixes history behaviour when a table list filter was active. - Convert the (hidden) navigator to use this new call. This fixes timing issues. - Make some thread safety tweaks to TablesList. - Change TablesList selectTableOrViewWithName: to selectItemWithName:, including procs etc.
* - Simplify table source table setup and make thread safe. This should ↵rowanbeentje2010-03-221-3/+4
| | | | | | | | address http://log.sequelpro.com/view/43 , http://log.sequelpro.com/view/46 - Improve keepalive timer interaction - this should address http://log.sequelpro.com/view/74 and http://log.sequelpro.com/view/71 - Further thread safety improvements to Custom Query, Table Document, and the history controller
* Fix Issue #574 (foreign key links not working after first use):rowanbeentje2010-02-231-8/+8
| | | | | | - Move foreign key reference loading into it's own task and set state modification markers to allow it to override the table state history - Rename modifyingHistoryState to modifyingState now the usge has broadened slightly
* - Save and restore content table sorting, filter criteria, scroll position ↵rowanbeentje2010-02-091-1/+50
| | | | | | | and selection when switching tables and databases. This implements Issue #469. - Fix history bug causing column sorts to always be restored ascending
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-23/+23
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* - Fix issues causing memory leaks and causing history load tasks never to ↵rowanbeentje2009-12-131-5/+9
| | | | complete when loading certain history entries - this addresses Issue #499
* - Replace the LIMIT interface on the content view with a pagination control ↵rowanbeentje2009-11-231-9/+19
| | | | | | | | at the bottom. This addresses the last of Issue #49 and implements Issue #133; jump-to and two prefs affecting loading are available in a popup when clicking the pagination interface. - Format row counts at the bottom of the content pane - Increase the MCPStreamingResult buffer for a stronger workaround for #463
* - Support nested task levels to allow tasks to overlaprowanbeentje2009-11-081-3/+28
| | | | | | | - Thread history loading, thus using the nested task elvels and fixing history interaction in recent builds - Thread initial database loads - Improve progress indicator slightly
* Tidy up.stuconnolly2009-11-071-1/+0
|
* Missing SVN properties.stuconnolly2009-10-091-2/+2
|
* • first implementation of a Content Filter EditorBibiko2009-10-011-20/+3
| | | | | | | | | | | | | | - user-defined content filter can be saved globally (Prefs) or in SPF files - BETA - further tests are needed due to complexity - SPQueryController now handles the local user-defined content filters - tooltips are now generated automatically if not defined explicitly (incl. if $BINARY placeholder was used) • if user added local query favorites or content filters to an Untitled document and s/he wants to close it the standard sheet will be displayed (Don't Save - Cancel - Save) - due to that changed old [TableDocument displayName] to 'displaySPName' to be conform with Cocoa • changed behavior while importing query favorites - now they will append at the list (not inserted after selected row - makes more sense) • introduced to history filter dict the key 'menuLabel' which will be set to [TableContent tableFilterString] for displaying the history menu title and simplified the SPHistoryController logic for that • minor code changes
* - Update history item name generation (for history menus) to add support ↵rowanbeentje2009-09-301-0/+10
| | | | for the BETWEEN filter
* Forgot to assign the back/forward history menu item's tags resulting in ↵stuconnolly2009-09-121-2/+2
| | | | incorrect navigation and menu item validation.
* Add back/forward history menu items to the view menu with the assigned ↵stuconnolly2009-09-121-6/+26
| | | | shortcuts of cmd+[ and cmd+].
* - Add history menus to the history back/forward buttons for faster ↵rowanbeentje2009-08-061-0/+81
| | | | navigation; click and hold buttons to view navigation menu
* - Fix some small memory leaks when changing tablesrowanbeentje2009-08-041-6/+8
| | | | | - Fix the history navigation to correctly switch across databases without invalid history states
* - Fix an errant NSLog in TableSourcerowanbeentje2009-08-011-19/+73
| | | | | | - Improve and make consistent state saving in TableContent; now saves filters and scroll position mor reliably on refresh/edit, and supports remembering and restoring which rows were selected - Significantly improve table history - only create entries for tables switches or filters, only remember 50 items, and save view/filters/scroll position/selections in table content view
* - Add an initial barebones version of the history controller, with a basic ↵rowanbeentje2009-07-301-0/+256
toolbar item to navigate backwards and forwards. TBC!