aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.m
Commit message (Collapse)AuthorAgeFilesLines
* Added preliminary support for triggers. You can access the tab via the bamse162010-01-311-0/+1
| | | | | | | | | | | | | | | | | | | | menu item View > Table Triggers (apple-6). Heavily copied from Relations tab, lots of functionality missing. Just lists the triggers for the table now. M Source/SPTableData.m M Source/SPConstants.h M Source/SPConstants.m A Source/SPTableTriggers.h A Source/SPTableTriggers.m M Source/TableDocument.h M Source/TableDocument.m M Source/SPTableData.h M Interfaces/English.lproj/MainMenu.xib M Interfaces/English.lproj/DBView.xib M sequel-pro.xcodeproj/project.pbxproj
* • CMTextView's colours are set via observer, live changed in editable ↵Bibiko2010-01-301-0/+1
| | | | | | | | textviews • added Preference setting "Table font" in "Table" pane to set the table font/size for all result tables (Content, Custom Query) • added to SPTableView the method setFont: • fixed the initialisation of vars in CMTextView (fixes the displaying of create syntax)
* - With the improved row count support and behaviour, replace the old "Fetch ↵rowanbeentje2010-01-021-1/+2
| | | | correct row count" preference with a new Table row counts query level (never, only for small tables, always), defaulting to only for small tables - boundary currently set to 5MB. This addresses Issue #500
* Replace the main toolbar's #define'd identifier constants with extern's. ↵stuconnolly2009-12-121-0/+12
| | | | This completes the conversion of all constants in SPConstants to extern's.
* Convert URL constants from #define's to extern's.stuconnolly2009-12-111-0/+7
|
* Convert a bunch of #define'd constants to extern's, including preference ↵stuconnolly2009-12-111-1/+21
| | | | toolbar identifiers, pasteboard drag types and file extensions.
* • remember the spell checker status in the blob field editorBibiko2009-11-191-0/+1
| | | | | | - status can be toggled by right-click in the text view and go to submenu "Spelling and Grammar" > "Check Spelling while Typing" Note: up to now "Check Spelling while Typing" wont' be checked in the GUI if it's enabled → TODO (maybe related to the "sheet issue")
* This should be Monaco, not Courier (we should probably add a preference for ↵stuconnolly2009-11-141-1/+1
| | | | this).
* Updates to the 'use monospaced font' preference, making it a lot more ↵stuconnolly2009-11-141-0/+3
| | | | consistent across all table views. Also includes live updating when the preference is changed as well as its implementation in the query console, process list and variables table views.
* Bunch of improvements to the query console, including:stuconnolly2009-11-141-0/+1
| | | | | | | | | | | | | - New connection column (been meaning to add this for a while) - Display table view column headers - Enable table view text cell line truncating - Allow table view columns to be re-ordered - The table view now respects the display table view vertical grid lines preference - Support for including the connection when saving messages to a file - Support for showing/hiding the connection column - Increase table view row height to match that of all others - Display message time stamps using the user's system wide medium time format
* - New server processes panel, accessible via the 'Database' menu and ↵stuconnolly2009-11-121-0/+4
| | | | | | | | alt+cmd+P. Includes the ability to kill queries and connections as well as live filtering support and the ability to save all processes or the current filtered set to a file. Implements issue #458. - Reorganise 'Database' menu. - Give 'Flush Privileges' key equivalent of shift+cmd+F.
* - Add task support to all the main interface viewsrowanbeentje2009-11-041-0/+1
| | | | | | | | - 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
* • Initial work to set the default view mode when connecting. Issue #249avenjamin2009-11-021-36/+57
| | | | • Organize constants into groups
* Incorrect pref key name.stuconnolly2009-11-011-1/+1
|
* • as default add the UTF-8 BOM (byte order marker) \xEFBBBF to a MySQL ↵Bibiko2009-10-291-0/+1
| | | | | | | | | dump file - this should simplify the loading of such a file in other text editors - to avoid the writing of that BOM one can add to Sequel Pro's preference plist the boolean key “NoBOMforSQLdumpFile” and set it to YES Note: If it turns out that this BOM causes problems one could add a checkbox for it to the NSSavePanel for instance later on.
* Replace hard coded occurrences of preference key DefaultFavorite with a ↵stuconnolly2009-10-291-0/+1
| | | | constant.
* Fix incorrectly named preference constant.stuconnolly2009-10-271-1/+1
|
* Initial work on threaded task, with an implementation of Table Content view ↵rowanbeentje2009-10-201-0/+2
| | | | | | | | | data loading: - Removal of AMIndeterminateProgressIndicatorCell, and addition of a custom fork of YRKSpinningProgressIndicator which fixes bugs, adds threaded drawing, and adds a determinate mode. - Addition of a task system within TableDocument, triggering display of a large central progress indicator and stopping the window from being interacted with in any way that would cause a query while the task is running. - Add threaded TableContent content fetching, including use of the new task system and determinate progress bar; make fixes to improve threading stability and interaction.
* Add constant for preference key 'AutoConnectToDefault' and replace ↵stuconnolly2009-10-171-0/+1
| | | | occurrences of it's use.
* Replace the use of hard coded preference keys with constants to prevent ↵stuconnolly2009-10-171-0/+93
issues such as the one fixed in revision 1419. All future preference usage should be done so using these constants.