aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.m
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* - Fix saving of .spf files using unencrypted formats, encoding the content ↵rowanbeentje2012-06-261-0/+22
| | | | selection index set
* - Allow table check/optimize/analyze etc operations to be performed on ↵rowanbeentje2012-06-251-0/+5
| | | | MySQL 4.1 servers which return results as NSData
* - Fix issues opening new windows when Sequel Pro is opened in the ↵rowanbeentje2012-06-231-7/+10
| | | | | | | 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.
* - Retain the new SPDatabaseData defaultCharacterSetEncoding when created, ↵rowanbeentje2012-06-111-1/+1
| | | | fixing overrelease crashing on exit
* Add the default encoding and storage engine to the default menu items on the ↵stuconnolly2012-06-101-17/+7
| | | | new table sheet. Implements issue #1245.
* - Remove delayed favourite selection call on tab setup. This fixes detail ↵rowanbeentje2012-06-031-28/+3
| | | | | | | reset issues causing Issue #1362 and Issue #1338, possibly others. - Clean up duplicate code setting and resetting connection interface state, ensuring one code path used by all
* Improvements to connection view outline view:rowanbeentje2012-05-201-1/+1
| | | | | | | | | | - Prevent groups from being dragged into themselves (or child nodes) to prevent data loss - Improve selection handling when manually reordering nodes - Don't allow drags of the "Favorites" title at the top of the view to prevent exceptions - Prevent the "Favorites" title from being collapsed to prevent confusion on 10.7+ - Improve group tooltips to reflect contained favourites and groups - Improve menu validation checks
* Improve connection keepalive, disconnect, and connection loss after ↵rowanbeentje2012-05-151-3/+5
| | | | | | | | | | | reviewing crash logs and testing a number of situations: - Improve stability of closing connections after a connection loss - Minimise prompting a user for connection state restore if closing windows/tabs - Allow cancellation of keepalive ping threads to prevent crashes after deallocation of parent - Manually handle ping thread state struct memory to avoid cross-thread deallocation issues - Improve disconnection speed and resilience
* Add initial support of moving views when renaming a database. Currently not ↵stuconnolly2012-05-041-0/+1
| | | | hooked up yet. Part of issue #1235.