aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework
Commit message (Collapse)AuthorAgeFilesLines
...
* Add support for SQLSTATEMax2014-03-058-0/+48
| | | | This commit adds the backend code to get the mysql SQLSTATE error code (to be used when displaying errors).
* Specify clang, not GCC.Stuart Connolly2014-01-261-1/+4
|
* Update URL in source file header to point to GitHub.Stuart Connolly2014-01-2654-54/+54
|
* Remove SVN property placeholder.Stuart Connolly2014-01-2651-102/+0
|
* Silence unused function warning.Stuart Connolly2014-01-141-0/+2
|
* Tidy up readme.Stuart Connolly2014-01-141-6/+31
|
* Fix header visibility.Stuart Connolly2014-01-141-2/+2
|
* Add constants for all MySQL data types.Stuart Connolly2014-01-144-0/+159
|
* Fix architectures.Stuart Connolly2013-12-021-0/+3
|
* Fix warning.Stuart Connolly2013-11-301-3/+10
|
* Set deployment target to 10.6 so we don't get unnecessary deprecation warnings.Stuart Connolly2013-11-271-0/+3
|
* Apply recommended project settings.Stuart Connolly2013-11-261-4/+10
|
* enable skip_install (debugging continuous integration server)Abhi Beckert2013-11-101-0/+3
|
* Update SDKROOT = macosx; for main project, SPMySQLFramework and QueryKit ↵Matt Langtree2013-11-091-3/+3
| | | | sub-projects
* - Alter the MySQL library build script to explicitly use the system zlib. ↵rowanbeentje2013-09-082-1/+1
| | | | | | | | This is documented as being the default, but setting this has resulted in a smaller binary and lower CPU usage with compressed MySQL connection transport. - Rebuild the libraries with the new setting - Update localisable strings
* - Update to the MySQL 5.5.33 client librariesrowanbeentje2013-09-086-10/+13
| | | | | - Tweak the build script to clarify it is now only building a two-way binary and to explicitly not build the server using the new syntax
* - Add some overrides to SPMySQLEmptyResult to fix errors when running ↵rowanbeentje2013-08-142-1/+22
| | | | queries which don't produce a result set following the data store changes
* - Add missing function declaration for 10.7 buildsrowanbeentje2013-08-141-0/+1
|
* Rework table content and custom query data loading and storage for speed ↵rowanbeentje2013-08-1319-175/+1572
| | | | | | | | | increases and lower memory usage: - Add a new SPMySQLStreamingResultStore class to SPMySQL.framework. This class acts as both a result set and a data store for the accompanying data, storing the row information in a custom format in a custom malloc zone. - Amend SPDataStorage to wrap the new class, so original result information is stored in the one location in the custom format. Any edited information is handled by SPDataStorage for clean separation - Rework table content and custom query data data stores to use the new class. This significantly speeds up data loading, resulting in faster data loads if they weren't previously network constrained, or lower CPU usage otherwise. The memory usage is also lowered, with the memory overhead for many small cells being enormously reduced.
* - Address further Release/Distribution build warningsrowanbeentje2013-05-221-1/+1
|
* - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵rowanbeentje2013-05-2110-10/+25
| | | | enable some more
* - Fix bit data conversion to strings to avoid memory trampling, addressing ↵rowanbeentje2013-05-081-9/+19
| | | | Issue #1708
* - Add a stub override to fix exceptions when code receiving a ↵rowanbeentje2013-03-131-0/+4
| | | | SPMySQLEmptyResult expects a SPMySQLStreamingResult/SPMySQLFastStreamingResult (Exception #3988)
* - Add a new SPMySQLEmptyResult class to SPMySQLFrameowkr, returning it ↵rowanbeentje2013-03-116-39/+215
| | | | instead of nil if a query produces no result set. This allows per-result-set properties to be preserved, fixing issues where information like query execution time was lost - addressing Issue #1577
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-1/+1
|
* Build config update:stuconnolly2013-01-242-23/+11
| | | | | | | | | - Update base SDK to 10.6 - Update minimum OS version to 10.6 - Update all XIB to have a 10.6 target - Drop support for PPC - Apply all of the above to frameworks SPMySQLFramework and QueryKit
* - Fix an incorrect selector method after recent thread naming workrowanbeentje2012-10-201-1/+1
|
* - Clean up some connection cancellation/close-during-connect edges as a ↵rowanbeentje2012-10-144-5/+13
| | | | | | | result of r3894, attempting to improve some exceptions during aborted connections - Name threads created in SPMySQL.framework
* - In the SPMySQL.framework, separate framework-triggered connections and ↵rowanbeentje2012-10-144-109/+146
| | | | | | | | | disconnections from external actions, and use that separation to perform safer disconnects - When closing a database document, add a new notification, and use that to resolve retain cycles affecting connection processes - Improve connection controller disconnection when the document is closed, fixing crashes, by building on those two features (addresses Issue #1396) - Use some of the new functionality to improve SSH and MySQL connection cancellation, making both cancelable in the interface and making both respond much more quickly
* - Improve connection error detecting in SPMySQLFrameworkrowanbeentje2012-10-061-1/+3
|
* * Forgot to include a file in last commitdmoagx2012-10-031-1/+1
|
* Update MySQL and PosgreSQL library build scripts to find the SDK path.stuconnolly2012-09-241-7/+25
|
* - Alter the build settings for compatibility with Xcode 3.2.x up to Xcode ↵rowanbeentje2012-09-231-6/+11
| | | | | | | | 4.5, keeping a base SDK of 10.5 for compatibility for otherwise adding and adjusting settings appropriately - Add instructions to the README for Xcode 4 SDK installation.
* Revert of r3849 (undoing the build break)bamse162012-09-191-11/+9
|
* Updated project to run/build on Mac OSX 10.8/Xcode 4.4bamse162012-09-131-9/+11
| | | | | | Updated QueryKit project to be able to build and run tests (changed Symbols Hidden By Default to NO in Default config)
* - 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
* Update script licenses.stuconnolly2012-08-011-11/+18
|
* 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
* 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)
* - 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.
* - 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
* - 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
* - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-272-9/+4
| | | | | | | fix nightly builds - Fix warnings