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

111 Commits

Author SHA1 Message Date
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
Delyan Angelov
69c9d47a40
pref,os,sokol,cgen: ease compilation of 2048 with -os wasm32_emscripten (#15820) 2022-09-20 00:17:13 +03:00
shove
8b962f8446
checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752) 2022-09-15 07:59:31 +03:00
Larpon
fd83b95d85
sokol: expose context_pool_size field on sgl.Desc (#15409) 2022-08-11 20:49:11 +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
Larpon
7c3571b274
sokol: allow thirdparty window control (#14896) 2022-06-30 13:47:59 +03:00
Delyan Angelov
b1a14c6cf7
tests: use a platform neutral module with C declarations (sokol.audio), instead of time in private_redeclaration_of_C_timeval.vv . 2022-06-27 19:48:46 +03:00
Alexander Medvednikov
d215618f4c sokol: mark pub structs 2022-06-19 19:47:47 +03:00
Daniel Däschle
d679146a80
fmt: remove space in front of ? and ! (#14366) 2022-05-13 06:56:21 +03:00
Brian Callahan
b9a0e2d285
sokol: support compilation on OpenBSD (#14169) 2022-04-26 13:14:00 +03:00
Alexander Medvednikov
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
Alexander Medvednikov
e97ebf8cfc sokol: byte => u8 2022-04-15 16:12:05 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
R cqls
5c43493183
sokol: add support for compiling with -d darwin_sokol_glcore33 on macos (#13885) 2022-03-31 16:52:21 +03:00
kahsa
3ef437e679
sokol: reorder and add missing funcs (#13652) 2022-03-04 14:39:38 +03:00
Delyan Angelov
db50e79d26
tools: implement cgen tag for Markdown examples in v check-md (#13332) 2022-01-31 22:51:04 +02:00
Larpon
41b9b2988a
examples: add port of simple triangle sokol sample (#13298) 2022-01-27 21:16:00 +02:00
jeffmikels
5e5d62ed4c
arrays,docs: remove arrays.zip; improve docs (#13082) 2022-01-09 16:12:33 +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
5cffa1a2e4
sokol: use V type for SG_SHADERSTAGE_[VS|FS] (#13086) 2022-01-07 19:52:44 +02:00
Larpon
3e9c1c1a3a
sokol: rename sapp consts, remove sapp prefix (#13083) 2022-01-07 18:01:07 +02:00
jeffmikels
6e6d51a1c9
docs: add more documentation to each of the modules in vlib (#13043) 2022-01-07 13:28:50 +02:00
Larpon
6dca022caf
sokol: fix missing import in sfons. Fixes #13061 (#13062) 2022-01-06 18:21:41 +02:00
Larpon
214853c373
sokol: small fixes to screenshot functions and docs (#13055) 2022-01-06 14:11:40 +02:00
Larpon
3ae4513e2e
sokol: update to floooh/sokol from 27-Dec-2021 (4ff3ed7) (#13044) 2022-01-05 18:23:14 +02:00
jeffmikels
a60b381d5e
docs: adding skeleton README.md files for all vlib modules (#13034) 2022-01-05 18:06:08 +02:00
Larpon
88a973b617
sokol: type alias all sgl structs, support sgl_context (#13018) 2022-01-03 15:05:24 +02:00
Larpon
4d4398fa8a
sokol: type alias all gfx structs (#13014) 2022-01-02 20:36:01 +02:00
Larpon
2210f89ea3
sokol: type alias all sapp structs (#12962) 2021-12-26 13:02:51 +02:00
Delyan Angelov
0021fbbaa9
gg: support VGG_STOP_AT_FRAME=120 VGG_SCREENSHOT_FOLDER=. VGG_SCREENSHOT_FRAMES=10,20,30 ./v -d gg_record run examples/gg/bezier_anim.v (#12767) 2021-12-08 22:38:33 +02:00
Larpon
047f059fb8
examples: use fontstash wrapper calls (#12718) 2021-12-06 23:39:43 +03:00
Delyan Angelov
045579fd8a
parser: use the [has_globals] module attribute, remove the parser global_enabled_mods whitelist (part 2) 2021-11-16 11:44:36 +02:00
Alexander Medvednikov
45534b512b time: move pure V function from time.c.v 2021-10-19 16:03:45 +03:00
Larpon
5bfa3d5530
sokol: add screenshot function to OpenGL based backends (#12169) 2021-10-13 21:22:58 +03:00
Larpon
53aa4eba0d
sokol: add sg_isvalid wrapper to gfx (#12081) 2021-10-07 10:41:57 +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
Alexander Medvednikov
ab3adf3346 checker: no longer allow automatic dereferncing in a = b 2021-09-09 20:21:01 +03:00
Delyan Angelov
4faa0f8487
v.checker: add checks for .free() methods 2021-09-09 09:54:06 +03:00
Enzo
e3b65092d6
parser: deprecate size_t (#11443) 2021-09-08 13:09:32 +03:00
penguindark
63ff5690ff
sokol.sapp,gg: add support for drag & drop events (#11359) 2021-09-01 09:21:27 +03:00
penguindark
8dcb27a11d
sokol: expose the toggle_fullscreen and is_fullscreen functions (#11339) 2021-08-30 17:10:14 +03:00
Delyan Angelov
576664e31f
gg,sokol,stbi,gx,fontstash: cleanup for -Wimpure-v 2021-08-12 22:42:42 +03:00
Ben-Fields
8a097293a8
sokol: define a pixel color format (#10951) 2021-07-25 17:27:07 +03:00
crthpl
9eee6631cc
sokol: add mouse locking (#10684) 2021-07-06 20:43:41 +03:00
Delyan Angelov
b2391424d9
examples: add examples/gg/random.v demonstrating how to stream images/pixels 2021-06-24 17:45:14 +03:00
Delyan Angelov
d5c306ce57
sokol: add -lpthread flag on linux to prevent failing asserts in some cases 2021-05-16 20:21:29 +03:00
Delyan Angelov
20a22453cf
v.builder: remove default link flags -lm, -ldl, -lpthread (use module specific link flags instead) (#10099) 2021-05-14 14:28:53 +03:00
Delyan Angelov
8a380f4699
tools: make v test-cleancode test everything by default (#10050) 2021-05-08 13:32:29 +03:00
Uwe Krüger
d26ac5692e
all: various fixes for [heap]/auto-heap handling (#10033) 2021-05-07 15:58:48 +03:00