Commit graph

817 commits

Author SHA1 Message Date
Your Name
d265b88b48 reset to master 2022-06-22 09:03:41 +02:00
Your Name
165c2bcb0c lose unrelated change 2022-06-22 08:51:40 +02:00
Theta Nil
e8c8d8c3ba Merge branch 'issues-431-gh-actions' of github.com:thetanil/cosmopolitan into issues-431-gh-actions 2022-06-22 02:23:48 -04:00
Theta Nil
7b4283dbdd re-enable calls 2022-06-22 02:23:37 -04:00
Theta Nil
aa7a768838
Merge branch 'jart:master' into issues-431-gh-actions 2022-06-21 17:11:06 -04:00
Jules Bertholet
4b23985b7f
Reformat libc README.md (#437) 2022-06-21 07:50:42 -07:00
Justine Tunney
ff28e38ef1 Close more superfluous file descriptors
GitHub Actions leaks file descriptors with numbers greater than a
hundred. But our test runner only checked for FDs up to 64.
2022-06-21 07:42:07 -07:00
Justine Tunney
b8e9f71d33 Add futexes for OpenBSD 2022-06-21 07:17:05 -07:00
Theta Nil
f3cd909d09 disable only calls tests 2022-06-21 09:14:21 -04:00
Theta Nil
a239ee9b01 this might still build, undo disable 2022-06-21 09:01:32 -04:00
Theta Nil
8fe1704493 disable os and ioctl python tests 2022-06-21 08:44:48 -04:00
Theta Nil
4869abca87
tmp disable another failing python test 2022-06-21 14:32:28 +02:00
Theta Nil
f770f1c2c5 printargs to debug gh runner env issue; tmp disable tests 2022-06-21 08:23:01 -04:00
Theta Nil
91500f4396 printargs to debug gh runner env issue 2022-06-21 08:12:14 -04:00
Justine Tunney
1216b6e7c7 Add xadd to chibicc 2022-06-21 04:55:27 -07:00
Theta Nil
aa24962bb5 Merge branch 'issues-431-gh-actions' of github.com:thetanil/cosmopolitan into issues-431-gh-actions 2022-06-21 06:36:59 -04:00
Theta Nil
694f5973be disable HasMzHeader check per request @jart 31 2022-06-21 06:36:50 -04:00
Theta Nil
e7c5eb22e2
turn down the volume on make 2022-06-21 11:42:23 +02:00
Theta Nil
c34e8e99ec
Merge branch 'jart:master' into issues-431-gh-actions 2022-06-21 05:41:08 -04:00
Justine Tunney
56eff8544f Fix V=0 make mode
See #431
2022-06-21 01:32:31 -07:00
Theta Nil
628d952d8b first run. cve tests failing 2022-06-20 16:25:14 -04:00
Theta Nil
7fa6cd1e8b tweak make parallelization 2022-06-20 16:15:05 -04:00
Theta Nil
66bd1dd279 tweak make output 2022-06-20 16:13:20 -04:00
Your Name
455b92ca62 support ape bins 2022-06-20 15:53:16 -04:00
Your Name
bf257ccb39 support multiple branches 2022-06-20 15:47:46 -04:00
Your Name
c3c694e60e why isnt .ape in here already? 2022-06-20 15:45:47 -04:00
Your Name
b8b7da2e6d first run 2022-06-20 15:40:47 -04:00
Your Name
5d30aad3d7 first run 2022-06-20 15:39:40 -04:00
Justine Tunney
f317a47cd8 Fixup and polish chibicc some more
Fixes #433
2022-06-20 04:32:25 -07:00
Justine Tunney
a988896048 Add atomics to chibicc
This change also fixes #434 and makes the chibicc assembler better.
2022-06-20 03:08:00 -07:00
Justine Tunney
5ddf43332e Release redbean 2.0.4 2022-06-19 20:17:58 -07:00
Justine Tunney
d5312b60f7 Make improvements to locking
This change makes pthread_mutex_lock() as fast as _spinlock() by
default. Thread instability issues on NetBSD have been resolved.
Improvements made to gdtoa thread code. Crash reporting will now
synchronize between threads in a slightly better way.
2022-06-19 01:30:12 -07:00
Justine Tunney
25041b8026 Remove unsafe emacs config from tidy 2022-06-19 00:59:58 -07:00
Justine Tunney
2c7fe0f361 Fix redbean regression from previous commit 2022-06-19 00:59:07 -07:00
Justine Tunney
8c895453e2 Fix build break due to deleted file 2022-06-18 01:55:32 -07:00
Justine Tunney
c1cfca8ae1 Make fixes and improvements
- Polyfill UTIME_OMIT on XNU
- Refactor Lua build code so it's better
- Add unix module to lua.com (Discord request)
- Add unix.utimensat() and unix.futimens() to redbean
- Avoid creating double slash path in linenoise (#428)
- Remove double slashes in NT paths automatically (#428)
- Make strerror() smarter about showing NT errors (#428)

Fixes #428
2022-06-18 01:46:12 -07:00
Justine Tunney
67b28b9af1 Update redbean documentation 2022-06-17 08:05:47 -07:00
Justine Tunney
52ed099fe6 Favor $HOME directory over /tmp
This should strike a better compromise that keeps people happy about the
security of APE when it extracts the loader. This way systems with users
who aren't trusted (e.g. CPanel) won't be at any risk of compromise when
there isn't an `ape` loader on the system `$PATH`.

This change also bumps redbean up to 2.0.3
2022-06-17 07:56:54 -07:00
Justine Tunney
5e04827949 Add fileio and sqlar SQLite extensions to redbean 2022-06-17 06:04:09 -07:00
Justine Tunney
bc90db0d4b redbean 2.0.2 2022-06-17 04:18:20 -07:00
Justine Tunney
7b34f32fc4 Use exponential backoff in mutexes 2022-06-17 04:17:21 -07:00
Justine Tunney
a0ddb889da Polyfill sched_yield() on XNU
We were using the Mach system call swtch() earlier. It's possible Apple
removed this system call in their recent 12.4 upgrade. We're better off
using x86 PAUSE here, since Mach is less public than the UNIX syscalls.

See #426
2022-06-17 03:48:15 -07:00
Justine Tunney
34e39ad027 Enable sqlite zipfile module in redbean
This change also breaks out a bunch of extension files that the SQLite
authors inlined into a shell.c amalgamation.
2022-06-17 02:49:04 -07:00
Justine Tunney
2c7f865b12 Improve http caching in redbean 2022-06-17 02:44:15 -07:00
Justine Tunney
d0d9cd38c5 Write tests and fixes for utimensat() 2022-06-17 02:43:00 -07:00
Justine Tunney
c06ffd458c Write some lock contention tests 2022-06-16 09:06:09 -07:00
Justine Tunney
42c38bc3e3 Delete some files we don't need 2022-06-16 09:04:37 -07:00
Justine Tunney
fae2a17d2c Fix build breakage in MODE=dbg 2022-06-15 19:37:39 -07:00
Justine Tunney
e466dd0553 Add torture test for zipos file descriptors
This change hardens the code for opening /zip/ files using the system
call interface. Thread safety and signal safety has been improved for
file descriptors in general. We now document fixed addresses that are
needed for low level allocations.
2022-06-15 16:29:49 -07:00
Justine Tunney
579080cd4c Improve generation of redbean static headers
This change fixes an issue where Cache-Control could be outputted twice
when Lua code calls SetHeader() from OnHttpRequest().
2022-06-14 22:01:13 -07:00