aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 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.
* Redesigned table information pane.stuconnolly2009-05-2716-237/+729
|
* • 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-252-15/+51
| | | | | - 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-252-2/+5
| | | | 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-246-4/+166
| | | | | | | | • 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-242-0/+525
| | | | | | | | | - 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-222-132/+132
| | | | | - 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-213-14/+33
| | | | | | - 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 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
* • added "Copy as RTF" to CustomQuery's context menu and bound it to CTRL+C ↵Bibiko2009-05-201-2/+16
| | | | (other format could also be added - waiting for user feedback)
* • removed unused variable 'keyCode'Bibiko2009-05-201-1/+0
|
* • added ⌘+ and ⌘- for increasing/decreasing the font size by 1 in the ↵Bibiko2009-05-202-1/+34
| | | | Custom Query Editor quickly
* - Added ability to insert field/column in structure mode.avenjamin2009-05-201-5/+12
| | | | | - Inserts a field after the current selection or at the end if there is no field selected. - Resolves issue #30
* • improved completion suggestion for variable name; added delimiter ↵Bibiko2009-05-201-1/+1
| | | | “@” for word detection
* New preference to allow the displaying of vertical grid lines in table views.stuconnolly2009-05-194-66/+125
|
* • implemented a new approach to split a string into single SQL statements ↵Bibiko2009-05-195-17/+126
| | | | | | | | by using the lexer SPTokenizer - the new method is called splitStringIntoRangesOfSQLQueries: in SPSQLParser - in CustomQuery's method queryAtPosition: can be found a test case which is as default not activated - must be improved further
* • some minor code cosmeticsBibiko2009-05-191-5/+8
|
* In the table information pane check that the 'Rows' field reported by SHOW ↵stuconnolly2009-05-191-5/+7
| | | | TABLE STATUS is not NULL before being displayed. Row count for tables in information_schema are always NULL.
* • fixed some issues for drag&drop a file to the CustomQuery editorBibiko2009-05-191-1/+2
| | | | | - close sheet before inserting - ensure that a file with the extension "sql" will be inserted (UNIX "file" could detect a file as being a non plain text file)
* • improved "Update Help while typing"Bibiko2009-05-191-4/+9
| | | | - it recognizes any keyDown event including arrow keys
* When adding a new table allow the user to specify the storage engine used.stuconnolly2009-05-192-0/+22
|
* More header updates for source files, including Subversion Id property.stuconnolly2009-05-1964-46/+164
|
* • skip auto-pairing if the caret is adjoined to an alphanumeric character ↵Bibiko2009-05-192-2/+31
| | | | except if the inserted character will be a “(” and the caret is located at the end of a string then process the auto-pairing
* Source tidy up including standard header for all source files.stuconnolly2009-05-1820-47/+103
|
* Updates to add relation sheet.stuconnolly2009-05-181-5/+1
|
* Minor updates to table relation dialogs.stuconnolly2009-05-181-24/+21
|
* Fix an issue where by selecting a table with relations and then selecting ↵stuconnolly2009-05-181-6/+9
| | | | one which doesn't still displays the relations of the previously selected table.
* Rename TableRelations.[hm] to SPTableRelations.[hm] so we it was created by ↵stuconnolly2009-05-182-32/+24
| | | | the SP team.
* Add most of the improvements made to the rename table sheet to the duplicate ↵stuconnolly2009-05-182-21/+28
| | | | table sheet.
* • added the possibility to rename/duplicate functions and proceduresBibiko2009-05-181-60/+185
| | | | - in renameTable: AND in tableView:setObjectValue:forTableColumn:row:; i.e. the user can simply double-click at a table item to rename func/proc as well
* Fix warning.stuconnolly2009-05-181-1/+1
|
* • removed NSLog for logging the mysql serverMajorVersion etc.; it causes a ↵Bibiko2009-05-181-3/+1
| | | | crash if one changes the database
* Show alert when enabling Growl Notifications to let the user know about ↵avenjamin2009-05-181-0/+22
| | | | changing notifications in System Preferences.
* • improved renameTable:Bibiko2009-05-182-16/+54
| | | | | | | | | | | | - support for renaming a view - sheet listens to RETURN key - sheet text field is set the selected name as default - if name == selected name disables Rename button - sheet message according to table type • cleaned action menu - if more than one item is selected hide non-relevant menu items • delete file references for SPScriptEngine.* from Xcode project due to the fact that these files are not found since the last commit