aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSSHTunnel.m
Commit message (Collapse)AuthorAgeFilesLines
* Update URL in source file header to point to GitHub.Stuart Connolly2014-01-261-1/+1
|
* Remove SVN property placeholder.Stuart Connolly2014-01-261-2/+0
|
* - Address further Release/Distribution build warningsrowanbeentje2013-05-221-1/+1
|
* - Default to disabling SSH multiplexing to avoid connection issues as per ↵rowanbeentje2013-02-201-3/+5
| | | | Issue #1457; leave multiplexing code present, but behind a preference. Run `defaults write com.sequelpro.SequelPro -boolean YES` to re-enable.
* - Disable connection muxing on OS X versions lower than 10.7, to speed up ↵rowanbeentje2012-12-171-2/+6
| | | | | | | connections, improving Issue #1457 - Fix a warning left over from changes in r3931
* - If the connection exits unexpectedly when muxing, disable connection ↵rowanbeentje2012-10-301-10/+29
| | | | | | | muxing and retry; this should address Issue #1457 - Add SSH command and task arguments used to the debug log
* - Add names for most threads created by Sequel Pro for easier debugrowanbeentje2012-10-141-1/+2
|
* - Use a short hashed form of the connection path for SSH ControlPath ↵rowanbeentje2012-08-191-5/+32
| | | | | | | settings, to aid length issues with the new sandbox-safe temporary folders being used - Clean up SSH argument code
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-15/+23
|
* - Use a per-user temporary directory for SSH tunnels (and bundle dragged ↵rowanbeentje2012-06-281-1/+1
| | | | temporary files)
* - Use a custom ControlPath for SSH tunnels in an attempt to address Issue ↵rowanbeentje2012-06-281-0/+1
| | | | #1095 (issues connecting when a connection master is already present)
* Improve connection handling and editing:rowanbeentje2012-05-271-2/+7
| | | | | | | | | - 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 remaining implicit cast warnings.stuconnolly2012-05-111-1/+1
|
* Merge outline view branch into trunk.stuconnolly2012-05-021-13/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+1
| |
| * Bring outline view branch up to date with trunk (r3471:r3517).stuconnolly2012-03-181-20/+21
| |
| * Bring outlinew view branch up to date with trunk (r3375:3468).stuconnolly2012-01-221-2/+4
| |
| * Bring outline view branch up to date with trunk (r3227:r3233).stuconnolly2011-03-081-4/+4
| |
| * Bring outline view branch up to date with trunk (r3203:r3224).stuconnolly2011-03-071-3/+3
| |
| * Bring outline view branch up to date with trunk (r3188:r3201).stuconnolly2011-02-201-60/+78
| |
* | - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-271-4/+0
| | | | | | | | | | | | | | fix nightly builds - Fix warnings
* | tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-271-0/+4
| |
* | Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-20/+21
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | - Attempt to detect SSH master use correctly, to improve Issue #1095rowanbeentje2011-09-011-1/+3
| |
* | - Clean up undo manager handlingrowanbeentje2011-08-311-1/+1
| | | | | | | | | | - Implement an undo manager per tab (strictly speaking, per connection 'document'), addressing Issue #1109.
* | Fix more compiler warnings, including a few bugsrowanbeentje2011-03-081-4/+4
| |
* | - Fix compiler warnings for MCPKit - largely typecast relatedrowanbeentje2011-03-021-2/+2
| | | | | | | | | | | | | | | | | | - Fix further compiler warnings, including a couple of bugs - Disable the -wselector warnings (Multiple definition types for selector) as they're currently unsupported in LLVM - Disable the -wconversion warnings (Prototype conversion) warnings as we usually can't affect protocol declaration - Disable the -wstrict-selector-match (Strict selector matching) due to too many false positives
* | fixed compiler warningssqlprodev2011-03-011-1/+1
| |
* | When the user cancels the SSH password prompt, prevent further prompts and ↵stuconnolly2011-02-081-60/+78
|/ | | | also suppress the error detail dialog. Fixes issue #975.
* - Fix SSH tunnels for connections with non-Latin characters in their namerowanbeentje2011-01-041-2/+2
| | | | | | - If SSH tunnel password lookups fail, fall back to asking the user for the password - Don't reset keychain IDs across documents if not set; this fixes problems re-saving .spfs or duplicating chains of tabs
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-241-1/+0
| | | | | | | | - Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it. - Fix some spacing issues on the export dialog. - Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes. - Update strings files.
* 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-3/+5
| | | | | | | | 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
* - Add support for SSH identity files (public keys) in custom locationsrowanbeentje2010-09-081-0/+19
| | | | | | - Update localisable strings - Fix initial window position
* - Make a few more strings localizablerowanbeentje2010-08-011-1/+1
|
* Improve handling of network drops, including a new automatic reconnection ↵rowanbeentje2010-07-131-8/+7
| | | | | | | | | | | | | attempt, as well as improved handling of networks not present. This addresses Issue #657. In MCPKit: - Disable MySQL automatic reconnection, and add our own reconnection code for greater consistency - If no network is available, delay reconnects by a short period to allow the network to come back up - Improved handling of proxy disconnects In SPSSHTunnel: - Improved handling of SSH tunnel disconnects, improving automatic reconnection via MCPKit and fixing potential memory/logic tramping. Also remove the "Retry" button from the Disconnected dialog, leaving only the choices "Reconnect" or "Disconnect".
* Initial implementation of tabs:rowanbeentje2010-05-231-0/+11
| | | | | | | | - 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-0/+1
| | | | | | | - 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 CFRunLoopWakeUp crashes seen on 10.5.8 with SSH connections by ↵rowanbeentje2010-04-281-0/+4
| | | | running the run loop after disconnection to flush calls
* - Add locking for SSH debug message processing - this addresses ↵rowanbeentje2010-04-151-2/+12
| | | | http://spbug.com/l/117
* Review usage of notifications, afterDelay: and waitUntilDone:NO calls:rowanbeentje2010-04-121-1/+1
| | | | | | | - Add more calls to deregister watchers to fix crashes to closing threads or objects - Fix a couple of memory leaks - Alter a few calls to be performed on main thread (afterDelay: operates on the thread is is called on) - this fixed database reloading after import and field/index deletion error sheets
* - Improve on r2050, running reconnections after a proxy disconnect on a new ↵rowanbeentje2010-04-041-0/+2
| | | | thread to allow the UI to update and handle events on 10.6. Also clean up the logic in MCPConnection waiting for a proxy discoonect to handle more cases and simplify code.
* - Improve SPSSHTunnel question/password dialogs to no longer eat 100% CPU ↵rowanbeentje2010-03-311-27/+32
| | | | | | | | 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 .
* - Improve MCPConnection behaviour with respect to run loops and proxies, ↵rowanbeentje2010-03-271-4/+2
| | | | | | | improving both proxy disconnection and reconnection after dropped connections - Slightly tweak SPSSHTunnel to improve proxy behaviour
* General tidy up, with a focus on consolidating more constants in ↵stuconnolly2010-03-241-3/+3
| | | | SPConstants.h/m.
* * fixed typo that prevented the document window from closing when choosing ↵jakob2010-01-281-2/+2
| | | | | | 'disconnect' in the connection error dialog * improved some comments
* - removed two occurances of runModalForWindow: when asking questions for the ↵jakob2010-01-281-56/+83
| | | | SSH-helper (see #357)
* - Fix SSH threads (and connections) which were never cleaned up or closed, ↵rowanbeentje2010-01-271-1/+2
| | | | | | | probably as a result of r1709 - Improve SSH and object cleanup, especially for cases where the connection drops, to ensure the connection proxy is cleaned up and all memory released
* - Upgrade Sequel Pro to be compiled as a 3-way PPC/i386/x86_64 binary for ↵rowanbeentje2010-01-091-21/+21
| | | | | | | release builds, including a large number of 64bit compatibility upgrades and tweaks - Upgrade RegexKitLite to 3.3
* - Fix hashing of auth strings - fixes recent (and 64-bit) second use of SSH ↵rowanbeentje2010-01-031-2/+2
| | | | tunnels hanging