]> granicus.if.org Git - re2c/log
re2c
10 years agoRelease 0.13.7.
Ulya Fokanova [Fri, 25 Jul 2014 15:44:07 +0000 (18:44 +0300)]
Release 0.13.7.

10 years agoPrepare release 0.13.7.
Ulya Fokanova [Fri, 25 Jul 2014 15:41:53 +0000 (18:41 +0300)]
Prepare release 0.13.7.

10 years agoReduced space taken by Unicode tests (~700MB -> ~14MB).
Ulya Fokanova [Mon, 21 Apr 2014 14:21:57 +0000 (17:21 +0300)]
Reduced space taken by Unicode tests (~700MB -> ~14MB).

Dynamically generate Unicode strings, used in tests,
instead of hardcoding them in source files.

10 years agoAdded tests for '--encoding-policy' option.
Ulya Fokanova [Sun, 13 Apr 2014 11:04:08 +0000 (14:04 +0300)]
Added tests for '--encoding-policy' option.

10 years agoAdded option to control how invalid code points are treated.
Ulya Fokanova [Sun, 13 Apr 2014 10:25:01 +0000 (13:25 +0300)]
Added option to control how invalid code points are treated.

Usage: 're2c --encoding-policy <fail | substitute | ignore> ...'

When re2c encounters invalis code point (e.g., surrogate in Unicode),
it acts with regard to current encoding policy:
    'fail' - fail with error;
    'substitute' - silently substitute offending code point with
        error code point;
    'ignore' - ignore offending code point, consider it valid.

10 years agoMoved encoding-specific character handling to 'Enc' class.
Ulya Fokanova [Wed, 9 Apr 2014 22:56:16 +0000 (01:56 +0300)]
Moved encoding-specific character handling to 'Enc' class.

10 years agoDisallow to set multiple encodings.
Ulya Fokanova [Wed, 9 Apr 2014 22:35:37 +0000 (01:35 +0300)]
Disallow to set multiple encodings.

Fail, if someone tries to set non-ASCII encoding
when another non-ASCII encoding is already set.
If encoding has been set successfully, it is
guaranteed to be valid.

10 years agoMoved 'Range' stuff to separate file.
Ulya Fokanova [Wed, 9 Apr 2014 22:15:40 +0000 (01:15 +0300)]
Moved 'Range' stuff to separate file.

10 years agoMakefile: enabled GCC warnings.
Ulya Fokanova [Wed, 9 Apr 2014 22:00:46 +0000 (01:00 +0300)]
Makefile: enabled GCC warnings.

10 years agoMoved character-printing functions to separate file.
Ulya Fokanova [Wed, 9 Apr 2014 21:48:47 +0000 (00:48 +0300)]
Moved character-printing functions to separate file.

10 years agoAllow all encoding flags in inplace configurations regardless to '-r' flag.
Ulya Fokanova [Tue, 25 Feb 2014 11:08:42 +0000 (14:08 +0300)]
Allow all encoding flags in inplace configurations regardless to '-r' flag.

Also allow use '-r' together with '-e'. Added test.

10 years agoAllow flag names in inplace configurations start with digit (to allow '-8').
Ulya Fokanova [Tue, 25 Feb 2014 11:06:58 +0000 (14:06 +0300)]
Allow flag names in inplace configurations start with digit (to allow '-8').

10 years agoUTF-16: Fixed handling of single 2-word code point.
Ulya Fokanova [Tue, 25 Feb 2014 10:51:22 +0000 (13:51 +0300)]
UTF-16: Fixed handling of single 2-word code point.

10 years agoUTF-16 support. Tests for UTF-16 support. Updated docs.
Ulya Fokanova [Mon, 24 Feb 2014 20:38:26 +0000 (23:38 +0300)]
UTF-16 support. Tests for UTF-16 support. Updated docs.

10 years agoRemoved obsolete enum member.
Ulya Fokanova [Mon, 17 Feb 2014 13:17:45 +0000 (16:17 +0300)]
Removed obsolete enum member.

'UTF32_16' encoding mode is no longer supported
(since commit 4243cf488ca2c53471831ad5096994ba895d7ff5).

10 years agoUpdated documentation.
Ulya Fokanova [Thu, 23 Jan 2014 10:18:40 +0000 (13:18 +0300)]
Updated documentation.

10 years agoAdded '-8' option to usage.
Ulya Fokanova [Thu, 23 Jan 2014 10:17:31 +0000 (13:17 +0300)]
Added '-8' option to usage.

10 years agoReplaced boolean parameter with enum.
Ulya Fokanova [Wed, 22 Jan 2014 13:38:01 +0000 (16:38 +0300)]
Replaced boolean parameter with enum.

10 years agoAdded default rule '*'.
Ulya Fokanova [Wed, 22 Jan 2014 11:21:25 +0000 (14:21 +0300)]
Added default rule '*'.

Usage:
                  * { /* C/C++ code */ }
    <c1, ..., cN> * { /* C/C++ code */ }
    <*>           * { /* C/C++ code */ }

Default rule violates rule order: no matter where it stands
(before all rules, in the middle, or after), it's the last
rule which will be applied.

10 years agoFixed segfault: regexp [^]* with 'bFlag' enabled.
Ulya Fokanova [Mon, 20 Jan 2014 16:07:42 +0000 (19:07 +0300)]
Fixed segfault: regexp [^]* with 'bFlag' enabled.

Changed 'unmap' function: now spans, that must be unmapped,
are always binded to upper adjacent span (if such span exists).
The previous version of 'unmap' used to bind unmapped spans
either to upper, or to lower adjacent span. Because of this change,
some tests need to be updated.

10 years agoRemoved compatibility encoding mode 'UTF32_16', generate error message when multiple...
Ulya Fokanova [Mon, 20 Jan 2014 15:43:41 +0000 (18:43 +0300)]
Removed compatibility encoding mode 'UTF32_16', generate error message when multiple encodings are set.

10 years agoRenamed '-z' flag to '-8' flag.
Ulya Fokanova [Mon, 20 Jan 2014 14:58:46 +0000 (17:58 +0300)]
Renamed '-z' flag to '-8' flag.

10 years agoRenamed 'uncompile' to 'decompile'.
Ulya Fokanova [Mon, 20 Jan 2014 11:09:34 +0000 (14:09 +0300)]
Renamed 'uncompile' to 'decompile'.

10 years agoChanged 'unsigned int' to 'int' (now comparison '< 0' makes sense).
Ulya Fokanova [Mon, 13 Jan 2014 10:13:14 +0000 (13:13 +0300)]
Changed 'unsigned int' to 'int' (now comparison '< 0' makes sense).

10 years agoFixed bugs introduced by UTF-8 support (commit 28ee7c95bca46ad3cdb965741c5c29e21c50df...
Ulya Fokanova [Sat, 11 Jan 2014 10:11:52 +0000 (13:11 +0300)]
Fixed bugs introduced by UTF-8 support (commit 28ee7c95bca46ad3cdb965741c5c29e21c50df14) and added tests that revealed them.

Bugs:
1) dot broken in EBCDIC mode
2) ranges that have 1-2 symbols (without "-") considered empty

10 years agoReplaced 'echo' with 'printf' in generation of switches for test.
Ulya Fokanova [Fri, 10 Jan 2014 15:29:12 +0000 (18:29 +0300)]
Replaced 'echo' with 'printf' in generation of switches for test.

'echo' doesn't distinguish between options and arguments,
so in cases like 'echo "-e"' is outputs empty string. It
results in dropping re2c's "-e" flag in tests with names
like "test.e.re".

10 years agoFixed '.' (dot) in UTF-8 mode.
Ulya Fokanova [Fri, 10 Jan 2014 13:16:45 +0000 (16:16 +0300)]
Fixed '.' (dot) in UTF-8 mode.

10 years agoMoved all encoding-related stuff to separate class.
Ulya Fokanova [Wed, 8 Jan 2014 09:40:44 +0000 (12:40 +0300)]
Moved all encoding-related stuff to separate class.

This class stores only encoding flags.
Everything else (number of code points,
number of different characters in input
stream, size of symbol, size of character,
etc.) is generated on the fly.

10 years agoAdded UTF-8 encoding support and tests for it.
Ulya Fokanova [Mon, 6 Jan 2014 18:48:21 +0000 (21:48 +0300)]
Added UTF-8 encoding support and tests for it.

10 years agoSwitch on valgrind options that reveal memleaks.
Ulya Fokanova [Mon, 6 Jan 2014 18:43:38 +0000 (21:43 +0300)]
Switch on valgrind options that reveal memleaks.

10 years agoFixed missprint in EBCDIC range expansion and updated broken tests.
Ulya Fokanova [Mon, 30 Dec 2013 22:24:15 +0000 (01:24 +0300)]
Fixed missprint in EBCDIC range expansion and updated broken tests.

10 years agoTest re2c on it's own scanner.
Ulya Fokanova [Fri, 27 Dec 2013 18:58:37 +0000 (21:58 +0300)]
Test re2c on it's own scanner.

10 years agoFix >> to > > for c++98
Dan Nuffer [Sun, 15 Dec 2013 00:42:32 +0000 (17:42 -0700)]
Fix >> to > > for c++98

10 years agoAdd smart_ptr and use it in dfa_map to fix memory leak.
Dan Nuffer [Sat, 14 Dec 2013 17:11:31 +0000 (10:11 -0700)]
Add smart_ptr and use it in dfa_map to fix memory leak.

10 years agoRemove cvsclean and use git clean instead.
Dan Nuffer [Sat, 14 Dec 2013 16:39:02 +0000 (09:39 -0700)]
Remove cvsclean and use git clean instead.

11 years agoUpdate version to 0.13.7.dev
Dan Nuffer [Fri, 5 Jul 2013 00:46:39 +0000 (18:46 -0600)]
Update version to 0.13.7.dev

11 years agoRelease 0.13.6 0.13.6
Dan Nuffer [Fri, 5 Jul 2013 00:45:41 +0000 (18:45 -0600)]
Release 0.13.6

11 years agoSome ignore and build adjustments for git
Dan Nuffer [Fri, 5 Jul 2013 00:08:58 +0000 (18:08 -0600)]
Some ignore and build adjustments for git

11 years agoUpdate CHANGELOG
Dan Nuffer [Fri, 5 Jul 2013 00:01:28 +0000 (18:01 -0600)]
Update CHANGELOG

11 years agoIgnore htdocs/manual.html
Dan Nuffer [Thu, 4 Jul 2013 23:22:51 +0000 (17:22 -0600)]
Ignore htdocs/manual.html

11 years agoFixed #26: minor man page issues
Dan Nuffer [Thu, 4 Jul 2013 23:21:56 +0000 (17:21 -0600)]
Fixed #26: minor man page issues

11 years agoRegenerate bootstrap with bison 2.5
Dan Nuffer [Thu, 4 Jul 2013 23:18:10 +0000 (17:18 -0600)]
Regenerate bootstrap with bison 2.5

11 years agoAdd .gitignore
Dan Nuffer [Thu, 4 Jul 2013 23:17:34 +0000 (17:17 -0600)]
Add .gitignore

13 years agoID# 2535084: Sun C 5.8 found int32_t := uint64_t; 2 billion specs are sufficient
paulmcq [Mon, 26 Sep 2011 02:40:12 +0000 (02:40 +0000)]
ID# 2535084: Sun C 5.8 found int32_t := uint64_t; 2 billion specs are sufficient

13 years agoID# 3308400: allow Yacc-style %(code brackets}%
paulmcq [Sun, 25 Sep 2011 23:53:45 +0000 (23:53 +0000)]
ID# 3308400: allow Yacc-style %(code brackets}%

13 years ago#2506253: allow C++ // comments
paulmcq [Mon, 10 Jan 2011 05:29:49 +0000 (05:29 +0000)]
#2506253: allow C++ // comments

15 years agoremove trailing ';' char in dot output for consistency
nuno-lopes [Thu, 8 Jan 2009 16:44:25 +0000 (16:44 +0000)]
remove trailing ';' char in dot output for consistency

15 years agoadd code to dump a compiled regex
nuno-lopes [Thu, 8 Jan 2009 16:34:51 +0000 (16:34 +0000)]
add code to dump a compiled regex

15 years ago- Applied #2482561 Error in manual section on -r mode.
helly [Fri, 2 Jan 2009 19:01:34 +0000 (19:01 +0000)]
- Applied #2482561 Error in manual section on -r mode.

15 years ago- Applied #2482572 Typos in error messages.
helly [Fri, 2 Jan 2009 18:56:36 +0000 (18:56 +0000)]
- Applied #2482572 Typos in error messages.

15 years ago- Fixed #2478216 Wrong start_label in -c mode
helly [Fri, 2 Jan 2009 15:08:27 +0000 (15:08 +0000)]
- Fixed #2478216 Wrong start_label in -c mode

15 years ago- Use hex for all -e output
helly [Sat, 6 Dec 2008 15:13:26 +0000 (15:13 +0000)]
- Use hex for all -e output

15 years ago- Simplify unescape/xlat usage
helly [Fri, 28 Nov 2008 11:50:16 +0000 (11:50 +0000)]
- Simplify unescape/xlat usage

15 years ago- Remove temp files on success
helly [Fri, 28 Nov 2008 11:48:36 +0000 (11:48 +0000)]
- Remove temp files on success

15 years ago- Fix issues with \a, \b, \f, \n, \r, \t, \v in -e mode
helly [Fri, 28 Nov 2008 11:19:45 +0000 (11:19 +0000)]
- Fix issues with \a, \b, \f, \n, \r, \t, \v in -e mode

15 years ago- Fixed #2102138 Duplicate case labels on EBCDIC.
helly [Fri, 28 Nov 2008 09:47:25 +0000 (09:47 +0000)]
- Fixed #2102138 Duplicate case labels on EBCDIC.

15 years ago- Fix compiling issue reported for HP-UX (unnamed enum).
helly [Tue, 25 Nov 2008 13:32:00 +0000 (13:32 +0000)]
- Fix compiling issue reported for HP-UX (unnamed enum).

15 years ago- Fixed #2186718 Unescaped backslash in file name of #line directive.
helly [Sun, 23 Nov 2008 18:16:46 +0000 (18:16 +0000)]
- Fixed #2186718 Unescaped backslash in file name of #line directive.

15 years ago- Regenerate
helly [Mon, 17 Nov 2008 22:51:38 +0000 (22:51 +0000)]
- Regenerate

15 years ago- Update changelog
helly [Mon, 17 Nov 2008 22:25:25 +0000 (22:25 +0000)]
- Update changelog

15 years ago- Enforce case insensitivity
helly [Mon, 17 Nov 2008 22:15:49 +0000 (22:15 +0000)]
- Enforce case insensitivity

15 years ago- Improved check for neccessity for translation
helly [Mon, 17 Nov 2008 22:04:29 +0000 (22:04 +0000)]
- Improved check for neccessity for translation

15 years ago- Case sensitivity is required
helly [Mon, 17 Nov 2008 22:02:46 +0000 (22:02 +0000)]
- Case sensitivity is required

15 years ago- Do not translate config values
helly [Mon, 17 Nov 2008 18:47:17 +0000 (18:47 +0000)]
- Do not translate config values

15 years ago- Constify translation tables
helly [Mon, 17 Nov 2008 18:44:43 +0000 (18:44 +0000)]
- Constify translation tables

16 years ago- Fixed #2038610 ebcdic problem.
helly [Sun, 7 Sep 2008 17:11:25 +0000 (17:11 +0000)]
- Fixed #2038610 ebcdic problem.

16 years ago- Be more explicit in Str/SubStr and drop unused constructor.
helly [Sun, 7 Sep 2008 16:53:03 +0000 (16:53 +0000)]
- Be more explicit in Str/SubStr and drop unused constructor.
- Fixed #2088583 Compile problemon AIX.

16 years agounbreak the dot export feature that I broke in last commit. sorry..
nuno-lopes [Thu, 14 Aug 2008 17:00:25 +0000 (17:00 +0000)]
unbreak the dot export feature that I broke in last commit. sorry..

16 years agogenerate slighlty better code when testing yyaccept
nuno-lopes [Thu, 14 Aug 2008 16:55:27 +0000 (16:55 +0000)]
generate slighlty better code when testing yyaccept

16 years agoimprove dot support: make char intervals (e.g. [A-Z]) instead of one edge per char...
nuno-lopes [Thu, 7 Aug 2008 16:26:30 +0000 (16:26 +0000)]
improve dot support: make char intervals (e.g. [A-Z]) instead of one edge per char when possible. this reduces the size of the graph to less than half of the original size

16 years agospread some static qualifiers around
nuno-lopes [Thu, 7 Aug 2008 15:17:24 +0000 (15:17 +0000)]
spread some static qualifiers around

16 years agoalso disallow -s with -D
nuno-lopes [Thu, 7 Aug 2008 15:10:37 +0000 (15:10 +0000)]
also disallow -s with -D

16 years agodisallow -b with -D
nuno-lopes [Thu, 7 Aug 2008 14:56:04 +0000 (14:56 +0000)]
disallow -b with -D

16 years ago- Add info for solaris packages
helly [Mon, 26 May 2008 13:43:21 +0000 (13:43 +0000)]
- Add info for solaris packages

16 years ago- Fix html
helly [Sun, 25 May 2008 15:45:29 +0000 (15:45 +0000)]
- Fix html

16 years ago- This is 0.13.6.dev now
helly [Sun, 25 May 2008 15:42:28 +0000 (15:42 +0000)]
- This is 0.13.6.dev now

16 years ago- Fix version
helly [Sun, 25 May 2008 14:43:16 +0000 (14:43 +0000)]
- Fix version

16 years ago- Date update automatically now
helly [Sun, 25 May 2008 14:39:37 +0000 (14:39 +0000)]
- Date update automatically now

16 years ago- Correctly handle htdocs/manual.html
helly [Sun, 25 May 2008 14:38:16 +0000 (14:38 +0000)]
- Correctly handle htdocs/manual.html

16 years ago- Automatically update release date and version in documentation
helly [Sun, 25 May 2008 14:30:45 +0000 (14:30 +0000)]
- Automatically update release date and version in documentation
- Prepare new release

16 years ago- Fix bug in Scanner::fill(), reported as
helly [Sun, 25 May 2008 13:23:02 +0000 (13:23 +0000)]
- Fix bug in Scanner::fill(), reported as
  . 1952896 (segfault in re2c::Scanner::scan)
  . 1952842 (regression)

16 years agofix a memory error detected with valgrind in raw_token() (the string returned by...
nuno-lopes [Wed, 9 Apr 2008 22:57:45 +0000 (22:57 +0000)]
fix a memory error detected with valgrind in raw_token() (the string returned by it was freeded when the function returned

16 years ago- Add 0.13.4 release
helly [Sat, 5 Apr 2008 15:09:33 +0000 (15:09 +0000)]
- Add 0.13.4 release

16 years ago- Added transparent handling of #line directives in input files.
helly [Thu, 3 Apr 2008 20:53:44 +0000 (20:53 +0000)]
- Added transparent handling of #line directives in input files.

16 years ago- Fix token length check
helly [Mon, 24 Mar 2008 20:42:09 +0000 (20:42 +0000)]
- Fix token length check

16 years ago- Update bootstrap scanner
helly [Mon, 24 Mar 2008 20:17:37 +0000 (20:17 +0000)]
- Update bootstrap scanner

16 years ago- Move Scanner functions to code.cc
helly [Mon, 24 Mar 2008 18:46:49 +0000 (18:46 +0000)]
- Move Scanner functions to code.cc
- Allow to expand buffer while in reuse

16 years ago- Respect re2c:flags:w and re2c:flags:u inplace configuration changes.
helly [Mon, 24 Mar 2008 16:41:12 +0000 (16:41 +0000)]
- Respect re2c:flags:w and re2c:flags:u inplace configuration changes.
- Added the ability to add rules in 'use:re2c' blocks.
- Changed -r flag to accept only 'rules:re2c' and 'use:re2c' blocks.

16 years ago- Move Scanner state into base new struct ScannerState
helly [Mon, 24 Mar 2008 14:32:47 +0000 (14:32 +0000)]
- Move Scanner state into base new struct ScannerState
- Little bit of clean up
- Add ability to save & restore scanner state

16 years ago- Simplify dfa caching
helly [Mon, 24 Mar 2008 14:21:11 +0000 (14:21 +0000)]
- Simplify dfa caching

16 years ago- Do not drinput in -r mode
helly [Mon, 24 Mar 2008 13:13:28 +0000 (13:13 +0000)]
- Do not drinput in -r mode

16 years ago- Added re2c:flags:w and re2c:flags:u inplace configurations.
helly [Mon, 24 Mar 2008 01:05:08 +0000 (01:05 +0000)]
- Added re2c:flags:w and re2c:flags:u inplace configurations.
- Changed -r flag to accept only 'rules:re2c' and 'use:re2c' blocks.

16 years ago- One scannot combine -e and -r
helly [Sun, 23 Mar 2008 21:50:56 +0000 (21:50 +0000)]
- One scannot combine -e and -r

16 years ago- Improve help on wrong command lines
helly [Sun, 23 Mar 2008 20:34:51 +0000 (20:34 +0000)]
- Improve help on wrong command lines

16 years ago- Better Any/Dot implementation
helly [Sat, 22 Mar 2008 23:50:26 +0000 (23:50 +0000)]
- Better Any/Dot implementation

16 years ago- Better overflow protection with yyfill-pre-check
helly [Sat, 22 Mar 2008 17:43:57 +0000 (17:43 +0000)]
- Better overflow protection with yyfill-pre-check

16 years ago- Speling
helly [Sat, 22 Mar 2008 16:41:49 +0000 (16:41 +0000)]
- Speling

16 years ago- Added re2c:yyfill:check inplace configuration.
helly [Fri, 21 Mar 2008 21:23:07 +0000 (21:23 +0000)]
- Added re2c:yyfill:check inplace configuration.
- Added re2c:define:YYSETSTATE:naked inplace configuration.

16 years agomake the \n \r \t \v \f chars be represented by their escape sequence rather than...
nuno-lopes [Fri, 21 Mar 2008 19:51:48 +0000 (19:51 +0000)]
make the \n \r \t \v \f chars be represented by their escape sequence rather than an hex char (to improve readability of generated code)

16 years agotouch
nuno-lopes [Fri, 21 Mar 2008 19:49:26 +0000 (19:49 +0000)]
touch