aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* • improved completion in CQ's text viewBibiko2009-05-024-43/+93
| | | | | | | - added database names - fixed logic for detecting if caret is inside quotes - if caret inside backticks show only db, table, column names • outsourced syntax highlighting into a method for further improvements
* • disabled Find/Replace Dialog in the EditSheet (for now)Bibiko2009-05-021-3/+77
| | | | - the edit sheet runs modal and the user cannot interact with the Find/Replace dialog
* • MySQL Help - simplified code for goBack/Forward buttons because it is ↵Bibiko2009-05-011-8/+2
| | | | supported in the helpWebView policy delegate method
* • connected Find/Replace Dialog to Custom Query's text viewBibiko2009-05-011-12/+49
|
* - Fix indentation behaviour when there are spaces after as well as before ↵rowanbeentje2009-04-301-1/+9
| | | | the cursor on the current line; now indents to the correct level, instead of increasing indentation incorrectly
* • added "MySQL Help" to the MainMenu > Help submenuBibiko2009-04-306-329/+160
| | | | | | - it shows the MySQL Help TOC of the front most tableDocument mysql connection, i.e. each tableDocument has its own Help window (due to the fact that the Help is version specific), and makes it the keyWindow - changed the way for getting the mySQLversion into the CustomQuery; now a new tableDocument set it via [customQueryInstance setMySQLversion:foo]; the other way was to unsafe regarding to get the version if MySQL Help was invoked via MainMenu • Help window and Create Table Syntax window will be released while closing the tableDocument
* Fix for issue #241. Change number formatter maximum to 100 and allow 3 ↵stuconnolly2009-04-301-13/+11
| | | | integers instead of only 2.
* • changed context menu item in CQ's textview to support "MySQL Help"Bibiko2009-04-306-37/+58
| | | | | • 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-296-181/+228
|
* Slightly increase the with of the new segmented control to make it look less ↵stuconnolly2009-04-291-154/+32
| | | | squashed.
* • MySQL HelpBibiko2009-04-293-227/+381
| | | | | - change help target buttons into a NSSegmentedControl - fixed minor typo
* • MySQL HelpBibiko2009-04-292-16/+77
| | | | | | | - 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 Help GUI fix; now webVIew and box don't interfere (due to snap to ↵Bibiko2009-04-281-12/+9
| | | | IB's grid mechanism)
* • 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
* Various MySQL doc viewer interface changes.stuconnolly2009-04-281-162/+106
|
* • MySQL Help:Bibiko2009-04-282-22/+14
| | | | | | - 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-283-409/+416
| | | | | | | - 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 ConsoleShowHelps key (TRUE) to the default plistBibiko2009-04-281-0/+2
|
* • added "Show HELP statements" to MySQL ConsoleBibiko2009-04-284-31/+197
|
* • 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-272-12/+49
| | | | | • 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-273-294/+814
| | | | | | | | | - 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-273-164/+432
| | | | | | - 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!
* - Change disk image compression from UBZO to UBDZ - 10.4+, which is fine, ↵rowanbeentje2009-04-251-1/+1
| | | | and ~10% smaller distribution file
* • added a prototype to support an Help view for the current word in the ↵Bibiko2009-04-244-17/+451
| | | | | | 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-232-100/+30
| | | | | | | 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-233-23/+64
|
* • synchronized gear menu titles for "Remove table/view" according to ↵Bibiko2009-04-233-10/+142
| | | | | | 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-222-29/+65
| | | | - 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;
* Clean up print cssbamse162009-04-221-9/+1
|
* 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
* • corrected the url for Hans-Jörg BibikoBibiko2009-04-221-1/+2
|
* Add Shortcut key for Selecting Database: CMD + SHIFT + Tmattlangtree2009-04-221-22/+18
|
* - 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