Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (36m)  netbsd-8 (6d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (176d)  thorpej-altq-separation (178d) 

2024-05-10 21:13:16 UTC Now

2020-11-01 00:24:57 UTC MAIN commitmail json YAML

make(1): in lint mode, exit with error status on errors

Calling Parse_Error during parsing has always led to a nonzero exit
status.  Calling Parse_Error later, when expanding the shell commands,
has had no effect on the exit status.  Neither had calling Error.

To make make a reliable tool, it has to report errors as they occur.
Enable this strict behavior in lint mode for now.  Lint mode has to be
enabled explicitly, preserving the default behavior.

(rillig)

2020-10-31 23:44:42 UTC MAIN commitmail json YAML

make(1): clean up StrContainsWord

(rillig)

2020-10-31 23:39:01 UTC MAIN commitmail json YAML

make(1): fix out-of-bounds pointer in ParseTrackInput

(rillig)

2020-10-31 23:23:22 UTC MAIN commitmail json YAML

make(1): rename parameter of Var_Value

(rillig)

2020-10-31 23:10:07 UTC MAIN commitmail json YAML

make(1): improve local variable name in ParseTrackInput

By the way, the Address Sanitizer that ran over this code on 2015-11-26
didn't find the other out-of-bounds bug.  Most probably the Address
Sanitizer only detected obvious bugs in the actual test data, and there
was no test case in which .MAKE.MAKEFILES was shorter than the newly
added makefile.

(rillig)

2020-10-31 23:01:23 UTC MAIN commitmail json YAML

2020-10-31 22:55:35 UTC MAIN commitmail json YAML

2020-10-31 22:43:02 UTC MAIN commitmail json YAML

2020-10-31 22:05:56 UTC MAIN commitmail json YAML

make(1): document possible undefined behavior in trace.c with .CURDIR

(rillig)

2020-10-31 21:52:56 UTC MAIN commitmail json YAML

make(1): document local variable in parse.c more precisely

(rillig)

2020-10-31 21:48:06 UTC MAIN commitmail json YAML

recognize some more G4 model names produced by config.guess
now native tools builds on ppc7447 and ppc7455 work again

(macallan)

2020-10-31 21:40:20 UTC MAIN commitmail json YAML

make(1): make parsing of the :gmtime and :localtime modifiers stricter

These variable modifiers accept an optional timestamp in seconds, to
select which date to print.  This feature is only used very rarely.  The
NetBSD build doesn't use it at all, and the FreeBSD build mainly uses
the plain modifiers :gmtime and :localtime, but not their optional
argument :gmtime=1500000000.

Therefore, this change is not going to affect many builds.  Those that
are indeed affected had been wrong all the time anyway.

At parse time, these errors stop the build, as intended.  After that,
when the actual shell commands of the targets are expanded and run,
these errors don't stop anything, the build just continues as if nothing
had happened.  This is a general problem with Var_Parse, see the many
"handle errors" markers in the code.  Another problem is that on parse
errors, parsing continues and spits out spurious strings of the form
"mtime" and "ocaltime".  This as well is a general problem with error
handling in make.

ok sjg

(rillig)

2020-10-31 21:30:03 UTC MAIN commitmail json YAML

make(1): add test for debug log for expansion of curly braces

(rillig)

2020-10-31 21:12:36 UTC MAIN commitmail json YAML

make(1): mark the output in test dir.mk with a prefix

This is needed to distinguish it from the debug log, which will be added
in the next commit.

(rillig)

2020-10-31 21:09:22 UTC MAIN commitmail json YAML

Main_SetObjdir is first called for curdir which may be readonly

Skip access check if path is curdir.
This ensures that all proper initialization is done at least once.

If path is not curdir it should be writable to be useful.

Reviewed by: rillig

(sjg)

2020-10-31 20:30:06 UTC MAIN commitmail json YAML

2020-10-31 19:55:26 UTC MAIN commitmail json YAML

make(1): add test for :gmtime with space before the number of seconds

(rillig)

2020-10-31 19:48:23 UTC MAIN commitmail json YAML

make(1): add tests for error handling in the :gmtime variable modifier

(rillig)

2020-10-31 18:41:07 UTC MAIN commitmail json YAML

2020-10-31 18:20:01 UTC MAIN commitmail json YAML

make(1): remove unused code from needshell

Since usr.bin/xinstall no longer uses this code, there is no need to
keep the second parameter.

(rillig)

2020-10-31 18:17:08 UTC MAIN commitmail json YAML

make(1): rename ismeta to is_shell_metachar

The old name was too broad.

(rillig)

2020-10-31 18:14:59 UTC MAIN commitmail json YAML

make(1): remove debug logging for the :Q variable modifier

The same information is already logged in LogAfterApply.

(rillig)

2020-10-31 18:05:16 UTC MAIN commitmail json YAML

make(1): fix local variable names in ParseModifierPart

(rillig)

2020-10-31 17:39:20 UTC MAIN commitmail json YAML

make(1): remove dead code for filename expansion using curly braces

Any string containing curly braces is already handled in the very first
if statement.

(rillig)

2020-10-31 16:13:00 UTC MAIN commitmail json YAML

make(1): revert requiring a writable objdir

The change in main.c 1.413 broke the NetBSD build.sh if it uses a
read-only source tree, as in the daily builds.

Original commit:
https://mail-index.netbsd.org/source-changes/2020/10/31/msg123560.html

Build log:
make warning: /home/source/ab/HEAD/src: Permission denied.
[1]  Segmentation fault      "${make}" -m ${T...

(rillig)

2020-10-31 16:03:01 UTC MAIN commitmail json YAML

2020-10-31 15:44:01 UTC MAIN commitmail json YAML

Revert (REPE) CMPS support per request of Maxime, it is incorrect.

(reinoud)

2020-10-31 15:23:52 UTC MAIN commitmail json YAML

make(1): rewrite VarIsDynamic to VarnameIsDynamic

The condition for the context is the same for both short and long names,
therefore move that condition to the only caller.

Clean up the comment and move its parts to the appropriate places.  The
"with the dollar sign escaped" part had been wrong already in 1993, and
it didn't get better over time.

(rillig)

2020-10-31 15:18:09 UTC MAIN commitmail json YAML

Use the 'mv' pseudo-instruction instead of the 'move' equivalent as 'mv'
is mentioned in the ISA documentation and it's used elsewhere.  That is,
let's use 'mv' everywhere for consistency.

(skrll)

2020-10-31 14:57:02 UTC MAIN commitmail json YAML

Avoid hard-coding names and limits so this will not break again.

(christos)

2020-10-31 14:55:53 UTC MAIN commitmail json YAML

Add an array of filter names.

(christos)

2020-10-31 14:55:33 UTC MAIN commitmail json YAML

make(1): rename local variable freePtr in Var_Parse

(rillig)

2020-10-31 14:47:32 UTC MAIN commitmail json YAML

make(1): use consistent parameter order in varname parsing functions

(rillig)

2020-10-31 14:40:35 UTC MAIN commitmail json YAML

make(1): extract ParseVarnameLong from Var_Parse

(rillig)

2020-10-31 14:39:31 UTC MAIN commitmail json YAML

Detach led's and sysmon in our detach routine.

(jdc)

2020-10-31 14:38:54 UTC MAIN commitmail json YAML

Detach led's in our detach routine.

(jdc)

2020-10-31 14:35:28 UTC MAIN commitmail json YAML

add missing sentence.

(christos)

2020-10-31 14:12:01 UTC MAIN commitmail json YAML

make(1): extract ParseVarnameShort from Var_Parse

With its more than 200 lines, the latter has too much code to be read
easily.

(rillig)

2020-10-31 13:58:22 UTC MAIN commitmail json YAML

Fix armv6 builds by providing an armv6 is macro

(skrll)

2020-10-31 13:45:00 UTC MAIN commitmail json YAML

make(1): add test for recursion detection with short variable names

(rillig)

2020-10-31 13:28:22 UTC MAIN commitmail json YAML

mesa: re-enable GLX TLS to help i386

mesa's assembly code for i386 only seems to be position independent
when compiled with ELF TLS, so having it disabled causes worse problems
than the edge cases ELF TLS causes.

potentially the assembly code could be fixed (it looks like it not
being safe is a bug), it could also be disabled, but i don't currently
have the means to measure the impact of that.

(nia)

2020-10-31 13:17:34 UTC MAIN commitmail json YAML

Call sysmon_envsys_unregister() not sysmon_envsys_destroy() when
detaching.  Pointed out by Michael van Elst.

(jdc)

2020-10-31 13:15:10 UTC MAIN commitmail json YAML

make(1): fix function names in test for variable debugging

(rillig)

2020-10-31 12:59:28 UTC MAIN commitmail json YAML

make(1): fix type of ParseModifierPart parameter delim

(rillig)

2020-10-31 12:57:39 UTC MAIN commitmail json YAML

make(1): extract IsEscapedModifierPart from ParseModifierPart

(rillig)

2020-10-31 12:45:42 UTC MAIN commitmail json YAML

make(1): clean up ModifyWords

Reorder the parameters to match the documentation comment, and the
remaining parameters in chronological order.  Remove the unused
parameter ctxt.  The callbacks that need it pass it in their
modifyWordArgs instead.

(rillig)

2020-10-31 12:34:03 UTC MAIN commitmail json YAML

make(1): add test for combining the :@ and :? variable modifiers

(rillig)

2020-10-31 12:22:43 UTC MAIN commitmail json YAML

make(1): remove redundant condition for regmatch_t.rm_eo being -1

If rm_so is -1, rm_eo is guaranteed to be -1 as well.

(rillig)

2020-10-31 12:20:36 UTC MAIN commitmail json YAML

make(1): add tests for edge cases in the :C variable modifier

(rillig)

2020-10-31 12:04:24 UTC MAIN commitmail json YAML

make(1): make memory allocation simpler in meta_create and meta_oodate

Since there is only a single variable left that needs to be freed at the
end (and probably never actually needs to be freed since nobody defines
an environment variable named .OBJDIR), there is no need to loop over
these variables.

(rillig)

2020-10-31 11:54:33 UTC MAIN commitmail json YAML

make(1): do not look up local variables like .TARGET anywhere else

Nobody defines a global variable named .TARGET since that would have
many unpredictable effects, applying to all targets at once.

Nobody defines an environment variable named .TARGET since that's
against the naming conventions for environment variables and would have
the same effect.

Because of this, there is no point looking up the variables that are
local to a GNode anywhere else.  This means they cannot come from the
environment and thus their value doesn't need to be freed after use,
which makes the code simpler.

The newly added accessor functions in make.h refer to external
functions, but since that header is not used anywhere outside of
usr.bin/make, it doesn't matter.  Between 2020-08-25 and 2020-10-30,
that header had been referenced by usr.bin/xinstall.

(rillig)

2020-10-31 11:34:30 UTC MAIN commitmail json YAML

make(1): reduce the scope where recursive expressions are detected

Only the call to Var_Subst needs to be protected since the other
functions have nothing to do with expanding variables.

(rillig)

2020-10-31 11:30:57 UTC MAIN commitmail json YAML

2020-10-31 11:06:24 UTC MAIN commitmail json YAML

2020-10-31 11:03:18 UTC MAIN commitmail json YAML

use the same indentation for all libcurses test files

(rillig)

2020-10-31 10:51:59 UTC MAIN commitmail json YAML

Remove trailing whitespace.

(wiz)

2020-10-31 10:48:17 UTC MAIN commitmail json YAML

Improve wording.

(wiz)

2020-10-31 10:18:32 UTC MAIN commitmail json YAML

make(1): add tutorial for the :from=to variable modifier

(rillig)

2020-10-31 09:57:47 UTC MAIN commitmail json YAML

make(1): fix indentation in source code

(rillig)

2020-10-31 09:47:28 UTC MAIN commitmail json YAML

make(1): extract loadedfile_mmap from loadfile

(rillig)

2020-10-31 09:35:58 UTC MAIN commitmail json YAML

make(1): remove redundant :tl from getBoolean

Uppercase and lowercase letters are already handled the same by
s2Boolean, which makes the :tl modifier redundant.

(rillig)

2020-10-31 09:27:20 UTC MAIN commitmail json YAML

make(1): remove redundant null check from s2Boolean

(rillig)

2020-10-31 09:23:38 UTC MAIN commitmail json YAML

make(1): write s2Boolean in a more compact form

(rillig)

2020-10-31 09:20:07 UTC MAIN commitmail json YAML

make(1): clean up mkTempFile

(rillig)

2020-10-31 09:03:36 UTC MAIN commitmail json YAML

make(1): remove redundant code branch in SysVMatch

The general code path of parsing :from=to achieves the same effect.

(rillig)

2020-10-31 08:40:54 UTC MAIN commitmail json YAML

make(1): merge duplicate code in ModifyWord_Subst

(rillig)

2020-10-31 08:31:38 UTC MAIN commitmail json YAML

make(1): explain tests for the SysV variable modifier

(rillig)

2020-10-31 06:18:21 UTC MAIN commitmail json YAML

Do not use an objdir that is not writable.

(sjg)

2020-10-31 04:05:42 UTC MAIN commitmail json YAML

Match linux here and wait without interrupts.

>From David H. Gutteridge in PR port-amd64/55555
There's a second part to the patch, but "make our code behave the way
the upstream code does" is very welcome.
Also PR kern/54515 and possibly others.

(maya)

2020-10-31 01:08:32 UTC MAIN commitmail json YAML

2020-10-30 23:54:42 UTC MAIN commitmail json YAML

Fix directive-unexport to focus only on the variables we care about

(sjg)

2020-10-30 22:55:34 UTC MAIN commitmail json YAML

make(1): rename Str_SYSVMatch and its parameters

(rillig)

2020-10-30 22:51:08 UTC MAIN commitmail json YAML

use c99 initializers

(christos)

2020-10-30 22:49:07 UTC MAIN commitmail json YAML

make(1): improve variable name in Var_Value, document callback

(rillig)

2020-10-30 22:43:39 UTC MAIN commitmail json YAML

make(1): remove unsatisfiable conditions in Var_Set_with_flags

(rillig)

2020-10-30 22:30:42 UTC MAIN commitmail json YAML

make(1): document where the variable name is expanded

(rillig)

2020-10-30 22:29:30 UTC MAIN commitmail json YAML

Add a few missing articles.

(uwe)

2020-10-30 22:20:38 UTC MAIN commitmail json YAML

2020-10-30 22:19:19 UTC MAIN commitmail json YAML

2020-10-30 22:19:00 UTC MAIN commitmail json YAML

2020-10-30 22:14:03 UTC MAIN commitmail json YAML

ddb(9) - first cut at the documentation for writing and adding new DDB
commands.  Not yet complete and not hooked into the build.

(uwe)

2020-10-30 22:03:36 UTC MAIN commitmail json YAML

Update the test a little so that is possible to pass
(if date fails, because of bad or out of range input
to parsedate, it cannot be expected to output the
expected result).

Remove the atf-expect-fail now that parsedate() should
detect overflows, and fail, causing date to fail, rather
than simply producing bogus results.

(kre)

2020-10-30 22:03:11 UTC MAIN commitmail json YAML

PR lib/46542

Add checks to detect overflow, and also detect other invalid
(out of range) inputs for parsedate().

There could be more, and some of what is being added is not
perfect, but many calculation overflows will be detected now
(and cause an error return) and some of the most bizarre
inputs that were previously accepted no longer will be.

(kre)

2020-10-30 21:44:49 UTC MAIN commitmail json YAML

ossaudio(3): Simplify setting rate (try to supply the nearest one possible)

(nia)

2020-10-30 21:06:13 UTC MAIN commitmail json YAML

Implement missing (REPE) CMPS instruction support in NVMMs x86_decode().

In apparently rare cases the (REPE) CMPS instruction can trigger an memory
assist. NVMM wouldn't recognize the instruction and thus couldn't assist and
Qemu would abort.

(reinoud)

2020-10-30 20:36:33 UTC MAIN commitmail json YAML

make(1): demonstrate double expansion when appending to a variable

(rillig)

2020-10-30 20:30:44 UTC MAIN commitmail json YAML

make(1): change char * to void * in Var_Value

The only purpose of the parameter freeIt is to free the memory
associated with the return value.  To do this, no pointer arithmetic is
needed.  Therefore, change to a void pointer, to catch accidental use of
that pointer.

(rillig)

2020-10-30 20:05:00 UTC MAIN commitmail json YAML

install(1): copy metachar table from usr.bin/make

It is not worth having a dependency on usr.bin/make just for including
this small table.  The header file usr.bin/make/make.h, which is
included for consistency with the rest of the usr.bin/make code, is
using inline functions a lot and refers to several parts of make that
are completely irrelevant to usr.bin/install.

(rillig)

2020-10-30 19:14:20 UTC MAIN commitmail json YAML

make(1): remove comment about adding is_shell_metachar to ctype.h

This function is so specialized that it would be wrong to have it in a
general-purpose C header.

(rillig)

2020-10-30 18:54:37 UTC MAIN commitmail json YAML

2020-10-30 18:47:38 UTC MAIN commitmail json YAML

2020-10-30 17:55:11 UTC MAIN commitmail json YAML

2020-10-30 17:10:48 UTC MAIN commitmail json YAML

make(1): clean up comments and local variables in var.c

(rillig)

2020-10-30 16:54:38 UTC MAIN commitmail json YAML

make(1): fix documentation for VARP_SUB_ONE

The pattern is only replaced a single time, not everywhere in the first
matching word.

(rillig)

2020-10-30 16:48:58 UTC MAIN commitmail json YAML

make(1): make iterating over HashTable simpler

(rillig)

2020-10-30 16:45:37 UTC MAIN commitmail json YAML

make(1): rename VAR_EXPORTED_YES to VAR_EXPORTED_SOME

The "yes" sounded too much like "all".

(rillig)

2020-10-30 16:29:49 UTC MAIN commitmail json YAML

2020-10-30 16:16:16 UTC MAIN commitmail json YAML

make(1): document VAR_READONLY, now that it is really read-only

(rillig)

2020-10-30 16:09:56 UTC MAIN commitmail json YAML

2020-10-30 16:08:45 UTC MAIN commitmail json YAML

2020-10-30 15:39:17 UTC MAIN commitmail json YAML

2020-10-30 15:30:44 UTC MAIN commitmail json YAML

support screen blanking of r5xx
somewhat crude but works

(macallan)

2020-10-30 15:28:38 UTC MAIN commitmail json YAML

make(1): extract MayExport from Var_Export1

(rillig)

2020-10-30 15:09:14 UTC MAIN commitmail json YAML

2020-10-30 15:03:58 UTC MAIN commitmail json YAML

2020-10-30 14:56:23 UTC MAIN commitmail json YAML

make(1): clean up is_separator

(rillig)

2020-10-30 14:53:31 UTC MAIN commitmail json YAML

make(1): fix comments in test for string literals in conditions

(rillig)

2020-10-30 14:51:47 UTC MAIN commitmail json YAML

make(1): fix parse error in string literal in conditional

The string literal "${VAR} " had produced a "Malformed conditional", at
least since 2003.  (That's the oldest make I have available for testing.)
Strange that nobody else noticed that in the last 17 years.

(rillig)

2020-10-30 14:46:01 UTC MAIN commitmail json YAML

make(1): add more test cases that fail in condition string literals

(rillig)

2020-10-30 13:41:14 UTC MAIN commitmail json YAML

make(1): add test for two variable expressions in a string literal

(rillig)

2020-10-30 12:32:04 UTC MAIN commitmail json YAML

Use the same macro used before for avoiding too large floats on vax.

This has the advantage of not changing the number for non-vax, so is a
safer change for those architectures.
(Might not actually matter).

(maya)

2020-10-30 11:02:50 UTC MAIN commitmail json YAML

Add bigger console font for modern displays.

(rin)

2020-10-30 11:02:09 UTC MAIN commitmail json YAML

2020-10-30 09:23:36 UTC MAIN commitmail json YAML

Fix tcpdump example from "窶進 npflog0.pcap" to "窶進 npflog0"

(abs)

2020-10-30 08:41:58 UTC MAIN commitmail json YAML

2020-10-30 08:13:17 UTC MAIN commitmail json YAML

make(1): demonstrate parse error in string interpolation in condition

(rillig)

2020-10-30 07:47:11 UTC MAIN commitmail json YAML

make(1): remove redundant evaluations in VarFind

(rillig)

2020-10-30 07:37:30 UTC MAIN commitmail json YAML

make(1): replace VarFindFlags with a simple Boolean

Either all flags had been given or none.  Except in Var_Append, but
since the ctxt was VAR_GLOBAL anyway, adding FIND_GLOBAL there did not
make a difference.

(rillig)

2020-10-30 07:30:29 UTC MAIN commitmail json YAML

make(1): rename FIND_CMD to FIND_CMDLINE, to match VAR_CMDLINE

While here, use a consistent order for the enum constants.  This is both
the declaration order and at the same time the usual lookup order,
unless the -e option is given.

(rillig)

2020-10-30 07:19:30 UTC MAIN commitmail json YAML

make(1): rename VAR_CMD to VAR_CMDLINE

Since make has to do with both the command line and child commands, the
former name was confusing.

(rillig)

2020-10-30 07:17:29 UTC MAIN commitmail json YAML

Sort the db_show_cmd entries

(skrll)

2020-10-30 07:03:50 UTC MAIN commitmail json YAML

Put the 'added from all sub cmds' comment above the four commands that
were added as part of the work in r1.98

(skrll)

2020-10-30 06:59:43 UTC MAIN commitmail json YAML

2020-10-30 06:59:12 UTC MAIN commitmail json YAML

make(1): rename SAVE_DOLLARS to follow the naming conventions

(rillig)

2020-10-30 06:57:09 UTC MAIN commitmail json YAML

2020-10-30 06:44:57 UTC MAIN commitmail json YAML

make(1): clean up and update module comment in var.c

(rillig)

2020-10-30 06:44:38 UTC MAIN commitmail json YAML

Add pcagpio and pcf8574io - hardware status monitors on V210/V240 and E250.

(jdc)

2020-10-30 06:29:47 UTC MAIN commitmail json YAML

2020-10-30 06:23:39 UTC MAIN commitmail json YAML

Add new sysctl hw.wmN.debug_flags. This sysctl can be used if WM_DEBUG is set.
OK'd by knakahara.

% sysctl -d hw.wm0.debug_flags
hw.wm0.debug_flags: Debug flags:
        0x01 LINK
        0x02 TX
        0x04 RX
        0x08 GMII
        0x10 MANAGE
        0x20 NVM
        0x40 INIT
        0x80 LOCK

(msaitoh)

2020-10-30 06:02:06 UTC MAIN commitmail json YAML

Instead of a random 'prohibitively high' value, use DBL_MAX so it builds on VAX

(martin)

2020-10-30 04:56:32 UTC MAIN commitmail json YAML

2020-10-29 20:37:47 UTC MAIN commitmail json YAML

make(1): move comment from Parse_DoVar to Parse_IsVar

(rillig)

2020-10-29 20:26:24 UTC MAIN commitmail json YAML

G/c spurious whitespace.

(uwe)

2020-10-29 20:11:18 UTC MAIN commitmail json YAML

lib: Move sqlite, since it depends on libm

(nia)

2020-10-29 19:07:45 UTC MAIN commitmail json YAML

make(1): add test for the :Q modifier

(rillig)

2020-10-29 19:01:11 UTC MAIN commitmail json YAML

make(1): add test for default format of the :localtime modifier

(rillig)

2020-10-29 18:59:43 UTC MAIN commitmail json YAML

make(1): add test for default time format of the :gmtime modifier

(rillig)

2020-10-29 18:38:24 UTC MAIN commitmail json YAML

make(1): add test for ignoring assignment to read-only variable

(rillig)

2020-10-29 18:19:41 UTC MAIN commitmail json YAML

2020-10-29 17:27:12 UTC MAIN commitmail json YAML

make(1): add test for .export and Var_Delete

(rillig)

2020-10-29 16:35:33 UTC MAIN commitmail json YAML

2020-10-29 12:38:06 UTC MAIN commitmail json YAML

sqlite3: Turn on extensions that default-on using the configure script

Includes json1 and fts5, which are both needed by various things in pkgsrc

(nia)

2020-10-29 09:08:35 UTC MAIN commitmail json YAML

wscons(4): WSKBD_TYPE_PC_AT is automatically translated to
WSKBD_TYPE_PC_XT in modern kernels

(nia)

2020-10-29 08:50:42 UTC MAIN commitmail json YAML

Fix obvious copy&pasto

(martin)

2020-10-29 06:55:51 UTC MAIN commitmail json YAML

Add a driver for the PCF8574 I/O expander, used as a GPIO in some sparc64
hardware.
The driver currently handles pins configured as LED or INDICATOR and adds
them to the LED and sysmon_envsys subsystems, respectively.

(jdc)

2020-10-29 06:50:53 UTC MAIN commitmail json YAML

Handle the change in the sparc64 OFW patching, where we now encode the
GPIO pin type in the pin name (only LED types are currently handled).

(jdc)

2020-10-29 06:47:39 UTC MAIN commitmail json YAML

Add information about GPIO pin assignments and drive bays in the E250 and
v240.  Consolidate common code for v210/v240 and E250.
Modify the GPIO pin names to include a type (currently LED or INDICATOR)
which we can then handle in the driver.

(jdc)

2020-10-29 00:27:50 UTC MAIN commitmail json YAML

Disable the wgetch test as it appears to be missing at the moment.

(blymn)

2020-10-28 08:36:40 UTC MAIN commitmail json YAML

add missing vmt_fdt.c.

sorry, I forgot to commit vmt_fdt.c in http://mail-index.netbsd.org/source-changes/2020/10/27/msg123452.html

(ryo)

2020-10-28 08:10:10 UTC MAIN commitmail json YAML

xorg: retire XTrap library and sample clients

the DEC-XTRAP extension is deprecated since 1994, so modern X servers do
not support it

the library was removed from pkgsrc last year and is not required by
anything not-sample-client related in src

if you try to query the protocol on netbsd, you get the following:

$ xtrapproto
Display:  :0.0
Warning: Can't load DEC-XTRAP extension
xtrapproto: could not initialize extension

(nia)

2020-10-28 07:36:17 UTC MAIN commitmail json YAML

Add smscphy(4) found on some RPI models.

(rin)

2020-10-28 07:08:08 UTC MAIN commitmail json YAML

Add missing drain for pcq in wm_stop_locked(). OK'd by knakahara.

This change fixes two problems:
1. If the pcq is full and watchdog timer is fired, the full state of the
    pcq is kept and wm_transmit() returns with ENOBUFS.
2. ifconfig down doesn't free mbufs in the pcq.

(msaitoh)

2020-10-28 03:21:25 UTC MAIN commitmail json YAML

make(1): rename defIncPath to defSysIncPath

There are two variables, parseIncPath and sysIncPath, which made the
name defIncPath ambiguous.

(rillig)

2020-10-28 03:12:54 UTC MAIN commitmail json YAML

make(1): merge curFile into includes

This makes GetActuallyIncludingFile simpler since it no longer needs the
special case for curFile.

The type of 'includes' has changed from Vector<IFile *> to
Vector<IFile>, to avoid a few extra memory allocations and because
Vector is easier to use with structs than with pointers (see
GetInclude).

(rillig)

2020-10-28 02:43:16 UTC MAIN commitmail json YAML

make(1): inline Vector_Get

It is simple enough that it neither bloats the code nor warrants the
extra function call.

(rillig)

2020-10-28 01:58:37 UTC MAIN commitmail json YAML

make(1): rename predecessor to order_pred

The new name aligns nicely with the GNode field of the same name.

(rillig)

2020-10-28 01:51:45 UTC MAIN commitmail json YAML

s/USENET/USBNET/ in another place i just happened to find by
typo-ing "UBS" as "USE".

(mrg)

2020-10-28 01:51:36 UTC MAIN commitmail json YAML

make(1): sort ParseSpecial alphabetically

(rillig)

2020-10-28 01:47:11 UTC MAIN commitmail json YAML

make(1): remove unused, undocumented .NOEXPORT

(rillig)

2020-10-28 01:43:01 UTC MAIN commitmail json YAML

make(1): rename ParseSpecial enum values consistently

The previous naming scheme was inconsistent in that dotError started
with a lowercase character and ExObjdir and ExPath had a distracting
prefix.

(rillig)

2020-10-28 00:44:39 UTC MAIN commitmail json YAML

make(1): rename some fields of struct IFile

The initial "P_" of these field names didn't match anything else.  The
documentation was missing the purpose of the buffer.  The start of the
buffer is only needed to free it later, so reflect that in the variable
name.

(rillig)

2020-10-28 00:38:38 UTC MAIN commitmail json YAML

make(1): clean up API comment in parse.c

(rillig)

2020-10-27 20:13:21 UTC MAIN commitmail json YAML

Add additional debugging output.
Track more chip state in the softc and check the chip state via a timer.
This allows us to easily observe changes caused by external events
(e.g. disk removal or PSU failure).

(jdc)

2020-10-27 19:16:46 UTC MAIN commitmail json YAML

make(1): extract InitMaxJobs from main

(rillig)

2020-10-27 18:16:20 UTC MAIN commitmail json YAML

make(1): extract InitObjdir from main

(rillig)

2020-10-27 18:12:15 UTC MAIN commitmail json YAML

make(1): make InitVarMake simpler and document its intention

(rillig)

2020-10-27 17:36:17 UTC MAIN commitmail json YAML

make(1): extract InitVarMake from main

(rillig)

2020-10-27 17:16:25 UTC MAIN commitmail json YAML

Update mopd for 4k VAX page size and support 1k page a.out binaries

>From dreamlayers

(abs)

2020-10-27 17:09:09 UTC MAIN commitmail json YAML

make(1): extract InitRandom from main

(rillig)

2020-10-27 17:07:14 UTC MAIN commitmail json YAML

Fix Linux pfInit() parameter order for mopd

>From dreamlayers

(abs)

2020-10-27 15:28:01 UTC MAIN commitmail json YAML

2020-10-27 13:50:57 UTC MAIN commitmail json YAML

Report HW DMA capability and if the DMA tag limits it.

(skrll)

2020-10-27 13:46:34 UTC MAIN commitmail json YAML

s/UBS/USB/ in a macro and its use.

pointed out by nisimura@.

(mrg)

2020-10-27 13:42:23 UTC MAIN commitmail json YAML

2020-10-27 11:01:22 UTC MAIN commitmail json YAML

Use the relative paths in the installed version, not the (different)
source pathes.

(martin)

2020-10-27 08:57:11 UTC MAIN commitmail json YAML

move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling

- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h},
  and split the attach part of the cpufeaturebus and fdt
- add aarch64 vmware backdoor op
- add include guard to vmt{reg,var}.h
- Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb

(ryo)

2020-10-27 08:32:36 UTC MAIN commitmail json YAML

Add tests for AVX-512 registers (zmm0..zmm31, k0..7)

Thanks to David Seifert <soap@gentoo.org> for providing a VM
on an AVX-512 capable hardware

Reviewed by kamil

(mgorny)

2020-10-27 08:05:20 UTC MAIN commitmail json YAML

make(1): extract ReadMakefiles from main

(rillig)

2020-10-27 08:00:20 UTC MAIN commitmail json YAML

make(1): extract CleanUp from main

This makes it a bit easier to spot the main task of the main function,
which is the runTargets call.

(rillig)

2020-10-27 07:51:43 UTC MAIN commitmail json YAML

make(1): free the variable names given on the command line

These are not aliased anywhere.  The opts.makefiles on the other hand
may be referenced in GNode.fname or pretty much anywhere else, so don't
free them.  There's still a Targ_PrintGraph call below it that might use
them.

(rillig)

2020-10-27 07:44:43 UTC MAIN commitmail json YAML

make(1): extract InitVpath from main

(rillig)

2020-10-27 07:38:08 UTC MAIN commitmail json YAML

make(1): use constant string for Var_Subst

The times where Var_Subst needed a modifiable string are long gone.

(rillig)

2020-10-27 07:34:36 UTC MAIN commitmail json YAML

make(1): extract ReadBuiltinRules from main

(rillig)

2020-10-27 07:28:34 UTC MAIN commitmail json YAML

make(1): extract InitDefIncPath from main

(rillig)

2020-10-27 07:16:27 UTC MAIN commitmail json YAML

make(1): initialize all CmdOpts fiels

(rillig)

2020-10-27 07:13:03 UTC MAIN commitmail json YAML

make(1): extract CmdOpts_Init from main

(rillig)

2020-10-27 07:03:55 UTC MAIN commitmail json YAML

make(1): move debugVflag to CmdOpts

(rillig)

2020-10-27 06:59:20 UTC MAIN commitmail json YAML

make(1): extract UnlimitFiles from main

(rillig)

2020-10-27 06:55:19 UTC MAIN commitmail json YAML

make(1): rewrap and reword the large comment for directory caching

Hashing the directories is not a problem at all, it's the caching that
makes things complicated.

(rillig)

2020-10-27 06:33:38 UTC MAIN commitmail json YAML

Document MKKDEBUG. Thanks martin for letting me know.

(rin)

2020-10-27 00:07:18 UTC MAIN commitmail json YAML

kern_time: prevent the system clock from being set too low or high

currently doing this will drive KUBSAN haywire and possibly cause
system lock-ups, so more testing should probably be performed before
we let the clock be set too many thousands of years into the future.

ditto for negative values, which were being passed by chrony for
some reason while my internet connection was being unreliable.
this also triggered some interesting KUBSAN reports.

(nia)

2020-10-26 23:28:53 UTC MAIN commitmail json YAML

make(1): remove "Results: none" from the documentation of void functions

(rillig)

2020-10-26 23:19:17 UTC MAIN commitmail json YAML

make(1): use proper enum constants for aborting, instead of 0

(rillig)

2020-10-26 22:51:56 UTC MAIN commitmail json YAML

make(1): remove unnecessary double negation in Job_ParseShell

(rillig)

2020-10-26 21:34:10 UTC MAIN commitmail json YAML

make(1): group the command line options and arguments

By having a single struct that holds all command line options and
arguments, it is easy to see in the code when such a command line
argument is modified.  It also cleans up the namespace since the command
line options don't follow a common naming style.  Having them in a
struct also means that there is a single place for putting the
documentation, not two as before.

The struct also suggests to extract the initialization code out of main,
which is still too large, having more than 400 lines of code and
covering far too many topics.

(rillig)

2020-10-26 20:18:33 UTC MAIN commitmail json YAML

PR 55752: relax an assertion, the first getvfsstat() call may overestimate
the file systems visible to us.

(martin)

2020-10-26 20:14:27 UTC MAIN commitmail json YAML

make(1): convert a few strings to const strings in suff.c

(rillig)

2020-10-26 20:11:03 UTC MAIN commitmail json YAML

make(1): fix comments in job.c

(rillig)

2020-10-26 17:35:39 UTC MAIN commitmail json YAML

Depend directly on EXEC_ELF{32,64} to determine which versions of the coredump
code are available.

(christos)

2020-10-26 16:24:09 UTC MAIN commitmail json YAML

xdm(8): fix definitions of truetype fonts in the default resource file

we don't ship with a truetype helvetica.

(nia)