aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPPreferenceController.m
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* - Fixed NSFontPanel issue. Now showing font collections in Font Panelavenjamin2009-05-211-14/+25
| | | | | | - Replaced some toolbar icons with new ones - Edited some toolbar icons. - Added keyboard shortcut section to preferences (Disabled for now)
* More header updates for source files, including Subversion Id property.stuconnolly2009-05-191-0/+2
|
* Fix warning.stuconnolly2009-05-181-1/+1
|
* Show alert when enabling Growl Notifications to let the user know about ↵avenjamin2009-05-181-0/+22
| | | | changing notifications in System Preferences.
* • added "Query Editor" preference pane for setting colors, font, and modes ↵Bibiko2009-05-071-32/+98
| | | | | | | | | | | | | | | | | (from the CQ's action gear which are still customizable there) - in addition to the syntax colors it's now possible to change the fore/background color as well • added "Update Help while typing" feature in the Custom Query editor • first trial to improve syntax highlighting for large text in the Custom Query editor - if the text is larger than 10k the highlighting is performed only for the visible text area ±bias (3.5k) - if the user changes the visible area the highlighting follows time-delayed 500ms) to assure user interaction - a test with a 45MB SQL dump worked (of course a tick slowier) -- todo: improve prev/current query detection (mainly the SQLParser) - if the text size is > 6MB the completion list won't show words from the text due to parsing time - if the text size is > 6MB the line numbering will be disabled due to performance issue (improvements should follow) • some tiny clarification changes in the syntax highlighting code • some minor code cosmetics
* Make SPPreferenceController the delegate of the favorites manager splitview ↵stuconnolly2009-04-181-25/+35
| | | | and implement maximum and minimum split view sizes.
* - Ensure that arrays and dictionaries from prefs which are being upgraded ↵rowanbeentje2009-04-181-2/+2
| | | | are mutable
* - The connection sheet Edit button now opens the favourites list in ↵rowanbeentje2009-04-161-40/+48
| | | | | | | preferences and selects appropriately; this resolves the initially planned changes for Issue #232. - Move updateDefaultFavoritePopup in SPPreferenceController to a public method and set TableDocument to update it when adding favorites
* - Tweak favorites/keychain upgrade routine to only fire once, even if going ↵rowanbeentje2009-04-151-2/+3
| | | | back and testing older releases/revisions
* - Ensure pref upgrades only happen once even if reverting back to older ↵rowanbeentje2009-04-141-2/+2
| | | | versions for testing/usage
* - Add a unique ID to each favourite, which is also used when interacting ↵rowanbeentje2009-04-141-12/+71
| | | | | | | | ith the keychain. This resolves the last part of Issue #186 and associated problems (ie multiple connections via a tunnel with only the port differing - now can store different passwords). - Duplicate function in prefs now also duplicates the password - Fix a few places which created a blank keychain entry when no password was present
* - Tweak the favorite button tooltips to refer to 'favorite's instead of 'row'srowanbeentje2009-04-131-0/+3
| | | | | | - Add the keyboard shortcuts advertised on the button tooltips to the buttons - When duplicating a favorite, append " Copy" to the name to ensure the keychain password isn't automatically shared and therefore accidentally changed or deleted for both when one favorite is edited.
* - Save password changes when making changes in favorites tab in the ↵rowanbeentje2009-04-131-0/+78
| | | | | | | | preferences window - Remove the now unnecessary (and never implemented) "Save" button below the favorites editor - Hook up the Remove and Duplicate favorite buttons to the correct Enable binding
* - Rewrite prefs remapping section for clarity and shortness (thanks ↵rowanbeentje2009-04-121-55/+26
| | | | avenjamin for the suggestion!)
* - Correctly set default editor font to Monaco 10rowanbeentje2009-04-121-3/+137
| | | | | | - Restore pref upgrade methods, make compatibible with both lastUsedVersion and LastUsedVersion keys - Add upgrade method to map old pref keys to new pref keys, delete old keys
* - part 4 of merge from 'avenjamin' branch into trunk.avenjamin2009-04-101-0/+574
- committing Source