aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* • added sequelpro URL scheme command ↵Bibiko2010-12-211-0/+27
| | | | sequelpro://$SP_PROCESS_ID@chooseItemFromList/a/b/c/d to come up with a menu to let the user choose an item from a list
* • fixed issue for duplicating a Bundle (the new UUID will be saved ↵Bibiko2010-12-212-33/+77
| | | | | | | | immediately) • finished default Bundle update handling: - default Bundles will be copied into AppSupport/SP/Bundles if they don't exist - if a default Bundle was updated - then we have to add the corresponding UUID into the Prefs for key updatedDefaultBundles - while launching SP checks for possible updates - if so the Bundle will be overwritten if the user didn't changed - if user changed it then the user's version will be duplicated as "(user)" with a different UUID and the default tag will be removed - and the new Bundle will replace the old one - i.e. the user can decide whether to incorporate its changes or not - if such user-modified Bundles are found the user will be informed about it otherwise an update works quietly
* • fixes issue while updating a Bundle - move the folder to Trash not only ↵Bibiko2010-12-211-1/+1
| | | | the command.plist
* - Fix split view overlap on the custom query view cuasing lines on ↵rowanbeentje2010-12-214-379/+414
| | | | | | | | | | scrolling/resize; this addresses Issue #929 - Fix split view overlap on the tables list/info pane causing lines on scrolling/resize; this addresses Issue #740 - Add custom resize behaviour for the table content splitview, addressing Issue #543 - Make button bars at the bottom of the window a consistent height - Fix bug with new splitview setup causing tables pane to become narrower with each launch
* • further preparations for default Bundles managementBibiko2010-12-202-12/+51
|
* • preparations for managing default Bundles which will ship with SPBibiko2010-12-205-85/+222
| | | | • improved Bundle Editor to store only modified Bundles
* Address Issue #857:rowanbeentje2010-12-206-3285/+2976
| | | | | | | | - Replace master connection and database view split views with full BWSplitViews so controls appear in Interface Builder; use those settings to apply which panes resize, and any max/min constraints - Remove split view delegate code which is no longer necessary after these changes - Fix a bug marking the master database view split view thumb as applying to all DatabaseDocument splits views, fixing cursor issues - Update Connection Controller/BWToolkit split view delegate setup to fix resizing issues
* - 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-184-8/+17
|
* • 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-145-114/+110
| | | | | | • 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
|
* Add newline to README.stuconnolly2010-12-131-1/+2
|
* • HTML output windowBibiko2010-12-132-3/+45
| | | | | - 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
* * Fix a minor typo (reported by Sérgio Miranda) and update .stringsdmoagx2010-12-123-237/+841
|
* • 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-082-10/+19
| | | | | | '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-087-89/+283
| | | | | | | - 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
* - Fix a race condition in conditions where the network has dropped, ↵rowanbeentje2010-12-072-0/+21
| | | | preventing possible MySQL library crashes
* • 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-073-63/+24
| | | | window in order to remove all not stored data