aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Don't display the connect sheet's scroll view's horizontal scroller.stuconnolly2009-05-111-141/+74
|
* • removed log for giving up line numberingBibiko2009-05-111-3/+0
|
* • fix syntax highlighting for PROCEDUREBibiko2009-05-111-2/+2
|
* Update appcast to use full www.sequelpro.com address.mattlangtree2009-05-091-1/+1
|
* • added drag 'n' drop functionality to CMTextView to allow to drag a file ↵Bibiko2009-05-082-107/+294
| | | | | | | | | | path onto the Custom Query editor in order to insert the file content - ⌘ + drag inserts the file name - if file's content size > 1MB it asks for confirmation - it tries to auto-detect the file's encoding (stable for UTF8/16/32, Latin1, MacRoman) - it tries to insert only plain text files (by using of the UNIX 'file -I' command) - error messages etc. are written to the console.log + NSBeep
* • fix for issue 253: syntax highlighting didn't recognize a \r as line endingBibiko2009-05-081-6/+6
|
* • added "Query Editor" preference pane for setting colors, font, and modes ↵Bibiko2009-05-0710-279/+2080
| | | | | | | | | | | | | | | | | (from the CQ's action gear which are still customizable there) - in addition to the syntax colors it's now possible to change the fore/background color as well • added "Update Help while typing" feature in the Custom Query editor • first trial to improve syntax highlighting for large text in the Custom Query editor - if the text is larger than 10k the highlighting is performed only for the visible text area ±bias (3.5k) - if the user changes the visible area the highlighting follows time-delayed 500ms) to assure user interaction - a test with a 45MB SQL dump worked (of course a tick slowier) -- todo: improve prev/current query detection (mainly the SQLParser) - if the text size is > 6MB the completion list won't show words from the text due to parsing time - if the text size is > 6MB the line numbering will be disabled due to performance issue (improvements should follow) • some tiny clarification changes in the syntax highlighting code • some minor code cosmetics
* Issue 233: Option to copy field headings from result panelsbamse162009-05-055-50/+419
| | | | | | Also replaced some NSLog with DLog/ALog
* Added credits to Matt Gemmellbamse162009-05-031-2/+2
|
* Update copyright notices for GUI Design, remove outdated information.mattlangtree2009-05-031-6/+1
|
* • 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
|