| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
| |
separate HTML webkit window
|
|
|
|
|
|
|
| |
• added commands: SelectDocumentView, ReloadContentTableWithWHEREClause
• fixed typos
• tried to queue incoming commands
|
|
|
|
| |
• added sequelpro scheme commands: SelectTables, ReloadTablesList, ReloadContentTable
|
|
|
|
| |
stdout is redirected
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
temp file which will be read after the bash process finished; this approach avoids nasty pipe blocking due to block size etc. and speeds up reading in large amount of data
|
|
|
|
|
|
|
|
| |
since it works in a sheet only and due to future extensions
• fixed init in SPEditSheetTextView
• Bundle Editor: minor bug fixing
|
| |
|
|
|
|
|
|
|
| |
- 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)
|
|
|
|
|
|
|
|
|
|
|
|
| |
- fixed saving and duplicating Bundles if Bundle contains other files/folder
- fixed adding a new Bundle
- added gui tooltips
• SPTooltip
- if no location was passed and first responder isn't a textView show the tooltip at the mouse location
• CopyTable
- show tooltip invoked by a Bundle command always at mouse location
• Content / Custom Query Table
- suppress tooltip of cell content if another tooltip (mainly displayed by a Bundle) is visible [shoudl be improved since iterating through the window list isn't so good]
|
|
|
|
| |
• fixed selector name in CopyTable for Bundle Editor input action
|
|
|
|
| |
• generalised [NSString runBashCommand...]
|
|
|
|
| |
- input, input fallback, output implemented plus validation
|
| |
|
|
|
|
| |
the chance to drag a bundle from the table view to Finder which creates a complete foo.spBundle bundle folder for exporting a Bundle easily
|
| |
|
|
|
|
|
|
| |
- improved Data Table input commands SelectedTableRowsAsTab/Csv/SqlInsert, TableRowsAsTab/Csv/SqlInsert
• fixed issue for Copy with Column Names: removed ?\020last appended tab in header line
|
|
|
|
|
| |
- further minor improvements
- make usage of more constants
|
|
|
|
|
|
| |
- further simplifications and centralizations
- runBashCommandWithEnvironment: now it can execute each script command whose first line begins with #!/... natively
- added some more shell variables
|
|
|
|
|
| |
- fixed appending of the entire sqlText after parsing
- removed replacing of / for better wrapping since it'll break the syntax highlighting
|
|
|
|
|
|
|
| |
causing crashes on certain files (lines 420,422)
- Improve SQL wrapping
|
|
|
|
|
| |
- 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
|
|
|
|
| |
- note : still some sql files can be opened only sometimes - reason can't pin down so far
|
|
|
|
|
|
|
|
|
| |
- used embedded icon image via cid and mime type image/tiff
- sql view now wraps long lines
- improved general stability
- QL now runs on main thread
note: there're still some issues for which QL crashed mostly due NSAutoReleasePool releases - more investigations are needed; most of this issues are releted to long lines, icon caching, releasing ...
|
|
|
|
|
|
|
| |
when viewing SQL files - this fixes certain crashers, addressing Issue 896.
- Tweak a misspelling in the templates
|
| |
|
|
|
|
| |
- addresses issue 896
|
|
|
|
| |
• added URL scheme constants
|
|
|
|
| |
- not yet visible
|
| |
|
|
|
|
| |
unnecessarily. This improves speed slightly by reducing interface interaction, and preserves state better during actions, fixing bugs like Issue #574.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
last used favorite.
|
| |
|
| |
|
|
|
|
| |
well as the method to migrate existing favorites data. Currently not yet active.
|
|
|
|
|
|
|
|
|
|
| |
SP_ALL_DATABASES, SP_ALL_TABLES, SP_ALL_VIEWS, SP_ALL_FUNCTIONS, SP_ALL_PROCEDURES, SP_RDBMS_VERSION, SP_RDBMS_TYPE [hard-coded yet ;)]
• some minor improvements to editor Bundle support
• fixed issue while running a bash command that the SP GUI doesn't block
• added first sequelpro url scheme functionality
- sequelpro://$SP_PROCESS_ID/passToDoc/SelectTable/a_name
- sequelpro://$SP_PROCESS_ID/passToDoc/SelectDatabase/a_db_name
- sequelpro://$SP_PROCESS_ID/passToDoc/SelectDatabase/a_db_name/a_table_name
|
|
|
|
|
|
| |
scheme support
- introduced an unique process ID for each called bash command which will be set for the current SPDatabaseDocument and passed as environment shell variable SP_PROCESS_ID to ensure that such a scheme command will be executed by the correct SPDatabaseDocument, to avoid security issues ie one can authenticate such a sheme command, to enable url scheme process communication based on file shake-hands etc.
|
|
|
|
| |
doesn't start editing the selected favorite. This will also allow behaviour to be further customised. Fixes issue #892.
|
| |
|
|
|
|
|
|
|
| |
temp file SP_BUNDLE_INPUT_FILE since stdin and shell vars are difficult to handle for a large amount of data
• fixed AppleScript class definition since it was renamed
• added support for the URL scheme 'sequel' to allow to interact with Sequel Pro eg via bash: open 'sequelpro://executequery=select%205' [not yet implemented ;)]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
functions inside the Custom Query Editor
- such commands will be stored as foo.spBundle in SP's Application Folder/Bundles
- up to now they will be displayed inside the context menu as submenu Bundles which can be by itself contain further submenus specified via 'category' key
- to each command the user can assign a tooltip and a keyboard short-cut; if user chose a standard SP short-cut it will be ignored
- commands will be executed as bash commands ie it can also be written in any script language
- the bash process inherits several environment variables like SP_BUNDLE_PATH, SP_SELECTED_TEXT, SP_SELECTED_DATABASE, SP_SELECTED_TABLE, SP_CURRENT_QUERY, SP_CURRENT_LINE, SP_CURRENT_WORD
- the bash command's result can be processed as follows: insertAsText, insertAsSnippet, replaceContent, replaceSeletion (with fallbacks to word, line, query, entire content), showAsTextTooltip, showAsHTMLTooltip
- up to now all installed bundles are reload for each menuForEvent: [this is tendative!]
- each spBundle command has a scope to allow to the user to specify for which SP element a command can be useful; up to now only the scope 'editor' is supported; further scopes could be 'data table' for context menus of mysql table data (Content or Custom Query - including info of selected lines, table data in different formats, etc.)
- foo.spBundle files can be installed simply by double-clicking at it (remember up to now Bundles will be reloaded while opening the editor's context menu!)
two tiny examples for testing: http://wwwstaff.eva.mpg.de/~bibiko/dt/temp/spBundleExamples.zip
|