aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* - 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)
* • FIXED in runAllQueries: deselect a given selection before calling ↵Bibiko2009-04-071-0/+1
| | | | textStorageDidProcessEditing: to avoid the deletion of a given selection
* Fix for issue #211: Table content count incorrectly reporting selected row ↵stuconnolly2009-04-071-8/+16
| | | | count.
* • improved auto-uppercasing for: pasting queries from favourites & history ↵Bibiko2009-04-072-7/+28
| | | | | | | and before performQueries • improved undo behaviour of auto-uppercasing • added undo behaviour for pasting queries from favourites & history
* • FIXED bug in doTranspose: if [textView string] === "abc|d" Bibiko2009-04-071-1/+1
|
* - Select 'drop tables' option for MySQL export by default, to improve ↵rowanbeentje2009-04-064-23/+68
| | | | | | | backup-type process and more closely match mysqldump, and correctly drop views - Consistently set and restore the encoding appropriately for SQL import/export, and export to UTF8 files to correctly store all characters. Goes a good way towards addressing Issue #116.
* • FIXED: "Limit from" NSStepper retains the old value if the new value ↵Bibiko2009-04-062-2/+28
| | | | | | | would be greater than the total number of rows of the current table • FIXED: if the user enters into "Limit from" a number which is greater than the total number of rows of the current table, show the last pref's "limitRowsValue" number of rows instead • FIXED: if the user has already filtered the current table by specifying "Limit from" > 1 and afterwards the user applied a new filter the filtering will be repeated for LIMIT 0, "limitRowsValue" if nothing was found