elpasync pushed a change to branch externals/phpinspect. at 3175d9a6ac Fix typo
This branch includes the following new commits: new 681f13d4de Initial commit: Move out of personal dotfile repository. new 50d2bfeebe Change indexer's cache dir from/to .cache/{phpns,phpinspect} new ad12203a91 Add more parts of phpns that were apparently still required new d6c63ef6f4 Truncate "uses_own" index file before filling the index new 0350069e34 Fix native (built-in) type names new 8d3bd21015 Add license information new bbc37bea32 Update README code format and to use setq-local new f7c2a49b25 Remove dependency on php-project.el new f7d88a90f4 Implement some general tests for the parser code new 811a9a9141 Add more tests for the parser code new 4430aaccb9 Rework parser code new b338aa9b75 Fix most of the byte-compilation warnings new e8f486f095 Improve codestyle and documentation + add tests for indexation new 098146bfc5 Add resolvecontext structure and optimze type resolving process new 59a098a4cd Add note about parser cache to defhandler + add config example new 15c175dc61 Only attempt to byte compile when the handler isn't already compiled new 825a3de2c4 Add indexation command to mode docstring + add install to readme new f8689ac9df Return parser function in stead of just the symbol new 4c2b3dd601 Only attempt to return the inside class name when it is non-nil new c50f2ae09b Fix resolving of "static" and "self" types new 1e4e865c9b Add variables nested in (function or other) blocks to candidates new dbbc5927e4 Enable company-mode before changing its variables in README example new df821c4039 Add ticket tracker link to README new faa936a4f0 Test type-resolver + make type resolving work for "blocked" namespaces new e57edab86e Index new files when no FQN can be found for a type new a6bb09b2b3 Test and fix static function indexation new f5fe299c01 Make functions that access the filesystem configurable and add test new 6b8db3a318 Test and fix eldoc function for static methods new 8caf967b57 Add test for resolve-type-from-context with preceding bareword new 2b85271b2b Test + fix get-last-statement-in-token for static attribute references new a60dba5f11 WIP: new struct to represent types, and string comparison optimization with obarray new 74bd0ad434 WIP: New data type for cached classes new e07e1ed9e6 WIP: Split code up into separate files new 98e88d45ac WIP: Fix find-class-file new f8bf0b611a WIP: List static methods when requested new f013b3c709 WIP: Support ambiguous typehints new 341afd42da WIP: Index types in the background using collaborative threading. new a2ce841555 WIP: Make index thread block/wakeup when queue is empty/populated new 2e487e7810 Fix resolving of function argument types new c0786db131 WIP: Index every possibly required type ahead of time. new 0b210309e7 Fix variable suggestion when there are loose dollar signs in the buffer new 3a3e2cd362 Update README with new development repository location new 0bc9e795b2 Fix tests and patch bugs that came to light in the process new 2fd575dbf5 Add drone.yml new 1816495538 Use thread-live-p in stead of thread-alive-p for emacs 28.1 support new 56eaa3b36d Replace index-thread with more generic and encapsulated worker type new 43ab1bd99b Make sure that the worker is running during tests new 153ff71fcf WIP: Implement psr0 and psr4 autoload strategies new ef9a7336cf Replace virtual-directory with more general virtual-fs implementation new ca8d0972ff Implement psr-0 and psr-4 autoloaders new dbf0ec0390 Transition from index script to autoloader new 350850c07a Fix phpinspect-index-static-methods test new e65b268cea Implement @method annotation indexation new 1b1cf45638 Fix bug in extended classes' method merging + add some tests new 97377c2922 Fix bugs in phpinspect-fix-imports new ae3acbdbe1 Disable auto-reindexing by default new 224bbd7916 Implement array member type inference new 8cd4dc2025 Remove commented code + tidy some formatting new 0c0c1ca381 Add test for phpinspect-get-pattern-type-in-block new f030a685d2 Alter interpret-expression-type to interpret array-member assignment new 9882ed2c60 Test/fix type inference of objects in nested arrays new 7e7914befa Convert CI definition to new (woodpecker) format new c2b06fe265 Another attempt at fixing CI new 47335f3450 Refactor phpinspect--project to phpinspect-project new f9f3440850 Make file contents insertion asynchronous in background threads new 0e00d7e5a6 Wakeup worker when stop is requested and worker thread is paused new 3838e02820 Prevent worker thread from associating with the current buffer new e7b1f22e8c Sort tokens by size when returning tokens around point new 58ad65932b Add `phpinspect-parser' type and `phpinspect-defparser' macro new 0ca527dbbd Adapt `phpinspect-purge-parser-cache' to new parser caching approach new ad5ede01ad Implement Incremental Parsing new 7f76ba4c11 Fix some bugs introduced by the incremental parsing feature new 6627f6f76f Remove commented parser code new 91e24b97d4 Make bmap-token-meta error on unexpected input new 5548734ef7 Implement parser interruption on user input new 9d6ce5726d Use `phpinspect-edtrack-original-position-at-point' for edit end determination new 281c5e4ae6 Remove some overly verbose logging new 1ec0e0cfa2 Limit token lookback range and start completion from the first non-blank character new bb04e9a0f8 Implement strategy pattern for phpinspect-eldoc-function new 8dd9bb07e4 Increase phpinspect-bmap-last-token-before-point backward search limit to 100 new 43310092ad Clear tree and edit tracker when reparsing (to ensure full reparse) new 5fab07b426 Keep track of multi-call edits of the same region new 1f145665ef Exclude "return" from resolvecontext subject + count comma at point for eldoc arg number new d1d34a4249 Move more functionalities from main file to separate modules new 75562aab35 Add some tests for edit tracker + patch newly discovered bugs new c35c00ceff Implement strategy pattern for completion backend new 55a24065a6 Remove obsolete comment (incremental parsing has been implemented) new e270729e14 Implement splay tree for overlay storage/lookup new 6c767fc877 Implement eldoc for object attributes new ab6954faf5 Retrieve and wrap metadata using the correct overlay for region new 0596bc52bf Optimize splay tree and use it to store token's children new 389e77eb8b Expand existing overlay when possible new 111fa2f4b5 Fix bugs in splay tree "find" functions new b68baaec83 Make parse context cancellable and restore state after interrupt new 9a25959aad Use metadata tree instead of hash table for token lookup new 4c5a70d4af Make buffer re-parse non-interruptible + add interactive function to view tree new 2049121810 Make edit delta lookup inclusive of current point new 23245d0158 Fix some compilation warnings new 2099abced8 Add Cask configuration and fix some compilation warnings new 9f7931a7b6 Rework parser for ahead of time byte compilation new ce995f2bc4 Remove unused variables new 2d2f9912c1 Wrap queue items in a queue object new 6678ba20c6 Implement async processing pipeline new 2fd91898a3 Add tests for pipeline and make API more ergonomic new f003b6a279 Make project indexation asynchronous using `phpinspect-pipeline' new ea7795c76e Remove commented code new 94d5b75455 Add `phpinspect-pipeline-pause-time' new db370623da Implement "files" autoload strategy new f2ece03f2a Add factilities to filter logs from different modules new 135263c533 Add tests for incremental parsing + fix parser bugs that came to light new 9b82c0d0f6 Reimplement `phpinspect-fix-imports' using metadata objects new d51137e58e Remove faulty edit tracker code based on wrong deduction new f5cc681105 Fix let parenthesis in test-buffer.el new c20df819b8 Give `phpinspect-buffer' responsibility over buffer indexation new d86ef5756b Remove `phpinspect-define-pipeline-step' in favor of direct fun call new 05ca0ace20 Fix all remaining byte compiler warnings new 55413ea9fb Implement basic support for function indexation and include dirs new e35caa7e15 Fix a variety of bugs new fbfcf4f928 Fix byte compilation warnings new e4b62c0230 Implement completion-at-point function new 04606a4756 Fix test new e067a9e9dd Remove obsolete function and add some documentation to mode doc string new 5fe0b7bdc5 Add .cask directory to gitignore new db3ec3b67d Add custom variables for worker and pipeline pause time new 9513cbc917 Update README new 3175d9a6ac Fix typo