| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
default output action was None
• renamed constants to avoid confusing
|
|
|
|
|
| |
- fixed updating of a Bundle with the same UUID
- fixed issue of Output action "Replace Selection"
|
|
|
|
|
|
| |
• 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
|
|
|
|
| |
• 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
|
|
|
|
| |
- added the shell vars for edited field info as well if Field Editor sheet is used
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
| |
- added output action "Show as HTML"
• Bundle HTML output
- finished implementation
- added print support (eg for printing reports)
- added text size resizing
- added link support
- added new window support
|
|
|
|
|
|
|
| |
command text view
• made each Bundle in/ouptut file name unique to allow to run different Bundle commands at the same time
• fixed minor issues for Bundle Editor
|
|
|
|
|
|
| |
- further simplifications and centralizations
- runBashCommandWithEnvironment: now it can execute each script command whose first line begins with #!/... natively
- added some more shell variables
|
|
|
|
|
| |
- added skeleton for scope datatable support
- removed unnecessary code
|
|
|
|
|
|
| |
- started to populate the main menu item Bundles [still hidden]
- enabled key equivalents for NSTextViews
- distinguishes between Query Editor scope and text input scope via menu item validation inside main menu Bundles
|
|
|
|
|
|
|
| |
- outsourced code to SPAppController to centralise Bundle support and make it available for different scopes (query editor, input text fields, data tables etc.)
- store bundle info scope-based
- added input text field support
- made usage of constants
|
|
|
|
| |
- fixes issue in 873
|
|
|
|
|
|
| |
selected lines one line up or down by using the short-cuts ^⌘↑/↓
- fixes issue 873
|
|
|
|
| |
- it selects the entire current line even if it's wrapped
|
|
|
|
|
|
|
|
| |
- Prepare for the implementation of PDF and HTML export by hiding the export options box for export types that don't need it.
- Fix some spacing issues on the export dialog.
- Create a new SPCategoryAdditions header that is included in the apps precompiled header, making all additions available to all classes.
- Update strings files.
|
| |
|
| |
|
| |
|
|
|
|
| |
from last commit r1824 since that part should be moved maybe into SPTableTextFieldCell
|
|
|
|
|
|
|
|
| |
table columns are reordered by the user
• initial transition to insert via - up to now - ^⇧N a [NSNull null] object into the table's data source directly without parsing a possible @"NULL" string
- it's a first test
- and works only for CMCopyTable subclassed tables
|
|
|
|
|
|
|
| |
release builds, including a large number of 64bit compatibility upgrades and tweaks
- Upgrade RegexKitLite to 3.3
|
| |
|
|
|
|
| |
issues such as the one fixed in revision 1419. All future preference usage should be done so using these constants.
|
|
|
|
|
|
|
| |
- it inserts the value set in the preferences
• a NULL value will be displayed greyed in the Custom Query result
• make usage of NSArrayObjectAtIndex() in TableContent for tableView:willDisplayCell
- and negated the NULL checking for column (is NULL allowed)
|
|
|
|
|
| |
- will be used mainly for auto-matching column names while csv import
• fixed bug for in/decreasing the font size by using the two-finger gesture on a trackpad if a textView has a selection
|
|
|
|
|
|
|
|
|
|
|
| |
SPTextViewAdditions
- that feature should be added by subclassing NSTextView
• fixed focus setting of editSheet
• fixed general issue if SP tries to execute a query which is longer than max_allowed_packet
- now it reconnects after changing max_allowed_packet (if it's editable)
- the user will be informed via a log entry about that change
- the new max_allowed_packet size will be valid during the current session; after reconnection to that db the default size will be used
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
while holding ⌘ path) to SPTextViewAddition
- two finger zooming gesture is disabled for NSTableView cells
- i.e. all NSTextViews including NSTableView cells inherit these feature
• simplified QuickLookFormat IBActions
- added bin/text storing type to each action
• QuickLook animation set to SP's window middle point
• fixed issue that while having an image in editSheet an attribute change (font/size) in the editTextView destroyed the image data
• fix to allow again drag&drop an image to editSheet
• hide text/image/hex segment controll and QuickLook pull down button if user chose multipleLineEditingButton for non-blob fields
• disabled NSLog of print result in TableDocument
|
| |
|
| |
|
| |
|
|
|
|
|
| |
• prepared code to work with autoHelp
• improved getRangeForCurrentWord (fix for " |a")
|
|
|
|
|
|
|
| |
correspond to the current MySQL server version as well as allowing the lookup to be performed without actually having the keyword highlighted. Thanks to Hans-Jörg for suggesting these.
- Credit Alex King for providing the original documentation lookup code.
|
| |
|
|
|
|
|
| |
- this method removes all combining diacritics
-- e.g. façäñど ⇢ facanと after Unicode's NFD
|
|
|
|
| |
- Note: not yet combining-diacritics-safe!
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- (NSRange)getRangeForCurrentWord
- (IBAction)selectCurrentWord:(id)sender;
- (IBAction)selectCurrentLine:(id)sender;
- (IBAction)doSelectionUpperCase:(id)sender;
- (IBAction)doSelectionLowerCase:(id)sender;
- (IBAction)doSelectionTitleCase:(id)sender;
- (IBAction)doDecomposedStringWithCanonicalMapping:(id)sender;
- (IBAction)doDecomposedStringWithCompatibilityMapping:(id)sender;
- (IBAction)doPrecomposedStringWithCanonicalMapping:(id)sender;
- (IBAction)doPrecomposedStringWithCompatibilityMapping:(id)sender;
• BOUNDED these IBAction to mainmenu.xib
|
|
NSTextView in Sequel-Pro
|