aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
Commit message (Collapse)AuthorAgeFilesLines
* • added AppleScript support for "make new document"Bibiko2009-10-141-0/+10
| | | | • fixed validation of the main menu item "Print" - only enabled if one table is selected (otherwise it throws an exception)
* • cleaned and improved AppleScript supportBibiko2009-10-141-0/+56
| | | | | | - now 'activate' & 'quit' works due to that fact that if an app is scriptable the Dock's "Quit" command calls handleQuitScriptCommand: which has to be implemened - fixed issue that SPAppController has to be the delegate for NSApp to support AS - added support for AS à la: "get name of first document" or "close every window" etc.
* • cleaned the current Applescript support definitions slightlyBibiko2009-10-131-12/+1
| | | | | - removed unnecessary method 'handleQuitScriptCommand' from SPAppController - set main class to SPAppController
* • Sequel Pro now understands the AppleScript command 'quit' correctlyBibiko2009-10-131-3/+1
| | | | - this fixed issue 434
* More export redesign work. Note that the current implementation has a major ↵stuconnolly2009-10-071-3/+5
| | | | flaw in that exporter instances (NSOperation subclasses) are not reusable and so we have to create a new instance for every 'chunk' of data we want to process.
* • added main menu item: "Open “<file>” in New Window" ⌥⌘O as ↵Bibiko2009-10-061-0/+5
| | | | | | alternated menu item bound to "Open…" - this action opens the current file-based connection in a new window by reading <file> again
* • if the user chose to open a SQL file which is larger than 1MB SP asks ↵Bibiko2009-09-261-1/+44
| | | | for confirmation, furthermore if a connection is available the user can choose 'Import' instead of loading it into the Query Editor for cases that an user invoked 'Open…' accidentally instead of 'Import…'
* • changed DocTypes for sql and spf filesBibiko2009-08-221-3/+3
|
* • moved NSOpenPanel stuff from TableDocument to SPAppControler to simplify ↵Bibiko2009-08-221-35/+82
| | | | | | | | and unify it • fixed: avoid opening of more than NSOpenPanel windows • if conncetionController is active do not allow a NSOpenPanel • minor code cleaning
* • outsourced SPEncodingPopupAccessoryBibiko2009-08-221-6/+44
| | | | | | - 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-3/+40
|
* Rename MainController to SPAppController.stuconnolly2009-08-081-0/+352