aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks
Commit message (Collapse)AuthorAgeFilesLines
* * Basic math is hard sometimes (fixes an issue introduced by me in ↵Max2015-10-311-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 callsMax2015-10-305-12/+17
|
* * Lock connection during disconnect to prevent some race conditionsMax2015-10-304-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 varsMax2015-10-264-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 ↵Max2015-10-171-0/+3
| | | | of beachballing. In the latter case please file an issue.
* Minor changeMax2015-10-173-17/+21
|
* Move a mysql_affected_rows() to see how the 0x338 crash behaves (#2258)Max2015-10-081-1/+7
|
* Add a few more unit tests to SPMySQLMax2015-10-043-5/+98
|
* Configure SPMySQL project to actually be able to run Unit TestsMax2015-10-043-6/+320
| | | | | | | | * Add a new configuration "Unit Tests" * Add a new Target for the Unit Test code * Assign Unit Test Target to the Test step of SPMySQL scheme * Also remove a compiler setting for PowerMac G5
* Remove a duplicate @interface and prepare some functions for unit testingMax2015-10-044-25/+19
|
* Add logging for a possible issue in Connection keepaliveMax2015-10-041-0/+4
|
* Add some debug code for another crash that has been happening latelyMax2015-10-021-1/+1
|
* Fix conversion of BIT fields (fixes #2254)Max2015-10-022-14/+84
|
* Remove a bit duplicate codeMax2015-09-301-5/+4
|
* Clarify thread namesMax2015-09-291-1/+3
|
* Added fallback code for server version identification.Max2015-08-074-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. commitMax2015-08-061-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 ↵Max2015-07-304-5/+39
| | | | Aurora (see #2122)
* 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.
* that also belongs to the previous commit...Max2015-07-141-0/+2
|
* Fix an exception caused by empty column names in query results (fixes #2173)Max2015-07-141-5/+10
| | | | Issue likely introduced in 2b52f76e.
* 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.
* Replace some malloc(a*b) with the safer calloc(a,b) variantMax2015-06-301-1/+2
|
* There goes old Xcode again... 😩Max2015-06-251-1/+1
|
* Fix an issue (affecting mostly Russian & Asian users) where Sequel Pro would ↵Max2015-06-194-5/+46
| | | | error if the mysql server truncated a column name (fixes #2150)
* SPMySQL: Count having just connected as 'connection used'Max2015-06-071-1/+1
|
* 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:
* Updated OCMock framework and added a unit testMax2015-03-1614-77/+390
|
* 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
|
* Update Growl.framework to 2.0.1Max2014-12-317-905/+188
| | | | | As per https://code.google.com/p/growl/wiki/SystemRequirements this should not break compatibility with Sequel Pro and the API stays the same. This change gives us Notification Center support for free, though.
* Replace some NSDictionaries with literalsMax2014-12-133-18/+18
| | | | | | * [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-132-2/+2
| | | | | * (Also changed some outdated URLs) * Replaced [NSApplication sharedApplication] with NSApp
* Reformatting code for modern ObjCMax2014-12-132-2/+2
| | | | | Replaced all [NSNumber numberWithBool:YES/NO] with the @YES/@NO literals. Also replaced some TRUE/FALSE with their YES/NO counterparts.
* Remove a private API in PSMTabBarCellXu Jie2014-12-019-49/+50
| | | | | | Directly assigning to _controlView of a NSActionCell is private and not allowed by Mac App Store. An _customControlView is used to replace _controlView in PSMTabBarCell to avoid direct assigning to _controlView. This should be the last private API to remove before going to Mac App Store.
* Fix a drawing issue with the tab bar (HiDPI only)Max2014-11-301-5/+5
|
* Fix Tab bar colors in 10.10Max2014-11-212-9/+62
|
* 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-042-0/+6
| | | | 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-033-12/+3
|
* 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).
* Fix run-time warnings due to use of deprecated [NSImage ↵rowanbeentje2014-02-109-76/+35
| | | | compositeToPoint:...] operations
* Fix PostgresKit tests not running.Stuart Connolly2014-01-272-2/+3
|
* Remove more SVN properties.Stuart Connolly2014-01-261-16/+6
|
* Tweak project settings.Stuart Connolly2014-01-261-3/+0
|
* Suppress warnings.Stuart Connolly2014-01-262-0/+7
|