Commit Graph

92 Commits (WIP-incremental-parsing)
 

Author SHA1 Message Date
Hugo Thunnissen 55b8a0c562 Remove phpinspect-tree
ci/woodpecker/push/woodpecker Pipeline was successful Details
10 months ago
Hugo Thunnissen b89ef3611f Move resolvecontext to its own file + change tests to use bmap implementation
ci/woodpecker/push/woodpecker Pipeline was successful Details
10 months ago
Hugo Thunnissen fa2967ddba Optimize incremental parser by skipping over sequential untainted tokens 10 months ago
Hugo Thunnissen 67fd01e68d Bmap approach mostly working now 10 months ago
Hugo Thunnissen fc46349bfe bugs, everywhere
ci/woodpecker/push/woodpecker Pipeline failed Details
10 months ago
Hugo Thunnissen 4abc3f405a WIP: buffer map approach
ci/woodpecker/push/woodpecker Pipeline failed Details
10 months ago
Hugo Thunnissen 8e612d76e5 Add parser benchmark
ci/woodpecker/push/woodpecker Pipeline was successful Details
10 months ago
Hugo Thunnissen 0f24f7577f WIP: Performance is terrible for large buffers
ci/woodpecker/push/woodpecker Pipeline was successful Details
10 months ago
Hugo Thunnissen 92ae43fe6e Implement resolvecontext derivation using token metadata tree 10 months ago
Hugo Thunnissen 292b4ca123 Adapt resolvecontext to use metadata tree 10 months ago
Hugo Thunnissen 35a89eb554 Remove already relocated test (see test-edtrack.el)
ci/woodpecker/push/woodpecker Pipeline was successful Details
(+ add a tiny test for the parsing of string tokens)
10 months ago
Hugo Thunnissen 0f2045b107 Add support for token indexation using phpinspect-tree 10 months ago
Hugo Thunnissen a748f32629 test/fix up edit tracker 10 months ago
Hugo Thunnissen 0deb528df1 Remove legacy buffer methods 10 months ago
Hugo Thunnissen feb92c2025 Fix some bugs with phpinspect-slice-detach and phpinspect-tree 10 months ago
Hugo Thunnissen 5e5b73e47d Remove phpinspect-buffer-register-whitespace
ci/woodpecker/push/woodpecker Pipeline was successful Details
10 months ago
Hugo Thunnissen dfb59591ae Move queue to separate file 10 months ago
Hugo Thunnissen 93f6c702c5 Initial (probably) working implementation of incremental parsing 10 months ago
Hugo Thunnissen f3a5e1d658 Garbonzo 2
ci/woodpecker/push/woodpecker Pipeline was successful Details
11 months ago
Hugo Thunnissen 2e6edd70b2 Garbonzo Gallore
ci/woodpecker/push/woodpecker Pipeline failed Details
11 months ago
Hugo Thunnissen bab8deba01 Make interval end explicitly a delimiter
ci/woodpecker/push/woodpecker Pipeline was successful Details
11 months ago
Hugo Thunnissen 08d80d3a38 WIP: n-ary interval tree for token location tracking
ci/woodpecker/push/woodpecker Pipeline was successful Details
11 months ago
Hugo Thunnissen 0ca527dbbd Adapt `phpinspect-purge-parser-cache' to new parser caching approach
ci/woodpecker/push/woodpecker Pipeline was successful Details
11 months ago
Hugo Thunnissen 58ad65932b Add `phpinspect-parser' type and `phpinspect-defparser' macro
ci/woodpecker/push/woodpecker Pipeline was successful Details
11 months ago
Hugo Thunnissen e7b1f22e8c Sort tokens by size when returning tokens around point 11 months ago
Hugo Thunnissen 3838e02820 Prevent worker thread from associating with the current buffer
ci/woodpecker/push/woodpecker Pipeline was successful Details
11 months ago
Hugo Thunnissen 0e00d7e5a6 Wakeup worker when stop is requested and worker thread is paused
This makes the worker thread stop execution immediately after the stop is
requested in stead of after the next wakeup.
11 months ago
Hugo Thunnissen f9f3440850 Make file contents insertion asynchronous in background threads
ci/woodpecker/push/woodpecker Pipeline was successful Details
This allows for a more lenient pausing regime in the worker thread, as file
content insertion, which is the longest running action while indexing, no longer
makes the main thread wait.

Implementation uses host system's cat program, but defers to
insert-file-contents when this is not available.
11 months ago
Hugo Thunnissen 47335f3450 Refactor phpinspect--project to phpinspect-project
ci/woodpecker/push/woodpecker Pipeline was successful Details
11 months ago
Hugo Thunnissen c2b06fe265 Another attempt at fixing CI
ci/woodpecker/push/woodpecker Pipeline was successful Details
1 year ago
Hugo Thunnissen 7e7914befa Convert CI definition to new (woodpecker) format 1 year ago
Hugo Thunnissen 9882ed2c60 Test/fix type inference of objects in nested arrays
continuous-integration/drone/push Build was killed Details
1 year ago
Hugo Thunnissen f030a685d2 Alter interpret-expression-type to interpret array-member assignment
continuous-integration/drone/push Build was killed Details
interpret-expression-type now interprets assignment values provided through
array access as derived statements. This makes type inference work for cases
like `[$foo[0]]`, where it did not before.
1 year ago
Hugo Thunnissen 0c0c1ca381 Add test for phpinspect-get-pattern-type-in-block
continuous-integration/drone/push Build was killed Details
1 year ago
Hugo Thunnissen 8cd4dc2025 Remove commented code + tidy some formatting 1 year ago
Hugo Thunnissen 224bbd7916 Implement array member type inference
phpinspect now understands typed arrays!
1 year ago
Hugo Thunnissen ae3acbdbe1 Disable auto-reindexing by default
continuous-integration/drone/push Build is passing Details
2 years ago
Hugo Thunnissen 97377c2922 Fix bugs in phpinspect-fix-imports
continuous-integration/drone/push Build is passing Details
2 years ago
Hugo Thunnissen 1b1cf45638 Fix bug in extended classes' method merging + add some tests
continuous-integration/drone/push Build is passing Details
2 years ago
Hugo Thunnissen e65b268cea Implement @method annotation indexation
continuous-integration/drone/push Build is passing Details
2 years ago
Hugo Thunnissen 350850c07a Fix phpinspect-index-static-methods test
continuous-integration/drone/push Build is passing Details
2 years ago
Hugo Thunnissen dbf0ec0390 Transition from index script to autoloader
continuous-integration/drone/push Build is failing Details
2 years ago
Hugo Thunnissen ca8d0972ff Implement psr-0 and psr-4 autoloaders 2 years ago
Hugo Thunnissen ef9a7336cf Replace virtual-directory with more general virtual-fs implementation 2 years ago
Hugo Thunnissen 153ff71fcf WIP: Implement psr0 and psr4 autoload strategies
continuous-integration/drone/push Build is passing Details
2 years ago
Hugo Thunnissen 43ab1bd99b Make sure that the worker is running during tests
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details
2 years ago
Hugo Thunnissen 56eaa3b36d Replace index-thread with more generic and encapsulated worker type
continuous-integration/drone/push Build is failing Details
The new implementaiton makes the background thread more extensible in terms of
the types of tasks that it can execute. It also allows for the injection of a
worker as dependency of project instances, which will make automated testing
easier in the future.
2 years ago
Hugo Thunnissen 1816495538 Use thread-live-p in stead of thread-alive-p for emacs 28.1 support
continuous-integration/drone/push Build is passing Details
2 years ago
Hugo Thunnissen 2fd575dbf5 Add drone.yml
continuous-integration/drone/push Build is failing Details
2 years ago
Hugo Thunnissen 0bc9e795b2 Fix tests and patch bugs that came to light in the process 2 years ago