aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks/SPMySQLFramework
Commit message (Collapse)AuthorAgeFilesLines
* Fix for #2353 ("Attempted to connect a connection that is not disconnected")release-1.1.1-rc1Max2016-02-123-1/+21
| | | | Backport of 3aadea1be33212ca50e7faffcd0620ea976f9d59
* Add another fallback for charset detection (which might improve ↵Max2016-02-071-1/+18
| | | | compatibility with Sphinx)
* Use more reliable way of detecting server versionMax2015-10-302-4/+15
| | | | backport from c7b5e880003153e599a452151ee1f3a3e40aff4c and b2d798ba9282d3acf1a2d65de30849e529d4d255
* Add logging for a possible issue in Connection keepaliveMax2015-10-041-0/+4
|
* Fix conversion of BIT fields (fixes #2254)Max2015-10-022-14/+84
|
* Fix an issue where Sequel Pro added a NUL byte to the end of every query ↵Max2015-07-292-9/+12
| | | | | | (fixes #2184) We tried to convert the query string into a c string that could contain NUL bytes - which by definition a c string cannot (making it a byte buffer with a terminating NUL byte) and then tried to pass that to mysql_real_query() which expects a byte buffer anyway.
* Fix an issue on 10.7+ introduced in ce33534Max2015-07-121-1/+1
| | | | This removes a IMHO useless makeFirstResponder: call. In all cases where [NSApp mainWindow] == usedSheet (< 10.7) the call right above it would already handle it. On the other hand if [NSApp mainWindow] != usedSheet (10.7+) the call would fail anyways because in that case editTextView is not even a subview of the main window.
* Allow to set SSL cipher list in SPMySQLMax2015-03-213-1/+19
|
* Allow selection of SSH client binary in prefsMax2015-03-171-5/+6
| | | | Hey, I was against this, but if you want it... - just don't blame me for what might happen :shipit:
* Minimal refactoringMax2015-03-091-4/+4
| | | | Replaced some (range.location + range.length) with NSMaxRange(range)
* !!! Update mysql client libs to 5.5.42Max2015-03-042-5/+6
| | | | | This enables SHA256 client certificates (issue #2071) and disables SSL2 and SSL3 connections. Please test carefully!
* move the string method to SPMySQLStringAdditionsteng.liu2015-02-163-13/+17
|
* fallback solution for NSString decode errorteng.liu2015-02-081-4/+15
|
* Replace some NSDictionaries with literalsMax2014-12-131-14/+14
| | | | | | * [NSDictionary dictionary] → @{} * [NSDictionary dictionaryWithObject:forKey:] can safely be replaced. object==nil would have already thrown a NPE in the past. * Also replaced some (hopefully safe) NSArray initializers (ie. their objects should always exist).
* Add cast for [NSApp delegate]Max2014-12-131-1/+1
| | | | | * (Also changed some outdated URLs) * Replaced [NSApplication sharedApplication] with NSApp
* Reformatting code for modern ObjCMax2014-12-131-1/+1
| | | | | Replaced all [NSNumber numberWithBool:YES/NO] with the @YES/@NO literals. Also replaced some TRUE/FALSE with their YES/NO counterparts.
* Tidy up logical file structure.Stuart Connolly2014-05-261-25/+9
|
* Re-add explicit 32/64 bit builds following Xcode settings upgrade to ↵rowanbeentje2014-05-041-0/+3
| | | | recommend settngs removing this
* Fix string formatting warnings in NSRunAlertPanel by using the additional ↵rowanbeentje2014-05-041-1/+1
| | | | arguments
* Update to latest Xcode-recommended build settingsrowanbeentje2014-05-031-7/+1
|
* 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
|