aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.h
Commit message (Collapse)AuthorAgeFilesLines
* - Fix a crash on closing windows by deregistering controller view ↵rowanbeentje2012-05-021-1/+1
| | | | | | | | notifications on dealloc - Fix a crash on opening windows after closing windows due to an overrelease of the favourites tree - Fix an exception on logging in due to incorrect keychain ID type on the document
* - Alter the variable that currentFavorite tracks to the favourite instead ↵rowanbeentje2012-05-021-2/+1
| | | | | | | of a copy of the represented node; this addresses a crash on Lion (Issue #1328) - Clean up variables and initialisers, restore connection keychain ID tracking and setting
* Merge outline view branch into trunk.stuconnolly2012-05-021-56/+74
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Adds support for managing and grouping favorites into folders in the connection view and removes the associated favorites management from the preferences window. NOTE: On first launch your connection favorites will be migrated from Sequel Pro's preference file to a new file in ~/Application Support/Sequel Pro/Data. Your old favorites will remain in the preference file until removed in a future version. Outstanding known issues: - Removing a group node with no child favorites presents a warning about also removing the non-existent favorites. - Starting the application with no favorites, creating a group node then selecting, hides the connection details input. Doesn't support emoty selection. - Setting the name of a connection, adding it to the favorites and then swicthing to a different connection type, screws with the favorite name. - The preservation between launches of whether group nodes are collapsed or not is currently not supported.
| * Bring outline view branch up to date with trunk.stuconnolly2012-04-161-1/+2
| |
| * Bring outline view branch up to date with trunk (r3471:r3517).stuconnolly2012-03-181-10/+5
| |
| * Fix drag and drop of items that aren't selected.stuconnolly2012-03-171-0/+1
| |
| * Localize favorites import error message and update strings.stuconnolly2012-01-291-0/+1
| |
| * Tidy up.stuconnolly2012-01-241-1/+1
| |
| * Split out connection controller initialization.stuconnolly2012-01-221-2/+0
| |
| * Bring outlinew view branch up to date with trunk (r3468:3470).stuconnolly2012-01-221-1/+1
| |
| * Bring outlinew view branch up to date with trunk (r3375:3468).stuconnolly2012-01-221-1/+4
| |
| * Add the ability to export favorites.stuconnolly2011-06-121-1/+3
| |
| * Fix exceptions being thrown upon launch.stuconnolly2011-05-141-0/+3
| |
| * Fix broken build after merge with trunk.stuconnolly2011-04-241-10/+6
| |
| * Bring outline view branch up to date with trunk (r3234:3277).stuconnolly2011-04-221-7/+36
| |
| * Bring outline view branch up to date with trunk (r3235:r3245), which should ↵stuconnolly2011-03-191-1/+1
| | | | | | | | resolve all warnings.
| * Fix issue related to dragging a node to a group node that is being renamed ↵stuconnolly2011-03-131-2/+3
| | | | | | | | as well as fix all warnings related to the connection outlinew view.
| * Warnings.stuconnolly2011-03-131-2/+1
| |
| * Bring outline view branch up to date with trunk (r3056:r3162).stuconnolly2011-01-271-0/+1
| |\
| * \ Bring fravorites outline view branch up to date with trunk (r3036:3058).stuconnolly2010-12-281-1/+1
| |\ \
| * | | When either more than one favorite or a favorite group is selected in the ↵stuconnolly2010-12-061-0/+1
| | | | | | | | | | | | | | | | connection view, hide the connection details form.
| * | | Apply new favorites outline view patch.stuconnolly2010-12-051-46/+63
| | | |
* | | | - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | fix nightly builds - Fix warnings
* | | | Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exceptions as database structure retrieval is currently missing! Further work on SPMySQLFramework integration: - Improve SPMySQL framework build settings including correct ppc builds and a Distribution configuration for the build distributions to match - Add new convenience querying and result methods to the framework - Amend Sequel Pro source to use the new SPMySQL.framework methods everywhere, replacing MCPKit methods where they differ and improving some functions - Remove MCPKit from the source - Fix a number of warnings on Release-style builds
* | | | - Make SPConnectionController a NSConnectionView subclass so that retain ↵rowanbeentje2012-01-211-1/+1
| | | | | | | | | | | | | | | | cycles caused by manually loading libs with bindings to File's Owner are automatically handled, fixing leaks of SPConnectionController and items it retain including any MCPConnection; this will fix issues with MCPConnections attempting to reconnect but no longer having an associated SPDatabaseDocument
* | | | - Add the ability to view hidden files in SSH/SSL key selection dialogs; ↵rowanbeentje2011-09-101-0/+2
| | | | | | | | | | | | | | | | this addresses Issue #1176
* | | | merging SP_REFACTOR branch with trunksqlprodev2011-05-191-7/+8
| | | |
* | | | initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate ↵sqlprodev2011-04-111-5/+31
| | | | | | | | | | | | | | | | UI code from functional code
* | | | - Fix more compiler warningsrowanbeentje2011-03-151-1/+1
| |_|/ |/| | | | | | | | | | | - Tweak README
* | | - Track the keychain ID of the favourite in the connection controller, ↵rowanbeentje2011-01-101-0/+1
| |/ |/| | | | | fixing errors when amending favourites in the connection view and thereafter saving as .spf or duplicating connections
* | 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
* • fixed issue for saving spf files if sslCertificateFileLocation is nilBibiko2010-11-301-1/+2
| | | | | | | | | • 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
* First changes towards changing the initial connection view's favorites table ↵stuconnolly2010-11-091-4/+6
| | | | 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.
* Move SPConnectionController's delegate methods to their own protocol.stuconnolly2010-10-291-13/+4
|
* Tidy up.stuconnolly2010-10-191-1/+0
|
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* Add missing SVN properties and general comments tidy up.stuconnolly2010-09-211-1/+1
|
* - Implement support for MySQL over SSL for both TCP/IP and Socket ↵rowanbeentje2010-09-131-1/+27
| | | | | | | | | | 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/+2
| | | | | | | 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-0/+1
| | | | | | | 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-1/+7
| | | | | | - Update localisable strings - Fix initial window position
* As the initial MySQL connection is now threaded, start the current tab's ↵stuconnolly2010-07-071-0/+3
| | | | 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.
* Rename CustomQuery as SPCustomQuery.stuconnolly2010-07-061-0/+2
|
* Enable manual sorting of connection favourites in the preferences, which ↵stuconnolly2010-07-051-1/+3
| | | | 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-7/+6
| | | | | | | | | - 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).
* Added sorting of the favorites in the connection panel. Will use the same ↵mltownsend2010-06-011-0/+9
| | | | sort order as what is set in preferences as well. Fix for Issue#664
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-281-3/+3
|
* Initial implementation of tabs:rowanbeentje2010-05-231-2/+4
| | | | | | | | - 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-1/+0
| | | | | | | - 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
* - Fix a couple of calls which crashed if the window had already been ↵rowanbeentje2010-03-181-0/+2
| | | | | | | 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