aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* - 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
* • ADDED - (IBAction)doRemoveDiacritics:(id)senderBibiko2009-04-062-0/+23
| | | | | - this method removes all combining diacritics -- e.g. façäñど ⇢ facanと after Unicode's NFD
* • ADDED: - (IBAction)doTranspose:(id)sender;Bibiko2009-04-052-0/+58
| | | | - Note: not yet combining-diacritics-safe!
* Fix an issue where by the show/hide console menu item was not being updated ↵stuconnolly2009-04-053-12/+41
| | | | when the toolbar item was used. Also add more interface validation by only enabling the 'Clear Console' menu and toolbar items when there is at least one message in the console.
* • tentative fix to suppress auto-uppercasing/syntax highlighting of ↵Bibiko2009-04-051-2/+2
| | | | table/field names if such a name begins with a SQL keyword followed by a non-ASCII letter like äöüéた etc.
* • ADDED to SPTextViewAdditions:Bibiko2009-04-053-147/+190
| | | | | | | | | | | | | | - (NSRange)getRangeForCurrentWord - (IBAction)selectCurrentWord:(id)sender; - (IBAction)selectCurrentLine:(id)sender; - (IBAction)doSelectionUpperCase:(id)sender; - (IBAction)doSelectionLowerCase:(id)sender; - (IBAction)doSelectionTitleCase:(id)sender; - (IBAction)doDecomposedStringWithCanonicalMapping:(id)sender; - (IBAction)doDecomposedStringWithCompatibilityMapping:(id)sender; - (IBAction)doPrecomposedStringWithCanonicalMapping:(id)sender; - (IBAction)doPrecomposedStringWithCompatibilityMapping:(id)sender; • BOUNDED these IBAction to mainmenu.xib
* • ADDED: SPTextViewAdditions for adding global functionality to each ↵Bibiko2009-04-052-0/+55
| | | | NSTextView in Sequel-Pro
* - Fix an invalid reference to a missing pulldown_arrow image causing ↵rowanbeentje2009-04-055-11/+30
| | | | | | | | invalid log entries - Set the focus to the custom query text field when appropriate when switching to the custom query tab - Add the ability to set the custom query editor font, save and load it from preferences, and no longer reset the font on queries
* • FIXED: allow to enter dead keys esp. for non-US keyboardsBibiko2009-04-041-1/+3
| | | | | - e.g. for a German one ` is a dead key (press space to enter `) -- further checks needed for other non-US keyboards
* - Change the method of creating a new table to be the same as that when ↵stuconnolly2009-04-042-252/+273
| | | | | | | | | | creating a new database by presenting a sheet, allowing the user to specify the table name and encoding. - Allowing the user to specify the table encoding partially addresses issue #161. - Implementing interface validation in the form of not allowing table creation without a name also removes the need for lots of error checking and presenting these errors to the user. - In addition to the above the ability to specify the initial field name, type and length (if applicable) of a new table can now be done on the same sheet, but is yet to be implemented. - Also did a general tidy up of TablesList.[hm].
* • FIXED upper case of e.g. 'order_' issueBibiko2009-04-041-18/+23
| | | | | | | - in addition fixed issue of typing 'order_' and then deleteBackward: event [ticket 281 comment 2] -- solved by looking at the end of SQL keyword token instead at begin of it => further discussion "undo behaviour"
* • REARRANGED keyDown: for further changesBibiko2009-04-031-115/+278
| | | | | | | | | | | | | | | | | • ADDED the following methods and tentative keyboard support: - (NSRange)selectCurrentLine ^L - (NSRange)selectCurrentWord ^W - (void)copyAsRTF ^C - (void)doSelectionUpperCase ^U - (void)doSelectionLowerCase ^⇧U - (void)doSelectionTitleCase ^⌥U - (void)doDecomposedStringWithCanonicalMapping - (void)doDecomposedStringWithCompatibilityMapping - (void)doPrecomposedStringWithCanonicalMapping - (void)doPrecomposedStringWithCompatibilityMapping -- there's no need to add keyboard shortcuts for the last four methods (but these are very useful while dealing with Unicode characters - see “Unicode noramization”) • some minor code cosmetics
* • ADDED copyAsRTF: to preserve syntax highlighting while copyingBibiko2009-04-031-0/+19
| | | | - not yet bound to any user interaction
* - Add the ability for CMTextView to automatically capitalise SQL keywords ↵rowanbeentje2009-04-035-22/+81
| | | | in the text view, currently off by default but saved from preferences. Thanks again to Hans-Jörg Bibiko for this patch; see Issue #218.