aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
Commit message (Collapse)AuthorAgeFilesLines
* - 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
* • 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
id='n965' href='#n965'>965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125