aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseDocument.h
Commit message (Collapse)AuthorAgeFilesLines
* * 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.
* - Clean up undo manager handlingrowanbeentje2011-08-311-0/+2
| | | | | - Implement an undo manager per tab (strictly speaking, per connection 'document'), addressing Issue #1109.
* - Lion compatibility improvement: add support for fullscreen windows, on ↵rowanbeentje2011-08-161-0/+2
| | | | | | | | | | | the main window only; hide SSH/SSL status when entering fullscreen mode, to prevent drawing issues - Lion compatibility improvement: update tab colours under 10.7 to match system styles - Lion compatibility improvement: fix issues dragging tabs out of windows and into other tab bars - Lion compatibility improvement: fix QuickLook issues under 10.7, including windows which couldn't be closed, fullscreened, or crashes - Fix exceptions in the bundle controller when using tab switching keys - Lion compatibility improvement: use overlay scrollers where possible
* merged latest SP_REFACTOR changessqlprodev2011-08-021-3/+21
|
* merging SP_REFACTOR branch with trunksqlprodev2011-05-191-5/+9
|
* - Fix a number of warnings for DBView.xib by moving some 10.6-only code ↵rowanbeentje2011-05-081-4/+4
| | | | | | | from a #ifndef SP_REFACTOR/#else/#endif to just a #ifdef SP_REFACTOR/<protocol declaration>/#endif, and remarking a few items as IBOutlets - Update localisable strings
* SP_REFACTOR: Workaround for naming conflict with ↵sqlprodev2011-04-141-1/+3
| | | | postNotificationOnMainThread: which also exists in TCMPortMapper.framework; NSUserDefaults access now permitted in SP_REFACTOR blocks for a few prefs keys
* initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate ↵sqlprodev2011-04-111-12/+66
| | | | UI code from functional code
* Fix Issue #1019 (Sidebar width not remembered):rowanbeentje2011-04-011-1/+1
| | | | | | | - This may be due to an Apple bug. I tracked it down to purely SPDatabaseDocument having a reference outlet to the activity scroll view. - Removing the reference worked as a fix; removing all code that used that reference did not. - Renaming the reference, and removing SPTableInfo's use of a reference, appears to act as a workaround. If the reference is not renamed, the bug still mainfests (!!!)
* Fix more compiler warnings, including a few bugsrowanbeentje2011-03-081-8/+9
|
* Fix more compiler warnings.stuconnolly2011-03-041-0/+1
|
* fixed compiler warningssqlprodev2011-03-011-0/+1
|
* fixed compiler warningssqlprodev2011-03-011-1/+3
|
* • show activity pane for running Bundle process automatically if the ↵Bibiko2011-01-201-0/+4
| | | | process runs longer than 1 sec and hide it if no process runs anymore to inform the user better
* • improved timing behaviour for a SPDatabaseDocument if it receives a ↵Bibiko2010-12-171-0/+2
| | | | sequence of URL scheme commands
* • sequelpro URL scheme supportBibiko2010-12-151-0/+1
| | | | | - added command "SyntaxHighlighting/format" which returns the syntax highlighted string due to the format settings (up to now html and htmlcss) - added command "CreateSyntaxForTables/item1/item2/…/{format}" which returns all CREATE SYNTAX statements of the passed items and if passed syntax highlighted due to format (optional)
* - Add the ability to stop animation of the task indicator, and use it to ↵rowanbeentje2010-12-051-0/+1
| | | | pause the task indicator animation when custom queries are paused and waiting for user interaction after an error
* • added chance to cancel an activity - up to now a running Bundle command ↵Bibiko2010-12-011-4/+4
| | | | | | - from the Activities pane (toggable via double-clicking at Table Information header); it's still tentative and the correct cancel icon will follow asap • added notification system for updating the activities pane (SPActivitiesUpdateNotification)
* • Bundle commandsBibiko2010-11-291-1/+6
| | | | | - register running commands for each SPDatabaseDocument or if the command runs via 'General' for NSApp delegate - kill all running commands before SP will be terminated
* - Abstract SPDatabaseDocument's Connection/.spf saving/loading ↵rowanbeentje2010-11-231-1/+6
| | | | | | | | | | functionality into state setting and getting functions, and refactor old commands to use them - Fix restoring of content sort column order and selected indexes - Add menu items for duplicating current tab (as an alternate), opening selected table in a new tab, or opening selected database in a new tab - Clean up file menu by making Connection/Session "Save as..." menu items alternates - Update localisable strings
* • Bundle supportBibiko2010-11-161-0/+1
| | | | | | - further simplifications and centralizations - runBashCommandWithEnvironment: now it can execute each script command whose first line begins with #!/... natively - added some more shell variables
* • added to Bundle shell command these variables:Bibiko2010-11-111-0/+3
| | | | | | | | | | SP_ALL_DATABASES, SP_ALL_TABLES, SP_ALL_VIEWS, SP_ALL_FUNCTIONS, SP_ALL_PROCEDURES, SP_RDBMS_VERSION, SP_RDBMS_TYPE [hard-coded yet ;)] • some minor improvements to editor Bundle support • fixed issue while running a bash command that the SP GUI doesn't block • added first sequelpro url scheme functionality - sequelpro://$SP_PROCESS_ID/passToDoc/SelectTable/a_name - sequelpro://$SP_PROCESS_ID/passToDoc/SelectDatabase/a_db_name - sequelpro://$SP_PROCESS_ID/passToDoc/SelectDatabase/a_db_name/a_table_name
* • some improvements for sequelpro://process_id/command/param1/param2 url ↵Bibiko2010-11-111-0/+2
| | | | | | scheme support - introduced an unique process ID for each called bash command which will be set for the current SPDatabaseDocument and passed as environment shell variable SP_PROCESS_ID to ensure that such a scheme command will be executed by the correct SPDatabaseDocument, to avoid security issues ie one can authenticate such a sheme command, to enable url scheme process communication based on file shake-hands etc.
* First changes towards changing the initial connection view's favorites table ↵stuconnolly2010-11-091-2/+2
| | | | list to an outline view in order to support grouping favorites. Future changes include creating a favorites data controller, including migrating favorites storage to their own plist in the app support directory as well as support for grouping favorites.
* Add a new category to SPDatabaseDocument, allowing code cleanup and moving ↵rowanbeentje2010-11-031-8/+10
| | | | | | | | | | | central functionality out of SPTablesList: - Centralise control over table loading, moving it away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Centralise control over the main tab view, moving control away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Simplify and clean up view loading logic - Improve thread safety - Update localisable strings
* Move SPConnectionController's delegate methods to their own protocol.stuconnolly2010-10-291-1/+3
|
* Split MCPConnection's delegate methods into it's own protocol.stuconnolly2010-10-201-1/+0
|