aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.m
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | • 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
* • added method 'rot13' to NSStringBibiko2010-11-251-0/+4
| | | | | | | | • Bundle Editor - fixed several GUI issues - added the chance to add meta data to each bundle - each added/duplicated bundle will get an unique UUID in order to be able to identify a Bundle for future purposes like an update detection for installed bundles - changed init process
* • Bundle EditorBibiko2010-11-221-0/+1
| | | | | | | | | | - added output action "Show as HTML" • Bundle HTML output - finished implementation - added print support (eg for printing reports) - added text size resizing - added link support - added new window support
* • further work on Bundle EditorBibiko2010-11-181-0/+1
| | | | • generalised [NSString runBashCommand...]
* • Bundle EditorBibiko2010-11-181-0/+1
| | | | - input, input fallback, output implemented plus validation
* • Bundle supportBibiko2010-11-161-31/+39
| | | | | - further minor improvements - make usage of more constants
* • Bundle supportBibiko2010-11-151-16/+19
| | | | | | | - outsourced code to SPAppController to centralise Bundle support and make it available for different scopes (query editor, input text fields, data tables etc.) - store bundle info scope-based - added input text field support - made usage of constants
* • added constants for Bundle Files and EditorBibiko2010-11-121-0/+36
| | | | • added URL scheme constants
* Make sure the root favorite has a name key and value. Also, update string files.stuconnolly2010-11-111-0/+1
|
* Add SSL favorite constants and use them in the connection controller.stuconnolly2010-11-111-14/+22
|
* More work on the new favorites controller, including loading and saving as ↵stuconnolly2010-11-111-0/+16
| | | | well as the method to migrate existing favorites data. Currently not yet active.
* Add a new class template for the favorites controller.stuconnolly2010-11-101-0/+2
|
* • further preparations for user-definable bundle supportBibiko2010-11-091-0/+1
|
* • added spBundle file extensionBibiko2010-11-091-0/+1
|
* Add SPDefaultPasteboardDragType constant.stuconnolly2010-10-281-0/+1
|
* • CSV Import Field Mapper SheetBibiko2010-10-231-0/+1
| | | | | - added the possibility to apply any sql function while importing set via "Add value or expression" sheet eg concat('$2', '$1', length('$3')) whereby $1 $2 $3 are the placeholder for the csv file columns 1 2 3 [first column starts with 1] • fixed ' escaping issue in MCPConnection
* Rename HTML print templates.stuconnolly2010-10-161-3/+3
|
* • Filter Table - Set Default OperatorBibiko2010-09-291-0/+2
| | | | - added the chance to define the unmarked default operator
* Remember the width of the server process list tableview columns between ↵stuconnolly2010-09-261-0/+1
| | | | application launches. Implements issue #814.
* • CSV Import into new TABLEBibiko2010-09-041-0/+2
| | | | | - added button "New" - added chance to change encoding and engine of the new table which will be saved in the Prefs
* • added SPFileManagerAdditionsBibiko2010-08-191-1/+4
| | | | | | | | - [(NSString*)applicationSupportDirectoryForSubDirectory:error:] Return the application support folder of the current application for 'subDirectory'. If this folder doesn't exist it will be created. If 'subDirectory' == nil it only returns the application support folder of the current application. • added SPThemesSupportFolder constant
* • added Query Editor color theme manager to the Editor PrefBibiko2010-08-181-0/+1
| | | | | | - themes can be saved/loaded in/from ~/Library/Application Support/Sequel Pro/Themes by using the gear menu items in the Editor Pref - rearrange the GUI - Edit Theme List follows soon
* • added chance to export/import the color theme of the Query Editor in ↵Bibiko2010-08-161-0/+2
| | | | | | | | | | | Prefs > Editor > Gear menu as normal plist file - file extension is spTheme - can also import TextMate theme tmTheme files directly • added the chance to set the selection color in the Query Editor • fixed code for setting the insertion point color • changed the way how the query highlight color will be drawn - now it also supports colors with an alpha value
* • remember user's last setting for "Resetting AUTO_INC" while deletion of ↵Bibiko2010-08-101-1/+2
| | | | all rows in a table
* - Expose a number of help menu items and help buttons to use localisable ↵rowanbeentje2010-07-181-8/+1
| | | | | | | | strings - Tweak MySQL help search to include a localisable language code for results in requested languages This addresses Issue #743
* Add option to toggle the tab bar visibility.avenjamin2010-06-301-0/+1
| | | | | - Only applies when one tab is present. - Saves last used state to preferences.
* • initial support for open a spfs session file (works rudimentary - ↵Bibiko2010-06-241-0/+1
| | | | | | fine-tuning comes soon) • added constant "SPBundleFileExtension"