aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* More SPMySQLIntegration bugfixes:rowanbeentje2012-03-152-7595/+7603
| | | | | | - Return User Manager details as strings as some result types are marked as binary; fixes opening of user manager - User manager schema list is now a list of databases instead of a list of database dictionaries with one key; simplify model to match
* More bugfixes to the SPMySQL integration branch:rowanbeentje2012-03-145-9/+11
| | | | | | - Fix background database structure checks throwing exceptions at the end of certain table operations - Fix incorrect timer access/overrelease when closing a SPNarrowDownCompletion window when database structure fetching is active
* SPMySQL integration bugfixes:rowanbeentje2012-03-143-8/+6
| | | | | | | - 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-1422-59/+1075
| | | | | | | | - 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-0525-298/+1117
|\
| * - Fix a retain cycle in SPNarrowDownCompletion popups while the structure ↵rowanbeentje2012-03-041-0/+7
| | | | | | | | is being retrieved
| * * Fixes a crash on 10.6 when closing a connection (Overrelease of MCPConnection)dmoagx2012-03-041-1/+1
| |
| * - Re-add QueryKit as a dependency, and correct framework paths and linking ↵rowanbeentje2012-02-262-6/+21
| | | | | | | | | | | | | | to fix errors building and running the project - Add svn ignore properties on QueryKit build and mode paths
| * Remove QueryKit as an SP dependency as it's currently not being used.stuconnolly2012-02-261-13/+0
| |
| * More QueryKit SELECT tests.stuconnolly2012-02-263-7/+57
| |
| * Add missing SVN properties.stuconnolly2012-02-261-3/+3
| |
| * Add some more QueryKit tests.stuconnolly2012-02-258-28/+292
| |
| * Move QueryKit to it's own project.stuconnolly2012-02-2516-214/+689
| |
* | 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-23148-25100/+10935
| | | | | | | | | | | | | | | | | | | | | | | | 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-20144-18949/+3
| | | | | | | | | | - Delete incorrectly committed build and pref files
* | Initial commit of the new SPMySQL Framework, which is added to the project ↵rowanbeentje2012-02-20195-0/+28616
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | - Create a new branch to allow integration of the new SPMySQL frameworkrowanbeentje2012-02-190-0/+0
|/
* - Cleanup: improve compatibility with 10.7 SDK to reduce compiler warningsrowanbeentje2012-02-0827-33747/+33813
|
* Fix minor copying and saving console view content issues.stuconnolly2012-01-292-16/+23
|
* Set the default build config to Debug in the Makefile.stuconnolly2012-01-291-1/+1
|
* - Make SPConnectionController a NSConnectionView subclass so that retain ↵rowanbeentje2012-01-213-5/+2
| | | | 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
* When editing a FLOAT field in the field editor, don't include the decimal ↵stuconnolly2012-01-161-27/+64
| | | | place when checking against the maxium allowed characters. Fixes issue #1237
* - Fix connection Growl notifications for background tabs to show the ↵rowanbeentje2012-01-151-1/+8
| | | | correct server name
* When exporting a query result as CSV ensure that we're allowing the exporter ↵stuconnolly2012-01-143-162/+204
| | | | decide how to deal with NULLs rather than passing them already converted to the user's placeholder prefernce which results in them being quoted. Fixes issue #1281. Also, general tidy up.
* Protect against dodgy preference data that may case bounds exceptions when ↵stuconnolly2012-01-113-5/+7
| | | | selecting the default favorite in the general preference pane.
* Improve index addition, especially where key sizes are required:rowanbeentje2012-01-111-3/+28
| | | | | | | - Fix exceptions caused by the sizes column formatter requiring a NSNumber - When displaying the indexes view ensure the sizes column is hidden by default, as the advanced view is closed - unless a field with a required size has been selected - If a field with a required size has been selected, don't hide the sizes column when collapsing the advanaced view
* - Roll back r3453 to avoid future license issuesrowanbeentje2012-01-101-3/+3
|
* Fix the indexes view not restoring the use vertical table view gridlines ↵stuconnolly2012-01-091-0/+1
| | | | preference.
* - Expicitly cast parameters before passing into NSString formatters ↵rowanbeentje2012-01-095-7/+7
| | | | 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
* • removed for syntax hiliting "ensureLayoutForCharacterRange" since it can ↵Bibiko2012-01-081-4/+0
| | | | cause for some unknown reasons an exception
* - Add a new CSV import field escape setting, as a new default, supporting ↵rowanbeentje2012-01-065-3466/+3508
| | | | both backslash and double-character escaping. This will mean the vast majroty of CSVs selected for import will be read correctly by default, fixing issues such as Issue #1252
* • removed setting of textColor after syntax hilitingBibiko2012-01-051-11/+0
|
* • removed blocking of SPTextView textStorage while syntax hiliting Bibiko2012-01-051-2/+2
|
* • fixed issue for line numbering view if associated textView is scrolled ↵Bibiko2012-01-054-32/+63
| | | | | | from origin {0,0}; now it's synchronized • minor speed ups for custom query editor
* • sped up the line number drawing; now it's 5 times fasterBibiko2012-01-052-20/+30
|
* - Add Zend Server CE compatibility to the default socket search list, path ↵rowanbeentje2012-01-051-0/+1
| | | | as given in Issue #1251
* - Fix compilation errors reported by pornelski in Issue #1253rowanbeentje2012-01-041-3/+3
|
* 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
* - Fix addition of new passwords for favourites edited via the Preferences ↵rowanbeentje2011-10-201-4/+14
| | | | interface. This addresses Issue #1214.
* - Fix two incorrect initialisations; thanks to sqlprodev for spotting theserowanbeentje2011-10-202-2/+2
|
* - Update code to use NSStrings for NSTableColumn identifiers, as per 10.7 SDKrowanbeentje2011-10-178-90/+63
| | | | | - Update localizable strings
* - Improve the favourites editing process to edit keychain items, rather ↵rowanbeentje2011-10-163-22/+84
| | | | than deleting and recreating them. This has two advantages: firstly, it matches the Apple recommendation, as it preserves keychain item access lists and comments for keychain items when they are edited; secondly, it works around a bug in 10.7 which appears to be a Keychain cacheing issue, causing password retrievals to return the original keychain item on launch - which is no longer valid after deletion/recreation. This addresses Issue #1197.
* When building a string of all console messages, use a copy of the visible ↵stuconnolly2011-10-161-2/+8
| | | | message set ensure it's not modified while being enumerated. Fixes exception http://spbug.com/l/2743
* Update donate URL.stuconnolly2011-10-091-1/+1
|
* For some reason table creation on MySQL 4.0 servers doesn't like the ↵stuconnolly2011-10-094-33/+44
| | | | engine/type being quoted.
* * Move key of a hidden pref to the same place as the othersdmoagx2011-10-092-2/+2
|
* Add a hidden preference for specifying the long running query notification ↵stuconnolly2011-10-085-8/+12
| | | | time (currently in milliseconds). Implements issue #944