aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
Commit message (Collapse)AuthorAgeFilesLines
...
* • further work on Bundle EditorBibiko2010-11-181-2/+2
| | | | • generalised [NSString runBashCommand...]
* • further work on Bundle EditorBibiko2010-11-171-1/+1
|
* • Bundle supportBibiko2010-11-161-2/+5
| | | | | | - further simplifications and centralizations - runBashCommandWithEnvironment: now it can execute each script command whose first line begins with #!/... natively - added some more shell variables
* • Bundle supportBibiko2010-11-161-3/+5
| | | | | - added skeleton for scope datatable support - removed unnecessary code
* • Bundle supportBibiko2010-11-151-5/+96
| | | | | | - started to populate the main menu item Bundles [still hidden] - enabled key equivalents for NSTextViews - distinguishes between Query Editor scope and text input scope via menu item validation inside main menu Bundles
* • Bundle supportBibiko2010-11-151-6/+120
| | | | | | | - 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-0/+14
| | | | - not yet visible
* Remove debug from previous commit.stuconnolly2010-11-111-3/+0
|
* Make sure the root favorite has a name key and value. Also, update string files.stuconnolly2010-11-111-0/+3
|
* More work on the new favorites controller, including loading and saving as ↵stuconnolly2010-11-111-1/+3
| | | | well as the method to migrate existing favorites data. Currently not yet active.
* • added to Bundle shell command these variables:Bibiko2010-11-111-0/+9
| | | | | | | | | | SP_ALL_DATABASES, SP_ALL_TABLES, SP_ALL_VIEWS, SP_ALL_FUNCTIONS, SP_ALL_PROCEDURES, SP_RDBMS_VERSION, SP_RDBMS_TYPE [hard-coded yet ;)] • some minor improvements to editor Bundle support • fixed issue while running a bash command that the SP GUI doesn't block • added first sequelpro url scheme functionality - sequelpro://$SP_PROCESS_ID/passToDoc/SelectTable/a_name - sequelpro://$SP_PROCESS_ID/passToDoc/SelectDatabase/a_db_name - sequelpro://$SP_PROCESS_ID/passToDoc/SelectDatabase/a_db_name/a_table_name
* • some improvements for sequelpro://process_id/command/param1/param2 url ↵Bibiko2010-11-111-1/+47
| | | | | | scheme support - introduced an unique process ID for each called bash command which will be set for the current SPDatabaseDocument and passed as environment shell variable SP_PROCESS_ID to ensure that such a scheme command will be executed by the correct SPDatabaseDocument, to avoid security issues ie one can authenticate such a sheme command, to enable url scheme process communication based on file shake-hands etc.
* • improved Bundle support; now it the passed input string will be saved as ↵Bibiko2010-11-101-0/+17
| | | | | | | temp file SP_BUNDLE_INPUT_FILE since stdin and shell vars are difficult to handle for a large amount of data • fixed AppleScript class definition since it was renamed • added support for the URL scheme 'sequel' to allow to interact with Sequel Pro eg via bash: open 'sequelpro://executequery=select%205' [not yet implemented ;)]
* Minor dealloc change.stuconnolly2010-11-091-3/+3
|
* • further preparations for user-definable bundle supportBibiko2010-11-091-1/+31
|
* • added spBundle file extensionBibiko2010-11-091-0/+3
|
* • disable "New Connection Tab" ⌘T menu item if a sheet is ordered outBibiko2010-11-011-1/+5
|
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* Split out AppleScript support into a category of SPAppController.stuconnolly2010-10-141-103/+5
|
* • fixed AppleScript crash after calling 'open' without any parameterBibiko2010-08-311-8/+29
| | | | | | | | - this should fix the issues 108, 1398, 226 , 1157, 1473 • added AppleScript support for command 'print' - it prints the active view • renamed SP classes in sequel-pro.scriptSuite • AppleScript command 'make new document' opens a new window and connects to default automatically if set
* • added SPFileManagerAdditionsBibiko2010-08-191-1/+7
| | | | | | | | - [(NSString*)applicationSupportDirectoryForSubDirectory:error:] Return the application support folder of the current application for 'subDirectory'. If this folder doesn't exist it will be created. If 'subDirectory' == nil it only returns the application support folder of the current application. • added SPThemesSupportFolder constant
* • double-click in Finder on a 'spTheme' file installs this theme in SP's ↵Bibiko2010-08-191-4/+31
| | | | | | support folder • fixed opening of other file types by checking lower cased strings
* - Expose a number of help menu items and help buttons to use localisable ↵rowanbeentje2010-07-181-6/+6
| | | | | | | | strings - Tweak MySQL help search to include a localisable language code for results in requested languages This addresses Issue #743
* - When a window is first opened, tell the tab it has become frontmost after ↵rowanbeentje2010-07-091-1/+2
| | | | the window has drawn. This addresses odd Exposé artifacts when first setup (Issue #758), as well as toolbar drawing issues when a tab is dragged into a new window.
* Rename TableDump to SPDataImport and fix export selected tables functionality.stuconnolly2010-07-061-1/+1
|
* - Fix tab bars in windows with only one tab not disappearing after dragging ↵rowanbeentje2010-07-031-1/+15
| | | | | | | a tab past/through them, by using PSMTabBar notifications instead of our own notifications; also fix PSMTabBar notification ordering. - When a tab drag starts, reorder all windows in front of other applications
* • after opening spfs file reset tabBar by looking at setting for ↵Bibiko2010-07-011-1/+5
| | | | | | | | | SPAlwaysShowWindowTabBar • fixed CSV Import file display in NSPathControl if SP runs localized - the problem is very likely a bug in [NSPathControl setURL:]; that's why create a new temporary NSPathControl and set the GUI's NSPathControl via [NSPathControl setPathComponentCells:[tempPathControl pathComponentCells]] - this should fix i751 • resized some components in CSV Import sheet to fit for localizations a bit better
* • save window's vertical divider position in spf files in order to be able ↵Bibiko2010-06-291-0/+12
| | | | | | | | | to restore it • do not save tabs or a single window if connectionController is shown • added comments • added to SPTableContent method "tablesListWidth" to retrieve tablesList's view width
* • made SP more robust against fast closing of tabs and windowsBibiko2010-06-291-0/+1
| | | | • setHideForSingleTab:YES after opening spfs session
* • Open Session fileBibiko2010-06-291-0/+3
| | | | | | - set [tabbar setHideForSingleTab:NO] if window has more than one tab in order to avoid issues while animated fading-in of the tabbar - assign initial keyboard short-cut ^⌥⌘S for Save Session (needs to be discussed) - still hidden
* • added 'spfs' as allowed extension for open panelBibiko2010-06-271-2/+2
| | | | • avoid adding of in bundle saved spf files to recent files
* • further progress for open/save sessionBibiko2010-06-251-11/+11
| | | | | | - improved remembering of save accessory view settings - if spfs file was saved encrypted ask for it while opening only once • fixed typo while remembering the save accessory view setting for "Remember Query Editor content
* • further progress for open/save sessionBibiko2010-06-251-10/+14
| | | | | - remember window position - remember save accessory view settings in spfs file
* • initial support for open a spfs session file (works rudimentary - ↵Bibiko2010-06-241-2/+96
| | | | | | fine-tuning comes soon) • added constant "SPBundleFileExtension"
* • replaced @"sql" and @"spf" by their SPConstant definitionsBibiko2010-06-241-8/+24
| | | | | | | • 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-1/+22
| | | | | | | | (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
* • open a SPF file in a new tab if the tab bar of the front most document ↵Bibiko2010-06-171-5/+16
| | | | is visible otherwise open it in a new window
* - Add support for tearing tabs off a window, into a new window containing ↵rowanbeentje2010-06-131-1/+1
| | | | | | | the dragged tab - Fix SPWindowController memory leak
* Add a 'Translation Feedback' menuitem to the 'Help' menu (currently hidden). ↵stuconnolly2010-06-011-0/+8
| | | | Implements issue #713. When the feedback page is available simply change the constant SPTranslationFeedbackURL to point to it.
* - Fix opening of .spfs on application launch or if no windows are openrowanbeentje2010-06-011-1/+1
|
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-281-4/+4
|
* Initial implementation of tabs:rowanbeentje2010-05-231-79/+165
| | | | | | | | - 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
* Change filesize units to base 2 rather than base 10. Fixes issue #690. Patch ↵stuconnolly2010-05-181-2/+2
| | | | provided by Max Lohrmann, thanks Max!.
* - Turn off app open panel setAllowMultipleSelection: changes, defaulting to ↵rowanbeentje2010-05-111-8/+3
| | | | | | | NO. This disallows opening multiple .spfs at one time, but fixes file deselection on .sql/non-.sql changes and possible crashes (logs 235, 242, and 310) - Fix label overlapping encoding menu in open panel accessory view, preventing half the menu from being clicked
* Review trigger fetching and storage:rowanbeentje2010-05-011-0/+1
| | | | | | | - Trigger queries are no longer made for MySQL < 5.0.2 - Trigger loading has been deferred until the trigger tab is active, reducing queries when switching tables and thus increasing overall responsiveness - Export triggers in MySQL dumps even if the Table Content switch is unchecked
* - Initialise prefs controller before setting Sparkle delegaterowanbeentje2010-04-021-4/+6
| | | | | | - Move sparkle prefs reset from 2056 to 2057 - Tweak prefs key binding to the user preference stats enabled key rather than the overall Sparkle stats enabled key
* Tidy up imports and fix 'Reverse Sort Order' when sorting connection ↵stuconnolly2010-03-311-1/+0
| | | | favorites (Thanks Hans).
* Following a manual code review, fix some local variables overriding global ↵rowanbeentje2010-03-151-0/+1
| | | | variables, a few leaks, and additional nil setting/checking to prevent overreleases or releases of random areas of memory.
* Add a 'Keyboard Shortcuts' menu item to the 'Help' menu which opens the page ↵stuconnolly2010-03-101-0/+8
| | | | http://www.sequelpro.com/docs/Keyboard_Shortcuts.
* Fix warning introduced in r1850 by making SPAppController conform to the ↵stuconnolly2010-03-061-1/+1
| | | | FeebackReporter's FRFeedbackReporterDelegate protocol.