Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Try to fix what could be the cause of #2353 ("Attempted to connect a ↵ | Max | 2016-01-15 | 4 | -1/+24 |
| | | | | connection that is not disconnected") | ||||
* | Add more debug info for "Attempted to connect a connection that is not ↵ | Max | 2016-01-13 | 2 | -3/+26 |
| | | | | disconnected" crash (#2353) | ||||
* | Another attempt at the 0x338 crash (#2258) | Max | 2016-01-13 | 1 | -1/+1 |
| | |||||
* | Fix wrong charset mapping for "latin1" | Max | 2015-11-19 | 1 | -3/+3 |
| | |||||
* | Add basic support for JSON type (part of #2199) | Max | 2015-11-15 | 2 | -1/+5 |
| | |||||
* | In order to enable even more people to shoot themselves in the foot, this ↵ | Max | 2015-11-12 | 2 | -0/+24 |
| | | | | | | commit adds support for remote server shutdown 💣 | ||||
* | * Basic math is hard sometimes (fixes an issue introduced by me in ↵ | Max | 2015-10-31 | 1 | -1/+1 |
| | | | | | | | b2d798ba9282d3acf1a2d65de30849e529d4d255) * Fix an exception that could occur when trying to view a damaged table * Fix a theoretical use-after-free issue by a wrongly structured retain/release in a setter | ||||
* | * Add a wrapper method for 3 repeatetly used calls | Max | 2015-10-30 | 5 | -12/+17 |
| | |||||
* | * Lock connection during disconnect to prevent some race conditions | Max | 2015-10-30 | 4 | -59/+41 |
| | | | | | * Always use the server version name provided by mysql_get_server_info() as that should me more reliable * Use mysql_get_server_version() for version comparisons. Less code, official API and closer to what mysql does | ||||
* | * Remove some ivars that are only used as local vars | Max | 2015-10-26 | 4 | -11/+9 |
| | | | | * Also I take back what I said about 4d97cbd4df1ebb451d89d6c4e12dd7c622d00b84 and say it will happen now *duckundweg* | ||||
* | This change will either reduce the amount of crashes or increase the amount ↵ | Max | 2015-10-17 | 1 | -0/+3 |
| | | | | of beachballing. In the latter case please file an issue. | ||||
* | Minor change | Max | 2015-10-17 | 3 | -17/+21 |
| | |||||
* | Move a mysql_affected_rows() to see how the 0x338 crash behaves (#2258) | Max | 2015-10-08 | 1 | -1/+7 |
| | |||||
* | Add a few more unit tests to SPMySQL | Max | 2015-10-04 | 1 | -1/+1 |
| | |||||
* | Remove a duplicate @interface and prepare some functions for unit testing | Max | 2015-10-04 | 4 | -25/+19 |
| | |||||
* | Add logging for a possible issue in Connection keepalive | Max | 2015-10-04 | 1 | -0/+4 |
| | |||||
* | Add some debug code for another crash that has been happening lately | Max | 2015-10-02 | 1 | -1/+1 |
| | |||||
* | Fix conversion of BIT fields (fixes #2254) | Max | 2015-10-02 | 1 | -14/+13 |
| | |||||
* | Remove a bit duplicate code | Max | 2015-09-30 | 1 | -5/+4 |
| | |||||
* | Clarify thread names | Max | 2015-09-29 | 1 | -1/+3 |
| | |||||
* | Added fallback code for server version identification. | Max | 2015-08-07 | 4 | -17/+29 |
| | | | | | Good news: Sequel Pro can now connect to sphinxql server. Bad news: It will treat it like a MySQL 2 server (or whatever version of Sphinx is running) | ||||
* | * Expand the debugging code from prev. commit | Max | 2015-08-06 | 1 | -0/+7 |
| | | | | * Also Sequel Pro will now crash on the "Attempted to connect a connection that is not disconnected" issue. That is sadly necessary to get a stack trace of ALL threads as for exceptions Feedback Reporter only gives us the current thread. | ||||
* | Add code to disable mysql protocol compression (no UI) to connect to Amazon ↵ | Max | 2015-07-30 | 4 | -5/+39 |
| | | | | Aurora (see #2122) | ||||
* | Fix an issue where Sequel Pro added a NUL byte to the end of every query ↵ | Max | 2015-07-29 | 2 | -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. | ||||
* | that also belongs to the previous commit... | Max | 2015-07-14 | 1 | -0/+2 |
| | |||||
* | Fix an exception caused by empty column names in query results (fixes #2173) | Max | 2015-07-14 | 1 | -5/+10 |
| | | | | Issue likely introduced in 2b52f76e. | ||||
* | Fix an issue on 10.7+ introduced in ce33534 | Max | 2015-07-12 | 1 | -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. | ||||
* | Replace some malloc(a*b) with the safer calloc(a,b) variant | Max | 2015-06-30 | 1 | -1/+2 |
| | |||||
* | There goes old Xcode again... 😩 | Max | 2015-06-25 | 1 | -1/+1 |
| | |||||
* | Fix an issue (affecting mostly Russian & Asian users) where Sequel Pro would ↵ | Max | 2015-06-19 | 3 | -5/+41 |
| | | | | error if the mysql server truncated a column name (fixes #2150) | ||||
* | SPMySQL: Count having just connected as 'connection used' | Max | 2015-06-07 | 1 | -1/+1 |
| | |||||
* | Allow to set SSL cipher list in SPMySQL | Max | 2015-03-21 | 3 | -1/+19 |
| | |||||
* | Allow selection of SSH client binary in prefs | Max | 2015-03-17 | 1 | -5/+6 |
| | | | | Hey, I was against this, but if you want it... - just don't blame me for what might happen :shipit: | ||||
* | Minimal refactoring | Max | 2015-03-09 | 1 | -4/+4 |
| | | | | Replaced some (range.location + range.length) with NSMaxRange(range) | ||||
* | move the string method to SPMySQLStringAdditions | teng.liu | 2015-02-16 | 3 | -13/+17 |
| | |||||
* | fallback solution for NSString decode error | teng.liu | 2015-02-08 | 1 | -4/+15 |
| | |||||
* | Replace some NSDictionaries with literals | Max | 2014-12-13 | 1 | -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). | ||||
* | Reformatting code for modern ObjC | Max | 2014-12-13 | 1 | -1/+1 |
| | | | | | Replaced all [NSNumber numberWithBool:YES/NO] with the @YES/@NO literals. Also replaced some TRUE/FALSE with their YES/NO counterparts. | ||||
* | Fix string formatting warnings in NSRunAlertPanel by using the additional ↵ | rowanbeentje | 2014-05-04 | 1 | -1/+1 |
| | | | | arguments | ||||
* | Add support for SQLSTATE | Max | 2014-03-05 | 8 | -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 Connolly | 2014-01-26 | 1 | -1/+4 |
| | |||||
* | Update URL in source file header to point to GitHub. | Stuart Connolly | 2014-01-26 | 50 | -50/+50 |
| | |||||
* | Remove SVN property placeholder. | Stuart Connolly | 2014-01-26 | 50 | -100/+0 |
| | |||||
* | Silence unused function warning. | Stuart Connolly | 2014-01-14 | 1 | -0/+2 |
| | |||||
* | Add constants for all MySQL data types. | Stuart Connolly | 2014-01-14 | 1 | -0/+1 |
| | |||||
* | Fix warning. | Stuart Connolly | 2013-11-30 | 1 | -3/+10 |
| | |||||
* | - Add missing function declaration for 10.7 builds | rowanbeentje | 2013-08-14 | 1 | -0/+1 |
| | |||||
* | Rework table content and custom query data loading and storage for speed ↵ | rowanbeentje | 2013-08-13 | 17 | -173/+1550 |
| | | | | | | | | | 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 warnings | rowanbeentje | 2013-05-22 | 1 | -1/+1 |
| | |||||
* | - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵ | rowanbeentje | 2013-05-21 | 9 | -9/+9 |
| | | | | enable some more |