aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleHTMLOutputController.m
Commit message (Collapse)AuthorAgeFilesLines
* • added 'suppressExceptionAlert' JavaScript function for window.system ↵Bibiko2011-01-141-0/+22
| | | | bridge; if called JS exceptions won't be alerted instead written to Console
* • fixed issue to highlight the correct current query after undoing, i.e. ↵Bibiko2011-01-141-1/+71
| | | | | | | 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
* • minor code cleaningBibiko2011-01-071-1/+0
|
* • added internal JavaScript function window.system.closeHTMLOutputWindow() Bibiko2011-01-071-0/+15
|
* • in HTML output window hyperlink references which begin with file:// will ↵Bibiko2010-12-161-1/+7
| | | | | | reveal that file in Finder • in SPCopyTable for tab-delimited row data replace \t by ⇥ and \n by ↵ if they occur in data cells for convenience
* • HTML output windowBibiko2010-12-131-3/+43
| | | | | - enabled WebInspector in context menu for debugging - alert the user about JavaScript parsing errors and exceptions with some debug info
* • HTML output windowBibiko2010-12-131-5/+17
| | | | | - a BASH script called via window.system.run() inherits the current shell vars and the associated SP_PROCESS_ID if set to make it easier to run sequelpro URL scheme commands from JavaScript via BASH - improved error handling
* • made usage of more constants to avoid double-storing stringsBibiko2010-12-121-8/+17
| | | | • fixed JavaScript alert and confirm window in HTML output window
* • HTML output window's JavaScript supportBibiko2010-12-121-7/+39
| | | | | | - 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
* • the default behaviour is that 'Show HTML Window' will order front the ↵Bibiko2010-12-111-11/+8
| | | | | | window but the focus remains at the caller for convenience but under some circumstances it could be useful to make the HTML window the first responder; now this can be done via JavaScript like: <body onload="window.system.run('_SP_self_makeKeyWindow')">
* • Bundle command supportBibiko2010-12-101-3/+61
| | | | | - 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 HTML outputBibiko2010-12-101-1/+2
| | | | - display a JavaScript alert as sheet
* • Bundle HTML outputBibiko2010-12-101-11/+62
| | | | | - fixed init and release issue - started to allow JavaScript (from inside the HTML output window via js-object window.system) to communicate with SequelPro
* • added Save Page As and View Source to HTML output window's context menuBibiko2010-12-081-2/+79
|
* • Bundle CommandsBibiko2010-12-011-5/+9
| | | | | - make sure that each HTML output window will be released - if a triggered command will outputs its result in an HTML window invoke it only if the HTML output window is already open; this enables the user to "switch on/off" such a trigger
* • Bundle Editor / Bundle commandsBibiko2010-12-011-1/+1
| | | | | | | - enabled trigger support to run a command if db, table, or table row was changed - HTML output window will be ordered out without making it the key window to remain the first responder • SPTableTExtFieldCell - forgotten to remove expansionFrameWithFrame: method
* • improve error handling for url scheme commandsBibiko2010-12-011-1/+1
|
* • Bundle Editor : ESC while bundle file renaming aborts editingBibiko2010-12-011-0/+1
| | | | • 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 Command supportBibiko2010-11-261-0/+1
| | | | | | - 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
* * enabled sequel:// url scheme commands from inside the Bundle HTML output ↵Bibiko2010-11-221-10/+19
| | | | window
* • Bundle EditorBibiko2010-11-221-9/+177
| | | | | | | | | | - 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 skeleton for displaying the result of Bundle commands in a ↵Bibiko2010-11-221-0/+71
separate HTML webkit window