aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPQueryController.m
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Modify our current implementation of all singleton instances to be inline ↵stuconnolly2010-03-161-8/+2
| | | | with Apple's recommendations detailed at http://developer.apple.com/mac/library/documentation/Cocoa/Conceptual/CocoaFundamentals/CocoaObjects/CocoaObjects.html#//apple_ref/doc/uid/TP40002974-CH4-SW32 This also fixes the associated static analysis warnings of potentially leaked objects.
* • outsourced keyword completion and function completion lists to ↵Bibiko2010-03-081-1/+66
| | | | | | | | | | | CompletionTokens.plist • SPQueryController manages keyword and function completion lists now; this reduces the memory usage a bit and the list is easier to edit • added pre-defined function argument snippets to CompletionTokens.plist (auto-generated from mysql's HELP) • added Preference option for Editor whether a function completion should insert () and if found the function argument snippets automatically or not - last ) will be linked as autopaired then • changed behaviour for wrapping a selection into `"'() etc. - now it re-selects the original selection after wrapping and in addition last wrap character is now marked as autopair-linked • improved logic for popping up the auto-completion list
* • CSV Import Field MapperBibiko2010-03-051-1/+1
| | | | | | | | | | | - removed Advanced sheet, instead resize the main sheet and display these settings in it - added advanced options LOW/HIGH_PRIORITY - improved logic for adv. settings, disabling UPDATE if target table has less than 2 fields, etc. - fixed URL for displaying the source file name - removed Help text since it's too large - should be go to the general help • CMTextView - fixed bug if ESC Completion is invoked if caret position is 0 • fixed document URL handling to come up with the correct icons etc.
* • fixed threading issue if user performs query in Custom Query all the ↵Bibiko2010-02-181-1/+1
| | | | | | | time by holding down ⌘R for a long time caused by updating the history - removed unnecessary updating of the historyButton - updating of all docs is now performedOnMainThread:waitUntilDone:NO
* • improved text macro snippet behaviourBibiko2010-02-131-1/+2
| | | | | | • improved the ability to run bash commands inside of snippets • ignore most of the syntax highlighting inside snippet declarations • fixed issue in CMTextView to use obj class variables only to generalise this object
* Fix a number of memory leaks, and over-releases, as both a result of manual ↵rowanbeentje2010-02-101-1/+1
| | | | inspection of leaks and Clang static analysis.
* • fixed synchronisation of history lists if more than one instance of the ↵Bibiko2010-02-051-0/+6
| | | | | | same SPF file is open - simplified code a bit