Commit Graph

114 Commits (83e9585d06d86019b54a4dd117422ba9c2506a57)

Author SHA1 Message Date
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
Larpon bff7cc5f20
thirdparty: remove patch marks in sokol_gfx.h (#12198) 2021-10-15 19:36:44 +03:00
Larpon 5bfa3d5530
sokol: add screenshot function to OpenGL based backends (#12169) 2021-10-13 21:22:58 +03:00
Delyan Angelov 41de0c3c6a
ci: fix `v -cc gcc -cstrict examples/pico/pico.v` 2021-10-01 13:49:38 +03:00
crthpl 85b58b03a3
cgen: parallelize (#10844) 2021-09-28 10:28:04 +03:00
penguindark e4bd2306da
sokol: upgrade to latest version, add program icon support (#11559)
* updated sokol_gfx.h to the last version: 16d7b2e

* merged sokol_app and update enums.v

* added missing icons structs

* try to fixing Mac keyboard problems

* added v patch marker to sokol_app.h

* upgrade for sokol_gl.h, sokol_fontstash.h

* manage sgl_load_default_pipeline

* added load_default_pipeline() for sokol coherence

* vfmt sapp_structs.c.v

Co-authored-by: Delyan Angelov <delian66@gmail.com>
2021-09-21 09:55:06 +03:00
Subhomoy Haldar dadfda9400
math.big: implement big.integer in V (#11352) 2021-08-31 19:21:00 +03:00
Miccah 76904719d0
thirdparty/vschannel: fix format string vulnerability (#10944) 2021-07-24 23:37:34 +03:00
spaceface a621149fc2
builtin: add bdwgc to thirdparty, statically link it on Windows (#10542) 2021-07-24 16:04:26 +03:00
JalonSolov 4f22ae4a30
vschannel: add missing guards against multiple calls to vschannel_cleanup (#10895) 2021-07-21 22:46:51 +03:00
JalonSolov 5d138768e9
net: prevent 0xC0000005 errors in vschannel (windows ssl) (#10531) 2021-06-21 07:05:01 +03:00
a-iga 5aa7a983f1
stbi: fix error not matching with assertion (#10454) 2021-06-14 18:18:56 +03:00
youyuanwu 3582118b7c
mssql: support windows (#10336) 2021-06-07 14:02:15 +03:00
Enzo 7d922c877d
thirdparty: remove unused dependecy wyhash (#10038)
\
2021-05-08 14:36:52 +03:00
yuyi 4bc56dc0a2
git: add 'sqlite/' to thirdparty/.gitignore (#10009) 2021-05-05 14:12:36 +03:00
Alexander Medvednikov c7a6d28e13 all: improve unused variable warning (fix `x = 1`, `x += 1` etc) 2021-04-23 13:33:48 +03:00
spaceface 73352583e7
ci: fix all `-cstrict` warnings with gcc and clang (#9792) 2021-04-19 15:38:48 +03:00
ka-weihe 25a9d30a70
channels: fix C warnings (#9732) 2021-04-15 01:44:39 +02:00
Alexander Medvednikov 711e309eef gg: bring back native rendering on macos 2021-04-14 03:59:34 +03:00
Leah Lundqvist 38c517c1a2
builtin: use NSLog on iOS for print (#9665) 2021-04-10 17:40:43 +03:00
Larpon 8caabf0e9e
sokol: update to floooh/sokol@c602d83 (#9607) 2021-04-07 20:39:23 +02:00
koplenov 9f7cf5cc37
szip: add support for unpacking zip archives and simple zip files 2021-04-02 01:59:01 +02:00
Uwe Krüger c1d4074bc4
thirdparty: make `fontstash` and `sokol` C-libraries work with Boehm-GC (#9506) 2021-03-29 11:27:34 +02:00
Alexander Medvednikov bb5958991c checker: warn about automatic (de)referencing; freetype: compilation flag fixes 2021-03-26 11:42:51 +03:00
Alexander Medvednikov 138da8e130 stbi/sokol: fix png loading bug 2021-03-16 01:39:35 +03:00
Delyan Angelov 10de905376
ci: fix thirdparty/stdatomic/win/atomic.h (now __faststorefence is part of tcc's std headers) 2021-02-18 19:49:04 +02:00
R cqls a08eb9cd8a
sokol: fix dragging events on macos in sokol_app.h (#8817) 2021-02-18 09:40:43 +02:00
R cqls ba131ce914
gg: fix mouse_down on macos (#8799) 2021-02-17 06:56:58 +01:00
spaceface 4152c704f3
sokol: remove `.lib` extensions in `#pragma` directives (#8639)
fixes tcc on windows - this kind of fix has been done several times in the past, and should probably be upstreamed to sokol soon to prevent things from breaking every time we update the headers.
2021-02-09 11:36:01 +02:00
Delyan Angelov 395fcc1476
thirdparty: remove unused `glad` folder (leftover from glfw) 2021-02-05 09:19:30 +02:00
Alexander Medvednikov 45cc3ec664 sokol: remove an absolute import 2021-01-23 10:32:00 +01:00
Alexander Medvednikov d991712b3c gg: native rendering mode on macOS 2021-01-23 10:25:43 +01:00
Larpon 512f62b7a1
android: enable custom (e)println output via android log system (#8135) 2021-01-17 05:32:59 +01:00
Alexander Medvednikov 597314322f sokol: fix a crash when handling a corrupt image 2020-12-28 01:01:33 +01:00
spaceface 6aadc828b1
sokol: fix compilation with tcc on windows (#7476) 2020-12-22 22:35:27 +02:00
Alexander Medvednikov 576396cf20 gg: fix cached images loaded from memory 2020-12-12 23:30:41 +01:00
Alexander Medvednikov b6099cd978 sokol: soft full screen on macos 2020-11-21 14:24:01 +01:00
Alexander Medvednikov d50c919879 clipboard: fix get_text() on macos 2020-11-20 01:08:55 +01:00
Lukas Neubert 7a29240b00
thirdparty: update sokol (#6561) 2020-10-05 05:20:25 +02:00
Alexander Medvednikov c781a5f245 gg: draw_triangle(); draw_image_flipped() 2020-09-20 03:47:32 +02:00
Enzo 601d098b48
szip: make compile (#6314) 2020-09-06 15:04:27 +02:00
pancake a1dcc3bb9f
examples: make the graph example resizable, use cooler lines (#6267) 2020-08-30 19:11:59 +03:00
Delyan Angelov 93294d4a97 stbi: fix compilation with tcc 2020-08-29 10:13:25 +03:00
Delyan Angelov 1c9e02094c sokol.audio: add simple_sin_tones.v example 2020-08-23 15:28:07 +03:00