aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* Protect against potentially over-releasing.stuconnolly2010-12-281-1/+1
|
* When opening the add index sheet, the initial suggested field should be one ↵stuconnolly2010-12-271-1/+23
| | | | that is not already indexed. This completes the implementation of issue #928.
* • added first Default Bundle and procedure to copy them into ↵Bibiko2010-12-271-1/+1
| | | | BUILD_PRODUCT/Contents/SharedSupport done in build.sh while compiling
* When adding a new index, exclude fields that have already been added from ↵stuconnolly2010-12-261-2/+6
| | | | the drop down list. Part of issue #928.
* * Provide more context for Bundle Editor localizable messages (leaves one ↵dmoagx2010-12-263-94/+100
| | | | issue with genstrings, might need to set "-q")
* When adding a new index, as well as checking for an existing primary key ↵stuconnolly2010-12-251-4/+18
| | | | also check for a composite primary key. Part of issue #928.
* • implemented undeletion of default BundlesBibiko2010-12-225-15/+102
| | | | • made usage of constants
* - Fix issues with user management and GRANT OPTION - when applying all ↵rowanbeentje2010-12-221-42/+72
| | | | | | | privileges (or removing all privileges) at once, the server treated the list of all options as 'GRANT ALL', instead of GRANT ALL WITH GRANT OPTION. - Update localisable strings files
* • fixed issue form redirecting output actions via exit codes if Bundle's ↵Bibiko2010-12-217-21/+24
| | | | | | default output action was None • renamed constants to avoid confusing
* • 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-212-1/+30
| | | | | | | | | | 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-204-85/+218
| | | | • improved Bundle Editor to store only modified Bundles
* Address Issue #857:rowanbeentje2010-12-204-36/+10
| | | | | | | | - 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-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