aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPreferenceController.m
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Replace hard coded occurrences of preference key DefaultFavorite with a ↵stuconnolly2009-10-291-7/+7
| | | | constant.
* Replace the use of hard coded preference keys with constants to prevent ↵stuconnolly2009-10-171-59/+58
| | | | issues such as the one fixed in revision 1419. All future preference usage should be done so using these constants.
* • first steps to improve the general tooltip behaviour of ↵Bibiko2009-10-121-13/+0
| | | | | | 'ImageAndTextCell' class • simplified the tooltip of Preference's Favorite List
* • fixed truncating issue of Pref's Favorite List table viewBibiko2009-10-121-3/+14
| | | | | - now favorite name/host will be truncated correctly - added tooltip for truncated favorites
* - Preserve the "host" field for other connection types when socket ↵rowanbeentje2009-10-111-12/+25
| | | | connections are selected, synthesising "localhost" where necessary. This addresses Issue #384.
* - Add copy create syntax button to the create syntax sheet.stuconnolly2009-10-011-6/+4
| | | | | | - Fix the Growl notification prefs message as well as making the dialog a sheet. - Re-run genstrings to update localizable.strings and also remove use of multiple comments for a single string.
* Fix favorite length when favorite name is under 32 charsmltownsend2009-08-261-1/+1
|
* • bug fixed for providing an auto-generated name for favorites after redesignBibiko2009-08-261-1/+2
| | | | - not every favorite query is longer than 32 characters thus check length in beforehand to avoid raising an exception which causes that SP doesn't start
* Completely redesigned query favorite manager, including:stuconnolly2009-08-261-2/+20
| | | | | | | | | | | - The ability to name query favorites - The ability to edit query favorites using the same editor in the cutom query view - The ability to save your query favorites to a file Note that any already saved query favorites will be upgraded to accommodate the new format, that is including a name associated with the query. The default name is the first 32 chars of the query with '...' appended. Also, added menu item validation to the 'Save Query to Favorites' menu item.
* Rename Keychain class.stuconnolly2009-08-071-3/+3
|
* - Add a tooltip to the table information pane toggle buttonrowanbeentje2009-08-021-0/+7
| | | | | | | - Change the "[Show/Hide] Console" button in the toolbar to a "Console" button, which shows or brings the console window to the front - Update the default toolbar state to reflect recent additions - Reset everyone's toolbars to ensure that normal users will have the new icons available and visible
* • Favorite Preferences - Favorite name issues fixed:Bibiko2009-07-311-0/+74
| | | | | | | - Trap and control the 'name' field of the new added favorite. If the user pressed 'Add Favorite' the 'name' field is set to "New Favorite". If the user do not change the 'name' field or the user deletes the field content it will be set to user@host automatically. This also fixes the issue for empty names. - focus is set to 'Host' field after "Add Favorite" - focus is set to 'Name' field after "Duplicate Favorite"
* Issue 240: Default connection not being set correctly, take 2. bamse162009-07-161-2/+8
| | | | | Thanks to Rowan for suggestion where to actually look.
* - Make the DBView window the document window. This allows the document to ↵rowanbeentje2009-07-151-1/+3
| | | | | | | | | | be closed when the window is closed, freeing the document's memory - Update a number of dealloc methods to include more retained memory, and to avoid releasing non-retained memory - Remove notification observers and delegates where appropriate to avoid issues after document closing - Fix a couple of memory leaks - Support window cascading for all windows past the first, using the first window as the autosave window
* - Improve handling of the new favorites interface in preferences, ↵rowanbeentje2009-07-061-104/+94
| | | | simplifying the code and fixing one or two edge cases that caused disassociation (desynch) of keychain passwords from the favorite
* Overhaul the connection screen:rowanbeentje2009-07-061-24/+142
| | | | | | | | | - Replace the connection sheet with a new connection view - Provide a tab-based selection system for Standard, Socket, and SSH connections, and show only the necessary fields. This resolves Issue #50. - Detect when "localhost" is used in error and alert the user (also to address Issue #50) - Update favorite editing to match connection view - Move connection methods to a new connection controller and tidy up TableDocument
* Fixed the last use connection when you're reordering your connectionsbamse162009-06-301-5/+9
| | | | | | Issue 240: Default connection not being set correctly
* - Fix saving of SSH tunnel passwords entered in preferencesrowanbeentje2009-06-111-2/+5
| | | | | | - Select favourites added in preferences - Scroll to newly added or duplicated favourites in both preferences and connection sheet
* - Rename the preference pane 'Alerts' to 'Alerts & Logs'.stuconnolly2009-06-111-3/+3
| | | | | | - Move the new disable query logging to the 'Alerts & Logs' pane. - Hide the display of the new 'Shortcuts' toolbar item.
* • added to Editor Preferences:Bibiko2009-06-051-0/+1
| | | | | - "Query Background" color - checkbox "Highlight Current Query"
* Further SSH tunnel improvements, password handling improvements, and minor ↵rowanbeentje2009-06-041-39/+24
| | | | | | | | | | | | | bugfixes: - SSH tunnels can now correctly show dialogs for ssh queries, eg host key mismatches - SSH tunnels are now correctly closed by the document for connection failures - Keychain password item name and account generation has been moved to within the keychain class, to centralise generation for consistency - Keychain item names and accounts now correctly deal with nil values, allowing more keychain items to be read - "Add to favorites" button and menu item now correctly store passwords and SSH tunnel settings - Duplicating favorites in preferences now selects the newly created favorite instead of deselecting everything - Fixes an occasional crasher sometimes encountered in keychain usage
* Add support for SSH tunnels, improve password security, and tweaks:rowanbeentje2009-05-281-38/+77
| | | | | | | | | | | | - Implementation of a new SPSSHTunnel class, designed to closely integrate SSH tunnels within Sequel Pro. - Integration of SPSSHTunnel - new connection methods using callbacks, and CMMCPConnection integration - Keychain class upgrade to include the new SPSSHTunnel keychain password helper on the trusted access list for new passwords - Keychain passwords are now held in memory/UI for only as long as necessary, increasing password security - Updated interface to enable/add SSH tunnel functionality - Remove old SSHTunnel class - Addition of new target for the SSH Tunnel password assistant, addition as a dependency of the main target, and addition to build script to copy into resources directory - Fix a keychain password deletion crash
* Redesigned table information pane.stuconnolly2009-05-271-1/+1
|
* • activate Preference setting for caret colorBibiko2009-05-241-0/+1
| | | | | | | | • added prototype for new completion (ESC -> Cocoa, F5 -> new completion) - not yet finished - TODO: -- support for NSSpellChecker items -- images for different types of suggestions like proc/func/tabkle/view/sql statement, db name, etc.