monnier pushed a change to branch externals/dict-tree. at 9242ff7 * dict-tree/dict-tree.el: Fix typo in Package-Requires.
This branch includes the following new commits: new ae0dc0e Version 0.10 of the predictive completion package. new d88b867 Version 0.10.3 of the predictive completion package. (Versions 0.10.1-2 were very minor, and were skipped.) new 2bca928 Version 0.12 of the predictive completion package. new ac40f3c Version 0.12.2 of the predictive completion package. new 7b52ebd Version 0.13.1 of the predictive completion package. Also put various extra bits and pieces from the predictive completion tree under version control. new 3ecd763 Added minor miscellaneous new features, mostly to predictive.el. new d86829b Fixed bugs in predictive's auto-learn and which dict mode features. new f46da76 Minor bug fixes. new d325841 Dictionaries are now saved in both compiled and uncompiled forms. fixed slow byte-compilation under Emacs 22. new 47f8163 Made saving dictionaries to compiled or uncomiled forms a customization option. new 26f5dd3 Work around byte-compilation and goto-line bugs. new 7562023 Make use of :family attribute of completion-tooltip-face. new f9bf379 Complete re-write of dict-tree.el, based on new trie.el. new 9eb7d29 Bumped version number and updated commentary. new 3a4d3f1 Added dictree-mapcar function; code tidying. new 9827131 Fixed unwrapped rank-function bug in dictree--query new 9e6d0f2 Fixed bug when deleting non-existent entries. new 329110b Fixed bug in unranked dictree-complete. new 87bb7e8 Allow custom write and load functions when saving and dumping dictionaries; Changed meta-data to property lists; Minor enhancements and bug-fixes. new 034a2d4 Fixed dictree-member-p bug; dictionaries no longer 'provide' feature. new 57d59eb Bug-fixes to predictive-auto-learn and read-dict. new 104fd29 Roll back changes to read-dict - not clear that they're necessary even under windoze new 405d11b Implemented the other cache and cache-update policies new 2978fc7 ...and already a bug-fix to the new cache updating code new 6b05d61 Another bug-fix to the new cache policy code new 76140ec Converted function wrapping macros into functions in part to avoid run-time dependency on cl package. new 4cd369d Avoid breaking setf abstraction in dictree--wrap-insfun. Print message when compiling to add a personal addendum to the old-style backquote compiler warning we now generate. new baa4931 Doesn't quite work - revert to breaking setf abstraction new 673fd2a Abstract away the setcar used to set the data component of a cell in dictree--wrap-insfun into a defalias'ed accessor function; this seems the best compromise until a solution to the setf expansion problem can be found (see previous commit comments). new 1dde6e1 Define missing setf methods for data cells so we can still use the setf abstraction wherever possible. new b3eb0f1 Bug-fix to dictree-insert new 9120845 Make weird variable names used to avoid dynamic scoping bugs more consistent and document what should be avoided in user-visible functions. new 7d9b258 Improved handling of dictionary file names in dictree-load new 753904c Added functions for pushing things onto dictree and trie stacks new 2700e21 Don't compile wrapped functions explicitly or even uncompiled dictionaries will break when the Emacs byte-compiler changes! new 5834dac Replaced bare avl-trees which were an ugly optimisation needed for efficiently printing and reading tries, with trie-transform-for-print and trie-transform-from-read functions. new 70f99ee Make certain dictionary commands (mostly saving and loading) interactive again. new 6c21fcb Fix dictree--query and dictree-complete to return results in correct format (alist of key-data associations, or flat list of keys). new 8a575f6 Added new trie functions to dictree--create-custom. Changed dictree-create-custom to use keyword arguments. new daad3f1 Fixed bugs in dictree--write-dict-code and dictree-save new 35346a4 Bug-fix in dictree--write-dict-code new 3a18a06 Modified dictree-populate-from-file to read linearly by default, from median outwards as an option. new 0aed5d4 Modified dictree--read-line to call data and plist load functions with null argument if these are absent from the file. Updated documentation for predictive-create-dict populate file format. new 7a5d669 Allow insertion and load functions to be overriden in dictree-populate-from-file, and use this in predictive-create-dict to ensure null weights are converted to 0. new 179c0b5 Bug-fix to messages displayed by dictree-populate-from-file new 4a77581 Tidied up dictree--query and related code new eccfe92 Bug fix in dictree--do-query new 0774b51 Added support for wildcard searches new 608fcd4 Bug-fix to dictree--write-dict-code new ca2c562 Bug-fix to dictree-complete new e1a9f19 Documentation updates related to wildcard searches and predictive features that make use of them new 6b24547 Allow "]" to be included in a negated character alternatives, by placing immediately after the "[^". new a61f90e Bug-fix in dictree-wildcard-search new f6e9ba1 Added optional RESULTFUN argument to trie query functions, and used it to implement more efficient data stripping and grouping data processing. new 06f5039 Bug-fix to 'resultfun' feature in dictree--query and dictree--do-query (can't pass it to trie query functions because need to cache and merge complete result, not processed result). new 9e9d7e9 Added dictree-clear-caches for doing the obvious new a07802a Bug-fix to dictree-load, which was screwing around with dictree-file data new b6175f6 Bug-fix to meta-dicts: don't add them to meta-dict-lists of constituent lists if caching is disabled, or they're unnamed (assumed to be temporary). new f4aa81c Disable caching for unnamed meta-dicts new b33203a Manage loading and unloading of dictionaries automatically in predictive-mode new 32bb6e2 Replaced wildcard searches with more powerful and efficient regexp searches. new aa22866 minor fix: added tNFA to required packages new bf4002d Bug-fixes to dictree--write-dict-code; allow loading non-matching filenames in read-dict new c53e4b8 Bumped copyright year new d31ddac Bug-fixes to meta-dictionary handling new c553822 Small bug-fix in dictree--do-query new 6d9921e Updated docstrings for regexp-related functions and others. new 61f0ce6 Bug-fix in dictree--query new 15ca12e Re-filled to 72 chars/line, for mailing to gnu-emacs-sources list new dca8bcd Advised edebug-prin1 and edebug-prin1-to-string to prevent edebug hanging whilst printing large data structures - finally! new 1030ae2 Require advice when compiling new 168cdb5 Improved edebug-prin1 advice new 5f549f0 Bug-fixes to dictree--write-meta-dict-code new df22e8e Bug-fixes to edebug advice new 9946a1d Dictionary now defaults to current dict in in most dictionary-related commands. Fixed bug that this revealed in read-dict. All interactive dictionary commands should now display message indicating success. new 8810d3e Bug-fixes to edebug pretty-print functions. new 920d959 Replaced advice with cedet-edebug.el for pretty-printing tries and dictionaries in edebug. new 0ef5b58 Revert "Replaced advice with cedet-edebug.el for pretty-printing" new 3794988 Simplified advice-based edebug pretty-printing of tries and dictionaries. new bc5724e Minor bug-fixes to [trie/dict-tree]--edebug-pretty-print to make them print "nil" instead of "()". new c1eeabe Made dictionary auto-saving more robust against dictionary save failures. new 238fd6b Fixed bug in dictree--merge that caused one too many completions to be cached. new 7a51b21 Fixed dictree--update-cache to work for lists of prefixes. new 2666377 Fixed implementation of 'both cache policy. new 50ae73e Fixed bug in Read-Dict preventing completion on dict files in load-path. new a256974 Minor typo-fixes in docstrings. new f0396a0 Fixed bugs in synchronisation of regexp query caches. new d6ea2b5 Fixed interactive argument handling in predictive-fast-learn-from-buffer. new 18ede82 Fixed minor spelling errors in docstrings. new 0ea66e7 Added fboundp guard around ad-define-subr-args (removed in Emacs-24). new 5cc5449 Fixed obsolete functions and other compiler warnings. new 48ab389 Simplified persistent-storage code for tries and dict-trees. new a9344ec Updated Package-Version, Package-Requires, and Keywords package headers. Made small changes to some Commentary sections. new 39ace6f Added autoload cookies. new 7ab8f94 Updated copyright attribution and license (GPL2 -> GPL3). new a1bff31 Trivial whitespace tidying. new d96b1c5 More minor whitespace and commentary changes. new 2a1d749 Minor change to package description, to match other data structure packages. new cfdc73d Fixed calls to dictree-create-meta-dict. new 4722fcb Modified read-dict to return dictionary name instead of dictionary. new e752b53 Accept symbols for dictionary arguments. new 1ec9d58 Restore trie print/read transformer functions. new 08303f3 Remove ChangeLogs from library headers. new ce48d61 Use symbol-value instead of eval. new aa1a45d Enable lexical binding, and fix issues it picks up. new 8aa6047 Suppress bogus unused lexical variable byte-compiler warnings. new ba2eba0 Exploit lexical closures to allow byte-compilation of wrapped functions. new 09b388f Add note to self to use cust-print pretty-printing instead of advice. new 454c68b Code cleanup. new 8d134c2 Fix bug in dictree-create with empty NAME argument. new 74c792c Add page breaks. new 84b23ec Implement trie-fuzzy-match and trie-fuzzy-complete functions. new 5321c25 Implement fuzzy match and completion on dict-trees. new 4381f72 Generate caches as needed instead of at dict-tree creation. new a11f2a5 Update predictive mode to new dictree-create function interface. new ad600f8 Fix data wrapping handling in fuzzy query functions. new d0e339d Don't wrap rank and filter functions for regexp and fuzzy queries. new 3a99d02 Cache all queries, even with custom rankfun or filter. new 217c9d2 Updated Commentary. new 8d8ce4f Print dict-tree cache sizes in edebug. new f232541 Merge updates to pretty-printy and docstring fixes from ELPA. new 4b3cc3c Do lexbind test at compile-time instead of load-time. new 5cf96da Implement iterator generators on collection data structures. new d84725e Bump version numbers since we've added iterator generators. new 3969702 Tidy up unnecessary macros by making them into defsubst or defun. new a4b2a1b Improve edebug pretty-printing. new 95d6a5a Mention iterator generators in Commentary. new 1db3424 Fix quoting of ' in one docstring. new 913c84b Fix bug in dictree-unload. new 1e5b3f6 Fix bug in dictree--wrap-fuzzy-rankfun wrapping. new 65b94b4 Bump version numbers. new eec26c3 Fix trie--construct-Lewenstein-rankfun to new versions. new 77f7b3a Minor code refactoring. new c737d3a Make use of new trie-fuzzy-complete facilities. new 63b59a2 Implement fuzzy-completion with fixed initial prefix segment. new 5e2ffac Test for lexical binding must be within same file to work reliably. new f47d49c Bug fixes to meta-dict fuzzy-matching/completing. new 97aba17 Fix bug introduced in dictree-member-p. new 6544152 Fix bug causing dictree--do-query to fail to use cached results. new 22d0e13 Sort completions by fuzzy dist before ngram length. new 1d096b1 Myriad bug fixes and code refactoring in new fuzzy and ngram completion. new 3c4b666 Refactored and rationalised dict saving/loading code. new 3ddde93 Switch to keyword arguments for trie/dictree query functions. new 45270bc Cache all queries, not just those with named function arguments. new 8e99e74 Allow dictree-write to write dictionary under new name. new f572523 Refactor dictree-populate-from-file. new dd695da Display more informative message during writing dict to file. new f0af36e Fix byte-compilation of functions embedded in dict-trees. new 572c746 Fix byte-compilation errors and warnings. new 4299171 Work around Emacs bug preventing dict-tree caching. new 67afade Document PFXFILTER argument to query functions. new b7173e8 Fix lexical binding bugs. new 22d569e Improve error reporting when reading dictionary data from dumped file. new 9242ff7 * dict-tree/dict-tree.el: Fix typo in Package-Requires.