cosmopolitan/tool/build
Justine Tunney b420ed8248 Undiamond Python headers
This change gets the Python codebase into a state where it conforms to
the conventions of this codebase. It's now possible to include headers
from Python, without worrying about ordering. Python has traditionally
solved that problem by "diamonding" everything in Python.h, but that's
problematic since it means any change to any Python header invalidates
all the build artifacts. Lastly it makes tooling not work. Since it is
hard to explain to Emacs when I press C-c C-h to add an import line it
shouldn't add the header that actually defines the symbol, and instead
do follow the nonstandard Python convention.

Progress has been made on letting Python load source code from the zip
executable structure via the standard C library APIs. System calss now
recognizes zip!FILENAME alternative URIs as equivalent to zip:FILENAME
since Python uses colon as its delimiter.

Some progress has been made on embedding the notice license terms into
the Python object code. This is easier said than done since Python has
an extremely complicated ownership story.

- Some termios APIs have been added
- Implement rewinddir() dirstream API
- GetCpuCount() API added to Cosmopolitan Libc
- More bugs in Cosmopolitan Libc have been fixed
- zipobj.com now has flags for mangling the path
- Fixed bug a priori with sendfile() on certain BSDs
- Polyfill F_DUPFD and F_DUPFD_CLOEXEC across platforms
- FIOCLEX / FIONCLEX now polyfilled for fast O_CLOEXEC changes
- APE now supports a hybrid solution to no-self-modify for builds
- Many BSD-only magnums added, e.g. O_SEARCH, O_SHLOCK, SF_NODISKIO
2021-08-12 14:07:40 -07:00
..
emubin Improve dead code elimination 2021-02-08 04:04:42 -08:00
emucrt Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
lib Undiamond Python headers 2021-08-12 14:07:40 -07:00
ar.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
bigmul.c Add SNI support to redbean and improve SSL perf 2021-07-23 13:56:13 -07:00
blinkenlights.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
build.mk Undiamond Python headers 2021-08-12 14:07:40 -07:00
calculator.c Set errno when out of range in strtoimax (#111) 2021-03-07 14:38:56 -08:00
calculator.ctest Set errno when out of range in strtoimax (#111) 2021-03-07 14:38:56 -08:00
calculator.inc Add SSL to redbean 2021-06-24 13:20:50 -07:00
compile.c Secure the testing infrastructure 2021-08-07 13:22:35 -07:00
deltaify.c Add SNI support to redbean and improve SSL perf 2021-07-23 13:56:13 -07:00
deltaify2.c Reduce build latency and fix old cpu bugs 2021-08-05 14:43:53 -07:00
dis.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
dropcache.c Change license 2020-12-27 17:18:44 -08:00
helpop.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
lz4toasm.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
mkdeps.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
package.c Undiamond Python headers 2021-08-12 14:07:40 -07:00
pstrace.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
refactor.c Remove garbage collector macro from header (#114) 2021-03-07 20:23:29 -08:00
rle.c Change license 2020-12-27 17:18:44 -08:00
rollup.c Change license 2020-12-27 17:18:44 -08:00
runit.c Add state assertions to redbean Lua APIs 2021-08-09 15:35:38 -07:00
runit.h Initial import 2020-06-15 07:18:57 -07:00
runitd.c Add state assertions to redbean Lua APIs 2021-08-09 15:35:38 -07:00
summy.c Fix build and delete superfluous files 2021-08-09 06:57:14 -07:00
tinyemu.c Fix our remarkable 184kb x86_64 emulator 2021-01-27 20:02:23 -08:00
x86combos.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
zipobj.c Undiamond Python headers 2021-08-12 14:07:40 -07:00