1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

130 Commits

Author SHA1 Message Date
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
Tim Basel
3e4cd12fd0
.gitignore: ignore all binary files by default 2020-04-29 16:49:13 +02:00
joe-conigliaro
007baa2305
hash: add wyhash + benchmark, add fnv1a, add u64.hex() (#3584) 2020-01-28 23:43:09 +01:00
Delyan Angelov
e9d3134814 glfw: implement glfw.window.set_should_close 2020-01-26 23:33:12 +01:00
Delyan Angelov
869c8e331e stbi: make compilation faster by generating a stbi.o file 2020-01-26 12:41:43 +01:00
Alexander Medvednikov
c3d0814517 remove ui.o 2020-01-23 03:27:03 +01:00
S-YOU
7b345e207d pico.v and dependencies 2020-01-23 03:26:30 +01:00
Alexander Medvednikov
62481e88f3 sokol and fontstash modules 2020-01-16 20:45:52 +01:00
Nicolas Sauzede
1dadf9d966 fix Windows warnings 2019-11-16 02:30:50 +03:00
Delyan Angelov
a44ba0b8a2 bignum module wrapper for kokke/tiny-bignum-c 2019-11-07 22:04:18 +03:00
Alexander Medvednikov
f8f7881f89 thirdparty/ui for macOS (temporary) 2019-11-01 01:14:08 +03:00
Alexander Medvednikov
c254c9842b glfw: bring back 64 bit glfw3.dll 2019-10-11 14:20:53 +03:00
Alexander Medvednikov
726aaecc46 compiler: make V compilable wit the tcc backend 2019-10-11 06:49:53 +03:00
vitalyster
0796e1dd69 socket: no need to initialize WinSock on each request 2019-10-09 21:01:31 +03:00
joe-conigliaro
f570cbfca8 http/win: fix schannel from crashing 2019-10-09 01:59:23 +03:00
unknown-v
ceee2923dd remove freetype submodule 2019-10-01 14:44:37 +03:00
vitalyster
a1e45e3247 darwin: use system ssl headers 2019-09-27 01:35:25 +03:00
vitalyster
9834ccfcd9 windows: Unicode and IPv6 http/sockets
cleanup schannel implementation (drop NT4.0 compatibility, use unicode strings, etc)
restore http tests
fix socket test: it did not throw before
2019-09-26 22:54:15 +03:00
joe-conigliaro
f077fbd32d vlib: change [0;n] to [0].repeat(n) 2019-09-15 12:26:05 +03:00
joe-conigliaro
cb6fadf917 remove freetype submodule accidentally added in #1890 2019-09-08 12:02:03 +03:00
joe-conigliaro
e78e284380 compiler: tidy flag order 2019-09-07 19:19:17 +03:00
Delyan Angelov
c9a39dfdb5 compiler: build tetris executable on windows with both msvc and mingw gcc 2019-09-03 16:09:43 +03:00
joe-conigliaro
cd625b04eb http: windows - make https requests work in threads 2019-08-29 12:33:20 +03:00
joe-conigliaro
836cc32d78 http: allocate memory dynamically on Windows 2019-08-25 21:27:12 +03:00
Delyan Angelov
ec4ff6e811 compiler tcc: tcc does not have emmintrin.h, so define STBI_NO_SIMD if tcc is used. 2019-08-25 21:24:28 +03:00
Delyan Angelov
51818346df http: support plain http protocol 2019-08-21 20:04:06 +03:00
Joe Conigliaro
e35ef3b83e tls_ctx was definded before TlsContext 2019-08-21 15:04:40 +03:00
joe-conigliaro
5a84a4e507 vlib.http: schannel cleanup. use ctx struct instead of passing args everywhere 2019-08-11 13:13:33 +02:00
joe-conigliaro
a0b59783a2 vlib.http: fix http schannel & follow redirects & cleanup 2019-08-10 10:05:59 +02:00
joe-conigliaro
d9a83481a5 http: initial windows schannel http support 2019-08-09 12:52:14 +02:00
Alexander Medvednikov
e6d4708b5a thirdparty/openssl headers 2019-08-06 13:32:09 +02:00
Emily Hudson
dbf027acb8 MSVC: Use vswhere instead of mscrazy (#1307)
* Use vswhere + our own reg stuff instead of microsoft_craziness

* Cleanup code

* HKEY is a pointer so RegKey should be a pointer
2019-07-25 12:29:24 +02:00
Emily Hudson
32aae80a64 Windows: fix some heap corruptions, fix msvc not building with unicode flags, fix os.getwd, fix mscrazy using a less recent installation 2019-07-24 15:00:26 +02:00
Emily Hudson
e25ea7f9dd add MSVC C backend support; fix live code reloading on Windows; other Windows fixes 2019-07-23 23:23:13 +02:00
Alexander Medvednikov
ecda895003 move zip C dependency to thirdparty/ 2019-07-15 19:30:53 +02:00
Alexander Medvednikov
f834644db4 make gg work on Windows; prebuild glad and cJSON; new ft module 2019-07-12 04:50:14 +02:00
Alexander Medvednikov
2251a84273 glad license 2019-06-29 12:11:25 +02:00
musou1500
95201ffcd1 add khrplatform.h 2019-06-24 12:28:42 +02:00
Alexander Medvednikov
7a7a4dff7d stb_image dependency 2019-06-23 14:08:23 +02:00
Alexander Medvednikov
527bcd961f thirdparty/glad 2019-06-23 13:19:07 +02:00
Alexander Medvednikov
f59962a92f cJSON license 2019-06-23 11:33:39 +02:00
Alexander Medvednikov
997b8275c5 cJSON.h 2019-06-23 11:32:55 +02:00
Alexander Medvednikov
10ec2c9f09 add cJSON.c and cJSON.h 2019-06-23 11:32:25 +02:00
musou1500
97bbe359a2 add cJSON as git submodule 2019-06-23 09:23:53 +02:00