aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.h
Commit message (Collapse)AuthorAgeFilesLines
* Internal Refactoring: Move MySQL Help viewer into own xib with own controllerMax2018-05-271-0/+4
|
* Fix a little UI issue with a clipped back/forward buttonMax2018-05-041-2/+2
|
* Reformat SPDatabaseDocument sourceMax2018-04-211-13/+9
| | | | Also fixed some threading issues reported by Xcode
* Reapply changes from rolled back commit that are common to master and ↵Max2018-02-281-4/+0
| | | | | | callback-auth branches This includes 3a944d7867c750c29e02e2619d72694bdbfb0b2a, 770c18901f82696d1233e0139e9bb3c4fbbcb90b, ca864a1f887feaf7ac6d35eeb55b265f3e630a09
* Manually roll back all changes for #2979Max2018-02-271-0/+4
| | | | Those will be moved to a different branch for the time being since other stuff needs to be changed first
* Remove the keychain id stuff from SPDatabaseDocument. It was only proxying ↵Max2018-02-231-3/+0
| | | | SPConnectionController anyway
* Replace getter/setter glue with propertyMax2018-02-231-3/+2
|
* Merge SPDatabaseDocument (part of #2789)Max2018-01-201-1/+42
|
* * Moved `-[SPHistoryController currentlySelectedView]` to SPDatabaseDocument ↵Max2017-12-021-0/+1
| | | | | | | (was completely out of place there) * Removed some redundant code in the process * Remove a few cross-thread UI calls Xcode 9.2 complains about (but there are just so many...)
* #2863 fix LHS table views when dragging a tab off a windowAbhi Beckert2017-08-251-0/+2
|
* - #1235: Prevent renaming a database which contains any non-table objects as ↵Stuart Connolly2017-03-231-0/+2
| | | | | | | | it's currently not supported. - #1235: Inform the user when duplicating a database than any non-table objects won't be copied. - Add missing high resolution images to project. - Fix a potential memory leak inside SPCreateDatabaseInfo
* #2434 now use NSTitlebarAccessoryViewController if availableAbhi Beckert2016-06-051-1/+1
|
* fix various compile warningsAbhi Beckert2016-04-031-1/+1
|
* #346 Work on new tab bar designAbhi Beckert2016-03-181-1/+2
|
* In order to enable even more people to shoot themselves in the foot, this ↵Max2015-11-121-0/+1
| | | | | | commit adds support for remote server shutdown 💣
* Constrain the Table Info Comment/Create split view so that neither side can ↵Max2015-10-141-0/+1
| | | | be completely hidden (fixes #2285)
* Add mysql:// URL handler (fixes #1681)Max2015-10-141-0/+1
|
* Add some info which might help a bit with debugging threading issuesMax2015-07-021-1/+5
|
* Fix Sequel Pro forgetting database charset when renaming or copying a ↵Max2015-03-121-0/+2
| | | | | | database (#2082) (While we're at it, also removed some duplicate CREATE DATABASE code)
* Attempt to fix #1961Max2014-11-111-1/+0
| | | | | | | | | | | | | Namely this commit changes two things: 1) In the past the user manager window technically was closed after it was released (SPUserManager.m:491): [NSApp endSheet:[self window] returnCode:0]; //-> calls delegate, which calls release [[self window] orderOut:self]; This call order has now been swapped. 2) Because the delegate is invoked directly by NSApp, the release was called before other UI elements had finished their cleanup from orderOut:. The delegate callback is now put on the runloop to give other stuff priority. Requesting QA on this commit.
* Add a "Go to Database" dialogMax2014-10-121-0/+3
| | | | | | | | The dialog enables * searching for a database by name (substring matching), * using C&P to select databases * navigating to databases not in the database dropdown * faster keyboard-based navigation
* Update URL in source file header to point to GitHub.Stuart Connolly2014-01-261-1/+1
|
* Remove SVN property placeholder.Stuart Connolly2014-01-261-2/+0
|
* Add an option to display binary data as hex, while displaying it in blue to ↵Stuart Connolly2014-01-141-8/+11
| | | | distinguish from string data of similar content.
* Ensure the relations table view is refreshed after field changes result in a ↵stuconnolly2013-10-271-0/+1
| | | | dropped relationship. Fixes issue #1591.
* Allow opened SQL files to be saved back to the original file, addressing ↵rowanbeentje2013-09-081-0/+4
| | | | | | | | | Issue #1805: - Add new menu item for "Save Query", making the existing item "Save Query As" as an alternate - Track the opened SQL file and used encoding to be able to easily save the same file again - Standardise encoding detection to use the UniversalDetector framework and use that for opened SQL files where the encoding menu is not used
* * Move some duplicate code for charset/collation to it's own classdmoagx2013-04-261-2/+5
|
* * Add support for ALTER DATABASE statement (needs review)dmoagx2013-03-171-0/+6
|
* * Adding the possibility to set a collation when creating a databasedmoagx2013-03-111-0/+2
|
* Fix remaining 10.6/7 build warnings.stuconnolly2013-02-171-4/+5
|
* Fix build error with synthesized property affecting only release build of Codasqlprodev2013-02-141-1/+1
|
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-41/+42
|
* Changes required to merge Sequel Pro r4011 into Codasqlprodev2013-02-141-3/+12
|
* Fix warnings due to not conforming to 10.6 protocols.stuconnolly2013-01-241-7/+1
|
* - Rearrange some menu shortcuts: ⌘F is now used on the Content tab to set ↵rowanbeentje2012-12-171-0/+2
| | | | the focus to the Filter Content tab bar. ⇧⌘F is used to show the advanced content filter table. This allows ^⌘F to be used for the standard OS X fullscreen window command, addressing Issue #1513.
* - Fix the SPSplitView helper to correctly restore focus to focussed ↵rowanbeentje2012-08-301-1/+0
| | | | | | | | | responders in an expanding view at the end of the animation - On initial launch, and when changing database, ensure that the window focus is set to the table list or the table list filter or the table list as appropriate. This addresses Issue #1437. - Clean up some logic
* Fix typos in license header.stuconnolly2012-07-281-1/+1
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-18/+38
|
* - Replace the main split view in the main view with a SPSplitView, ↵rowanbeentje2012-07-241-3/+2
| | | | | | | | | | replacing the anchored button bar and buttons with normal equivalents. - Make the main split view collapsbile to avoid resize issues with the filter box - Fix problems with additional drag handles in SPSplitView when one of the views was using flipped coordinates - Fix problems with manually dragged uncollapses in SPSplitView - Fix problems instantiating SPSplitView instances on 10.5 (with thanks to schlabberdog)
* - Add a new SPSplitView class, intended to replace all BWSplitViews and so ↵rowanbeentje2012-07-231-2/+0
| | | | | | | | allow us to remove BWToolKit. Supports constraints and animated collapsible subviews configured in code, fixes crashes and exceptions if a window is closed while animations are taking place or scheduled to take place. - Replace the two vertical splitters in the table list (the filter splitter, and the table info splitter) with SPSplitView implementations as a test - Add a helper method in the new SPDateAdditions
* Merged SP r3710 with Codasqlprodev2012-07-051-2/+14
|
* - Fix issues opening new windows when Sequel Pro is opened in the ↵rowanbeentje2012-06-231-1/+1
| | | | | | | background, eg as a result of an application quarantine dialog. This addresses Issue #1375. - Fix exceptions and multiple errors when opening locked or encrypted session files where opening is cancelled.
* Tidy up and remove commented out code.stuconnolly2012-04-071-4/+2
|
* #ifdef'ing out references to frameworks that are not used in SP_REFACTOR buildssqlprodev2012-03-291-0/+2
|
* Refresh the database drop down menu before selecting the new database after ↵stuconnolly2012-03-281-2/+2
| | | | a rename to prevent a secondary thread using the database list while it's being modified on the main thread. Fixes log reports http://spbug.com/l/2294
* tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-271-1/+2
|
* Final feature work on the SPMySQL branch before merging:rowanbeentje2012-03-141-1/+3
| | | | | | | | - Add a ping keepalive managing object to prevent retain cycles from the NSTimer - Add -[SPMySQLConnection copy] support - Refactor Hans-Jörg Bibiko's database structure retrieval, moving it out of the MySQL framework and building it around a copy of the connection. This reduces the amount of connections-over-time used by Sequel Pro to two constant connections (addressing Issue #1097) and improves robustness. - Use the database structure retrieval connection for faster query cancellation without an extra connection required, if possible
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-9/+8
| | | | | | | | | | | | exceptions as database structure retrieval is currently missing! Further work on SPMySQLFramework integration: - Improve SPMySQL framework build settings including correct ppc builds and a Distribution configuration for the build distributions to match - Add new convenience querying and result methods to the framework - Amend Sequel Pro source to use the new SPMySQL.framework methods everywhere, replacing MCPKit methods where they differ and improving some functions - Remove MCPKit from the source - Fix a number of warnings on Release-style builds
* - Update database encoding routines to cache the database encoding, ↵rowanbeentje2011-09-291-0/+2
| | | | | | | preventing repeated calls when navigating tables using "default" encoding, or views - Ensure the database encoding is correctly updated when new databases are selected. This addresses Issue #1201
* Fix for issue 1168. Whenever the database is changed load all of the ↵stuconnolly2011-09-041-11/+13
| | | | currently used relation names in a backgroud thread. In the event that the user opens the add new relation sheet during this process, the ability to enter a relation name and confirm the addition is disabled until the retrieval process is complete. There is also a new progress indicator on the add sheet to indicate this.