aboutsummaryrefslogtreecommitdiffstats
path: root/Source
Commit message (Collapse)AuthorAgeFilesLines
* • 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
* • 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-103-36/+99
| | | | 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-1010-26/+191
|
* • improved Bundle support; now it the passed input string will be saved as ↵Bibiko2010-11-102-52/+78
| | | | | | | 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 ;)]
* • first implementation to allow the user to write and use self-definable ↵Bibiko2010-11-102-7/+151
| | | | | | | | | | | | | | | | | | 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
* • further preparations for user-definable bundle supportBibiko2010-11-102-20/+104
|
* - Alter connection details to be sent over UTF8 instead of Latin1 - this ↵rowanbeentje2010-11-101-3/+3
| | | | | | | | improves handling of special characters in passwords, improving Issue #890 - Improve code in (the unused) [MCPConnection connectWithLogin:password:host:socket:] to match latest updates in the rest of the framework - Fix creation of new users
* • further preparations for user-definable bundle supportBibiko2010-11-094-19/+75
|
* Minor dealloc change.stuconnolly2010-11-091-3/+3
|
* Comments.stuconnolly2010-11-092-2/+21
|
* • further preparations for user-definable bundle supportBibiko2010-11-095-3/+91
|
* Fix build errors.stuconnolly2010-11-092-1/+4
|
* First changes towards changing the initial connection view's favorites table ↵stuconnolly2010-11-0910-219/+458
| | | | list to an outline view in order to support grouping favorites. Future changes include creating a favorites data controller, including migrating favorites storage to their own plist in the app support directory as well as support for grouping favorites.