aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
Commit message (Collapse)AuthorAgeFilesLines
...
* Attempt to fix #1961Max2014-11-111-10/+4
| | | | | | | | | | | | | 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/+19
| | | | | | | | 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
* Fix string formatting warnings in NSRunAlertPanel by using the additional ↵rowanbeentje2014-05-041-1/+1
| | | | arguments
* 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
|
* Force a table reload (just the view not the actual data retrieval) whenever ↵Stuart Connolly2014-01-201-30/+46
| | | | the view binary data as hex option is toggled. Fixes #1875.
* Add an option to display binary data as hex, while displaying it in blue to ↵Stuart Connolly2014-01-141-3/+8
| | | | distinguish from string data of similar content.
* More tidy up.Stuart Connolly2013-12-021-2/+6
|
* Tidy up change to test git integration.Stuart Connolly2013-12-021-2/+0
|
* Remove more use of deprecated methods.Stuart Connolly2013-11-271-74/+65
|
* Updated Save Create Syntax panel sheet to 10.6+ SDKMarius Ursache2013-11-111-22/+12
|
* Cleaned up Format string is not a string literal (potentially insecure) errorsMarius Ursache2013-11-091-18/+18
|
* Ensure the relations table view is refreshed after field changes result in a ↵stuconnolly2013-10-271-0/+1
| | | | dropped relationship. Fixes issue #1591.
* * This change adds basic tab coloring support for favorites - ** POC / NEEDS ↵dmoagx2013-10-231-0/+6
| | | | | | | | | REVIEW ** Known issues: * There might be additional colors be shown when dragging tabs between windows * The color set might need fine tuning * Coloring of items in the favorite outline view is not yet handled
* Allow opened SQL files to be saved back to the original file, addressing ↵rowanbeentje2013-09-081-1/+13
| | | | | | | | | 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
* - Address further Release/Distribution build warningsrowanbeentje2013-05-221-2/+2
|
* - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵rowanbeentje2013-05-211-2/+4
| | | | enable some more
* * Move some duplicate code for charset/collation to it's own classdmoagx2013-04-261-204/+46
|
* Issue #1601: Fix menu items not being validated properly once a connection ↵stuconnolly2013-04-031-49/+63
| | | | is established.
* - Move the SPBeginWaitingAlertSheet function to a ↵rowanbeentje2013-04-031-9/+12
| | | | beginWaitingAlertSheetWithTitle:... class method on a new SPAlertSheets class, allowing us to use invocation forwarding to ensure the entire function is executing on the main thread. This allows runloop processing to happen on the main thread, addressing Issue #1676
* - Fix validation of the "Add to Favorites" File menu item when editing past ↵rowanbeentje2013-04-021-3/+3
| | | | | | | | favorites - Fix the action of the "Add to Favorites" File menu item to correctly create the new favorite These address Issue #1666.
* * Add support for ALTER DATABASE statement (needs review)dmoagx2013-03-171-0/+135
|
* - Correctly reset document state for setting it from file/when duplicating ↵rowanbeentje2013-03-131-2/+3
| | | | tab, further addressing Issue #1619
* - Improve startup when loading from file, preventing overwrite of details ↵rowanbeentje2013-03-121-1/+1
| | | | read from a spf/spfs during startup. This addresses Issue #1619
* * Adding the possibility to set a collation when creating a databasedmoagx2013-03-111-1/+85
|
* * When adding a database the servers default charset is now showndmoagx2013-03-111-1/+3
|
* - If the Custom Query editor view is active on window open, correctly set ↵rowanbeentje2013-03-101-3/+6
| | | | the focus in it, addressing Issue #1590
* Tweak and improve the User Manager:rowanbeentje2013-03-091-8/+9
| | | | | | | | | - Rework how data to populate the user manager is retrieved from the server, speeding up display of lots of users by a large factor - Fix support for schema permissions for the Anonymous user, and add support for '%' and '' hostnames (only showing if already set once), fixing Issue #1620 - Highlight databases in the user manager that have permissions set for the selected user - Switch to using the centrally provided database list to reduce queries and remove the information_schema and performance_schema "databases" - Speed up a number of operations by tweaking the logic and queries used
* - Alter the database creation sheet to correctly use the selected new ↵rowanbeentje2013-03-021-38/+13
| | | | | | | | database encoding - Clean up the database creation logic and remove redundant selection logic - Correctly reset and detect the database encoding when creating and switching databases
* - When favorites in the connection view gave no password, no longer set the ↵rowanbeentje2013-02-211-1/+7
| | | | focus to the password field as soon as they're selected; instead, make the password field the next responder for tab keys. This addresses Issue #1555.
* 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-178/+179
|
* Changes required to merge Sequel Pro r4011 into Codasqlprodev2013-02-141-9/+56
|
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-94/+94
|
* - Add trigger button to the default toolbar viewrowanbeentje2012-12-211-0/+1
|
* - Disable connection muxing on OS X versions lower than 10.7, to speed up ↵rowanbeentje2012-12-171-0/+1
| | | | | | | connections, improving Issue #1457 - Fix a warning left over from changes in r3931
* - Rearrange some menu shortcuts: ⌘F is now used on the Content tab to set ↵rowanbeentje2012-12-171-2/+30
| | | | 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.
* - Add names for most threads created by Sequel Pro for easier debugrowanbeentje2012-10-141-4/+4
|
* - Clean up some connection cancellation/close-during-connect edges as a ↵rowanbeentje2012-10-141-1/+5
| | | | | | | 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-141-3/+8
| | | | | | | | | 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
* Tidy up menu validation.stuconnolly2012-09-241-6/+9
|
* - Fix the SPSplitView helper to correctly restore focus to focussed ↵rowanbeentje2012-08-301-32/+21
| | | | | | | | | 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 crashes when closing connections while an autorefreshing database ↵rowanbeentje2012-08-161-2/+5
| | | | process list is using that connection
* - Remove all BWToolKit elements in the connection view, replacing with ↵rowanbeentje2012-08-011-0/+1
| | | | | | | | | standard equivalents and SPSplitView - Replace the "Add" action menu on the connection view with two buttons for easier use and to avoid having to set up more popup buttons - Improve SPSplitView's handling of delegates set through code - Update localisable strings
* Fix typos in license header.stuconnolly2012-07-281-1/+1
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-14/+21
|
* - Replace the main split view in the main view with a SPSplitView, ↵rowanbeentje2012-07-241-11/+13
| | | | | | | | | | 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-18/+3
| | | | | | | | 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
* Add a new SPAppController SPWindowManagement.stuconnolly2012-07-071-0/+1
|
* Merged SP r3710 with Codasqlprodev2012-07-051-6/+72
|