aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* • renamed some shell variables for Bundle commandsBibiko2010-11-224-4/+62
| | | | • added sequelpro scheme commands: SelectTables, ReloadTablesList, ReloadContentTable
* • run a normal bash script without #! first line as /bin/sh file whereby ↵Bibiko2010-11-211-5/+12
| | | | stdout is redirected
* • added line numbering and current line highlighting to Bundle Editor's ↵Bibiko2010-11-218-40/+204
| | | | | | | 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
* • bash command which runs as NSTask will write STDOUT automatically to a ↵Bibiko2010-11-211-21/+36
| | | | 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
* • added SPBundleCommandTextView and use it instead of SPEditSheetTextVIew ↵Bibiko2010-11-208-28/+449
| | | | | | | | since it works in a sheet only and due to future extensions • fixed init in SPEditSheetTextView • Bundle Editor: minor bug fixing
* • added help url to SP wikiBibiko2010-11-191-1/+1
|
* • Bundle EditorBibiko2010-11-195-30/+140
| | | | | | | - 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)
* • Bundle EditorBibiko2010-11-196-28/+208
| | | | | | | | | | | | - 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 tiny issues for Bundle EditorBibiko2010-11-192-6/+10
| | | | • fixed selector name in CopyTable for Bundle Editor input action
* • further work on Bundle EditorBibiko2010-11-187-69/+273
| | | | • generalised [NSString runBashCommand...]
* • Bundle EditorBibiko2010-11-185-21/+440
| | | | - input, input fallback, output implemented plus validation
* • further progress on Bundle EditorBibiko2010-11-172-7/+68
|
* • Bundle Editor; added further functionality to Bundle Editor including ↵Bibiko2010-11-173-99/+747
| | | | 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
* • further work on Bundle EditorBibiko2010-11-174-195/+720
|
* • work on Bundle Editor GUIBibiko2010-11-161-83/+1933
| | | | - note: it makes usage of the new ShortcutRecorder.ibplugin
* - Add the NewBSD-licensed ShortcutRecorder.framework to the project, for ↵rowanbeentje2010-11-1625-1/+550
| | | | | | | initial use in the bundle editor (not implemented yet). Includes the .ibplugin within the framework. - Update localisable strings
* • Bundle SupportBibiko2010-11-163-30/+165
| | | | | | - 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
* • Bundle supportBibiko2010-11-163-37/+61
| | | | | - further minor improvements - make usage of more constants
* • added SPConstants.m source file to QLgenerator target in order to be ↵Bibiko2010-11-161-0/+2
| | | | able to make usage of constants in categorial addition files
* • Bundle supportBibiko2010-11-167-102/+123
| | | | | | - further simplifications and centralizations - runBashCommandWithEnvironment: now it can execute each script command whose first line begins with #!/... natively - added some more shell variables
* • sql QL Bibiko2010-11-161-2/+0
| | | | | - fixed appending of the entire sqlText after parsing - removed replacing of / for better wrapping since it'll break the syntax highlighting
* - Attempt to improve QuickLook crashes by using a pool around the area ↵rowanbeentje2010-11-161-2/+20
| | | | | | | causing crashes on certain files (lines 420,422) - Improve SQL wrapping
* • Bundle supportBibiko2010-11-165-117/+256
| | | | | - added skeleton for scope datatable support - removed unnecessary code
* • Bundle supportBibiko2010-11-155-85/+138
| | | | | | - 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
* • Bundle supportBibiko2010-11-1510-164/+561
| | | | | | | - 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
* • Quicklook - some minor correctionsBibiko2010-11-151-15/+15
| | | | - note : still some sql files can be opened only sometimes - reason can't pin down so far
* • Quicklook supportBibiko2010-11-1512-81/+89
| | | | | | | | | - 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 ...
* - Tweak "Save history..." help text in the Query History popup on the ↵rowanbeentje2010-11-151-12/+128
| | | | Custom Query view. This addresses Issue #897
* - Switch to explicit memory management of strings in the QuickLook plugin ↵rowanbeentje2010-11-153-10/+17
| | | | | | | when viewing SQL files - this fixes certain crashers, addressing Issue 896. - Tweak a misspelling in the templates
* The favorites controller needs to load favorites into a mutable dictionary.stuconnolly2010-11-122-3/+3
|
* • tried to improve the release behaviour of the QuickLook Preview GeneratorBibiko2010-11-121-16/+31
| | | | - addresses issue 896
* • added constants for Bundle Files and EditorBibiko2010-11-122-0/+72
| | | | • added URL scheme constants
* • added skeleton for Bundle EditorBibiko2010-11-127-9/+1275
| | | | - not yet visible
* • improved export of a query result via sequelpro:// scheme commandBibiko2010-11-121-10/+61
|
* - Tweak master view loading on table change, avoiding clearing active views ↵rowanbeentje2010-11-121-5/+9
| | | | unnecessarily. This improves speed slightly by reducing interface interaction, and preserves state better during actions, fixing bugs like Issue #574.
* - Tweak connection/reconnection to use locking, to prevent race condition ↵rowanbeentje2010-11-121-1/+7
| | | | issues when reconnecting after a network loss causing a drop in connection and proxy at the same time.
* • some sequelpro://...@passToDoc/ExecuteQuery/csv improvementsBibiko2010-11-114-24/+58
|
* Remove debug from previous commit.stuconnolly2010-11-111-3/+0
|
* Make sure the root favorite has a name key and value. Also, update string files.stuconnolly2010-11-117-6/+13
|
* More constant use.stuconnolly2010-11-111-7/+7
|
* Add SSL favorite constants and use them in the connection controller.stuconnolly2010-11-113-70/+104
|
* Refactor the favorite node class and fix auto-selection of the default or ↵stuconnolly2010-11-115-51/+59
| | | | last used favorite.
* Commenting and move SPFavoriteNode within Xcode's logical structure.stuconnolly2010-11-112-2/+7
|
* • some tiny progress for sequelpro://$SP_PROCESS_ID/ExecuteQueryBibiko2010-11-111-2/+57
|
* More work on the new favorites controller, including loading and saving as ↵stuconnolly2010-11-117-16/+271
| | | | well as the method to migrate existing favorites data. Currently not yet active.
* • added to Bundle shell command these variables:Bibiko2010-11-117-24/+118
| | | | | | | | | | 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
* • some improvements for sequelpro://process_id/command/param1/param2 url ↵Bibiko2010-11-114-2/+61
| | | | | | 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.
* Add a new outline view to be used by the connection view so hitting enter ↵stuconnolly2010-11-105-44/+120
| | | | doesn't start editing the selected favorite. This will also allow behaviour to be further customised. Fixes issue #892.
* Add a new class template for the favorites controller.stuconnolly2010-11-1011-28/+205
|
* • improved Bundle support; now it the passed input string will be saved as ↵Bibiko2010-11-104-54/+90
| | | | | | | 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 ;)]