Eliyaan (Nopana)
bbb61ab368
gg, gx: deprecate gx
and replace all occurences with gg
(which now contains all the functionality of gx
) ( #24966 )
Graphics CI / gg-regressions (push) Waiting to run
vlib modules CI / build-module-docs (push) Waiting to run
native backend CI / native-backend-ubuntu (push) Waiting to run
vab CI / v-compiles-os-android (push) Waiting to run
native backend CI / native-backend-windows (push) Waiting to run
Shy and PV CI / v-compiles-puzzle-vibes (push) Waiting to run
Sanitized CI / sanitize-undefined-clang (push) Waiting to run
Sanitized CI / sanitize-undefined-gcc (push) Waiting to run
Sanitized CI / tests-sanitize-address-clang (push) Waiting to run
Sanitized CI / sanitize-address-msvc (push) Waiting to run
Sanitized CI / sanitize-address-gcc (push) Waiting to run
Sanitized CI / sanitize-memory-clang (push) Waiting to run
sdl CI / v-compiles-sdl-examples (push) Waiting to run
Time CI / time-linux (push) Waiting to run
Time CI / time-macos (push) Waiting to run
Time CI / time-windows (push) Waiting to run
toml CI / toml-module-pass-external-test-suites (push) Waiting to run
Tools CI / tools-linux (clang) (push) Waiting to run
Tools CI / tools-linux (gcc) (push) Waiting to run
Tools CI / tools-linux (tcc) (push) Waiting to run
Tools CI / tools-macos (clang) (push) Waiting to run
Tools CI / tools-windows (gcc) (push) Waiting to run
Tools CI / tools-windows (msvc) (push) Waiting to run
Tools CI / tools-windows (tcc) (push) Waiting to run
Tools CI / tools-docker-ubuntu-musl (push) Waiting to run
vab CI / vab-compiles-v-examples (push) Waiting to run
wasm backend CI / wasm-backend (ubuntu-22.04) (push) Waiting to run
wasm backend CI / wasm-backend (windows-2022) (push) Waiting to run
Workflow Lint / lint-yml-workflows (push) Has been cancelled
2025-08-14 19:53:56 +03:00
Delyan Angelov
c03d7d1cb2
gg: allow for -d gg_memory_trace_frame
to be used in combination with -prealloc -d prealloc_dump
2025-06-26 12:20:16 +03:00
Delyan Angelov
9387fe73e3
gg: fix .char event handling for backspace, delete, tab and enter for linux/x11 (send appropriate .char codes to the apps, similar to macos)
2025-06-18 21:41:26 +03:00
Delyan Angelov
2860152e82
gg,examples: use a timer to limit the rate of updates in breakout, instead of a separate thread, restore ability to run in a browser through emscripten
2025-03-09 08:45:21 +02:00
Delyan Angelov
0ffc33a5c9
examples, gg, gg.m4: fix VFLAGS='-no-skip-unused -cstrict -cc clang-18' v should-compile-all examples/sokol/
too
2025-03-06 19:58:25 +02:00
Adam Oates
6e3f6acffc
gg: fix incorrect Event.mouse_x and Event.mouse_y on gg.Context.event_fn and gg.Context.on_event on HiDPI displays ( #23668 )
2025-02-08 12:20:46 +02:00
Adam Oates
c50d4ee13b
gg: add linux support for fn screen_size() Size
( fix #23146 ) ( #23326 )
2025-01-02 19:10:09 +02:00
Alexander Medvednikov
17f56000aa
all: parallel-cc fixes
2024-12-12 15:04:26 +03:00
YukiiVR
c4d8687f74
gg: add icon
field to gg.Config, for easier access ( fix #23135 ) ( #23138 )
2024-12-12 03:54:35 +02:00
yuyi
acf6b344f7
fmt: fix formating a file in an oscillating manner ( fix #22223 , fix #22026 ) ( #22232 )
2024-09-17 09:47:38 +03:00
yuyi
008aaad999
fmt: remove the prefixed module name of const names, that are in the same module (related #22183 ) ( #22185 )
2024-09-10 11:25:56 +03:00
yuyi
c51d30bf53
fmt: fix alignment of struct init fields ( #22025 )
2024-08-11 09:11:24 +03:00
yuyi
19f080ffb8
all: change single blank comment to blank line ( #22016 )
2024-08-09 14:55:58 +03:00
yuyi
ddb6685d8a
fmt: fix and simplify align of struct fields ( #21995 )
2024-08-05 20:23:39 +03:00
Delyan Angelov
f676daceb5
vlib: fix C warnings/errors for v -show-c-output -cstrict -cc clang-18 run examples/gg/additive.v
2024-07-30 17:15:15 +03:00
Delyan Angelov
8fec4cec9a
gg: add more documentation comments for gg.Config (the parameters of gg.start and gg.new_context)
2024-07-29 09:51:08 +03:00
Delyan Angelov
0bf8adb5e6
gg: reset ctx.mouse_d? and ctx.scroll_? at the end of each frame ( fix #21945 ) ( #21946 )
2024-07-28 01:25:58 +03:00
Turiiya
1a35a783f1
breaking,checker: disallow initializing private struct fields outside structs module ( #21183 )
2024-04-12 13:53:02 +03:00
Turiiya
9704a01406
parser: fix case of falsely registering imports as used, remove unused imports ( #21156 )
2024-04-01 19:46:50 +03:00
Alexander Medvednikov
85533fe178
sokol, gg: min window width and height
2024-03-28 18:23:33 +03:00
Turiiya
f77bb32044
all: fix typos ( #21089 )
2024-03-25 12:18:27 +02:00
Larpon
790ea2f1bd
sokol, gg, examples: update to match uptream at 058a4c5 ( #20953 )
2024-03-05 17:04:05 +02:00
Jan Kåre Vatne
cf7dcfe287
gg: handle dpi change, when moving window to another monitor ( #20886 )
2024-02-24 05:08:43 +02:00
Anton
763f94388b
all: update copyright year ( #20334 )
2024-01-01 23:29:54 +02:00
Delyan Angelov
c4180d4b06
examples: shrink examples/gg/minimal.v even more
2023-12-29 16:46:18 +02:00
Alexander Medvednikov
399af6768d
gg: fn (data voidptr, e &Event) for events, allows methods
2023-11-25 01:19:39 +03:00
shove
2a6c1d9074
all: assigning 0
to reference fields now requires unsafe blocks ( fix #14911 ) ( #19955 )
2023-11-23 11:16:26 +02:00
Alexander Medvednikov
01e6f6473b
gg: set_window_title; macos img fix; gx: color fixes; strings: Builder.writeln_string
2023-11-22 03:10:34 +03:00
Joe C
757929392e
all: update attributes to use new syntax
2023-11-15 16:16:01 +11:00
Alexander Medvednikov
545ee1ae23
checker: stricter rules for C types; C aliases; sokol fixes
2023-10-14 18:31:44 +03:00
Alexander Medvednikov
0bf85d049e
sokol: upgrade to latest version, fix all related issues
2023-10-05 20:22:49 +03:00
Delyan Angelov
137cb09426
gg: cleanup in init_pipeline
2023-09-29 13:06:15 +03:00
Delyan Angelov
7ffa8c13bf
vlib: remove functions and fields, deprecated before 2023-03-20
...
* remove []int.reduce in favour of arrays.fold
* remove datatypes.Set.equal in favour of datatypes.Set.==
* remove datatypes.Set.difference in favour of datatypes.Set.-
* remove gg.Context.set_cfg in favour of gg.Context.set_text_cfg
* remove gg.Context.timage_pip in favour of gg.Context.pipeline.alpha
* remove os.is_writable_folder in favour of os.ensure_folder_is_writable
Discovered with `v run cmd/tools/show_ancient_deprecations.v 180`
2023-09-16 17:16:54 +03:00
Delyan Angelov
ca0f589310
examples/tetris: add instructions, on how to compile the game through Emscripten and v -os wasm32_emscripten
2023-08-13 17:28:27 +03:00
Delyan Angelov
715c0b6185
gg: expand the -d show_fps
background, so fps>100 will not overflow it
2023-08-11 10:33:05 +03:00
Delyan Angelov
e7af25ec14
examples: add examples/gg/many_thousands_of_circles.v, thanks to @xjunko, document how to use ctx.end(how:.passthru)
. ( #18832 )
2023-07-10 15:33:14 +03:00
Alexander Medvednikov
6756d28595
all: 2023 copyright
2023-03-28 22:55:57 +02:00
R cqls
cd00beb099
gg: add toggle_fullscreen and is_fullscreen ( #17371 )
2023-02-20 21:58:04 +02:00
Tim Marston
26b9464f51
gg: setup ctx.window.user_data and ctx.user_data on ctx.run(), instead of in gg.new_context, to allow for embedding gg.Context in ui
( #17169 )
2023-01-31 18:22:20 +02:00
Alexander Medvednikov
88e33a83de
gg: fix draw_image on macos native; vcreate: vweb template
2022-12-21 19:33:37 +03:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' ( #16428 )
2022-11-15 16:53:13 +03:00
Alexander Medvednikov
37583b04b4
gg: make create_image's receiver immutable
2022-11-14 17:25:42 +03:00
Junko
5bb058e35b
gg: revamp the Context
pipeline for more effects, implement an additive
effect ( #16394 )
2022-11-12 09:39:18 +02:00
Swastik Baranwal
b584e1df98
checker: allow EnumName(number)
casts only inside unsafe{}
blocks ( #15932 )
2022-10-02 22:39:11 +03:00
Tim Marston
711bb6def7
gg: rename Context.set_cfg() -> Context.set_text_cfg() ( #15904 )
2022-09-29 15:24:16 +03:00
Delyan Angelov
7e69619add
builtin, compiler: replace isnil(x) calls with x == unsafe { nil }
(a little faster without -prod) ( #15759 )
2022-09-15 14:59:37 +03:00
shove
8b962f8446
checker: fix nested struct reference type field initialized check. ( fix : #15741 ) ( #15752 )
2022-09-15 07:59:31 +03:00
Alexander Medvednikov
caa0c2f153
vfmt: voidptr(0) => unsafe { nil } (p.1)
2022-07-21 20:46:01 +03:00
Delyan Angelov
139c34c07d
gg: optimise app.gg.show_fps() (cache ctx.text_size() results, round frame to int without interpolation, center text inside the background rectangle)
2022-06-12 16:07:00 +03:00
Delyan Angelov
4682e17ac1
gg: fix v -d show_fps run examples/gg/stars.v
2022-06-12 15:17:04 +03:00