branch: externals/phpinspect
commit 1cdfd9aaf6fee003554d3c7832224455ddd9eaa1
Author: Hugo Thunnissen <[email protected]>
Commit: Hugo Thunnissen <[email protected]>
Bump version to 2.1.0
---
phpinspect-autoload.el | 2 +-
phpinspect-bmap.el | 2 +-
phpinspect-buffer.el | 2 +-
phpinspect-cache.el | 2 +-
phpinspect-changeset.el | 2 +-
phpinspect-completion.el | 2 +-
phpinspect-edtrack.el | 2 +-
phpinspect-eldoc.el | 2 +-
phpinspect-fs.el | 2 +-
phpinspect-imports.el | 2 +-
phpinspect-index.el | 2 +-
phpinspect-meta.el | 2 +-
phpinspect-method-cell.el | 2 +-
phpinspect-parse-context.el | 2 +-
phpinspect-parser.el | 2 +-
phpinspect-pipeline.el | 2 +-
phpinspect-project-struct.el | 2 +-
phpinspect-project.el | 2 +-
phpinspect-property-cell.el | 2 +-
phpinspect-queue.el | 2 +-
phpinspect-resolve.el | 2 +-
phpinspect-resolvecontext.el | 2 +-
phpinspect-serialize.el | 2 +-
phpinspect-splayt.el | 2 +-
phpinspect-suggest.el | 2 +-
phpinspect-toc.el | 2 +-
phpinspect-token-predicates.el | 2 +-
phpinspect-type.el | 2 +-
phpinspect-typedef.el | 2 +-
phpinspect-util.el | 2 +-
phpinspect-worker.el | 2 +-
phpinspect.el | 21 ++++++++++++++++++++-
32 files changed, 51 insertions(+), 32 deletions(-)
diff --git a/phpinspect-autoload.el b/phpinspect-autoload.el
index 78adb664ab..3c110217e5 100644
--- a/phpinspect-autoload.el
+++ b/phpinspect-autoload.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-bmap.el b/phpinspect-bmap.el
index f1e2c9671f..e5a5db65b3 100644
--- a/phpinspect-bmap.el
+++ b/phpinspect-bmap.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-buffer.el b/phpinspect-buffer.el
index 4827be6c5f..17738161d0 100644
--- a/phpinspect-buffer.el
+++ b/phpinspect-buffer.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-cache.el b/phpinspect-cache.el
index 06edd32284..aa8dac8e5f 100644
--- a/phpinspect-cache.el
+++ b/phpinspect-cache.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-changeset.el b/phpinspect-changeset.el
index e51b1b7a88..df26aaa435 100644
--- a/phpinspect-changeset.el
+++ b/phpinspect-changeset.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-completion.el b/phpinspect-completion.el
index 1ca321e025..8b2bda8693 100644
--- a/phpinspect-completion.el
+++ b/phpinspect-completion.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-edtrack.el b/phpinspect-edtrack.el
index 3f51dc642d..1d9a5f87c8 100644
--- a/phpinspect-edtrack.el
+++ b/phpinspect-edtrack.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-eldoc.el b/phpinspect-eldoc.el
index 9143621c04..9ba5f4f18a 100644
--- a/phpinspect-eldoc.el
+++ b/phpinspect-eldoc.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-fs.el b/phpinspect-fs.el
index e61c441f5c..d59accc7d0 100644
--- a/phpinspect-fs.el
+++ b/phpinspect-fs.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-imports.el b/phpinspect-imports.el
index dddbf6578b..7005dc69d1 100644
--- a/phpinspect-imports.el
+++ b/phpinspect-imports.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-index.el b/phpinspect-index.el
index 5bd8d3862e..49a5f35021 100644
--- a/phpinspect-index.el
+++ b/phpinspect-index.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-meta.el b/phpinspect-meta.el
index f0d0765c94..61324e4b98 100644
--- a/phpinspect-meta.el
+++ b/phpinspect-meta.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-method-cell.el b/phpinspect-method-cell.el
index d5abf63961..7694e12061 100644
--- a/phpinspect-method-cell.el
+++ b/phpinspect-method-cell.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-parse-context.el b/phpinspect-parse-context.el
index 7f04361a29..5ade5aaedc 100644
--- a/phpinspect-parse-context.el
+++ b/phpinspect-parse-context.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-parser.el b/phpinspect-parser.el
index a3b9480237..852155921a 100644
--- a/phpinspect-parser.el
+++ b/phpinspect-parser.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-pipeline.el b/phpinspect-pipeline.el
index 41e76d1686..0894f0c5f0 100644
--- a/phpinspect-pipeline.el
+++ b/phpinspect-pipeline.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-project-struct.el b/phpinspect-project-struct.el
index 92cc4faed1..f638c31dec 100644
--- a/phpinspect-project-struct.el
+++ b/phpinspect-project-struct.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-project.el b/phpinspect-project.el
index 9eedd87c6c..ca6c1443b7 100644
--- a/phpinspect-project.el
+++ b/phpinspect-project.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-property-cell.el b/phpinspect-property-cell.el
index 169e968e3d..0dc72d2e75 100644
--- a/phpinspect-property-cell.el
+++ b/phpinspect-property-cell.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-queue.el b/phpinspect-queue.el
index 1b475d1c2c..c758f64cd7 100644
--- a/phpinspect-queue.el
+++ b/phpinspect-queue.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-resolve.el b/phpinspect-resolve.el
index a439b65824..6e02abadeb 100644
--- a/phpinspect-resolve.el
+++ b/phpinspect-resolve.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-resolvecontext.el b/phpinspect-resolvecontext.el
index 32091f9f00..22db4ac63c 100644
--- a/phpinspect-resolvecontext.el
+++ b/phpinspect-resolvecontext.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-serialize.el b/phpinspect-serialize.el
index 9579a85168..575a88e9c7 100644
--- a/phpinspect-serialize.el
+++ b/phpinspect-serialize.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-splayt.el b/phpinspect-splayt.el
index bb0f4dbbe1..be2bc953d5 100644
--- a/phpinspect-splayt.el
+++ b/phpinspect-splayt.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-suggest.el b/phpinspect-suggest.el
index aaaf702835..b5fe3e57c0 100644
--- a/phpinspect-suggest.el
+++ b/phpinspect-suggest.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-toc.el b/phpinspect-toc.el
index 1249249f9c..05a9a36a4d 100644
--- a/phpinspect-toc.el
+++ b/phpinspect-toc.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-token-predicates.el b/phpinspect-token-predicates.el
index 1f75889811..b60e05013a 100644
--- a/phpinspect-token-predicates.el
+++ b/phpinspect-token-predicates.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-type.el b/phpinspect-type.el
index a164ed0c51..f121a44c61 100644
--- a/phpinspect-type.el
+++ b/phpinspect-type.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-typedef.el b/phpinspect-typedef.el
index 8e89f49ce8..499b71da60 100644
--- a/phpinspect-typedef.el
+++ b/phpinspect-typedef.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-util.el b/phpinspect-util.el
index 2136b2a9fc..f982dce8fa 100644
--- a/phpinspect-util.el
+++ b/phpinspect-util.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect-worker.el b/phpinspect-worker.el
index 3756c1dbcc..1fa6b386a3 100644
--- a/phpinspect-worker.el
+++ b/phpinspect-worker.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; This program is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
diff --git a/phpinspect.el b/phpinspect.el
index 511a72b66d..251c8219e2 100644
--- a/phpinspect.el
+++ b/phpinspect.el
@@ -4,7 +4,7 @@
;; Author: Hugo Thunnissen <[email protected]>
;; Keywords: php, languages, tools, convenience
-;; Version: 2.0.1
+;; Version: 2.1.0
;; Package-Requires: ((compat "29"))
;; URL: https://github.com/hugot/phpinspect.el
@@ -34,6 +34,25 @@
;;; News:
+;; Version 2.1.0
+
+;; - Implemented basic support for completion of keywords and type names
+;; - Made completion of function names, type names and keywords context-aware
so
+;; that the provided completions are relevant at point.
+;; - Implemented interactive function to insert type names and automatically
+;; import them when necessary, called `phpinspect-insert-type'.
+
+;; - Fixed end-of-buffer error bugs in parsing of comments
+;; - Fixed bug in `phpinspect-suggest-variables-at-point' which caused local
+;; "foreach" variables to not be suggested.
+;; - Fixed infinite recursion bug caused by typedef dependent on itself (only
+;; occured when the type definition could not be found via the autoloader)
+
+;; - Made incremental parser more reliable by not adopting incomplete tokens
+;; into new tree.
+;; - Increased overall test coverage of phpinspect-suggest.el and
+;; phpinspect-completion.el
+
;; Version 2.0.1
;; - Fixed bug in `phpinspect-fix-imports' that caused it to not function