aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Improve Feedback reporter privacy and functionality:rowanbeentje2010-03-061-0/+26
| | | | | | | | - 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
* - Addition and enabling of crash reporting and exception reporting, ↵rowanbeentje2010-03-031-0/+9
| | | | submitting to a new online repository. Integrates the FeedbackReporter framework.
* Fix comment typo as a result of recent change.stuconnolly2010-01-231-1/+1
|
* Restore default behaviour of bringing the most recent window to the front ↵stuconnolly2010-01-221-1/+3
| | | | when clicking the dock icon.
* • removed from each open panel:Bibiko2010-01-151-1/+4
| | | | | | [panel setResolvesAliases:YES] For some reasons it could happen that the panel didn't response to dragging files into it correctly and sometimes SP crashed after selecting a directory in its sidebar. By removing "resolve aliases" the panel seems to work properly. This has to be verified by further tests.
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-2/+2
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* Convert URL constants from #define's to extern's.stuconnolly2009-12-111-5/+5
|
* - Add document images for .spf and .sql filesrowanbeentje2009-12-091-4/+4
| | | | | | - Rename "SequelPro connections" to "Sequel Pro connections" for consistency - Update version numbers to 0.9.7
* Remember to release the about controller.stuconnolly2009-11-191-0/+1
|
* The result of being bored. Add a nicer looking about panel based on Adium's.stuconnolly2009-11-191-1/+12
|
* If SP is already running, but there are no documents open, clicking the dock ↵stuconnolly2009-11-141-12/+36
| | | | icon (casuing a reopen call) shouldn't cause the auto-connect to kick in.
* Tidy up and forgot to commit project file.stuconnolly2009-11-131-35/+42
|
* Add constant for preference key 'AutoConnectToDefault' and replace ↵stuconnolly2009-10-171-2/+2
| | | | occurrences of it's use.
* Replace the use of hard coded preference keys with constants to prevent ↵stuconnolly2009-10-171-10/+5
| | | | issues such as the one fixed in revision 1419. All future preference usage should be done so using these constants.
* Add a 'Provide Feedback' menu item to the help menu, which links to ↵stuconnolly2009-10-161-0/+9
| | | | http://www.sequelpro.com/docs/Contact_the_developers.
* • 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