aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTextView.m
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* - Fix all the Xcode 4.6.2 build warnings, and tweak warning settings to ↵rowanbeentje2013-05-211-8/+1
| | | | enable some more
* Fix more wanrings by creating a protocol that delegates of the copy table ↵stuconnolly2013-02-161-7/+8
| | | | should conform to.
* Changing SP_REFACTOR macro to SP_CODAsqlprodev2013-02-141-55/+55
|
* Changes required to merge Sequel Pro r4011 into Codasqlprodev2013-02-141-0/+12
|
* - Merge in changes from 1.0.x release branch to trunkrowanbeentje2013-02-131-3/+3
|\
| * - Fix warnings and logic bugs; thanks to Steven Frank for highlighting theserowanbeentje2013-02-121-3/+3
| |
* | Move the flex parsing function definitions to their own file so they're not ↵stuconnolly2013-01-251-15/+3
| | | | | | | | duplicated in multiple places.
* | Fix more warnings.stuconnolly2013-01-241-4/+1
|/
* - Correctly draw/update the selection highlight within the SPTextView used ↵rowanbeentje2012-12-231-0/+23
| | | | in the Custom Query Editor (among others) as the selection is changed with the mouse
* - Tweak SPTextView background drawing, moving custom drawing into a ↵rowanbeentje2012-12-191-4/+2
| | | | different function, to allow "Highlight current query" to function again
* - Fix position of the autocomplete popup when the popup is just before a ↵rowanbeentje2012-08-211-25/+29
| | | | | | | | linebreak - Tweak autocomplete poup to show the text positioned underneath the target word - Consolidate code
* - Fix custom selection colours using a translucent colour being blended ↵rowanbeentje2012-07-301-14/+53
| | | | | | | | through to black or the window background, addressing incorrect colours in the Custom Query view when using selection colours with alpha values and window backgrounds showing through CREATE SYNTAX sheets (Issue #1099) - Fix crashes when editing certain colours in editor preferences after a window had been closed, due to not unregistering all observers on SPTextView dealloc - Enable "Draws Background" on the main Custom Query view text view, as custom colours were no longer being drawn after a change in r3750
* - Remove the last BWToolKit view items from the main nib (DBView) by ↵rowanbeentje2012-07-291-3/+4
| | | | | | | | redesigning the advanced Content Filter window - Tweak SPTextView to support translucent views, or views which are set not to draw their background - Fix Lion compatibility for advanced content filter default operator (Issue #1255)
* Change Sequel Pro's license from GPL (version 2) to MIT.stuconnolly2012-07-251-11/+21
|
* Merged SP r3710 with Codasqlprodev2012-07-051-1/+1
|
* Move the BASH command code from the string additions category to remove the ↵stuconnolly2012-05-071-2/+4
| | | | dependency on SP specific code and all the tests to build successfully.
* #ifdef'ing out references to frameworks that are not used in SP_REFACTOR buildssqlprodev2012-03-291-0/+4
|
* - Clean up SPMySQL and QueryKit inclusion and search methods, which should ↵rowanbeentje2012-03-271-4/+0
| | | | | | | fix nightly builds - Fix warnings
* tweaks to compile on Xcode 4 / 10.6 SDK for SP_REFACTORsqlprodev2012-03-271-0/+5
|
* Missing from previous commit.stuconnolly2012-03-171-3/+4
|
* Merge in the SPMySQL Framework. This new framework should provide much of ↵rowanbeentje2012-03-171-6/+8
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the functionality required from MCPKit and is based around its interface for relatively easy integration. Externally visible changes as a result of this merge: - Speed improvements, particularly when loading large data sets - Stability improvements, particularly related to connection state after the connection is dropped (eg Issue #1256) - Improved support for new MySQL data types, which should address Issue #1052. - Database structure retrieval and query cancellation now use a single persistent helper connection instead of lots of connections on-demand. This should help Issue #1097. - More internal commands now use queries instead of MySQL functions; for example USE queries are now used to trigger database selection, improving transcripts. This addresses Issue #1247. - Improved internal encoding work; while this needs support within the UI, it lays the foundation for issues like Issue #1280. Code improvements: - Much improved class layouts including extensive category usage - Improved documentation across framework methods - Support for fast enumeration across result objects - Rewrite fixes use of a number of deprecate functions - Much less code duplication across result set types - Improved encapsultation within the framework, limiting the number of methods exposed, and also not exposing all the MySQL headers From the Readme file: The SPMySQL Framework is intended to provide a stable MySQL connection framework, with the ability to run text-based queries and rapidly retrieve result sets with conversion from MySQL data types to Cocoa objects. SPMySQL.framework has an interface loosely based around that provided by MCPKit by Serge Cohen and Bertrand Mansion (http://mysql-cocoa.sourceforge.net/), and in particular the heavily modified Sequel Pro version (http://www.sequelpro.com/). It is a full rewrite of the original framework, although it includes code from patches implementing the following Sequel Pro functionality, largely contributed by Hans-Jörg Bibiko, Stuart Connolly, Jakob Egger, and Rowan Beentje: - Connection locking (Jakob et al) - Ping & keepalive (Rowan et al) - Query cancellation (Rowan et al) - Delegate setup (Stuart et al) - SSL support (Rowan et al) - Connection checking (Rowan et al) - Version state (Stuart et al) - Maximum packet size control (Hans et al) - Result multithreading and streaming (Rowan et al) - Improved encoding support & switching (Rowan et al) - Database structure; moved to inside the app (Hans et al) - Query reattempts and error-handling approach (Rowan et al) - Geometry result class (Hans et al) - Connection proxy (Stuart et al)
| * Final feature work on the SPMySQL branch before merging:rowanbeentje2012-03-141-5/+6
| | | | | | | | | | | | | | | | - 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-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | * Moves the background color code for SPTextView into the class. Fixes #1073dmoagx2012-03-161-2/+6
|/
* • removed for syntax hiliting "ensureLayoutForCharacterRange" since it can ↵Bibiko2012-01-081-4/+0
| | | | cause for some unknown reasons an exception
* • removed setting of textColor after syntax hilitingBibiko2012-01-051-11/+0
|
* • removed blocking of SPTextView textStorage while syntax hiliting Bibiko2012-01-051-2/+2
|
* • fixed issue for line numbering view if associated textView is scrolled ↵Bibiko2012-01-051-15/+36
| | | | | | from origin {0,0}; now it's synchronized • minor speed ups for custom query editor
* Tidy up console/query controller.stuconnolly2011-09-031-0/+1
|
* Small tidy up.stuconnolly2011-07-311-2/+2
|
* - Prevent error bell when using the enter key to initiate a connection when ↵rowanbeentje2011-07-271-0/+6
| | | | | | | | keyboard focus is on the favorites outline view (Issue #1072) - Don't initiate a connection when the currently selected favorite is clicked again slowly - Match compiler #ifdef around braces to imrpove Xcode 3 file parsing
* merging SP_REFACTOR branch with trunksqlprodev2011-05-191-3/+15
|
* Small tidy up, mainly the addition of constants.stuconnolly2011-05-051-2/+2
|
* Fixes source text encoding problems accidentally introduced in r3273sqlprodev2011-04-141-25/+25
|
* Fixes source text encoding problems accidentally introduced in r3273sqlprodev2011-04-141-28/+28
|
* SP_REFACTOR: Workaround for naming conflict with ↵sqlprodev2011-04-141-5/+5
| | | | postNotificationOnMainThread: which also exists in TCMPortMapper.framework; NSUserDefaults access now permitted in SP_REFACTOR blocks for a few prefs keys
* Make some minor changes after reviewing r3271:rowanbeentje2011-04-141-4/+4
| | | | | | - Fix a few encoding issues - Recode a few [NSApp keyWindow] uses back to [SPDatabaseDocument parentWindow] following discussion; possibly for later refactoring into use of an error method
* initial commit of SP_REFACTOR ifdefs, the start of a long quest to separate ↵sqlprodev2011-04-111-15/+137
| | | | UI code from functional code
* - Fix more warningsrowanbeentje2011-03-141-45/+52
|
* Fix more warnings.stuconnolly2011-03-131-2/+4
|
* fixed compiler warningssqlprodev2011-03-011-1/+2
|
* fixed compiler warningssqlprodev2011-03-011-2/+0
|
* • further speed optimisations for SQL syntax highlightingBibiko2011-02-031-23/+21
|
* • forgotten to apply a change of a NoodleLineNumber methodBibiko2011-02-021-1/+1
|
* • removed keyboard short-cut ?\008^C for "Copy as RTF" since it's not a ↵Bibiko2011-02-021-8/+1
| | | | frequently used function
* • some minor code cleaning and improvementsBibiko2011-01-241-19/+35
|
* • removed temporary method getRangeForCurrentWordForCompletionBibiko2011-01-211-1/+1
|
* • sped up getRangeForCurrentWordBibiko2011-01-211-2/+2
| | | | | | | - fixes also the short interruption of the cursor blinking - for completion the old method is used, since it's fine-tuned to use it - fix will come soon - preparation for user-defined word symbols • fixed issue for soft indent if user uses deleteForward: selector (⇧⌫)