aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* • 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
* • improved Bundle key equivalent handling and enabled to display all ↵Bibiko2010-12-033-4/+120
| | | | short-cuts in menuItem even there're same short-cuts are assigned
* - Fix maximum table row resetting, which caused a bug when reloading a ↵rowanbeentje2010-12-021-0/+4
| | | | table with a saved page number when previously on a table with no rows. This addresses Issue #912.
* • forgotten to rename method signatureBibiko2010-12-021-1/+1
|
* • Bundle CommandBibiko2010-12-026-26/+228
| | | | - for Data Table scope added the chance to specify the handling of BLOB fields (if underlying data are kind of NSData or GEOMETRY) as 'Exclude', 'Include', 'save as image file - the data will be saved as tif file and the path will appear in the table', 'save as file - the data will be saved as raw dat file and the path will appear in the table'; for GEOMETRY fields if set to 'save as {image} file' the representation will be saved as PDF file otherwise the WKT string appears
* • added cancel operation images and set them to SPActivityTextFieldBibiko2010-12-021-8/+8
|
* - Fix graph language/DOT export hanging - this addresses Issue #916.rowanbeentje2010-12-023-48/+54
| | | | | | - Fix graph language/DOT export progress bars and feedback - Fix graph language/DOT export of table relations to correctly link tables based on foreign keys/constraints
* • Bundle CommandsBibiko2010-12-018-34/+117
| | | | | - make sure that each HTML output window will be released - if a triggered command will outputs its result in an HTML window invoke it only if the HTML output window is already open; this enables the user to "switch on/off" such a trigger
* • Bundle Editor / Bundle commandsBibiko2010-12-015-22/+62
| | | | | | | - enabled trigger support to run a command if db, table, or table row was changed - HTML output window will be ordered out without making it the key window to remain the first responder • SPTableTExtFieldCell - forgotten to remove expansionFrameWithFrame: method
* • progress on trigger support for Bundle commandsBibiko2010-12-014-1/+83
|
* • improve error handling for url scheme commandsBibiko2010-12-012-1/+14
|
* • Bundle Editor : ESC while bundle file renaming aborts editingBibiko2010-12-012-0/+18
| | | | • after closing HTML output window reset windowUUID to allow to come up with a new window for the same command from same caller instance
* • added chance to cancel an activity - up to now a running Bundle command ↵Bibiko2010-12-0115-59/+552
| | | | | | - from the Activities pane (toggable via double-clicking at Table Information header); it's still tentative and the correct cancel icon will follow asap • added notification system for updating the activities pane (SPActivitiesUpdateNotification)
* - Clean up placeholder removal code, and improve speed of full clean slightlyrowanbeentje2010-12-012-36/+48
| | | | | - Fix deletion of text after the caret when moving through autocomplete suggestion lists
* • fixed issue for saving spf files if sslCertificateFileLocation is nilBibiko2010-11-304-183/+192
| | | | | | | | | • SPConnectionController - assign favoritesTable to the correct new class SPFavoriteOutlineView (not a NSTableView) - allowed empty selection for SPFavoriteOutlineView [ this fixes mainly the issue to open spfs files ] - moved double-click action to outlineView:shouldEditTableColumn:tableColumn item: to suppress double-click at a group header - re-enabled navigation through the fav outlineView even if the password field is empty - now if the field is empty the user can simply press TAB key move the focus to that field - this fixes issue 799 • minor code cleaning
* - Rework insertCommonPrefix to insertAutocompletePlaceholder, implementing ↵rowanbeentje2010-11-304-51/+89
| | | | | | | | | a more Mac-like behaviour: insert a faded placeholder for the currently selected autocomplete item. - Update the autocomplete placeholder when the autocomplete dropdown selection is changed - Clean up methods for removing placeholders, and ensure the placeholder is always removed (fixes issues with pasting with a placeholder visible, etc) - When the Help window is closed, switch off AutoHelp - this will aid in supporting those users who accidentally switch on AutoHelp and then can't figure out how to switch it off, resulting in returning windows.
* • Bundle commandsBibiko2010-11-307-18/+93
| | | | | | - before closing a db doc window kill all commands associated to this doc - suppress an error message if a bash command was killed via code 9 - added a temporary and preliminary table view to display command activities (double-click at TABLE INFO header to toggle and refresh it - only for testing purposes - it shows all commands started from that db doc and a General command names)
* • Bundle commandsBibiko2010-11-298-6/+131
| | | | | - register running commands for each SPDatabaseDocument or if the command runs via 'General' for NSApp delegate - kill all running commands before SP will be terminated
* • Bundle EditorBibiko2010-11-295-7/+86
| | | | | - fixed an init font setting problem (thanks to Rowan) - further work on triggers