Gavin Hayes
7de2f229a7
Discard ignored signals on New Technology ( #592 )
2022-09-05 09:17:56 -07:00
Gautham
4b4ea046c4
Ensure libcxx.a is built when providing folder ( #591 )
2022-09-05 09:17:16 -07:00
Justine Tunney
44c315d789
Disable pthread broadcast test temporarily
...
This fixes the GitHub Actions build.
2022-09-05 09:06:16 -07:00
Justine Tunney
8cd4248f7f
Make SIG_DFL / SIG_IGN C++ compatible
2022-09-05 08:49:26 -07:00
Justine Tunney
d721ff8938
Remove testonly
keyword
2022-09-05 08:41:43 -07:00
Justine Tunney
9be364d40a
Implement POSIX threads API
2022-09-05 08:27:15 -07:00
Justine Tunney
af24f21556
Unsandbox assembly generation
2022-09-05 08:27:15 -07:00
Paul Kulchenko
b0287ef34c
Tune a log message priority in redbean ( #589 )
2022-09-04 07:43:06 -07:00
Justine Tunney
6a04bc3318
Release redbean 2.0.18
2022-09-04 06:57:59 -07:00
Justine Tunney
8dd4ec68d0
Add more missing C / C++ headers
2022-09-04 04:53:52 -07:00
Justine Tunney
b9dc74b672
Do some work on unbuffer command
2022-09-04 02:25:34 -07:00
Justine Tunney
e1590e1e38
Remove accidental comment
2022-09-04 00:41:09 -07:00
tkchia
8569704c1d
Stop APE bare metal loader from reading beyond program image end ( #574 )
...
This allows e.g. `qemu-system-x86_64 -s o/examples/hello.com
-serial stdio` to work without having to add extra padding to
the end of the `hello.com` "disk image".
(The sector count computation is divided among two instructions
in the assembly code. This is done on purpose, to prevent an
ASCII 0x27 (single quote) byte from appearing in the bare
metal loader code, which will break the shell script loader.
There is probably a better way.)
Co-authored-by: tkchia <tkchia-cosmo@gmx.com>
2022-09-04 00:19:08 -07:00
Gavin Hayes
9c017c98d3
Add sysconf to unistd.h ( #575 )
2022-09-04 00:10:17 -07:00
Gavin Hayes
74879bf067
Add pollfd to poll.h ( #576 )
2022-09-04 00:09:50 -07:00
Paul Kulchenko
8a3d8497e3
Update README to add a note about binfmt-related errors ( #587 )
2022-09-04 00:09:24 -07:00
Justine Tunney
3c00d8c29c
Fix TLS linker warning
...
Fixes #565
Closes #577
Co-authored-by: tkchia <tkchia-cosmo@gmx.com>
2022-09-04 00:05:30 -07:00
Gavin Hayes
1ef955c33b
Improve zipos path handling ( #579 )
...
This change adds opendir, readdir, and stat support for the /zip/ root,
as well as directories not explicitly encoded in the zip file.
2022-09-03 22:50:23 -07:00
Gavin Hayes
494d74271b
Fix inet_ntop(AF_INET6) buffer length ( #582 )
2022-09-03 22:46:45 -07:00
Ilya Brin
12212894eb
Highlight GDB syntax in README.md ( #560 )
2022-09-03 22:19:55 -07:00
Justine Tunney
a4522fba8d
Fix build
2022-09-03 21:10:37 -07:00
Justine Tunney
0c70e8963d
Add notpossible
keyword
...
This is the same as `unreachable` except it always traps violations,
even if we're not running in MODE=dbg. This is useful for impossible
conditions relating to system calls. It avoids terrifying bugs where
control falls through to an unrelated function.
2022-09-03 20:35:31 -07:00
Justine Tunney
b66bd064d8
Improve quality of uname/gethostname/getdomainname
2022-09-03 20:20:40 -07:00
Justine Tunney
c5c4dfcd21
Improve quality of raise(), abort(), and tkill()
...
This change fixes a nasty bug where SIG_IGN and SIG_DFL weren't working
as advertised on BSDs. This change also fixes the tkill() definition on
MacOS so it maps to __pthread_kill().
2022-09-03 20:17:54 -07:00
Justine Tunney
c5659b93f8
Create unit test framework for subprocesses
2022-09-03 18:02:01 -07:00
Gavin Hayes
263711965f
Change sigaction_f to match sysv signature ( #585 )
2022-09-02 05:08:35 -07:00
Paul Kulchenko
33b5b5b312
Remove path escaping from LaunchBrowser ( #584 )
...
This is so you can have `?query=args`.
2022-08-31 22:14:06 -07:00
Gavin Hayes
d213a48190
Implement inet_pton for AF_INET6 ( #583 )
2022-08-31 15:14:42 -07:00
Paul Kulchenko
3f0414e1cb
Fix JSON single quote escaping ( fixes #512 )
2022-08-31 07:53:57 -05:00
Gavin Hayes
adaaeb7dd0
Add itimerval to sys/time.h ( #572 )
2022-08-26 09:44:41 -07:00
Paul Kulchenko
164e2ab27b
Rename MapContentType to ProgramContentType ( #570 )
2022-08-24 09:35:17 -07:00
Paul Kulchenko
d2cec808dc
Fix redbean to check for file read result when -F option is used ( #569 )
2022-08-23 20:54:51 -07:00
Paul Kulchenko
91a3252434
Add MapContentType to redbean ( #566 )
2022-08-22 22:02:58 -07:00
Justine Tunney
8cab92a069
Release awk-2022-08-22.com
2022-08-22 21:28:19 -07:00
Justine Tunney
5a632cf72d
Add lchown, lchmod, statvfs, fstatvfs
2022-08-22 20:50:16 -07:00
Gautham
7b74f6e20e
Tidy up pydoc help ( #567 )
2022-08-22 20:40:00 -07:00
Justine Tunney
253cc1754b
Shave another 2% off GNU Make latency
2022-08-22 17:42:32 -07:00
Justine Tunney
8722006c46
Shave another 10% off GNU Make latency
...
We avoid memcpy() by creating a likely branch with a constant size.
2022-08-22 17:04:54 -07:00
Justine Tunney
58d22c7c3d
Handle missing stdio handles on Windows
2022-08-22 17:03:11 -07:00
Justine Tunney
2227cefa5d
Run fix-third-party.py and man2txt on sed
2022-08-21 22:26:48 -07:00
Justine Tunney
f0bf9f3389
Import NetBSD sed
2022-08-21 22:26:48 -07:00
Paul Kulchenko
04cd62c319
Update redbean GetResponseBody to take response compression into account ( #561 )
2022-08-21 22:26:41 -07:00
Paul Kulchenko
e204fc0820
Update redbean If-Modified-Since check to accept same timestamp ( #562 )
2022-08-21 22:03:30 -07:00
Justine Tunney
b76540105d
Release Cosmopolitan v2.0.1
2022-08-21 18:59:20 -07:00
Justine Tunney
14e3025749
Release redbean 2.0.17
2022-08-21 18:35:53 -07:00
Justine Tunney
51fa5535ac
Fix regression in Fetch()
2022-08-21 18:32:57 -07:00
Justine Tunney
bea0b55576
Fix If-Modified-Since regression
2022-08-21 18:05:05 -07:00
Justine Tunney
57b39d8793
Revert recent fixupobj.com change
2022-08-21 17:33:54 -07:00
Justine Tunney
d52170ca34
Avoid zip -d redbean.com foo
issue on Windows
2022-08-21 16:32:57 -07:00
Justine Tunney
bf757c4646
Fix _Thread_local with fork() on Windows
2022-08-21 15:51:44 -07:00