22Changes in 6.?.0
33======================================================================
44
5+ This page lists only the most significant changes as remembered. Use
6+ git-log to review changes not enumerated here, especially in language
7+ parsers.
8+
59New and extended options and their flags
610---------------------------------------------------------------------
711
@@ -39,6 +43,7 @@ Parser related changes
3943
4044New parsers
4145~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46+ The following parsers have been added:
4247
4348* SELinuxIntefae *M4 based subparser *
4449* SELinuxTypeEnforcement *optlib *
@@ -47,6 +52,8 @@ New parsers
4752* JNI *subparser *
4853* TypeSpec *parser *
4954
55+ + TypeSpec by Kaisheng Xu · Pull Request #4243
56+
5057.. note :: We added a TOML as a new parser in this version. However,
5158 after adding it, we learned its implementation didn't work
5259 entirely. So we deleted the TOML parser, and Cargo subparser
@@ -57,6 +64,69 @@ New parsers
5764Changes about parser specific kinds, roles, fields, and extras
5865~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5966
67+ .. See the output of ./misc/news.bash man [v6.1.0]
68+
69+ * C++
70+
71+ + New kinds `module ` and `partition `
72+ + New roles `imported ` and `exported ` for `header ` kind
73+
74+ * Clojure
75+
76+ + New kind `unknown `
77+ + New field `definer `
78+
79+ * EmacsLisp
80+
81+ + New field `definer `
82+
83+ * LEX
84+
85+ + New role `grouping ` for `cond ` kind
86+
87+ * Lisp
88+
89+ + New kinds `class `, `generic `, `method `, `parameter `, `struct `, and `type `
90+
91+ * Make
92+
93+ + New extra `CppDef `
94+
95+ * Meson
96+
97+ + New kinds `cfgdata ` and `cfgvar `
98+
99+ * PowerShell
100+
101+ + New kind `enumlabel `
102+
103+ * Python
104+
105+ + New role `entryPoint ` for `module ` and `function ` kinds
106+
107+ PythonEntryPoints parser emits tag entries having this role.
108+
109+ * Scheme
110+
111+ + New kind `unknown `
112+ + New field `definer `
113+
114+ * SCSS
115+
116+ + New kind `module `
117+ + New role `used ` for the `module ` kind
118+ + New kind `namespace `
119+ + New field `module `
120+
121+ * SQL
122+
123+ + New kind `local `
124+
125+ * Vim
126+
127+ + New kind `heredoc `
128+ + New kind `class `
129+
60130Readtags
61131---------------------------------------------------------------------
62132
@@ -81,5 +151,225 @@ Merged pull requests
81151 primary contributor of the pull requests. See git log for more
82152 defatils.
83153
154+ .. generated by ./misc/news.bash pr [v6.1.0...]
155+
156+ * SystemVerilog,Verilog: accept empty names for any kind of language objects by masatake · Pull Request #4257
157+ * Units(JSON): add a test case for extracting null tags by masatake · Pull Request #4256
158+ * Misc fix by masatake · Pull Request #4258
159+ * build(deps): bump cross-platform-actions/action from 0.27.0 to 0.28.0 by dependabot[bot] · Pull Request #4250
160+ * Kconfig: don't leave without any items on the stack by masatake · Pull Request #4255
161+ * TypeSpec: new parser by iaalm · Pull Request #4243
162+ * JNI: new subparser by masatake · Pull Request #4252
163+ * operator: add a getter for the language field by masatake · Pull Request #4251
164+ * Tests for more Clojure tags by aartaka · Pull Request #4126
165+ * optlib: allow users to set fields and check extras defined in a foreign language by masatake · Pull Request #3960
166+ * TOML,Cargo: disable the parsers temporarily by masatake · Pull Request #4248
167+ * Scdoc: new parser by masatake · Pull Request #4244
168+ * Some minor fixes by masatake · Pull Request #4245
169+ * circleci: switch to use Fedoa42 by masatake · Pull Request #4246
170+ * GitHub Actions: set timeout to tests on Qemu by masatake · Pull Request #4247
171+ * main/read: revise the offset calculation on nested input stream by masatake · Pull Request #4212
172+ * Fix wrong parser versions by masatake · Pull Request #4242
173+ * Miscellaneous minor fixes by masatake · Pull Request #4241
174+ * SQL: fill signature and typeref fields for functions and procedures by masatake · Pull Request #4238
175+ * V: don't use multi-bytes chars in debug print by masatake · Pull Request #4236
176+ * CPreProcessor: (bugfix) don't return negative value other than EOF from unget-buffer by masatake · Pull Request #4234
177+ * RpmSpec: don't make a FQ tag for sub-packages if -n option is specified on %package line by masatake · Pull Request #4233
178+ * main: (bugfix) don't reset lineFposMap even in the 2nd pass when the parser runs as a guest by masatake · Pull Request #4231
179+ * main: fix typos in a parameter name by masatake · Pull Request #4230
180+ * SQL: extract trigger of Postgresql dialect by masatake · Pull Request #4229
181+ * JavaScript: (bugfix) consider << operator when detecting JSX area by masatake · Pull Request #4228
182+ * CPreProcessor,LdScript,Asm: (bugfix) don't expand macros defined with -I by masatake · Pull Request #4226
183+ * main/read: refactor step1 by masatake · Pull Request #4223
184+ * C++: skip broken C++11 attributes by masatake · Pull Request #4221
185+ * PythonEntryPoints: new subparser based on Iniconf parser by masatake · Pull Request #4219
186+ * lregex: avoid crashes when regex pattern compilation fails by masatake · Pull Request #4220
187+ * Moose: stop parsing when the base parser stops parsing by masatake · Pull Request #4218
188+ * units,tmain: add a variable to control the number of threads running test cases by masatake · Pull Request #4215
189+ * Ada: print debug messages only if --_trace=Ada is given by masatake · Pull Request #4213
190+ * main: various minor improvements, especially about mio by masatake · Pull Request #4214
191+ * readtags: revise feature listing ptags (including an incompatible change) by masatake · Pull Request #4095
192+ * GitHub Actions: install pkg-config to the msys2 environment by masatake · Pull Request #4211
193+ * Ada: accept 'end;' as the end of function by masatake · Pull Request #4206
194+ * Circleci: (fedora41) update libsqlite.so explicitly by masatake · Pull Request #4209
195+ * buildsys: (msvc) avoid "multiply defined symbols" errors by masatake · Pull Request #4208
196+ * JavaScript,HTML: skip JSX elements by masatake · Pull Request #4191
197+ * CPreProcessor: adjust line numbers when reading characters from unget-chars-buffer by masatake · Pull Request #4198
198+ * JavaScript: don't extract local constants and variables defined in arrow functions by masatake · Pull Request #4197
199+ * Asm: support Cpp macro arguments spanning multiple lines by masatake · Pull Request #4201
200+ * JavaScript: Fix held tokens breaking implicit semicolon insertion by b4n · Pull Request #4193
201+ * Ruby minor improvements by masatake · Pull Request #4190
202+ * Units(Meson): add a case testing extracting config variables by masatake · Pull Request #4189
203+ * Meson: extract config variables by masatake · Pull Request #4186
204+ * CUDA: support function parameters with default values by masatake · Pull Request #4188
205+ * build(deps): bump cross-platform-actions/action from 0.25.0 to 0.27.0 by dependabot[bot] · Pull Request #4183
206+ * CPreProcessor: support variadic macros with GNU cpp extension syntax by masatake · Pull Request #4184
207+ * SELinuxTypeEnforcement: fill typeref: field for alias kind objects by masatake · Pull Request #4180
208+ * optlib2c: make the error message more specific when a wrong datatype is given by masatake · Pull Request #4179
209+ * main: provide the way to specify data taype in --_fielddef option by masatake · Pull Request #4178
210+ * main: support integer field in the writers by masatake · Pull Request #4177
211+ * Kotlin: fix annotation parsing by dolik-rce · Pull Request #4176
212+ * main: FIX the way to print boolean typed parser specific fields correctly in {xref,ctags} output by masatake · Pull Request #4174
213+ * Lisp: introduce version 0.0 of lisp meta parser by masatake · Pull Request #4130
214+ * Parsers for files defining SELinux policy by masatake · Pull Request #4173
215+ * various minor fixes by masatake · Pull Request #4172
216+ * optscropt: fix _scopedepth operator by masatake · Pull Request #4170
217+ * SCSS: support modules specified with single-quote chars like @use 'foo' by masatake · Pull Request #4169
218+ * SCSS: extract modules and namespaces from @use "..." by masatake · Pull Request #4168
219+ * Tcl: extract null tags by masatake · Pull Request #4167
220+ * JavaScript: destructuring binding by masatake · Pull Request #3435
221+ * JSON: emit full qualified tags by masatake · Pull Request #4165
222+ * main: add nulltag/z, a new extra by masatake · Pull Request #4152
223+ * ObjectiveC: (bugfix) extract the line numbers for methods correctly by masatake · Pull Request #4162
224+ * (System)Verilog: escaped identifiers (LRM 5.6.1) by cousteaulecommandant · Pull Request #4129
225+ * PowerShell: recognize herestrings by masatake · Pull Request #4145
226+ * Introducing Universal Ctags Guru on Gurubase.io by kursataktas · Pull Request #4124
227+ * delete an accidentally commited file by masatake · Pull Request #4143
228+ * Revise the files for CI (ubi8, fedora, stream10) by masatake · Pull Request #4131
229+ * units.py: Fix format-NlKkFnP on Windows by k-takata · Pull Request #4137
230+ * verilog: support ifdef in enum by hirooih · Pull Request #4140
231+ * verilog: do not add scope to define (#4127) by hirooih · Pull Request #4139
232+ * Lisp: add def{struct,type,method,class,generic,parameter} kinds and definer field by masatake · Pull Request #4121
233+ * Verilog: Add final_specifier support for class parse by roccomao · Pull Request #4116
234+ * Verilog: Fix function parse when return type contains `:: ` by roccomao · Pull Request #4111
235+ * Verilog: Skip the escaped characters in string by roccomao · Pull Request #4115
236+ * verilog.c: keyword "unsigned1" should be "unsigned", without the 1 by cousteaulecommandant · Pull Request #4110
237+ * units.py: pass `count' as a keyword argument by masatake · Pull Request #4112
238+ * iniconf: some more adjustments for parsing TOML by techee · Pull Request #4099
239+ * treewide: delete more unwated files by masatake · Pull Request #4108
240+ * Remove unwanted files by k-takata · Pull Request #4107
241+ * readtags: add tr operator by masatake · Pull Request #4106
242+ * Meson: handle backshash chars in strings and == operator correctly by masatake · Pull Request #4104
243+ * Meson: extract benchmark langage objects correctly by masatake · Pull Request #4101
244+ * readtags: refactoring for support multiple tag files by masatake · Pull Request #4079
245+ * Rust: don't put EOF to a vString by masatake · Pull Request #4093
246+ * GPerf: skip comment lines started from '#' by masatake · Pull Request #4092
247+ * main: error with more friendly and understandable message when "tags" directory exists by masatake · Pull Request #4085
248+ * Suppress warnings by masatake · Pull Request #4086
249+ * JavaScript: (bug fix) don't append EOF token to a repr by masatake · Pull Request #4087
250+ * Make: don't track EOF as a part of value by masatake · Pull Request #4088
251+ * Update libreadtags by masatake · Pull Request #4080
252+ * SystemTap: fill the typeref field for functions by masatake · Pull Request #4084
253+ * build-sys: eliminate READTAGS_DSL condition by masatake · Pull Request #4078
254+ * readtags: refactor for searching multiple tag files by masatake · Pull Request #4074
255+ * GemSpec: parse %q string by masatake · Pull Request #4077
256+ * Tmain: run Tmain/readtags-canonicalize-input-names.d only if DSL is enabled in readtags by masatake · Pull Request #4072
257+ * readtags: minor fixes by masatake · Pull Request #4071
258+ * Fix build for Haiku by Begasus · Pull Request #4069
259+ * dsl: fix the function for hashing integer object by masatake · Pull Request #4067
260+ * Optscript: fix bugs in foreigntag proc by masatake · Pull Request #4064
261+ * Main: use extras and fields in the foreign language specified in {_language=...} flag by masatake · Pull Request #4059
262+ * verilog: skip compiler directives in enum definition (#4056) by hirooih · Pull Request #4058
263+ * Kconfig: fill names of anonymous choices with the values of their prompts by masatake · Pull Request #4057
264+ * Cargo: new subparser based on TOML parser by masatake · Pull Request #4048
265+ * iniconf: Allow dot and dash for ini keys by techee · Pull Request #4052
266+ * Kconfig: avoid stack underflow when filling typeref filed by masatake · Pull Request #4051
267+ * Kconfig: fill typeref: field by masatake · Pull Request #4050
268+ * main: make the implementation of --list-languages=_CATEGORY efficient by masatake · Pull Request #4047
269+ * main: extend --list-languages option to list only parsers using packcc by masatake · Pull Request #4046
270+ * TOML: new PEG based parser by masatake · Pull Request #3509
271+ * Fix quotes & option syntax in manpage by JaSpa · Pull Request #4045
272+ * build-sys,mvc: generate rules for running packcc from source.mak by masatake · Pull Request #4036
273+ * Fortran: accept $ as parts of names by masatake · Pull Request #4034
274+ * Make: add CppDef extra for extracting FOO in -DFOO as a macro of CPreProcessor by masatake · Pull Request #4024
275+ * Make: refactor and add comments by masatake · Pull Request #4031
276+ * build-sys: utilize pegof by masatake · Pull Request #4026
277+ * Make: minor changes by masatake · Pull Request #4028
278+ * Circleci: update images by masatake · Pull Request #4029
279+ * Make: parse inside define/endef by masatake · Pull Request #4025
280+ * Haskell: skip multi-line type signature by masatake · Pull Request #4019
281+ * readtags: mark <or> as a special form by masatake · Pull Request #4022
282+ * main: fix a typo in an error message by masatake · Pull Request #4014
283+ * main: report errors when calling ftell(3) fails by masatake · Pull Request #4012
284+ * Cxx: fix file field for exported objects by masatake · Pull Request #4010
285+ * jscript: Fix representation of held tokens by b4n · Pull Request #4008
286+ * php: Skip class and trait use not to confuse typerefs by b4n · Pull Request #4009
287+ * C++: record "export" in the property field if the keyword is put at a "using" declaration by masatake · Pull Request #4006
288+ * powershell: Parse enum labels by b4n · Pull Request #3998
289+ * matlab: A couple fixes for corner cases by b4n · Pull Request #3999
290+ * Pascal: support for inline or one line comments added by masatake · Pull Request #3997
291+ * JavaScript: Improve support for contextual keywords as identifiers by b4n · Pull Request #3993
292+ * vera: Explicit fallthrough by b4n · Pull Request #3992
293+ * docs,man: Fix typos by k-takata · Pull Request #3987
294+ * dsl: allow to specify a default value in $ and & operators by masatake · Pull Request #3984
295+ * CI: use codecov/codecov-action by k-takata · Pull Request #3986
296+ * Update packcc by masatake · Pull Request #3983
297+ * C++: extract operators specified in using declarations by masatake · Pull Request #3982
298+ * main: don't allocate a buffer for tagEntryInfoX::sourceFileName if possible by masatake · Pull Request #3980
299+ * build-sys: make lto optional by iLeeWell · Pull Request #3978
300+ * build-sys: fix checking Windows platform with _WIN32 macro by Biswa96 · Pull Request #3977
301+ * configure.ac: fix result message grammar by glibg10b · Pull Request #3976
302+ * Automake: add "makefile-automake", the name of an emacs mode, as an alias by masatake · Pull Request #3975
303+ * optscript: add _anongen operator by masatake · Pull Request #3973
304+ * C++: recognize definitions of variable templates by masatake · Pull Request #3966
305+ * Asm: relax the condition for accepting characters within a section name by masatake · Pull Request #3964
306+ * optscript: make the help messages for @[0-9] and [0-9]@ operators easier to understand by masatake · Pull Request #3965
307+ * FrontMatter: fix the crash for an empty input by masatake · Pull Request #3961
308+ * add support for loongarch by wuruilong01 · Pull Request #3958
309+ * main: reset file-position map when input stream is reset by masatake · Pull Request #3953
310+ * Vim: extract classes by masatake · Pull Request #3951
311+ * main: fix typos in a variable name by masatake · Pull Request #3957
312+ * JavaScript: skip static blocks by masatake · Pull Request #3949
313+ * C++ : support C++20 modules by masatake · Pull Request #3941
314+ * Terraform: fix two known bugs by ponchoalv · Pull Request #3945
315+ * C,C++: fix properties field for object defined or declared with structure definitions by masatake · Pull Request #3944
316+ * LEX: make reference tags for the conditions used for making groups by masatake · Pull Request #3939
317+ * Docs(web): wrtite about foreign tags by masatake · Pull Request #3934
318+ * main: count the added tags after emitting parser-specific ptags by masatake · Pull Request #3936
319+ * Make: fix wrong end fields for targets having macros on the same line by masatake · Pull Request #3931
320+ * Vim: support vim9script by masatake · Pull Request #3930
321+ * docs(man),man-test: require "yaml" feature in the man-test of I18nRubyGem by masatake · Pull Request #3929
322+ * Vim: skip heredoc regions by masatake · Pull Request #3925
323+ * Fix typo by pepsiman · Pull Request #3926
324+ * build-sys: enable LTO by masatake · Pull Request #3922
325+ * build(deps): bump actions/cache from 3 to 4 by dependabot[bot] · Pull Request #3923
326+ * I18nRubyGem: trim leading colon inside of tag name by masatake · Pull Request #3921
327+ * Rake: extract m in "task (:m)" as a task by masatake · Pull Request #3919
328+ * Markdown,FrontMatter,YamlFrontMatter: recognize "..." as the end of YAML documents by masatake · Pull Request #3918
329+ * Ruby: optimize the parser by reducing the numbers of calling strlen by masatake · Pull Request #3916
330+ * Python: extract n in "n = SimpleNamespace(" as namespace/I kind by masatake · Pull Request #3917
331+ * Ruby: extract m in "define_method(:m" as a method by masatake · Pull Request #3908
332+ * Sh,Zsh: handle options for alias and function built-in commands by masatake · Pull Request #3909
333+ * docs(web): add the news entry for 6.1.0 by masatake · Pull Request #3910
334+ * GitHub Actions: add CODECOV_TOKEN to env by masatake · Pull Request #3911
335+ * Ruby: extract m in "m = Module.new()" as a tag with module kind by masatake · Pull Request #3907
336+ * Post-release administrivia by masatake · Pull Request #3904
337+
84338Issues close or partially closed via above pull requests
85339---------------------------------------------------------------------
340+
341+ .. generated by ./misc/news.bash issue [v6.1.0...]
342+
343+ * TOML: reporting wrong patterns when the parser runs as a sub parser · Issue #4114
344+ * Just another crash · Issue #4181
345+ * Java: crash with a multi-byte character · Issue #4222
346+ * JavaScript: Segfault on jQuery v1.11.0 · Issue #4227
347+ * ctags crashes with memory access violation while tagging Linux source code · Issue #4225
348+ * C++: bug in code detecting attributes · Issue #4089
349+ * Perl: Segfault on Throwable::Error · Issue #4217
350+ * CPreprocessor,C: macro expands multiple lines · Issue #4018
351+ * JavaScript: extract local vars unexpectedly · Issue #4194
352+ * Issues in CUDA parsing · Issue #4187
353+ * JavaScript: destructural binding · Issue #1112
354+ * JSON full attributes path · Issue #4164
355+ * Support Null Tag · Issue #4151
356+ * Objective-C method linenumber is the first block (not the function name like in C) · Issue #4161
357+ * Powershell: (bug) herestr breaks ctags functions list. · Issue #4141
358+ * `parsers/args.ctags` was also committed accidentally. · Issue #4135
359+ * Unwanted files accidentally committed · Issue #4098
360+ * meson: use benchmark() instead of bench_mark() · Issue #4100
361+ * "ctags: Failure on attempt to read file : Is a directory" · Issue #4081
362+ * Fortran: How to include "$" in variable and function names · Issue #4033
363+ * Haskell: reference to too generic part of the type signature emitted when tagging Haskell source with multi-line type signature · Issue #4013
364+ * C++ modules: "export" declaration wrongly marked as file-local (static) · Issue #4003
365+ * tagging pascal language does not recognize one-line-comments '//' · Issue #3988
366+ * C++: null tag for the code specfying operator in unsing statement · Issue #3981
367+ * Support XDG specification on Windows · Issue #3969
368+ * C++: crash when a variable template is given · Issue #3963
369+ * C++: variable template · Issue #3962
370+ * JavaScript static initialization blocks break the tagging of the rest of the class · Issue #3948
371+ * C++: disappearing pseudo tags · Issue #3935
372+ * ctags-lang-i18nrubygem test fails without yaml support · Issue #3928
373+ * Enabling LTO (Was: p5.9.20210221.0: build fails) · Issue #2885
374+ * I18nRubyGem leading colon inside of tag name · Issue #3920
375+ * Python: extract SimpleNamespace · Issue #3912
0 commit comments