aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleEditorController.m
Commit message (Collapse)AuthorAgeFilesLines
* More gcc warning fixes.stuconnolly2012-05-091-12/+10
|
* Move the BASH command code from the string additions category to remove the ↵stuconnolly2012-05-071-2/+4
| | | | dependency on SP specific code and all the tests to build successfully.
* - Cleanup: improve compatibility with 10.7 SDK to reduce compiler warningsrowanbeentje2012-02-081-2/+2
|
* - Clean up undo manager handlingrowanbeentje2011-08-311-0/+1
| | | | | - Implement an undo manager per tab (strictly speaking, per connection 'document'), addressing Issue #1109.
* Fix for Bundle Editor Group names not showing up in Lion.mattlangtree2011-08-231-2/+2
|
* - Add a bundle meta summary to the top of the bundle editorrowanbeentje2011-06-271-18/+59
| | | | | | | - Rearrange the bundle editor interface further, building on Stuart's work in r3330; particularly focussing on logically grouping fields together. - Move the "Disable" checkbox to the bottom of the window, rename it to "Disable bundle" to make the intent clear, and update the interface when it is in NSOnState
* Tidy up bundle editor UI.stuconnolly2011-06-151-59/+27
|
* - Fix more compiler warningsrowanbeentje2011-03-151-20/+16
| | | | | - Tweak README
* fixed compiler warningssqlprodev2011-03-011-5/+0
|
* - Manually restore autosave value for bundle editor splitview width, as ↵rowanbeentje2011-01-221-22/+11
| | | | | | | this doesn't appear to be restored automatically - Remove unused delegate methods
* • tried to fix in BundleEditor to auto-save the splitview settings in ↵Bibiko2011-01-171-0/+22
| | | | prefs (but up to now no success - help is needed)
* • improved remove Bundle logicBibiko2011-01-171-1/+4
| | | | • tried to fix setting the content of the treecontroller - maybe related to crash report 1931
* • 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 issue while updating a Bundle by identifying it via UUID but ↵Bibiko2011-01-131-2/+2
| | | | different spBundle file name
* • added Default Bundle: Copy as JSONBibiko2011-01-071-1/+1
| | | | • after selecting a Bundle in the Bundle Editor jump to the beginning of the command in order to avoid unstable display issue inside the command textview
* * Provide more context for Bundle Editor localizable messages (leaves one ↵dmoagx2010-12-261-82/+87
| | | | issue with genstrings, might need to set "-q")
* • implemented undeletion of default BundlesBibiko2010-12-221-8/+76
| | | | • 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
* • fixed issue for duplicating a Bundle (the new UUID will be saved ↵Bibiko2010-12-211-0/+2
| | | | | | | | immediately) • finished default Bundle update handling: - default Bundles will be copied into AppSupport/SP/Bundles if they don't exist - if a default Bundle was updated - then we have to add the corresponding UUID into the Prefs for key updatedDefaultBundles - while launching SP checks for possible updates - if so the Bundle will be overwritten if the user didn't changed - if user changed it then the user's version will be duplicated as "(user)" with a different UUID and the default tag will be removed - and the new Bundle will replace the old one - i.e. the user can decide whether to incorporate its changes or not - if such user-modified Bundles are found the user will be informed about it otherwise an update works quietly
* • further preparations for default Bundles managementBibiko2010-12-201-0/+2
|
* • preparations for managing default Bundles which will ship with SPBibiko2010-12-201-0/+32
| | | | • improved Bundle Editor to store only modified Bundles
* • fixed issue to be able to cancel via ESC the in-cell editing of the ↵Bibiko2010-12-151-1/+1
| | | | tablesListView (and avoiding to call completion for Query Editor) and Bundle Editor's outlineView; in addition the focus remains at the view
* • made usage of more constants to avoid double-storing stringsBibiko2010-12-121-42/+43
| | | | • fixed JavaScript alert and confirm window in HTML output window
* • HTML output window's JavaScript supportBibiko2010-12-121-0/+1
| | | | | | - 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 command supportBibiko2010-12-101-1/+2
| | | | | - fix issue for shortcut recorder for Asian language input - finished JavaScript support inside the HTML output window to run BASH system commands via "var returnValue = window.system.run(cmd)" whereby cmd is either a normal string or an array of the dimension of 2 (command, processID)
* • Bundle command supportBibiko2010-12-101-12/+0
| | | | | - renamed menu item - minor code cleaning
* • Bundle CommandsBibiko2010-12-091-0/+3
| | | | | | - 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
* • Bundel EditorBibiko2010-12-081-1/+1
| | | | | - improved undo behaviour - fix issue for non-US keyboard layouts
* • Bundle EditorBibiko2010-12-081-0/+57
| | | | | - added completion support for shell variables via ESC or F5 or ⌘. - added chance to select something and wrap it into corresponding closing char for ( ' " ` {
* • re-init the Bundle tree after not saving (close) the Bundle Editor ↵Bibiko2010-12-071-0/+6
| | | | window in order to remove all not stored data
* • aborting editing of the bundle name outlineView cell before removing the ↵Bibiko2010-12-071-0/+3
| | | | selected bundle in order to avoid a crash
* • improved Bundle key equivalent handling and enabled to display all ↵Bibiko2010-12-031-0/+10
| | | | short-cuts in menuItem even there're same short-cuts are assigned
* • Bundle CommandBibiko2010-12-021-1/+61
| | | | - 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
* • progress on trigger support for Bundle commandsBibiko2010-12-011-1/+49
|
* • Bundle Editor : ESC while bundle file renaming aborts editingBibiko2010-12-011-0/+17
| | | | • after closing HTML output window reset windowUUID to allow to come up with a new window for the same command from same caller instance
* • Bundle EditorBibiko2010-11-291-2/+53
| | | | | - fixed an init font setting problem (thanks to Rowan) - further work on triggers
* • Bundle EditorBibiko2010-11-291-0/+5
| | | | - added Trigger popup menu to the GUI
* - Fix issues right-clicking in the empty table area ( http://spbug.com/l/1726 )rowanbeentje2010-11-271-1/+2
| | | | | | | - Improve 10.5 compatibility when clearing menus ( http://spbug.com/l/1508 , http://spbug.com/l/1829 , http://spbug.com/l/1818 ) - Fix a possible crash when updating database lists - Update localisable strings
* • Bundle Command supportBibiko2010-11-261-3/+8
| | | | | | - added shell var SP_ICON_FILE - a bundle command which outputs its result as HTML window will write the data in the same window, ie it won't be create each time a new window; the window will be identified by the bundle's uuid - fixed issue while saving a short-cut in keybinding.dict format, now it ignores possible diacritics - maybe bug in ShortcutRecorder for method [aRecorder keyCharsIgnoringModifiers] since in the objectValue it's set correctly
* • added method 'rot13' to NSStringBibiko2010-11-251-139/+188
| | | | | | | | • 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-251-1/+66
| | | | - some GUI improvements and tooltips for outline view
* • Bundle EditorBibiko2010-11-251-104/+167
| | | | | - FInished implementation to display bundles in an outline view
* • further work on Bundle Editor's outline viewBibiko2010-11-251-97/+268
| | | | - still not entirely workable
* • further work on Bundle Editor's outline viewBibiko2010-11-251-148/+253
|
* • Bundle EditorBibiko2010-11-241-78/+237
| | | | | - further work to display Bundle commands in a Outline view ordered by scopes and categories - attention: only partially workable!!
* • Bundle EditorBibiko2010-11-241-10/+25
| | | | | | | - hide Bundles main menu since the Bundle table view will be refractored completely to OutlineView - fixed validation of RemoveButton (thanks to avenjamin) - fixed storing the very first Bundle command - added Reload Bundles to Gear menu
* • Bundle Editor - fixed duplicate issue for renamingBibiko2010-11-231-2/+3
|
* • Bundle EditorBibiko2010-11-231-137/+96
| | | | | | | - bailed out from approach to assign more than one scope to Bundle commands; now there're three scopes available: Input Field (incl. Query Editor since it only differs in current_query and insert_as_snippet which falls back to current_line and tooltip message), Data Table, and General (which means that these commands are available app-wide) - moved "Disable Command" to scope popup menu since it's related - Input Field and Data Table commands will be shown as submenus in the Bundles main menu; all General commands will be added without creating a special submenu (only Category submenus will be generated) - fixed and simplified several issues
* • Bundle EditorBibiko2010-11-221-3/+6
| | | | | | | | | | - 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
* • added line numbering and current line highlighting to Bundle Editor's ↵Bibiko2010-11-211-5/+8
| | | | | | | command text view • made each Bundle in/ouptut file name unique to allow to run different Bundle commands at the same time • fixed minor issues for Bundle Editor