macallan
de38ddbcdc
send PMF events for keyboard brightness hotkeys on apple laptops
2020-09-12 18:10:37 +00:00
macallan
203e7dd86e
add event types for keyboard brightness control
2020-09-12 18:08:38 +00:00
rillig
ca6cff446a
make(1): migrate CondParser_String to Var_ParsePP
2020-09-12 18:04:45 +00:00
rillig
a24e6a839a
make(1): use correct character literals in TryParseNumber
2020-09-12 18:02:43 +00:00
rillig
1b82cb8766
make(1): add test for Infinity and NaN
...
Neither is recognized by the make parser, which is good since the main
task of make is dependency resolution and text processing, not
calculating.
2020-09-12 18:01:51 +00:00
rillig
3c08467d34
make(1): add tests for comparison tokens without whitespace
2020-09-12 17:47:24 +00:00
rillig
1dfbf55e58
make(1): clean up code in CondParser_String
...
The two parts of the for loop were not related in any way, which made
the code more confusing than necessary.
2020-09-12 17:14:40 +00:00
rillig
d4d05b9c2a
make(1): add typedef for signal handler
...
Without this typedef, both the declaration and the definition of
bmake_signal were as unreadable as the declaration in the signal(3)
manual page.
2020-09-12 16:46:24 +00:00
kamil
faf1dab69a
Restrict stic_xmap to the kernel namespace
...
Otherwise this header is not includable on ports without the definition
of NBPG. This fixes build of sanitizers. In practice only pmax might be
interested in using this device driver.
2020-09-12 16:44:41 +00:00
rillig
75e5493ba3
make(1): fix API of Targ_PrintNode
...
There was no need to export Targ_PrintNode at all. All the callers need
is a high-level API for printing a single node or a list of nodes. The
implementation detail that Targ_PrintNode was used as a callback to
Lst_ForEach should have never leaked into the API.
2020-09-12 16:38:19 +00:00
rillig
74f3fda8b2
make(1): remove unintended noinline from previous commit
2020-09-12 16:24:20 +00:00
rillig
81c4719295
make(1): fix trailing space in output of related node names (-dg2)
2020-09-12 16:22:32 +00:00
rillig
2d4cf7ec20
make(1): fix API for Targ_PrintCmd
...
The previous API was too low-level and not strictly typed.
2020-09-12 16:13:48 +00:00
jmcneill
0d54a9589a
Add HAVE_ACPI and HAVE_UEFI flags to bsd.own.mk and use them to
...
conditionally include ACPI and UEFI bits instead of relying on adhoc
MACHINE_ARCH tests.
2020-09-12 15:25:41 +00:00
rillig
46e01cf359
make(1): fix prototype of Suff_EndTransform
2020-09-12 15:21:25 +00:00
rillig
8c7f5b73b9
make(1): move PrintAddr to where it belongs
2020-09-12 15:15:51 +00:00
rillig
66b9293081
make(1): fix prototype of Compat_Make
2020-09-12 15:10:55 +00:00
rillig
467bf54d72
make(1): fix name and prototype of Compat_RunCommand
...
By convention, exported identifiers are written with underscore.
The prototype of an exported function must not use void * just because
it is used in Lst_ForEach. This is an implementation detail and must
remain so.
2020-09-12 15:03:39 +00:00
kamil
4bd8828721
Sync interceptors of sanitizers with LLVM rev. 00460ae520
...
Use the 2020-09-10 snapshot to replace two-years-old GCC9 copy of
interceptors.
With this change, ASan works with the locally patched GCC tree (as there
were IOCTL operations not properly defined).
2020-09-12 15:01:38 +00:00
rhialto
7f9df6b3cc
bozohttpd: correct .m4a to audio/mp4.
2020-09-12 14:44:25 +00:00
rillig
de1804033e
make(1): fix inconsistent code indentation
2020-09-12 14:41:00 +00:00
rhialto
d4ca506457
bozohttpd: add .m4a and .m4v file extensions.
2020-09-12 12:39:28 +00:00
rillig
5d597631bc
make(1): fix indentation in dir.c
2020-09-12 12:24:21 +00:00
rillig
fb925e321c
make(1): rename local variable in Dir_FindFile
...
The name "cp" is not appropriate for a variable containing the basename
of a path.
2020-09-12 12:15:22 +00:00
roy
c04fae54cf
Include nd.h in sets
2020-09-12 12:11:19 +00:00
rillig
f800db6729
make(1): add test for .PARSEFILE
2020-09-12 11:55:28 +00:00
rillig
3289a24517
make(1): add test for .PARSEDIR
2020-09-12 11:45:47 +00:00
rillig
88f0952b3a
make(1): split ParseVErrorInternal into 2 functions
2020-09-12 11:21:15 +00:00
roy
58e262a6e6
rump: Add nd.c to libnet
2020-09-12 10:44:32 +00:00
rillig
12edfb4410
make(1): inline local variable in Cond_Eval
2020-09-12 10:41:43 +00:00
rillig
dd9f912916
make(1): fix wording of parse error in conditionals
...
The word "should" is not appropriate for situations that eventually lead
to a parse error.
2020-09-12 10:38:52 +00:00
rillig
1941ac7d8e
make(1): use proper return type for For_Accum
2020-09-12 10:14:16 +00:00
rillig
45fc46008a
make(1): update the comment about .for loops to match the code
2020-09-12 10:12:09 +00:00
tsutsui
f3129b73c8
Restore a local change for PR/54740 lost during openssl 1.1.1e merge.
...
syslogd(8) complains "Could not open /dev/crypto: Device not configured"
again when pseudo-device crypto(4) is not configured in a kernel.
http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c#rev1.5
http://cvsweb.netbsd.org/bsdweb.cgi/src/crypto/external/bsd/openssl/dist/crypto/engine/eng_devcrypto.c#rev1.7
Should be pullued up to netbsd-9.
2020-09-12 09:37:01 +00:00
wiz
798b4e9793
Update gcc entry.
2020-09-12 08:39:36 +00:00
wiz
c1d4793f2a
Fix typo in gcc version.
2020-09-12 08:39:31 +00:00
mrg
a1c8c273ac
switch to GCC 9 on arm and x86.
...
note GCC 8.3, 8.4 and 9.3 import dates. add an UPDATING entry.
2020-09-12 08:31:39 +00:00
rillig
dbe7290c9c
make(1): add tests for combining the :D and :U variable modifiers
2020-09-12 07:04:51 +00:00
isaki
6e3869e707
Improve slinear16-to-mulaw conversion calculation.
...
It's about 2~3 times faster on my amd64 and x68k(68030).
2020-09-12 06:09:16 +00:00
isaki
08004a7e10
Improve am7930 family drivers to share more code.
...
audioamd(4) on sparc, vsaudio(4) on vax, and bba(4) are.
- Remove complex and useless callbacks: onopen, onclose, and
indirect_{read,write}. This makes audioamd and vsaudio almost the same.
- Remove (already disabled) assembly fast interrupt path from audioamd(4).
cf. http://mail-index.netbsd.org/source-changes/2009/12/19/msg004585.html
- Use trigger_* method rather than start_* method. It's more suitable.
vsaudio(4) was tested by naru@, bba(4) was tested by tsutsui@.
2020-09-12 05:19:15 +00:00
roy
3f011d8972
kdump: include netinet/in_var.h to access in_nbrinfo
2020-09-12 01:36:26 +00:00
rillig
1fcb18225c
make(1): add wrappers around ctype.h functions
...
This avoids casting the argument to unsigned char, and to cast the
result of toupper/tolower back to char.
2020-09-11 17:32:36 +00:00
rillig
b30dd7c747
make(1): split EvalComparison into smaller functions
2020-09-11 16:37:48 +00:00
rillig
e9b0139227
make(1): clean up code for evaluating conditions
2020-09-11 16:23:47 +00:00
rillig
776a68ed0f
make(1): extract EvalNotEmpty from CondParser_Comparison
2020-09-11 16:22:15 +00:00
rillig
146e020376
make(1): fix tests about nonexistent = and === operators
2020-09-11 15:33:28 +00:00
roy
222abc89f8
arp: Use SIOCGNBRINFO to display neighbor state information
2020-09-11 15:28:29 +00:00
roy
3a97901738
inet: Add SIOCGNBRINFO to retrieve neighbor state about an address
2020-09-11 15:22:12 +00:00
jakllsch
66078c4dd6
Limit bootarm.efi expectation further.
...
Should fix iyonix, and zaurus builds. Also probably fixes all oarm AKA
'arm' builds too.
2020-09-11 15:21:48 +00:00
roy
76d9d68816
in: No need to set expire here anymore
2020-09-11 15:19:31 +00:00