Commit Graph

301033 Commits

Author SHA1 Message Date
christos f5345a0b77 mark things compat 2023-05-18 00:24:22 +00:00
christos 9a21710e02 enable (and disable) warnings centrally 2023-05-17 19:10:04 +00:00
christos c80c2c5435 add missing assembly stub macro, remove WARNS=0 2023-05-17 19:09:41 +00:00
tsutsui 2a15d9a398 Update URL of the technical manual. 2023-05-17 18:20:30 +00:00
rillig 00fa12d4c2 indent: fix indentation in preprocessor line
No binary change.
2023-05-17 18:03:25 +00:00
christos 7b56c6d54e fix mips OpenSSL-3.x compat 2023-05-17 15:01:17 +00:00
tsutsui 2b88da67b5 Use https for Ext2 documentation URLs. 2023-05-17 09:54:59 +00:00
tkusumi d24b947ae2 sys/fs/autofs: Remove unused APRINTF macro
Remove a debug print macro (originates from DragonFly autofs)
I had intentionally kept at the time.
2023-05-17 06:44:38 +00:00
gutteridge b1f970ed17 t_ptm.c: add a test case that passes extra flags
Validate that O_NONBLOCK and O_CLOEXEC are actually set by
posix_openpt(3), as until circa 9.99.101 they were not.

If/when other flags are added like close-on-fork, this test could be
adjusted. The current concern is with supporting the expectations of
components like vte3, used by various graphical terminal clients.
2023-05-17 03:16:11 +00:00
uwe fb04e69cea installboot(8): fix up markup
Don't overuse .Sy - when everything is highlighted, nothing is.  Use
.Ic for options &c to get correct PostScript output (both are bold in
plain text).

Use Aq Ar inside .Pa, as both Pa and Ar are rendered as underscored
text in plain text output, and the distinction is lost.

Don't set examples in bold, but give them .Pp space around - they are
much easier to read this way.

Use consistent -width in FILES.
2023-05-17 01:35:00 +00:00
lukem b8a22b4ebe ftp 20230516 for openssl 3.0 compat SSL_OP_IGNORE_UNEXPECTED_EOF 2023-05-16 22:00:23 +00:00
lukem 979e90aeb0 installboot(8): formatting improvements
Use Ar foo instead of <foo>; this is mdoc.
Other formatting tweaks.
2023-05-16 21:52:42 +00:00
lukem 9d6c4a2602 build.sh, BUILDING: consistency improvements
Consistently use "show", instead of sometimes using "display" or "print".
Fix mdoc markup (even though BUILDING is raw text).
Document help, -P, -?
2023-05-16 21:39:26 +00:00
lukem b9abc1c511 BUILDING: update upstream, regen
doc/BUILDING.mdoc is the upstream for BUILDING, so add recent changes
in the latter to the former, formatting correctly.

Move INSTALLBOOT_UBOOT_PATHS to Environment variables.
Move INSTALLBOOT_BOARDS to "make" variables for full builds.
Add installboot(8) cross-reference.
2023-05-16 21:21:38 +00:00
christos c78b7b8064 try to fix powerpc compat 2023-05-16 19:25:06 +00:00
christos e866d5f23c include earm to <=5 2023-05-16 19:22:58 +00:00
christos 136cc48766 fix ia64 2023-05-16 19:10:23 +00:00
christos d160f67663 use the pic version of the common library (affects hppa/alpha) 2023-05-16 19:06:09 +00:00
christos bbcb423864 Add the engines directory too (hannken)
Note that we don't install engines now, but we could.
2023-05-16 18:57:49 +00:00
christos 3778483fd3 Ignore EOF from remote. 2023-05-16 18:52:09 +00:00
riastradh 4f2595521a openssl: Limit armv8 stuff to aarch64.
Strictly speaking there is armv8 aarch32, e.g. AES instructions are
exposed to 32-bit mode, but OpenSSL's `*_armv8.S' files are staunchly
aarch64 and don't work when built for aarch64 32-bit compat libraries
(which could take advantage of armv8 instructions, but only if the
code is actually aarch32, which it isn't).

The armv8 stuff is still included in aarch64 /usr/lib/libcrypto, just
not in the 32-bit compat libraries.

With any luck, this will fix the aarch64 clang build (again).
2023-05-16 18:25:54 +00:00
rillig 6c7dba2d21 indent: directly access the input buffer
No functional change.
2023-05-16 13:26:26 +00:00
christos ae5e80608e OpenSSL entries are handled by NetBSD.dist.compat 2023-05-16 13:20:38 +00:00
rillig 032a64ad39 indent: allow comments in column 1 to be formatted 2023-05-16 12:46:43 +00:00
rillig 81c7fd789d indent: remove support for form feed characters inside a line
Form feeds are occasionally used to split code into pages, and this use
is still supported.  Having a form feed in the middle of a line is
exotic.
2023-05-16 11:32:01 +00:00
martin 6b1434d492 Simplify previous, from Riastradh 2023-05-16 09:52:30 +00:00
rillig db245c79a9 indent: remove blank between comment and parentheses or brackets
Finally, indent formats its own source code without messing up the
layout.
2023-05-16 08:22:11 +00:00
rillig c5b428c7c1 indent: fix handling of INDENT OFF/ON comments
Previously, the 'INDENT OFF' comments were interpreted when the newline
token from the line above the comment was processed, which was earlier
than could be reasonably expected.

The 'INDENT ON' comments were interpreted equally early, which led to
the situation that the 'INDENT OFF' comments were preserved literally
but the 'INDENT ON' comments weren't.
2023-05-16 08:04:03 +00:00
lukem c5af9e9a2f doc: MAKEVERBOSE support 2023-05-16 07:48:50 +00:00
rillig c73b132b15 indent: move parsing of 'INDENT OFF/ON' comments to the lexer
No functional change.
2023-05-16 07:13:05 +00:00
rillig a0b2b7f9f6 indent: clean up detection of whether parentheses form a cast
No functional change.
2023-05-15 22:52:21 +00:00
rillig 62cf6a24f7 indent: fix cast detection
In process_lparen_or_lbracket, ps.paren[...].maybe_cast was not
initialized, which may have been the cause for seemingly random spacing
around binary operators.

While here, clean up the code by reducing the number of accesses to the
parser state.
2023-05-15 22:35:41 +00:00
christos f7df41b2a4 fix typo 2023-05-15 21:55:26 +00:00
rillig 70c3f641d2 indent: fix detection of casts
A word followed by a '(' does not start a cast expression.
2023-05-15 21:51:45 +00:00
lukem c2a5a723f0 tools: if MAKEVERBOSE >=2, noisy automake builds
Explicitly build with V=1 for MAKEVERBOSE >= 2
so that Makefile.gnuhost (automake) consumers
are more consistent with native builds.

(If the upstream is using AM_SILENT_RULES(yes)
then the default is V=0).
2023-05-15 21:24:56 +00:00
christos bd01b1e6b8 add more OpenSSL-3.x 2023-05-15 21:13:07 +00:00
christos 62bc4070d8 add compat files 2023-05-15 21:12:11 +00:00
christos 98943f2f8c add riskv64 from Robert Swindells 2023-05-15 21:09:10 +00:00
andvar 48564e1bf4 +LRO Large Receive Offload, +RSC Receive Segment Coalescing (win counterpart)
PR 57408
2023-05-15 20:54:53 +00:00
rillig 62d29170f1 indent: fix type cast in function definition 2023-05-15 20:50:37 +00:00
rillig 4ebb9a565a indent: clean up local indentation profile
The -eei option now works, the type hints are no longer necessary.
2023-05-15 20:35:56 +00:00
rillig a59ea3192b indent: fix duplicate space between comment and binary operator 2023-05-15 20:30:20 +00:00
rillig 9b57bdf0e0 indent: format its own code, extend some comments
With manual corrections, as there are still some bugs left.

No functional change.
2023-05-15 20:12:28 +00:00
rillig 2aaa93dadf indent: fix line wrapping of comments to the right of code 2023-05-15 19:55:51 +00:00
christos ad56910fbe Add openssl files 2023-05-15 19:03:23 +00:00
christos 4ee2c276d4 add openssl files 2023-05-15 19:02:34 +00:00
rillig 219ccf6233 indent: improve type guessing, fix formatting of declarations 2023-05-15 18:22:40 +00:00
rillig 3357d7dc84 tests/indent: test type detection 2023-05-15 17:51:49 +00:00
rillig 2e1f799d6b indent: remove accidental space before tab 2023-05-15 17:38:56 +00:00
rillig 3842fd14e5 indent: remove backslash line continuation outside preprocessing
The indenter did not handle these backslashes well, interpreting them as
unary operators, and they are an edge case anyway.  Line continuations
in string literals and character constants are kept.
2023-05-15 17:28:14 +00:00