aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPDatabaseViewController.m
Commit message (Collapse)AuthorAgeFilesLines
* Fix bundle commands no longer working in popup field editor (and possibly ↵Max2015-10-211-4/+5
| | | | | | other cases) (#2299) Replacing some [NSApp mainWindow] with their actually intended calls [NSApp keyWindow] and [view window]
* Fix a threading issue when adding tablesMax2015-04-051-3/+4
| | | | (Also the localizations should now work again on 10.10 🎉)
* Formalize [x release], x = nil; conventionMax2015-01-041-1/+1
| | | | | Take this commit as a proposal to formalize our existing "[x release], x = nil;" convention by introducing a macro for it. Feel free to revert this commit if you see issues with the approch or implementation.
* Add cast for [NSApp delegate]Max2014-12-131-2/+2
| | | | | * (Also changed some outdated URLs) * Replaced [NSApplication sharedApplication] with NSApp
* Don't force relation clear on table update, as it now uses notifications to ↵rowanbeentje2014-06-231-1/+2
| | | | update itself; this will improve table switching speed significantly on laggy connections due to a forced information re-fetch
* 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
|
* Ensure the relations table view is refreshed after field changes result in a ↵stuconnolly2013-10-271-5/+48
| | | | dropped relationship. Fixes issue #1591.
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-19/+19
|
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-14/+18
|
* - Fix a problem where the row count for InnoDB would not be displayed as an ↵rowanbeentje2013-01-211-6/+12
| | | | | | | | accurate value, whatever the Preferences setting, if the Content table was not selected - Clean up code slightly - Remove an unneccessary query being used for the table information view, speeding up display slightly
* - Add names for most threads created by Sequel Pro for easier debugrowanbeentje2012-10-141-2/+3
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-14/+22
|
* Merged SP r3710 with Codasqlprodev2012-07-051-0/+5
|
* Fix remaining implicit cast warnings.stuconnolly2012-05-111-2/+1
|
* #ifdef'ing out references to frameworks that are not used in SP_REFACTOR buildssqlprodev2012-03-291-0/+2
|
* - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-271-3/+1
| | | | | | | fix nightly builds - Fix warnings
* tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-271-1/+3
|
* - Remove the GPL-licensed Colloquy-sourced NSNotificationAdditions category ↵rowanbeentje2012-03-171-9/+2
| | | | from the project, and replace with an MIT-licensed TCMPortMapper sources NSNotificationCenterThreadingAdditions category. This should fix method clashes in the SP_REFACTOR project, so remove behavioural/namespacing switches.
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-0/+1
| | | | | | | | | | | | 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
* Minor tidy up.stuconnolly2011-07-111-1/+0
|
* SP_REFACTOR: Workaround for naming conflict with ↵sqlprodev2011-04-141-4/+12
| | | | 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-4/+39
| | | | UI code from functional code
* Fix more compiler warnings, including a few bugsrowanbeentje2011-03-081-1/+1
|
* - Fix more compiler warningsrowanbeentje2011-03-041-1/+1
|
* fixed compiler warningssqlprodev2011-03-011-1/+8
|
* - Revert r3187, which only masked an underlying bug and caused double ↵rowanbeentje2011-02-111-16/+9
| | | | | | | | | columns in views - In SPTableStructureDelete, don't request the encoding if the table is reloading; this prevents multithreaded data fetches and race conditions causing Issue #974. - Alter SPTableData to use thread mutexes instead of a boolean to prevent threading issues, which also fixes Issue #974 in a different way. Alter race condition checks to block their threads instead of returning bogus information to prevent state issues. - Alter table loading to no longer load trigger information until required, speeding up use of other views and cleaning up the console log.
* - Ensure table information is retrieved on the working thread, to prevent a ↵rowanbeentje2011-02-071-0/+6
| | | | possible race condition where the main thread may retrieve table info as a result of a notification as well as the working thread. This may improve Issue #974.
* - Ensure window title updates occur on the main thread, fixing crashes ↵rowanbeentje2011-01-311-2/+2
| | | | under race conditions
* • Bundle CommandsBibiko2010-12-011-9/+27
| | | | | - make sure that each HTML output window will be released - if a triggered command will outputs its result in an HTML window invoke it only if the HTML output window is already open; this enables the user to "switch on/off" such a trigger
* • Bundle Editor / Bundle commandsBibiko2010-12-011-0/+21
| | | | | | | - enabled trigger support to run a command if db, table, or table row was changed - HTML output window will be ordered out without making it the key window to remain the first responder • SPTableTExtFieldCell - forgotten to remove expansionFrameWithFrame: method
* - Fix interface updates when multiple tables are selectedrowanbeentje2010-11-251-4/+2
|
* - Tweak master view loading on table change, avoiding clearing active views ↵rowanbeentje2010-11-121-5/+9
| | | | unnecessarily. This improves speed slightly by reducing interface interaction, and preserves state better during actions, fixing bugs like Issue #574.
* Add a new category to SPDatabaseDocument, allowing code cleanup and moving ↵rowanbeentje2010-11-031-0/+485
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