303975 |
11-Aug-2016 |
gjb |
Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, and rename it to RC1.
Update __FreeBSD_version.
Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and the dvd1.iso packages population.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
302408 |
08-Jul-2016 |
gjb |
Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle. Prune svn:mergeinfo from the new branch, as nothing has been merged here.
Additional commits post-branch will follow.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
299094 |
04-May-2016 |
ngie |
Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed after r298107
Summary of changes:
- Replace all instances of FILES/TESTS with ${PACKAGE}FILES. This ensures that namespacing is kept with FILES appropriately, and that this shouldn't need to be repeated if the namespace changes -- only the definition of PACKAGE needs to be changed - Allow PACKAGE to be overridden by callers instead of forcing it to always be `tests`. In the event we get to the point where things can be split up enough in the base system, it would make more sense to group the tests with the blocks they're a part of, e.g. byacc with byacc-tests, etc - Remove PACKAGE definitions where possible, i.e. where FILES wasn't used previously. - Remove unnecessary TESTSPACKAGE definitions; this has been elided into bsd.tests.mk - Remove unnecessary BINDIRs used previously with ${PACKAGE}FILES; ${PACKAGE}FILESDIR is now automatically defined in bsd.test.mk. - Fix installation of files under data/ subdirectories in lib/libc/tests/hash and lib/libc/tests/net/getaddrinfo - Remove unnecessary .include <bsd.own.mk>s (some opportunistic cleanup)
Document the proposed changes in share/examples/tests/tests/... via examples so it's clear that ${PACKAGES}FILES is the suggested way forward in terms of replacing FILES. share/mk/bsd.README didn't seem like the appropriate method of communicating that info.
MFC after: never probably X-MFC with: r298107 PR: 209114 Relnotes: yes Tested with: buildworld, installworld, checkworld; buildworld, packageworld Sponsored by: EMC / Isilon Storage Division
|
298107 |
16-Apr-2016 |
gjb |
Merge the projects/release-pkg branch to head.
This allows packaging the base system with pkg(8), including but not limited to providing the ability to provide upstream binary update possibilities for non-tier-1 architectures.
This merge is a requirement of the 11.0-RELEASE, and as such, thank you to everyone that has tested the project branch.
Documentation in build(7) etc. is still somewhat sparse, but updates to those parts will follow.
Sponsored by: The FreeBSD Foundation
|
296587 |
09-Mar-2016 |
bdrewery |
DIRDEPS_BUILD: Connect MK_TESTS.
Sponsored by: EMC / Isilon Storage Division
|
289172 |
12-Oct-2015 |
ngie |
Refactor the test/ Makefiles after recent changes to bsd.test.mk (r289158) and netbsd-tests.test.mk (r289151)
- Eliminate explicit OBJTOP/SRCTOP setting - Convert all ad hoc NetBSD test integration over to netbsd-tests.test.mk - Remove unnecessary TESTSDIR setting - Use SRCTOP where possible for clarity
MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Divison
|
288199 |
24-Sep-2015 |
bdrewery |
Add missing CLEANFILES.
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
|
284345 |
13-Jun-2015 |
sjg |
Add META_MODE support.
Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree.
Still need to add real targets under targets/ to build packages.
Differential Revision: D2796 Reviewed by: brooks imp
|
274460 |
13-Nov-2014 |
jkim |
Increase MAXTABLE to the maxmimum possible value. The default value is too low for complex parsers. Note it was one of those memory optimization hacks back in the day.
MFC after: 1 week
|
269884 |
12-Aug-2014 |
ngie |
Complete the usr.bin/yacc kyua integration work I originally submitted via r268811
- Install the Kyuafile by adding FILES to FILESGROUPS - Run the testcases with an unprivileged user
Some of the testcases depend upon behavior that's broken when run as root on FreeBSD because of how permissions are treated with access(2) vs eaccess(2), open(2), etc
- Simplify the test driver to just inspect the exit code from run_test because it now exits with 0 if successful and exits with !0 if unsuccessful - Don't do ad hoc temporary directory creation/deletion; let Kyua handle that - Add entries for files removed in r268811 to OptionalObsoleteFiles.inc
PR: 191020 X-MFC with: r268811 Approved by: jmmv (mentor) Reviewed by: bapt Sponsored by: EMC / Isilon Storage Division
|
268811 |
17-Jul-2014 |
bapt |
Update to byacc 20140715 (only concerns regression tests being fixed) Directly use regression test from upstream
PR: 191020 Submitted by: gcooper (yaneurabeya@gmail.com)
|
265420 |
06-May-2014 |
imp |
Use src.opts.mk in preference to bsd.own.mk except where we need stuff from the latter.
|
264803 |
23-Apr-2014 |
bapt |
Update to byacc 20140409 Among all the modifications, this new byacc also solves a 14 year old bug [1]
PR: bin/23254 [1] Submitted by: marka@nominum.com [1] MFC after: 3 weeks
|
263227 |
16-Mar-2014 |
jmmv |
Migrate most of tools/regression/usr.bin/ to the new tests layout.
I'm starting with the easy cases. The leftovers need to be looked at a bit more closely.
Note that this change _does_ modify the code of the old tests. This is required in order to allow the code to locate the data files in the source directory instead of the current directory, because Kyua automatically changes the latter to a temporary directory.
Also note that at least one test is known to be broken here. Actually, the test is not really broken: it's marked as a TODO but unfortunately Kyua's TAP parser currently does not understand that. Will have to be fixed separately.
|
258931 |
04-Dec-2013 |
obrien |
Add missing bits from the vendor's 2005-05-04 change to contrib/byacc/makefile.in ("add YYPATCH here so it can be tested by applications") so that applications have a hope of detecting newer FreeBSD YACC output from an older one.
Submitted by: Juniper Networks
|
257317 |
29-Oct-2013 |
bapt |
Setting WARNS=6 is useless, as it is already the default
Reported by: Sascha Wildner
|
257316 |
29-Oct-2013 |
bapt |
Change warning level to 6
|
235723 |
21-May-2012 |
bapt |
Import byacc from invisible island, it brings us lots of compatibilities with bison, keeping full compatibility with our previous yacc implementation.
Also bring the ability to create reentrant parser
This fix bin/140309 [1]
PR: bin/140309 [1] Submitted by: Philippe Pepiot <ksh@philpep.org> [1] Approved by: des (mentor) MFC after: 1 month
|
228992 |
30-Dec-2011 |
uqs |
Spelling fixes for usr.bin/
|
216370 |
11-Dec-2010 |
joel |
Remove the advertising clause from UCB copyrighted files in usr.bin. This is in accordance with the information provided at ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
215027 |
09-Nov-2010 |
obrien |
Fix the build on 64-bit hosts. WARNS=6 fails on them.
|
214990 |
08-Nov-2010 |
obrien |
Back out r214961 for skeleton.c -- it broke the groff build.
|
214964 |
08-Nov-2010 |
obrien |
Add '-y' for bison compatibility.
Obtained from: http://invisible-island.net
|
214963 |
07-Nov-2010 |
obrien |
Inherit WARNS from parent directory.
Submitted by: marius
|
214961 |
07-Nov-2010 |
obrien |
Directly use memory allocation functions and remove needless casts in their usage. Also use associated modern types instead of k&r ones.
|
214959 |
07-Nov-2010 |
obrien |
Change to ANSI-C function definitions.
|
201386 |
02-Jan-2010 |
ed |
Build usr.bin/ with WARNS=6 by default.
Also add some missing $FreeBSD$ to keep svn happy.
|
201289 |
30-Dec-2009 |
ed |
Let both yacc and lex generate code that passes -Wold-style-definition.
Both these tools emit code where several functions have no `void' keyword placed in the arugment list when the function has no arguments.
|
200626 |
17-Dec-2009 |
rse |
remove external reference to not (or at least no longer) existing variable 'myname'
|
181278 |
04-Aug-2008 |
cperciva |
Setting a variable to the same value twice doesn't actually make it more likely to have the right value. Remove superfluous assignments.
Found by: LLVM/Clang Static Checker
|
181269 |
04-Aug-2008 |
cperciva |
Mark functions as __dead2 in order to help the LLVM static checker understand which code paths aren't possible.
This commit eliminates 117 false positive bug reports of the form "allocate memory; error out if pointer is NULL; use pointer".
|
180602 |
18-Jul-2008 |
delphij |
Indent the else path, reduce diff against OpenBSD.
|
180597 |
18-Jul-2008 |
kevlo |
Fix a longstanding bug, from Otto Moerbeck: if we're reducing a rule that has an empty right hand side and the yacc stackpointer is pointing at the very end of the allocated stack, we end up accessing the stack out of bounds by the implicit $$ = $1 action
Obtained from: OpenBSD
|
140420 |
18-Jan-2005 |
ru |
Sort sections.
|
131491 |
02-Jul-2004 |
ru |
Mechanically kill hard sentence breaks.
|
126623 |
05-Mar-2004 |
wes |
Use getopt instead of hand-rolled argument parsing. Usage remains the same, no man page changes required.
PR: bin/48313 Submitted by: Stefan Farfeleder <stefan@fafoe.dyndns.org> Reviewed by: joe@
|
110767 |
12-Feb-2003 |
davidc |
Add __unused to the declaration of yyrcsid in a more portable way.
Discussed with: alfred, bde, jmallett, obrien
|
110550 |
08-Feb-2003 |
davidc |
Backout my previous commit as requested. This solution generates parsers that are non-portable.
|
110482 |
07-Feb-2003 |
davidc |
Add __unused to the declaration of yyrcsid.
|
107269 |
26-Nov-2002 |
ru |
mdoc(7) police: back out unproved changes from previous revision.
Approved by: re
|
105262 |
16-Oct-2002 |
charnier |
Add section number to .Xr directive.
|
102412 |
25-Aug-2002 |
charnier |
Replace various spelling with FALLTHROUGH which is lint()able
|
98116 |
11-Jun-2002 |
robert |
Use the constants from <limits.h> for the sizes of integral C types rather than defining them ourselves.
|
98107 |
10-Jun-2002 |
jmallett |
Note that this appeared at least as early as PWB UNIX.
Use the literal string 'PWB UNIX', as we still have no .At macro for it.
|
97550 |
30-May-2002 |
ru |
mdoc(7) police: tidy up the markup.
|
95324 |
23-Apr-2002 |
obrien |
Restore some of the original variable names, but fix the warnings their renaming addressed by removing the global variants instead.
|
95124 |
20-Apr-2002 |
charnier |
Use `The .Nm utility'
|
94965 |
17-Apr-2002 |
fenner |
mdoc police: use .El to end the list in the ENVIRONMENT section.
|
94333 |
10-Apr-2002 |
obrien |
Quiet uninitialized warnings.
|
94276 |
09-Apr-2002 |
ru |
No longer needed to #ifdef __FBSDID, this is now handled by Makefile.inc1.
|
93856 |
05-Apr-2002 |
obrien |
Revert the "tell the program name in diagnostics". What was I thinking?? warnx() already does this for us.
|
93834 |
04-Apr-2002 |
obrien |
Minor reordering of declarations to reduce diffs to OpenBSD/NetBSD.
|
93832 |
04-Apr-2002 |
obrien |
Allow to compile errorlessly with GCC 3.1.
|
93831 |
04-Apr-2002 |
obrien |
Fix signal race. Use strlen() rather than magic number. Use _PATH_TMP.
Obtained from: OpenBSD rev 1.13 (sig race) & rev 1.9 (strlen)
|
93830 |
04-Apr-2002 |
obrien |
Revert revision 1.3. This is WARNS=4 clean w/o it and it only increases the diffs to Open/NetBSD.
|
93829 |
04-Apr-2002 |
obrien |
Fix style regression introduced in rev 1.11 during a WARNS cleanup.
|
93822 |
04-Apr-2002 |
obrien |
Add STANDARDS, ENVIRONMENT, and TABLES sections.
Obtained from: OpenBSD
|
93820 |
04-Apr-2002 |
obrien |
Minor word smithing.
|
93819 |
04-Apr-2002 |
obrien |
Follow suit with OpenBSD and NetBSD and tell the program name in diagnostics.
|
93817 |
04-Apr-2002 |
obrien |
Follow suit with OpenBSD and NetBSD and tell the program name in diagnostics.
|
92922 |
22-Mar-2002 |
imp |
remove __P
|
90416 |
08-Feb-2002 |
markm |
Remove NO_WERRORs and WARNS=n's. To be revisited after GCC3.
|
87673 |
11-Dec-2001 |
markm |
WARNS=2 fix, but do not set this im Makefile, because this ill be the default for src/usr.bin/
|
87628 |
10-Dec-2001 |
dwmalone |
Style improvements recommended by Bruce as a follow up to some of the recent WARNS commits. The idea is:
1) FreeBSD id tags should follow vendor tags. 2) Vendor tags should not be compiled (though copyrights probably should). 3) There should be no blank line between including cdefs and __FBSDIF.
|
87517 |
08-Dec-2001 |
imp |
Only use __FBSDID if it is defined. This fixes the 4.4-release (but not stable) -> current upgrade path.
Reviewed by: markm
|
87234 |
02-Dec-2001 |
markm |
Use __FBSDID().
|
87171 |
01-Dec-2001 |
markm |
WARNS=2 and s/register//.
Set NO_WERROR=true because there are some flex(1) issues that need to be dealt with.
|
84506 |
05-Oct-2001 |
obrien |
Properly static'ize increase_maxtable().
Submitted by: db@db.net
|
84503 |
05-Oct-2001 |
obrien |
Fix the output so it really does dynamically resize the table.
Submitted by: Diane Bruce <db@db.net>
|
84501 |
05-Oct-2001 |
obrien |
Increase the table size by an order of magnitude. The previous version was too small and YACC core dumped on the during the hybrid-7 build.
Submitted by: Diane Bruce <db@db.net>
|
79535 |
10-Jul-2001 |
ru |
mdoc(7) police: removed HISTORY info from the .Os call.
|
75286 |
07-Apr-2001 |
ru |
beforeinstall -> SCRIPTS.
|
74848 |
27-Mar-2001 |
ru |
MAN[1-9] -> MAN.
|
72676 |
19-Feb-2001 |
peter |
Have yacc use a prototype for yygrowstack(void) on ANSI compilers. This fixes a gcc warning with -Wmissing-prototypes.
|
69204 |
26-Nov-2000 |
kris |
Constify
|
65572 |
07-Sep-2000 |
n_hibma |
Fix breakage introduced in rev.1.7. yystacksize and yysslim are global and should be prefixed by YYPREFIX as well.
Only relevant if -p <yyprefix> is used. Used in cases where multiple parsers are used in executable.
|
56137 |
17-Jan-2000 |
bde |
Fixed breakage of K&R support in rev.1.26. yyparse() was defined as `int yyparse(;) ; { ... }' in K&R mode. Getting rid of the second unwanted semicolon in this made the ifdef tangle more tangled than before. Fixed a backwards comment in the tangle.
|
56135 |
17-Jan-2000 |
bde |
Fixed breakage of K&R support in rev.1.8 of output.c: don't generate #elif. Cleaned up rev.1.8 a bit more: generate the #include of <stdio.h> closer to the code that needs it.
|
55781 |
10-Jan-2000 |
kris |
malloc more space for temp file name
Noticed by: marcel
|
55732 |
10-Jan-2000 |
kris |
Feed mkstemp() some more X's to keep it safe.
|
52594 |
28-Oct-1999 |
obrien |
Make "YYPARSE_PARAM" and "YYPARSE_PARAM_TYPE" C++/ANSI-C clean.
|
52569 |
27-Oct-1999 |
obrien |
Allow a user specified parameter to 'yyparse()', in a manner similar to that used by bison. The names are consistent with the bison implementation but this one also allows the type of the parameter to be specified.
For a desired prototype of:
int yyparse __P((struct yyresult *));
and compile like this:
yacc -dv grammar.y cc -c -DYYPARSE_PARAM_TYPE="struct yyresult *" \ -DYYPARSE_PARAM="parm" y.tab.c
and use like this:
${ #include "usrtypes.h" #include "usrproto.h" }$
%token NUMBER
%%
goal : NUMBER { parm->value = yylval; } ;
If YYPARSE_PARAM_TYPE isn't specified then "void *" is the default type. If YYPARSE_PARAM is not specified then the generated code behaves exactly as traditional byacc.
PR: 13562 Submitted by: W Gerald Hicks <wghicks@bellsouth.net>
|
52567 |
27-Oct-1999 |
obrien |
Emit YYERRCODE into y.tab.h to help `lex' report scanning errors back to Yacc.
PR: 13562 Submitted by: W Gerald Hicks <wghicks@bellsouth.net>
|
50477 |
28-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
49285 |
30-Jul-1999 |
obrien |
Revert the past 3 commits to what should have been the rev 1.18 -> rev 1.19 change. (doesn't anybody read commit logs and look at the diffs?)
|
49284 |
30-Jul-1999 |
des |
Hyphens are not legal characters in a C identifier.
Broken by: hoek
|
49277 |
30-Jul-1999 |
hoek |
Even better fix for last commit: rename rcsid[] to _yacc-parser_rcsid[] (one always gets these ideas just after the commit).
|
49274 |
30-Jul-1999 |
hoek |
Don't output rcsid into the output parser. It may have already been defined in an input file such as src/bin/sh/arith.y. #if 0 it out. I did not add $Id$ back into the comment header (as removed from last commit).
|
49244 |
30-Jul-1999 |
obrien |
Only output `rcsid' (set to our Id string) into the resulting parser file. Don't output `sccsid' (set to an anchient UCB Id string) into the parser file.
Submitted by: bde
|
49214 |
29-Jul-1999 |
obrien |
Follow the directions in the comments and add our Id string to the output file.
|
49212 |
29-Jul-1999 |
obrien |
Check that user supplied the required argument; and if not, show usage().
Obtained from: OpenBSD
|
49211 |
29-Jul-1999 |
obrien |
* Don't assume realloc() can take NULL as first arg. Yacc needs to generate portable code... * Correctly define yyparse() (ie, K&R vs. C++/ANSI-C)
Obtained from: OpenBSD revs 1.5 & 1.10
|
49209 |
29-Jul-1999 |
obrien |
YYRECOVERING(), not YYRECOVERING.
Obtained from: OpenBSD rev 1.8 (approved by Robert Corbett)
|
49208 |
29-Jul-1999 |
obrien |
Add support for Bison's "%expect <int>" directive.
I originally coded this myself, and now I realize {Net,Open}BSD had already coded this. I have tossed my version to reduce diffs between the projects.
Obtained from: OpenBSD 2.5
|
49042 |
23-Jul-1999 |
hoek |
Regenerate to match changes made in the embedded yacc parser.
|
49041 |
23-Jul-1999 |
hoek |
Regenerate this file. This fixes a y2k bogon. As an unintentional side-effect, it also fixes that fact that this file badly needed to be regenerated due to changes in yacc.
Not done by: pst (in misc/1380) Almost done by: danny (in ftp.y)
|
48566 |
04-Jul-1999 |
billf |
Clean up some ambiguous nested if/elses.
|
45776 |
18-Apr-1999 |
peter |
Clean up the skeleton code a little. There was a #ifdef to avoid stdlib.h unless on C++. However, we already included it above, so there was no point using the redundant declarations instead.
|
42816 |
18-Jan-1999 |
danny |
"19%02", tm.year -> "%d", tm.year+1900
|
36790 |
09-Jun-1998 |
imp |
Use mkstemp rather than mktemp for yacc's temp files. This change was made to OpenBSD a long time ago and to my tree shortly thereafter. I think theo made this change, or one similar to it, but I could be wrong.
|
33645 |
20-Feb-1998 |
jb |
Add #include <string.h> to get prototypes.
|
28856 |
28-Aug-1997 |
charnier |
Use err(3). Rewrote man page in mdoc format. The user visible change is that report of s/r and r/r conflicts is now printed in two separate lines beginning by `yacc: '.
|
25805 |
14-May-1997 |
steve |
Add back the description of the -o option. Threatened PR by: Tim Vanderhoek :)
|
25266 |
29-Apr-1997 |
steve |
#include <stdlib.h> in the C++ case and declare getenv and realloc in the C case so that we don't have to depend on stdlib.h being present.
Submitted by: Bruce Evans <bde@freefall.freebsd.org>
|
25264 |
29-Apr-1997 |
steve |
Keep style consistent.
Submitted by: Bruce Evans <bde@freefall.freebsd.org>
|
25234 |
28-Apr-1997 |
steve |
Fix problems using -Wwrite-strings and -Wcast-qual with yacc generated parsers. Closes PR #2792.
Submitted by: Tim Vanderhoek
|
25189 |
27-Apr-1997 |
jmg |
``appears'' -> ``appeared'' (closes PR#3393, Submitted-by: Josh Gilliam)
add missing Id's other minor clean ups
|
24096 |
22-Mar-1997 |
bde |
Don't generate invalid C++ code (for implicit conversion from `void *' in assignment).
|
23012 |
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
22776 |
16-Feb-1997 |
steve |
Implement the -o commandline switch. This does almost exactly what bison does with -o, except it DTRT with respect to naming the .code file when the -r switch is also used.
Submitted by: bde
|
21673 |
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
21623 |
12-Jan-1997 |
steve |
Add RCS id's since these files have left the default branch.
|
21622 |
12-Jan-1997 |
steve |
This doesn't change any functionality, it simple makes yacc(1) compile -Wall clean.
|
21583 |
12-Jan-1997 |
steve |
Revert the '-o output_file_name' option changes.
|
21358 |
06-Jan-1997 |
steve |
Merge Lite2 mods.
|
21353 |
06-Jan-1997 |
steve |
Implement and document a '-o output_file_name' option to allow the generated code to be written to a file other than the default, y.tab.c.
Inspired by: bde and brian@mediacity.com
|
19407 |
04-Nov-1996 |
hsu |
Add YYLEX and YYEMPTY macros to make byacc look more like bison. Obtained from: Cygnus source tree, with permission. Original commit by Jim Wilson, wilson@cygnus.com.
|
18455 |
22-Sep-1996 |
steve |
Fix for PR# 1427, yacc-generated parser generates warnings with -Wall. Tim's work with some minor additions by me.
Submitted by: Tim Vanderhoek <hoek@freenet.hamilton.on.ca>
|
18011 |
03-Sep-1996 |
peter |
Fix -Wall warning in skeleton parser
|
18008 |
03-Sep-1996 |
joerg |
Make the yacc skeleton aware of C++. It was previously broken in the YYDEBUG case (getenv() declared wrong).
|
13344 |
08-Jan-1996 |
peter |
Install yacc with a link as byacc (and the man page). Some gnu autoconf scripts that check for features/fixes in bison also check for byacc and dont find it unless there is a 'byacc' in the path.
|
13320 |
07-Jan-1996 |
phk |
Make all the tables "const" so that they don't clutter our data-segment.
|
9701 |
25-Jul-1995 |
bde |
Change `install' to `${INSTALL}' so that default install flags can be specified in the top level Makefiles.
|
8874 |
30-May-1995 |
rgrimes |
Remove trailing whitespace.
|
2026 |
11-Aug-1994 |
jkh |
Fix man extents from .0 to .1 Submitted by: jkh
|
1591 |
27-May-1994 |
rgrimes |
This commit was generated by cvs2svn to compensate for changes in r1590, which included commits to RCS files with non-trunk default branches.
|