aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPSSHTunnel.m
Commit message (Collapse)AuthorAgeFilesLines
* Fix the way Sequel Pro was constructing command line arguments for SSH (#2273)Max2015-10-061-17/+19
|
* And here I thought even Xcode 4 would support that…Max2015-06-111-3/+1
|
* Fix a rare crash when SSH connections failed (caused by a race condition) ↵Max2015-06-111-18/+31
| | | | (fixes #2132)
* Significantly reduce risk of a race condition in a certain setup (see #2107)Max2015-05-011-29/+27
| | | | | | * Replaced a run loop sleep with a thread sleep as it was on a background thread where a) a regular sleep is fine, b) the run loop sleep did not seem to have any effect * While we are at it, cut done some duplicate code * Removed a redundant if()
* Allow selection of SSH client binary in prefsMax2015-03-171-6/+28
| | | | Hey, I was against this, but if you want it... - just don't blame me for what might happen :shipit:
* Move some duplicate code into a new classMax2015-02-141-3/+3
| | | | (This also affects PSMSequelProTabStyle, but see the comment there why it is left unchanged)
* Fix an issue with ssh -L forwarding (: is the correct separator)Christoph Neukirch2015-01-131-3/+3
|
* Addition to commit 2735e15bMax2015-01-041-15/+14
|
* Formalize [x release], x = nil; conventionMax2015-01-041-10/+10
| | | | | Take this commit as a proposal to formalize our existing "[x release], x = nil;" convention by introducing a macro for it. Feel free to revert this commit if you see issues with the approch or implementation.
* Reformatting code for modern ObjCMax2014-12-131-1/+1
| | | | | Replaced all [NSNumber numberWithBool:YES/NO] with the @YES/@NO literals. Also replaced some TRUE/FALSE with their YES/NO counterparts.
* really disable ControlMasterJulien Ammous2014-09-101-0/+1
|
* 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