Turiiya
f77bb32044
all: fix typos ( #21089 )
2024-03-25 12:18:27 +02:00
Alexander Medvednikov
b2df3264a7
gg: fix empty circle in native; http: post_form_with_cookies; veb: print veb action in html errors
2024-03-11 18:21:06 +03:00
Delyan Angelov
4cf05083ca
examples: cleanup code duplication in examples/sokol/04_multi_shader_glsl/rt_glsl.v, document gg.m4 ( #20978 )
2024-03-08 11:39:23 +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
Turiiya
d485cceee8
doc: update trim_doc_node_description, make module readmes more uniform ( #20792 )
2024-02-12 12:38:47 +02:00
gym603
bc37c85cae
tests: make 'test-self' pass under msys2/MINGW32 ( #20614 )
2024-01-22 01:20:53 +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
Larpon
6d0d82dbb9
gg: fix overlapping slices in draw_slice_filled()
( #20182 )
2023-12-15 19:31:33 +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
Turiiya
f98bb863ab
vlib: fix typos and formatting ( #19649 )
2023-10-25 11:19:56 +03:00
Alexander Medvednikov
545ee1ae23
checker: stricter rules for C types; C aliases; sokol fixes
2023-10-14 18:31:44 +03:00
Delyan Angelov
2af135d716
gg: fix the alignment of the bottom border of draw_rounded_rect_empty on macos and linux
2023-10-13 01:40:34 +03:00
Adam Oates
11e67a1a5f
gg: fix draw_rounded_rect_empty ( fixes #19470 ) ( #19552 )
2023-10-12 03:18:42 +03:00
Larpon
3c68e78f32
sokol: fix usage of sokol sampler ( #19527 )
2023-10-07 21:05:30 +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
yuyi
55ca8d8d8e
fmt: align the custom values of the enum fields ( #19331 )
2023-09-12 14:44:38 +03:00
yuyi
18e60e77de
fmt: remove inline comments ( #19263 )
2023-09-03 23:51:56 +03:00
Mustafa Ateş Uzun
8b0a1e2c71
gg, sokol.sapp: fix typo (.files_droped -> .files_dropped), add deprecation tags for the old value ( #19190 )
2023-08-21 22:32:24 +03:00
Alexander Medvednikov
83067667c7
checker: improve -line-info
2023-08-14 09:37:46 +03:00
Delyan Angelov
be1270540b
gg: use html5_canvas_name
as the name of the canvas in gg.js.v
too, similarly to gg.c.v
2023-08-13 17:45:19 +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
Artem Yurchenko
0f861db9b0
gg: implement Android specific APK asset loading for the create_image
function ( #19015 )
2023-07-31 17:40:16 +03:00
Delyan Angelov
41f99c1abf
tools: add cmd/tools/show_ancient_deprecations.v, to cleanup ancient functionality, deprecated over an year ago ( #18946 )
2023-07-22 19:13:58 +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
d60ceb45cd
gg: make create_image() return !Image
2023-03-29 19:04:41 +02: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
Mehmet Ali
791ef4b4a6
gg: fix gg.scissor_rect behavior on Android ( #17229 )
2023-02-06 12:26:20 +02:00
Delyan Angelov
988aed0353
ci: fix broken tests after 322eb81
2023-02-01 23:30:48 +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
1470eb6fa4
gg: fix native image rendering with with/height=0
2023-01-30 16:06:18 +01:00
Alexander Medvednikov
868908b80d
checker: require unsafe for Struct(voidptr) casts
2023-01-06 09:28:11 +03:00
Alexander Medvednikov
88e33a83de
gg: fix draw_image on macos native; vcreate: vweb template
2022-12-21 19:33:37 +03:00
Larpon
6e24f7e13a
gg: always use 4 channels in init_sokol_image ( #16564 )
2022-12-01 18:54: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
Delyan Angelov
b52b8429d4
vfmt: implement support for // vfmt off and // vfmt on, with it, v fmt -w .
now works. ( #16335 )
2022-11-05 09:08:01 +03:00
Delyan Angelov
3c25f506ed
Revert "stbi: fix loading image from memory ( #15981 ); breaks UI's rectangle example on macos, probably others too"
...
This reverts commit 07d5612347
.
2022-10-10 10:39:32 +03:00
locriacyber
07d5612347
stbi: fix loading image from memory ( #15981 )
2022-10-07 17:20:35 +03: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