aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPConnectionController.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-0/+1
|
* - In the SPMySQL.framework, separate framework-triggered connections and ↵rowanbeentje2012-10-141-2/+1
| | | | | | | | | disconnections from external actions, and use that separation to perform safer disconnects - When closing a database document, add a new notification, and use that to resolve retain cycles affecting connection processes - Improve connection controller disconnection when the document is closed, fixing crashes, by building on those two features (addresses Issue #1396) - Use some of the new functionality to improve SSH and MySQL connection cancellation, making both cancelable in the interface and making both respond much more quickly
* - Fix the Quick Connect entry on the connection screen being a drag and ↵rowanbeentje2012-10-081-1/+1
| | | | | | | drop target - Speculative fix for 10.6 & 10.5 connection screen padding/layout issues
* Change the connection screen interface, particularly relating to favourite ↵rowanbeentje2012-10-061-7/+18
| | | | | | | | | | | | | | editing on the connection screen (Issue #1339, Issue #1440): - No longer save changes made to connection favourites as soon as the interface is updated - Alter the interfaace if favourites are editing, offering to save the changes either to the old connection favourite or to a new favourite - Add a "Test connection" button to verify changes before saving - Add a "Quick Connect" entry to the top of the connection view's favourites list so a blank form is always available - Use a custom highlight when editing favourites to show the favourite has changed but is still linked - Reduce the margin on the left-hand side of the connection favourites list to increase the available space - Alter favourite name generation, making it less aggressive when generating names from partial details (eg creating names of just "@") and removing the user - Alter key icon usage to correctly update the button appearance if an SSL or SSH key is selected
* - Remove BWToolKit from the project, using ibtool to strip out plugin ↵rowanbeentje2012-08-031-10/+0
| | | | dependencies now that all BW custom elements have been removed; remove last references and build steps.
* - Remove all BWToolKit elements in the connection view, replacing with ↵rowanbeentje2012-08-011-6/+4
| | | | | | | | | standard equivalents and SPSplitView - Replace the "Add" action menu on the connection view with two buttons for easier use and to avoid having to set up more popup buttons - Improve SPSplitView's handling of delegates set through code - Update localisable strings
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-15/+22
|
* Merged SP r3710 with Codasqlprodev2012-07-051-11/+7
|
* - Fix flickering and incorrect connection view positioning on initial ↵rowanbeentje2012-06-051-0/+1
| | | | window creation
* Improve connection handling and editing:rowanbeentje2012-05-271-1/+0
| | | | | | | | | - Fix long-standing intermittent crashes caused by connection errors after SSH tunnels were established - Fix edits causing keychain -25299 errors (Issue #1340) - Allow changes of favourite type to be saved rather than disassociating the edit from the selection - Fix the favourites view scrolling to the top when there's no selection and connection details are being edited - Fix some issues with automatic naming of connections on connection type change
* - 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!)