aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.h
Commit message (Collapse)AuthorAgeFilesLines
* - Add the ability to view hidden files in SSH/SSL key selection dialogs; ↵rowanbeentje2011-09-101-0/+1
| | | | this addresses Issue #1176
* Tidy up.stuconnolly2011-08-271-0/+1
|
* 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]
* - Fix exception on startup if no favourites present - I think the previous ↵rowanbeentje2011-03-221-0/+1
| | | | | | | first-item preservation dates back to when the title had to be included in the favorites array, so removed - Fix favorites sorting and preservation of unsorted status
* • 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
* - Rework the Add Index indexes menu and the auto_increment index required ↵rowanbeentje2011-01-041-0/+10
| | | | | | | | | | | | | menu to use tag-based values when generating queries, allowing localisation of menu contents without using those localised values in queries. This addresses I$ - Remove the ability to specify a FULLTEXT auto_increment index, as I believe this isn't possible. - Prevent sheet reuse from specifying invalid storage types for PRIMARY KEYs - Fix exceptions when adding indexes to a table where every field is already indexed - Fix initialField/indexedFieldNames check to improve on r3061 - Fix toggling advanced index view after closing the sheet with the view open - Update localisable strings
* • 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
* * Provide more context for Bundle Editor localizable messages (leaves one ↵dmoagx2010-12-261-0/+1
| | | | issue with genstrings, might need to set "-q")
* • 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-1/+25
| | | | • 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-0/+23
| | | | | | | - 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
* - Change the CSV import accessory view to a general import accessory view, ↵rowanbeentje2010-11-291-0/+7
| | | | | | | | | based on a tab view - When importing SQL, use the accessory view to ask how to handle errors: Ask (the new default), which prompts the user on each error whether to continue, stop, or ignore all errors; and ignoring all errors, which matches the old behaviour. This addresses Issue #901. - When showing the reconnection dialog ensure the window isn't minimised - Update localisable strings
* • 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-0/+7
| | | | | - further minor improvements - make usage of more constants
* • Bundle supportBibiko2010-11-151-2/+3
| | | | | | - started to populate the main menu item Bundles [still hidden] - enabled key equivalents for NSTextViews - distinguishes between Query Editor scope and text input scope via menu item validation inside main menu Bundles
* • Bundle supportBibiko2010-11-151-0/+3
| | | | | | | - 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-0/+8
|
* More work on the new favorites controller, including loading and saving as ↵stuconnolly2010-11-111-2/+18
| | | | 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
|
* Complete the implementation of supporting MySQL's XML schema format when ↵stuconnolly2010-11-051-0/+7
| | | | exporting. Also, restore our old format and give the user the choice during export (defaults to MySQL schema). Completes the implementation of issue #840.
* Add SPDefaultPasteboardDragType constant.stuconnolly2010-10-281-1/+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
* Update indexes controller constants.stuconnolly2010-10-191-0/+7
|
* Remove unused constant.stuconnolly2010-10-071-8/+0
|
* • 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.
* Add missing SVN properties and general comments tidy up.stuconnolly2010-09-211-2/+0
|
* • CSV Import into new TABLEBibiko2010-09-041-0/+3
| | | | | - 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/+3
| | | | | | | | - [(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