Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package re2c for openSUSE:Factory checked in at 2022-05-05 23:04:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/re2c (Old) and /work/SRC/openSUSE:Factory/.re2c.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "re2c" Thu May 5 23:04:19 2022 rev:42 rq:973855 version:3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/re2c/re2c.changes 2021-11-13 22:48:06.937231075 +0100 +++ /work/SRC/openSUSE:Factory/.re2c.new.1538/re2c.changes 2022-05-05 23:04:21.421404785 +0200 @@ -1,0 +2,73 @@ +Thu Apr 28 19:03:51 UTC 2022 - Dirk M??ller <[email protected]> + +- update to 3.0: + - Added code generation backend for Rust: + - Added options: + + ``--loop-switch`` + + ``--no-unsafe`` + - Added configurations; + + ``re2c:label:yyloop`` + + ``re2c:unsafe`` + - Renamed options to use common naming scheme. The old names are supported as + aliases, so the change does not break existing code. Documentation has been + updated to use new names. + + ``--api`` is a new alias for ``--input`` + + ``--ebcdic`` is a new alias for ``--ecb`` + + ``--ucs2`` is a new alias for ``--wide-chars`` + + ``--utf32`` is a new alias for ``--unicode`` + + ``--utf16`` is a new alias for ``--utf-16`` + + ``--utf8`` is a new alias for ``--utf-8`` + + ``--header`` is a new alias for ``--type-header`` + - Renamed configurations to use common naming scheme and support proper scoping + under subcategories such as ``:define``, ``:label``, ``:variable``, etc. The + old names are supported as aliases, so the change does not break existing + code. Documentation has been updated to use new names. + + ``re2c:api`` is a new alias for ``re2c:flags:input`` + + ``re2c:bit-vectors`` is a new alias for ``re2c:flags:bit-vectors`` + + ``re2c:case-insensitive`` is a new alias for ``re2c:flags:case-insensitive`` + + ``re2c:case-inverted`` is a new alias for ``re2c:flags:case-inverted`` + + ``re2c:case-ranges`` is a new alias for ``re2c:flags:case-ranges`` + + ``re2c:cond:prefix`` is a new alias for ``re2c:condprefix`` + + ``re2c:cond:enumprefix`` is a new alias for ``re2c:condenumprefix`` + + ``re2c:computed-gotos`` is a new alias for ``re2c:flags:computed-gotos`` + + ``re2c:computed-gotos:threshold`` is a new alias for ``re2c:cgoto:threshold`` + + ``re2c:debug-output`` is a new alias for ``re2c:flags:debug-output`` + + ``re2c:encoding:ebcdic`` is a new alias for ``re2c:flags:ecb`` + + ``re2c:encoding:utf32`` is a new alias for ``re2c:flags:unicode`` + + ``re2c:encoding:ucs2`` is a new alias for ``re2c:flags:wide-chars`` + + ``re2c:encoding:utf16`` is a new alias for ``re2c:flags:utf-16`` + + ``re2c:encoding:utf8`` is a new alias for ``re2c:flags:utf-8`` + + ``re2c:encoding-policy`` is a new alias for ``re2c:flags:encoding-policy`` + + ``re2c:empty-class`` is a new alias for ``re2c:flags:empty-class`` + + ``re2c:header`` is a new alias for ``re2c:flags:type-header`` + + ``re2c:label:prefix`` is a new alias for ``re2c:labelprefix`` + + ``re2c:label:yyfill`` is a new alias for ``re2c:label:yyFillLabel`` + + ``re2c:label:start`` is a new alias for ``re2c:startlabel`` + + ``re2c:nested-ifs`` is a new alias for ``re2c:flags:nested-ifs`` + + ``re2c:posix-captures`` is a new alias for ``re2c:flags:posix-captures`` + + ``re2c:tags`` is a new alias for ``re2c:flags:tags`` + + ``re2c:variable:yych:conversion`` is a new alias for ``re2c:yych:conversion`` + + ``re2c:variable:yych:emit`` is a new alias for ``re2c:yych:emit`` + + ``re2c:variable:yybm:hex`` is a new alias for ``re2c:yybm:hex`` + + ``re2c:unsafe`` is a new alias for ``re2c:flags:unsafe`` + - Added directive alias ``conditions:re2c`` for ``types:re2c``. + - Multiple small changes in code generation, including some formatting changes + that result in large diffs in the generated code: + + Do not allocate indices for unused state labels (this results in a change in + state enumeration), commits + + Do not generate redundant ``YYPEEK`` statements, commit + + Do not generate ``YYDEBUG`` statements for unused states labels, commit + + C backend: change formatting of switch statements, commit + + Go backend: render continuous character ranges in compact form, commit + + Mark start and end of included .re files with line directives, commit + - A fix to limit maximum allowed NFA and DFA size (to avoid out of memory + crashes and stack overflows), + - A fix to correctly compute fixed tags in trailing context, commit + - A fix to generate non-overlapping names for s-tag and m-tag variables, commit + - Infrastructural: added support for CMake presets. + - Updated documentation. + - Backwards-incompatible changes that are unlikely to affect any users: + + Restrict lexical contexts where ``%{`` is recognized as a block start, + + Emit an error when repetition lower bound exceeds upper bound, commit + +------------------------------------------------------------------- Old: ---- re2c-2.2.tar.xz New: ---- re2c-3.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ re2c.spec ++++++ --- /var/tmp/diff_new_pack.hSxVoq/_old 2022-05-05 23:04:22.085405613 +0200 +++ /var/tmp/diff_new_pack.hSxVoq/_new 2022-05-05 23:04:22.085405613 +0200 @@ -1,7 +1,7 @@ # # spec file for package re2c # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: re2c -Version: 2.2 +Version: 3.0 Release: 0 Summary: Tool for generating C-based recognizers from regular expressions License: SUSE-Public-Domain @@ -54,7 +54,7 @@ %make_install %check -make check %{?_smp_mflags} +%make_build check %files %license README.md @@ -62,8 +62,10 @@ %doc examples/ %{_bindir}/re2c %{_bindir}/re2go +%{_bindir}/re2rust %{_mandir}/man1/re2c.1%{?ext_man} -%{_mandir}/man1/re2go.1.gz +%{_mandir}/man1/re2go.1%{?ext_man} +%{_mandir}/man1/re2rust.1%{?ext_man} %dir %{_datadir}/re2c %dir %{_datadir}/re2c/stdlib %{_datadir}/re2c/stdlib/unicode_categories.re ++++++ re2c-2.2.tar.xz -> re2c-3.0.tar.xz ++++++ ++++ 1821574 lines of diff (skipped)
