]> granicus.if.org Git - flex/log
flex
9 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.

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

9 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.

9 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

9 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

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

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

10 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

10 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.

10 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.

10 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

10 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

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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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.

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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/

10 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

10 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.

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

10 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

10 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

10 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

10 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

10 years agoadd parallel test suite option to build system
Will Estes [Tue, 22 Apr 2014 22:43:39 +0000 (18:43 -0400)]
add parallel test suite option to build system

10 years agoignore files for new test suite layout
Will Estes [Tue, 22 Apr 2014 22:42:05 +0000 (18:42 -0400)]
ignore files for new test suite layout

10 years agouse automake parallel test suite option to build test suite
Will Estes [Tue, 22 Apr 2014 22:40:51 +0000 (18:40 -0400)]
use automake parallel test suite option  to build test suite

10 years agoDo not use obsolete bison constructs in tests.
Manoj Srivastava [Wed, 9 Apr 2014 07:23:07 +0000 (00:23 -0700)]
Do not use obsolete bison constructs in tests.

In Bison 3.0, support for YYLEX_PARAM and YYPARSE_PARAM has been
removed (deprecated in Bison 1.875): use %lex-param, %parse-param, or
%param. This commit fixes the tests so they still work.

Signed-off-by: Manoj Srivastava <srivasta@golden-gryphon.com>
10 years agoNetBSD downstream patches.
Christos Zoulas [Fri, 31 Oct 2014 18:20:02 +0000 (14:20 -0400)]
NetBSD downstream patches.

  const fixes.

  -Wconversion fixes for the skeleton files.

  param namespace protection (add _ to inline function parameters).

  unused variable/code removal.

  rename warn to lwarn to avoid conflict with <err.h>.

  ctype.h function argument correction.

  merged the error functions lerrif and lerrsf -> lerr.

10 years agoAllow error reporting routines to accept varying number of arguments in modern style
Mariusz Pluciński [Fri, 25 Jul 2014 13:22:01 +0000 (15:22 +0200)]
Allow error reporting routines to accept varying number of arguments in modern style

10 years agoFix warning on assigning from `const char*` to `char*`
Mariusz Pluciński [Fri, 25 Jul 2014 13:10:48 +0000 (15:10 +0200)]
Fix warning on assigning from `const char*` to `char*`

10 years agoAdd disambiguation braces in main.c
Mariusz Pluciński [Thu, 24 Jul 2014 17:50:01 +0000 (19:50 +0200)]
Add disambiguation braces in main.c

10 years agoRemoved deprecated 'register' storage class specifier.
Yuri [Thu, 17 Jul 2014 21:07:30 +0000 (14:07 -0700)]
Removed deprecated 'register' storage class specifier.
clang-3.5.0 now complains about them: warning: 'register' storage class specifier is deprecated [-Wdeprecated-register]

10 years agoChange output formats from octal to hexadecimal
Mariusz Pluciński [Sat, 21 Jun 2014 00:07:23 +0000 (02:07 +0200)]
Change output formats from octal to hexadecimal

10 years agoupdate version number to 2.6.0-pre
Will Estes [Wed, 11 Jun 2014 16:48:37 +0000 (12:48 -0400)]
update version number to 2.6.0-pre

10 years agocheck limits before using array index cclp; resolves sf-166
Will Estes [Sat, 3 May 2014 11:16:53 +0000 (07:16 -0400)]
check limits before using array index cclp; resolves sf-166

10 years agoSuppress clang warning about empty @param paragraph; resolves sf#158
Sean McBride [Thu, 3 Apr 2014 00:49:43 +0000 (20:49 -0400)]
Suppress clang warning about empty @param paragraph; resolves sf#158

Signed-off-by: Will Estes <westes575@gmail.com>
10 years agofix punction when talking about colon-bracket delimiters; resolves sf#167
Will Estes [Thu, 3 Apr 2014 00:32:33 +0000 (20:32 -0400)]
fix punction when talking about colon-bracket delimiters; resolves sf#167