Commit Graph

30 Commits

Author SHA256 Message Date
Peter Simons
f5b8f88514 Accepting request 931157 from home:dimstar:Factory
- BuildRequire python3-base instead of full python3: allow to be
  slimmer.

OBS-URL: https://build.opensuse.org/request/show/931157
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=44
2021-11-12 17:13:00 +00:00
Peter Simons
7539ec3aa4 Accepting request 930180 from home:danidoni:branches:devel:tools:compiler
- update 2.2:
  - Added named blocks and block lists in directives.
  - Added local blocks ``/*!local:re2c ... */``.
  - Added in-block ``!include`` directive.
  - Added in-block ``!use`` directive.
  - Allowed reusable blocks without ``-r --reusable`` option.
  - Allowed customizing the generated code with configurations for directives
    ``max:re2c``, ``maxnmatch:re2c``, ``stags:re2c``, ``mtags:re2c`` and
    ``types:re2c`` (see directive descriptions for details).
  - Forbid arbitrary text at the end of ``max:re2c`` directive. This may break
    backwards compatibility, although it is unlikely that this was used by anyone.
    The change was necessary in order to allow customization of the generated code
    with configurations.
  - Deprecated configurations ``flags:i``, ``flags:no-debug-info`` in favour of
    the global options ``-i``, ``--no-debug-info``.
  - Reimplemented re2c test runner in Python (thanks to
    `Serghei Iakovlev <https://github.com/sergeyklay>`_). Improved integration
    with GitHub Actions.
  - Changes in the experimental libre2c library: added new algorithms that
    construct t-string or extract submatch on all repetitions; added TDFA
    benchmark written in Java by Angelo Borsotti.
  - Updated documentation.
- Add python >= 3.7 dependency required by new tests.
  - Upstream added some tests written in python. The tests failed locally
    because the module dataclasses from python >= 3.7 were missing. On OBS
    the builds failed due to a timeout when trying to run those python tests.

OBS-URL: https://build.opensuse.org/request/show/930180
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=43
2021-11-10 20:34:06 +00:00
Peter Simons
afcac34b31 Accepting request 891899 from home:dirkmueller:Factory
- update to 2.1.1:
  - Added missing CMakeLists.txt to release tarballs
  - Added GitHub Actions CI for Linux, macOS and Windows and fixed numerous build
    issues on those platforms
  - Added benchmarks for submatch extraction in lexer generators (ragel vs.
    kleenex vs. re2c with TDFA(0), TDFA(1) or sta-DFA algorithms).
    + New CMake options: ``-DRE2C_BUILD_BENCHMARKS``, ``-DRE2C_REGEN_BENCHMARKS``
    + New `json2pgfplot.py
  - Added option ``--depfile <filename>`` to generate build dependency files
  - Added option ``--fixed-tags <none | all | toplevel>`` and improved fixed-tag
    optimization to work with nested tags.
  - Added lzip to the distribution tarballs.
  - Added registerless-TDFA algorithm in the experimental libre2c library.
  - Explicitly disallowed invalid configuration when ``-f``, ``--storable-state``
    option is used, but ``YYFILL`` is disabled
  - Fixed bug in UTF-8 decode for 4-bytes rune
  - Fixed bugs in rare cases of the end-of-input rule ``$`` usage
  - Optimized ``--skeleton`` generation time.
  - Renamed internal option ``--dfa`` to ``--nested-negative-tags``.
  - Updated documentation for end of input handling and submatch extraction.

OBS-URL: https://build.opensuse.org/request/show/891899
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=41
2021-05-10 08:05:59 +00:00
Peter Simons
0d125fb493 Accepting request 832388 from home:dirkmueller:branches:devel:tools:compiler
- update to 2.0.3:
  - Fix issues when building re2c as a CMake subproject
  - Final corrections in the SIMPA article "RE2C: A lexer generator based on
  lookahead-TDFA", https://doi.org/10.1016/j.simpa.2020.100027

OBS-URL: https://build.opensuse.org/request/show/832388
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=39
2020-09-05 13:45:34 +00:00
Peter Simons
875a17d87c Accepting request 826191 from home:polslinux:branches:devel:tools:compiler
- Update to version 2.0.2:
  * Go backend. The new Go code generation backend can be used either
    with a --lang go re2c option, or as a standalone re2go binary 
  * Free-form generic API. Generic API now supports two styles
  * Improved reuse mode and start conditions
  * Backwards incompatible changes:
    + Generic APIs YYSHIFT/YYSHIFTSTAG/YYSHIFTMTAG have been added
    + Generic APIs YYSTAGPD/YYMTAGPD have been removed
    + The re2c🎏type-header option now treats the header filename
      as relative to the output directory
    + Some internal labels have been renamed, in particular the
      yyFillLabel prefix has been replaced with yyfill

OBS-URL: https://build.opensuse.org/request/show/826191
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=37
2020-08-13 09:20:25 +00:00
Martin Pluskal
62ffe94f58 - Update to version 1.3:
* Added option: ``--stadfa``.
  * Added warning: ``-Wsentinel-in-midrule``.
  * Added generic API primitives:
    + ``YYSTAGPD``
    + ``YYMTAGPD``
  * Added configurations:
    + ``re2c:sentinel = 0;``
    + ``re2c:define:YYSTAGPD = "YYSTAGPD";``
    + ``re2c:define:YYMTAGPD = "YYMTAGPD";``
  * Worked on reproducible builds

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=35
2020-02-05 08:55:22 +00:00
Martin Pluskal
22bf414e08 - Update to version 1.2.1:
* Lots of changes, see provided CHANGELOG
- Drop no longer needed re2c-nogenerationdatedefault.patch
- Enable profile guided optimization during build

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=33
2019-08-14 16:02:13 +00:00
Tomáš Chvátal
4c03527b6c Accepting request 683637 from home:cbcoutinho:branches:devel:tools:compiler
- Update re2c to 1.1.1
From the CHANGELOG:
Version 1.1.1 (2018-08-30)
--------------------------
- Fixed bug #211 re2c '-V' throws 'std::out_of_range' (version to vernum conversion).
Version 1.1 (2018-08-27)
--------------------------
- Replaced Kuklewicz POSIX disambiguation algorithm with Okui algorithm.
- Optimized GOR1 algorithm (computation of tagged epsilon-closure).
- Added option "--conditions" (an alias for "-c" and "--start-conditions").
- Fixed bug #201 Bugs with option: 're2c🎏no-debug-info'.
- Reworked first part of TDFA paper.

OBS-URL: https://build.opensuse.org/request/show/683637
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=30
2019-03-11 08:39:22 +00:00
Martin Pluskal
e480792ce0 - Modernise spec file with spec-cleaner
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=28
2018-03-15 10:11:50 +00:00
Martin Pluskal
780c845681 Accepting request 540245 from home:avindra
- Update to version 1.0.3:
  * Fixes build failure on Mac OS X 10.5.8 with gcc 4.2.1
  * Documentation fix
  * 2 examples removed

OBS-URL: https://build.opensuse.org/request/show/540245
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=26
2017-11-09 15:22:22 +00:00
Martin Pluskal
838a17fc0e - Update to version 1.0.2:
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=24
2017-09-04 12:07:19 +00:00
Martin Pluskal
bc874b1b9c - Update to 0.16
* Fixed bug #127 "code generation error with wide chars and 
    bitmaps (omitted 'goto' statement)"
  * Added DFA minimization and option '--dfa-minimization 
    <table | moore>'
  * Fixed bug #128 "very slow DFA construction (resulting in a very
    large DFA)"
  * Fixed bug #132 "test failure on big endian archs with 0.15.3"
- Make building more verbose

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=22
2016-01-30 21:54:15 +00:00
Tomáš Chvátal
e047d579ca - Version update to 0.15.3:
* Syntax expansion and various updates
  * See CHANGELOG for in-depth details
- Rebase patch to apply:
  * re2c-nogenerationdatedefault.patch

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=20
2016-01-08 11:18:32 +00:00
Martin Pluskal
75370b442d - Update to 0.14.3
* applied patch '#27 re2c crashes reading files containing %{ %}'
  * dropped distfiles for MSVC (they are broken anyway)
- Changes for 0.14.2
  * fixed #57 Wrong result only if another rule is present

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=18
2015-10-05 14:36:51 +00:00
Tomáš Chvátal
2ee487d04e - Version bump to latest 0.14.1:
* Plenty of bugfixes all around

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=15
2015-03-13 14:28:49 +00:00
Ismail Dönmez
fef61209fe Accepting request 283858 from home:elvigia:branches:devel:tools:compiler
- re2c-nogenerationdatedefault.patch: Default to 
  --no-generation-date to avoid build-compare problems [BNC#915937]

OBS-URL: https://build.opensuse.org/request/show/283858
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=13
2015-02-05 13:55:45 +00:00
Ismail Dönmez
2d8ccd2e02 Accepting request 264962 from home:elvigia:branches:devel:tools:compiler
- make test currently does nothing, make check however
  executes the test suite.

- version 0.13.7.5 
* Added UTF-8 and UTF-16 support.
* fixed PHP HEREDOC problems.

OBS-URL: https://build.opensuse.org/request/show/264962
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=11
2014-12-12 13:02:26 +00:00
Tomáš Chvátal
2848130b64 - Cleanup with spec-cleaner
- Sort out the %prep finds that are no longer needed.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=9
2014-05-12 15:04:11 +00:00
Cristian Rodríguez
a5abf0ff06 Accepting request 185695 from home:elvigia:branches:devel:tools:compiler
- version 0.13.6
* allow Yacc-style %{code brackets}%
* allow C++ // comments
* Fixed inplace configuration in -e mode
* Fixed Wrong start_label in -c mode.
* Fixed Unescaped backslash in file name of #line directive

OBS-URL: https://build.opensuse.org/request/show/185695
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=7
2013-08-03 04:11:29 +00:00
Ismail Dönmez
3ae9b90ac1 Accepting request 81736 from home:aturrini:branches:devel:tools:compiler
Fixed typo in re2c.spec

OBS-URL: https://build.opensuse.org/request/show/81736
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/re2c?expand=0&rev=5
2011-09-09 20:20:16 +00:00
cf5a98dae3 Autobuild autoformatter for 53922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=14
2010-11-26 15:55:43 +00:00
7e73e9e285 Accepting request 53922 from devel:tools:compiler
Accepted submit request 53922 from user elvigia

OBS-URL: https://build.opensuse.org/request/show/53922
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=13
2010-11-26 15:55:36 +00:00
OBS User unknown
1ac8e343b2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=8 2009-06-18 15:39:12 +00:00
OBS User unknown
b76c6207f7 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=7 2008-06-30 17:19:37 +00:00
OBS User unknown
410728b1a3 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=6 2008-04-08 22:48:35 +00:00
OBS User unknown
13032607b0 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=5 2008-03-19 00:57:55 +00:00
OBS User unknown
d89aea8d01 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=4 2008-02-08 19:33:55 +00:00
OBS User unknown
0b18048e99 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=3 2007-06-25 20:45:29 +00:00
OBS User unknown
ca9cf91bf2 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=2 2007-06-25 15:53:49 +00:00
OBS User unknown
9dfae6dcf7 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/re2c?expand=0&rev=1 2007-05-10 02:41:48 +00:00