| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
automatic creation methods to only trigger automatic connection (if enabled in prefs) for automatically created windows
|
|
|
|
| |
- Changed "nullValue" to "NullValue"
|
|
|
|
| |
- committing Source
|
|
|
|
| |
current connection details to your favourites provided it doesn't already exist.
|
| |
|
|
|
|
| |
ensure the connection encoding is similarly reset. This addresses Issue #79.
|
|
|
|
| |
renaming a favourite wouldn't update the associated Keychain item. The item is now updated whenever the favourite name is changed.
|
|
|
|
| |
decimal places instead of one)
|
|
|
|
| |
them in sheets instead of modal dialogs. Also performed a general tidy up of TableDocument.[hm].
|
| |
|
|
|
|
| |
• some minor code cosmetics
|
|
|
|
| |
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 completion
|
|
|
|
| |
• ADDED: if caret is inside quotes "" or '' show Apple's default completion list due to the spell checker settings
|
|
|
|
| |
• syntax highlighting updated
|
|
|
|
| |
auto-uppercasing
|
|
|
|
|
|
| |
be a SQL keyword
- e.g. type inta and then press deleteBackward:
|
|
|
|
|
|
| |
of the textStorage
- this fixes also auto-uppercasing for runAll/Current/SelectionQueries
|
|
|
|
| |
- added highlighting for @vars
|
|
|
|
|
|
| |
• 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)
|
|
|
|
| |
textStorageDidProcessEditing: to avoid the deletion of a given selection
|
|
|
|
| |
count.
|
|
|
|
|
|
|
| |
and before performQueries
• improved undo behaviour of auto-uppercasing
• added undo behaviour for pasting queries from favourites & history
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
- this method removes all combining diacritics
-- e.g. façäñど ⇢ facanと after Unicode's NFD
|
|
|
|
| |
- Note: not yet combining-diacritics-safe!
|
|
|
|
| |
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.
|
|
|
|
| |
table/field names if such a name begins with a SQL keyword followed by a non-ASCII letter like äöüéた etc.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- (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
|
|
|
|
| |
NSTextView in Sequel-Pro
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
- e.g. for a German one ` is a dead key (press space to enter `)
-- further checks needed for other non-US keyboards
|
|
|
|
|
|
|
|
|
|
| |
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].
|
|
|
|
|
|
|
| |
- 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"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
• 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
|
|
|
|
| |
- not yet bound to any user interaction
|
|
|
|
| |
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.
|
|
|
|
| |
within a quoted string, and also to no longer autoquote escaped characters within a quoted string. Also adds syntax highlighting to `-enclosed strings. Further thanks to Hans-Jörg Bibiko for these further improvements to his original patch (see http://code.google.com/p/sequel-pro/issues/detail?id=208 )
|
| |
|
|
|
|
| |
- Changed UI in Query Tab for favourite and history popups as well as Run query buttons
|
|
|
|
|
|
|
|
|
|
|
|
| |
a number of items:
- Add menu commands for "Run All" and "Run Selected", with additional keyboard shortcuts - cmd-R for Run all, addressing #137
- Add menu commands for indenting text, outdenting text, and to show autocompletion is available
- Add menu commands to toggle autopairing and autoindenting
- Also hidden menu commands for history navigation and clearing, not hooked in yet (see #207)
- Add a new method to our string additions: lineRangesForRange
- Add "shift right" (indent) and "shift left" (outdent) support to CMTextView, including for multiple lines
|
|
|
|
|
|
|
|
| |
for the original patch (see http://code.google.com/p/sequel-pro/issues/detail?id=208 for full details). Applied with slight amendments.
- Further changes to make CMTextView more standalone and reusable - autopairing and autoindenting can now be enabled/disabled and checked.
- Autopairing and autoindenting moved to app preferences.
|
|
|
|
| |
status view were broken, so changed it to use the same method used by the table info pane.
|
| |
|
|
|
|
| |
to improve editor behaviour.
|
|
|
|
| |
'clearConsole:' method in TableDocument.m.
|
|
|
|
|
|
|
| |
mode, and alter notes setting, and disable unique checks if appropriate. Dumps generated by Sequel Pro will now be able to be imported even if foreign keys etc are present, without throwing errors and aborting import.
- When exporting to an SQL file, wrap the data import commands with table locking and key disabling commands - improves import speeds.
|