]> granicus.if.org Git - flex/log
flex
8 years agoLinked flex binary against libintl, not libfl.
OBATA Akio [Fri, 8 Jan 2016 20:23:18 +0000 (15:23 -0500)]
Linked flex binary against libintl, not libfl.

Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
8 years agoImproved pipe-stdin hack behavior; resolves sf#198.
Michael van Elst [Fri, 8 Jan 2016 20:07:57 +0000 (15:07 -0500)]
Improved pipe-stdin hack behavior; resolves sf#198.

Signed-off-by: Thomas <Klausner wiz@NetBSD.org>
8 years agoRemoved no longer needed header checks
Will Estes [Sun, 27 Dec 2015 19:05:51 +0000 (14:05 -0500)]
Removed no longer needed header checks

8 years agoChecked for reallocarray() with AC_REPLACE_FUNCS
Will Estes [Sun, 27 Dec 2015 18:57:13 +0000 (13:57 -0500)]
Checked for reallocarray() with AC_REPLACE_FUNCS

8 years agoinclude libgen.h from flexdef.h, not main.c
Will Estes [Sun, 27 Dec 2015 18:46:37 +0000 (13:46 -0500)]
include libgen.h from flexdef.h, not main.c

8 years agoReplace basename2() with basename(3).
Michael Reed [Fri, 25 Dec 2015 19:49:33 +0000 (14:49 -0500)]
Replace basename2() with basename(3).

Given the following program:

\#include <libgen.h>
\#include <stdio.h>

/* extracts basename from path, optionally stripping the extension "\.*"
 * (same concept as /bin/sh `basename`, but different handling of extension). */
static char *basename2 (char *path)
{
char   *b;

for (b = path; *path; path++)
if (*path == '/')
b = path + 1;
return b;
}

static void basename_compare(char *path)
{
printf("basename: %s\n", basename(path));
printf("basename2: %s\n\n", basename2(path));
}

int main (int argc, char *argv[])
{
// From http://pubs.opengroup.org/onlinepubs/9699919799/
// ``Sample Input and Output Strings''
basename_compare("/usr/lib");
basename_compare("/usr/");
basename_compare("/");
basename_compare("///");
basename_compare("//usr//lib//");
return 0;
}

... and the program's output:

basename: lib
basename2: lib

basename: usr
basename2:

basename: /
basename2:

basename: /
basename2:

basename: lib
basename2:

... we can see that basename2() behaves the same as basename(3) in the
average use case, but messes up pretty severely in others.  Besides
that, basename(3) is mandated by POSIX so should be present on modern
Unix-like systems, so we shouldn't define it ourselves.

Some notes:
- it doesn't appear to be mentioned in POSIX, but OpenBSD's basename(3)
  returns NULL if the returned path componenet is > PATH_MAX, so add a
  check for that
- basename(3) shouldn't return an empty string, so remove the
  program_name[0] != '\0' check

8 years agoSimplify basename2().
Michael Reed [Fri, 25 Dec 2015 19:39:18 +0000 (14:39 -0500)]
Simplify basename2().

It's only call site does not activate the `strip_ext` code path, so the
function can be simplified a lot.  While here, remove a double
assignment.

8 years agoCleaned up __STDC__ #ifdefs.
Michael Reed [Fri, 25 Dec 2015 19:15:15 +0000 (14:15 -0500)]
Cleaned up __STDC__ #ifdefs.

Assuming a compiler conforming to the ISO C standard is used, i.e.,
__STDC__ is defined to 1, YY_USE_CONST is always defined and can be
eliminated.

8 years agoRemove remaining use of PROTO
Michael Reed [Fri, 25 Dec 2015 19:01:24 +0000 (14:01 -0500)]
Remove remaining use of PROTO

8 years agobuf.c: use snprintf
Serguey Parkhomovsky [Mon, 21 Dec 2015 22:40:24 +0000 (14:40 -0800)]
buf.c: use snprintf

8 years agobuild: reformatted AC_CHECK_FUNCS for readability
Will Estes [Sat, 19 Dec 2015 21:17:31 +0000 (16:17 -0500)]
build: reformatted AC_CHECK_FUNCS for readability

8 years agocorrect function prototype
Will Estes [Thu, 17 Dec 2015 21:45:14 +0000 (16:45 -0500)]
correct function prototype

8 years agoRemove more instances of PROTO
Michael Reed [Tue, 15 Dec 2015 20:08:50 +0000 (15:08 -0500)]
Remove more instances of PROTO

8 years agoRemoved prototype for main().
Michael Reed [Tue, 15 Dec 2015 19:47:33 +0000 (14:47 -0500)]
Removed prototype for main().

It's not called anywhere else so the prototype is not needed.
See the C99 standard [1], section 5.1.2.2.1 for more info.

[1]: http://www.open-std.org/jtc1/sc22/wg14/www/docs/n1256.pdf

8 years agoRemoved more instances of PROTO, ansifying.
Michael McConville [Sun, 13 Dec 2015 06:20:11 +0000 (01:20 -0500)]
Removed more instances of PROTO, ansifying.

8 years agoNoted github for issue tracking and pull requests
Will Estes [Mon, 14 Dec 2015 00:41:19 +0000 (19:41 -0500)]
Noted github for issue tracking and pull requests

8 years agoReformatted README; removed sf bug tracking link.
Michael McConville [Sun, 13 Dec 2015 22:55:47 +0000 (17:55 -0500)]
Reformatted README; removed sf bug tracking link.

8 years agoRemoved macros for indentation level.
Michael McConville [Sun, 13 Dec 2015 22:44:20 +0000 (17:44 -0500)]
Removed macros for indentation level.

Just increment or decrement the indentation counter. That's less to
remember and makes the code more readable.

w# Please enter the commit message for your changes. Lines starting

8 years agotests: fixed paths to input files.
Mike Frysinger [Sun, 13 Dec 2015 04:28:43 +0000 (23:28 -0500)]
tests: fixed paths to input files.

The current test wrapper works only when the inputs are specified using
relative paths.  If they're specified with absolute paths, the driver
fails to detect the inputs because it always prepends the input dir name
which itself is a relative path:
$ cd tests
$ ./testwrapper.sh -d . -i $PWD/reject.txt -t ./reject_ver.table
<fails to open inputs>

This normally doesn't show up because people run `./configure` or, for
out of tree builds, `../configure`.  But if you happen to run configure
with an absolute path, then automake tends to generate absolute paths
as well leading to test failures.

Fix all of this by dropping the implicit input directory prepending.

- INPUT_NAME is often a list of files, not just a single one
- the input directory is used to find the testname tables which are
  usually generated, so it's impossible to use files from both source
  and build directories
- most of the time, the full/correct path is already specified

8 years agoconfigure: fixed realloc test.
Mike Frysinger [Sun, 13 Dec 2015 04:17:00 +0000 (23:17 -0500)]
configure: fixed realloc test.

The [] characters are used for quoting in m4, so the attempt to use
them in place of `test` fails yielding the warning at build time:

.../flex/configure: line 20222: no: command not found

8 years agoStarted removal of PROTO macro.
Michael McConville [Sat, 12 Dec 2015 05:38:53 +0000 (00:38 -0500)]
Started removal of PROTO macro.

The PROTO macro is no longer needed. Additionally, its usage is inconsistent,
so we began removing it.

8 years agoRemoved SHORT_FILE_NAMES preprocessor symbol.
Michael Reed [Sat, 12 Dec 2015 20:17:53 +0000 (15:17 -0500)]
Removed SHORT_FILE_NAMES preprocessor symbol.

As a relic of MS-DOS, we don't need this.

It's never defined; see 13b5b214f53d1c3354a7ab910bd160c126df1331.

Removed additional MSDOS ifdef.

8 years agoAdded new function reallocarray.
Michael McConville [Sat, 12 Dec 2015 04:04:36 +0000 (23:04 -0500)]
Added new function reallocarray.

This is taken from OpenSSH Portable, which in turn takes it from
OpenBSD.

reallocarray wraps the stdlib's realloc function. It takes two size
arguments and checks for overflow, like calloc, but doesn't zero the
memory. Therefore, it allows us to do overflow-safe array reallocations
and overflow-safe unzeroed array allocations, which the stdlib
allocation functions don't.

We have a bunch of specific array allocation macros, none of
which check for overflow. reallocarray should be able to replace them.

8 years agoRemoved MS-DOS, VMS macros.
Michael McConville [Sat, 12 Dec 2015 04:42:19 +0000 (23:42 -0500)]
Removed MS-DOS, VMS macros.

Given the age of the MS-DOS and VMS platforms, it's likely that no one is building flex on them any more. Additionally, the preferred approach is to test for particular platform features rather than to test for particular platforms.

8 years agoMade search for m4 more explicit.
Will Estes [Sat, 12 Dec 2015 16:03:05 +0000 (11:03 -0500)]
Made search for m4 more explicit.

8 years agoReturned 0 from yywrap() instead of EOF
Will Estes [Sat, 12 Dec 2015 12:35:23 +0000 (07:35 -0500)]
Returned 0 from yywrap() instead of EOF

8 years agoChanged end of main() in libmain to exit(0)
Will Estes [Sat, 12 Dec 2015 01:25:50 +0000 (20:25 -0500)]
Changed end of main() in libmain to exit(0)

8 years agoMentioned v2.6.1; documented some changes since v2.6.0
Will Estes [Fri, 11 Dec 2015 15:57:46 +0000 (10:57 -0500)]
Mentioned v2.6.1; documented some changes since v2.6.0

8 years agoUpdated build documentation; finished sf#155.
Will Estes [Fri, 11 Dec 2015 15:41:08 +0000 (10:41 -0500)]
Updated build documentation; finished sf#155.

Removed version numbers for build tools. Noted that version requirements for build tools will be noted in configure.ac. Expanded documentation of building texinfo based docs.

8 years agoRemoved flex.pdf from distribution; partially fixed sf#155
Will Estes [Fri, 11 Dec 2015 15:40:34 +0000 (10:40 -0500)]
Removed flex.pdf from distribution; partially fixed sf#155

8 years agoCommented in C style in skeleton; fixed sf#195
Will Estes [Fri, 11 Dec 2015 14:45:14 +0000 (09:45 -0500)]
Commented in C style in skeleton; fixed sf#195

8 years agoIgnored autoscan files
Will Estes [Thu, 10 Dec 2015 15:05:59 +0000 (10:05 -0500)]
Ignored autoscan files

8 years agoChecked for ranlib and strdup() at configure time
Will Estes [Thu, 10 Dec 2015 00:39:20 +0000 (19:39 -0500)]
Checked for ranlib and strdup() at configure time

8 years agoReplace zero_out() with stdlib's memset.
Michael McConville [Wed, 9 Dec 2015 21:22:11 +0000 (16:22 -0500)]
Replace zero_out() with stdlib's memset.

8 years agoRemoved memory allocation casts.
Michael McConville [Wed, 9 Dec 2015 21:14:41 +0000 (16:14 -0500)]
Removed memory allocation casts.

8 years agoRemoved alloca() configuration.
Michael McConville [Wed, 9 Dec 2015 19:20:40 +0000 (14:20 -0500)]
Removed alloca() configuration.

Since alloca() is dangerous, depricated, we remove it.

8 years agoRemoved implementation of isascii().
Michael McConville [Wed, 9 Dec 2015 19:13:05 +0000 (14:13 -0500)]
Removed implementation of isascii().

POSIX defines isascii(), so it's likely present on anything weactually build flex on these days.

8 years agoRemoved NULL-checks before free()
Michael McConville [Wed, 9 Dec 2015 18:03:57 +0000 (13:03 -0500)]
Removed NULL-checks before free()

8 years agoRemoved flex_free()i, corrected buf_destroy logic.
Michael McConville [Wed, 9 Dec 2015 02:16:52 +0000 (21:16 -0500)]
Removed flex_free()i, corrected buf_destroy logic.

As with flex_alloc(), replace with direct calls to free().

The function buf_destroy is now null safe and the logic was corrected to free()
correctly.

8 years agoRemoved flex_realloc().
Michael McConville [Wed, 9 Dec 2015 02:12:21 +0000 (21:12 -0500)]
Removed flex_realloc().

As with flex_alloc(), replace calls to flex_realloc(), which was just a
wrapper around realloc().

8 years agoRemoved flex_alloc; cleaned up style.
Michael McConville [Wed, 9 Dec 2015 02:00:39 +0000 (21:00 -0500)]
Removed flex_alloc; cleaned up style.

The function flex_alloc() was just a wrapper around malloc(). Since this only added unclarity, and the flex_alloc() function is likely a legacy of olden times, remove it in favor of calls to malloc() directly.

Style elements cleaned up:

 * superfluous spacing around parentheses
 * non-constant initialization in variable declarations
 * needless casts
 * almost all uses of assignments as subexpressions

8 years agoRemove allocation casts
Michael McConville [Tue, 8 Dec 2015 00:44:10 +0000 (19:44 -0500)]
Remove allocation casts

8 years agoBuilt flex with itself.
Will Estes [Mon, 7 Dec 2015 20:37:01 +0000 (15:37 -0500)]
Built flex with itself.

Changes in scan.l need to be built into flex with the same version of
flex in some cases. Since this build requirement is minimal, we simply
bootstrap flex unconditionally.

We intentionally exclude from version control the bootstrap artifacts as
the extra copy of the lexer, the intermediate scanner and the bootstrap
executable are not of interest.

8 years agoUse NULL rather than (type *) 0.
Michael McConville [Sat, 5 Dec 2015 23:00:12 +0000 (18:00 -0500)]
Use NULL rather than (type *) 0.

8 years agoReplace copy_unsigned_string() with xstrdup().
Michael McConville [Sat, 5 Dec 2015 22:42:40 +0000 (17:42 -0500)]
Replace copy_unsigned_string() with xstrdup().

Like copy_string(), copy_unsigned_string() is just a clone of the
stlib's strdup(). We only use it twice. I'm pretty confident that char
signedness is irrelevant in this case.

8 years agoCleaned up white space.
Akim Demaille [Fri, 4 Dec 2015 15:56:47 +0000 (16:56 +0100)]
Cleaned up white space.

8 years agoRemoved struct keyword before yy_buffer_state
Akim Demaille [Fri, 4 Dec 2015 15:41:47 +0000 (16:41 +0100)]
Removed struct keyword before yy_buffer_state

8 years agoReplaced FLEX_STD macro with std::.
Akim Demaille [Fri, 4 Dec 2015 15:39:39 +0000 (16:39 +0100)]
Replaced FLEX_STD macro with std::.

The std:: construct exists as of C++98, so we can simply assume it is
supported.

8 years agoGenerated skel.c explicitly in srcdir.
Akim Demaille [Fri, 4 Dec 2015 15:37:03 +0000 (16:37 +0100)]
Generated skel.c explicitly in srcdir.

Rewrote the target for skel.c to explicitly mention the srcdir. This
should help when building flex from a directory outside the flex
tree. Spread the rule out over several lines to enhance readability.

8 years agoCalled glibtoolize if libtoolize run fails.
Akim Demaille [Fri, 4 Dec 2015 15:36:17 +0000 (16:36 +0100)]
Called glibtoolize if libtoolize run fails.

On Mac OS X, libtoolize is known as glibtoolize. In cases where libtoolize is not present, then calling glibtoolize when bootstrapping the build system gives more folks a shot at getting flex built from the ground up.

8 years agoChecked for (g)texi2dvi. Better bison, help2man checks.
Mightyjo [Thu, 3 Dec 2015 02:25:11 +0000 (21:25 -0500)]
Checked for (g)texi2dvi. Better bison, help2man checks.

Added test for presence of (g)texi2dvi program. Gave notice if texi2dvi
is unavailable and set TEXI2DVI=: to avoid giving users headaches.

Enhanced tests for bison and help2man with notices when the programs
aren't found.  Set their program variables to use the missing script
in build-aux since it's compatible with them.

8 years agoMade string copying more standard.
Michael McConville [Wed, 2 Dec 2015 16:32:42 +0000 (11:32 -0500)]
Made string copying more standard.

copy_string() was a clone of the stdlib's strdup(). For safety,
simplicity, and speed, we should use that instead. We introduce xstrdup() which wraps strdup() in a failure upon memory allocation errors.

8 years agoError on unbalanced parentheses in rules section.
Serguey Parkhomovsky [Tue, 1 Dec 2015 00:27:32 +0000 (19:27 -0500)]
Error on unbalanced parentheses in rules section.

8 years agoCleaned up BUILT_SOURCES list.
Will Estes [Mon, 30 Nov 2015 00:43:05 +0000 (19:43 -0500)]
Cleaned up BUILT_SOURCES list.

Removed reference to skel.c as a built source since other make rules cover this case.

8 years agoSorted file names in flex_SOURCES
Will Estes [Mon, 30 Nov 2015 00:04:38 +0000 (19:04 -0500)]
Sorted file names in flex_SOURCES

8 years agoReplaced CHAR macro with unsigned char type.
Mightyjo [Sat, 28 Nov 2015 02:38:23 +0000 (21:38 -0500)]
Replaced CHAR macro with unsigned char type.

Thanks to Michael McConville for pointing out that the old Char macro
causes problems with static analysis.  The macro has been removed and
replaced with 'unsigned char' throughout the flex sources. The macro is
not needed at best and was confusing at worst. It was not used in any of
the example files nor was it mentioned in the manual at all.

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