157 Commits

Author SHA1 Message Date
Joe C
a63f3e6f77
coroutines: use photon work_pool when nr_jobs > 0, and use photon libc fn wrappers (#19711) 2023-10-31 20:12:52 +03:00
Larpon
775b25e11b
sokol: update to match uptream at 9e0f1b4 (#19687) 2023-10-28 17:15:46 +03:00
Larpon
bbb4a802e6
sokol: update sokol_gfx.h to match upstream @ d98c8b9 (fixes macOS compile error) (#19590) 2023-10-17 17:58:35 +03:00
Joe Conigliaro
9604a3f491
coroutines: get photonlib/coroutines working with GC 2023-10-09 12:10:19 +11:00
Delyan Angelov
d20ed23365 thirdparty/sokol/sokol_gfx.h: fix whitespaces around the new glReadPixels XMACRO 2023-10-06 16:09:32 +03:00
Delyan Angelov
5e0c225472
thirdparty/sokol/sokol_gfx.h: ensure that glReadBuffer will be binded too, even on windows 2023-10-06 15:51:44 +03:00
Alexander Medvednikov
0bf85d049e sokol: upgrade to latest version, fix all related issues 2023-10-05 20:22:49 +03:00
Delyan Angelov
413da8be62
ci: fix misc-tooling, V self compilation with g++ and -std=c++11 2023-09-30 20:16:26 +03:00
shuankio
a0490f2b67
net.http: fix post error with https on windows (#19334) 2023-09-12 15:43:13 +03:00
Kim Shrier
282bb7408c
freebsd: fix compilation with the prebuilt tcc for programs doing import stbi, by adding newline to last line of header files (#19329) 2023-09-12 11:40:41 +03:00
Kim Shrier
60b901dda2
thirdparty/zip: properly include utime.h and set defines for FreeBSD (#19285) 2023-09-06 21:42:31 +03:00
Kim Shrier
be6f20a288
thirdparty/mbedtls: do not define MBEDTLS_HAVE_X86_64, when compiling with tcc (#19273)
While the tcc compiler does support some of the SSE instructions, it does not support all of them. And, in particular, it doesn't support movdqu which is used in the assembly language instructions in aesni.c.
2023-09-06 09:28:48 +03:00
Casper Kuethe
2bedb6ffd7
stbi: add a resize_uint8 function for resizing images in memory (#18484) 2023-06-19 18:14:26 +03:00
Alexander Medvednikov
9db10c8f61 all: coroutines (part 2) 2023-05-28 05:30:23 +02:00
Alexander Medvednikov
50247d5093 gen.golang: handle spawn/go 2023-05-28 02:44:47 +02:00
Alexander Medvednikov
45f16a2640 all: coroutines (part 1) 2023-05-27 23:33:46 +02:00
Alexander Medvednikov
bb280121e3 sokol: bring back command q on macos 2023-04-07 04:08:28 +02:00
Delyan Angelov
85b81ea9bb thirdparty: fix compilation of thirdparty/stb_image/stb_image.h with latest tcc on macos 2023-02-25 13:03:46 +02:00
Delyan Angelov
38b02c908d
thirdparty: update stb_image.h to its latest version v2.28 2023-01-30 13:06:09 +02:00
Delyan Angelov
2c78078814
cleanup: fix old usages of os.write_file/2? to os.write_file/2! 2023-01-18 12:28:10 +02:00
Delyan Angelov
e854051c1f
thirdparty: update all sokol and fontstash headers with their upstream versions (#16940) 2023-01-11 11:29:38 +02:00
Delyan Angelov
d3a196977f
thirdparty: update stb_image.h to its latest version v2.27 (#16825) 2022-12-31 21:25:31 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
Wertzui123
5047058595
stbi: fix memory leak from stbi.load/1 with GC (#16028) 2022-10-11 15:19:36 +03:00
Delyan Angelov
6fcab013eb
os.notify: fix sizeof(C.epoll_event) == 12 with tcc (was 16, while with gcc/clang it is 12) 2022-09-29 13:27:07 +03:00
spaceface
5c716afb39
net.ssl: switch to mbedtls over openssl (#15841) 2022-09-22 16:50:34 +03:00
Wertzui123
a9d63d729e
sokol.sapp,gg: add a tool_type field to gg.TouchPoint (differenciate different types of touch input) (#15822) 2022-09-20 13:15:38 +03:00
Emily Hudson
90d9b200f9
gc: fix msvc not using libatomic_ops (#15418) 2022-08-14 13:16:52 +03:00
Dialga
dc78f1ba17
szip: update to 0.2.4 (#15296) 2022-08-01 00:47:45 +03:00
Alexander Medvednikov
1aeca113d3 sokol: do not crash if an image cannot be rendered 2022-07-19 13:21:34 +03:00
Mehmet Ali
12d57e8e7b
sokol: add mouse cursor support (#15111) 2022-07-18 09:44:48 +03:00
Larpon
9f3b6e3e3a
android: provide more predictable logging, add comptime termux support (#14984) 2022-07-07 18:28:29 +03:00
Wertzui123
d71fd04c81
thirdparty/sokol: apply speaker/headset bug fix from latest upstream sokol_audio.h (#14676) 2022-06-04 20:24:07 +03:00
Delyan Angelov
dd1049f21d
thirdparty: fix typo in atomic.h, cleanup comments. 2022-05-20 14:21:31 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
Isaiah
9e09b709e3
net.http: fix crash on Windows when using Boehm GC (#14351) 2022-05-10 14:00:55 +03:00
Dialga
4400f9891e
szip: fix extracting dot folders (#13387) 2022-05-09 07:45:36 +03:00
Ned
76a7354506
builtin: add libbacktrace as option for generating stack traces (#14277) 2022-05-04 21:17:05 +03:00
spaceface
775c4c34b5
builtin: compile the gc statically by default (#14063) 2022-04-18 10:50:21 +03:00
Delyan Angelov
2ecfd1b351
ci: fix clang sanitize errors for json_decode 2022-04-05 17:52:10 +03:00
playX
c8b0f51c13
builtin.wasm_bare: use walloc as malloc/free implementation (#13731) 2022-03-14 09:20:20 +02:00
Delyan Angelov
fa6f7d4c83
os: add os.quoted_path/1, use it consistently for running V itself 2022-01-22 21:13:28 +02:00
penguindark
22fce6a525
sokol: update sokol_gfx.h to the LAST version, and fix example 06 (#13100) 2022-01-08 20:29:29 +02:00
Larpon
3ae4513e2e
sokol: update to floooh/sokol from 27-Dec-2021 (4ff3ed7) (#13044) 2022-01-05 18:23:14 +02:00
Alexander Medvednikov
6176ce9f03 all: c2v fixes 2021-12-28 08:00:56 +03:00
penguindark
7a0b63e795
stbi: add image writing functions (#12754) 2021-12-08 00:31:37 +02:00
Larpon
506924b01c
android: hide printf hijack for android logging behind define (#12269) 2021-10-22 19:59:25 +03:00
Alexander Medvednikov
a8ced46564 sokol: fix a typo 2021-10-19 17:18:49 +03:00
Alexander Medvednikov
d8ea9e4969 sokol: move _sapp_macos_resize_window 2021-10-19 16:58:39 +03:00
Alexander Medvednikov
45534b512b time: move pure V function from time.c.v 2021-10-19 16:03:45 +03:00