aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* • 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 ;)]
* • 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-102-19/+36
| | | | | | | | 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-093-1/+4
|
* First changes towards changing the initial connection view's favorites table ↵stuconnolly2010-11-0912-237/+508
| | | | 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.
* • added spBundle file extensionBibiko2010-11-094-0/+54
|
* • added to SPStringAddition the method ↵Bibiko2010-11-094-91/+118
| | | | | | | runBashCommandWithEnvironment:atCurrentDirectoryPath:error which will run self as bash command and will return its result - if an error occurred it will return a NSError if desired - added the chance to pass shell environment variables and start directory for future usage in user-definable plugins written as scripts
* • removed unnecessary space inside the WHERE clause generation for ↵Bibiko2010-11-071-1/+1
| | | | filtered table content
* When exporting either a filtered or custom query result include the query in ↵stuconnolly2010-11-071-2/+8
| | | | the opening resultset tag that produced the result.
* Minor tweaks to autocompletion:rowanbeentje2010-11-062-15/+22
| | | | | | - Show the text cursor at the location future input will be inserted for clarity - Show autocompleted text faded to indicate it's temporary and may be replaced by other keypresses
* Complete the implementation of supporting MySQL's XML schema format when ↵stuconnolly2010-11-059-134/+662
| | | | exporting. Also, restore our old format and give the user the choice during export (defaults to MySQL schema). Completes the implementation of issue #840.
* • fixed table structure logic for date/time fieldsBibiko2010-11-051-2/+5
| | | | - fixes issue 886
* - Tweak another release-when-closed panel; this should fix crashes on ↵rowanbeentje2010-11-051-1/+1
| | | | 10.5.8, addressing Issue #884.
* Fix a few issues that prevented an XML export to multiple files.stuconnolly2010-11-041-14/+30
|
* • improved completion regarding leading mathematical operatorsBibiko2010-11-041-2/+3
| | | | - this also improves alias parsing
* • improved completion regarding leading '('Bibiko2010-11-041-1/+1
| | | | - this also improves alias parsing for parameter inside functions
* • improved completion regarding leading commasBibiko2010-11-041-8/+9
| | | | | | • alias (auto-)completion - further improvements regarding detecting of aliases esp. if used just after SELECT in conjunction with commas
* • alias (auto-)completionBibiko2010-11-041-20/+25
| | | | - further improvements regarding detecting of aliases esp. if used just after SELECT
* • alias (auto-)completionBibiko2010-11-043-9/+19
| | | | - further improvements to match table names
* Start moving towards using the same XML format as MySQL uses. The inclusion ↵stuconnolly2010-11-043-27/+26
| | | | of the query executed for filtered and query results as well as the table structure when exporting entire tables still needs to be added. Part of issue #840.
* • fix for alias parsing if alias consists of only one single characterBibiko2010-11-041-1/+1
|
* • started to implement auto-completion for aliasesBibiko2010-11-043-27/+75
| | | | | - first sketch should work for 90% of all cases - fine-tuning will follow soon - this follows issue 880
* - Fix problems updating the default favourite pop following the preference ↵rowanbeentje2010-11-041-4/+4
| | | | | | | | changes - this addresses http://spbug.com/l/1774 - Fix reselection of a newly reordered favourite - When reordering favourites downwards, move them to the correct position instead of one position too low
* - Improve query disconnection/reconnection while pings or queries are still ↵rowanbeentje2010-11-031-3/+28
| | | | active or cleaning up
* Rearchitect preferences, including:stuconnolly2010-11-0331-3952/+5772
| | | | | | | | | - Split each preference pane into their own controller (subclass of SPPreferencePane, which is a subclass of NSViewController). - Each preference pane controller conforms to the protocol SPPreferencePaneProtocol to allow the main preference controller to build the toolbar. - Move the preferences upgrade function to it's own file. - Add SPFontPreviewTextField which is based on Colloquy's JVFontPreviewField to allow previewing of the selected font in the tables and editor preference panes. - Update localisable strings files.
* Add a new category to SPDatabaseDocument, allowing code cleanup and moving ↵rowanbeentje2010-11-0321-602/+739
| | | | | | | | | | | central functionality out of SPTablesList: - Centralise control over table loading, moving it away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Centralise control over the main tab view, moving control away from SPTablesList and into SPDatabaseDocument and the new SPDatabaseViewController category - Simplify and clean up view loading logic - Improve thread safety - Update localisable strings
* • minor code cleaning and comment stuffBibiko2010-11-024-450/+475
|