aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks
Commit message (Collapse)AuthorAgeFilesLines
* Fix broken build.stuconnolly2012-07-091-2/+2
|
* Improve QueryKit's handling of quotes by making it on by default. Also, add ↵stuconnolly2012-07-0916-137/+445
| | | | a bunch more tests.
* Improve connection keepalive, disconnect, and connection loss after ↵rowanbeentje2012-05-154-20/+87
| | | | | | | | | | | 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
* - Return an autoreleased copy of the error string when requested, instead ↵rowanbeentje2012-05-131-1/+2
| | | | of a reference to the retained error string to avoid any overrelease errors later affecting the framework
* - Fix incorrect reconnection detection in the new SPMySQL reconnection code ↵rowanbeentje2012-05-121-0/+1
| | | | paths, improving general connection robustness in recent builds
* - Fix a build warning caused by r3649 changesrowanbeentje2012-05-101-1/+1
| | | | | - Improve debug to catch a structure connection issue
* Tidy up QueryKit warning settings.stuconnolly2012-05-091-5/+11
|
* Fix QueryKit warning.stuconnolly2012-05-092-1/+31
|
* Rework connection loss handling in SPMySQL, particularly to improve ↵rowanbeentje2012-05-088-194/+281
| | | | | | | | | | | | 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)
* Warning config.stuconnolly2012-05-072-2/+4
|
* Update make files to support accepting xcode default settings.stuconnolly2012-05-072-9/+28
|
* - Correctly call mysql_library_init() on application start, and ↵rowanbeentje2012-04-185-1/+78
| | | | mysql_thread_init() and mysql_thread_end() on each thread as appropriate. This will improve observed MySQL stability, especially in certain circumstances such as LOAD DATA INFILE.
* - Fix a number of small memory leaksrowanbeentje2012-04-142-15/+6
|
* - Manually handle some SPFileHandle memory management to significantly ↵rowanbeentje2012-04-121-1/+1
| | | | | | | improve memory usage during large exports, particularly improving memory which appeared to never be reclaimed - Fix some minor memory leaks throughout the application
* - Upgrade to the MySQL 5.5.22 client libraries, updating to a much more ↵rowanbeentje2012-04-0913-304/+265
| | | | | | | | up-to-date codebase. - Update the build-mysql-client.sh MySQL build script within SPMySQL.framework to allow it to easily build 5.5 client libraries - Fix reconnection within SPMySQL.framework after a connection is lost for MySQL servers < 5 when a query is cancelled by killing the connection
* - Improve mouse tracking logic in PSMTabBar, fixing dragging issues (Issue ↵rowanbeentje2012-04-021-1/+8
| | | | #1003)
* PSMTabBar improvements:rowanbeentje2012-04-023-56/+44
| | | | | | | - Add a new -destroyAnimations method to the tab bar and call it when tearing down the parent SPWindowController; this prevents animations redrawing the document after window close, fixing a number of crashes. - Improve the logic for collapsing and uncollapsing the tab bar as tabs are added and removed, fixing height calculation errors leading to Issue #1082 - Improve tab bar draw when animating in the Sequel Pro tab style
* - As console fetches can generally cause crashes on 10.5.8, disable them on ↵rowanbeentje2012-03-311-0/+0
| | | | x86 as well as PPC for 10.58 and earlier; this addresses Issue #1175.
* - Fix SPMySQL warnings about delegate and proxy methods mixing synthesized ↵rowanbeentje2012-03-295-10/+37
| | | | | | | getters and manually overridden setters - Fix autoincrement ID retrieval in SPMySQL, addressing issues previewing rows when the setting for "Reload Table After: Adding a row" is not being used
* Added #import "SPMySQLStringAdditions.h" for mySQLBacktickQuotedString and ↵sqlprodev2012-03-282-0/+2
| | | | mySQLTickQuotedString declarations
* - Correctly nest reconnection attempts to preserve previous connection ↵rowanbeentje2012-03-281-2/+7
| | | | settings in SPMySQL when connections time out, addressing Issue #1309
* - Turn off the QueryKit "Symbols hidden by default" setting on Release ↵rowanbeentje2012-03-281-1/+0
| | | | builds to fix release builds of SP
* - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-273-25/+25
| | | | | | | fix nightly builds - Fix warnings
* tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-271-0/+4
|
* QueryKit: add clear method so query instances can be reused.stuconnolly2012-03-252-0/+22
|
* Fix build.stuconnolly2012-03-251-1/+1
|
* QueryKit: Add support for UPDATE queries.stuconnolly2012-03-2520-63/+397
|
* Fix query formatting.stuconnolly2012-03-241-1/+1
|
* SPMySQL integration bugfixes:rowanbeentje2012-03-141-1/+1
| | | | | | | - Fix a bug where the socket path would not be autodetected if an empty string was supplied - Fix a bug fetching primary key column names for tables - Fix a bug building database structures on MySQL 3.x servers
* Final feature work on the SPMySQL branch before merging:rowanbeentje2012-03-1411-37/+311
| | | | | | | | - 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
* - Bring SPMySQL Framework integration branch up to date with trunkrowanbeentje2012-03-0519-13/+1078
|\
| * - Re-add QueryKit as a dependency, and correct framework paths and linking ↵rowanbeentje2012-02-261-3/+3
| | | | | | | | | | | | | | to fix errors building and running the project - Add svn ignore properties on QueryKit build and mode paths
| * More QueryKit SELECT tests.stuconnolly2012-02-263-7/+57
| |
| * Add some more QueryKit tests.stuconnolly2012-02-258-28/+292
| |
| * Move QueryKit to it's own project.stuconnolly2012-02-2515-10/+761
| |
* | Improvements to SPMySQL framework:rowanbeentje2012-02-246-67/+112
| | | | | | | | | | | | | | - Correctly record affected rows - Fix thread safety/autorelease issues when draining pools during fast iteration - Improve streaming result processing speed
* | Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-2365-13791/+218
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | - Add missing libmysqlclient.a to build SPMySQL (ignored during initial add ↵rowanbeentje2012-02-201-0/+0
| | | | | | | | | | | | | | as it's a binary file?) - Add svn:ignore propsets for build, pbxuser and project mode files
* | - Fix incorrect conversion via a CFStringEncoding for eucjpmsrowanbeentje2012-02-20143-18947/+1
| | | | | | | | | | - Delete incorrectly committed build and pref files
* | Initial commit of the new SPMySQL Framework, which is added to the project ↵rowanbeentje2012-02-20194-0/+28563
|/ | | | | | | | | | | | | | | | | | | | | | | | | | and ready for use but not yet integrated. This new framework should provide much of the functionality required from MCPKit and is based around its interface for relatively easy integration. The largest missing component is Hans' structure code which I believe is better placed outside the framework. From the Readme file: The SPMySQL Framework is intended to provide a stable MySQL connection framework, with the ability to run text-based queries and rapidly retrieve result sets with conversion from MySQL data types to Cocoa objects. SPMySQL.framework has an interface loosely based around that provided by MCPKit by Serge Cohen and Bertrand Mansion (http://mysql-cocoa.sourceforge.net/), and in particular the heavily modified Sequel Pro version (http://www.sequelpro.com/). It is a full rewrite of the original framework, although it includes code from patches implementing the following Sequel Pro functionality, largely contributed by Hans-Jörg Bibiko, Stuart Connolly, Jakob Egger, and Rowan Beentje: - Connection locking (Jakob et al) - Ping & keepalive (Rowan et al) - Query cancellation (Rowan et al) - Delegate setup (Stuart et al) - SSL support (Rowan et al) - Connection checking (Rowan et al) - Version state (Stuart et al) - Maximum packet size control (Hans et al) - Result multithreading and streaming (Rowan et al) - Improved encoding support & switching (Rowan et al) - Database structure; moved to inside the app (Hans et al) - Query reattempts and error-handling approach (Rowan et al) - Geometry result class (Hans et al) - Connection proxy (Stuart et al)
* - 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
* - Expicitly cast parameters before passing into NSString formatters ↵rowanbeentje2012-01-091-1/+1
| | | | assuming 64-bit lengths; this addresses exceptions and hangs viewing table contents on 32-bit machines, many thanks to stuart02 for identifying and tracking down this issue
* - Add Zend Server CE compatibility to the default socket search list, path ↵rowanbeentje2012-01-051-0/+1
| | | | as given in Issue #1251
* Update Growl framework to version 1.2.3 to fix compatibility with Growl 1.3. ↵stuconnolly2011-11-054-5/+21
| | | | Fixes issue #1220.
* - Fix an issue in MCPConnection causing connection locking if the ↵rowanbeentje2011-10-281-1/+17
| | | | connection has an active query and is performing actions such as encoding conversions
* - Update code to use NSStrings for NSTableColumn identifiers, as per 10.7 SDKrowanbeentje2011-10-171-1/+1
| | | | | - Update localizable strings
* * Fixes a minor bug where the server time zone would not be detected correctlydmoagx2011-10-071-1/+2
|
* QueryKit updates.stuconnolly2011-09-272-2/+5
|
* Fix test.stuconnolly2011-09-261-0/+1
|
* - Improve time zone checking to account for NULL timezones, which should ↵rowanbeentje2011-09-121-3/+3
| | | | address Issue #1181