- popupmenu in query memo
- query helpers
- SynCompletionProposal
Drops function.txt and parser for that file.
Pros:
- No dependency on this file anymore
- Much easier and safer coding
- File-parsing no longer needed
Notes:
The old function.txt was meant to be editable and extensible for users but I never saw or heard anyone who does that, most likely because it wasn't documented. Another problem was that the file resided in the programs-directory, where only administrators have write-access, so in these cases it couldn't be edited anyway.
The PHP file in /extras can be used for creating an up-to-date list for mysql.pas .
As not all functions of the new list are available in all mysql-versions, it would be the best if we would fetch the list by the use of HELP commands. Contra: Would result in poor performancing popupmenu and many servers don't have the help-tables filled.
As a benefit, function.txt is read into 3 stringlists at startup now: Names, Declarations and Descriptions. Used in SynCompletionProposal and to fill the above mentioned helpers-list.
Also fixes a minor issue in SynMemoQueryDragOver using an unset "Accept" var.
* Remove feature: columns listed in tree view (helps fix repeated queries; need to cache these and move to different GUI location)
* Remove feature: SELECT COUNT(*) on all tables with MySQL < 3.23 (performance killer)
* Add feature: Cache table lists for tree view (improves performance and fixes repeated queries)
* Add feature: Master refresh button clears entire table list cache.
* Add feature: Refresh button in table list view popup clear table list cache for database being viewed.
* Add feature: Restore active database after user queries.