aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* • simplified quertAtPosition:Bibiko2009-06-042-214/+100
| | | | | | • added queryRangeAtPosition: method because this is needed also for other purposes • moved the commands for highlighting the current query from queryAtPosition: to textViewDidChangedSelection: (where it belongs to) • some minor changes in error highlighting code
* • updated queryTextRangeForQuery: method to make usage of the new SQLParserBibiko2009-06-041-15/+11
|
* • added support for the “delimiter” commandBibiko2009-06-045-220/+399
| | | | | | | | | | | | | | - added (NSArray *) splitSqlStringByCharacter:(unichar)character; (NSArray *) splitSqlStringIntoRangesByCharacter:(unichar)character; (long) firstOccurrenceInSqlOfCharacter: to the SQLParser which recognize a “delimiter” command • queryAtPosition now works with ranges to speed it up - the current query ranges resp. the just activated query range are cached in order to avoid parsing if the user only navigates through the textView buffer, or if the user calls Run Prev/Current Query only • the "import dump" function makes usage of that new “delimiter” support - i.e. dumps with procs/funcs declaration could be imported IMPORTANT: Please check the new SQLParser exhaustively in order to prove that new approach
* Added print accesory view with option to Print Backgroundsbamse162009-06-048-2/+357
|
* - Added Jim Knight (mtvee) to Creditsavenjamin2009-06-041-1/+2
|
* - SSH Tunnel - PubKey Authenticationavenjamin2009-06-041-0/+1
|
* Further SSH tunnel improvements, password handling improvements, and minor ↵rowanbeentje2009-06-0411-110/+774
| | | | | | | | | | | | | bugfixes: - SSH tunnels can now correctly show dialogs for ssh queries, eg host key mismatches - SSH tunnels are now correctly closed by the document for connection failures - Keychain password item name and account generation has been moved to within the keychain class, to centralise generation for consistency - Keychain item names and accounts now correctly deal with nil values, allowing more keychain items to be read - "Add to favorites" button and menu item now correctly store passwords and SSH tunnel settings - Duplicating favorites in preferences now selects the newly created favorite instead of deselecting everything - Fixes an occasional crasher sometimes encountered in keychain usage
* Various enhancements to relation functionality, including:stuconnolly2009-06-034-480/+468
| | | | | | | - Only presenting valid tables for possible relations, that is InnoDB tables. - Only presenting valid columns for possible relations, that is columns of the same data type. - Loads of interface validation.
* - fixed bug with changing extra to auto_increment for a columnmtvee2009-06-032-2/+2
| | | | - small mem release issue in CMMCPConnection
* - Fix SSH tunnels on PPCrowanbeentje2009-06-032-1/+11
| | | | | | - Improve general SSH tunnel stability and automatic reconnection on failure - Improve handling of failed SSH tunnel passwords
* - Restore the Command-Alt-A shortcut for the add field button in the table ↵rowanbeentje2009-06-021-40/+73
| | | | structure view, matching the tooltip
* - Fix SSH tunnel treatment of temporary (non-Keychain) passwords by ↵rowanbeentje2009-05-291-1/+1
| | | | correctly comparing hashes and not hash pointers (!)
* - SSH tunnel now correctly uses placeholder/default port numbersrowanbeentje2009-05-291-1/+1
|
* Change 'Table Status' menuitem to 'Table Info' in View menu.stuconnolly2009-05-282-9/+19
|
* • ADDED: highlight the current active query by setting its background ↵Bibiko2009-05-281-1/+19
| | | | color in the Custom Query Editor
* • Table InfoBibiko2009-05-282-5/+37
| | | | | - show create syntax for views - fixed editing behaviour of the Comments field (esp. for views)
* • fixed dependence in showHelpForCurrentWord: to allow to invoke the help ↵Bibiko2009-05-281-1/+1
| | | | (Context Menu or ^H) from any CMTextView (e.g. from create syntax view in Table Info as well)
* - Added split view to new table info sectionavenjamin2009-05-282-479/+439
|
* • control editable status of CMTextView while changing the font size via ↵Bibiko2009-05-281-0/+6
| | | | ⌘+/- or finger gesture since CMTextVIew is also used for other views
* Add support for SSH tunnels, improve password security, and tweaks:rowanbeentje2009-05-2815-957/+2103
| | | | | | | | | | | | - Implementation of a new SPSSHTunnel class, designed to closely integrate SSH tunnels within Sequel Pro. - Integration of SPSSHTunnel - new connection methods using callbacks, and CMMCPConnection integration - Keychain class upgrade to include the new SPSSHTunnel keychain password helper on the trusted access list for new passwords - Keychain passwords are now held in memory/UI for only as long as necessary, increasing password security - Updated interface to enable/add SSH tunnel functionality - Remove old SSHTunnel class - Addition of new target for the SSH Tunnel password assistant, addition as a dependency of the main target, and addition to build script to copy into resources directory - Fix a keychain password deletion crash
* Forgot to add !, removed for testing.stuconnolly2009-05-271-1/+1
|
* Log query errors in SPDatabaseData to the console.stuconnolly2009-05-271-2/+2
|
* Change the name of the 'Table Status' toolbar item to 'Table Info' and ↵stuconnolly2009-05-271-8/+9
| | | | display it by default.
* Fix for query editor font being lost. Initialize the prefs reference in ↵stuconnolly2009-05-271-2/+2
| | | | setConnection as opposed to init, so we definitely know the font has already been set. Turns out it was me that moved it to init, my bad.
* Missing Subversion keyword properties.stuconnolly2009-05-270-0/+0
|
* Bind the table create syntax text view's backgroud colour upon awakeFromNib.stuconnolly2009-05-271-0/+17
|
* We don't need to manually set the create syntax text view font because of ↵stuconnolly2009-05-271-8/+0
| | | | the binding.
* Bind the create table syntax text view's font to CustomQueryEditorFont.stuconnolly2009-05-271-7/+28
|
* Forgot to update Localizable.strings for redesigned table info pane.stuconnolly2009-05-271-0/+0
|
* Redesigned table information pane.stuconnolly2009-05-2718-1128/+2133
|
* • added key-binding for RETURN to "Duplicate" button in the "duplicate ↵Bibiko2009-05-261-1/+12
| | | | | | table sheet" via delegate method controlTextDidEndEditing: • improved controlTextDidEndEditing: to recognize only the RETURN/ENTER key
* • added key-binding for RETURN to "Add" button in the "add table sheet" ↵Bibiko2009-05-261-1/+4
| | | | via delegate method controlTextDidEndEditing:
* • add AFTER clause only if the user added a new fieldBibiko2009-05-261-2/+2
| | | | - this should fix issue 280
* • added two finger zoom gesture for de/increasing the font size of the ↵Bibiko2009-05-251-0/+15
| | | | Custom Query Editor
* • improved narrow-down completionBibiko2009-05-256-15/+63
| | | | | - first trial to use images for suggestions (up to now supported: tables/views, funcs, procs, dbs, otherwise show a transparent dummy)
* • improved narrow-down completionBibiko2009-05-251-1/+11
| | | | - allow to enter dead-keys or compounded accented chars via e.g. ⌘u + u → ü
* • improved narrow-down completionBibiko2009-05-252-9/+17
| | | | | - if suggestion list contains a space add a space to the allowed textual input characters if not a space closes the pull-down list - some minor fine-tuning
* Issue #227 - bamse162009-05-251-1/+1
| | | | | | Added paper size option in the print panel. Will check if this is fine instead of enabling the page setup menu again.
* Replaced check on title with check on menu tag for Copy with Column Names ↵bamse162009-05-253-5/+11
| | | | issue #233. Thanks to Ben for suggestion.
* • improved narrow-down completionBibiko2009-05-244-44/+101
| | | | | - added support for "in-quote completion" based on suggestions of the spell checker dict and the current used words in the textView - still bound to F5
* • activate Preference setting for caret colorBibiko2009-05-247-4/+168
| | | | | | | | • added prototype for new completion (ESC -> Cocoa, F5 -> new completion) - not yet finished - TODO: -- support for NSSpellChecker items -- images for different types of suggestions like proc/func/tabkle/view/sql statement, db name, etc.
* • added class to support narrow-down completion in the Query EditorBibiko2009-05-243-0/+531
| | | | | | | | | - an image can be added - display and insert string can differ - fully customizable This class is based on TextMate's TMDIncrementalPopUp implementation (Dialog plugin) written by Joachim Mårtensson, Allan Odgaard, and H.-J. Bibiko. see license: http://svn.textmate.org/trunk/LICENSE
* - Forgot to save this file before last commitavenjamin2009-05-221-3/+3
|
* - Few Changes to Query Editor Preferenceavenjamin2009-05-225-757/+973
| | | | | - Cleaned up a few preference keys - Added Caret Color to Query Editor Prefs - disabled for now.
* - Fixed NSFontPanel issue. Now showing font collections in Font Panelavenjamin2009-05-2114-27/+58
| | | | | | - Replaced some toolbar icons with new ones - Edited some toolbar icons. - Added keyboard shortcut section to preferences (Disabled for now)
* • fixed several issues for completion Bibiko2009-05-201-14/+29
| | | | | | | - suppress auto-uppercasing of certain keyword combinations after insertion of a suggestion • syntax highlighting will only be invoked if the user really changed the text buffer • moved the deletion of all kQuote attributes to completionsForPartialWordRange:... method
* • made mySQLConnection reachable for CMTextViewBibiko2009-05-203-19/+73
| | | | | | | • for MySQL version > 4 added proc/func names to the completion suggestion list • changed the way of adding the table names to the completion suggestion list - now it uses [mySQLConnection listTables] instead of taking the names from the table view list due to the header items • added some pragma marks to CMTextView
* • fixed: serverVersionString retained and releasedBibiko2009-05-201-3/+3
|
* - fixed path issue with unit test building and plist locationmtvee2009-05-202-1/+2
|
* • fixed bug for getServerVersionStringBibiko2009-05-201-3/+5
| | | | - one has to loop over all rows of a CMMCPResult object or to set dataSeek to the end of that object to dealloc it