Commit graph

221 commits

Author SHA1 Message Date
larpon
9140c9f844
thirdparty: add thirdparty-linux-armv7_bdwgc.sh for building libgc.a on ARMv7 CPUs (#25077) 2025-08-09 14:43:55 +03:00
kbkpbot
06c6554480
sync: add SpinLock (#24788) 2025-06-26 16:34:00 +03:00
Isaiah
125c899d62
thirdparty: add NDEBUG check before glGetErrorCode if-statement in sokol_gfx.h (#24754) 2025-06-19 10:23:37 +03:00
Delyan Angelov
37e5ead75d
thirdparty: print the glGetError() code on failure too in sokol_gfx.h, to make diagnostic easier 2025-06-18 07:57:28 +03:00
Laurent Cheylus
9072cc14eb
thirdparty: add script to build libgc on FreeBSD/amd64 (#24717) 2025-06-14 13:41:25 +03:00
kbkpbot
a9f4a942fb
sync.stdatomic: add atomic_thread_fence(), cpu_relax() (#24690) 2025-06-11 18:48:23 +03:00
kbkpbot
0c495d07d7
sync.stdatomic: fix bug with add() and sub() returning the new values, add voidptr support, add swap() and compare_and_swap() (#24685) 2025-06-10 09:05:11 +03:00
kbkpbot
1274cdc344
thirdparty: upgrade to mbedtls v3.6.3.1, add a .patch file with the local changes (#24602) 2025-05-31 12:02:37 +03:00
Delyan Angelov
4fd405cfb1
thirdparty.zstd: add a runnable update.vsh script 2025-05-31 09:06:43 +03:00
kbkpbot
a1c5f41c6b
thirdparty.zstd: upgrade to v1.5.7 release, add the local changes to a reusable .patch file (#24611) 2025-05-31 08:06:36 +03:00
Laurent Cheylus
c6dbe323f4
thirdparty: add thirdparty/build_scripts/thirdparty-openbsd-amd64_tcc.sh for compiling tcc on OpenBSD (#24592) 2025-05-29 09:10:13 +03:00
kbkpbot
af8ecdaa26
thirdparty: upgrade zstd to 1.5.8 (#24597) 2025-05-29 09:03:47 +03:00
Laurent Cheylus
52c7130a2f
net.mbedtls: enable MBEDTLS_THREADING_C and MBEDTLS_THREADING_PTHREAD on OpenBSD (#24572) 2025-05-25 13:19:22 +03:00
kbkpbot
ed7a8a34f1
sync.stdatomic: add atomic types (#24561) 2025-05-25 13:10:08 +03:00
Laurent Cheylus
22c327fee5
net.mbedtls: disable AES-NI on OpenBSD with tcc (fix #22239) (#24560) 2025-05-24 11:07:46 +03:00
kbkpbot
09592349f0
thirdparty: add aarch64 atomics support in thirdparty/stdatomic/nix/atomic.h (fix #24294) (#24296) 2025-04-25 06:28:16 +03:00
Delyan Angelov
d106ad636a thirdparty: add thirdparty/build_scripts/thirdparty-macos-arm64_tcc.sh for compiling tcc on macos (first draft) 2025-04-14 11:44:21 +03:00
Delyan Angelov
308c9a51dd thirdparty: add thirdparty/build_scripts/thirdparty-freebsd-amd64_tcc.sh 2025-03-22 14:48:05 +02:00
Delyan Angelov
e411ee1411
thirdparty: update thirdparty-linux-amd64_tcc.sh, to also record its own full invocation command, and commit the changes automatically 2025-03-22 11:24:25 +02:00
Delyan Angelov
86bb2d72ea
thirdparty: add thirdparty/build_scripts/ to prepare for prebuilt tcc upgrades (#23981) 2025-03-19 22:41:17 +02:00
Delyan Angelov
58e4e7bbdc
thirdparty: fix recompilation of markdown with -cc gcc-11 -prod -cstrict 2025-03-12 23:52:30 +02:00
Delyan Angelov
dacc738c96
thirdparty: improve -cstrict -cc clang-18 -prod compatibility for programs that do import net.mbedtls 2025-02-10 21:18:57 +02:00
Delyan Angelov
3c9d37622c
thirdparty/sokol: allow -cflags -D_SGL_DEFAULT_MAX_VERTICES=4194304 to customize how many vertices you can send through gg/sokol in a frame 2025-01-06 13:46:27 +02:00
Delyan Angelov
b995e64be9
thirdparty: enable MBEDTLS_THREADING_C and MBEDTLS_THREADING_PTHREAD on FreeBSD too 2024-11-21 01:31:00 +02:00
Delyan Angelov
75ae93d80b
ci,thirdparty: enable MBEDTLS_THREADING_PTHREAD and MBEDTLS_THREADING_C only on Linux for now (fix windows CI) 2024-11-21 01:13:11 +02:00
Delyan Angelov
4b015c8bc0
net.mbedtls: define MBEDTLS_THREADING_PTHREAD, in mbedtls_config.h; call C.mbedtls_ssl_conf_read_timeout explicitly in the wrapper, with a shorter timeout value of 317ms (determined experimentally) 2024-11-20 23:42:19 +02:00
larpon
78bdeca9b1
thirdparty: update stb_image_resize2.h from 2.06 to 2.11 (#22529) 2024-10-15 15:05:57 +03:00
Laurent Cheylus
65504aeb8a
thirdparty: fix compilation of programs using miniz.h on OpenBSD (#22254) 2024-09-18 19:22:32 +03:00
Delyan Angelov
f53b5d737f
thirdparty: update libatomic_ops to commit cc9bc49 from https://github.com/ivmai/libatomic_ops/ (#22235) 2024-09-16 21:20:42 +03:00
Delyan Angelov
c2788f9793 thirdparty: fix compilation of thirdparty/mbedtls with tcc on macos m1 2024-09-15 15:00:27 +03:00
Delyan Angelov
26c560bc82 thirdparty: fix compilation of programs using miniz.h on macos 2024-09-15 13:35:18 +03:00
Delyan Angelov
79bedff176
thirdparty: update zip to its latest commit 209840b from https://github.com/kuba--/zip/ (miniz is now version 3.0.2) (#22199) 2024-09-11 20:12:23 +03:00
Delyan Angelov
6834ccb2d5 builtin,thirdparty: fix compilation of libgc with -cc msvc -gc boehm (thanks to @Ekopalypse) 2024-08-22 18:43:45 +03:00
Kim Shrier
ac3045b472
tools: add an amalgamate tool and description of usage (#22034) 2024-08-12 10:51:08 +03:00
Kim Shrier
49f5ebf717
libgc: update libgc to commit 6d372272 (#21822) 2024-08-04 21:16:08 +03:00
Delyan Angelov
28103d15d5
thirdparty: fix GC_suspend_handler_inner in gc.c after cca6755 2024-08-01 15:01:14 +03:00
Delyan Angelov
cca6755d28
thirdparty: patch thirdparty/libgc/gc.c to make -cc gcc-11 -cstrict pass in more cases 2024-08-01 11:11:27 +03:00
larpon
ef0457d6e3
sokol: update to match upstream at c0e0563 (#21971) 2024-08-01 01:44:50 +03:00
Delyan Angelov
3ee95d1040
sokol: reduce _SGL_DEFAULT_MAX_VERTICES back to 1<<17 (1<<22 in 811ac12, leads to ~140MB of memory usage for gg/minimal.v, instead of just ~38MB) 2024-07-05 13:07:30 +03:00
Delyan Angelov
811ac125fa
examples: add an animated spirograph.v using gg 2024-07-05 11:29:47 +03:00
Alexander Medvednikov
549e11bfa1 string: optimize is_ascii() 2024-06-22 18:25:52 +03:00
Alexander Medvednikov
0b2edd0dd1 gc: fix tcc on macos 2024-06-08 01:34:02 +03:00
Alexander Medvednikov
0d52a7d91e openssl: more verbose error; libgc: make compile on arm macs 2024-06-07 11:48:27 +03:00
Kim Shrier
5407dbbde7
sokol: fix audio example to work on FreeBSD (#21558) 2024-05-24 08:12:41 +03:00
Delyan Angelov
776e7ad0b1
sync,os,thirdparty: fix cross compilation from macos to windows (#21484) 2024-05-10 22:04:52 +03:00
Delyan Angelov
a7d8e848c2
thirdparty/sokol: bump _SGL_DEFAULT_MAX_VERTICES and _SGL_DEFAULT_MAX_COMMANDS again; mark them with __v_ start and __v_ end 2024-04-23 12:21:19 +03:00
Turiiya
97e1b24d30
stbi: update thirdparty/stb_image to latest commit ae721c5 (#21127) 2024-04-01 22:05:43 +03:00
Turiiya
4aba08dfe1
thirdparty: update zip to commit 6f2116d from https://github.com/kuba--/zip/ (#21121) 2024-03-29 08:09:48 +02:00
Turiiya
9c9608b4e6
thirdparty: add license information and source repo info to the READMEs in each subfolder (#21135) 2024-03-29 08:00:56 +02:00
Alexander Medvednikov
85533fe178 sokol, gg: min window width and height 2024-03-28 18:23:33 +03:00