Commit Graph

301431 Commits

Author SHA1 Message Date
simonb 9e6cc36b1a Pull git commit way-etc-20140221.tar.bz2 by Xin Li from FreeBSD:
Remove unneeded checks for prelen.

    In order to determine the type of a compressed file, we have to read
    in the first four bytes which may also be important for decompression
    purposes, to do that we would pass the buffer that we have already
    read in, along with the size of it.

    Rename header1 to fourbytes to make that explicit, and remove all
    checks for prelen.
2023-06-10 04:45:25 +00:00
kim fe60335256 Add some backwards compat. Adjust grammar. 2023-06-10 04:02:39 +00:00
rillig d3be4ec43d indent: trim trailing blank lines 2023-06-09 22:01:26 +00:00
gutteridge 373751d8bd Add bpf to the device nodes provided in the evbmips ramdisk
Intended to address an issue noted by Denis Ovsienko on port-mips,
where dhcpcd doesn't work with the netbsd-INSTALL_OCTEON kernel. (I am
not able to test this directly, but verified by mounting the ramdisk
images generated before and after this change.)
2023-06-09 21:41:52 +00:00
gutteridge e86cf4b839 INSTALL_*: correct a path in a comment 2023-06-09 21:33:16 +00:00
hgutch 2e29618c09 Add riscv port
Took the date of the first public announcement on port-riscv
of something usable (qemu).
2023-06-09 20:27:28 +00:00
rillig 6c12badb98 indent: clean up lexer
No functional change.
2023-06-09 19:50:51 +00:00
martin ecc52c0d0a If the install medium does not come with any openssl trusted root certs,
tell ftp(1) not to verify trust chains when doing https downloads.
2023-06-09 18:44:16 +00:00
rillig 860bbf700d indent: sync debug information for lexer symbols 2023-06-09 18:09:30 +00:00
rillig 028546bebe indent: group lexer symbols by topic, sort processing functions
No functional change.
2023-06-09 16:23:43 +00:00
rillig c29f3de3ef lint: miscellaneous clean-ups
No binary change, except for line numbers in assertions.
2023-06-09 15:36:31 +00:00
rillig 7b51cf32ad lint: sort functions in calling order
No functional change.
2023-06-09 13:31:11 +00:00
rillig 816aa865f2 lint: indent local variables consistently
No binary change.
2023-06-09 13:03:49 +00:00
rillig 1fc3c56ecf indent: support C99 compound literals 2023-06-09 11:22:31 +00:00
rillig ae40ebbc6b indent: don't treat function call expressions as cast expressions 2023-06-09 10:24:55 +00:00
rillig 1f304706fb indent: improve heuristics for function declaration vs. definition 2023-06-09 09:49:07 +00:00
rillig 1cc572504b tests/indent: add real-life test cases from make(1) and lint(1) 2023-06-09 09:45:55 +00:00
rillig 6b7c7358e9 indent: eliminate unused variable
No functional change.
2023-06-09 08:16:06 +00:00
rillig eace873087 indent: when an indentation is ambiguous, indent one level further
The '-eei' mode now applies whenever the indentation from a multi-line
expression could be confused with a following statement.
2023-06-09 08:10:58 +00:00
rillig 2a0d16ddf2 tests/indent: test extra indentation in expressions 2023-06-09 07:54:05 +00:00
rillig 545ff05aaa indent: format its own code 2023-06-09 07:20:30 +00:00
rillig 0fcafc89fc indent: preserve block comments with delimiters 2023-06-09 07:18:52 +00:00
rillig 2ecab2e1dd indent: express more clearly how delimited and no-wrap comments relate
No functional change.
2023-06-09 07:04:51 +00:00
rillig 5187119b0e indent: indent multi-line expressions according to parentheses
This reverts the FreeBSD change from 2004-02-12 that had been imported
on 2019-04-04.
2023-06-09 06:36:57 +00:00
simonb 6a879404f5 Alignment nit. 2023-06-09 03:43:02 +00:00
kre 3ab9b3b3e3 Revert previous, I missed an update... 2023-06-08 22:56:14 +00:00
kre e7ca993906 lua is currently building liblua.so.6.0 not ...6.1 2023-06-08 22:54:04 +00:00
christos cd98df3318 don't assume that the root directory of CVS is called src (Jan-Benedict Glaw) 2023-06-08 21:24:00 +00:00
rillig 7171fe25bf indent: remove fragile heuristic for detecting cast expressions
The assumption that in an expression of the form '(a * anything)', the
'*' marks a pointer type was too simple-minded.

For now, fix the obvious cases and leave the others for later.  If
needed, they can be worked around using the '-T' option.
2023-06-08 21:18:54 +00:00
nikita 4514e46e6b distrib: lua minor version bump 2023-06-08 21:14:09 +00:00
nikita a9aa4e1fbc changes: lua 5.4.6 2023-06-08 21:12:41 +00:00
nikita bdda0531de lua: resolve import conflicts 2023-06-08 21:12:08 +00:00
rillig 5df2816aac indent: fix indentation of initializer lists with designators 2023-06-08 20:55:22 +00:00
rillig cfb043929d tests/indent: add more tests, from indent's own code 2023-06-08 20:49:04 +00:00
rillig 6b78dc3375 indent: fix indentation in multi-line else-if conditions 2023-06-08 20:36:35 +00:00
rillig 0663d70d1e tests/indent: extend test for wrong indentation in 'else if' 2023-06-08 20:28:50 +00:00
rillig 41e7f68d7c indent: clean up and condense code
No functional change.
2023-06-08 06:47:13 +00:00
macallan be0712f576 allow drivers to specify horizontal alignment of glyph cache cells
for things like SX which have alignment restrictions
2023-06-08 05:48:41 +00:00
uwe 1ff3daa17a socket(2): change type flags list back to -tag
On second thought, convert the list of type flags back to -tag, but
don't make it -compact.  This way it's easier to see that it's related
to the list above.
2023-06-08 00:27:34 +00:00
mrg 11179568db add a note about how to setup http -> https redirection.
bump documented version.
2023-06-07 20:22:22 +00:00
mrg f655db1db4 serve .iso as "application/octet-stream". bump version & copyright. 2023-06-07 20:12:31 +00:00
rillig 6c5bd11166 indent: extract the stack of parser symbols to a separate struct
No functional change.
2023-06-07 15:46:11 +00:00
rillig 094bfd2b1f indent: send all debug output to the same stream 2023-06-07 15:25:08 +00:00
joerg cc08a85a25 TLS variant I archs need to fudge the offset by the size of the TCB. 2023-06-07 13:50:04 +00:00
uwe a9c3dfdd0a socket(2): fix macro invocation in a column 2023-06-06 23:31:01 +00:00
uwe eeed5a7d12 socket(2): use "provides" consistently in "type" descriptions 2023-06-06 23:29:16 +00:00
uwe 0c11cebb87 socket(2): use .Bl -column where appropriate 2023-06-06 23:27:15 +00:00
riastradh 9bf974fbd5 socket(2): Move prose list of socket type summaries into a table. 2023-06-06 09:14:27 +00:00
riastradh 98fb5a3b9b socket(2): Tidy up markup a bit.
Use a tag list, not a literal block with hand-formatted text, for
protocols and socket type flags.
2023-06-06 09:10:08 +00:00
martin 743f390d28 Fix markup of libh_ MKDEBUGLIB=yes only files 2023-06-06 08:27:44 +00:00