aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConstants.h
Commit message (Collapse)AuthorAgeFilesLines
* • 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
* Various export enhancements and fixes, including:stuconnolly2010-08-121-0/+8
| | | | | | | | | | | | - A new SPExportFile class, providing an abstract interface to the handling and creation of export files. - Enables the centralisation of all file/file handle creation logic as well as better support for handling situations where files fail to be created, including files that already exist at the export location. - New SPExportFileHandleStatus constants to support the reporting of file handle creation. - Update SPExporter to use the new file class instead of directly using an instance of SPFileHandle. - Add the necessary logic to deal with files that already exist on disk, by providing the user with 3 options: cancel the export, ignore the files in question or overwrite them. We might want to enhance this to make new files sequential in name to prevent overwriting. Fixes issue #742. - New SPExportFileUtilities category, which centralises all the logic relating to writing export type headers as well as dealing with problems occurred during file/file handle creation. - Improve feedback given on the export progress sheet during export initialisation. - Tidy up and improve comments.
* • remember user's last setting for "Resetting AUTO_INC" while deletion of ↵Bibiko2010-08-101-0/+1
| | | | all rows in a table
* In addition to Gzip compression support when exporting SQL dumps add the ↵stuconnolly2010-07-241-0/+8
| | | | | | | | | | | | | | | | | | ability to use Bzip2 compression. Other changes include: + Enable the use of export compression (Gzip and Bzip2) for all export formats. + Move the compression options in the export dialog to the 'Advanced' export settings view. + Simplify the setting of common exporter properties (e.g. the connection, use of compression). + Fix a potential memory leak in the dot exporter. + Update the data importer to recognise Bzip2 compressed files. + Fix several display issues on export dialog. + Restore the default .csv file extension of CSV exports. + Correctly update the default export filename when selecting a output compression type. The addition of Bzip2 compression support implements issue #688.
* - Expose a number of help menu items and help buttons to use localisable ↵rowanbeentje2010-07-181-7/+9
| | | | | | | | 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"
* - Convert connection encoding menus to be menu tag based to fix ↵rowanbeentje2010-06-141-0/+24
| | | | | | | | | | localisation errors - Add database encoding retrieval support for MySQL 4.1 - Convert the add table and add database sheets to use encoding menus derived from server supported encodings - Re-layout preferences with larger labels to aid localisation - Fix preference resizing in non-Favorite tabs
* Exporter ehancements:stuconnolly2010-06-131-5/+12
| | | | | | | - Make sure the export button is disabled when the global structure, content and drop options are enabled, but the desellect all button is checked. - Replace the export dialog toolbar with a tabview, reducing the dialogs overall size. - Add the option to SQL dumps to specify when a new INSERT statement should be created, either after a certain amount of data or after a specific number of rows (defaults to every 250KiB). Known issue: incorrect VALUES clause generation of last row when creating a new INSERT after a specific number of rows.