| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
• added missing key isDefaultBundle to Default Bundles
|
|
|
|
| |
• if current NSTextView is not set to NSLeftTextAlignment show a SPTooltip at mouse location until we found a way the calculate the caret position correctly since [NSLayoutManager glyphRangeForCharacterRange:] returns a wrong NSRect
|
| |
|
| |
|
| |
|
|
|
|
| |
option if the Application support bundles folder does not exist; addresses issues where default bundles are updated in the hard disk root
|
|
|
|
| |
to emixam for pointing it out)
|
| |
|
|
|
|
| |
- perform a check only if the revision number is greater as the last recorded one, in other words if an updated version of Sequel Pro was installed and runs for the very first time
|
|
|
|
| |
BUILD_PRODUCT/Contents/SharedSupport done in build.sh while compiling
|
|
|
|
| |
issue with genstrings, might need to set "-q")
|
|
|
|
| |
• made usage of constants
|
|
|
|
|
|
| |
default output action was None
• renamed constants to avoid confusing
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
the command.plist
|
| |
|
|
|
|
| |
• improved Bundle Editor to store only modified Bundles
|
| |
|
|
|
|
| |
usage without a specific SP_PROCESS_ID
|
|
|
|
| |
- display some error tooltips and improved the cancellation via ⌘. of the sequelpro://SP_PROCESS_ID@passToDoc/ExecuteQuery command
|
|
|
|
|
| |
- fixed updating of a Bundle with the same UUID
- fixed issue of Output action "Replace Selection"
|
|
|
|
|
| |
- 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
|
|
|
|
| |
• fixed JavaScript alert and confirm window in HTML output window
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
- renamed menu item
- minor code cleaning
|
|
|
|
|
|
|
| |
- 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
|
| |
|
|
|
|
|
| |
- 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
|
|
|
|
| |
commands with the same key equivalent
|
|
|
|
|
| |
• 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
|
| |
|
|
|
|
| |
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
|
|
|
|
| |
short-cuts in menuItem even there're same short-cuts are assigned
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
|
|
|
|
|
| |
- 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)
|
|
|
|
|
|
| |
- 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)
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
- Improve 10.5 compatibility when clearing menus ( http://spbug.com/l/1508 , http://spbug.com/l/1829 , http://spbug.com/l/1818 )
- Fix a possible crash when updating database lists
- Update localisable strings
|
|
|
|
| |
- SP asks for Update a bundle if a bundle with the same UUID is already installed
|
|
|
|
|
|
| |
- added shell var SP_ICON_FILE
- a bundle command which outputs its result as HTML window will write the data in the same window, ie it won't be create each time a new window; the window will be identified by the bundle's uuid
- fixed issue while saving a short-cut in keybinding.dict format, now it ignores possible diacritics - maybe bug in ShortcutRecorder for method [aRecorder keyCharsIgnoringModifiers] since in the objectValue it's set correctly
|
|
|
|
| |
- some GUI improvements and tooltips for outline view
|
|
|
|
|
|
|
| |
- fixed gui arragement
- suppress error message if no ouptut key found in command.plist
• added sequelpro://ID@/passToDoc/SelectTableRows/1/3/4/.. scheme command which selects given rows in current table if a SPCopyTable is the first responder; not valid given rows are ignored
• added SP_SELECTED_ROW_INDICES as passed shell variable for Data Table scope
|
|
|
|
|
|
|
| |
- bailed out from approach to assign more than one scope to Bundle commands; now there're three scopes available: Input Field (incl. Query Editor since it only differs in current_query and insert_as_snippet which falls back to current_line and tooltip message), Data Table, and General (which means that these commands are available app-wide)
- moved "Disable Command" to scope popup menu since it's related
- Input Field and Data Table commands will be shown as submenus in the Bundles main menu; all General commands will be added without creating a special submenu (only Category submenus will be generated)
- fixed and simplified several issues
|
|
|
|
|
|
|
|
|
|
| |
functionality into state setting and getting functions, and refactor old commands to use them
- Fix restoring of content sort column order and selected indexes
- Add menu items for duplicating current tab (as an alternate), opening selected table in a new tab, or opening selected database in a new tab
- Clean up file menu by making Connection/Session "Save as..." menu items alternates
- Update localisable strings
|
|
|
|
| |
window
|
|
|
|
|
|
|
| |
• added commands: SelectDocumentView, ReloadContentTableWithWHEREClause
• fixed typos
• tried to queue incoming commands
|
|
|
|
|
|
|
| |
- minor fixes
- command textView is now a SPEditSheetTextView for better undo behaviour and font storing in the Prefs if changed
- if Bundle Editor is already opened ^⌥⌘B brings it to the front
• the installation of spTheme and spBundle files (via eg double-clicking at them in Finder) now moves the files to SP's application folder (if successful)
|