aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Lots more printing support enhancements, including:stuconnolly2010-03-1311-97/+353
| | | | | | | | | - The ability to print the extended table information view using a new template. - The inclusion of NULL values diaplyed as the user's NULL value placeholder when printing a table's sturcture and indexes. - If enabled in the user's preferences, the inclusion of vertical gridlines in the table views. - Dynamic calculation of page margins based on the paper size of the selected printer as opposed to using hard coded values. - Lots of other little style enhancements.
* • fixed completion strings for DELIMITERBibiko2010-03-121-2/+4
|
* Rework the running of custom queries, improving thread safety by splitting ↵rowanbeentje2010-03-122-114/+149
| | | | out table drawing and status/error drawing onto their own methods. This should address http://log.sequelpro.com/view/28 , http://log.sequelpro.com/view/45 and http://log.sequelpro.com/view/48
* Various printing support enhancements, including:stuconnolly2010-03-1214-238/+488
| | | | | | | | | - Splitting out all printing methods to SPPrintController which is category of TableDocument. - The ability to print table relations. - If present the inclusion of table indexes when printing a table's source. - If the user has use monospaced fonts enables, then the print out's tabular data will be in a monospaced font. - Lots of other style enhancements, including page headings and sections headings.
* • append () after completion of a stored procedureBibiko2010-03-111-2/+2
|
* - Improve SPTextAndLinkCell by not following links when the starting click ↵rowanbeentje2010-03-111-0/+3
| | | | was outside the link cell. Thanks to Brian Dunagan for this improvement ( http://www.bdunagan.com/2010/02/25/create-itunes-link-arrows/ )
* - Use a modified connection timeout for the keepalive ping timeout, topping ↵rowanbeentje2010-03-111-5/+13
| | | | | | | out at 30 seconds to prevent sleeping threads - Improve keepalive timer interaction
* Include the current table name in printing support. Fixes issue #501.stuconnolly2010-03-102-87/+104
|
* Fix the enabling/disabling of the 'Table' menu items as a result of adding ↵stuconnolly2010-03-101-50/+52
| | | | the 'Filter Tables...' item. Note, that should ideally be moved to the menu item validation method to prevent future problems.
* Add a 'Keyboard Shortcuts' menu item to the 'Help' menu which opens the page ↵stuconnolly2010-03-105-239/+62
| | | | http://www.sequelpro.com/docs/Keyboard_Shortcuts.
* • auto-completionBibiko2010-03-101-0/+7
| | | | | - suppress completion window if only one item is found and the typed word is equal to it (case-insensitively) - fixed memory leak
* Uppercase various menu items.stuconnolly2010-03-102-924/+109
|
* - Ensure endTask is called on the main thread, fixing various thread-safety ↵rowanbeentje2010-03-101-0/+6
| | | | issues including http://log.sequelpro.com/view/40 and http://log.sequelpro.com/view/21
* - Fix the "Import" button for the "Do you really want to load a [large] SQL ↵rowanbeentje2010-03-101-0/+1
| | | | file" dialog if no imports have been performed in the session
* - If using an untitled connection (eg non-spf), default to saving queries ↵rowanbeentje2010-03-101-0/+2
| | | | to the global favourites list
* Update FeedbackReporter framework:rowanbeentje2010-03-101-0/+0
| | | | | | - Catch certain exception edge cases causing crashes (these exceptions are currently still not logged, but better than a crash) - Capture and submit the last 10k of console log rather than the first 10k
* • forgot to shorten SP_ASLIST_ALL_FIELDS in CustomQuery as wellBibiko2010-03-091-1/+1
|
* • shortened SP_ASLIST_ALL_FIELDS_FROM_SELECTED_TABLE to ↵Bibiko2010-03-092-53/+110
| | | | | | SP_ASLIST_ALL_FIELDS since it's too long • some GUI improvements for Query Fav Editor's "Insert placeholder"
* • for auto-completion suppress the caret moving inside `foo`|Bibiko2010-03-091-1/+1
|
* • changed key shortcuts for Show Completion Lists to ⌥⌘1,2,3 since ↵Bibiko2010-03-091-64/+15
| | | | ^1,2,3 doesn't close an already displayed completion list window (instead an 'h' will be inserted??)
* Fix an exception in the user manager caused by sorting the users list by ↵stuconnolly2010-03-093-82/+147
| | | | making the user manager KVO compliant for the sort descriptors array. Also, add a bunch of comments and general tidy up on SPUserManager.m.
* • added $SP_ASLIST_ALL_FIELDS_FROM_SELECTED_TABLE as pre-defined snippet listBibiko2010-03-097-78/+438
| | | | | • added Show Completion List submenu to the Custom Query Editor gear menu with the items all dbs ^1, all tables ^2, all fields ^3 • if dbStructure is available show these pre-defined completion lists with all info like the completion it does, otherwise fall back to plain style
* • fixed bug in snippet list - now it inserts the chosen item correctly ↵Bibiko2010-03-093-28/+277
| | | | | | | | | | | | | after narrow-down the list • added chance to invoke the snippet list in fuzzy search mode by the template ¦¦a¦b¦¦ • added new snippet placeholders: ¦$SP_ASLIST_ALL_TABLES¦ displays a list of all tables incl. views from the current db ¦$SP_ASLIST_ALL_DATABASES¦ displays a list of all dbs from the current connection This makes it possible to write eg a query fav: USE ¦¦$SP_ASLIST_ALL_DATABASES¦¦; to search via fuzzy mode for a db and to use it
* • improved tooltip behaviour of SPNarrowDownCompletion's tableViewBibiko2010-03-096-2/+342
| | | | • added "Filter Tables…" ^⌥⌘F" to main menu > Table which sets the focus to TablesList's search field if visible
* • fixed some minor GUI issues for SPNarrowDownCompletion windowBibiko2010-03-093-9/+28
| | | | - added oneColumn mode for dict and list view to decrease the window's width
* - Update feedbackreporter framework to better cope with exception backtrace ↵rowanbeentje2010-03-091-0/+0
| | | | generation errors. This should address http://log.sequelpro.com/view/35
* - Update MySQL client libraries to 5.1.44, incorporating all changes since ↵rowanbeentje2010-03-094-10/+10
| | | | | | | previous 5.1.36 - Update MySQL client build script for snow leopard compatibility, and to build the client libraries as a three-way binary (x86/ppc/x86_64) in keeping with the rest of Sequel Pro
* • corrected function arg list for MATCHBibiko2010-03-081-1/+1
|
* • added possibility to define a snippet via ¦a¦b¦ – such a snippet ↵Bibiko2010-03-085-41/+106
| | | | | | | | will be shown as completion list with the items “a” and “b” • set auto-completion default Pref setting to true • fixed some auto-completion issues like do not insert common prefix automatically and some others • applied ¦a¦b¦ template to CompletionTokens.plist and some tiny corrections and improvements
* • Select Content Filter ^⌘FBibiko2010-03-082-3/+18
| | | | | - select first textfield for 1 or 2 argument(s); if no argument field is selectable select compareField - ensure the focus setting by calling "makeContentFilterHaveFocus" via performSelector:afterDelay
* • Favorite Query Editor Bibiko2010-03-084-32/+332
| | | | - added the possibility to insert defined placeholder via a popup button similar to Content Filter Editor to give an hint to user what's possible
* Until we can find a better way of doing this and to prevent a conflict with ↵stuconnolly2010-03-081-5/+7
| | | | the query favourites menu popup, change the 'Filter Content...' menu item's shortcut to control+cmd+F.
* When cancelling a table sort operation remember to end the threaded task to ↵stuconnolly2010-03-081-0/+1
| | | | ensure the bezel and spinner are removed from view. Fixes issue #570.
* Tidy up the add/remove schema privileges buttons.stuconnolly2010-03-081-55/+50
|
* Fix user manager splitview maximum and minimum sizes.stuconnolly2010-03-083-17/+33
|
* Various user manager improvements including a new outline view contextual menu.stuconnolly2010-03-084-149/+285
|
* Remove semi-colons from user manager queries as they're not needed.stuconnolly2010-03-081-5/+5
|
* Add a new 'Filter Content...' menu item to the 'Table' menu that switches to ↵stuconnolly2010-03-086-50/+168
| | | | the content view and places the focus on the filter field.
* • auto-completionBibiko2010-03-081-1/+1
| | | | - make sure it will only be invoked if there're pending changes to the text buffer -this fixes issue that auto-completion was invoke by eg Run All
* • outsourced keyword completion and function completion lists to ↵Bibiko2010-03-0812-1030/+1367
| | | | | | | | | | | CompletionTokens.plist • SPQueryController manages keyword and function completion lists now; this reduces the memory usage a bit and the list is easier to edit • added pre-defined function argument snippets to CompletionTokens.plist (auto-generated from mysql's HELP) • added Preference option for Editor whether a function completion should insert () and if found the function argument snippets automatically or not - last ) will be linked as autopaired then • changed behaviour for wrapping a selection into `"'() etc. - now it re-selects the original selection after wrapping and in addition last wrap character is now marked as autopair-linked • improved logic for popping up the auto-completion list
* Rework MCPConnection for greater thread safety:rowanbeentje2010-03-082-61/+87
| | | | | | | | - The delegate is now triggered for connectionLost: on the main thread, as this action will probably trigger a GUI update; this addresses http://log.sequelpro.com/view/10 . - Connection proxy disconnects are now triggered on the main thread - Connection checks are now made via a pthread'd ping in a loop, removing the reliance on SIGALRM which may hop thread execution back to the main thread when called on another thread. The new approach is cleaner but does rely on a loop with a sleep. This will hopefully improve the disconnect/retry/reconnect crashes.
* - Move history popup construction to the main thread, fixing crashes ↵rowanbeentje2010-03-082-2/+12
| | | | probably caused by non-thread-safe menu interaction. This addresses http://log.sequelpro.com/view/19
* - Fix an exception when table source edit errors occur and the user ↵rowanbeentje2010-03-071-1/+1
| | | | requests changes be discarded; this addresses http://log.sequelpro.com/view/16
* - Fix exception on duplication of table source rows that haven't been saved ↵rowanbeentje2010-03-072-4/+8
| | | | | | | yet; this addresses http://log.sequelpro.com/view/23 - Clean up fix in r1859
* - When editing favourites from the connection screen, fix an exception when ↵rowanbeentje2010-03-071-1/+1
| | | | no selection is active. This addresses http://log.sequelpro.com/view/14
* • function completionBibiko2010-03-071-2/+7
| | | | | - do not insert () after a function if inserted string ends with ) - no snippet insertion for () - only locate the caret inside ()
* - Add a check for valid columns - this addresses ↵rowanbeentje2010-03-071-0/+1
| | | | http://log.sequelpro.com/view/25
* • added to CustomQuery's CMTextView the option to set auto-completion ↵Bibiko2010-03-0710-50/+556
| | | | | | on/off, settable in Prefs and gear menu - if inserted completion is marked as function it inserts snippet (${}1:) so far; function parameters as snippets follows soon
* Add a hidden preference to display or hide the MySQL server version in the ↵stuconnolly2010-03-074-2/+6
| | | | window title.
* • set CMTextView temporarily to editable:YES if the tab stops width is ↵Bibiko2010-03-061-0/+6
| | | | changed to avoid exceptions