aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* - Fix duplicate/parallel connection attempts when double-clicking on the ↵rowanbeentje2010-12-192-4/+5
| | | | | | | | selected favourite in the connection outline view; this addresses Issue #924. - Correctly restore the interface after an SSH connection attempt fails - Prevent SSH connections from being started twice, eg via return key followed by a double click
* - Improve SPLogger to fix log issues when using SPLogger from multiple ↵rowanbeentje2010-12-191-1/+4
| | | | exectuables or frameworks during debug - each of which starts their own instance.
* * Recognize "performance_schema" as system DB (added in 5.5)dmoagx2010-12-183-7/+15
|
* • minor improvements, commenting, cleaning for URL scheme commandsBibiko2010-12-172-28/+19
|
* • improved timing behaviour for a SPDatabaseDocument if it receives a ↵Bibiko2010-12-172-5/+20
| | | | sequence of URL scheme commands
* • allow to some sequelpro URL scheme commands like select a table/db the ↵Bibiko2010-12-172-43/+55
| | | | usage without a specific SP_PROCESS_ID
* • in HTML output window hyperlink references which begin with file:// will ↵Bibiko2010-12-162-2/+8
| | | | | | reveal that file in Finder • in SPCopyTable for tab-delimited row data replace \t by ⇥ and \n by ↵ if they occur in data cells for convenience
* • fixed issue to be able to cancel via ESC the in-cell editing of the ↵Bibiko2010-12-152-2/+3
| | | | tablesListView (and avoiding to call completion for Query Editor) and Bundle Editor's outlineView; in addition the focus remains at the view
* • sequelpro URL scheme supportBibiko2010-12-152-5/+282
| | | | | - added command "SyntaxHighlighting/format" which returns the syntax highlighted string due to the format settings (up to now html and htmlcss) - added command "CreateSyntaxForTables/item1/item2/…/{format}" which returns all CREATE SYNTAX statements of the passed items and if passed syntax highlighted due to format (optional)
* • URL scheme commands:Bibiko2010-12-142-25/+57
| | | | - display some error tooltips and improved the cancellation via ⌘. of the sequelpro://SP_PROCESS_ID@passToDoc/ExecuteQuery command
* • Bundle supportBibiko2010-12-142-5/+7
| | | | | - fixed updating of a Bundle with the same UUID - fixed issue of Output action "Replace Selection"
* • fixed GUI problem for line numbering in Query EditorBibiko2010-12-143-83/+80
| | | | | | • improved Bundle command script editor • sped up a bit the NoodleLineNumbering by pre-calculation of constants used in a loop • fixed issue to detect the scope Query Editor better and safer for Bundle commands
* - Improve handling of table names containing backslashesrowanbeentje2010-12-142-1/+5
|
* • HTML output windowBibiko2010-12-131-3/+43
| | | | | - enabled WebInspector in context menu for debugging - alert the user about JavaScript parsing errors and exceptions with some debug info
* • HTML output windowBibiko2010-12-135-25/+81
| | | | | - a BASH script called via window.system.run() inherits the current shell vars and the associated SP_PROCESS_ID if set to make it easier to run sequelpro URL scheme commands from JavaScript via BASH - improved error handling
* - Remove the CURRENT_TIMESTAMP workaround when saving rows as r3013 removes ↵rowanbeentje2010-12-131-17/+8
| | | | the need for it; this also improves speed slightly as non-changed rows can be skipped much earlier
* - When saving rows in the table content view, only include those fields ↵rowanbeentje2010-12-133-86/+95
| | | | | | | | which have altered values in the UPDATE query, improving speed and reducing the chance of issues when copying queries or altering rapidly changing tables. This addresses Issue #527; thanks to Tobias Mollstam for contributing a patch which prompted this update. - Rename SPTableContent's "addRowToDB" to "saveRowToTable" for clarity, and clean up the code for speed and clarity - Correctly save numeric fields as NULL if the value is blanked
* • made usage of more constants to avoid double-storing stringsBibiko2010-12-129-94/+152
| | | | • fixed JavaScript alert and confirm window in HTML output window
* • HTML output window's JavaScript supportBibiko2010-12-128-12/+120
| | | | | | - changed the approach to make the HTML output window the key window; now it could be done directly via a JavaScript command: window.system.makeHTMLOutputWindowKeyWindow() - added the chance to ask Sequel Pro via JavaScript for run-time shell variables via window.system.getShellEnvironmentForName('shell_var_name') • more usage of constants
* - Fix an issue where after failing to select a database the database ↵rowanbeentje2010-12-111-2/+6
| | | | dropdown stayed disabled
* • the default behaviour is that 'Show HTML Window' will order front the ↵Bibiko2010-12-111-11/+8
| | | | | | window but the focus remains at the caller for convenience but under some circumstances it could be useful to make the HTML window the first responder; now this can be done via JavaScript like: <body onload="window.system.run('_SP_self_makeKeyWindow')">
* • fix table name encoding problem (return name can be NSNull) which can ↵Bibiko2010-12-112-1/+9
| | | | | | arise while SPTablesList updateTables method, • added [theView breakUndoCoalescing]; before inserting the grey completion suggestion due to possible undo exceptions
* • avoided to execute SHOW VARIABLES LIKE 'character_set_database' twice ↵Bibiko2010-12-101-2/+1
| | | | for setting shell variables for Bundle commands
* • Bundle command supportBibiko2010-12-103-5/+64
| | | | | - fix issue for shortcut recorder for Asian language input - finished JavaScript support inside the HTML output window to run BASH system commands via "var returnValue = window.system.run(cmd)" whereby cmd is either a normal string or an array of the dimension of 2 (command, processID)
* • Bundle HTML outputBibiko2010-12-101-1/+2
| | | | - display a JavaScript alert as sheet
* • Bundle HTML outputBibiko2010-12-101-11/+62
| | | | | - fixed init and release issue - started to allow JavaScript (from inside the HTML output window via js-object window.system) to communicate with SequelPro
* • Bundle command supportBibiko2010-12-102-13/+1
| | | | | - renamed menu item - minor code cleaning
* • Bundle commandsBibiko2010-12-095-3/+27
| | | | - added the shell vars for edited field info as well if Field Editor sheet is used
* • Bundle CommandsBibiko2010-12-098-2/+93
| | | | | | - added shell vars SP_CURRENT_EDITED_COLUMN_NAME, SP_CURRENT_EDITED_TABLE for Input Field scoped commands if invoked from a table cell field editor - added shell var SP_TABLE_DATA_SOURCE (content or query) - fixed table row change trigger for custom query tableView
* • added Save Page As and View Source to HTML output window's context menuBibiko2010-12-082-2/+82
|
* • Bundle Editor: removed unnecessary tooltip; replace menu item title ↵Bibiko2010-12-081-2/+2
| | | | | | 'Save' by 'Export' • improved check whether a doc window has a connection or not for running a Bundle command
* • Bundle commandsBibiko2010-12-081-4/+14
| | | | - improvemed error handling esp. if no front most connection window can be found or it's not connected
* • Bundel EditorBibiko2010-12-082-23/+27
| | | | | - improved undo behaviour - fix issue for non-US keyboard layouts
* • Bundle Editor: fix and improvements for wrapping selection into matching ↵Bibiko2010-12-081-0/+10
| | | | chars
* • Bundle EditorBibiko2010-12-084-2/+117
| | | | | - added completion support for shell variables via ESC or F5 or ⌘. - added chance to select something and wrap it into corresponding closing char for ( ' " ` {
* • Bundle commandsBibiko2010-12-086-88/+282
| | | | | | | - reworked invocation via keyboard short-cut to allow to fall back to General scope - added chance to redirect the output action via command exit codes; useful if the normal output is an HTML window but an error occurred, now one can display the error as tooltip for instance - unified file hand-shake file names by one uuid - made usage of more constants and renamed some shell vars
* - Don't specify DEFAULT '' when saving TEXT, BLOB or geometry field types; ↵rowanbeentje2010-12-081-2/+3
| | | | this avoids errors in strict mode
* • added SP_APP_RESOURCES_DIRECTORY as shell variableBibiko2010-12-071-0/+1
|
* • fixed issue for starting General scope commands via keyboard short-cutBibiko2010-12-071-2/+2
|
* • re-init the Bundle tree after not saving (close) the Bundle Editor ↵Bibiko2010-12-072-0/+7
| | | | window in order to remove all not stored data
* • aborting editing of the bundle name outlineView cell before removing the ↵Bibiko2010-12-071-0/+3
| | | | selected bundle in order to avoid a crash
* • Bundle command supportBibiko2010-12-0710-170/+263
| | | | | - fixed issue for commands without assigning a key equivalent - output table meta data about type, type grouping, length, auto_inc, PRI key etc. for Data Table scope commands and sequelpro url scheme command ExecuteQuery
* - Fix behaviour of manually-triggered autocomplete following recent changesrowanbeentje2010-12-071-16/+18
|
* • simplified bundleCommandDispatcher and order out a sorted list of ↵Bibiko2010-12-061-49/+34
| | | | commands with the same key equivalent
* • finished implementation of SPChooseMenuItemDialogBibiko2010-12-069-175/+272
| | | | | • simplified bundle command handling and handling for bundle commands which have the same key equivalent to be able to group similar bundle commands • minor code improvements
* - Add the ability to stop animation of the task indicator, and use it to ↵rowanbeentje2010-12-053-0/+16
| | | | pause the task indicator animation when custom queries are paused and waiting for user interaction after an error
* Apply a tweaked version of a patch by Aaron Linville ↵rowanbeentje2010-12-055-6/+38
| | | | | | | | | | (http://www.linville.org/) to handle table linking in .dot exports on case-insensitive servers: - Adds a new checkbox on the .dot export interface controlling the case sensitivty of link handling - Improve .dot export to use lowercase link references when the option is enabled, fixing .dot exports of table relations of table names with uppercase characters on case-insensitive servers - Check the server's case-sensitivity setting and use that to control the checkbox when using the export interface to select .dot export This addresses Issue #920.
* - Show and hide the custom query info area based on whether custom query ↵rowanbeentje2010-12-043-37/+60
| | | | | | | | | | errors occurred, starting off hidden - Add "errors"/"no errors" prefix to the custom query status area - Add an import cancelled line to the import error list when stopping imports after errors - Fix custom query error highlighting by scrolling to the error - Update localisable strings
* • further work on the choosMenuItem [not yet working]Bibiko2010-12-033-79/+160
|
* • preparations for handling issue if user assigned the same keyboard ↵Bibiko2010-12-033-7/+110
| | | | short-cut on different Bundle commands; if so show a kind of a context menu to pick up one item; this will be done via the new SPChooseMenuItem class which will display a borderless window with a context menu at a passed location