Commit Graph

6966 Commits

Author SHA1 Message Date
christos
c6817f9639 fix redefinitions 2017-01-12 19:15:10 +00:00
christos
73f4d05a56 revert for now; too many issues. 2017-01-12 19:10:00 +00:00
christos
46c2733f8f we JAVE_SSIZE max. 2017-01-12 19:07:14 +00:00
abhinav
e74c9f1425 Fix couple of typos:
s/summay/summary
	s/highligting/highlighting
2017-01-12 18:37:09 +00:00
christos
d0c807d2c9 Our headers are clean, enable warnings caused by them. We want to know
about <ctype_macro>(char) usages.
2017-01-12 17:14:23 +00:00
spz
a60bf61b21 don't "clean up" the blacklistd integration 2017-01-12 08:38:31 +00:00
spz
bd075468be merge bind-9.10.4-P5 2017-01-12 08:21:32 +00:00
spz
04e8e9b4a3 Import bind 9.10.4-P5 2017-01-12 07:28:27 +00:00
skrll
4f86e51711 New firmware from
commit 87edb826b91ce08ea3e383936cc4791eb7491f35
Author: popcornmix <popcornmix@gmail.com>
Date:   Wed Jan 4 15:20:02 2017 +0000

    Revert: CEC code clean up
    See: https://github.com/raspberrypi/firmware/issues/710
    See: https://github.com/Hexxeh/rpi-firmware/issues/133
2017-01-12 05:20:07 +00:00
skrll
3e2d39191a Fix merge botch. arm eabi targets now match properly and we get the
right defaults.
2017-01-11 14:13:05 +00:00
joerg
f9c2736326 Disable a couple of warnings until further investigation. 2017-01-11 12:19:43 +00:00
joerg
77fe1f22f1 Remove LLVM atomic hacks for Sparc. 2017-01-11 12:10:26 +00:00
joerg
6408d22c9c Update LLVM build glue for pre-4.0.0 r291444. 2017-01-11 12:02:24 +00:00
joerg
eb62d2bc38 Add slightly cut down version of the final version of autoconf from
before the removal, updated to match current cmake.
2017-01-11 11:19:24 +00:00
joerg
97593fb2e9 Mark files not tagged with llvm-291444 as dead. 2017-01-11 11:10:38 +00:00
joerg
24c108a1ea Mark files not tagged with clang-291444 as dead. 2017-01-11 11:09:31 +00:00
joerg
e4aacebc1d Import Clang pre-4.0.0 r291444. 2017-01-11 10:32:11 +00:00
joerg
819c8ff81a Import LLVM pre-4.0.0 r291444. 2017-01-10 20:48:34 +00:00
christos
3391c5f1a7 fix a few warnings. 2017-01-10 19:20:34 +00:00
christos
ce41637aeb Build magic.h before all objs. 2017-01-10 13:51:36 +00:00
christos
e627e88c90 revert the c++ yy_size_t changes to maintain existing ABI. 2017-01-09 15:14:41 +00:00
christos
7d1687165d PR/51801: Matthew Mondor: Support multiple -s options and -P and -s at the
same time.
2017-01-09 03:05:48 +00:00
joerg
c1b5cff449 Make sure isblank is not a macro, it will have failed the configure
check earlier.
2017-01-08 21:34:23 +00:00
christos
67442b909a PR/51118: Jared McNeill: Fix build on FreeBSD by removing osnet assert.h
and sys/limits.h and use sys/syslimits.h directly.
2017-01-07 21:39:52 +00:00
christos
cf0aafe730 Add nsd 2017-01-07 19:53:49 +00:00
christos
45ae8c0d90 undef debug 2017-01-07 19:53:21 +00:00
christos
479d8f7d84 Add nsd build glue 2017-01-07 19:51:21 +00:00
christos
d83a80ee7f Import nsd 2017-01-07 19:41:59 +00:00
christos
196181456d Add instruction how to generate the init files so that we don't forget. 2017-01-07 15:45:14 +00:00
christos
48e9d2f4ca Regen without #line directives
- nbyacc -l -d -o initparse.c parse.y
- nblex -L -t -p scan.l > initscan.c
2017-01-07 15:43:27 +00:00
christos
8362164498 get the right version even for the tools build. 2017-01-06 17:26:41 +00:00
christos
5d66200563 don't use sed for the tools version because during objdir etc runs we don't
have ${TOOL_SED} yet available.
2017-01-06 17:13:22 +00:00
christos
dc7a20515e only preserve timestamps on specific revisions if we've been asked to.
found by martin@
2017-01-04 16:11:20 +00:00
christos
fe5e49dfc0 PR/51771: Yorick Hardy: Use newer xinput features 2017-01-04 15:44:06 +00:00
christos
1272db2820 PR/51770: Yorick Hardy: Install xtrans.m4 (needed by net/tigervnc) 2017-01-04 15:41:24 +00:00
abhinav
484007c8cd Correct a sentence in the HISTORY section.
Remove a mention of "1989" at the end of the 4th paragraph in HISTORY section,
probably leftover because of copy-paste from the paragraph above.
Sort SEE ALSO.
Remove trailing white spaces at some places.
Remove Pp after Sh at few places as pointed out by mandoc.

ok christos@
2017-01-03 11:34:41 +00:00
christos
02124a36e8 always define all the renames. 2017-01-03 02:51:56 +00:00
christos
62f5bae942 fix the re-entrant prefixed case. 2017-01-03 01:56:03 +00:00
christos
e2b1cfe916 Add missing macros to the non-recursive prefixed-parser. Disable macros
for the recursive parser.
2017-01-03 00:50:11 +00:00
christos
2e20bf3056 don't #define yywrap yywrap (that is if the prefix is yy, don't #define macros
for the same name). Breaks compatibility for things like:
#ifndef yywrap
int
yywrap(void)
{
	return 1;
}
#endif
2017-01-03 00:22:56 +00:00
christos
6d0346a9a0 more yy_size_t <-> int fixes 2017-01-02 23:21:14 +00:00
christos
b074ee6880 another int -> size_t 2017-01-02 21:20:00 +00:00
christos
0194574f37 another int to yy_size_t 2017-01-02 21:06:10 +00:00
christos
52df80a481 deal with our int -> size_t changes. 2017-01-02 20:53:11 +00:00
christos
8647464c56 avoid yywrap redefinition 2017-01-02 19:24:39 +00:00
christos
c3b9216c96 delete the generated skeleton, we generate it all the time. 2017-01-02 18:41:18 +00:00
christos
cb056e6d75 fix the scanner build and regen 2017-01-02 18:33:22 +00:00
christos
4cf5d3357b avoid m4 redefinition 2017-01-02 18:15:55 +00:00
christos
7977e68669 Merge conflicts 2017-01-02 17:45:26 +00:00
christos
56bd854634 2016-12-30 Will Estes <westes575@gmail.com>
* NEWS: doc: update NEWS for 2.6.3 release

2016-11-26  Explorer09 <explorer09@gmail.com>

	* configure.ac, src/Makefile.am: build: New configure option
	'--disable-bootstrap'.  If configure is run with '--disable-bootstrap', then stage1flex
	won't be built and stage1scan.c will be generated by sed'ing scan.c.  This option is intended to workaround bootstrap bugs rather than to
	fix the bootstrapping issues which are proving subtler and harder to
	fix than anyone would like.

2016-11-26  Explorer09 <explorer09@gmail.com>

	* src/Makefile.am: build: "make clean" deletes stage1scan.c,
	stage1flex

2016-11-26  Explorer09 <explorer09@gmail.com>

	* configure.ac, src/Makefile.am: build: allow building libfl even
	with --disable-libfl.  For various reasons, we may wish to build libfl explicitly even when
	configure has been run with the --disable-libfl option. This is
	possible, now, via 'make -C src libfl.la'.

2016-12-19  Alexis La Goutte <alexis.lagoutte@gmail.com>

	* src/flex.skl: scanner: remove trailing whitespace in skeleton

2016-12-01  Demi Obenour <demiobenour@gmail.com>

	* src/buf.c, src/main.c, src/parse.y: scanner: Disallow, overquote
	'[' and ']' in prefix

2016-12-29  Samuel Thibault <samuel.thibault@ens-lyon.org>

	* src/main.c: scanner: allocate correct buffer size for m4 path.  Flex did not check the length of the m4 path which could lead to a
	buffer overflow in some cases. Additionally, not all platforms
	believe in PATH_MAX, so stop relying on it.  Fixes #138

2016-11-24  Will Estes <westes575@gmail.com>

	* NEWS: doc: note no more libcompat in NEWS

2016-11-24  Will Estes <westes575@gmail.com>

	* lib/Makefile.am: build: explain empty lib/Makefile.am

2016-11-20  Explorer09 <explorer09@gmail.com>

	* configure.ac: build: warn about cross compiling with *alloc

2016-11-19  Explorer09 <explorer09@gmail.com>

	* configure.ac, lib/Makefile.am, lib/lib.c, src/Makefile.am: build:
	Link $(LIBOBJS) from src/ dir, remove libcompat.la.  The libcompat.la library was small and less friendly to
	bootstrapping and cross compilation. Now, we will simply link
	individual object files as needed, which is simpler.

2016-11-16  Explorer09 <explorer09@gmail.com>

	* src/Makefile.am: build: Let stage1flex respect LFLAGS

2016-11-14  Will Estes <westes575@gmail.com>

	* NEWS: doc: describe --disable-libfl in NEWS

2016-10-31  Explorer09 <explorer09@gmail.com>

	* configure.ac, src/Makefile.am: build: Add --disable-libfl
	configure option.  Disabling libfl is useful when building flex for a cross-toolchain.  Fixes: GH-99

2016-11-09  Demi Obenour <demiobenour@gmail.com>

	* src/flex.skl, tests/array_r.l: fix backwards incompatible changes
	in 2.6.2.  This patch addscompatibility `#defines` for all macros affected by
	`%prefix`.  Fixes #113.

2016-11-08  Will Estes <westes575@gmail.com>

	* tests/.gitignore: git: ignore quote_in_comment artifacts

2016-11-08  Demi Obenour <demiobenour@gmail.com>

	* src/scan.l, tests/Makefile.am, tests/quote_in_comment.l,
	tests/quote_in_comment.txt: Fixes a major bug in Flex's own lexing
	of literals.  My changes caused Flex to mishandle string and character literals in
	line comments.  This commit fixes them.  Fixes #113.

2016-11-06  Thomas Klausner <wiz@NetBSD.org>

	* configure.ac: Fix unportable test(1) operator.  "==" is only supported by bash, "=" is the standard comparison
	operator.

2016-11-02  Demi Obenour <demiobenour@gmail.com>

	* tests/quotes.l: Add more escaping tests

2016-11-01  Demi Obenour <demiobenour@gmail.com>

	* src/scan.l: Fix another escaping bug in non-indented verbatim section 2 code.  I also did some reformatting.

2016-10-28  Alastair Hughes <hobbitalastair@gmail.com>

	* configure.ac: build: fix false negatives for help2man and texi2dvi HELP2MAN and TEXI2DVI (or the corresponding ac_prog variables) will
	never be zero length as they fall back to the missing script; check
	for the fall back and warn on that instead of always warning.

2016-10-28  Explorer09 <explorer09@gmail.com>

	* doc/Makefile.am: doc: Don't delete flex.1 during "make distclean".  flex.1 is pre-generated in release tarball. If we delete it, the
	next "configure and make" on the source directory will then require
	help2man unnecessarily.

2016-10-27  Alastair Hughes <hobbitalastair@gmail.com>

	* NEWS, doc/Makefile.am: Only regenerate the man page when required.  Make the flex binary an order-only prerequisite, and add back the
	prerequisites from before 7cfb440. This prevents rebuilding the man
	page whenever the flex binary is rebuilt, which causes problems if
	help2man is not installed and will never work when cross compiling.  Fixes #108.

2016-10-26  Will Estes <westes575@gmail.com>

	* NEWS, src/Makefile.am: build: no longer build PIC version of
	libfl.  The PIC version of libfl was not being built correctly. From the
	lack of bug reports around this problem, we conclude that the PIC
	version of libfl is not used and so we drop it from the build build
	targets for flex.

2016-10-25  Explorer09 <explorer09@gmail.com>

	* README.md: doc: README.md formatting fixes * Wrap everything in the raw document in 72 char per line limit.  * Proper casing for terms "Git" and "GitHub" (don't try to look
	lazy).  * Add unordered list marks when needed.  * Say `configure && make && make install` and quoted for fixed-width   font.  Signed-off-by: Kang-Che Sung <explorer09@gmail.com>

2016-10-25  Will Estes <westes575@gmail.com>

	* NEWS, configure.ac: build: version 2.6.3 begins

2016-10-24  Will Estes <westes575@gmail.com>

	* NEWS: doc: mark 2.6.2 release date

2016-10-24  Will Estes <westes575@gmail.com>

	* .gitignore, NEWS, configure.ac: build: switch xz to lzip

2016-10-20  Demi Obenour <demiobenour@gmail.com>

	* src/scan.l, tests/quotes.l: Fix M4 quotation in section 2 prologue
	and refactor duplicated code

2016-10-21  Alex Kennedy <alexzanderkennedy@gmail.com>

	* doc/flex.texi: Update flex.texi: Removed repedative wording "Flex used to" was written twice at the beginning of Chapter 9,
	paragraph 2.

2016-09-27  Demi Obenour <demiobenour@gmail.com>

	* src/dfa.c, src/gen.c, src/main.c, src/nfa.c, src/parse.y,
	src/scan.l, tests/bison_yylval_scanner.l,
	tests/include_by_push.direct.l: Improved M4 quotation This fixes M4 quotation of certain strings beginning with `yy` (in
	section 3 of the input file only) and character literals.  The new
	quotation method is also less brittle and faster.  Tests that relied on the old behavior were fixed.  Also, `yyconst` is no longer defined; use `const` (which it
	unconditionally was defined to) instead.

2016-10-19  Will Estes <westes575@gmail.com>

	* Makefile.am, configure.ac: build: for automake, flex is foreign

2016-10-19  Will Estes <westes575@gmail.com>

	* README, README.md: doc: mv README to README.md

2016-10-19  Will Estes <westes575@gmail.com>

	* README: doc: touch up README

2016-10-19  Will Estes <westes575@gmail.com>

	* README: doc: README no longer mentions sourceforge

2016-10-06  Will Estes <westes575@gmail.com>

	* NEWS: doc: update NEWS with more post-2.6.1 additions

2016-09-27  Demi Obenour <demiobenour@gmail.com>

	* src/filter.c, src/flexdef.h, src/main.c, src/misc.c,
	src/options.c, src/options.h, src/scan.l, src/yylex.c,
	tests/Makefile.am, tests/alloc_extra.l, tests/array_r.l,
	tests/basic_r.l, tests/c_cxx_nr.lll, tests/c_cxx_r.lll,
	tests/debug_r.l, tests/include_by_reentrant.direct.l,
	tests/lineno_r.l, tests/mem_nr.l, tests/mem_r.l, tests/posix.l,
	tests/posixly_correct.l, tests/pthread.l, tests/quotes.l,
	tests/reject.l4, tests/rescan_nr.direct.l, tests/rescan_r.direct.l,
	tests/string_nr.l, tests/string_r.l: Fix M4 quoting of section 3.  This fixes M4 quoting of section 3 of the input file, including
	escape sequences and character constants.  Tests were added to verify the behavior in section 3 with respect to
	quoting. Both escaping of quotes and quoting of potential
	macro-start characters are tested. Existing tests were also fixed to
	account for the new -- and now correct -- behavior. Many tests
	relied on the old behavior of expanding M4 macros in section 3.
	They needed to be updated for the new behavior.

2016-10-03  Mightyjo <mightyjo@gmail.com>

	* src/flex.skl, tests/.gitignore, tests/Makefile.am,
	tests/cxx_restart.ll, tests/cxx_restart.txt: Fix yyrestart(NULL)
	SEGV.

2016-09-05  Demi Obenour <demiobenour@gmail.com>

	* src/scan.l: scanner: M4 quoting fixes

2016-09-05  Demi Obenour <demiobenour@gmail.com>

	* src/Makefile.am: Support `make indent` for out of source builds

2016-09-24  Demi Obenour <demiobenour@gmail.com>

	* src/Makefile.am, src/mkskel.sh: Simplify some shell code

2016-09-23  Demi Obenour <demiobenour@gmail.com>

	* doc/flex.texi, src/flex.skl, src/flexdef.h, src/main.c,
	src/options.c, src/options.h, src/scan.l, tests/.gitignore,
	tests/Makefile.am, tests/noansi_nr.l, tests/noansi_nr.txt,
	tests/noansi_r.l, tests/noansi_r.txt: no longer generate K&R C
	scanners

2016-09-04  Demi Obenour <demiobenour@gmail.com>

	* src/scan.l: Fix escaping of `[[` and `]]` in strings Previously, `[[` and `]]` were not escaped in strings, which led to
	bad interactions with m4.  Also, don't break strings on newline, as GCC et al support
	whitespace between a backslash and the subsequent newline.

2016-06-20  Translation Project <coordinator@translationproject.org>

	* NEWS, po/sv.po: new sv translation

2016-05-23  Demetri Obenour <demiobenour@gmail.com>

	* src/misc.c: Delete action_m4_define from misc.c This function was not used and always triggered a fatal error when
	run.

2016-05-20  Will Estes <westes575@gmail.com>

	* tests/Makefile.am, tests/testwrapper-direct.sh: test: run direct
	tests from srcdir

2016-01-11  Egor Pugin <egor.pugin@gmail.com>

	* tests/include_by_buffer.direct.l, tests/include_by_push.direct.l,
	tests/include_by_reentrant.direct.l: Exited with error code on some
	conditions in include tests

2016-05-20  Will Estes <westes575@gmail.com>

	* tests/testwrapper.sh: test: drop .exe when making input file names

2016-05-20  Will Estes <westes575@gmail.com>

	* tests/Makefile.am: test: removed dependencies for include tests

2016-04-28  Tobias Klauser <tklauser@distanz.ch>

	* src/scanflags.c: Avoid realloc on every call of sf_push() Currently, every call to sf_push() realloc()'s _sf_stack, even if
	the maximum size _sf_max wasn't changed. As the indentation beneath
	the "if" clause already indicates, the realloc() should only be
	executed if _sf_max was increased.  Found by compiling flex with the -Wmisleading-indentation flags of
	gcc, which leads to the following warning: scanflags.c: In function ‘sf_push’: scanflags.c:42:5: warning:
	     this ‘if’ clause does not guard... [-Wmisleading-indentation] if
	     (_sf_top_ix + 1 >= _sf_max) ^~ scanflags.c:44:9: note: ...this
	         statement, but the latter is misleadingly indented as if it is
	         guarded by the ‘if’ _sf_stk = realloc(_sf_stk,
	         sizeof(scanflags_t) * _sf_max); ^~~~~~~

2016-03-31  Will Estes <westes575@gmail.com>

	* doc/Makefile.am: build: prettified command to build man page

2016-03-31  Will Estes <westes575@gmail.com>

	* doc/Makefile.am: build: added man page to DISTCLEANFILES

2016-03-31  Will Estes <westes575@gmail.com>

	* BUGS, TODO: remove unused TODO, BUGS files

2016-03-31  Will Estes <westes575@gmail.com>

	* to.do/README, to.do/Wilhelms.todo, to.do/Wish-List,
	to.do/flex.rmail, to.do/streams.mail, to.do/unicode/FlexLexer.h,
	to.do/unicode/ccl.c, to.do/unicode/changes.txt,
	to.do/unicode/ecs.c, to.do/unicode/flex.1, to.do/unicode/flex.skl,
	to.do/unicode/flexdef.h, to.do/unicode/gen.c, to.do/unicode/main.c,
	to.do/unicode/misc.c, to.do/unicode/scan.l, to.do/unicode/tblcmp.c:
	removed to.do/ directory

2016-03-31  Will Estes <westes575@gmail.com>

	* po/POTFILES.in: gettext: removed flex.skl from POTFILES.in file
	list

2016-03-31  rlar <rlar>

	* src/Makefile.am: fix skel.c dependency (missing tables_shared.c)
	 and polish build rule Also remove references to srcdir since skel.c is no longer mentioned
	in po/POTFILES.in.

2016-03-31  rlar <rlar>

	* doc/Makefile.am: fix flex.1 dependency git clean -fdx && ./autogen.sh && \   mkdir -p ../build && cd ../build && ../flex/configure && make -j10
	  && \ make dist failed with: >  help2man: can't get `--help' info from ../../flex/src/flex Note:   There is no dependency except for the flex binary.

2016-03-31  rlar <rlar>

	* src/Makefile.am: fix stage1scan.c and stage1scan.l dependency git clean -fdx && ./autogen.sh && \   mkdir -p ../build && cd ../build && ../flex/configure && make -j10 failed with: > ../src/stage1flex -o stage1scan.c stage1scan.l > stage1flex: can't
	open stage1scan.l Note:   stage1scan.c is not necessairy in the "make dist" generated tar.gz
	  file.  stage1flex will be build from scan.c (which is
	    distributed), and this will then generate stage1scan.c from scan.l

2016-03-31  Will Estes <westes575@gmail.com>

	* po/POTFILES.in: gettext: list src/flex.skl in po/POTFILES.in

2016-03-29  rlar <rlar>

	* src/gen.c: warning in generated code, with -Ca warning: conversion to 'yy_state_type' from 'flex_uint32_t' may
	change the sign of the result [-Wsign-conversion]

2016-03-29  rlar <rlar>

	* tests/Makefile.am: suppress `WARNINGFLAGS' for the almost obsolete
	`noansi' test cases

2016-03-29  rlar <rlar>

	* configure.ac, src/Makefile.am, tests/Makefile.am: configure option
	`--enable-warnings' and `WARNINGFLAGS' `WARNINGFLAGS' can be passed when invoking `configure'  and when invoking `make' if configure switch `--enable-warnings' was given   then default to something useful if we have `GCC' `WARNINGFLAGS' is not used when compiling `stage1flex'   to avoid unnecessary clutter

2016-03-31  Tobias Klauser <tklauser@distanz.ch>

	* src/main.c: Fix potential buffer overflow in strncat() When using clang/llvm 3.8 to compile flex, the following warning is
	emitted: main.c:378:27: warning: the value of the size argument in 'strncat'
	                                        is too large, might lead to a buffer overflow [-Wstrncat-size]
	strncat(m4_path, m4, sizeof(m4_path));
	^~~~~~~~~~~~~~~
	main.c:378:27: note: change the argument to be the free space in the
	                                        destination buffer minus the terminating null byte strncat(m4_path,
	                                                             m4, sizeof(m4_path)); ^~~~~~~~~~~~~~~
	sizeof(m4_path) - strlen(m4_path) - 1Fix it up by using the solution proposed by the warning message.

2016-03-29  Robert.Larice Robert Larice <Robert.Larice@t-online.de>

	* src/Makefile.am: build: simplified dependency tracking so parallel
	make runs succeed

2016-03-20  rlar <rlar>

	* src/flex.skl, src/gen.c, src/main.c: avoid warning in generated
	code, with -Cf warning: conversion to 'unsigned int' from 'int' may change the sign
	of the result [-Wsign-conversion]

2016-03-18  Will Estes <westes575@gmail.com>

	* NEWS, configure.ac: mention v2.6.2; summarize changes since 2.6.1

2016-03-18  Will Estes <westes575@gmail.com>

	* doc/flex.texi: doc: corrected example in manual, gh#67

2016-03-16  rlar <rlar>

	* tests/string_nr.l, tests/string_r.l, tests/yyextra.l: warning:
	conversion to 'size_t' from 'int' may change the sign of the result
	[-Wsign-conversion]

2016-03-16  rlar <rlar>

	* tests/mem_nr.l, tests/mem_r.l, tests/pthread.l: warning:
	conversion to 'long unsigned int' from 'int' may change the sign of
	the result [-Wsign-conversion]

2016-03-16  rlar <rlar>

	* src/flex.skl: warning: conversion to 'flex_uint32_t' from 'long
	unsigned int' may alter its value [-Wconversion] struct yytbl_reader, member bread is of type flex_uint32_t

2016-03-16  rlar <rlar>

	* tests/alloc_extra.l, tests/bison_nr_main.c,
	tests/bison_nr_parser.y, tests/bison_yylloc_parser.y: warning:
	redundant redeclaration of '...' [-Wredundant-decls]

2016-03-16  rlar <rlar>

	* tests/bison_nr_parser.y, tests/bison_yylloc_parser.y,
	tests/bison_yylval_parser.y, tests/pthread.l: warning: no previous
	prototype for '...' [-Wmissing-prototypes]

2016-03-16  rlar <rlar>

	* tests/multiple_scanners_r_main.c: warning: unused variable 'fp'
	[-Wunused-variable]

2016-03-16  rlar <rlar>

	* tests/pthread.l: main(), warning: redundant redeclaration of
	'main' [-Wredundant-decls]

2016-03-16  rlar <rlar>

	* tests/include_by_reentrant.direct.l, tests/lineno_nr.l,
	tests/lineno_r.l, tests/lineno_trailing.l: main(), warning:
	old-style function definition [-Wold-style-definition]

2016-03-16  rlar <rlar>

	* tests/alloc_extra.l, tests/array_nr.l, tests/array_r.l,
	tests/basic_nr.l, tests/basic_r.l, tests/ccl.l, tests/debug_nr.l,
	tests/debug_r.l, tests/extended.l, tests/mem_nr.l, tests/mem_r.l,
	tests/noansi_r.l, tests/posix.l, tests/posixly_correct.l,
	tests/prefix_nr.l, tests/prefix_r.l, tests/quotes.l,
	tests/string_nr.l, tests/string_r.l, tests/yyextra.l: main(),
	warning: old-style function definition [-Wold-style-definition]

2016-03-01  rlar <rlar>

	* src/ecs.c, src/tblcmp.c: Fix two more casts

2016-03-14  Bastian Köcher <git@kchr.de>

	* src/gen.c: Fixes yyl compare with unsigned warning

2016-03-13  Robert Larice <Robert.Larice@t-online.de>

	* configure.ac: Suppress portability warnings in Makefile generation

2016-02-27  rlar <rlar>

	* src/flex.skl: generated code, in yyensure_buffer_stack(), change
	type of local `num_to_alloc' which is exclusively used in yy_size_t context

2016-03-01  rlar <rlar>

	* src/flex.skl: generated code, in yy_get_next_buffer(), change type
	of local `number_to_move' suits better, because `yy_n_chars' and `yy_buf_size' are of type
	`int'

2016-02-27  rlar <rlar>

	* src/flex.skl: generated code, `_yybytes_len' is of type `int', fix
	code accordingly

2016-02-28  rlar <rlar>

	* src/gen.c: generated code, `max_size' seems to be of type `int',
	fix casts accordingly

2016-02-28  rlar <rlar>

	* src/flex.skl: generated code, here `new_size' is of type `int',
	fix casts accordingly

2016-02-28  rlar <rlar>

	* src/flex.skl: generated code, `yy_buf_size' is of type `int', fix
	casts accordingly

2016-02-28  rlar <rlar>

	* src/flex.skl: generated code, `offset' is of type `int'

2016-02-28  rlar <rlar>

	* src/gen.c: generated code, `yy_more_len' is of type `int'

2016-02-28  rlar <rlar>

	* src/scan.l: scan.l, rewrite two loops to avoid unneccesairy
	casting

2016-03-01  rlar <rlar>

	* src/regex.c, src/tables.c: improve readability

2016-02-28  rlar <rlar>

	* src/tblcmp.c: another cast in tblcmp.c to avoid warning

2016-02-28  rlar <rlar>

	* src/buf.c: casts in buf_append() to get rid of warnings

2016-02-28  rlar <rlar>

	* src/dfa.c, src/gen.c: cast to suite type of flex_uint32_t td_lolen

2016-02-28  rlar <rlar>

	* src/main.c, src/misc.c, src/regex.c, src/scan.l, src/scanopt.c,
	src/tables_shared.c: cast to get rid of warnings

2016-03-01  rlar <rlar>

	* src/buf.c, src/main.c: cast and fix usage of log10(), ceil to
	prevent buffer overflow

2016-03-01  rlar <rlar>

	* src/tables.c: tables.c, sprinkle casts to get rid of warnings

2016-03-01  rlar <rlar>

	* src/tables.c: yytbl_data_compress(), change type of local newsz to
	get rid of warnings

2016-03-01  rlar <rlar>

	* src/tables.c, src/tables.h: change type of struct
	yytbl_writer.total_written to get rid of warnings

2016-02-28  rlar <rlar>

	* src/tables.c: change argument type of yytbl_writen() to get rid of
	warnings

2016-03-01  rlar <rlar>

	* src/tables.c: yytbl_write8/16/32(), change type of local variables
	to get rid of warnings

2016-02-28  rlar <rlar>

	* src/flexdef.h, src/misc.c, to.do/unicode/flexdef.h,
	to.do/unicode/misc.c: change return type and rename int
	htoi()/otoi() --> unsigned int htoui()/otoui()

2016-03-01  Will Estes <westes575@gmail.com>

	* NEWS: Mention 2.6.1 release date

2016-02-28  rlar <rlar>

	* src/gen.c: avoid warning, add (int) cast to the read() return
	value For similiarity with the fread() case.

2016-02-28  rlar <rlar>

	* src/scan.l: avoid warning, POSIX says yyless() has an `int'
	argument

2016-02-29  rlar <rlar>

	* src/filter.c: use type size_t in filter_tee_header() to avoid
	warnings

2016-02-29  rlar <rlar>

	* src/filter.c, src/misc.c, src/scanopt.c, src/tables.c: add
	(size_t) casts to malloc invocations to prevent warnings

2016-02-29  rlar <rlar>

	* src/buf.c, src/misc.c, src/scan.l, src/scanopt.c, src/tables.c:
	add (int) casts to some strlen() invocations to prevent warnings

2016-02-29  rlar <rlar>

	* src/flexdef.h, src/scan.l, src/sym.c: ndlookup(), char *, to get
	rid of casts and warnings

2016-02-28  rlar <rlar>

	* src/flexdef.h, src/scan.l, src/sym.c: ndinstal(), char *, to get
	rid of casts and warnings

2016-02-28  rlar <rlar>

	* src/flexdef.h, src/scan.l, src/sym.c: cclinstal() and ccllookup(),
	char *, to get rid of casts and warnings

2016-02-28  rlar <rlar>

	* src/gen.c: warning: redundant redeclaration of
	‘gen_next_state’ [-Wredundant-decls]

2016-02-28  rlar <rlar>

	* src/gen.c: warning: no previous prototype for ‘mkecstbl’
	[-Wmissing-prototypes]

2016-02-28  rlar <rlar>

	* src/main.c: warning: suggest parentheses around assignment used as
	truth value [-Wparentheses]

2016-02-28  rlar <rlar>

	* src/flexdef.h: warning: redundant redeclaration of ‘yywrap’
	[-Wredundant-decls]

2016-02-28  rlar <rlar>

	* src/flexdef.h: warning: redundant redeclaration of ‘yylval’
	[-Wredundant-decls]

2016-02-28  rlar <rlar>

	* src/flexdef.h: warning: redundant redeclaration of ‘yyin’
	[-Wredundant-decls]

2016-02-28  rlar <rlar>

	* src/flexdef.h, src/main.c: warning: redundant redeclaration of
	‘yyparse’ [-Wredundant-decls]

2016-02-28  rlar <rlar>

	* src/parse.y, src/scan.l, src/yylex.c, to.do/unicode/scan.l:
	unification, rename some more rename these too for improved similiarity:   OPTION_OP OPT_HEADER OPT_EXTRA_TYPE OPT_TABLES

2016-02-28  rlar <rlar>

	* src/parse.y, src/scan.l, src/yylex.c, to.do/unicode/scan.l: fix
	name clash, OPT_OUTFILE from parse.y and from options.h these collide:   OPT_OUTFILE OPT_PREFIX OPT_YYCLASS rename them TOK_... in the
	parser

2016-02-28  Will Estes <westes575@gmail.com>

	* lib/reallocarray.c: Prototyped reallocarray implementation

2016-02-28  Will Estes <westes575@gmail.com>

	* src/scanopt.c: Removed custom strcasecmp() function

2016-02-28  rlar <rlar>

	* src/flex.skl: fwrite wants a size_t, yyleng is int per posix

2016-02-28  rlar <rlar>

	* src/scanopt.c: Remove some unneeded casts

2016-02-28  rlar <rlar>

	* src/flexdef.h: warning: negative integer implicitly converted to
	unsigned type [-Wsign-conversion]

2016-02-27  rlar <rlar>

	* src/dfa.c, src/parse.y: dfa.c:157:24: warning: conversion to
	'size_t' from 'int' may change the sign of the result
	[-Wsign-conversion] most certainly safe cast

2016-02-27  rlar <rlar>

	* src/ccl.c: ccl.c:86:19: warning: conversion to 'unsigned char'
	from 'int' may alter its value [-Wconversion] ch seems to have been checked for proper range some lines above

2016-02-27  rlar <rlar>

	* tests/bison_nr_parser.y: warning: deprecated directive, use
	'%pure-parser' [-Wdeprecated]

2016-02-27  rlar <rlar>

	* lib/lib.c: warning: no previous prototype for 'do_nothing'
	[-Wmissing-prototypes]

2016-02-27  rlar <rlar>

	* src/libmain.c: included stdlib.h header

2016-02-27  Will Estes <westes575@gmail.com>

	* NEWS: Described more post v2.6.0 changes

2016-02-27  Will Estes <westes575@gmail.com>

	* configure.ac: build: Removed bzip2 distribiution archive

2016-02-27  Will Estes <westes575@gmail.com>

	* configure.ac: removed obsolete program check

2016-02-27  Will Estes <westes575@gmail.com>

	* configure.ac: Made some program checks more robust

2016-02-27  rlar <rlar>

	* src/flex.skl: Remove unneeded cast to int

2016-02-27  Will Estes <westes575@gmail.com>

	* src/flex.skl: Fixed incorrect integer type

2016-02-27  Will Estes <westes575@gmail.com>

	* src/flex.skl: Fix more integer types, resolves sf 184, 187

2016-02-26  Robert Larice <Robert.Larice@t-online.de>

	* src/flex.skl, src/gen.c: Removed some type conversion warnings

2016-02-26  Will Estes <westes575@gmail.com>

	* src/flex.skl: Changed another buffer size to int; resolves gh#61

2016-02-24  Will Estes <westes575@gmail.com>

	* src/flex.skl: Changed type of yy_n_chars to int; gh#53, sf#160.  The variable yy_n_chars had been of type yy_size_t which is
	incorrect given its use in read(). While it might be adviseable to
	look at defining a yy_ssize_t, there might be some issues doing this
	and so, for now, at least, we'll punt back to int.

2016-02-24  Will Estes <westes575@gmail.com>

	* src/buf.c: Fixed size of bufferallocation, resolved gh#54.  The value of n_alloc was a count, not a size. Multiplying the value
	by the element size was incorrect. That multiplication was already
	being done and having it done twice was incorrect.

2016-02-23  Tobias Klauser <tklauser@distanz.ch>

	* src/scan.l: Allow '%option noline' in flex input file, resolves
	gh#56.  Allow specifying '%option noline' in the input file, leading to the
	same effect as calling flex with the command line option --noline.  Signed-off-by: Tobias Klauser <tklauser@distanz.ch>

2016-02-23  Tobias Klauser <tklauser@distanz.ch>

	* src/buf.c, src/main.c: Emit no #line directives if gen_line_dirs
	is false, resolves igh#55.  There are two instances in the code which will print a #line
	directive to the resulting lexer, regardless of the value of
	gen_line_dirs. Fix them, so they also respect gen_line_dirs.  Signed-off-by: Tobias Klauser <tklauser@distanz.ch>

2016-02-16  Tobias Klauser <tklauser@distanz.ch>

	* lib/lib.c, src/gen.c, src/misc.c, src/scan.l: Converted K&R style
	function definitions to ANSI C style Consistently make use of the ANSI C function definition style
	instead of the K&R style.

2016-01-29  Tobias Klauser <tklauser@distanz.ch>

	* src/flex.skl: Used NULL constant instead of plain integer for NULL
	pointer.  The sparse static checker warns about using plain integer 0 as NULL
	pointers in the generated lexer code. Fix this by using NULL
	consistently for pointers.

2016-01-29  Tobias Klauser <tklauser@distanz.ch>

	* src/flex.skl: Marked declaration and definition of yy_fatal_error
	as noreturn.  Only the declaration of yy_fatal_error is marked with
	__attribute__((__noreturn__)) in case GCC >= 3 is used, but not the
	definition. This leads to the sparse static checker to complain
	about function declaration mismatch.  Fix it by defining a macro yynoreturn and using it for both the
	declaration and the definition of yy_fatal_error.

2016-01-27  Tobias Klauser <tklauser@distanz.ch>

	* src/flex.skl: Fixed declaration mismatch in yy_fatal_error.  The prototype declares yy_fatal_error parameter as "const char
	msg[]" while the definition uses "const char* msg" (introduced by
	commit e9d5fc713f61b) which causes the sparse static checkers to
	produce an error.  Fix this by adjusting the definition to use "const char* msg" as
	well.  Also change the C++ version accordingly so it matches the
	declaration in FlexLexer.hpp.

2016-01-23  Will Estes <westes575@gmail.com>

	* CODE_OF_CONDUCT.md: flex is for flex #NCoC

2016-01-18  Will Estes <westes575@gmail.com>

	* doc/flex.texi: Referred to github for issue tracking, no longer sf

2016-01-10  Egor Pugin <egor.pugin@gmail.com>

	* tests/reject.l4, tests/tableopts.l4: Opened files in binary mode
	explicitly

2016-01-08  OBATA Akio <obache@NetBSD.org>

	* src/Makefile.am: Linked flex binary against libintl, not libfl.   Signed-off-by: Thomas Klausner <wiz@NetBSD.org>

2016-01-08  Michael van Elst <mlelstv@NetBSD.org>

	* src/filter.c: Improved pipe-stdin hack behavior; resolves sf#198.  Signed-off-by: Thomas <Klausner wiz@NetBSD.org>

2015-12-27  Will Estes <westes575@gmail.com>

	* configure.ac, src/flexdef.h: Removed no longer needed header
	checks

2015-12-27  Will Estes <westes575@gmail.com>

	* configure.ac: Checked for reallocarray() with AC_REPLACE_FUNCS

2015-12-27  Will Estes <westes575@gmail.com>

	* src/flexdef.h, src/main.c: include libgen.h from flexdef.h, not
	main.c

2015-12-25  Michael Reed <m.reed@mykolab.com>

	* src/main.c: 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

2015-12-25  Michael Reed <m.reed@mykolab.com>

	* src/main.c: 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.

2015-12-25  Michael Reed <m.reed@mykolab.com>

	* src/flex.skl, src/misc.c: 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.

2015-12-25  Michael Reed <m.reed@mykolab.com>

	* src/flexdef.h, src/main.c, src/scanopt.c, src/scanopt.h,
	src/sym.c: Remove remaining use of PROTO

2015-12-21  Serguey Parkhomovsky <xindigo@gmail.com>

	* src/buf.c: buf.c: use snprintf

2015-12-19  Will Estes <westes575@gmail.com>

	* configure.ac: build: reformatted AC_CHECK_FUNCS for readability

2015-12-17  Will Estes <westes575@gmail.com>

	* src/scanopt.c: correct function prototype

2015-12-15  Michael Reed <m.reed@mykolab.com>

	* src/main.c, src/scanopt.c, src/sym.c, src/tblcmp.c: Remove more
	instances of PROTO

2015-12-15  Michael Reed <m.reed@mykolab.com>

	* src/main.c: 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

2015-12-13  Michael McConville <mmcco@mykolab.com>

	* src/dfa.c, src/gen.c, src/nfa.c, to.do/unicode/main.c,
	to.do/unicode/tblcmp.c: Removed more instances of PROTO, ansifying.

2015-12-13  Will Estes <westes575@gmail.com>

	* README: Noted github for issue tracking and pull requests

2015-12-13  Michael McConville <mmcco@mykolab.com>

	* README: Reformatted README; removed sf bug tracking link.

2015-12-13  Michael McConville <mmcco@mykolab.com>

	* src/gen.c, to.do/unicode/gen.c: 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

2015-12-12  Mike Frysinger <vapier@gentoo.org>

	* tests/Makefile.am, tests/testwrapper.sh: 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

2015-12-12  Mike Frysinger <vapier@gentoo.org>

	* configure.ac: 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

2015-12-12  Michael McConville <mmcco@mykolab.com>

	* src/flexdef.h: Started removal of PROTO macro.  The PROTO macro is no longer needed. Additionally, its usage is
	inconsistent, so we began removing it.

2015-12-12  Michael Reed <m.reed@mykolab.com>

	* Makefile.am, src/main.c: 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.

2015-12-11  Michael McConville <mmcco@mykolab.com>

	* configure.ac, lib/reallocarray.c, src/flexdef.h: 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.

2015-12-11  Michael McConville <mmcco@mykolab.com>

	* src/flexdef.h: 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.

2015-12-12  Will Estes <westes575@gmail.com>

	* src/flexdef.h, src/main.c: Made search for m4 more explicit.

2015-12-12  Will Estes <westes575@gmail.com>

	* src/flex.skl: Returned 0 from yywrap() instead of EOF

2015-12-11  Will Estes <westes575@gmail.com>

	* src/libmain.c: Changed end of main() in libmain to exit(0)

2015-12-11  Will Estes <westes575@gmail.com>

	* NEWS, configure.ac: Mentioned v2.6.1; documented some changes
	since v2.6.0

2015-12-11  Will Estes <westes575@gmail.com>

	* README: 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.

2015-12-11  Will Estes <westes575@gmail.com>

	* doc/Makefile.am: Removed flex.pdf from distribution; partially
	fixed sf#155

2015-12-11  Will Estes <westes575@gmail.com>

	* src/flex.skl: Commented in C style in skeleton; fixed sf#195

2015-12-10  Will Estes <westes575@gmail.com>

	* .gitignore: Ignored autoscan files

2015-12-09  Will Estes <westes575@gmail.com>

	* configure.ac: Checked for ranlib and strdup() at configure time

2015-12-09  Michael McConville <mmcconville@mykolab.com>

	* src/flexdef.h, src/misc.c, src/tblcmp.c, to.do/unicode/flexdef.h,
	to.do/unicode/misc.c, to.do/unicode/tblcmp.c: Replace zero_out()
	with stdlib's memset.

2015-12-09  Michael McConville <mmcconville@mykolab.com>

	* src/flex.skl: Removed memory allocation casts.

2015-12-09  Michael McConville <mmcconville@mykolab.com>

	* src/flexdef.h: Removed alloca() configuration.  Since alloca() is dangerous, depricated, we remove it.

2015-12-09  Michael McConville <mmcconville@mykolab.com>

	* src/flexdef.h: Removed implementation of isascii().  POSIX defines isascii(), so it's likely present on anything
	weactually build flex on these days.

2015-12-09  Michael McConville <mmcconville@mykolab.com>

	* src/main.c, src/scanopt.c, src/tables.c: Removed NULL-checks
	before free()

2015-12-08  Michael McConville <mmcconville@mykolab.com>

	* src/buf.c, src/dfa.c, src/flexdef.h, src/gen.c, src/scan.l,
	to.do/unicode/flexdef.h, to.do/unicode/scan.l: 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.

2015-12-08  Michael McConville <mmcconville@mykolab.com>

	* src/filter.c, src/flexdef.h, src/misc.c, src/scan.l,
	src/scanflags.c, to.do/unicode/flexdef.h, to.do/unicode/misc.c,
	to.do/unicode/scan.l: Removed flex_realloc().  As with flex_alloc(), replace calls to flex_realloc(), which was
	just a wrapper around realloc().

2015-12-08  Michael McConville <mmcconville@mykolab.com>

	* src/buf.c, src/filter.c, src/flexdef.h, src/main.c, src/misc.c,
	src/regex.c, src/scan.l, src/scanflags.c, src/sym.c,
	to.do/unicode/flexdef.h, to.do/unicode/misc.c, to.do/unicode/scan.l:
	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

2015-12-07  Michael McConville <mmcconville@mykolab.com>

	* src/dfa.c, src/flexdef.h, src/gen.c, src/main.c, src/scan.l,
	src/scanopt.c, tests/bison_nr_scanner.l,
	tests/bison_yylloc_scanner.l, tests/bison_yylval_scanner.l,
	tests/mem_nr.l, tests/mem_r.l, tests/pthread.l, tests/string_nr.l,
	tests/string_r.l, tests/yyextra.l, to.do/unicode/scan.l: Remove
	allocation casts

2015-12-07  Will Estes <westes575@gmail.com>

	* src/.gitignore, src/Makefile.am: 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.

2015-12-05  Michael McConville <mmcconville@mykolab.com>

	* src/buf.c, src/dfa.c, src/main.c, src/nfa.c, src/parse.y,
	src/scan.l, src/scanopt.c, src/sym.c, to.do/unicode/main.c,
	to.do/unicode/scan.l: Use NULL rather than (type *) 0.

2015-12-05  Michael McConville <mmcconville@mykolab.com>

	* src/flexdef.h, src/misc.c, src/sym.c, to.do/unicode/flexdef.h,
	to.do/unicode/misc.c: 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.

2015-12-04  Akim Demaille <akim@lrde.epita.fr>

	* src/FlexLexer.h: Cleaned up white space.

2015-12-04  Akim Demaille <akim@lrde.epita.fr>

	* src/FlexLexer.h: Removed struct keyword before yy_buffer_state

2015-12-04  Akim Demaille <akim@lrde.epita.fr>

	* examples/testxxLexer.l, src/FlexLexer.h, src/flex.skl, src/main.c:
	Replaced FLEX_STD macro with std::.  The std:: construct exists as of C++98, so we can simply assume it
	is supported.

2015-12-04  Akim Demaille <akim@lrde.epita.fr>

	* src/Makefile.am: 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.

2015-12-04  Akim Demaille <akim@lrde.epita.fr>

	* autogen.sh: 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.

2015-12-02  Mightyjo <mightyjo@gmail.com>

	* configure.ac: 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.

2015-12-02  Michael McConville <mmcconville@mykolab.com>

	* src/flexdef.h, src/misc.c, src/parse.y, src/scan.l, src/sym.c,
	src/tables.c, to.do/unicode/flexdef.h, to.do/unicode/misc.c,
	to.do/unicode/scan.l: 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.

2015-11-30  Serguey Parkhomovsky <sergueyparkhomovsky@gmail.com>

	* src/scan.l: Error on unbalanced parentheses in rules section.

2015-11-29  Will Estes <westes575@gmail.com>

	* src/Makefile.am: Cleaned up BUILT_SOURCES list.  Removed reference to skel.c as a built source since other make rules
	cover this case.

2015-11-29  Will Estes <westes575@gmail.com>

	* src/Makefile.am: Sorted file names in flex_SOURCES

2015-11-27  Mightyjo <mightyjo@gmail.com>

	* src/ecs.c, src/flexdef.h, src/main.c, src/misc.c, src/scan.l,
	src/scanopt.c, src/sym.c, src/tblcmp.c: 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.

2015-11-21  Will Estes <westes575@gmail.com>

	* configure.ac: updated syntax of AC_INIT call as per autoupdate

2015-11-21  Will Estes <westes575@gmail.com>

	* tests/Makefile.am: removed extra call to a _CPPFLAGS variable

2015-05-14  Stefan Reinauer <stefan.reinauer@coreboot.org>

	* src/buf.c, src/ccl.c, src/dfa.c, src/ecs.c, src/gen.c,
	src/main.c, src/misc.c, src/nfa.c, src/parse.y, src/scan.l,
	src/scanopt.c, src/sym.c, src/tblcmp.c: 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>

2015-11-16  Mightyjo <mightyjo@gmail.com>

	* tests/Makefile.am: Used in-tree header file for c++ tests.
2017-01-02 16:26:30 +00:00
buhrow
d33b37e9a7 Fix problem which prevents cross building on NetBSD systems which predate
NetBSD-6 or non-NetBSD systems.  See discussion on port-arm for details.
2016-12-30 22:40:23 +00:00
roy
bc19ce3dc6 Sync 2016-12-30 19:43:36 +00:00
roy
292189d736 Import openresolv-3.9.0 with the following changes:
*  Added --version option
  *  Fix pdns_recursor restart command
  *  Append a newline when restoring resolv.conf
  *  public_interfaces overrides private interface markings
  *  Fix runit support
  *  inclusive_interfaces overrides exclusive interface markings
2016-12-30 19:42:05 +00:00
wiz
b4cd0fb96b Do not mention non-existing archive_write_set_format_shar_binary. 2016-12-29 20:11:50 +00:00
wiz
ca0b812a0e Fix prototype. 2016-12-29 20:07:49 +00:00
wiz
317e5f5d5a Fix return type of two functions to match header. 2016-12-29 13:46:21 +00:00
leot
98fbbaab51 Document the `p' command in "interactive mode" that filters processes by pid.
While here add date to the `.TH' macro 3rd argument.

Reviewed by and thanks to <wiz>
2016-12-28 18:16:30 +00:00
abhinav
59739e51e1 Fix the date (setting the date to the same as the date on which this version was imported).
Looks like the '%Q%' was supposed to be translated to an actual date through
some tool but neither the README nor the Makefile say anything. So just
setting the date manually.

ok wiz@
2016-12-27 06:50:03 +00:00
leot
2b0c6991fb Implement the `c' command in "interactive mode" that displays only commands
that match a specified string.

Reviewed by and thanks to <Riastradh>
2016-12-26 12:46:31 +00:00
khorben
22024d321d Typo 2016-12-26 00:11:14 +00:00
christos
895fd4ae8a sort codes for reproducibile builds. 2016-12-24 21:17:16 +00:00
kamil
60b1976a76 Revert introduction of FIXME_PR_51139
This change introduced ABI incompatible change with older versions shipped
on NetBSD. This back out code that is currently not working correctly due
to TLS-based std::call_once implementation in GNU libstdc++.

Error when starting gnuchash:

/usr/pkg/lib/libwebkitgtk-1.0.so.0: Undefined symbol "_ZSt15__once_callable" (symnum = 1705)

PR 51139

Reported by <wiz>
2016-12-24 15:48:26 +00:00
kamil
49e3a2363a Add a walkaround for TLS bug in libstdc++ exposed with std::call_once
Currently std::call_once with libstdc++ works only with static linking.
Disable code path using __thread types and introduce FIXME_PR_51139.
Problem discussed in PR 51139

Functional std::call_once is required in LLVM and LLDB codebase.

Example code to test std::call_once:
#include <iostream>
#include <thread>
#include <mutex>
#include <cstdlib>
std::once_flag flag;
int main(int argc, char **argv)
{
        std::call_once(flag, [](){ std::cout << "Simple example: called once\n"; });
        return EXIT_SUCCESS;
}

Sponsored by <The NetBSD Foundation>
2016-12-21 21:55:46 +00:00
christos
e124df0e11 document -t for update 2016-12-21 21:26:28 +00:00
rin
3cc4108dd3 improve logic related to sh_prompt:
- sscr_insert(): sh_prompt should be compared with t, not p
- replace strnstr(3) with memcmp(3)
now, nvi is free from strnstr(3); it can be safely pulled-up into netbsd-7
2016-12-19 17:51:40 +00:00
christos
5f89f912be fix the usage message 2016-12-19 17:31:47 +00:00
christos
992b578414 remove obsolete comment, flip polarity. 2016-12-19 04:54:49 +00:00
christos
66ae322aee fix reversed logic 2016-12-19 04:44:35 +00:00
christos
2cfd74dfe4 add -t to preserve timestamps. 2016-12-19 04:37:13 +00:00
christos
ac78ac450b Always pass the modification time of the file to the client and let it decide
if it is going to use it to set the time. This makes update work like checkout
with respect to time setting. The time of the updated file is set to the
repository modification time of the file as opposed to the the time that the
file was checked out.
2016-12-19 03:15:31 +00:00
christos
05cc892852 arrange for .in files to be rebuilt. 2016-12-19 01:26:31 +00:00
christos
53f68651ba remove old microcode 2016-12-18 17:57:38 +00:00
christos
c8eabc74fc change $Mdocdate$ to a fixed date for reproducible builds. 2016-12-18 16:58:16 +00:00
christos
1b16c13ae5 Don't emit $Mdocdate$ in the next regeneration. 2016-12-18 16:56:32 +00:00
nonaka
19d8abb1f0 iwm(4): Add new 3160 firmware... 2016-12-18 06:56:43 +00:00
rin
36532a0d5a PR port-powerpc/51366 kernel for powerpc/ibm4xx miscompiled by gcc >= 4.8.5
backport fix from upstream:

URL: https://gcc.gnu.org/viewcvs?rev=238789&root=gcc&view=rev
Log:
rs6000: Fix logic for when to emit .machine (PR71216)

The current logic determining whether to use .machine in the generated
asm code puts it there if the compiler is not configured with a default
target cpu, _or_ no -mcpu= was given on the command line.  It should
be "and" instead.

	PR target/71216
	* config/rs6000/rs6000.c (rs6000_file_start): Fix condition for
	when to emit a ".machine" pseudo-op.

Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/rs6000/rs6000.c
2016-12-18 03:00:58 +00:00
nonaka
29c66ef650 iwm(4): Sync with OpenBSD.
7265 works fine.
7260 and 3160 maybe work.
7265D, 3165 and 8260 not work yet.

if_iwm.c: r1.147.
if_iwmreg.h: r1.19 without r1.16.
if_iwmvar.h: r1.24.

firmware is taken from https://wireless.wiki.kernel.org/en/users/drivers/iwlwifi
- iwlwifi-7260-ucode-16.242414.0.tgz
- iwlwifi-3160-ucode-16.242414.0.tgz
- iwlwifi-7265-ucode-16.242414.0.tgz
- iwlwifi-8000-ucode-16.242414.0.tgz
2016-12-18 02:18:28 +00:00
rin
e31b62ddaa Skip the initial GP load in function prologue when inserting a breakpoint.
GNU ld for alpha is so clever that the redundant GP load in function
entrypoint is skipped. we must therefore skip initial GP loads; otherwise
breakpoints in function entrypoints can also be skipped.

Reported to upstream (Bug 20969):
  https://sourceware.org/bugzilla/show_bug.cgi?id=20969

ok martin
2016-12-15 10:01:16 +00:00
mrg
fc59183457 add the xkeyboard-config manual as a .man, so that the normal X processing
of it happens.
2016-12-15 09:17:26 +00:00
skrll
2e2322c9c0 Remove binutils.old as everything has switched. 2016-12-14 21:47:50 +00:00
mrg
899aca2e24 mknative, binutils 2.27, and ia64. 2016-12-12 19:15:15 +00:00
christos
8a4f73aacb simple path fixes 2016-12-12 16:30:03 +00:00
mrg
42a13a4db0 mknative-binutils 2.27 and hppa. 2016-12-11 02:13:34 +00:00
mrg
16e7be53ca regen binutils mknative files for binutils 2.27 on mipsel, mipseb and aarch64. 2016-12-11 01:53:43 +00:00
mrg
30b9303d3c regen mknative-binutils for ppc64 and binutils 2.27 2016-12-10 22:57:41 +00:00
mrg
de41f27e8a rebuild mkantive for ppc and binutils 2.27. 2016-12-10 21:33:53 +00:00
rin
a1a710f899 PR bin/50123 (myself): less and lesskey do not depend on libcurses and
libterminfo, respectively.
2016-12-10 13:44:51 +00:00
macallan
f9497ee986 now we have pm2_exa.c 2016-12-10 01:58:36 +00:00
christos
a582531a1a finish arm regeneration 2016-12-08 19:35:10 +00:00
christos
37fdc90f90 regen sun2, earm, earmeb 2016-12-05 22:59:17 +00:00
christos
e33f4e7ec2 Regen sh3 2016-12-04 18:43:07 +00:00
macallan
1c7cf5e0f4 there is no pm2_exa.c yet 2016-12-03 16:41:34 +00:00
macallan
fbfd0b265f - build glint driver on macppc
- reenable it on sparc64
2016-12-03 16:38:15 +00:00
christos
b1a05e3501 switch alpha/sparc/sparc64 to new binutils 2016-12-03 16:01:18 +00:00
christos
5b0871f5ea regen mips64 2016-12-03 00:40:47 +00:00
macallan
176218773a build pm3_exa 2016-12-02 22:59:17 +00:00
christos
787b0418af regen m68k 2016-12-02 17:51:07 +00:00
riastradh
ad4751da4c Respect MKSHARE=no. 2016-12-02 02:41:54 +00:00
riastradh
0ab10b7e19 print-ip6.c is needed even with MKINET6=no.
Provides print_ip6 used by various other objects, with different
definitions depending on #ifdef INET6.
2016-12-02 02:14:03 +00:00
christos
811931c076 on NetBSD we don't have llvm_symbolizer, so try addr2line... 2016-12-01 18:20:25 +00:00
christos
0833d377e3 use the right sysctl to find the main binary name. We don't really need
this since our dl_iterate_phdr DTRT's for objmain, but...
2016-12-01 18:19:19 +00:00
christos
2bf20eb795 grr. usec is also os_time_t :-( 2016-11-30 17:23:16 +00:00
dholland
c22319dc22 Build gallium with -pthread if we're building the radeon driver. It uses a
thread, so without this the driver doesn't load and nothing works. ok mrg
2016-11-29 23:17:22 +00:00
maya
506421b347 Do not attempt to pass -llinfo to route.
llinfo was removed, and the command fails because of it.
2016-11-27 19:04:40 +00:00
christos
a6a34af0f6 regen for vax 2016-11-27 18:52:05 +00:00
christos
e1c8b4e692 fix printf formats for time_t 2016-11-27 17:06:09 +00:00
jnemeth
6532ac6b7a Set path for includes_HEADERS. Change suggested by christos@. 2016-11-26 02:12:18 +00:00
kre
0c2eb47280 Merge tzdata2016j 2016-11-24 05:43:58 +00:00
kre
0045e2f1d7 Import tzdata2016j from ftp://ftp.iana.org/tz/releases/tzdata2016j.tar.gz
Summary of changes in tzdata2016j (2016-11-22 23:17:13 -0800):

    Saratov, Russia switches from +03 to +04 on 2016-12-04 at 02:00.
    This creates a new zone Europe/Saratov.

    New zone Asia/Atyrau for Atyrau Region, Kazakhstan, is like
    Asia/Aqtau except it switched from +04/+05 to +05/+06 in spring
    1999, not fall 1994.

    Asia/Gaza and Asia/Hebron now use "EEST", not "EET", to denote
    summer time before 1948.  The old use of "EET" was a typo.
2016-11-24 05:43:10 +00:00
snj
4d48760d83 for some reason that is currently eluding me, non-MKUPDATE builds
fail while trying to delete xkeyboard-config.7.  remove for now.  you
didn't have this man page before and you probably didn't care.
2016-11-23 09:50:52 +00:00
snj
7e075c29bc update for xkeyboard-config 2.19 2016-11-22 19:51:37 +00:00
snj
58e39575ef follow upstream change from 2009: build xf86Init.c with the rest of the
common code.

remove not-reproducible-build-friendly goop that set a build date for
the the x server.  the static date (which we've already been using) in
xf86Build.h does just fine, although all it really does is add one
useless line to the X log.

fix whitespace around OSVENDOR
2016-11-22 10:34:57 +00:00
snj
f121b93c37 remove another outdated and unused XORG_RELEASE define 2016-11-22 06:51:14 +00:00
christos
03cfe0ff6f merge conflicts 2016-11-22 03:09:30 +00:00
christos
5645e8e78e (4.2.8p9) 2016/11/21 Released by Harlan Stenn <stenn@ntp.org>
* [Sec 3119] Trap crash <perlinger@ntp.org>
* [Sec 3118] Mode 6 information disclosure and DDoS vector <perlinger@ntp.org>
  - TRAP config via mode 6 packet requires AUTH now.
* [Sec 3114] Broadcast Mode Replay Prevention DoS
  - applied patches by Matthew Van Gundy. <perlinger@ntp.org>
  - with bcpollbstep, tweaks and cleanup by stenn@ntp.org
* [Sec 3113] Broadcast Mode Poll Interval Enforcement DoS <perlinger@ntp.org>
  - applied fix as suggested by Matthew Van Gundy
* [Sec 3110] Windows: ntpd DoS by oversized UDP packet
  - fixed error handling for truncated UDP packets. <perlinger@ntp.org>
* [Sec 3102] Zero origin issues.  HStenn.
* [Sec 3082] null pointer dereference in _IO_str_init_static_internal()
  - more hardening to read_mru_list(). perlinger@ntp.org
* [Sec 3072] Attack on interface selection <perlinger@ntp.org>
  - implemented Miroslav Lichvars <mlichvar@redhat.com> suggestion
    to skip interface updates based on incoming packets
* [Bug 3142] bug in netmask prefix length detection <perlinger@ntp.org>
* [Bug 3138] gpsdjson refclock should honor fudgetime1. stenn@ntp.org
* [Bug 3129] Unknown hosts can put resolver thread into a hard loop
  - moved retry decision where it belongs. <perlinger@ntp.org>
* [Bug 3125] NTPD doesn't fully start when ntp.conf entries are out of order
  using the loopback-ppsapi-provider.dll <perlinger@ntp.org>
* [Bug 3116] unit tests for NTP time stamp expansion. <perlinger@ntp.org>
* [Bug 3100] ntpq can't retrieve daemon_version <perlinger@ntp.org>
  - fixed extended sysvar lookup (bug introduced with bug 3008 fix)
* [Bug 3095] Compatibility with openssl 1.1 <perlinger@ntp.org>
  - applied patches by Kurt Roeckx <kurt@roeckx.be> to source
  - added shim layer for SSL API calls with issues (both directions)
* [Bug 3089] Serial Parser does not work anymore for hopfser like device
  - simplified / refactored hex-decoding in driver. <perlinger@ntp.org>
* [Bug 3084] update-leap mis-parses the leapfile name.  HStenn.
* [Bug 3068] Linker warnings when building on Solaris. perlinger@ntp.org
  - applied patch thanks to Andrew Stormont <andyjstormont@gmail.com>
* [Bug 3067] Root distance calculation needs improvement.  HStenn.
* [Bug 3066] NMEA clock ignores pps. perlinger@ntp.org
  - PPS-HACK works again.
* [Bug 3059] Potential buffer overrun from oversized hash <perlinger@ntp.org>
  - applied patch by Brian Utterback <brian.utterback@oracle.com>
* [Bug 3053] ntp_loopfilter.c frequency calc precedence error.  Sarah White.
* [Bug 3050]  Fix for bug #2960 causes [...] spurious error message.
  <perlinger@ntp.org>
  - patches by Reinhard Max <max@suse.com> and Havard Eidnes <he@uninett.no>
* [Bug 3047] Fix refclock_jjy C-DEX JST2000. abe@ntp.org
  - Patch provided by Kuramatsu.
* [Bug 3021] unity_fixture.c needs pragma weak <perlinger@ntp.org>
  - removed unnecessary & harmful decls of 'setUp()' & 'tearDown()'
* [Bug 3019] Windows: ERROR_HOST_UNREACHABLE block packet processing.
  DMayer and JPerlinger.
* [Bug 2998] sntp/tests/packetProcessing.c broken without openssl. JPerlinger
* [Bug 2961] sntp/tests/packetProcessing.c assumes AUTOKEY.  HStenn.
* [Bug 2959] refclock_jupiter: gps week correction <perlinger@ntp.org>
  - fixed GPS week expansion to work based on build date. Special thanks
    to Craig Leres for initial patch and testing.
* [Bug 2951] ntpd tests fail: multiple definition of `send_via_ntp_signd'
  - fixed Makefile.am <perlinger@ntp.org>
* [Bug 2689] ATOM driver processes last PPS pulse at startup,
             even if it is very old <perlinger@ntp.org>
  - make sure PPS source is alive before processing samples
  - improve stability close to the 500ms phase jump (phase gate)
* Fix typos in include/ntp.h.
* Shim X509_get_signature_nid() if needed.
* git author attribution cleanup
* bk ignore file cleanup
* remove locks in Windows IO, use rpc-like thread synchronisation instead
2016-11-22 01:34:41 +00:00
kamil
ba06ccfe95 Add initial documentation (man-pages) for libpthread_dbg
Document libpthread_dbg and basic function calls: td_open() and td_close()

Sponsored by <The NetBSD Foundation>
2016-11-21 20:43:25 +00:00
christos
ecc3664283 Merge conflicts. 2016-11-21 20:15:16 +00:00
snj
7ae8358cfa nuke xf86-video-nvxbox, as xbox support went away in 2011. 2016-11-21 17:00:32 +00:00
christos
36ebd06e5a Import wpa_supplicant and hostapd 2016-11-21 16:42:45 +00:00
snj
acf9669eab xorgconfig got nuked upstream in 2008 2016-11-21 09:14:12 +00:00
snj
df0b856aa0 don't bother defining XORG_RELEASE. not only was the value wrong, it's
not used anymore.
2016-11-21 08:43:49 +00:00
snj
d63a665937 no need to define HAVE_PCI_DEVICE_IS_BOOT_VGA with xorg-server 1.18.
libpciaccess, which provides pci_device_is_boot_vga, is always present.
2016-11-21 08:09:54 +00:00
mrg
38ac2f14f5 regen all gdb platforms. 2016-11-20 00:19:55 +00:00
mrg
98abf92201 s/#/$/ in a $NetBSD$ so it actually expands 2016-11-19 09:46:58 +00:00
skrll
0efd40303c mknative re-run 2016-11-19 09:10:33 +00:00
skrll
8d8621a4bd Real mknative re-run 2016-11-19 08:46:03 +00:00
skrll
56b555c863 Mark the alpha options use_secureplt as false... we don't do secure plt
on alpha (yet)
2016-11-19 07:54:19 +00:00
skrll
c7af765c8e Add in netbsd-core.lo for all arm/mips 2016-11-19 07:52:49 +00:00
skrll
f958ae60d4 (simulate) mknative re-run 2016-11-18 12:42:10 +00:00
skrll
3a5e17dcb9 Provide a generic nbsd_skip_solib_resolver and use it in alpha and arm.
Others should follow suit.

I even tested it.
2016-11-18 09:52:33 +00:00
snj
5c7e6c1206 let there be a sane font path! 2016-11-17 07:58:24 +00:00
snj
19ebe7a2cb the last release of xorg-server that cared about RGB_DB was 1.4.2,
back in 2008
2016-11-17 06:58:39 +00:00
snj
f976ca312a 1. only xorg-server.old has xaa.h, so -DHAVE_XAA_H would make sense
there, but it doesn't with 1.18
2. it t matter anyway.  xf86-video-nouveau removed all XAA support
   in 2007, and as such, nothing here is conditional upon HAVE_XAA_H
3. is a magic number
2016-11-17 05:28:43 +00:00
christos
033d09113f no need for config.h; it should be auto-gened. 2016-11-13 22:38:22 +00:00
christos
989be9bb50 add include in the vpath. 2016-11-13 22:37:39 +00:00
christos
8b8a28d15a Adjust to new acpica 2016-11-11 21:09:21 +00:00
joerg
c4414c4118 Merge r1.10 from the main in-tree binutils version:
More detailed error messages for text relocations on ppc code. Tested by
joerg@
2016-11-06 23:46:01 +00:00
joerg
d74117acef Merge r1.11 from the main in-tree binutils version:
Tail calls can use the PLT without a nop after the branch. Since the
callee won't return to the next instruction anyway, it wouldn't work
anyway.
2016-11-06 23:44:44 +00:00
christos
096c8b23c8 follow suit (add missing d) 2016-11-04 15:31:45 +00:00
martin
ed3eda7194 Add NODEBUGLIB here as well (sync with binutils directory) 2016-11-04 13:29:38 +00:00
joerg
374e459041 Tail calls can use the PLT without a nop after the branch. Since the
callee won't return to the next instruction anyway, it wouldn't work
anyway.
2016-11-04 00:19:32 +00:00
kre
6f49e7d891 This script needed some updates for an earlier tzdata upgrade
(one which used a different key for the signature of the data file...)
Allow either key to work.   Also update the name of the sets list
file to match modern reality (only affects instructions issued to user.)

I skipped committing these changes until it had been used a few times
to verify that it actually works properly...   it seems to.
2016-11-03 10:11:05 +00:00
kre
6bcfafb89f Merge tzdata2016i 2016-11-03 09:53:13 +00:00
kre
6dd37d0381 Import tzdata2016i from ftp://ftp.iana.org/tz/releases/tzdata2016i.tar.gz
Summary of changes in tzdata2016i (2016-11-01 23:19:52 -0700):

  Cyprus split into two time zones on 2016-10-30 (new zone is
  Asia/Famagusta and is UTC+3 year round).  Tonga reintroduces
  summer time on 2016-11-06 (assumed for now to be aligned with Fiji).
  This year's summer time switch (from +08 to +11) for Antarctica/Casey
  occurred 2016-10-22.

  Also (minor) adjustments to some historic data for Italy (most
  recent applies to time of day of switch out of summer time in period
  1967-1970 & 1972-1974, other changes relate to 1910's and 1940's.)
2016-11-03 09:52:33 +00:00
christos
f47de02583 More detailed error messages for text relocations on ppc code. Tested by joerg@ 2016-11-03 01:22:59 +00:00
joerg
1d7b126130 Logical negation binds stronger than bitwise and, which doesn't seem to
be intended here.
2016-11-02 13:15:53 +00:00
jnemeth
26440e41e3 Correct misplaced break; from FreeBSD.
Approved By: christos
2016-11-02 03:15:07 +00:00
christos
a53893bf63 rebuild if the version file changes, so binaries report the right version. 2016-11-01 21:56:11 +00:00
christos
dfa9f336ab merge conflicts 2016-11-01 21:55:51 +00:00
christos
c4bb1d45a2 bind-9.10.4-P4
4489.  [security]      It was possible to trigger assertions when processing
                       a response. (CVE-2016-8864) [RT #43465]
2016-11-01 20:45:40 +00:00
christos
3d63ec494e need an = 2016-11-01 15:58:41 +00:00
christos
24c043b8d9 bump both (belatedly) 2016-11-01 14:02:15 +00:00
christos
ed77187f53 Add NODEBUGLIB, perhaps LIBISPRIVATE is better here? 2016-11-01 14:02:01 +00:00
martin
226fa8b9ee Add a skip_solib_resolver, from Rin Okuyama, fixes single stepping for
shared binaries.
2016-10-29 17:02:06 +00:00
christos
6ffca6ccd9 it might not be a breakpoint, so make the message what it actually is. 2016-10-27 14:30:55 +00:00
skrll
4b15477c73 .mt files are dead 2016-10-27 11:48:24 +00:00
christos
f5b8191dd4 regen x86 2016-10-26 20:39:27 +00:00
christos
944e10e55a restore the initfini array tests 2016-10-26 20:26:20 +00:00
christos
2f15a542cc merge conflicts, disable testsuite 2016-10-26 18:42:52 +00:00
christos
be8325a0f7 for next time 2016-10-26 18:00:56 +00:00
christos
c05b68c164 use the real top 2016-10-26 18:00:46 +00:00
christos
eb46678fb2 use our real top 2016-10-26 17:58:48 +00:00
christos
8cbf5cb7c4 Import binutils-2.27 minus the testsuites 2016-10-26 17:29:32 +00:00
christos
9b818ce2b0 merge conflicts 2016-10-26 17:08:37 +00:00
christos
8450a7c426 Import current binutils 2016-10-26 17:02:27 +00:00
christos
8d3ec8c9f8 Don't fail silently if we can't set a breakpoint 2016-10-24 21:22:33 +00:00
mrg
7b28f87c3c regen. 2016-10-24 03:02:48 +00:00
mrg
647468f389 regen after config.bfd fix. 2016-10-23 18:51:55 +00:00
skrll
f1c7b5d7e5 Sync with external/gpl3/binutils/dist/bfd/config.bfd for mips so we build
in the right vector set
2016-10-23 12:46:57 +00:00
skrll
628b30c419 Sync with external/gpl3/binutils/dist/bfd/config.bfd for arm so we build
in the right vector set
2016-10-23 12:43:01 +00:00
skrll
33576f34ff Trailing whitespace 2016-10-23 07:40:08 +00:00
skrll
074ac3ce32 PR toolchain/51557: gdb can't read core files
Register an iterate_over_regset_sections methods for armnbsd
2016-10-23 07:33:15 +00:00
christos
bbf41bf8ef use LIBGCC_MACHINE_ARCH for the compat build 2016-10-22 20:33:28 +00:00
skrll
a6174a4ba0 Add -lkvm for bsd-kvm.o 2016-10-22 14:57:50 +00:00
skrll
d2624817ef No need for corelow.o here now as it is in COMMON_OBS 2016-10-22 14:38:07 +00:00
skrll
4f5401ddf9 Fix HPPANBSD_SIZEOF_GREGS to match sizeof(struct reg) 2016-10-22 11:04:16 +00:00
christos
f6383fc60c regen and include the proper directory for x86_64 2016-10-22 03:55:03 +00:00
christos
6d0f30fd53 enable tf math (__float128) 2016-10-22 03:33:03 +00:00
christos
5300379ae6 Mark this -z nodelete, so that it does not get unloaded before other shared
libraries do, since they destructors need to still call millicode.
The problem this time was with /usr/pkg/bin/gdk-pixbuf-query-loaders
calling glib2's g_log...
2016-10-21 23:44:09 +00:00
mrg
e7aef7676b basic support for -static -pie: use -dynamic-linker.
doesn't work for all ports (reloc startup issues.)
2016-10-21 07:24:30 +00:00
kre
7ed3b6d29f Merge tzdata2016h 2016-10-20 23:13:08 +00:00
kre
d7a11c87d8 Import tzdata2016h from ftp://ftp.iana.org/tz/releases/tzdata2016h.tar.gz
Summary of changes in tzdata2016h (2016-10-19 23:17:57 -0700):

	Asia/Gaza and Asia/Hebron end of summer time for 2016 is
	2016-10-29 at 01:00 rather than 2016-10-21 at 00:00 (which
	is within hours after this update).  Guess that future
	end dates will be the last Sat of October.

	Corrected some historic time (and one date) transition
	times for Turkey (all 1990 or before.)

	Switch Sri-Lanka to use numeric abbreviation for time zone
	as the tzdata invented one is not correct, and the correct
	one seems not to be widely used.
2016-10-20 23:12:25 +00:00
mrg
a1169008f0 match aarch64* for the ldscripts generation. 2016-10-19 20:55:44 +00:00
mrg
31caae3a77 mknative-binutils for binutils 2.26 and arm64eb 2016-10-19 20:31:28 +00:00
mrg
b54003801f regen again after fixing the armeb-netbsdelf list.
evbarm-armeb builds again.
2016-10-19 19:10:33 +00:00
mrg
4a685cb277 fix the armeb target list. 2016-10-19 19:09:42 +00:00
mrg
8beef5983a regen to remove the accidental freebsd files 2016-10-19 19:02:38 +00:00
christos
bca50078b8 fix typo. 2016-10-18 12:52:32 +00:00
mrg
07ee0c7402 regen mknative for all ports and GCC 5.4 and -current. many ports
were using 5.3 data, and none of them had <stdalign.h>.
2016-10-18 01:32:56 +00:00
mrg
7b202c5d1e fix earmhf and earmhfeb builds. 2016-10-18 00:16:58 +00:00
christos
2a60a2e549 account for socket name change. 2016-10-17 22:47:16 +00:00
mrg
c78a23b309 mknative-gdb for GDB 7.12 and coldfire/m68000. untested.
this completes our regularly scheduled mknative-gdb for all ports.
until next time enjoy your flight and have a nice day.
2016-10-17 18:44:43 +00:00
mrg
fbe48ae2ff remove unused files. 2016-10-17 18:32:33 +00:00
mrg
400d1a1689 mknative-gdb for GDB 7.12 and sh3*. untested. 2016-10-17 18:19:06 +00:00
mrg
e110ade75c mknative-gdb for GDB 7.12 for m68k and vax. untested. 2016-10-17 17:38:07 +00:00
mrg
15077f1b3c add some missing casts and make these build. 2016-10-17 17:37:44 +00:00
christos
a417a46e02 regen powerpc64 2016-10-17 14:02:20 +00:00
mrg
c1e10f7755 mknative-gdb for GDB 7.12 and i386 (untested) 2016-10-17 06:26:37 +00:00
mrg
fe0f2a5492 add missing i386bsd_supply_gregset() and i386bsd_collect_gregset() protos 2016-10-17 06:26:20 +00:00
mrg
3caff98623 mknative-gdb for GDB 7,12 and mips64*. untested (but builds.) 2016-10-17 04:15:35 +00:00
mrg
c9be6ee8d6 mknative-gdb for GDB 7.12 and alpha, mipsel and mipseb.
alpha and mipseb build (mipsel should), nothing is tested.
2016-10-16 08:23:05 +00:00
mrg
14a15c5f7b build fixes for sgimips and xorg-server 1.18.
newport and crime need to be ported away from XAA.
2016-10-16 08:20:58 +00:00
mrg
3488189caf begin to get alpha to xorg-server 1.18 - disable the known problematic
drivers.
2016-10-16 06:23:48 +00:00
mrg
c03f037c58 define _KMEMUSER so that necessary things become visible always. 2016-10-16 05:12:20 +00:00
mrg
b0273061d2 move the GDB_MACHINE_ARCH setting into a separate file so tools can
access it.  modify it such that it's "arm" or "armeb" for all arm,
but only in new gdb, not gdb.old (avoid changing gdb.old as much
as possible now.)
2016-10-16 04:36:51 +00:00
mrg
47f5dba6de gdb only needs on arm and on armeb set, for all the 32 bit arm ports.
regen arm and armeb for gdb 7.12, and delete the rest.
2016-10-16 04:30:04 +00:00
maya
aa71315a69 this rule shouldn't be specific to little endian 2016-10-15 12:30:55 +00:00
mrg
23a8d08d85 mknative-gdb for GDB 7.12 and sparc, sparc64 and powerpc. sparc
works, the others aren't yet tested but do build.
2016-10-15 03:11:47 +00:00
christos
d1f6f311d5 multiple include protection 2016-10-14 23:49:23 +00:00
mrg
cce0131c9c go back to only installing ldscripts for ports that need them (multi-abi) 2016-10-14 23:27:00 +00:00
christos
b3faa1f1b4 Add new path for arm 2016-10-14 16:38:27 +00:00
christos
f424392a52 regen earm 2016-10-14 16:19:23 +00:00
christos
d11c4303f8 Remove hacks and depend on the files being built to decide wha'ts being
installed.
2016-10-14 15:58:34 +00:00
christos
9ff2fcdd59 fix some aarch64 nits 2016-10-14 14:41:32 +00:00
skrll
f4ea3389b0 We have our own popcount 2016-10-14 14:14:58 +00:00
skrll
e6e32b5f39 Make this compile 2016-10-14 14:12:48 +00:00
mrg
3c9887d690 mknative for gdb 7.12 and sparc*, and earmv4. sparc64 doesn't build yet.
others not yet tested.
2016-10-14 05:37:44 +00:00
skrll
2920ca48d3 mknative for hppa gdb 7.12 2016-10-13 21:09:13 +00:00
martin
5165b5c270 PR lib/51533: make big endian arm support work again, patch from
Rin Okuyama.
2016-10-13 18:11:19 +00:00
martin
a61a76c709 Install the arm ldscripts for big endian variants too 2016-10-13 13:29:39 +00:00
christos
5c86dbca0a And one more level 2016-10-13 01:18:59 +00:00
christos
0c04591cf1 One more level down 2016-10-13 01:10:15 +00:00
christos
bb16d22702 Add more directories 2016-10-13 00:55:20 +00:00
christos
c358683dff Merge conflicts and regen amd64 2016-10-12 20:20:32 +00:00
christos
ba340e457d import gdb-7.12 2016-10-12 16:47:08 +00:00
christos
a5a4af3bd3 re-add all the removed files 2016-10-12 15:36:05 +00:00
christos
4e00368f12 import current gdb-7.10.1 as gdb.old 2016-10-12 15:15:22 +00:00
nat
3b937aa6f8 Add firmaware for Realtek 8192ee/eu. 2016-10-12 06:49:40 +00:00
nat
309261430f Added firmware and updated copyright for rtl8192ee/eu.
OK christos@
2016-10-12 03:12:03 +00:00
mrg
4685143ff5 build and install the arm ldscripts. now i can build oabi again. 2016-10-11 07:23:52 +00:00
mrg
9535eb5451 fix the previous - the emul names don't tend to include "32".
tested on shark, though fixes to make compiling for oabi work
remain uncommited.

now an aarch64 build almost completes!
2016-10-11 07:05:29 +00:00
mrg
ba759bad89 revert previous - was fixed in the mknative. 2016-10-11 04:10:13 +00:00
mrg
de6fd971d9 regen with mostly fixed. 2016-10-11 03:57:15 +00:00
christos
8897404ec7 more HAVE stuff. 2016-10-11 03:09:37 +00:00
christos
be6cc8d4b9 regen and fix aarch64 2016-10-11 03:08:14 +00:00
christos
b885939ba2 fix emulation path 2016-10-11 02:49:38 +00:00
christos
d5970ab2da make DEBUG_NS compile. 2016-10-09 19:38:08 +00:00
christos
1d40584ea0 PR/51542: Henning Petersen: replace , with ; 2016-10-09 14:53:54 +00:00
christos
e3e83e546b PR/51539: Henning Petersen: replace , with ; 2016-10-09 14:05:12 +00:00
skrll
b51620c841 Remove gcc.old now it is no longer used. 2016-10-09 09:26:45 +00:00
roy
88dd0230ec If SMALLPROG is defined, use a minimal dhcpcd-definitons.conf
and compile out IPv4LL and DHCP authentication.
2016-10-09 09:23:59 +00:00
roy
a94cf675a8 Sync 2016-10-09 09:18:26 +00:00
skrll
d99781d3c9 Remove binutils.old now it is no longer used 2016-10-09 08:21:35 +00:00
skrll
cf81abf893 Remove gdb.old not it is unused. 2016-10-09 07:31:17 +00:00
joerg
388eae8172 Revert half of the last commit. Turns out that in some contexts,
BEGIN_QUOTE/END_QUOTE is used intentionally as non-char marker.
2016-10-08 23:40:52 +00:00
joerg
654832016f BEGIN_QUOTE and END_QUOTE have values outside the range of a signed char
for non-EBCDIC host. Explicitly cast them to char to avoid the implicit
cast.
2016-10-08 20:44:59 +00:00
joerg
01415aaf3e Explicitly cast Meta(c) to char as the intermediate value can be too
large for a signed character.
2016-10-08 20:34:59 +00:00
mrg
9b1f020a53 set XFree86LOADER for all xorg-server driver builds again,
it's still needed for many drivers and would normally be
set in xorg-server.h.
2016-10-08 20:08:57 +00:00
mrg
7c397bf711 don't undefine XFree86LOADER twice. 2016-10-08 20:03:04 +00:00
ryoon
4af7047f76 Fix module load error of vmware_drv.so 2016-10-08 10:21:18 +00:00
roy
90f85a50d4 Remove files from botched import 2016-10-07 09:38:10 +00:00
roy
b2a8abed61 Import dhcpcd-6.11.4 with the following changes:
*  Fixed octal and hex string parsing in options.
  *  Several statically sized buffers have been removed and replaced
     with dynamically sized ones where we have no real idea of what
     the size will be.
  *  Reverse IPv4 route removal order.
  *  Added --small configure directive to reduce binary size
  *  Allow DHCPv6, IPv4lL and authentication to be compiled out
  *  Add support for ifa_addrflags in getifaddrs(3)
  *  Add support for ifam_addrflags and ifam_pid from route(4)
  *  If T1 or T2 are not set in DHCPv6 messages, use a default from the
     lowest pltime instead of the expiration time.
  *  Validate lease before moving to REQUEST when both ends use
     rapid commit.
  *  If lease validation fails, don't restart the DISCOVER phase if
     we're already in it.
2016-10-07 08:36:16 +00:00
christos
84670d8d34 fix ppc64 2016-10-06 20:29:33 +00:00
christos
bcc92e9b65 fix ssp build on amigappc 2016-10-06 02:58:32 +00:00
christos
0e20c92e52 The NetBSD libc provides the softfloat support which is duplicated in libgcc
and we prefer ours.
2016-10-05 19:24:44 +00:00
christos
93731ee132 regen 2016-10-05 14:30:18 +00:00
christos
cb24a47c16 regen 2016-10-05 14:16:56 +00:00
mrg
30db75397d build new pt_PT.UTF-8 locale from libX11 1.6.4. 2016-10-04 23:52:02 +00:00
christos
066d9b5de0 Merge conflicts. 2016-10-04 23:46:00 +00:00
christos
be30118516 Import bind 9.10.4-P3 2016-10-04 23:33:48 +00:00
mrg
808af16fa6 build pnozz for xorg-server 1.10 and sparc. 2016-10-04 21:37:10 +00:00
christos
c610b4a73b Hack for powerpc64 2016-10-04 14:33:16 +00:00
christos
c1aea182bb Hack around ppc64. 2016-10-04 14:25:02 +00:00
kre
8744da7208 Merge tzdata2016g 2016-09-29 20:41:33 +00:00
kre
87963c4046 Import tzdata2016g from ftp://ftp.iana.org/tz/releases/tzdata2016g.tar.gz
Summary of changes in tzdata2016g (2016-09-13 08:56:38 -0700):
	Timezone switch in Turkey (summer time becomes standard time)
	Transition time corrections for historic timestamps in
		America/Los_Angeles
		zones using USSR rules in early 20th century
	Some (more) time zone abbreviations converted to numeric form
	Asia/Rangoon becomes Asia/Yangon (with backward compat link)
2016-09-29 20:40:55 +00:00
kre
36f0250a07 Import tzdata2016g from ftp://ftp.iana.org/tz/releases/tzdata2016g.tar.gz
Summary of changes in tzdata2016g (2016-09-13 08:56:38 -0700):
	Timezone switch in Turkey (summer time becomes standard time)
	Transition time corrections for historic timestamps in
		America/Los_Angeles
		zones using USSR rules in early 20th century
	Some (more) time zone abbreviations converted to numeric form
	Asia/Rangoon becomes Asia/Yangon (with backward compat link)
2016-09-29 20:40:49 +00:00
uwe
c3674760a3 Run configure with MAKE=${TOOL_GMAKE:Q} - otherwise "checking
dependency style" test fails on non-netbsd hosts where nbmake can't
find share/mk.

Ok phone@
2016-09-29 20:08:25 +00:00
macallan
5f9a2b7b6b enable igs driver on shark, build pnozz and ag10e drivers only for old xorg
for now
2016-09-28 18:12:06 +00:00
joerg
e2e07da7d3 Split -mv8plus into the appropiate flags for GCC and clang. 2016-09-27 19:26:06 +00:00
joerg
3d96c42069 Don't bail out on the const lose for the driver name for clang. Also
accepts differences in pointer signs.
2016-09-27 19:24:19 +00:00
joerg
f713f3f1c9 Allow clang to generate SPARCv8+ assembly for now. 2016-09-27 19:18:42 +00:00
joerg
87e9b90cbb Disable pointer sign warnings for clang. 2016-09-27 19:15:09 +00:00
christos
c243d8dd7b need XFree86LOADER 2016-09-27 02:33:16 +00:00
mrg
981b4dd997 build the modesetting driver on x86.
build the modesetting driver for xorg-server 1.18.4.  it has moved
into the xorg-server tree itself, and changed significantly.
2016-09-26 22:37:31 +00:00
christos
0c1628ad4e restore rules after the database is open, add error message to prevent
silent failure in the future. (Kurt Lidl)
2016-09-26 19:43:43 +00:00
christos
e4026cc8ea __NetBSD__ -> SANITIZER_NETBSD 2016-09-22 13:13:09 +00:00
christos
0b7ade5bd2 Avoid definining a prototype for signal(3) from <sys/param.h> because the
INTERCEPTOR macro cannot handle function returns easily.
TODO: fix <sys/param.h> to avoid this kind of name pollution.
2016-09-22 03:43:07 +00:00
christos
1fab549d94 Find bin.h 2016-09-22 01:53:39 +00:00
christos
2e3ca227c0 need <sys/param.h> 2016-09-21 23:18:42 +00:00
christos
9c3dcc6f8b move from /usr/src/usr.sbin/mdsetimage 2016-09-21 21:52:26 +00:00
christos
37b1f1d690 Check the NetBSD version 2016-09-21 21:30:56 +00:00
christos
a75c439d9f add new field 2016-09-21 19:18:01 +00:00
mrg
41da45e36d always build the XAA files as well. they have functions used
by the EXA code and besides a minor fix, were already setup to
build with HAVE_XAA_H not defined.

this should really fix PR#51480.
2016-09-21 18:00:26 +00:00
christos
a8b83ade53 remove dup 2016-09-21 16:26:18 +00:00
christos
5cafd780cd fix printf format. 2016-09-21 01:33:42 +00:00
christos
639759bc47 Print more info. 2016-09-20 20:57:45 +00:00
christos
2839ad01b7 XXX: This driver still needs XFree86LOADER defined to expose intelModuleData. 2016-09-19 19:15:04 +00:00
christos
9acd45d4f4 provide a NO_AUTH option to strip auth for boot media; saves around 40K. 2016-09-18 15:37:23 +00:00
christos
f4001fd30b XXX: manually add uniform_int_dist.h because everyone else has it and
it breaks the build!
2016-09-18 02:03:16 +00:00
christos
d120f5b7a3 undo the attempt to figure out mult clobbering; breaks compilation; revert
to the fsf version
2016-09-17 00:55:40 +00:00
christos
f47e9f5683 turn off split wide types to avoid gcc bug. Arguably this should be fixed
in m68k.md, but I will leave this to someone more qualified.
2016-09-16 20:31:00 +00:00
christos
7f119c296e put the clobber after the instruction. 2016-09-16 20:30:14 +00:00
pgoyette
06402e0a42 Move kern_ctf.c into the dtrace_fbt module (the only place it is used)
rather than including in kernels with KDTRACE_HOOKS defined.  Update
the dtrace_fbt module to depend on the zlib module.

Bump kernel version to avoid module mismatch.

Welcome to 7.99.38 !
2016-09-16 03:10:45 +00:00
mbalmer
eeff2bf6a8 Remove a typo, %i is not conversion specification. 2016-09-10 09:31:24 +00:00
mbalmer
1c38c58ca4 Define LUA_STRFTIMEOPTIONS so that the conversion specifications of the Lua
os.date() function match the conversion specifications of the underlying
strftime() function.
2016-09-10 09:29:13 +00:00
salazar
b6231d31d5 fix code style issue 2016-09-08 21:19:44 +00:00
salazar
45e7e42b1d fix kernel Lua code style issues 2016-09-08 20:57:20 +00:00
salazar
da64b47369 fix bug 3 (for Lua.5.3.3) reported on www.lua.org/bugs.html 2016-09-08 02:57:32 +00:00
salazar
36b38267b2 fix bug 2 (for Lua.5.3.3) reported on www.lua.org/bugs.html 2016-09-08 02:55:50 +00:00
salazar
03a5d4850a fix bug 1 reported on www.lua.org/bugs.html 2016-09-08 02:53:39 +00:00
salazar
10422b434c fix misplaced kernel Lua ifndef 2016-09-08 02:51:53 +00:00
salazar
c7f896d7b5 merge Lua 5.3.3 2016-09-08 02:21:31 +00:00
christos
8514813e35 more errors for text relocations 2016-09-05 14:25:33 +00:00
christos
118ae671e7 sync error with x86_64. 2016-09-05 09:17:35 +00:00
martin
2aa3eb8e7d HAVE_GCC may not be set at all 2016-09-05 06:30:40 +00:00
joerg
7871f8fcbc Update LLVM and Clang to 3.8.1+ r280599. The most relevant changes for
NetBSD are driver logic for PIE linkage and a number of SPARC fixes.
2016-09-03 23:22:38 +00:00
joerg
e2a06b5df1 Import Clang 3.8.1+ r280599. 2016-09-03 23:11:41 +00:00
joerg
6a611ff2ed Import LLVM 3.8.1+ r280599. 2016-09-03 21:50:19 +00:00
christos
6f1abd5174 gcc generates incorrect jump tables with -fPIE 2016-09-03 15:47:54 +00:00
jakllsch
cf7e416543 More clang -Wno-error= 2016-09-02 11:38:01 +00:00
jakllsch
36e77d45ce More clang -Werror avoidance 2016-09-02 04:49:48 +00:00
jakllsch
0b4c497657 More clang -Werror avoidance 2016-09-02 04:27:13 +00:00
jakllsch
574279d13e Add -Wno-error=enum-conversion when building glamor with clang. 2016-09-02 03:58:59 +00:00
jakllsch
f1579d78fa sprinkle appropriate -Wno-error for clang 2016-09-02 03:49:55 +00:00
jakllsch
42028367fb sprinkle __attribute__((__format__(printf.. 2016-09-01 16:30:11 +00:00
christos
574b6d56eb new example file 2016-08-31 17:27:37 +00:00
christos
a0b0e269b3 no stack protector for evbarm 2016-08-31 14:29:13 +00:00
christos
f26e8bc9c3 merge conflicts 2016-08-31 09:33:20 +00:00
christos
ed4e6cd45a CHANGES FROM 2.1 to 2.2 10 April 2016
Incompatible Changes
====================

* The format strings which referenced time have been removed.  Instead:

  #{t:window_activity}

can be used.

* Support for TMPDIR has been removed.  Use TMUX_TMPDIR instead.
* UTF8 detection how happens automatically if the client supports it, hence
  the:

  mouse-utf8
  utf8

  options has been removed.
* The:

  mouse_utf8_flag

  format string has been removed.
* The -I option to show-messages has been removed.  See:

  #{t:start_time}

  format option instead.

Normal Changes
==============

* Panes are unzoomed with selectp -LRUD
* New formats added:

  #{scroll_position}
  #{socket_path}
  #{=10:...} -- limit to N characters (from the start)
  #{=-10:...} -- limit to N characters (from the end)
  #{t:...} -- used to format time-based formats
  #{b:...} -- used to ascertain basename from string
  #{d:...} -- used to ascertain dirname from string
  #{s:...} -- used to perform substitutions on a string

* Job output is run via the format system, so formats work again
* If display-time is set to 0, then the indicators wait for a key to be
  pressed.
* list-keys and list-commands can be run without starting the tmux server.
* kill-session learns -C to clear all alerts in all windows of the session.
* Support for hooks (internal for now), but hooks for the following have been
  implemented:

  alert-bell
  alert-silence
  alert-activity
  client-attached
  client-detached
  client-resized
  pane-died
  pane-exited

* RGB (24bit) colour support.  The 'Tc' flag must be set in the external TERM
  entry (using terminal-overrides or a custom terminfo entry).
2016-08-31 09:03:59 +00:00
mrg
063e048f8f look for present and damage includes.
define HAVE_STRCASECMP and HAVE_DIX_CONFIG_H.
2016-08-30 08:19:43 +00:00
mrg
1484890888 remove obsolete module build subdirs 2016-08-30 08:18:22 +00:00
mrg
077971b469 apply some more -Wno-error=discarded-qualifiers 2016-08-30 04:04:07 +00:00
dholland
0ca1e3e00e Be more careful/explicit with FP rounding when converting floating time
to timeval. Also, don't truncate the seconds part to int for y2038.

I've had this patch sitting around since 2010 and I completely forget
what motivated it.
2016-08-27 18:48:30 +00:00
macallan
7bfa48917f pass -DAVOID_VGAHW on shark 2016-08-27 03:58:13 +00:00
dholland
9b9748abd1 PR 51446 Brad Harder: fix synopsis for :tagprev 2016-08-27 03:34:28 +00:00
dholland
720d49add0 Restore the first line of the copyright header, which accidentally got
zapped in -r1.2.
2016-08-27 03:30:48 +00:00
dholland
600a26a25d Fix previous. (Sigh.) PR 51389 again. 2016-08-26 23:55:04 +00:00
christos
1eb0ac3f07 regen for alpha and sh now that they have fenv.h 2016-08-26 17:28:54 +00:00
christos
6b98bddc8a the heuristic for the cpu dependent file atomicity.h is unusable for little
endian sh. For big-endian it happens to work because host_cpu!=sh. Elide it
2016-08-26 17:28:32 +00:00
christos
388d69f323 XXX stop gap fix for atomicity.
U __gnu_cxx::__atomic_add(int volatile*, int)
U __gnu_cxx::__exchange_and_add(int volatile*, int)
2016-08-25 13:17:09 +00:00
christos
f53b92e8bd fix sun2; no need for worker_cb.c 2016-08-25 07:13:39 +00:00
christos
dbb497205a FIx non update build (Julian Coleman) 2016-08-23 15:04:29 +00:00
martin
68da8ce34e Visit "etc" so our rc.d file gets installed. 2016-08-22 09:38:50 +00:00
mrg
34cc6e2c48 now sunffb builds, build it for xorg-server 1.18 2016-08-22 08:58:57 +00:00
mrg
115f85cd84 ffb_dga.c has const issues as well 2016-08-22 08:39:20 +00:00
mrg
9237538bc5 build 'hw' (the actual servers) after everything else. should fix
a build issue reported by Dave Tyson.
2016-08-21 20:51:04 +00:00
joerg
2f09723281 HAVE_GCC may be undefined. 2016-08-21 18:23:58 +00:00
joerg
abb6771cb7 Ignore abuse of VLAs. 2016-08-21 18:23:33 +00:00
christos
9d2979415e reorder for the benefit of sun2 2016-08-21 17:24:22 +00:00
joerg
95bd5eff9b HAVE_GCC may be undefined. 2016-08-21 12:39:17 +00:00
mrg
0078a2c916 reenable chips driver everywhere now it builds with xorg-server 1.18 2016-08-20 23:56:19 +00:00
mrg
e5e692211a apply -Wno-error=discarded-qualifiers only with GCC > 4. 2016-08-20 20:22:53 +00:00
joerg
cd81055f70 Don't bail out on #warning for clang either. 2016-08-20 20:19:08 +00:00
christos
65510e9c89 avoid yacc regeneration (lex does not need it, because their file is called
.lex and we don't have rules for that)
2016-08-20 15:24:29 +00:00
hannken
7139aab724 Remove now obsolete operation vcache_remove().
Welcome to 7.99.36
2016-08-20 12:37:06 +00:00
christos
c90b9921a5 unbound additions 2016-08-20 11:21:50 +00:00
christos
d909946ca0 Add bould glue 2016-08-20 11:20:31 +00:00
christos
3b6c3722d8 Import unbound 1.5.9 2016-08-20 11:08:26 +00:00
mrg
50a0769e5d turn off chips driver for macppc and xorg-server 1.18 (for now.) 2016-08-20 06:51:00 +00:00
mrg
cda8b1479d redo previous in a way that always works 2016-08-20 06:49:21 +00:00