elpasync pushed a change to branch externals/phpinspect. from 3ce8be0657 Only allow one active refresh thread per autoloader new daf9a6ca43 WIP fixing incremental parser new 459e038559 WIP shadow buffer new 6784c90d56 Shadow buffer in semi usable state new 9b0fb04d2d WIP move addition processing to shadow (broken) new c0823a265b WIP create common base library for threading operations new 109feba101 All tests passing with shadow buffers and new threading lib new 9846f7aa23 Refactor parse context + fix compilation errors new c24115444d Fix bug in buffer-shadow synchronization + make eldoc function async new 8d4bc6cf7e Remove unused/commented code new 8872fddfc4 Remove unused shadow code (current version is in buffer.el bc of dependencies) new eccb846366 Remove changeset new 4ccab73555 Remove commented test + mention of removed `phpinspect-pctx-cancel' new fe808b9b2e Reove commented/obsolete buffer test new 06a4ffdb51 Rename test-shadow.el -> test-change.el new 619bfb8f08 Remove (incorrect) change-post-position new 55954aba64 Fix compilation warnings new 107954dc95 Reactively update property return types when use statements are added new ea626889c7 Fix bug in indexation and index-deletion of in-buffer constants new 7c5e21a0e2 Remove debug log new fdbaf15279 fix: prevent errors caused by (for now unsupported) anonymous classes new e2c567acde refactor queue: remove unneeded use of cl-defmethod and inline some functions in the hot path new 475c26a5dc Fix bug in indexation of use statements (check if property type is nil) new 68ec3d0218 Return unknown-type when derived statement cannot be completely resolved new b45cb675a9 Reindex dynamically resolved property types after change in imported types new 30500e77fd Only use no-enqueue when it is necessary new 64b400a852 Require region to be whitespace-only before skipping over it while parsing new 9539519a38 Remove lingering `require' of removed phpinspect-edtrack.el new ea90a00887 Don't reuse unexpected keywords new 59c75176bc Add tests, fix bugs in reactive class property type indexation new a923eab4b3 require token-predicates new 857fcf14fe Use condition variables to wait for shadow synchronization new cfc2891672 WIP new b440807be5 Implement computed-on-demand dynamic completion table new 71da34283a Add some explanatory comments and remove unused variables new d7dc086d2f Ensure only one eldoc thread is active at a time new a75ea69ad7 Remove unneeded variables, remove worker pausing code and remove company-backend new af623fe469 Fix endless recursion bug in resolving of self-referential variable type new 23fbc17d5c Fix benchmarks new 77d5bea895 Bump version to 3.0.0
Summary of changes: benchmarks/parse-file.el | 150 +++----- benchmarks/splay-tree.el | 2 +- phpinspect-autoload.el | 29 +- phpinspect-bmap.el | 24 +- phpinspect-buffer.el | 834 +++++++++++++++++++++++++++++++---------- phpinspect-cache.el | 2 +- phpinspect-change.el | 130 +++++++ phpinspect-changeset.el | 79 ---- phpinspect-completion.el | 248 ++++++------ phpinspect-diagnose.el | 86 +++++ phpinspect-edtrack.el | 269 ------------- phpinspect-eldoc.el | 32 +- phpinspect-fs.el | 2 +- phpinspect-imports.el | 2 +- phpinspect-index.el | 24 +- phpinspect-meta.el | 25 +- phpinspect-method-cell.el | 2 +- phpinspect-name.el | 2 +- phpinspect-parse-context.el | 133 ++----- phpinspect-parser.el | 232 +++++++++--- phpinspect-pipeline.el | 430 ++++++++------------- phpinspect-project-struct.el | 2 +- phpinspect-project.el | 20 +- phpinspect-property-cell.el | 38 +- phpinspect-queue.el | 25 +- phpinspect-resolve.el | 101 ++--- phpinspect-resolvecontext.el | 5 +- phpinspect-serialize.el | 2 +- phpinspect-splayt.el | 2 +- phpinspect-suggest.el | 2 +- phpinspect-thread.el | 179 +++++++++ phpinspect-token-predicates.el | 17 +- phpinspect-type.el | 12 +- phpinspect-typedef.el | 46 ++- phpinspect-util.el | 8 +- phpinspect-worker.el | 34 +- phpinspect.el | 125 +----- test/phpinspect-test-env.el | 8 + test/phpinspect-test.el | 29 +- test/test-autoload.el | 6 +- test/test-buffer-indexation.el | 203 ++++++++++ test/test-buffer-parsing.el | 115 ++++++ test/test-buffer-resolve.el | 68 ++++ test/test-buffer.el | 163 ++++---- test/test-change.el | 55 +++ test/test-changeset.el | 56 --- test/test-completion.el | 19 +- test/test-edtrack.el | 134 ------- test/test-eldoc.el | 15 +- test/test-imports.el | 81 ++-- test/test-index.el | 6 + test/test-parse-context.el | 50 --- test/test-parser.el | 6 + test/test-pipeline.el | 31 +- test/test-resolve.el | 5 +- test/test-suggest.el | 64 ++-- 56 files changed, 2530 insertions(+), 1939 deletions(-) create mode 100644 phpinspect-change.el delete mode 100644 phpinspect-changeset.el create mode 100644 phpinspect-diagnose.el delete mode 100644 phpinspect-edtrack.el create mode 100644 phpinspect-thread.el create mode 100644 test/test-buffer-indexation.el create mode 100644 test/test-buffer-parsing.el create mode 100644 test/test-buffer-resolve.el create mode 100644 test/test-change.el delete mode 100644 test/test-changeset.el delete mode 100644 test/test-edtrack.el delete mode 100644 test/test-parse-context.el