aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix button alignment and warning.Stuart Connolly2014-10-261-1/+1
|
* 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
|
* Allow opened SQL files to be saved back to the original file, addressing ↵rowanbeentje2013-09-081-1/+0
| | | | | | | | | Issue #1805: - Add new menu item for "Save Query", making the existing item "Save Query As" as an alternate - Track the opened SQL file and used encoding to be able to easily save the same file again - Standardise encoding detection to use the UniversalDetector framework and use that for opened SQL files where the encoding menu is not used
* Minor tidy up.stuconnolly2013-02-171-10/+10
|
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-1/+1
|
* Fix more warnings.stuconnolly2013-01-251-1/+1
|
* Fix warnings due to not conforming to 10.6 protocols.stuconnolly2013-01-241-1/+1
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-15/+24
|
* Add a new SPAppController SPWindowManagement.stuconnolly2012-07-071-6/+0
|
* Remove unnecessary import.stuconnolly2012-07-041-1/+0
|
* #ifdef'ing out references to frameworks that are not used in SP_REFACTOR buildssqlprodev2012-03-291-0/+2
|
* - Fix crashes caused by using SPBundleHTMLOutputController windows, closing ↵rowanbeentje2012-03-201-0/+1
| | | | them, and then triggering bundle reloads (eg via right-clicking)
* Fix more compiler warnings, including a few bugsrowanbeentje2011-03-071-0/+1
|
* • 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