aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPreferenceController.m
Commit message (Collapse)AuthorAgeFilesLines
* Rearchitect preferences, including:stuconnolly2010-11-031-2118/+135
| | | | | | | | | - Split each preference pane into their own controller (subclass of SPPreferencePane, which is a subclass of NSViewController). - Each preference pane controller conforms to the protocol SPPreferencePaneProtocol to allow the main preference controller to build the toolbar. - Move the preferences upgrade function to it's own file. - Add SPFontPreviewTextField which is based on Colloquy's JVFontPreviewField to allow previewing of the selected font in the tables and editor preference panes. - Update localisable strings files.
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-241-3/+0
| | | | | | | | - Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it. - Fix some spacing issues on the export dialog. - Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes. - Update strings files.
* Remove use of multiple comments for localized strings.stuconnolly2010-10-191-2/+2
|
* * One label was too short in Content Filter Managerdmoagx2010-09-261-12/+12
| | | | * Changed some NSLocalizedString() comments to be more descriptive - keep in mind that the comment is the only thing that can provide context here.
* Tweak favourites sorting from r2696, fixing exceptions when no sort type is ↵rowanbeentje2010-09-261-2/+2
| | | | selected
* - Correctly sort connection favourites upon startup for both the connection ↵stuconnolly2010-09-261-44/+13
| | | | | | | and preferences view. Fixes issue #807. - Remove the default favourite indicator from the preferences view.
* Update Localizable.strings and resolve the use of multiple comments for the ↵stuconnolly2010-09-211-12/+12
| | | | same string.
* - Implement support for MySQL over SSL for both TCP/IP and Socket ↵rowanbeentje2010-09-131-25/+93
| | | | | | | | | | connection modes. - Upgrade the MySQL binaries to version 5.1.50 (was 5.1.46) - Enable SSL support in the MySQL libraries (this leads to a large increase in library size, unfortunately) - Enable more optimisations in the MySQL libraries (especially --enable-assembler for faster in-library string processing and --with-mysqld-ldflags=-all-static) This completes support for Issue #27.
* - Add a further UI hint in the form of a accessory view to the SSH key ↵rowanbeentje2010-09-081-7/+11
| | | | | | | location dialogs (Note: r2615 and this commit both shamelessly stole the UI concept from Transmit 4; thanks to Panic for the inspiration!)
* - Add support for SSH identity files (public keys) in custom locationsrowanbeentje2010-09-081-2/+42
| | | | | | - Update localisable strings - Fix initial window position
* • added SPBeginWaitingAlertSheet() routine which offers the chance to ↵Bibiko2010-08-191-39/+11
| | | | | | display an alert sheet which waits for the change in the didEndSelector method of a passed class NSInteger variable • applied the SPBeginWaitingAlertSheet routine to Pref > Editor's check for unsaved color themes and in SPCustomQuery's sheet about Stop/Continue/Run All if a query failed after executing "Run All"
* • added SPFileManagerAdditionsBibiko2010-08-191-1/+4
| | | | | | | | - [(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
* • fixed issue if SP's theme support folder or saved theme file resp. was ↵Bibiko2010-08-191-0/+28
| | | | removed while SP's Editor Preferences window is open
* • fixed: reset new name to @"" for saving a themeBibiko2010-08-191-0/+1
|
* • added Edit Theme List to Editor Prefs for renaming/deleting/duplicating ↵Bibiko2010-08-191-12/+122
| | | | | | | | themes • fixed some issues for saving a theme note: since it isn't a frequently used feature this should be enough
* • convert alert about unsaved color theme to a waiting sheetBibiko2010-08-181-5/+44
|
* • added Query Editor color theme manager to the Editor PrefBibiko2010-08-181-199/+397
| | | | | | - themes can be saved/loaded in/from ~/Library/Application Support/Sequel Pro/Themes by using the gear menu items in the Editor Pref - rearrange the GUI - Edit Theme List follows soon
* • Editor color setting in Pref pane displays the color names using the ↵Bibiko2010-08-171-3/+17
| | | | | | | Editor's font - added some logic for closing the NSColorPanel - some GUI tweaks
* • initial commit to set the Editor's colors by using a table approach ↵Bibiko2010-08-171-13/+150
| | | | | | containing SPColorWellCells - further improvements will follow soon
* • added opacity slider to color palette Bibiko2010-08-161-0/+1
|
* • added chance to export/import the color theme of the Query Editor in ↵Bibiko2010-08-161-0/+261
| | | | | | | | | | | Prefs > Editor > Gear menu as normal plist file - file extension is spTheme - can also import TextMate theme tmTheme files directly • added the chance to set the selection color in the Query Editor • fixed code for setting the insertion point color • changed the way how the query highlight color will be drawn - now it also supports colors with an alpha value
* - Make a few more strings localizablerowanbeentje2010-08-011-1/+1
|
* - Make SSH titlebar strings and preferences' favourite "Last Used" menu ↵rowanbeentje2010-08-011-1/+1
| | | | item localisable
* Enable manual sorting of connection favourites in the preferences, which ↵stuconnolly2010-07-051-10/+26
| | | | will disable automatic sorting. Also, connection favourites sort order in the preferences and the connection view should now be in sync. Needs thoroughly tested. Fixes issue #655.
* Various improvements to default connection favorites handling, including:stuconnolly2010-07-031-62/+85
| | | | | | | | | - Updating the default favorite popup button to reflect the sorted order of the favorites tableview. - A new icon indicating the default favorite in the favorites tableview. - A new 'Make Default' menu item in the favorites tableview context menu. (Outstanding issue: Incorrect default favorite being selected upon launch because the sorting of favorites on the connection screen and preferences are independent of each other).
* Disable manual reordering of favourites in the preferences for the time ↵stuconnolly2010-07-031-2/+2
| | | | being as it's currently broken (related to issue #655).
* - Convert connection encoding menus to be menu tag based to fix ↵rowanbeentje2010-06-141-0/+41
| | | | | | | | | | localisation errors - Add database encoding retrieval support for MySQL 4.1 - Convert the add table and add database sheets to use encoding menus derived from server supported encodings - Re-layout preferences with larger labels to aid localisation - Fix preference resizing in non-Favorite tabs
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-281-1/+1
|
* changed many occurrences of "REMOVE" to "DELETE", eg. "DELETE DATABASE"jakob2010-04-221-3/+3
|
* Localize 'Edit Favorites...' popup button menu item.stuconnolly2010-04-201-3/+3
|
* Fix an issue whereby choosing to edit the selected favourite in the ↵stuconnolly2010-04-201-11/+0
| | | | connection view would select the wrong favourite in the preferences because sorting has been applied to the table view.
* in Preferences > Favorite ask for confirmation before removing the selected ↵Bibiko2010-04-061-30/+61
| | | | favorite
* - Initialise prefs controller before setting Sparkle delegaterowanbeentje2010-04-021-2/+2
| | | | | | - 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
* - Reset automatic software update (Sparkle) prefs so that users will be ↵rowanbeentje2010-04-021-0/+6
| | | | prompted for profile submission preference
* Tidy up imports and fix 'Reverse Sort Order' when sorting connection ↵stuconnolly2010-03-311-3/+2
| | | | favorites (Thanks Hans).
* Manually set the connection favorites button bar delegate to ensure the ↵stuconnolly2010-03-311-0/+3
| | | | split view delegate methods are called.
* Add a new gear drop down menu to the connection favorites table view ↵stuconnolly2010-03-311-36/+33
| | | | containing the remove, duplicate and sort favorites menu items. Also, fix the selection of newly added and duplicated favorites because of sorting options being applied.
* Add the ability to sort the connection favorites table view in the ↵stuconnolly2010-03-271-0/+95
| | | | preferences. Sort options are by name, host or type as well as the option to be sorted in reverse order. This implements issue #490.
* Fix an exception caused when selecting the default favorite popup button. ↵stuconnolly2010-03-271-1/+1
| | | | Caused by the addition of validateMenuItem: in r2015.
* Add a contextual menu to the favorites table view in the preferences.stuconnolly2010-03-271-29/+35
|
* General tidy up, with a focus on consolidating more constants in ↵stuconnolly2010-03-241-2/+0
| | | | SPConstants.h/m.
* • CMTextView's colours are set via observer, live changed in editable ↵Bibiko2010-01-301-6/+32
| | | | | | | | textviews • added Preference setting "Table font" in "Table" pane to set the table font/size for all result tables (Content, Custom Query) • added to SPTableView the method setFont: • fixed the initialisation of vars in CMTextView (fixes the displaying of create syntax)
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-43/+43
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* • replaced the (10.4) deprecated [NSTableView ↵Bibiko2010-01-041-13/+7
| | | | | | tableView:writeRows:toPasteboard:] method by [NSTableView tableView:writeRowsWithIndexes:toPasteboard:] • some code cosmetics
* - With the improved row count support and behaviour, replace the old "Fetch ↵rowanbeentje2010-01-021-1/+6
| | | | correct row count" preference with a new Table row counts query level (never, only for small tables, always), defaulting to only for small tables - boundary currently set to 5MB. This addresses Issue #500
* Convert a bunch of #define'd constants to extern's, including preference ↵stuconnolly2009-12-111-42/+33
| | | | toolbar identifiers, pasteboard drag types and file extensions.
* - Alter the query favourites upgrade routine to ensure query favorite names ↵rowanbeentje2009-12-111-8/+18
| | | | | | | | don't include linebreaks, and reset it to run over upgraded arrays - Also prevent the query fvorites interface from accepting newlines in titles - together, this addresses Issue #496 - Enable the query favorite editor vertical scrollbar when editing long queries
* - Additional error checking when reading in query favorites to ensure a ↵rowanbeentje2009-12-071-2/+2
| | | | | | | malformed favorite does not break application launch - Move favorites update routine to a later revision check to upgrade any query favorites created by dual use of 0.9.6 and nightlies
* Move connection type constants to SPConstants.stuconnolly2009-11-151-6/+6
|
* All users to resize the 'Favorites' preference pane.stuconnolly2009-11-051-5/+25
|