aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* - 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
* - Update delete table and database warning messages to be more user friendly ↵stuconnolly2009-04-173-20/+31
| | | | | | | | (issue #192). - Also make these messages have a style of critical to indicate the potential loss of data as a result of performing the operation. - Updated Localizable.strings to accommodate new dialog messages.
* - Add defaults for the SelectLastFavoriteUsed and LastFavoriteIndex keysrowanbeentje2009-04-171-1/+1
| | | | | | - Add the ability to configure the maximum number of items in the query history - Added appropriate minumums (0) and maximums in prefs for max history items, LIMIT count, connection timeout value
* - Implement line numbering for CMTextView:rowanbeentje2009-04-164-0/+563
| | | | | | - Add an implementation of NoodleLineNumberView, by Paul Kim. Slightly tweaked to remove markers. - Add to CMTextView (to enable it for other CMTextView uses, hook up the scrollView outlet to the containing scroll view)
* - The connection sheet Edit button now opens the favourites list in ↵rowanbeentje2009-04-165-41/+75
| | | | | | | preferences and selects appropriately; this resolves the initially planned changes for Issue #232. - Move updateDefaultFavoritePopup in SPPreferenceController to a public method and set TableDocument to update it when adding favorites
* - Amend the connection sheet to add an "Add to favorites" button, remove ↵rowanbeentje2009-04-163-91/+50
| | | | | | | | the + and - buttons, and re-enable double-click to connect. This addresses the majority of Issue #232, although the "Edit" button is not yet functioning. - Fix a bug where if an autoconnection failed, connection was automatically reattempted - Add a name field to the connection sheet, and display the name in the window title in place of user@host if set
* - Update the connection sheet favourites view to bind to the preferences ↵rowanbeentje2009-04-153-52/+25
| | | | | | | directly to pick up updates more quickly - Improve favouritesAlreadyExists check to respond correctly if the connection database, host or user is blank
* - Tweak favorites/keychain upgrade routine to only fire once, even if going ↵rowanbeentje2009-04-151-2/+3
| | | | back and testing older releases/revisions
* Fix for issue #173. Change export filename date format to YYYY-MM-DD and ↵stuconnolly2009-04-151-2/+2
| | | | remove '_dump' and spaces from filename.
* • syntax highlighting and completion list updatedBibiko2009-04-142-5/+8
|
* • syntax highlighting and completion list updatedBibiko2009-04-142-48/+90
|
* - When adding a new row, insert the pref-set value for NULL if the default ↵rowanbeentje2009-04-141-1/+1
| | | | value is NULL (fixes Issue #229)
* - Ensure pref upgrades only happen once even if reverting back to older ↵rowanbeentje2009-04-141-2/+2
| | | | versions for testing/usage
* - Add a unique ID to each favourite, which is also used when interacting ↵rowanbeentje2009-04-142-23/+86
| | | | | | | | ith the keychain. This resolves the last part of Issue #186 and associated problems (ie multiple connections via a tunnel with only the port differing - now can store different passwords). - Duplicate function in prefs now also duplicates the password - Fix a few places which created a blank keychain entry when no password was present
* - Tweak the favorite button tooltips to refer to 'favorite's instead of 'row'srowanbeentje2009-04-131-0/+3
| | | | | | - Add the keyboard shortcuts advertised on the button tooltips to the buttons - When duplicating a favorite, append " Copy" to the name to ensure the keychain password isn't automatically shared and therefore accidentally changed or deleted for both when one favorite is edited.
* - Save password changes when making changes in favorites tab in the ↵rowanbeentje2009-04-132-0/+82
| | | | | | | | preferences window - Remove the now unnecessary (and never implemented) "Save" button below the favorites editor - Hook up the Remove and Duplicate favorite buttons to the correct Enable binding
* - fixed bug where indexes not showing.avenjamin2009-04-121-1/+1
|
* - Rewrite prefs remapping section for clarity and shortness (thanks ↵rowanbeentje2009-04-121-55/+26
| | | | avenjamin for the suggestion!)
* - Correctly set default editor font to Monaco 10rowanbeentje2009-04-122-3/+139
| | | | | | - Restore pref upgrade methods, make compatibible with both lastUsedVersion and LastUsedVersion keys - Add upgrade method to map old pref keys to new pref keys, delete old keys
* Implement very basic Growl enable/disable preference. Still need to add more ↵stuconnolly2009-04-112-16/+18
| | | | complex notification rules.
* Change 'Donation' URL.stuconnolly2009-04-111-1/+1
|
* - Tweak code to use the new UseKeepAlive preference valuerowanbeentje2009-04-113-7/+9
| | | | | | | - Update a few pref checks which were using the old pref values still - Resort preference defaults to match layout in prefs, restore old default values for some keys - Restore missing defaults for new editor properties
* Added printing support via WebKit WebViewbamse162009-04-1125-11/+2602
|
* - Make MainController the application delegate, and override standard ↵rowanbeentje2009-04-103-3/+33
| | | | automatic creation methods to only trigger automatic connection (if enabled in prefs) for automatically created windows
* - picked wrong rev during mergeavenjamin2009-04-101-1/+1
| | | | - Changed "nullValue" to "NullValue"
* - part 4 of merge from 'avenjamin' branch into trunk.avenjamin2009-04-1018-825/+1546
| | | | - committing Source
* Implementation of enhancement described in issue #75. You can now add the ↵stuconnolly2009-04-102-0/+49
| | | | current connection details to your favourites provided it doesn't already exist.
* That shouln't be there. Copy/paste error.stuconnolly2009-04-101-4/+3
|
* - If a connection is reestablished automatically by the mysql libraries, ↵rowanbeentje2009-04-092-4/+20
| | | | ensure the connection encoding is similarly reset. This addresses Issue #79.
* Fix for issue #190. As the connection sheet tableview uses bindings, ↵stuconnolly2009-04-092-1/+33
| | | | renaming a favourite wouldn't update the associated Keychain item. The item is now updated whenever the favourite name is changed.
* - Improve time interval granularity for times below 10 seconds (show two ↵rowanbeentje2009-04-091-0/+6
| | | | decimal places instead of one)
* Make table operation messages more user friendly (issue #192) and display ↵stuconnolly2009-04-092-150/+251
| | | | them in sheets instead of modal dialogs. Also performed a general tidy up of TableDocument.[hm].
* • removed debug infoBibiko2009-04-091-1/+0
|
* • syntax highlighting synchronized according to the completion listBibiko2009-04-092-17/+261
| | | | • some minor code cosmetics