aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleHTMLOutputController.m
Commit message (Collapse)AuthorAgeFilesLines
* Fix crash when trying to print on 10.13.4 (#3025)Max2018-04-131-3/+3
|
* Update source code compatibilityMax2017-03-311-2/+0
| | | | | | * Remove forward SDK declaration for 10.8 and below (since that is the minimum required development SDK) * Fix one case where a method unconditionally required a 10.9+ runtime * Move all of the forward/backward hacks into their own file
* fix various compile warningsAbhi Beckert2016-04-031-1/+1
|
* Replace a lot of SPBeginAlertSheet()s with the more concise SPOnewayAlertSheet()Max2015-10-201-2/+1
| | | | This should also eliminate a few use-after-free crashes
* Addition to commit 2735e15bMax2015-01-041-1/+1
|
* Add cast for [NSApp delegate]Max2014-12-131-7/+7
| | | | | * (Also changed some outdated URLs) * Replaced [NSApplication sharedApplication] with NSApp
* Update URL in source file header to point to GitHub.Stuart Connolly2014-01-261-1/+1
|
* Remove SVN property placeholder.Stuart Connolly2014-01-261-2/+0
|
* Fix deprecation warnings.Stuart Connolly2014-01-161-23/+51
|
* Cleaned up Format string is not a string literal (potentially insecure) errorsMarius Ursache2013-11-091-3/+3
|
* Ensure the relations table view is refreshed after field changes result in a ↵stuconnolly2013-10-271-1/+1
| | | | dropped relationship. Fixes issue #1591.
* - Address further Release/Distribution build warningsrowanbeentje2013-05-221-2/+2
|
* - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵rowanbeentje2013-05-211-1/+1
| | | | enable some more
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-11/+4
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-12/+20
|
* Move the BASH command code from the string additions category to remove the ↵stuconnolly2012-05-071-9/+11
| | | | dependency on SP specific code and all the tests to build successfully.
* - Fix crashes caused by using SPBundleHTMLOutputController windows, closing ↵rowanbeentje2012-03-201-3/+1
| | | | them, and then triggering bundle reloads (eg via right-clicking)
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-0/+1
| | | | | | | | | | | | exceptions as database structure retrieval is currently missing! Further work on SPMySQLFramework integration: - Improve SPMySQL framework build settings including correct ppc builds and a Distribution configuration for the build distributions to match - Add new convenience querying and result methods to the framework - Amend Sequel Pro source to use the new SPMySQL.framework methods everywhere, replacing MCPKit methods where they differ and improving some functions - Remove MCPKit from the source - Fix a number of warnings on Release-style builds
* - Cleanup: improve compatibility with 10.7 SDK to reduce compiler warningsrowanbeentje2012-02-081-2/+2
|
* - Add Command-0 as the shortcut to restore the default font size in the ↵rowanbeentje2011-04-111-0/+5
| | | | HTML output window and bundle and field editors, adding commands for the equivalent functionality. This standardises text views with the custom query view and other applications
* • fixed warningsBibiko2011-03-151-4/+4
|
* - Fix more compiler warningsrowanbeentje2011-03-151-3/+20
| | | | | - Tweak README
* fixed compiler warningssqlprodev2011-03-011-1/+0
|
* fixed compiler warningssqlprodev2011-03-011-2/+2
|
* • added print accessory view for background printing yes/no to HTML output ↵Bibiko2011-01-281-0/+8
| | | | window
* • improved print capability of the HTML output windowBibiko2011-01-281-1/+44
|
* • changed in HTML output window the link behaviour of file:// URL scheme; ↵Bibiko2011-01-281-3/+9
| | | | | | now it will be handled by the webview since it can be an HTML file - in addition introduced URL scheme sp-reveal-file:// which reveals the passed file in Finder and sp-open-file:// which opens the passed file with the default application
* • 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