aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleEditorController.m
Commit message (Collapse)AuthorAgeFilesLines
* Bring outline view branch up to date with trunk (r3203:r3224).stuconnolly2011-03-071-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
* • added SPBundleCommandTextView and use it instead of SPEditSheetTextVIew ↵Bibiko2010-11-201-3/+1
| | | | | | | | since it works in a sheet only and due to future extensions • fixed init in SPEditSheetTextView • Bundle Editor: minor bug fixing
* • added help url to SP wikiBibiko2010-11-191-1/+1
|
* • Bundle EditorBibiko2010-11-191-4/+102
| | | | | | | - minor fixes - command textView is now a SPEditSheetTextView for better undo behaviour and font storing in the Prefs if changed - if Bundle Editor is already opened ^⌥⌘B brings it to the front • the installation of spTheme and spBundle files (via eg double-clicking at them in Finder) now moves the files to SP's application folder (if successful)
* • Bundle EditorBibiko2010-11-191-14/+63
| | | | | | | | | | | | - fixed saving and duplicating Bundles if Bundle contains other files/folder - fixed adding a new Bundle - added gui tooltips • SPTooltip - if no location was passed and first responder isn't a textView show the tooltip at the mouse location • CopyTable - show tooltip invoked by a Bundle command always at mouse location • Content / Custom Query Table - suppress tooltip of cell content if another tooltip (mainly displayed by a Bundle) is visible [shoudl be improved since iterating through the window list isn't so good]
* • fixed tiny issues for Bundle EditorBibiko2010-11-191-5/+9
| | | | • fixed selector name in CopyTable for Bundle Editor input action
* • further work on Bundle EditorBibiko2010-11-181-42/+186
| | | | • generalised [NSString runBashCommand...]
* • Bundle EditorBibiko2010-11-181-4/+357
| | | | - input, input fallback, output implemented plus validation
* • further progress on Bundle EditorBibiko2010-11-171-6/+66
|