aboutsummaryrefslogtreecommitdiffstats
path: root/Frameworks
Commit message (Collapse)AuthorAgeFilesLines
* Move a struct from heap to stack, since the caller will outlive its callees ↵Max2017-05-141-8/+9
| | | | anyway
* Expand a lock in the connection keepalive code, because it still allowed a ↵Max2017-05-111-2/+19
| | | | zombie call
* Fix some issues with charset handling during connectMax2017-05-024-24/+81
| | | | | | | * hostname and file paths are places where libmysqlclient ultimately only passes the string to an OS library so we should use whatever charset the OS expects, not mysql * Even though _makeRawMySQLConnectionWithEncoding:isMasterConnection: takes an explicit charset argument most of the conversion logic simply used whatever charset the existing connection currently has, which is not neccesarily the one the new connection should use * Add some remarks about the charset handling with passwords and mysql_error() * Charsets do not apply to sqlstate.
* Silly README file, you can’t be a source code fileMax2017-04-011-2/+0
|
* Remove accidentally committed line.Stuart Connolly2017-03-261-2/+0
|
* Fix file links.Stuart Connolly2017-03-261-2/+8
|
* Update tab view drawing to match the style used by 10.12's automatic tabs ↵Stuart Connolly2017-03-2620-3872/+182
| | | | | | | | | and remove unused tab styles. Issues still to address: - Add tab button does not darken when moused over - The tab overflow button is being clipped and the image is not high res
* Fix a race condition in debug code that could lead to accessing a freed objectMax2017-03-101-3/+7
|
* * Turn `-[SPMySQLConnection checkConnectionIfNecessary]` into a public ↵Max2017-03-095-34/+36
| | | | | | method, since it is actually the preferable way to `-[SPMySQLConnection checkConnection]` (which forces network IO in a new thread each time) * Change `-[SPDatabaseStructure queryDbStructureWithUserInfo:]` doing a forced connection check inside a tight loop (#2306)
* Add a bit of debug info in Connection pingingMax2017-03-092-3/+8
|
* Workaround for an exception when connecting to MySQL 8.0 (#2699)Max2017-02-231-0/+1
|
* Change the way max_allowed_packet detection worksMax Lohrmann2017-01-252-24/+43
| | | | Sequel Pro will now simply go with whatever query returns a valid result instead of trying to guess the correct query from the server version number
* Fix links in readme.Stuart Connolly2017-01-141-5/+5
|
* Add license file and switch to readme to Markdown.Stuart Connolly2017-01-143-69/+69
|
* Remove extra blank lines.Stuart Connolly2017-01-141-5/+3
|
* Merge branch 'master' of github.com:sequelpro/sequelproStuart Connolly2017-01-131-10/+11
|\
| * Make Max Packet Size detection more robust (issue with recent sphinx ↵Max2017-01-101-10/+11
| | | | | | | | versions) #2653
* | Switch PostgresKit REAMDE to Markdown.Stuart Connolly2017-01-131-5/+6
|/
* Fix copyright year.Stuart Connolly2017-01-041-1/+1
|
* Silence remaining PostgresKit recommended build settings.Stuart Connolly2016-12-302-6/+6
|
* Update PostgresKit to recommended build settings.Stuart Connolly2016-12-301-3/+6
|
* Swap two method calls to prevent a crash with the 10.12 SDK (#2609)Max2016-11-041-2/+5
| | | | | | | | | With this change we no longer KVObserve an object we aren’t interested in anymore and the -tabView:didCloseTabViewItem: method actually matches its name now (before it was more of a tabView:willCloseTabViewItem: method). Background: Normally the tab bar cell observes its delegate’s (SPDatabaseDocument) isProcessing property. Changes to this will trigger an async redraw of the tab view. The redrawing itself may involve a timer and a call to the tab view delegate (SPWindowController). Now, when the window is being closed this would cause the connection to close, which would affect the isProcessing property. However this time, when the timer is being fired the window controller would already be dealloc’d (since the tab bar delegate is unretained) causing a use-after-free crash. Previously -[PSMTabBarControl viewWillMoveToWindow:] stepped in at the right time and killed the timer before it could fire but on 10.12 the calls have shifted so the timer actually gets to fire and crash. This change solves the issue by not even letting the tab bar come to the point where it creates the problematic timer.
* Add possible socket locations for MariaDB via MacPorts.Sebastian Volland2016-08-301-3/+5
| | | | Also rename Darwinports to MacPorts in comments.
* Fix one erroneous method callMax2016-07-211-1/+1
| | | | Not sure if that may has been causing issues for some users...
* #2472 add tab button no longer moves when you hoverAbhi Beckert2016-06-201-3/+3
|
* fix various compile warningsAbhi Beckert2016-04-034-11/+14
|
* #346 Work on new tab bar designAbhi Beckert2016-03-1818-297/+136
|
* Restore bundled zlib (#1972)Abhi Beckert2016-03-052-0/+1605
|
* Remove bundled zlib #1927Abhi Beckert2016-03-042-1605/+0
|
* Failed postgres tests if cannot connect to host/dbMarius Ursache2016-03-011-0/+14
| | | | Otherwise the tests will just wait indefinitely
* Converted PostgresKit tests to XCTestMarius Ursache2016-03-0110-37/+53
|
* Added shared scheme for SPMySQL FrameworkMarius Ursache2016-02-291-0/+99
|
* Updated SPMySQL Framework SettingsMarius Ursache2016-02-293-3/+12
|
* Restored archs flag to build settingsMarius Ursache2016-02-291-0/+3
|
* Converted QueryKit tests from SenTestingKit to XCTestMarius Ursache2016-02-2914-81/+69
|
* Updated project specs, per Xcode 7 suggestionsMarius Ursache2016-02-294-8/+21
|
* Revert Xcode xcscheme shufflingMarius Ursache2016-02-291-4/+4
|
* Converted tests to XCTestMarius Ursache2016-02-261-4/+16
| | | | Converted the unit tests from SenTestingKit to XCTest as SenTestingKit was deprecated a couple of SDK versions ago.
* * Change a while() to do while; to help code analysisMax2016-02-182-4/+6
| | | | * Add log message (possibly related to #2258)
* Add another fallback for charset detection (which might improve ↵Max2016-02-061-1/+18
| | | | compatibility with Sphinx)
* Fix a rare crash due to calling a NULL method pointer (#2390)Max2016-02-011-4/+4
|
* Try to fix what could be the cause of #2353 ("Attempted to connect a ↵Max2016-01-154-1/+24
| | | | connection that is not disconnected")
* Add more debug info for "Attempted to connect a connection that is not ↵Max2016-01-132-3/+26
| | | | disconnected" crash (#2353)
* Another attempt at the 0x338 crash (#2258)Max2016-01-131-1/+1
|
* Fix wrong charset mapping for "latin1"Max2015-11-191-3/+3
|
* Add basic support for JSON type (part of #2199)Max2015-11-155-2/+12
|
* In order to enable even more people to shoot themselves in the foot, this ↵Max2015-11-122-0/+24
| | | | | | commit adds support for remote server shutdown 💣
* * 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