Commit Graph

124 Commits (f2171b4148d45054d6752be491b86829307cb47a)

Author SHA1 Message Date
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
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