aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* • 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
* - Second part of r498: ensure that SQL imports are read in as UTF8, and ↵rowanbeentje2009-04-083-8/+62
| | | | queries are sent as UTF8, if possible; this correctly preserves encoding data when working with files export from Sequel Pro or via mysqldump, and attempts to fall back to the current connection encodings for other files. This should resolve Issue #116.
* • keyword update for syntax highlightingBibiko2009-04-082-8/+349
| | | | • keyword update for completion
* • FIXED: unique completion listBibiko2009-04-081-13/+34
| | | | • ADDED: if caret is inside quotes "" or '' show Apple's default completion list due to the spell checker settings
* • simplified paste: (esp. for undo)Bibiko2009-04-082-4/+3
| | | | • syntax highlighting updated
* • ADDED “TRUNCATE” as SQL keyword for syntax highlighting resp. ↵Bibiko2009-04-081-1/+2
| | | | auto-uppercasing
* • FIXED if deleteBackward: avoid auto-uppercasing if resulting word would ↵Bibiko2009-04-082-3/+10
| | | | | | be a SQL keyword - e.g. type inta and then press deleteBackward:
* • FIXED auto-uppercasing bug if SQL keyword is found at the absolute end ↵Bibiko2009-04-081-5/+10
| | | | | | of the textStorage - this fixes also auto-uppercasing for runAll/Current/SelectionQueries
* • syntax highlighting updatedBibiko2009-04-083-108/+148
| | | | - added highlighting for @vars
* • optimized syntax highlighting a bitBibiko2009-04-073-248/+311
| | | | | | • added syntax highlighting for numeric values • changed syntax highlighting for 'order' and 'group' to 'order by' resp. 'group by' (useful also for visual syntax checking while typing) • fixed the issue to highlight a keyword if that keyword is the name a variable (e.g. @set := 1)