aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.m
Commit message (Collapse)AuthorAgeFilesLines
* - Fix split view overlap on the custom query view cuasing lines on ↵rowanbeentje2010-12-211-1/+1
| | | | | | | | | | scrolling/resize; this addresses Issue #929 - Fix split view overlap on the tables list/info pane causing lines on scrolling/resize; this addresses Issue #740 - Add custom resize behaviour for the table content splitview, addressing Issue #543 - Make button bars at the bottom of the window a consistent height - Fix bug with new splitview setup causing tables pane to become narrower with each launch
* Address Issue #857:rowanbeentje2010-12-201-1/+1
| | | | | | | | - Replace master connection and database view split views with full BWSplitViews so controls appear in Interface Builder; use those settings to apply which panes resize, and any max/min constraints - Remove split view delegate code which is no longer necessary after these changes - Fix a bug marking the master database view split view thumb as applying to all DatabaseDocument splits views, fixing cursor issues - Update Connection Controller/BWToolkit split view delegate setup to fix resizing issues
* - Fix duplicate/parallel connection attempts when double-clicking on the ↵rowanbeentje2010-12-191-3/+4
| | | | | | | | selected favourite in the connection outline view; this addresses Issue #924. - Correctly restore the interface after an SSH connection attempt fails - Prevent SSH connections from being started twice, eg via return key followed by a double click
* • fixed issue for saving spf files if sslCertificateFileLocation is nilBibiko2010-11-301-180/+179
| | | | | | | | | • SPConnectionController - assign favoritesTable to the correct new class SPFavoriteOutlineView (not a NSTableView) - allowed empty selection for SPFavoriteOutlineView [ this fixes mainly the issue to open spfs files ] - moved double-click action to outlineView:shouldEditTableColumn:tableColumn item: to suppress double-click at a group header - re-enabled navigation through the fav outlineView even if the password field is empty - now if the field is empty the user can simply press TAB key move the focus to that field - this fixes issue 799 • minor code cleaning
* More constant use.stuconnolly2010-11-111-7/+7
|
* Add SSL favorite constants and use them in the connection controller.stuconnolly2010-11-111-56/+74
|
* Refactor the favorite node class and fix auto-selection of the default or ↵stuconnolly2010-11-111-20/+15
| | | | last used favorite.
* Comments.stuconnolly2010-11-091-2/+2
|
* First changes towards changing the initial connection view's favorites table ↵stuconnolly2010-11-091-194/+57
| | | | list to an outline view in order to support grouping favorites. Future changes include creating a favorites data controller, including migrating favorites storage to their own plist in the app support directory as well as support for grouping favorites.
* - Fix problems updating the default favourite pop following the preference ↵rowanbeentje2010-11-041-4/+4
| | | | | | | | changes - this addresses http://spbug.com/l/1774 - Fix reselection of a newly reordered favourite - When reordering favourites downwards, move them to the correct position instead of one position too low
* Rearchitect preferences, including:stuconnolly2010-11-031-1/+1
| | | | | | | | | - 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.
* Add a new category to SPDatabaseDocument, allowing code cleanup and moving ↵rowanbeentje2010-11-031-1/+1
| | | | | | | | | | | central functionality out of SPTablesList: - Centralise control over table loading, moving it away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Centralise control over the main tab view, moving control away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Simplify and clean up view loading logic - Improve thread safety - Update localisable strings
* Move SPConnectionController's delegate methods to their own protocol.stuconnolly2010-10-291-0/+3
|
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* - Update SSH connections to pick up custom ports configured in SSH config ↵rowanbeentje2010-10-061-1/+1
| | | | | | | | files; thanks to Stefan Schüßer for this patch. - Tweak SSH Master Mode to use the "ControlMaster auto" setting instead of -M - Update localizable strings
* When the user cancels a conenction attempt, which subsequently results in an ↵stuconnolly2010-10-061-4/+12
| | | | error, don't bother displaying the error sheet. Also, disable the 'cancel' connection button once pressed.
* 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-12/+18
| | | | | | | and preferences view. Fixes issue #807. - Remove the default favourite indicator from the preferences view.
* - Implement support for MySQL over SSL for both TCP/IP and Socket ↵rowanbeentje2010-09-131-38/+186
| | | | | | | | | | 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.
* - Alter the connection view layout, moving the connection details forms ↵rowanbeentje2010-09-091-1/+32
| | | | | | | into a scrollview. Switch to centering the form in code, which allows better control and automatic scrollview triggering if the window is too small. - Reduce the minimum window size to 700x400, addressing Issue #788, now the connection view is no longer the constraining factor.
* - Add a further UI hint in the form of a accessory view to the SSH key ↵rowanbeentje2010-09-081-7/+10
| | | | | | | 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-0/+61
| | | | | | - Update localisable strings - Fix initial window position
* - Make another couple of strings localisable, and tweak layout of CREATE ↵rowanbeentje2010-08-011-2/+2
| | | | indexes view labels
* - Make SSH titlebar strings and preferences' favourite "Last Used" menu ↵rowanbeentje2010-08-011-2/+2
| | | | item localisable
* - Expose a number of help menu items and help buttons to use localisable ↵rowanbeentje2010-07-181-1/+1
| | | | | | | | strings - Tweak MySQL help search to include a localisable language code for results in requested languages This addresses Issue #743
* As the initial MySQL connection is now threaded, start the current tab's ↵stuconnolly2010-07-071-1/+21
| | | | progress indicator to indicate that it's connecting in the event that the user switches to a different tab. Also preserve the tab's label as 'Connecting...' when switching tabs.
* Further improvements to the threaded initial MySQL connection, which was ↵stuconnolly2010-07-071-34/+86
| | | | accidently committed in r2426.
* Rename CustomQuery as SPCustomQuery.stuconnolly2010-07-061-100/+170
|
* Enable manual sorting of connection favourites in the preferences, which ↵stuconnolly2010-07-051-46/+68
| | | | 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-36/+49
| | | | | | | | | - 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).
* - Tweak initial window load to select the correct favourite, also applying ↵rowanbeentje2010-06-051-3/+3
| | | | focus correctly
* Fixed Reversed Sort Order menu itemmltownsend2010-06-021-1/+1
|
* Added sorting of the favorites in the connection panel. Will use the same ↵mltownsend2010-06-011-3/+158
| | | | sort order as what is set in preferences as well. Fix for Issue#664
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-281-1/+1
|
* - Fix Connection splitview resizing to affect the underlying view (and so ↵rowanbeentje2010-05-251-2/+5
| | | | correctly save). Fixes Issue #705
* Initial implementation of tabs:rowanbeentje2010-05-231-33/+33
| | | | | | | | - 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
* Rework alert sheets:rowanbeentje2010-05-091-8/+5
| | | | | | | - Change MCPConnection.m to no longer use a reference to tableWindow to attach sheets - instead use a delate error display method if available - Rework TableSource and TableContent sheetDidEnd methods into per-task methods rather than overloading contextInfo - Rework SPAlertSheets to perform actions on the main thread, with the loss of (unused) support for a didDismissSelector. This addresses a number of crashes logged by the crash reporter
* Only attempt to check or set the max allowed packet if there is an active ↵stuconnolly2010-04-231-2/+4
| | | | connection as well as only displaying dialogs when there is a window visible. Fixes http://spbug.com/l/113.
* Fix an issue whereby choosing to edit the selected favourite in the ↵stuconnolly2010-04-201-1/+2
| | | | connection view would select the wrong favourite in the preferences because sorting has been applied to the table view.
* - Improve SPSSHTunnel question/password dialogs to no longer eat 100% CPU ↵rowanbeentje2010-03-311-0/+2
| | | | | | | | by switching from NSCondition blocking to NSLock blocking - Improve behaviour of SSH tunnels with no password in keychain - prompt appropriately - Set MXPConnection to check the proxy state when attempting to reconnect a dropped connection, extending the timer when an auth UI is up. This prevents a multiple-dialogs misbehaviour (or sometimes deadlock), addressing the last part of http://log.sequelpro.com/view/86 .
* Add support for selecting the triggers view as the default in the general ↵stuconnolly2010-03-251-1/+1
| | | | preferences pane.
* - Remove observers for key paths when dealloc'ing objects to fix later ↵rowanbeentje2010-03-231-1/+2
| | | | | | | crashes when changing those keyvalues (eg changing query editor background colour after closing windows - http://log.sequelpro.com/view/44 ) - Fix a memory leak of a prefs reference in CMTextView
* - Fix a couple of calls which crashed if the window had already been ↵rowanbeentje2010-03-181-0/+16
| | | | | | | closed, fixing window close on query startup or after queries; this fixes http://log.sequelpro.com/view/9 - Fix an exception caused in the NavigatorController if the dbstructure has not been fetched yet
* • Connection Controller ViewBibiko2010-03-161-0/+17
| | | | | - set favorite table's next key view in ConnectionView to tab view (standard,socket,ssh) to allow to navigate via ⇥ - if password field of the current selected connection in the ConnectionView is empty set first responder to it since it's very likely that user wants to fill it; otherwise favorite table is first responder
* - Fix exception on duplication of table source rows that haven't been saved ↵rowanbeentje2010-03-071-1/+1
| | | | | | | yet; this addresses http://log.sequelpro.com/view/23 - Clean up fix in r1859
* - When editing favourites from the connection screen, fix an exception when ↵rowanbeentje2010-03-071-1/+1
| | | | no selection is active. This addresses http://log.sequelpro.com/view/14
* Trim leading and trailing whitespace and newlines from the host and SSH host ↵stuconnolly2010-01-211-0/+6
| | | | input fields in the connection view. Fixes issue #545.
* Address Issue #546 (format string bugs):rowanbeentje2010-01-201-4/+5
| | | | | | - Fix incorrect uses of [NSString stringWithFormat:] with preconstructed strings and no arguments in SPUserManager - To fix display issues, replace NSBeginAlertSheet (which includes automatic sprintf expansion of the message) with a safely-escaped SPBeginAlertSheet in many files
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-29/+29
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* Move connection type constants to SPConstants.stuconnolly2009-11-151-23/+23
|