aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.m
Commit message (Collapse)AuthorAgeFilesLines
* - Fix issues where removing favorites could cause crashes in other ↵rowanbeentje2012-05-281-0/+1
| | | | | | | | tabs/windows where the favorite was selected (Issue #1351) - Keep multiple windows and tabs in sync when editing favorites - Fix a new KVO observation not being removed on object teardown
* Add support for saving the state of the connection favorites outline view.stuconnolly2012-05-031-0/+1
|
* Merge outline view branch into trunk.stuconnolly2012-05-021-5/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0/+2
| |
| * Bring outline view branch up to date with trunk (r3471:r3517).stuconnolly2012-03-181-2/+17
| |
| * Bring outlinew view branch up to date with trunk (r3375:3468).stuconnolly2012-01-221-5/+4
| |
| * Add the ability to export favorites.stuconnolly2011-06-121-0/+3
| |
| * Bring outline view branch up to date with trunk (r3279:r3306).stuconnolly2011-05-141-0/+6
| |
| * Fix broken build after merge with trunk.stuconnolly2011-04-241-0/+3
| |
| * Bring outline view branch up to date with trunk (r3234:3277).stuconnolly2011-04-221-0/+6
| |
| * Bring outline view branch up to date with trunk (r3203:r3224).stuconnolly2011-03-071-1/+1
| |
| * Bring outline view branch up to date with trunk (r3056:r3162).stuconnolly2011-01-271-3/+5
| |\
| * | Revert r3060.stuconnolly2011-01-031-1/+0
| | |
| * | Add spFavs extension constants.stuconnolly2011-01-021-0/+1
| | |
| * | Bring fravorites outline view branch up to date with trunk (r3036:3058).stuconnolly2010-12-281-3/+7
| |\ \
| * | | Remove old favorites constant.stuconnolly2010-12-191-3/+0
| | | |
| * | | Bring outline view branch up to date with trunk (r3007:3010).stuconnolly2010-12-121-9/+38
| |\ \ \
| * \ \ \ Bring outlineview branch up to date with trunk (r2989:3005).stuconnolly2010-12-111-0/+5
| |\ \ \ \
| * \ \ \ \ Bring outline view branch up to date with trunk (r2976:2988).stuconnolly2010-12-081-3/+27
| |\ \ \ \ \
| * | | | | | Apply new favorites outline view patch.stuconnolly2010-12-051-5/+1
| | | | | | |
* | | | | | | - Rework SPTableData PRIMARY KEY and UNIQUE KEY parsing to use SPSQLParser ↵rowanbeentje2012-03-221-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | | | | Add constants for MySQL 'system' databases.stuconnolly2012-03-171-2/+17
| | | | | | |
* | | | | | | Update donate URL.stuconnolly2011-10-091-1/+1
| | | | | | |
* | | | | | | * Move key of a hidden pref to the same place as the othersdmoagx2011-10-091-1/+1
| | | | | | |
* | | | | | | Add a hidden preference for specifying the long running query notification ↵stuconnolly2011-10-081-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | time (currently in milliseconds). Implements issue #944
* | | | | | | - Add the ability to view hidden files in SSH/SSL key selection dialogs; ↵rowanbeentje2011-09-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | this addresses Issue #1176
* | | | | | | • changed the MySQL web search pathBibiko2011-05-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - since Oracle provides the search engine we lost the chance to search for a given language and MySQL version; due to that fact we assume that the search term by itself is the name of a valid HTML file within the dev.mysql.com domain, if not it falls back to Oracle's search engine but unfortunately with the extension ".html" which leads sometimes to no hits - it's needed to find a better way
* | | | | | | merging SP_REFACTOR branch with trunksqlprodev2011-05-191-0/+6
| | | | | | |
* | | | | | | Re-add the ability the show the full process list in the server processes ↵stuconnolly2011-05-071-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | panel. Fixes issue #1036.
* | | | | | | Implement a large number of minor fixes and improvements to export ↵rowanbeentje2011-05-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functionality, including an overhaul of filename NSTokenField functionality: - Improve the NSTokenField used for export filenames: only tokenise reserved tokens, don't tokenise reserved words which are parts of other words, allow the comma to be used, update tokenisation during typing, and prevent whitespace triming. - Save the last selected export path, and make the path selection button open a dialog to the selected directory - Save the export filename and restore on future uses of the export dialog (only if the name contains placeholder tokens, so one-off export names aren't saved) - If the advanced options are collapsed, display a summary of the selected options next to the disclosure triangle - Display a small warning in the corner of the window if the export file cannot be imported into Sequel Pro, to warn those people attempting to back up their databases in XML - Clarify and improve the export warning dialog if files already exist or could not be created; make the simpler file-exists cases reflect OS-style dialogs, alter wording based on the number of files that failed and how they failed, and only show the "replace" or "skip" type buttons if it makes sense to do so. - Fix a mutation-during-enumeration error when skipping files - If "Cancel" is chosen in the export file creation replace/error dialog, redisplay the export sheet with the previous selection still active - Add support for year, month and day tokens in the filename token list - Don't allow blank custom filenames, before or after tokenisation, as this can cause problems - instead fall back to default filenames in those cases - Only append the extension if one hasn't been set - on all export formats, extending r3284 - If exporting to multiple files option is enabled but only one table is selected, supply that table name for filename table tokens - Update the progress bar to reflect update progress when exporting CSV data - Fix a bug causing exports to hang if the low-memory advanced option was set and content was selected to export and any empty tables were encountered - Save memory use and compression advanced export settings across sessions - Update localisable strings
* | | | | | | Small tidy up, mainly the addition of constants.stuconnolly2011-05-051-0/+2
| | | | | | |
* | | | | | | * Allow table names to be sorted in lists via "AlphabeticalTableSorting" ↵dmoagx2011-04-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hidden pref key * Change some [[NSPopupButton selectedItem] title] to [NSPopupButton titleOfSelectedItem]
* | | | | | | SP_REFACTOR: Workaround for naming conflict with ↵sqlprodev2011-04-141-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | postNotificationOnMainThread: which also exists in TCMPortMapper.framework; NSUserDefaults access now permitted in SP_REFACTOR blocks for a few prefs keys
* | | | | | | - Fix more compiler warningsrowanbeentje2011-03-041-1/+1
| |_|_|_|_|/ |/| | | | |
* | | | | | • update MySQL search URL for web search in Help windowBibiko2011-01-221-1/+1
| | | | | |
* | | | | | • implemented user-definable Soft IndentionBibiko2011-01-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - instead of using \t as indention string the user can choose how many spaces should be used instead - addresses issue 956
* | | | | | • fixed issue to highlight the correct current query after undoing, i.e. ↵Bibiko2011-01-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | do not using the cache • added SP_SELECTED_TEXT_RANGE shell variable for Bundle support of scope Input Text • added 'insertText', 'setText', 'setSelectedTextRange' JavaScript functions to window.system bridge
* | | | | | • fixed several issues for validation and other stuff while editing of ↵Bibiko2011-01-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | MySQL data tables if user re-ordered columns
* | | | | | • changed the way to check for available update of Default BundlesBibiko2011-01-031-1/+0
| |_|_|_|/ |/| | | | | | | | | | | | | | - perform a check only if the revision number is greater as the last recorded one, in other words if an updated version of Sequel Pro was installed and runs for the very first time
* | | | | • implemented undeletion of default BundlesBibiko2010-12-221-0/+2
| | | | | | | | | | | | | | | | | | | | • made usage of constants
* | | | | • fixed issue form redirecting output actions via exit codes if Bundle's ↵Bibiko2010-12-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | default output action was None • renamed constants to avoid confusing
* | | | | • preparations for managing default Bundles which will ship with SPBibiko2010-12-201-0/+2
| |_|_|/ |/| | | | | | | | | | | • improved Bundle Editor to store only modified Bundles
* | | | • made usage of more constants to avoid double-storing stringsBibiko2010-12-121-13/+37
| | | | | | | | | | | | | | | | • fixed JavaScript alert and confirm window in HTML output window
* | | | • HTML output window's JavaScript supportBibiko2010-12-121-0/+5
| |_|/ |/| | | | | | | | | | | | | | - changed the approach to make the HTML output window the key window; now it could be done directly via a JavaScript command: window.system.makeHTMLOutputWindowKeyWindow() - added the chance to ask Sequel Pro via JavaScript for run-time shell variables via window.system.getShellEnvironmentForName('shell_var_name') • more usage of constants
* | | • Bundle CommandsBibiko2010-12-091-0/+5
| |/ |/| | | | | | | | | - added shell vars SP_CURRENT_EDITED_COLUMN_NAME, SP_CURRENT_EDITED_TABLE for Input Field scoped commands if invoked from a table cell field editor - added shell var SP_TABLE_DATA_SOURCE (content or query) - fixed table row change trigger for custom query tableView
* | • Bundle commandsBibiko2010-12-081-4/+27
| | | | | | | | | | | | | | - reworked invocation via keyboard short-cut to allow to fall back to General scope - added chance to redirect the output action via command exit codes; useful if the normal output is an HTML window but an error occurred, now one can display the error as tooltip for instance - unified file hand-shake file names by one uuid - made usage of more constants and renamed some shell vars
* | • Bundle command supportBibiko2010-12-071-0/+1
|/ | | | | - fixed issue for commands without assigning a key equivalent - output table meta data about type, type grouping, length, auto_inc, PRI key etc. for Data Table scope commands and sequelpro url scheme command ExecuteQuery
* • Bundle CommandBibiko2010-12-021-0/+6
| | | | - for Data Table scope added the chance to specify the handling of BLOB fields (if underlying data are kind of NSData or GEOMETRY) as 'Exclude', 'Include', 'save as image file - the data will be saved as tif file and the path will appear in the table', 'save as file - the data will be saved as raw dat file and the path will appear in the table'; for GEOMETRY fields if set to 'save as {image} file' the representation will be saved as PDF file otherwise the WKT string appears
* • added chance to cancel an activity - up to now a running Bundle command ↵Bibiko2010-12-011-0/+1
| | | | | | - from the Activities pane (toggable via double-clicking at Table Information header); it's still tentative and the correct cancel icon will follow asap • added notification system for updating the activities pane (SPActivitiesUpdateNotification)
* • Bundle EditorBibiko2010-11-291-0/+5
| | | | | - fixed an init font setting problem (thanks to Rowan) - further work on triggers