aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryController.m
Commit message (Collapse)AuthorAgeFilesLines
* Allow copying lines from query console by using drag-and-drop (part of #2749)Max2017-03-291-39/+46
|
* Replace some legacy NSIndexSet enumeration with 10.6+ style ↵Max Lohrmann2017-03-121-7/+2
| | | | -enumerateIndexesUsingBlock:
* * Copying text from the query console without having a database selected ↵Max2015-05-071-7/+10
| | | | | | could cause an exception (fixes #2111) * Text copied from the query console could have an invalid format in some setups
* Formalize [x release], x = nil; conventionMax2015-01-041-10/+10
| | | | | 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.
* Replace some NSDictionaries with literalsMax2014-12-131-1/+1
| | | | | | * [NSDictionary dictionary] → @{} * [NSDictionary dictionaryWithObject:forKey:] can safely be replaced. object==nil would have already thrown a NPE in the past. * Also replaced some (hopefully safe) NSArray initializers (ie. their objects should always exist).
* Change [NSArray arrayWithObject:] to @[] literalMax2014-12-131-1/+1
| | | | Note: [NSArray arrayWithObjects:...,nil] is left unchanged as that could possibly cause a NPE if converted to @[]
* Reformatting code for modern ObjCMax2014-12-131-4/+4
| | | | | Replaced all [NSNumber numberWithBool:YES/NO] with the @YES/@NO literals. Also replaced some TRUE/FALSE with their YES/NO counterparts.
* Fix spelling errors on method commentHoward P. Logsdon2014-09-171-1/+1
|
* Resolve #1938: In the query console display the database the query was ↵Stuart Connolly2014-08-281-14/+38
| | | | executed in.
* Move console button and entry generation to occurring non-synchronously when ↵rowanbeentje2014-06-231-9/+15
| | | | calling back to the main thread, fixing a potential spinlock situation when a background thread is querying and the main thread is waiting on the result
* Add a hidden preference to control the size of the UI's monospaced font.Stuart Connolly2014-05-261-1/+2
|
* 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
|
* Updated ConsoleLog panel sheet to 10.6 codeMarius Ursache2013-11-111-13/+7
|
* - Improve thread safety within the console window, triggering draw and view ↵rowanbeentje2013-08-261-6/+8
| | | | | | | updates only on the main window - Ensure the console window is first loaded on the main thread, fixing warnings from CoreAnimation ("CoreAnimation: warning, deleted thread with uncommitted CATransaction") on startup when a background thread calls [window isVisible] and triggers a lazy awakeFromNib of the window
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-65/+65
|
* Remove useless init and dealloc method comments and perform general tidy up.stuconnolly2013-01-221-3/+3
|
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-11/+18
|
* Fix more gcc warnings.stuconnolly2012-05-091-0/+6
|
* tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-271-0/+2
|
* Warning: this branch commit is largely untested, and known to throw ↵rowanbeentje2012-02-231-3/+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
* - Cleanup: improve compatibility with 10.7 SDK to reduce compiler warningsrowanbeentje2012-02-081-3/+3
|
* Fix minor copying and saving console view content issues.stuconnolly2012-01-291-15/+22
|
* When building a string of all console messages, use a copy of the visible ↵stuconnolly2011-10-161-2/+8
| | | | message set ensure it's not modified while being enumerated. Fixes exception http://spbug.com/l/2743
* Tidy up console/query controller.stuconnolly2011-09-031-589/+91
|
* merged latest SP_REFACTOR changessqlprodev2011-08-021-0/+4
|
* fix accidental code regression in r3309sqlprodev2011-05-191-1/+1
|
* merging SP_REFACTOR branch with trunksqlprodev2011-05-191-40/+101
|
* * Fixes most parts of #1006 (Translation of file names)dmoagx2011-05-101-1/+1
| | | | * Update strings files
* SP_REFACTOR: Workaround for naming conflict with ↵sqlprodev2011-04-141-1/+1
| | | | 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-7/+47
| | | | UI code from functional code
* * Fix two untranslatable strings #1006dmoagx2011-03-201-1/+1
|
* Fix more compiler warnings.stuconnolly2011-03-141-1/+1
|
* fixed compiler warningssqlprodev2011-03-011-3/+3
|
* - Split out all of SPExportController's delegate methods to their own category.stuconnolly2010-10-241-1/+0
| | | | | | | | - Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it. - Fix some spacing issues on the export dialog. - Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes. - Update strings files.
* Fix a typo that caused an exception when opening the console.stuconnolly2010-10-201-1/+1
|
* Tidy up.stuconnolly2010-10-191-11/+11
|
* Considering nearly every class uses constants, import it via the prefix header.stuconnolly2010-10-191-1/+0
|
* Implement threading locking when modifying the query console/controller's ↵stuconnolly2010-09-261-0/+11
| | | | log data storage to prevent race conditions. Should fix crash: http://spbug.com/l/1644
* • reverted to rev 2630 which removed an 'unnecessary' [table reloadData]; ↵Bibiko2010-09-211-0/+1
| | | | there're instances where one has to reload the table explicitly
* • SPTableContentBibiko2010-09-201-108/+147
| | | | | - avoid replacing of % by %% for user-defined content filters if no argument is required • minor commenting stuff and code cleaning
* • SPTableStructure's source table saves its column widthsBibiko2010-09-101-1/+0
| | | | • SPQueryController: removed unnecessary [table reloadData]
* • overall replacement of:Bibiko2010-08-201-27/+16
| | | | | | | | | [aString appendString:[NSString stringWithFormat:]] by [aString appendFormat:] since it's much more faster • first look at loop where several [aStr appendString:] occur to try to combine them into one appendString or appendFormat since the allocation of memory takes really time Note: I tested all my changes but we should test it further to be sure that I didn't a mistake!
* Rename CustomQuery as SPCustomQuery.stuconnolly2010-07-061-1/+1
|
* Initial implementation of tabs:rowanbeentje2010-05-231-2/+2
| | | | | | | | - Addition of PSMTabBar framework - Rework away from a document-based TableDocument - Support tabs throughout the application - Add menu items for creating tabs, and add support for dragging tabs to different windows
* Review usage of notifications, afterDelay: and waitUntilDone:NO calls:rowanbeentje2010-04-121-0/+1
| | | | | | | - Add more calls to deregister watchers to fix crashes to closing threads or objects - Fix a couple of memory leaks - Alter a few calls to be performed on main thread (afterDelay: operates on the thread is is called on) - this fixed database reloading after import and field/index deletion error sheets
* Don't append a semi-colon to console messages that are errors.stuconnolly2010-04-041-1/+8
|
* Localize 'Save As...' button titles on console and process list windows.stuconnolly2010-03-251-2/+2
|
* General tidy up, with a focus on consolidating more constants in ↵stuconnolly2010-03-241-12/+4
| | | | SPConstants.h/m.
* • fixed "Clear global history" really removes the global history list in ↵Bibiko2010-03-181-0/+4
| | | | the Prefs