aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* • changed context menu item in CQ's textview to support "MySQL Help"Bibiko2009-04-305-37/+56
| | | | | • prepared code to work with autoHelp • improved getRangeForCurrentWord (fix for " |a")
* • MySQL HelpBibiko2009-04-304-13/+31
| | | | | | - updated autoHelp, now it recognizes cursor movement via mouse • if the chunk in CQ's textview is too large remove all attributes • some minor code cosmetics
* • MySQL HelpBibiko2009-04-302-43/+73
| | | | | - refactored and cleaned contextMenuItems for the webview - help-html-template will be loaded only once
* • MySQL HelpBibiko2009-04-292-11/+61
| | | | | - first trial to implement an "autoHelp" function This function calls showHelpForCurrentWord (or selection) 1 sec after stopping typing and shows the Help in the Help window if the caret is not inside of quotes. To invoke it set autohelpEnabled=YES in CMTextView.m's awakeFromNib method.
* • MySQL HelpBibiko2009-04-291-2/+3
| | | | - fixed: escaped single quotes ' in the search string for HELP 'foo' (search selection)
* Add a menu item separator between the default menu items and MySQL search items.stuconnolly2009-04-291-0/+1
|
* • MySQL Help refactoringBibiko2009-04-293-156/+167
|
* • MySQL HelpBibiko2009-04-292-25/+33
| | | | | - change help target buttons into a NSSegmentedControl - fixed minor typo
* • MySQL HelpBibiko2009-04-291-15/+76
| | | | | | | - managed contextual menus in webview -- added for selection menu "Search in MySQL Help" and "Search in MySQL Documentation" - fixed keyboard short-cuts in webview - corrected tooltip for "Web" button in GUI
* • MySQL Help:Bibiko2009-04-281-1/+1
| | | | - fix for link detection of [HELP foo] if foo contains a \n
* • MySQL HelpBibiko2009-04-281-2/+8
| | | | | - fixed logic to detect whether db connection supports HELP statement - improved the while typing search, e.g. type in the Help search field "sel"
* • MySQL HelpBibiko2009-04-281-7/+17
| | | | | - if the connected database doesn't support the HELP statement or the admin deleted the help tables in mysql the search falls back to the online search according to the connected mysql version - changed slightly the example css output style
* • MySQL Help:Bibiko2009-04-281-17/+9
| | | | | | - simplified code for getting mySQLversion (this eliminates complier warning too) - change HTML/CSS output slightly for keyword header - changed back/forward tooltip to be consistent
* • MySQL Help improved:Bibiko2009-04-282-8/+54
| | | | | | | - added history: go back/forward - window now has auto save name MYSQL_HELP_WINDOW - disabled contextual menu for safety reasons (temporarily) - some minor stuff
* • added "Show HELP statements" to MySQL ConsoleBibiko2009-04-282-3/+26
|
* • some minor cosmetics for the MySQL HelpBibiko2009-04-281-14/+14
| | | | • added NSBeep() if nothing found in the current-page-search
* • improved MySQL Help GUI resize behaviourBibiko2009-04-271-5/+41
| | | | | • fixed some minor issues to detect http links in help descriptions • first steps to make SQL statements and see [HELP %] clickable
* • MySQL Help improvedBibiko2009-04-272-219/+315
| | | | | | | | | - added help target (online, in current page, in MySQL help ⌥⌘O,P,M) - GUI support for go back/forward (not yet implemented) - ⌘G, ⇧⌘G for find next/prev in current page - ⌘F selects search field; ⌘+ and ⌘- support - online search is version sensitive
* • MySQL Help improvedBibiko2009-04-272-17/+174
| | | | | | - better HTML view, list topics for multi-matching keywords - for test cases invoke it by CTRL+H in the Custom Query textView - GUI is really tentative!
* • added a prototype to support an Help view for the current word in the ↵Bibiko2009-04-243-2/+86
| | | | | | Custom Query text view - work in progress!
* - Add support for click and click-and-drag selection when the line number ↵rowanbeentje2009-04-242-1/+67
| | | | view receives mouse events. Enables easy selection of lines.
* - Ensure that the structure view is always selected on program launch, ↵rowanbeentje2009-04-231-5/+1
| | | | | | | whatever the last view used in IB is - Move setAutoEnablesItems:NO from the CustomQuery file to the menu definition in the .xib
* - Clean up some edge cases with "Run current"/"Run previous", and rework ↵rowanbeentje2009-04-231-66/+76
| | | | the code to make it a bit clearer. Builds on r614.
* • updated completion list and added core functionsBibiko2009-04-232-8/+333
| | | | | • improved separator list for word list completion coming from the text view • minor update for syntax highlighting
* Replace in console, new lines (\n) with spacebamse162009-04-231-2/+2
| | | | | | Default extension for query log file save is .sql
* • ADDED createViewSyntaxPrettifier method to a NSString to make the syntax ↵Bibiko2009-04-234-19/+74
| | | | | | a bit more readable - used for show/copy create view syntax as well as for a MySQL dump
* • improved menu item title logic for the gear menu and main menu according ↵Bibiko2009-04-231-13/+27
| | | | | | to table types (table/view) • moved code for validation of the gear menu items to validateMenuItem:
* • ADDED support to duplicate viewsBibiko2009-04-232-18/+47
|
* • synchronized gear menu titles for "Remove table/view" according to ↵Bibiko2009-04-232-2/+39
| | | | | | selected table/view types • disable/enable gear menu item "Duplicate table/view" according to the number of selected tables/views => for > 1 selected items disable the menu item
* • FIXED: now it's possible to remove view(s) in the TableListBibiko2009-04-221-10/+39
| | | | - todo: change the gear menu item title "Remove table" accordingly
* • FIXED added a ; to the separator list for gathering all words used in ↵Bibiko2009-04-221-1/+1
| | | | the text view for completion to avoid suggesting foo and foo;
* Fix for issue #238. Convert the console message to uppercase when performing ↵stuconnolly2009-04-221-2/+2
| | | | the SELECT/SHOW prefix check.
* • CHANGED: if an error occurs in a series of queries the user will be ↵Bibiko2009-04-222-32/+209
| | | | | | | | | | | | | | | asked to "Stop", "Continue" or "Run All" - Stop: the execution will stop at the erroneous query (if other queries would follow "Execution stopped!" will be prompted in the error message field) - Continue: continues the execution but shows that alert for a next error - Run All: runs all following queries regardless of possible errors • improved the error selection - fixed the issue for Run Current/Previous (even for duplicates) - if no error line is given it selects the first query which caused an error entirely - due to the localization of mysql error messages changed the regexps for catching the: -- line number to /([0-9]+)$/ because the line number always should be outputted at the end -- "near message" to / '(.*?)' / (important the last space because after that space the line number will be outputted) -- further checks are needed
* - Fixed an issue causing a crash with large SQL imports. NSLog was dumping ↵avenjamin2009-04-222-2/+14
| | | | the sql file and was crashing due to the size of the file. Line is commented out in non-Debug builds.
* • slightly improved "Run Previous" detectionBibiko2009-04-211-4/+26
| | | | - now it recognizes if the line is empty after the caret position; if not "Run Current" is set
* • FIXED: synchronized "Run Current/Selection/Previous" button appearance ↵Bibiko2009-04-211-2/+12
| | | | with the the corresponding gear menu item
* • added - (unsigned int) getLineNumberForCharacterIndex:(unsigned int)anIndex;Bibiko2009-04-212-0/+9
|
* • make - (unsigned)lineNumberForCharacterIndex:(unsigned)index ↵Bibiko2009-04-212-1/+2
| | | | inText:(NSString *)text; public to avoid double-coding
* - Add support for "Run previous" in the custom query text field; this ↵rowanbeentje2009-04-212-13/+59
| | | | behaviour for the "Run current"/"Run selection" button is triggered if the text caret is only separated by whitespace from the last query, to allow easy running of a just-typed query
* - Save the state of the "Show timestamps" and "Show SELECT/SHOW statements" ↵rowanbeentje2009-04-201-6/+6
| | | | options for the console in the user preferences
* - If filters are active and adding messages to the console, ensure the ↵rowanbeentje2009-04-201-0/+2
| | | | save/clear buttons are enabled
* - Changed console window to match style of main window.avenjamin2009-04-202-3/+7
| | | | | | - New bottom bar. - Both checkboxes moved into gear button with menu. - Clear Console button has new custom image
* • added selectLineNumber:x to CMTextView to be able to select the line xBibiko2009-04-204-3/+74
| | | | | | | | | • added error highlighting of the first mentioned error - if a "near message" error is provided select that message otherwise select the entire error line and scrolls to it - if no "at line x" and no "near message" is given do nothing - if a selection was given and the user pressed "runAll" destroy the selection before error checking; if no error was found reconstruct that selection (to be able to distinguish between "runSelection" and "runAll" plus selection) * changed slightly the trigger for syntax highlighting/auto-uppercasing for better scrollToRange behaviour
* - Build upon documentation lookup by looking up exact manual pages that ↵stuconnolly2009-04-193-9/+25
| | | | | | | correspond to the current MySQL server version as well as allowing the lookup to be performed without actually having the keyword highlighted. Thanks to Hans-Jörg for suggesting these. - Credit Alex King for providing the original documentation lookup code.
* Add a slightly modified patch to lookup up the selected text in the custom ↵stuconnolly2009-04-192-6/+51
| | | | query editor in the MySQL online documentation. Code contributed via issue #236.
* Typo.stuconnolly2009-04-191-1/+1
|
* Fix build warnings complaining about duplicate definitions of display: in ↵stuconnolly2009-04-181-2/+2
| | | | NSView.h and DOMCSS.h (via Webkit.h). Fixed by defining the connect sheet's status text to be of type NSTextField as opposed to the generic id type.
* Make SPPreferenceController the delegate of the favorites manager splitview ↵stuconnolly2009-04-181-25/+35
| | | | and implement maximum and minimum split view sizes.
* - Ensure that arrays and dictionaries from prefs which are being upgraded ↵rowanbeentje2009-04-181-2/+2
| | | | are mutable
* - Rework the query console logic. This fixes a memory leak caused by a ↵rowanbeentje2009-04-182-135/+162
| | | | | | | mutableCopy when toggling SELECT/SHOWS; it allows the SELECT/SHOWS toggle and text filters to stack together whatever order they are changed in; and it allows both filtering and hiding SELECT/SHOWs to be applied 'live', ie messages added to the console will have the same logic applied to them. - Clean up trailing whitespace in the file