Commit Graph

93 Commits (181b0f103524a62f6e14a2e7b3d6a9aecce3540f)

Author SHA1 Message Date
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
Alexander Medvednikov 94c3a912ba gg: update sokol and stb_truetype 2020-08-23 07:25:30 +02:00
Alexander Medvednikov da452c9c7e thirdparty: update stb_image.h 2020-08-23 05:03:40 +02:00
Alexander Medvednikov 9e12095111 gg: image: return an optional instead of panic(); darwin: fix nsstring() 2020-08-22 17:09:30 +02:00
Uwe Krüger d63daa0798
sync: use `mfence` on windows-tcc (#6079) 2020-08-06 17:31:05 +02:00
Uwe Krüger 863cf8af60
sync: channel implementation (#6074) 2020-08-06 15:28:19 +02:00
Alexander Medvednikov f33d9f4f68 sokol: sapp_macos_set_title 2020-07-27 21:20:23 +02:00
Alexander Medvednikov db2346069a gg: always use stb_truetype for now 2020-07-13 01:02:50 +02:00
Alexander Medvednikov e3581c5cf6 gg: disable freetype on ios for now 2020-07-08 21:48:09 +02:00
Alexander Medvednikov b8d762df97 gg: use D3D and stb_truetype on Windows; 2020-07-08 21:43:27 +02:00
Alexander Medvednikov 36183660e6 remove oldgg, gl, glfw, freetype from vlib now that we have the new sokol based `gg` 2020-07-05 16:44:28 +02:00
spaceface777 7ea77a0047
vschannel: fix net segfault on Windows (#5587) 2020-06-30 20:51:07 +03:00
Tomas Hellström def99bed02
sync: atomic counters 2020-06-26 20:04:17 +02:00
spaceface777 624005bbd0
tcc_win: fix tests 2020-06-19 12:54:56 +02:00
Alexander Medvednikov b93177c1a8 sokol: fullscreen linux 2020-06-14 23:36:36 +02:00
Alexander Medvednikov 82e6628659 fontstash: use freetype only on non-Windows systems 2020-06-09 10:17:09 +02:00
Sumeet Chhetri 442030a7c8
picoev: make compile, add header parsing 2020-06-07 01:23:30 +02:00
Alexander Medvednikov e3917d98c2 generics: another mut arg test 2020-06-05 20:57:05 +02:00
Alexander Medvednikov 3478430762 gg: borderless windows on macos without animation 2020-06-05 15:43:47 +02:00
Alexander Medvednikov fb7ca56d87 gg: minor fixes 2020-06-04 19:57:16 +02:00
Alexander Medvednikov 6b6c9d6738 gg: make the Sokol based gg the default 2020-06-04 16:05:15 +02:00
Alexander Medvednikov 9bcbb3868f gg: migrate to sokol; examples: update tetris 2020-06-01 12:57:08 +02:00