aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.h
Commit message (Collapse)AuthorAgeFilesLines
* • HTML output windowBibiko2010-12-131-1/+1
| | | | | - 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
* • 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
* • finished implementation of SPChooseMenuItemDialogBibiko2010-12-061-4/+5
| | | | | • 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
* • improved Bundle key equivalent handling and enabled to display all ↵Bibiko2010-12-031-0/+5
| | | | short-cuts in menuItem even there're same short-cuts are assigned
* • Bundle CommandsBibiko2010-12-011-0/+3
| | | | | - 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/+2
|
* • added chance to cancel an activity - up to now a running Bundle command ↵Bibiko2010-12-011-4/+4
| | | | | | - 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-291-0/+5
| | | | | - 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
* • improved installing procedure of spBundle filesBibiko2010-11-261-0/+1
| | | | - SP asks for Update a bundle if a bundle with the same UUID is already installed
* • Bundle EditorBibiko2010-11-231-0/+2
| | | | | | | - 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
* - Abstract SPDatabaseDocument's Connection/.spf saving/loading ↵rowanbeentje2010-11-231-0/+1
| | | | | | | | | | functionality into state setting and getting functions, and refactor old commands to use them - Fix restoring of content sort column order and selected indexes - Add menu items for duplicating current tab (as an alternate), opening selected table in a new tab, or opening selected database in a new tab - Clean up file menu by making Connection/Session "Save as..." menu items alternates - Update localisable strings
* * enabled sequel:// url scheme commands from inside the Bundle HTML output ↵Bibiko2010-11-221-0/+2
| | | | window
* • Bundle supportBibiko2010-11-151-0/+9
| | | | | | | - outsourced code to SPAppController to centralise Bundle support and make it available for different scopes (query editor, input text fields, data tables etc.) - store bundle info scope-based - added input text field support - made usage of constants
* • added skeleton for Bundle EditorBibiko2010-11-121-1/+7
| | | | - not yet visible
* Split out AppleScript support into a category of SPAppController.stuconnolly2010-10-141-1/+0
|
* • replaced @"sql" and @"spf" by their SPConstant definitionsBibiko2010-06-241-0/+4
| | | | | | | • further Save Session progress - store "saved as session accessory view data" globally to support "Save Session" - delete global "saved as session accessory view data" if last SP window will be closed - added to info.plist which tab is currently selected
* • initial preparations to support the storage of the entire SP session ↵Bibiko2010-06-211-2/+7
| | | | | | | | (all windows including tabs) • added file extension 'spfs' as SP bundle Note: The idea is to save inside the given spfs bundle a file 'Info.list' which contains the entire structure (which window, which tabs, selected items, etc.; each single connection is saved as separate spf file - if untitled inside the bundle in the sub-folder 'Contents' or if not the absolute path to a already saved spf file). This should insure that the user can open a single spf file in SP or as part of a spfs bundle session without loosing having two different spf file for the same connection. - Comments are welcome
* Add a 'Translation Feedback' menuitem to the 'Help' menu (currently hidden). ↵stuconnolly2010-06-011-0/+1
| | | | Implements issue #713. When the feedback page is available simply change the constant SPTranslationFeedbackURL to point to it.
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-281-2/+2
|
* Initial implementation of tabs:rowanbeentje2010-05-231-1/+8
| | | | | | | | - Addition of PSMTabBar framework - Rework away from a document-based TableDocument - Support tabs throughout the application - Add menu items for creating tabs, and add support for dragging tabs to different windows
* Add a 'Keyboard Shortcuts' menu item to the 'Help' menu which opens the page ↵stuconnolly2010-03-101-0/+1
| | | | http://www.sequelpro.com/docs/Keyboard_Shortcuts.
* Fix warning introduced in r1850 by making SPAppController conform to the ↵stuconnolly2010-03-061-1/+2
| | | | FeebackReporter's FRFeedbackReporterDelegate protocol.
* Improve Feedback reporter privacy and functionality:rowanbeentje2010-03-061-0/+3
| | | | | | | | - Update to a development version of the feedback reporter, which improves logging and allows functionality like exception reporting from non-main threads (together with many other improvements). - Use the new preference privacy delegate methods to remove query history and favorite settings, together with other hostname/user path type settings, to anonymise the preferences submitted - Limit the console log submitted to 10k - Move the framework into the Frameworks folder
* The result of being bored. Add a nicer looking about panel based on Adium's.stuconnolly2009-11-191-1/+3
|
* Add a 'Provide Feedback' menu item to the help menu, which links to ↵stuconnolly2009-10-161-0/+1
| | | | http://www.sequelpro.com/docs/Contact_the_developers.
* • cleaned the current Applescript support definitions slightlyBibiko2009-10-131-3/+0
| | | | | - removed unnecessary method 'handleQuitScriptCommand' from SPAppController - set main class to SPAppController
* • Sequel Pro now understands the AppleScript command 'quit' correctlyBibiko2009-10-131-1/+3
| | | | - this fixed issue 434
* • outsourced SPEncodingPopupAccessoryBibiko2009-08-221-0/+2
| | | | | | - added SPEncodingPopupAccessory class and nib - it returns an accessory view containing a popup menu with predefined encodings - removed that view from DBView
* • further improvements for open/save SQL/SPF filesBibiko2009-08-221-0/+1
|
* Rename MainController to SPAppController.stuconnolly2009-08-081-0/+56