aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
Commit message (Collapse)AuthorAgeFilesLines
* • fixed issue for default Bundles if category or key equivalent was ↵Bibiko2011-01-141-59/+65
| | | | | | | | changed by the user • improved Format SQL Bundle - added checking for empty passed SQL string - changed category to Format
* • improved error handling for sequelpro URL scheme commandsBibiko2011-01-131-0/+21
|
* • fixed issue while updating a Bundle by identifying it via UUID but ↵Bibiko2011-01-131-2/+3
| | | | different spBundle file name
* • fixed issue for installing a Bundle if Sequel Pro didn't run, i.e. e.g. ↵Bibiko2011-01-121-0/+5
| | | | double-click in Finder at a spBundle file
* • changed sequelpro URL command SyntaxHighlighting to be connection ↵Bibiko2011-01-101-0/+137
| | | | independent - added example BASH script at http://www.sequelpro.com/docs/URL_scheme_sequelpro://_Usage#Use_Sequel_Pro_to_do_a_syntax_highlighting_of_a_given_SQL_query_HTML_formatted
* • minor code cleaningBibiko2011-01-071-14/+18
|
* • improved installation routine for Default BundlesBibiko2011-01-071-75/+67
| | | | • added missing key isDefaultBundle to Default Bundles
* • improved Default Bundle management for installation, updating, undeletionBibiko2011-01-051-100/+113
| | | | • if current NSTextView is not set to NSLeftTextAlignment show a SPTooltip at mouse location until we found a way the calculate the caret position correctly since [NSLayoutManager glyphRangeForCharacterRange:] returns a wrong NSRect
* • fixed bug for re-copying default bundles after launching SPBibiko2011-01-051-2/+2
|
* • further fix for updating default Bundles after SP updateBibiko2011-01-051-0/+3
|
* • fixed bug for copying default bundles after SP updateBibiko2011-01-051-2/+0
|
* - Alter bundle search paths to no longer add a blank location as the first ↵rowanbeentje2011-01-031-4/+5
| | | | option if the Application support bundles folder does not exist; addresses issues where default bundles are updated in the hard disk root
* • cleaned code for NSPropertyListSerialization while reloadBundles (thanks ↵Bibiko2011-01-031-17/+9
| | | | to emixam for pointing it out)
* • forgot to remove debug logs of previous commitBibiko2011-01-031-77/+75
|
* • changed the way to check for available update of Default BundlesBibiko2011-01-031-13/+9
| | | | - 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
* • added first Default Bundle and procedure to copy them into ↵Bibiko2010-12-271-1/+1
| | | | BUILD_PRODUCT/Contents/SharedSupport done in build.sh while compiling
* * Provide more context for Bundle Editor localizable messages (leaves one ↵dmoagx2010-12-261-12/+12
| | | | issue with genstrings, might need to set "-q")
* • implemented undeletion of default BundlesBibiko2010-12-221-7/+15
| | | | • made usage of constants
* • fixed issue form redirecting output actions via exit codes if Bundle's ↵Bibiko2010-12-211-3/+4
| | | | | | default output action was None • renamed constants to avoid confusing
* • added sequelpro URL scheme command ↵Bibiko2010-12-211-0/+27
| | | | sequelpro://$SP_PROCESS_ID@chooseItemFromList/a/b/c/d to come up with a menu to let the user choose an item from a list
* • fixed issue for duplicating a Bundle (the new UUID will be saved ↵Bibiko2010-12-211-33/+75
| | | | | | | | 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
* • fixes issue while updating a Bundle - move the folder to Trash not only ↵Bibiko2010-12-211-1/+1
| | | | the command.plist
* • further preparations for default Bundles managementBibiko2010-12-201-12/+49
|
* • preparations for managing default Bundles which will ship with SPBibiko2010-12-201-85/+182
| | | | • improved Bundle Editor to store only modified Bundles
* • minor improvements, commenting, cleaning for URL scheme commandsBibiko2010-12-171-27/+3
|
* • allow to some sequelpro URL scheme commands like select a table/db the ↵Bibiko2010-12-171-1/+5
| | | | usage without a specific SP_PROCESS_ID
* • URL scheme commands:Bibiko2010-12-141-22/+22
| | | | - display some error tooltips and improved the cancellation via ⌘. of the sequelpro://SP_PROCESS_ID@passToDoc/ExecuteQuery command
* • Bundle supportBibiko2010-12-141-4/+6
| | | | | - fixed updating of a Bundle with the same UUID - fixed issue of Output action "Replace Selection"
* • HTML output windowBibiko2010-12-131-19/+58
| | | | | - 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-4/+4
| | | | • fixed JavaScript alert and confirm window in HTML output window
* • HTML output window's JavaScript supportBibiko2010-12-121-0/+64
| | | | | | - 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/+1
| | | | | - renamed menu item - minor code cleaning
* • Bundle commandsBibiko2010-12-081-46/+94
| | | | | | | - 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
* • fixed issue for starting General scope commands via keyboard short-cutBibiko2010-12-071-2/+2
|
* • Bundle command supportBibiko2010-12-071-1/+3
| | | | | - 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
* • simplified bundleCommandDispatcher and order out a sorted list of ↵Bibiko2010-12-061-49/+34
| | | | commands with the same key equivalent
* • finished implementation of SPChooseMenuItemDialogBibiko2010-12-061-129/+105
| | | | | • simplified bundle command handling and handling for bundle commands which have the same key equivalent to be able to group similar bundle commands • minor code improvements
* • further work on the choosMenuItem [not yet working]Bibiko2010-12-031-78/+89
|
* • preparations for handling issue if user assigned the same keyboard ↵Bibiko2010-12-031-7/+46
| | | | short-cut on different Bundle commands; if so show a kind of a context menu to pick up one item; this will be done via the new SPChooseMenuItem class which will display a borderless window with a context menu at a passed location
* • improved Bundle key equivalent handling and enabled to display all ↵Bibiko2010-12-031-4/+105
| | | | short-cuts in menuItem even there're same short-cuts are assigned
* • Bundle CommandsBibiko2010-12-011-2/+22
| | | | | - 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
* • progress on trigger support for Bundle commandsBibiko2010-12-011-0/+15
|
* • improve error handling for url scheme commandsBibiko2010-12-011-0/+13
|
* • added chance to cancel an activity - up to now a running Bundle command ↵Bibiko2010-12-011-12/+19
| | | | | | - 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 commandsBibiko2010-11-301-1/+1
| | | | | | - before closing a db doc window kill all commands associated to this doc - suppress an error message if a bash command was killed via code 9 - added a temporary and preliminary table view to display command activities (double-click at TABLE INFO header to toggle and refresh it - only for testing purposes - it shows all commands started from that db doc and a General command names)
* • Bundle commandsBibiko2010-11-291-1/+58
| | | | | - register running commands for each SPDatabaseDocument or if the command runs via 'General' for NSApp delegate - kill all running commands before SP will be terminated
* - Fix issues right-clicking in the empty table area ( http://spbug.com/l/1726 )rowanbeentje2010-11-271-1/+1
| | | | | | | - 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
* • improved installing procedure of spBundle filesBibiko2010-11-261-1/+83
| | | | - SP asks for Update a bundle if a bundle with the same UUID is already installed
* • Bundle Command supportBibiko2010-11-261-2/+15
| | | | | | - 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
* • Bundle EditorBibiko2010-11-251-2/+4
| | | | - some GUI improvements and tooltips for outline view