]> granicus.if.org Git - flex/log
flex
8 years agoupdated syntax of AC_INIT call as per autoupdate
Will Estes [Sat, 21 Nov 2015 18:15:53 +0000 (13:15 -0500)]
updated syntax of AC_INIT call as per autoupdate

8 years agoremoved extra call to a _CPPFLAGS variable
Will Estes [Sat, 21 Nov 2015 18:12:58 +0000 (13:12 -0500)]
removed extra call to a _CPPFLAGS variable

8 years agoSwitch function definitions from mixed K&R to consistent ANSI C.
Stefan Reinauer [Thu, 14 May 2015 18:16:04 +0000 (11:16 -0700)]
Switch function definitions from mixed K&R to consistent ANSI C.

flex was using K&R function definitions for some functions and
ANSI C style in others, sometimes even in the same file. Change
the code to consistently use ANSI C.

Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
8 years agoUsed in-tree header file for c++ tests.
Mightyjo [Tue, 17 Nov 2015 05:39:02 +0000 (21:39 -0800)]
Used in-tree header file for c++ tests.

8 years agoDeclared version 2.6.0 v2.6.0
Will Estes [Tue, 17 Nov 2015 16:16:43 +0000 (11:16 -0500)]
Declared version 2.6.0

8 years agoDated, described flex release 2.6.0
Will Estes [Tue, 17 Nov 2015 16:14:05 +0000 (11:14 -0500)]
Dated, described flex release 2.6.0

8 years agoDeclared version 2.6.0rc1
Will Estes [Fri, 13 Nov 2015 19:56:25 +0000 (14:56 -0500)]
Declared version 2.6.0rc1

8 years agoSupplied versioning information in flex libraries.
lukeallardyce [Fri, 13 Nov 2015 19:48:19 +0000 (14:48 -0500)]
Supplied versioning information in flex libraries.

Resolves sourceforge bug #182. On OSX, and possibly other platforms, building the libfl libraries without versioning information caused a build failures.

8 years agoCleaned up more precisely after make check.
Will Estes [Fri, 13 Nov 2015 02:44:07 +0000 (21:44 -0500)]
Cleaned up more precisely after make check.

BUILT_SOURCES is now just the list of headers built as per the
automake manual. We provide the list of files to clean to make
rebuilding the test suite programs easier. We then use the CLEANFILES
list in a dist-hook to clean up the distribution that automake gathers
since not distributing flex generated files is foreign to automake's
mindset, but we need exactly that.

Additionally, we locate inputs to the tables-related tests more
precisely. Some files are in srcdir and some are in builddir, which
the arguments to the log compiler are now made aware of.

8 years agoPulled out scripts in tests/Makefile.am
Will Estes [Thu, 12 Nov 2015 00:08:26 +0000 (19:08 -0500)]
Pulled out scripts in tests/Makefile.am

8 years agoAdded srcdir to tableopts.am include
Will Estes [Wed, 11 Nov 2015 23:22:17 +0000 (18:22 -0500)]
Added srcdir to tableopts.am include

8 years agoChanged man page dependencies.
Will Estes [Wed, 11 Nov 2015 20:20:56 +0000 (15:20 -0500)]
Changed man page dependencies.

The man page is just the --help output as reformatted by help2man. The
--help option is most likely to change when the flex skeleton changes
or one of the option parsing files changes or the configure.ac script
itself changes. The dependencies reflect this now.

It is still necessary, under some circumstances, to rebuild flex
explicitly before building the man page. In theory, it's possible to
have automake arrange to do this all the time, but doing so works out
to be fragile, given the rest of the build system.

8 years agoCalled libtoolize directly because autoreconf fails to pick up LT_INIT properly
Will Estes [Tue, 10 Nov 2015 22:26:39 +0000 (17:26 -0500)]
Called libtoolize directly because autoreconf fails to pick up LT_INIT properly

8 years agoAdded tableopts.sh to EXTRA_DIST
Will Estes [Tue, 10 Nov 2015 22:24:28 +0000 (17:24 -0500)]
Added tableopts.sh to EXTRA_DIST

8 years agoMade tests depend on the built flex binary.
Mightyjo [Sun, 8 Nov 2015 23:39:03 +0000 (15:39 -0800)]
Made tests depend on the built flex binary.

8 years agoMerge branch 'master' into streamrefs
Mightyjo [Sun, 8 Nov 2015 23:43:09 +0000 (15:43 -0800)]
Merge branch 'master' into streamrefs

8 years agoCleaned more generated sources.
Mightyjo [Sun, 8 Nov 2015 07:11:35 +0000 (23:11 -0800)]
Cleaned more generated sources.

Added skel.c explicitly to MAINTAINERCLEANFILES in src/Makefile.am.

Added a bunch of files to built_SOURCES in tests/Makefile.am so that the
suite is easier to clean up.

8 years agoUpdated documentation to reflect the revisions to FlexLexer.h
Mightyjo [Thu, 5 Nov 2015 03:50:50 +0000 (19:50 -0800)]
Updated documentation to reflect the revisions to FlexLexer.h

8 years agoChanged several pointers to istream (and ostream) to references in c++-only sections...
Mightyjo [Tue, 27 Oct 2015 03:35:00 +0000 (20:35 -0700)]
Changed several pointers to istream (and ostream) to references in c++-only sections of the skeleton.

Patched up a variety of expected errors caused by changing istream* to istream&.

Added a stray 'make' at line 545.  Oops.

Changed the buffer_state struct to store std::streambuf* instead of std::istream* for C++ mode.  Changed interfaces in FlexLexer.h to take std::istream& instead of *.  Backward compatibility temporarily broken.

Patched up backward compatibility with reasonable behavior in the presence of null pointers.

Re-added backward-compatible versions of the yyFlexLexer methods that take iostream pointers.  All tests passing.

9 years agonew zh_CN translation from the translation project
Translation Project [Tue, 29 Sep 2015 19:53:33 +0000 (15:53 -0400)]
new zh_CN translation from the translation project

9 years agofix possible resource leak with yynultrans_tbl
Jaska Uimonen [Mon, 27 Jul 2015 08:20:05 +0000 (11:20 +0300)]
fix possible resource leak with yynultrans_tbl

9 years agofix possible uninitialized array values
Jaska Uimonen [Mon, 27 Jul 2015 07:59:58 +0000 (10:59 +0300)]
fix possible uninitialized array values

9 years agoadd %{...%} block to example in manual
Will Estes [Wed, 5 Aug 2015 19:27:37 +0000 (15:27 -0400)]
add %{...%} block to example in manual

9 years agoinitialize libtool earlier in build system generation
Will Estes [Wed, 15 Jul 2015 19:20:11 +0000 (15:20 -0400)]
initialize libtool earlier in build system generation

9 years agonew da translation from the Translation Project
Translation Project [Fri, 8 May 2015 16:58:18 +0000 (12:58 -0400)]
new da translation from the Translation Project

9 years agoFix `label unused` warning
Mariusz Pluciński [Fri, 25 Jul 2014 16:36:05 +0000 (18:36 +0200)]
Fix `label unused` warning

9 years agoFix two "signed/unsigned" warnings
Mariusz Pluciński [Fri, 25 Jul 2014 16:07:15 +0000 (18:07 +0200)]
Fix two "signed/unsigned" warnings

9 years agoFix `unused function` warnings in tests
Mariusz Pluciński [Fri, 25 Jul 2014 16:03:39 +0000 (18:03 +0200)]
Fix `unused function` warnings in tests

9 years agoFix `implicit function declaration` warnings in tests
Mariusz Pluciński [Fri, 25 Jul 2014 15:41:50 +0000 (17:41 +0200)]
Fix `implicit function declaration` warnings in tests

9 years agoRemove a few `unused variable` warnings
Mariusz Pluciński [Fri, 25 Jul 2014 15:16:26 +0000 (17:16 +0200)]
Remove a few `unused variable` warnings

9 years agoRemove unused variable from src/filter.c:filter_fix_linedirs
Mariusz Pluciński [Fri, 25 Jul 2014 15:06:36 +0000 (17:06 +0200)]
Remove unused variable from src/filter.c:filter_fix_linedirs

9 years agoRemove unused argument and variable from src/scanopt.c:scanopt_err
Mariusz Pluciński [Fri, 25 Jul 2014 15:04:57 +0000 (17:04 +0200)]
Remove unused argument and variable from src/scanopt.c:scanopt_err

9 years agoFix a few "unused parameter" warnings
Mariusz Pluciński [Fri, 25 Jul 2014 14:58:17 +0000 (16:58 +0200)]
Fix a few "unused parameter" warnings

9 years agoFix warning about redefined macro when multiple scanners are used.
Mariusz Pluciński [Fri, 25 Jul 2014 14:07:06 +0000 (16:07 +0200)]
Fix warning about redefined macro when multiple scanners are used.

9 years agoAvoid passing `const char*` argument as `char*` in test-bison-nr
Mariusz Pluciński [Fri, 25 Jul 2014 14:10:07 +0000 (16:10 +0200)]
Avoid passing `const char*` argument as `char*` in test-bison-nr

9 years agoFix -Wdocumentation warnings
Alexis La Goutte [Fri, 21 Nov 2014 17:11:19 +0000 (18:11 +0100)]
Fix -Wdocumentation warnings

9 years agodocument new suite layout
Will Estes [Sun, 16 Nov 2014 21:33:15 +0000 (16:33 -0500)]
document new suite layout

9 years agoremove unused files after test suite refactor
Will Estes [Sun, 16 Nov 2014 21:32:59 +0000 (16:32 -0500)]
remove unused files after test suite refactor

9 years agoIgnore directories build-aux/, m4/
Will Estes [Fri, 14 Nov 2014 13:35:24 +0000 (08:35 -0500)]
Ignore directories build-aux/, m4/

Since build-aux/ now contains a number of files previously at the top
level, we ignore build-aux/. Therefore, it's not necessary to list any
files that are now kept in it. Also, explicitly mark m4/ as a directory to ignore.

9 years agoadded back call to AC_CONFIG_AUX_DIR.
Will Estes [Fri, 14 Nov 2014 13:29:44 +0000 (08:29 -0500)]
added back call to AC_CONFIG_AUX_DIR.

In an effort to reduce top level directory clutter, reintroduced the
call to AC_CONFIG_AUX_DIR. Moved the call to LT_INIT to after that
call so configure will be able to find its files.

9 years agouse unofficial bash strict mode and cleanups in supporting bash scripts
Will Estes [Sat, 19 Jul 2014 01:16:11 +0000 (21:16 -0400)]
use unofficial bash strict mode and cleanups in supporting bash scripts

9 years agosplit apart table options tests into tests per threading, table option, serialization...
Will Estes [Fri, 18 Jul 2014 21:41:23 +0000 (17:41 -0400)]
split apart table options tests into tests per threading, table option, serialization and verification

9 years agoadd tableopts.sh script
Will Estes [Fri, 18 Jul 2014 01:36:43 +0000 (21:36 -0400)]
add tableopts.sh script

9 years agouse automake conditional around pthread test
Will Estes [Thu, 3 Jul 2014 02:19:12 +0000 (22:19 -0400)]
use automake conditional  around pthread test

9 years agorefactor lineno_trailing test for new test suite layout
Will Estes [Wed, 2 Jul 2014 01:02:30 +0000 (21:02 -0400)]
refactor lineno_trailing test for new test suite layout

9 years agorefactor lineno_r test for new test suite layout
Will Estes [Wed, 2 Jul 2014 00:56:44 +0000 (20:56 -0400)]
refactor lineno_r test for new test suite layout

9 years agorefactor lineno_nr test for new test suite layout
Will Estes [Wed, 2 Jul 2014 00:49:53 +0000 (20:49 -0400)]
refactor lineno_nr test for new test suite layout

9 years agoRemove linedir_r test.
Will Estes [Mon, 30 Jun 2014 12:30:31 +0000 (08:30 -0400)]
Remove linedir_r test.

The linedir_r test tested the implementation of line number tracking, not its results.

9 years agorefactor pthread test for new test suite layout
Will Estes [Wed, 25 Jun 2014 01:07:52 +0000 (21:07 -0400)]
refactor pthread test for new test suite layout

9 years agobuild reject_[vs]er tests explicitly to pass proper compiler flags
Will Estes [Tue, 24 Jun 2014 20:52:22 +0000 (16:52 -0400)]
build reject_[vs]er tests explicitly to pass proper compiler flags

9 years agorefactor cxx_yywrap test for new test suite layout
Will Estes [Tue, 24 Jun 2014 18:01:53 +0000 (14:01 -0400)]
refactor cxx_yywrap test for new test suite layout

9 years agorefactor concatenated options test for new test suite layout
Will Estes [Tue, 17 Jun 2014 20:19:47 +0000 (16:19 -0400)]
refactor concatenated options test for new test suite layout

9 years agorefactor include_by_* tests for new test suite layout
Will Estes [Tue, 17 Jun 2014 13:42:24 +0000 (09:42 -0400)]
refactor include_by_* tests for new test suite layout

9 years agorefactor rescan_r test for new test suite layout
Will Estes [Tue, 17 Jun 2014 00:07:56 +0000 (20:07 -0400)]
refactor rescan_r test for new test suite layout

9 years agoRefactor rescan_nr test for new test suite layout.
Will Estes [Mon, 16 Jun 2014 23:59:21 +0000 (19:59 -0400)]
Refactor rescan_nr test for new test suite layout.

Also add -r option to testwrapper.sh to support passing input file as
a command line argument to the test scanner without using shell
redirection.

9 years agocorrect use of objext to OBJEXT
Will Estes [Mon, 16 Jun 2014 21:33:21 +0000 (17:33 -0400)]
correct use of objext to OBJEXT

9 years agorefactor quotes test for new test suite layout
Will Estes [Mon, 16 Jun 2014 21:23:26 +0000 (17:23 -0400)]
refactor quotes test for new test suite layout

9 years agoRefactor reject test for new test suite layout.
Will Estes [Mon, 16 Jun 2014 20:11:14 +0000 (16:11 -0400)]
Refactor reject test for new test suite layout.

Split out reject test into its constituant tests. Add .reject tests
and .table tests for automake test log generation. Rewrite
testwrapper.sh to handle running with a tables file and specifying
optional input using command line options rather than positional
parameters.

9 years agoRefactor multiple_scanners_r test for new test suite layout.
Will Estes [Mon, 16 Jun 2014 00:52:03 +0000 (20:52 -0400)]
Refactor multiple_scanners_r test for new test suite layout.

Also, remove the use of table files from this test as that tests two
features at once and we want to be as close to testing one feature at
a time as we can be.

9 years agorefactor multiple_scanners_nr test for new test suite layout
Will Estes [Sun, 15 Jun 2014 23:23:53 +0000 (19:23 -0400)]
refactor multiple_scanners_nr test for new test suite layout

9 years agorefactor cxx_multiple_scanners test for new test suite layout
Will Estes [Sun, 15 Jun 2014 01:12:47 +0000 (21:12 -0400)]
refactor cxx_multiple_scanners test for new test suite layout

9 years agorefactor c_cxx_nr, c_cxx_r tests for new test suite layout
Will Estes [Sat, 14 Jun 2014 20:22:07 +0000 (16:22 -0400)]
refactor c_cxx_nr, c_cxx_r tests for new test suite layout

9 years agorefactor cxx_basic test for new test suite layout
Will Estes [Sat, 14 Jun 2014 19:18:38 +0000 (15:18 -0400)]
refactor cxx_basic test for new test suite layout

9 years agorefactor posixly_correct test for new test suite layout
Will Estes [Sat, 14 Jun 2014 18:41:32 +0000 (14:41 -0400)]
refactor posixly_correct test for new test suite layout

9 years agorefactor yyextra test for new test suite layout
Will Estes [Sat, 14 Jun 2014 15:48:48 +0000 (11:48 -0400)]
refactor yyextra test for new test suite layout

9 years agorefactor top test for new test suite layout
Will Estes [Sat, 14 Jun 2014 15:46:44 +0000 (11:46 -0400)]
refactor top test for new test suite layout

9 years agorefactor string_r test for new test suite layout
Will Estes [Sat, 14 Jun 2014 15:25:43 +0000 (11:25 -0400)]
refactor string_r test for new test suite layout

9 years agorefactor string_nr test for new test suite layout
Will Estes [Sat, 14 Jun 2014 15:18:15 +0000 (11:18 -0400)]
refactor string_nr test for new test suite layout

9 years agorefactor prefix_r test for new test suite layout
Will Estes [Thu, 12 Jun 2014 23:22:42 +0000 (19:22 -0400)]
refactor prefix_r test for new test suite layout

9 years agorefactor prefix_nr for new test suite layout
Will Estes [Thu, 12 Jun 2014 22:38:55 +0000 (18:38 -0400)]
refactor prefix_nr for new test suite layout

9 years agoCheck if test input file exists.
Will Estes [Thu, 12 Jun 2014 22:26:15 +0000 (18:26 -0400)]
Check if test input file exists.

Not all tests have input files, so check if one exists and run the
test program accordingly.

9 years agorefactor posix test for new test suite layout
Will Estes [Thu, 12 Jun 2014 22:25:35 +0000 (18:25 -0400)]
refactor posix test for new test suite layout

9 years agorefactor noansi_r test for new test suite layout
Will Estes [Thu, 12 Jun 2014 20:31:25 +0000 (16:31 -0400)]
refactor noansi_r test for new test suite layout

9 years agorefactor noansi_nr for new test suite layout
Will Estes [Thu, 12 Jun 2014 20:26:54 +0000 (16:26 -0400)]
refactor noansi_nr for new test suite layout

9 years agorefactor mem_r test for new test suite layout
Will Estes [Thu, 5 Jun 2014 13:28:07 +0000 (09:28 -0400)]
refactor mem_r test for new test suite layout

9 years agorefactor mem_nr test for new test suite layout
Will Estes [Thu, 5 Jun 2014 13:15:25 +0000 (09:15 -0400)]
refactor mem_nr test for new test suite layout

9 years agorefactor header_r test for new test suite layout
Will Estes [Wed, 4 Jun 2014 23:15:28 +0000 (19:15 -0400)]
refactor header_r test for new test suite layout

9 years agorefactor header_nr test for new test suite layout
Will Estes [Wed, 4 Jun 2014 20:58:33 +0000 (16:58 -0400)]
refactor header_nr test for new test suite layout

9 years agorefactor extended test for new test suite layout
Will Estes [Wed, 4 Jun 2014 20:44:30 +0000 (16:44 -0400)]
refactor extended test for new test suite layout

9 years agorefactor debug_r test for new test suite layout
Will Estes [Wed, 4 Jun 2014 20:25:00 +0000 (16:25 -0400)]
refactor debug_r test for new test suite layout

9 years agorefactor debug_nr test for new test suite layout
Will Estes [Wed, 4 Jun 2014 20:15:42 +0000 (16:15 -0400)]
refactor debug_nr test for new test suite layout

9 years agorefactor ccl test for new test suite layout
Will Estes [Wed, 4 Jun 2014 20:04:34 +0000 (16:04 -0400)]
refactor ccl test for new test suite layout

9 years agouse underscores in test file names to silence automake warnings
Will Estes [Wed, 4 Jun 2014 19:54:44 +0000 (15:54 -0400)]
use underscores in test file names to silence automake warnings

9 years agodo not track m4 subdirectory any more
Will Estes [Wed, 4 Jun 2014 18:57:32 +0000 (14:57 -0400)]
do not track m4 subdirectory any more

9 years agoupgrade automake version to 1.14.1
Will Estes [Wed, 4 Jun 2014 18:52:16 +0000 (14:52 -0400)]
upgrade automake version to 1.14.1

Unfortunately, automake 1.14.1 does not play nicely with
AC_CONFIG_AUX_DIR, so upgrading the used automake version required
removing the build-aux directory and letting autoconf's installed
helper files live more over the tree.

9 years agoignore more files generated by texinfo
Will Estes [Wed, 4 Jun 2014 18:44:33 +0000 (14:44 -0400)]
ignore more files generated by texinfo

9 years agoupdate gettext version to 0.19
Will Estes [Wed, 4 Jun 2014 18:18:35 +0000 (14:18 -0400)]
update gettext version to 0.19

9 years agocall LT_INIT earlier in configure.ac
Will Estes [Wed, 4 Jun 2014 18:17:46 +0000 (14:17 -0400)]
call LT_INIT earlier in configure.ac

9 years agorefactor bison-yylval test for new test suite layout
Will Estes [Wed, 4 Jun 2014 14:38:30 +0000 (10:38 -0400)]
refactor bison-yylval test for new test suite layout

9 years agorefactor bison-yylloc test for new test suite layout
Will Estes [Wed, 4 Jun 2014 13:04:09 +0000 (09:04 -0400)]
refactor bison-yylloc test for new test suite layout

9 years agorefactor bison-nr test for new test suite layout
Will Estes [Tue, 3 Jun 2014 21:49:50 +0000 (17:49 -0400)]
refactor bison-nr test for new test suite layout

9 years agorefactor array-r test for new test suite layout
Will Estes [Sun, 1 Jun 2014 23:59:18 +0000 (19:59 -0400)]
refactor array-r test for new test suite layout

9 years agolist tests/README with other EXTRA_DIST files in tests/
Will Estes [Sun, 1 Jun 2014 23:14:58 +0000 (19:14 -0400)]
list tests/README with other EXTRA_DIST files in tests/

9 years agorefactor array-nr test for new test suite layout
Will Estes [Sun, 1 Jun 2014 23:06:39 +0000 (19:06 -0400)]
refactor array-nr test for new test suite layout

9 years agomake tests/testwrapper.sh more verbose; find input in srcdir
Will Estes [Sun, 1 Jun 2014 19:09:29 +0000 (15:09 -0400)]
make tests/testwrapper.sh more verbose; find input in srcdir

Since output is redirected by the automake parallel test suite driver,
turn on both -v and -x in bash for the testwrapper.sh shell
script. This helps a ton in debugging problems with the test harness
itself.

In general, the input files are in automake's srcdir and the name of
the test includes the relative path to it (even though that's supposed
to be ./). Therefore, pass srcdir in AM_LOG_FLAGS and prepend that to
the test name as part of constructing the input file's name.

9 years agodistribute tests/testwrapper.sh
Will Estes [Sun, 1 Jun 2014 19:07:55 +0000 (15:07 -0400)]
distribute tests/testwrapper.sh

9 years agorefacter alloc-extra for new test suite layout
Will Estes [Sun, 1 Jun 2014 15:27:18 +0000 (11:27 -0400)]
refacter alloc-extra for new test suite layout

9 years agorefactor basic-r test for new test suite layout
Will Estes [Fri, 30 May 2014 02:51:35 +0000 (22:51 -0400)]
refactor basic-r test for new test suite layout

9 years agorefactor basic-nr test for new test suite layout
Will Estes [Tue, 22 Apr 2014 22:38:15 +0000 (18:38 -0400)]
refactor basic-nr test for new test suite layout

9 years agoremove old tests/ subdirectories from build system
Will Estes [Tue, 22 Apr 2014 22:44:19 +0000 (18:44 -0400)]
remove old tests/ subdirectories from build system