aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks
Commit message (Collapse)AuthorAgeFilesLines
...
* Initial commit of PostgresKit, our new Postgres framework as a start towards ↵stuconnolly2012-09-0346-0/+5344
| | | | | | | | | | | | | | | | | | | adding PostgreSQL support to Sequel Pro. Note, that the framerwork is by no means feature complete and in it's current state has quite a few limitations: - No support for Postgres' asynchronous query API - Only supports the very basic data types (char/text and numerics) - No support (outide of libpq) for re-establishing dropped connections Current feature support includes: - Basic connection handling - Query execution - Prepared statement execution - Encoding support similar to SPMySQL's
* - Fix utf8mb4 handling within SPMySQLFramework; this addresses Issue #1312rowanbeentje2012-08-311-1/+1
|
* Improve connection handling and recovery in general, and specifically to ↵rowanbeentje2012-08-183-15/+29
| | | | | | | | | | | address Issue #877: - On servers with very short timeouts set the wait_timeout for the session as well as the interactive_timeout to prevent the connection from dropping frequently - Improve recovery from connection errors, correctly restoring the connection if appropriate and possible - Allow reconnections to occur recursively by altering the internal tracking mechanism - Fix some edge cases where the connection would remain locked incorrectly - Improve error messaging for the "MySQL Server has gone away" network case
* - Remove BWToolKit from the project, using ibtool to strip out plugin ↵rowanbeentje2012-08-03305-2470/+0
| | | | dependencies now that all BW custom elements have been removed; remove last references and build steps.
* Update script licenses.stuconnolly2012-08-011-11/+18
|
* QueryKit: Update quoting method.stuconnolly2012-07-212-2/+2
|
* QueryKit: Add DELETE query tests.stuconnolly2012-07-215-2/+173
|
* QueryKit: Update not equal operator.stuconnolly2012-07-211-1/+1
|
* QueryKit: Add test to check the explicit use of a database name in an update ↵stuconnolly2012-07-211-0/+9
| | | | query.
* QueryKit: Add test to check the explicit use of a database name in the query.stuconnolly2012-07-211-1/+10
|
* Add missing [super dealloc] call.stuconnolly2012-07-181-0/+2
|
* Rework QueryKit's tests to accept parameters allowing use to run them with ↵stuconnolly2012-07-1816-222/+520
| | | | different data sets.
* Remove header import that no longer exists.stuconnolly2012-07-161-1/+0
|
* Remove test header.stuconnolly2012-07-161-39/+0
|
* Get rid of test case headers.stuconnolly2012-07-1510-170/+50
|
* Don't explicitly define property accessor names.stuconnolly2012-07-1511-56/+64
|
* Remove test output.stuconnolly2012-07-151-6/+2
|
* Add a new order by class.stuconnolly2012-07-1513-105/+362
|
* Comments (missing from previous commit).stuconnolly2012-07-141-2/+2
|
* Comments.stuconnolly2012-07-141-8/+8
|
* Bunch of improvements including uderlying database system support.stuconnolly2012-07-1420-53/+287
|
* Add a new enum to allow us to specify the underlying database system we're ↵stuconnolly2012-07-103-0/+46
| | | | generating queries for.
* Additional QueryKit tests.stuconnolly2012-07-1010-16/+146
|
* 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
|