aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* • Bundle EditorBibiko2010-11-235-7/+61
| | | | | | | - 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
* • Bundle EditorBibiko2010-11-2311-532/+410
| | | | | | | - 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
* - Abstract SPDatabaseDocument's Connection/.spf saving/loading ↵rowanbeentje2010-11-237-585/+804
| | | | | | | | | | 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
* • added some convenience functionality to bundle editor's command ↵Bibiko2010-11-222-0/+272
| | | | textview: shift right/left, newline is aware of indention, (un)comment single line due to first line bound to the same short-cuts as for Custom Query editor but without any GUI buttons
* * enabled sequel:// url scheme commands from inside the Bundle HTML output ↵Bibiko2010-11-223-12/+26
| | | | window
* • revert to previous rev due to by mistake removed methodBibiko2010-11-221-0/+20
|
* • Bundle EditorBibiko2010-11-229-32/+212
| | | | | | | | | | - 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
* • added skeleton for displaying the result of Bundle commands in a ↵Bibiko2010-11-222-0/+109
| | | | separate HTML webkit window
* • sequelpro url scheme supportBibiko2010-11-224-5/+66
| | | | | | | • added commands: SelectDocumentView, ReloadContentTableWithWHEREClause • fixed typos • tried to queue incoming commands
* • 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-217-36/+172
| | | | | | | 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-206-8/+407
| | | | | | | | 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-194-9/+126
| | | | | | | - 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-195-19/+91
| | | | | | | | | | | | - 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-186-62/+208
| | | | • generalised [NSString runBashCommand...]
* • Bundle EditorBibiko2010-11-184-5/+383
| | | | - 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-172-42/+290
| | | | 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-173-2/+201
|
* • 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
* • 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-154-13/+132
| | | | | | - 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-151-65/+57
| | | | | | | | | - 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 ...
* - Switch to explicit memory management of strings in the QuickLook plugin ↵rowanbeentje2010-11-151-8/+15
| | | | | | | 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-124-1/+91
| | | | - 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.
* • 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-116-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-111-0/+5
|
* • 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