aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPNavigatorController.m
Commit message (Collapse)AuthorAgeFilesLines
* Merge SPDatabaseDocument (part of #2789)Max2018-01-201-1/+0
|
* Merge SPAppController (part of #2789)Max2018-01-201-1/+0
|
* Fix an issue with autocompletion not suggesting column names (#2507)Max2016-05-161-12/+6
| | | | Issue introduced in b7875e8fdbdc5980c12a847997cc9631979dd4d3
* fix warningsAbhi Beckert2016-04-101-0/+1
|
* Wrap a repeated call in a simpler methodMax2015-10-251-1/+1
|
* Add some info which might help a bit with debugging threading issuesMax2015-07-021-1/+1
|
* Addition to commit 2735e15bMax2015-01-041-14/+14
|
* Formalize [x release], x = nil; conventionMax2015-01-041-1/+0
| | | | | 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.
* Replace some NSDictionaries with literalsMax2014-12-131-9/+9
| | | | | | * [NSDictionary dictionary] → @{} * [NSDictionary dictionaryWithObject:forKey:] can safely be replaced. object==nil would have already thrown a NPE in the past. * Also replaced some (hopefully safe) NSArray initializers (ie. their objects should always exist).
* Change [NSArray arrayWithObject:] to @[] literalMax2014-12-131-1/+1
| | | | Note: [NSArray arrayWithObjects:...,nil] is left unchanged as that could possibly cause a NPE if converted to @[]
* Add cast for [NSApp delegate]Max2014-12-131-6/+6
| | | | | * (Also changed some outdated URLs) * Replaced [NSApplication sharedApplication] with NSApp
* Replace boxed integers in code with @ literalsMax2014-12-131-10/+10
|
* 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.
* Replace a few other instances with objectOrNilAtIndex:Max2014-08-031-1/+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
|
* * Changed a query (addressing issue #1687)dmoagx2013-04-241-7/+7
| | | | * Make some strings localizable
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-9/+9
|
* - Convert all old .tiff resource images to .png formatrowanbeentje2012-12-211-7/+7
| | | | | | | - Recompress all pngs losslessly to reduce disk use slightly - Remove old unused images - Switch some code over to imageNamed: to allow easier Retina additions in future
* Replace 1x .tiff graphics with 1x and 2x png Retina graphics.mattlangtree2012-12-121-1/+1
|
* - Add names for most threads created by Sequel Pro for easier debugrowanbeentje2012-10-141-3/+3
|
* - Remove all BWToolKit elements from the ExportDialog, ↵rowanbeentje2012-08-021-0/+5
| | | | DatabaseServerVariables, Navigator, and IndexesView nibs, replacing with SPSplitView and standard equivalents
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-13/+21
|
* Improve connection keepalive, disconnect, and connection loss after ↵rowanbeentje2012-05-151-1/+0
| | | | | | | | | | | reviewing crash logs and testing a number of situations: - Improve stability of closing connections after a connection loss - Minimise prompting a user for connection state restore if closing windows/tabs - Allow cancellation of keepalive ping threads to prevent crashes after deallocation of parent - Manually handle ping thread state struct memory to avoid cross-thread deallocation issues - Improve disconnection speed and resilience
* Rework connection loss handling in SPMySQL, particularly to improve ↵rowanbeentje2012-05-081-4/+2
| | | | | | | | | | | | background loss of connections: - Attempt to fix a condition causing a reconnection loop by fixing the order of connection state check and a query variable - If a connection is lost in the background, only attempt a single reconnect instead of requiring user intervention at once - Add a new connection state to handle background disconnects - If the connection has been lost in the background but is about to be used, reconnect it automatically (informing the user of loss if appropriate) - Don't attempt background reconnections if the connection has not been used for some time (Also update localisable strings, and tweak navigator controller connection usage)
* - Fix an exception when refreshing the navigator viewrowanbeentje2012-03-281-5/+5
|
* - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-271-1/+1
| | | | | | | fix nightly builds - Fix warnings
* Final feature work on the SPMySQL branch before merging:rowanbeentje2012-03-141-3/+4
| | | | | | | | - Add a ping keepalive managing object to prevent retain cycles from the NSTimer - Add -[SPMySQLConnection copy] support - Refactor Hans-Jörg Bibiko's database structure retrieval, moving it out of the MySQL framework and building it around a copy of the connection. This reduces the amount of connections-over-time used by Sequel Pro to two constant connections (addressing Issue #1097) and improves robustness. - Use the database structure retrieval connection for faster query cancellation without an extra connection required, if possible
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-19/+17
| | | | | | | | | | | | 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
* - Cleanup: improve compatibility with 10.7 SDK to reduce compiler warningsrowanbeentje2012-02-081-1/+1
|
* merging SP_REFACTOR branch with trunksqlprodev2011-05-191-0/+3
|
* Small tidy up, mainly the addition of constants.stuconnolly2011-05-051-9/+4
|
* initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate ↵sqlprodev2011-04-111-1/+17
| | | | UI code from functional code
* - Fix more compiler warningsrowanbeentje2011-03-151-10/+9
| | | | | - Tweak README
* fixed compiler warningssqlprodev2011-03-011-1/+2
|
* fixed compiler warningssqlprodev2011-03-011-0/+1
|
* • alias (auto-)completionBibiko2010-11-041-2/+12
| | | | - further improvements to match table names
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-241-1/+1
| | | | | | | | - 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
|
* Remove use of multiple comments for localized strings.stuconnolly2010-10-191-2/+2
|
* * One label was too short in Content Filter Managerdmoagx2010-09-261-12/+12
| | | | * Changed some NSLocalizedString() comments to be more descriptive - keep in mind that the comment is the only thing that can provide context here.
* • only some minor code cosmeticsBibiko2010-09-171-3/+3
|
* • fixed bug while closing a tab to remove the connection from NavigatorBibiko2010-08-131-2/+13
| | | | • FIRST implementation to allow to drag a table from the Navigator to the connection window's table list to copy this table with content (it works but needs to be improved!)
* • NavigatorBibiko2010-08-131-8/+57
| | | | | - speed up tree display by caching the sort order of dictionary keys (only for more than 50) - this speeds up the entire Navigator GUI response enormously - fix the fighting refresh calls in sync mode if user double-clicked at an item in the Navigator which ended up in an unstable tree display
* • NavigatorBibiko2010-08-131-75/+8
| | | | | | | - make usage of only one tree - fixed "Button"-dummy - fixed refreshing of the tree data for first invocation - fixed tiny bits for possible crashes/exceptions due to threading
* • reverted changes of refreshing of the Navigator if it is not visibleBibiko2010-08-121-1/+1
| | | | | - this should fix recent crashes/execeptions
* • NavigatorBibiko2010-08-121-11/+18
| | | | | | | - searches only for pattern length greater than 1 - improved connection detection for search if connection itself is selected - improved exceptions handling - improved first display refresh
* • some minor work on NavigatorBibiko2010-08-121-16/+28
| | | | | | | - refresh on first init - sped up sorting a bit - code improvements - removed Quick Access since it can be outsourced (in the future)
* Rename TableDocument to SPDatabaseDocument.stuconnolly2010-05-281-5/+5
|
* Rename TablesList to SPTablesList.stuconnolly2010-05-271-1/+1
|