aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix SVN properties.stuconnolly2012-03-250-0/+0
|
* QueryKit: Add support for UPDATE queries.stuconnolly2012-03-2520-63/+397
|
* Fix query formatting.stuconnolly2012-03-241-1/+1
|
* - Fix exceptions caused when resizing custom query columns which don't map ↵rowanbeentje2012-03-241-3/+3
| | | | to underlying table columns on certain 5.0.x MySQL versions
* Don't close the user manager after the user dismisses the errors sheet.stuconnolly2012-03-241-4/+0
|
* Remember to release the errors string even if we don't use it when applying ↵stuconnolly2012-03-241-0/+2
| | | | user manager changes.
* Fix layout issues when resizing the user manager's errors sheet.stuconnolly2012-03-242-7598/+7654
|
* Simply queries executed by user manager.stuconnolly2012-03-241-17/+13
|
* - Fix an exception when attempting to preserve the selection in a table ↵rowanbeentje2012-03-245-14/+25
| | | | | | | | with a primary key with multiple columns of which the first of which is a blob or binary type - Clean up NSNull comparisons and add comments - Clear the selection when filtering a table, allowing reselection to look a little more consistent
* - Alter the import field mapper controller to support multiple primary keys ↵rowanbeentje2012-03-222-6/+10
| | | | in its current syntax builder by using the improved getter.
* - Rework SPTableData PRIMARY KEY and UNIQUE KEY parsing to use SPSQLParser ↵rowanbeentje2012-03-229-123/+199
| | | | | | | | | | instead of regexes - Support multiple primary keys in the SPTableData parse - If possible, use primary keys to preserve table content selection instead of row indexes - Improve SPTableData primary keys method to use cached value instead of using another query - Preserve selection when filtering tables if appropriate
* - Fix a possible race condition exception when switching between tables ↵rowanbeentje2012-03-212-4/+8
| | | | when th structure view was active, the collation column was visible, and fields had custom collations
* Update error message.stuconnolly2012-03-201-1/+1
|
* - Fix error message being displayed when changing a table's storage engine ↵stuconnolly2012-03-201-4/+5
| | | | even though no error actually occurred. Fixes issue #1304.
* - When exporting a query result or filtered table view make sure we're ↵stuconnolly2012-03-2013-993/+1298
| | | | | | | | including the entire content of BLOBs, not just what we display. Fixes issue #1124. - Move SPTableContent's table view datasource and delegate methods to separate categories in order to reduce it's size.
* - When cancelling a sort on the table content view, don't display an error ↵rowanbeentje2012-03-201-1/+1
| | | | message
* - When refreshing the table content view, preserve column widths for ↵rowanbeentje2012-03-201-0/+12
| | | | columns which keep the same name, fixing flickering when refreshing (addresses issue #1279)
* - Fix exceptions when using Show Optimized Field Type in the Structure pane ↵rowanbeentje2012-03-201-0/+1
| | | | contextual menu
* - Fix crashes caused by using SPBundleHTMLOutputController windows, closing ↵rowanbeentje2012-03-203-8/+12
| | | | them, and then triggering bundle reloads (eg via right-clicking)
* - Fix incorrect Copy as SQL INSERT processing leaving out commas; this ↵rowanbeentje2012-03-191-16/+13
| | | | | | | addresses Issue #1300 - Improve Copy as SQL INSERT logic to correctly calculate maximum line lengths
* - Rewrite SPFontPreviewTextField to replace previous Colloquy-derived ↵rowanbeentje2012-03-184-35/+26
| | | | GPL-licensed previous implementation, and amend calls to match
* - Add a base64Encoding method for convenience when the result should be all ↵rowanbeentje2012-03-183-2/+12
| | | | on one line, and use it in SPTableContent
* - Remove the Colloquy-derived, GPL -[NSData base64EncodingWithLineLength:] ↵rowanbeentje2012-03-186-74/+145
| | | | method, and replace with an equivalent method derived from QSUtilities/PHP, which is MIT/BSD-alike licensed. New method is also at least ten times faster, up to much faster for long strings.
* - Fix crashes caused by the database structure retrieval continuing briefly ↵rowanbeentje2012-03-183-4/+15
| | | | after the parent document was closed
* Fix build errors.stuconnolly2012-03-171-4/+4
|
* Missing from previous commit.stuconnolly2012-03-171-3/+4
|
* Add constants for MySQL 'system' databases.stuconnolly2012-03-174-7/+32
|
* - Remove the GPL-licensed Colloquy-sourced NSNotificationAdditions category ↵rowanbeentje2012-03-1711-207/+88
| | | | from the project, and replace with an MIT-licensed TCMPortMapper sources NSNotificationCenterThreadingAdditions category. This should fix method clashes in the SP_REFACTOR project, so remove behavioural/namespacing switches.
* Merge in the SPMySQL Framework. This new framework should provide much of ↵rowanbeentje2012-03-17193-30971/+27623
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the functionality required from MCPKit and is based around its interface for relatively easy integration. Externally visible changes as a result of this merge: - Speed improvements, particularly when loading large data sets - Stability improvements, particularly related to connection state after the connection is dropped (eg Issue #1256) - Improved support for new MySQL data types, which should address Issue #1052. - Database structure retrieval and query cancellation now use a single persistent helper connection instead of lots of connections on-demand. This should help Issue #1097. - More internal commands now use queries instead of MySQL functions; for example USE queries are now used to trigger database selection, improving transcripts. This addresses Issue #1247. - Improved internal encoding work; while this needs support within the UI, it lays the foundation for issues like Issue #1280. Code improvements: - Much improved class layouts including extensive category usage - Improved documentation across framework methods - Support for fast enumeration across result objects - Rewrite fixes use of a number of deprecate functions - Much less code duplication across result set types - Improved encapsultation within the framework, limiting the number of methods exposed, and also not exposing all the MySQL headers 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)
| * - Fix a bug in the SPMySQL integration branch causing the table triggers ↵rowanbeentje2012-03-162-4/+4
| | | | | | | | list never to be initialised - 10.7 magically fixed this and worked, but 10.6 didn't show any triggers. Thanks to schlabberdog for spotting and diagnosing this issue!
| * 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
| |\
| * | 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
| | |
* | | * Moves the background color code for SPTextView into the class. Fixes #1073dmoagx2012-03-164-37/+6
| | |
* | | * Fixes spacing in Duplicate table sheet for some localizationsdmoagx2012-03-131-39/+53
| | |
* | | Update strings.stuconnolly2012-03-111-0/+0
| | |
* | | Remove unnecessary text view attributes.stuconnolly2012-03-111-10/+33
| | |
* | | Display a dialog whenever the user attempts to change the storage engine of ↵stuconnolly2012-03-111-46/+118
| | | | | | | | | | | | a table to warn of the potential data loss that may occur. Fixes issue #1258.
* | | Fix incorrect export menu item tags. Fixes issue #1270.stuconnolly2012-03-061-33715/+33614
| |/ |/|
* | - 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