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
|
84bc170720
|
checker: optimize the position of the propagation error, where a fn needs to return an optional or result(fix #15780) (#15813)
|
2022-09-19 14:49:23 +03:00 |
|
shove
|
8b962f8446
|
checker: fix nested struct reference type field initialized check. (fix: #15741) (#15752)
|
2022-09-15 07:59:31 +03:00 |
|
Hitalo Souza
|
21b2a9841a
|
examples: js_dom_draw_bechmark_chart (#15518)
|
2022-09-07 01:55:32 +03:00 |
|
Subhomoy Haldar
|
3b42f18dee
|
os: add input_password(prompt) and unit tests (#15507)
|
2022-08-23 18:17:38 +03:00 |
|
Alexander Medvednikov
|
46f32fc10c
|
checker: require unsafe for free()
|
2022-08-20 08:03:07 +03:00 |
|
Delyan Angelov
|
cae7bc9a9a
|
examples: add examples/gg/rotating_textured_quad.v
|
2022-08-14 09:45:25 +03:00 |
|
Hitalo de Jesus do Rosário Souza
|
b45da86688
|
examples: refactor vweb_orm_jwt (#15389)
|
2022-08-12 17:24:57 +03:00 |
|
Hitalo de Jesus do Rosário Souza
|
ee9142a113
|
examples: V orm still fast? (#15330)
|
2022-08-08 04:38:38 +03:00 |
|
Emily Hudson
|
fd1b6efea6
|
net: add failed addresses + details on connect errors, make connect more robust in the default non blocking mode (#15364)
|
2022-08-07 10:40:05 +03:00 |
|
Hitalo de Jesus do Rosário Souza
|
161ac3434f
|
examples: serve js (#15246)
|
2022-08-03 13:34:26 +03:00 |
|
Hitalo de Jesus do Rosário Souza
|
2d7406a8cd
|
examples: v back-end example for vweb (#15141)
|
2022-07-24 13:02:57 +03:00 |
|
Alexander Medvednikov
|
dc79f1392b
|
all: voidptr(0) => unsafe { nil } (p.2)
|
2022-07-21 20:51:54 +03:00 |
|
Alexander Medvednikov
|
caa0c2f153
|
vfmt: voidptr(0) => unsafe { nil } (p.1)
|
2022-07-21 20:46:01 +03:00 |
|
yuyi
|
041e90b2e2
|
checker, cgen: fix interface embedding smartcast (fix #13296) (#15127)
|
2022-07-19 16:36:16 +03:00 |
|
SakthiMahendran
|
e4674cb8e1
|
examples: replace "resp.text" with "resp.body". (#15123)
|
2022-07-19 12:52:42 +03:00 |
|
Mehmet Ali
|
12d57e8e7b
|
sokol: add mouse cursor support (#15111)
|
2022-07-18 09:44:48 +03:00 |
|
Zhomart Mukhamejanov
|
c1502b3c1f
|
examples: add macos_tray example app (#15101)
|
2022-07-18 09:42:45 +03:00 |
|
yuyi
|
7a17a29952
|
examples: fix typo in c_interop_wkhtmltopdf.v (#15036)
|
2022-07-12 19:42:55 +03:00 |
|
Delyan Angelov
|
f56aaa1007
|
examples: simplify examples/websocket/ping.v (end automatically, when the client ends)
|
2022-07-09 12:40:52 +03:00 |
|
Emirhan Yener
|
1a49db4ea1
|
examples: remove empty comments (#14986)
|
2022-07-08 15:35:45 +03:00 |
|
Claudio Cesar de Sá
|
5b97ad15ad
|
examples: add new graph algorithms, make some minor corrections to the programs in examples/graphs (#14562)
|
2022-07-01 21:37:00 +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 |
|
yuyi
|
5a79a54fe4
|
all: fix all remaining unsafe 0 (#14856)
|
2022-06-26 17:04:23 +03:00 |
|
Alexander Medvednikov
|
cb60392302
|
examples: fix unsafe 0
|
2022-06-26 07:12:15 +03:00 |
|
Alexander Medvednikov
|
ca30397e7a
|
cli: fix compilation
|
2022-06-26 07:08:05 +03:00 |
|
Leon Arndt
|
d7f962ef6e
|
examples: remove empty comment from Tetris (#14845)
|
2022-06-25 05:47:44 +03:00 |
|
CC
|
d336b7b877
|
examples: add another vweb example, showing file upload, transform, and file download (#14842)
|
2022-06-24 09:23:47 +03:00 |
|
Emirhan Yener
|
e5bbb23389
|
examples: fix 2048 gameplay (#14838)
|
2022-06-23 21:07:30 +03:00 |
|
yuyi
|
de136f6baf
|
checker: improve pub struct check (fix #14446) (#14777)
|
2022-06-19 17:42:22 +03:00 |
|
Delyan Angelov
|
ea71ea3ec1
|
examples: speed up mandelbrot.v a little, increase iterations/details too
|
2022-06-09 20:10:00 +03:00 |
|
Delyan Angelov
|
3c5ae41712
|
examples: simplify the shebang in the v_script.vsh example
|
2022-06-04 20:15:39 +03:00 |
|
Claudio Cesar de Sá
|
5bf246fce6
|
examples: some new graphs algorithms and improving 2 others (#14556)
|
2022-06-02 07:11:29 +03:00 |
|
Delyan Angelov
|
c91b646372
|
examples: document how to produce the shared library, needed for a standalone run of examples/dynamic_library_loading/use.v
|
2022-06-01 13:58:49 +03:00 |
|
Hunam
|
78d1b7f4ef
|
net.http: Response.text -> Response.body (#14478)
|
2022-05-29 20:27:18 +03:00 |
|
Delyan Angelov
|
64a686f41f
|
examples: speed up mandelbrot.v by using a constant size thread pool, processing smaller chunks
|
2022-05-22 11:12:16 +03:00 |
|
Vincenzo Palazzo
|
17bba712bd
|
checker: ban unsafe pointer/fn comparison (#14462)
|
2022-05-20 18:30:16 +03:00 |
|
Larpon
|
dd6629e932
|
examples: fix 2048 scaling on Android (#14380)
|
2022-05-15 09:14:18 +03:00 |
|
JalonSolov
|
b3e80a3100
|
examples: add missing v.mod file (#14392)
|
2022-05-14 14:48:42 +03:00 |
|
Daniel Däschle
|
d679146a80
|
fmt: remove space in front of ? and ! (#14366)
|
2022-05-13 06:56:21 +03:00 |
|
Claudio Cesar de Sá
|
634796ae42
|
examples: 2 new examples for graph algorithms (topological sorting) (#14303)
|
2022-05-05 18:08:08 +03:00 |
|
David 'Epper' Marshall
|
a2338dbb7c
|
docs: document more builtin functions/methods (#14229)
|
2022-04-30 12:31:23 +03:00 |
|
stackotter
|
563469ed9f
|
vfmt: fix array_init line wrapping (#14154)
|
2022-04-25 08:11:44 +03:00 |
|
Claudio Cesar de Sá
|
a2db44bc38
|
examples: add 2 more graph search examples (DFS and BFS), move them into examples/graphs (#14131)
|
2022-04-22 12:01:29 +03:00 |
|
yuyi
|
a318a2e09e
|
examples: fix optional in string interpolation and format error (#14079)
|
2022-04-19 13:29:53 +03:00 |
|
Alexander Medvednikov
|
fbb9e65c0f
|
all: ~500 more byte=>u8
|
2022-04-15 18:25:45 +03:00 |
|
Alexander Medvednikov
|
af73e195da
|
net: byte fixes
|
2022-04-15 15:55:39 +03:00 |
|
Alexander Medvednikov
|
fb192d949b
|
all: replace []byte with []u8
|
2022-04-15 15:35:35 +03:00 |
|
Alexander Medvednikov
|
d4a0d6f73c
|
all: byte => u8
|
2022-04-15 14:58:56 +03:00 |
|
Delyan Angelov
|
8788512c4d
|
checker: make using err.msg and err.code produce an *actual* notice, even with the present compatibility hack (will be *removed* in 2022-06-01)
|
2022-04-12 14:56:02 +03:00 |
|
Larpon
|
07207db998
|
examples: reduce C. prefix usage, rename fontstash enums (#14011)
|
2022-04-11 22:23:06 +03:00 |
|
Delyan Angelov
|
8517b8f8b0
|
examples: use #[] in news_fetcher.v to simplify the code
|
2022-04-10 11:11:53 +03:00 |
|
Delyan Angelov
|
88c4a64a15
|
examples: make examples/sokol/drawing.v more symmetrical
|
2022-04-10 10:40:14 +03:00 |
|
mir.zhou
|
6425000ce4
|
example: fix the tuicool.com crawler example (changed html structure) (#13962)
|
2022-04-07 18:18:10 +03:00 |
|
Pascal Masschelier
|
95753ffb30
|
examples: fix process_stdin_trick example (#13953)
|
2022-04-07 13:55:12 +03:00 |
|
Delyan Angelov
|
5b492e26dd
|
builtin: support a.flags.set(.noslices | .noshrink), use it in the particles example (#13818)
|
2022-03-24 23:37:13 +02:00 |
|
Delyan Angelov
|
178afd006b
|
examples: avoid flash of unstyled content in the vweb_assets example
|
2022-03-21 19:13:53 +02:00 |
|
Delyan Angelov
|
3bae489e35
|
examples: make the vweb_assets.v example more robust (always change work folder to the folder of the executable). Document the vweb.Context.handle_static behaviour.
|
2022-03-21 19:05:18 +02:00 |
|
Delyan Angelov
|
ee6b23c2a7
|
toml: use toml.parse_text and toml.parse_file in the tests
|
2022-03-18 23:32:06 +02:00 |
|
yuyi
|
49155ec312
|
parser: notice unnecessary parenthesis of reference (fix #11179) (#13739)
|
2022-03-15 16:11:53 +02:00 |
|
Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
|
Mihai Galos
|
4215bb125c
|
examples: improve the sendbus example (#13604)
|
2022-02-26 09:50:44 +02:00 |
|
Subhomoy Haldar
|
114a341f5f
|
rand: simplify rand.PRNG, move to optional types for error handling (#13570)
|
2022-02-23 12:36:14 +02:00 |
|
Vincenzo Palazzo
|
7bd8503170
|
datatypes: add a binary search tree implementation (#13453)
|
2022-02-22 10:28:01 +02:00 |
|
Mihai Galos
|
b8d656b308
|
examples: enhance the call_v_from_python example, with a fn accepting 2 f64 params (#13480)
|
2022-02-16 09:12:49 +02:00 |
|
Ulises Jeremias Cornejo Fandos
|
4391ae563d
|
examples: improve the pendulum simulation, with several modes and diagrams (#13446)
|
2022-02-12 19:38:07 +02:00 |
|
Delyan Angelov
|
89d399b035
|
examples: fix leak in examples/sokol/particles/, by marking s.pool and s.bin with .noslices
|
2022-02-03 18:52:52 +02:00 |
|
Delyan Angelov
|
46a096b95d
|
Revert "v.util: make mod_path_to_full_name more robust"
This reverts commit b11ce91141 .
|
2022-01-31 06:57:50 +02:00 |
|
Delyan Angelov
|
b11ce91141
|
v.util: make mod_path_to_full_name more robust
|
2022-01-30 22:26:36 +02:00 |
|
Benjamin Stigsen
|
ceb05b163a
|
strings: rename Builder.write_b() to Builder.write_byte(), add deprecation (#13313)
|
2022-01-28 20:34:44 +02:00 |
|
Larpon
|
41b9b2988a
|
examples: add port of simple triangle sokol sample (#13298)
|
2022-01-27 21:16:00 +02:00 |
|
Larpon
|
faaa7035c4
|
examples: fix segmentation fault crash on exit in sokol 0X_ examples (#13299)
|
2022-01-27 19:46:55 +02:00 |
|
Larpon
|
65a97a9fbe
|
examples: fix navigating unicode text in text_editor (#13286)
|
2022-01-26 17:25:29 +02:00 |
|
Larpon
|
95d86324c3
|
examples: support unicode in the text_editor.v buffer (#13269)
|
2022-01-25 15:39:35 +02:00 |
|
Wertzui123
|
22c21e62a1
|
examples: fix the mandelbrot set example on Windows (#13251)
|
2022-01-23 00:45:27 +02:00 |
|
Delyan Angelov
|
62c3ad4953
|
use os.quoted_path more
|
2022-01-22 22:22:22 +02:00 |
|
jeffmikels
|
7a2705d8ce
|
scanner: multibyte rune literals now support unicode, hex, and octal escape codes (#13140)
|
2022-01-19 03:23:25 +03:00 |
|
Larpon
|
7fbd856bf8
|
os: add font module, move from gg (#13144)
|
2022-01-13 12:16:18 +02:00 |
|
Ikko Ashimine
|
ea660315e0
|
examples: fix typo in text_editor.v (#13136)
|
2022-01-11 17:33:17 +02:00 |
|
Charles WANG
|
7f1cc44b04
|
examples: detect windows and use correct file in the call_v_from_python example (#13114)
|
2022-01-10 09:11:54 +02:00 |
|
Saptak Bhoumik
|
5e85d4cb39
|
examples: show how to call a simple v module from python (#13105)
|
2022-01-09 19:53:36 +02:00 |
|
Larpon
|
b44b8c472d
|
examples: use vmemset instead of C.memset (#13104)
|
2022-01-09 16:08:11 +02:00 |
|
penguindark
|
92fcb82ca3
|
sokol: fix for example06 (#13101)
|
2022-01-09 16:02:24 +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 |
|
Delyan Angelov
|
59357e873d
|
math: move the math.mathutil generic min /max /abs fns to math (#13042)
|
2022-01-05 18:02:20 +02:00 |
|
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03: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 |
|
Benjamin Stigsen
|
546c388b02
|
gg: renaming drawing functions (#12913)
|
2021-12-23 13:31:25 +02:00 |
|
playX
|
a2468e1e0c
|
js,os: fix integer arithmetic; add Process.close() and os.is_readable() for VJS; Make tetris run on JS backend (#12940)
|
2021-12-23 11:36:42 +02:00 |
|
playX
|
2b9f993574
|
gg: add text rendering, keyboard event handling for JS and other fixes (#12932)
|
2021-12-22 12:26:52 +02:00 |
|
Delyan Angelov
|
7b4d83660a
|
examples: reduce progress update rate for path_tracing.v (less string interpolations/mallocs)
|
2021-12-21 23:43:13 +02:00 |
|
Delyan Angelov
|
88435eb769
|
examples: avoid using go game.run() in Tetris
|
2021-12-21 16:54:26 +02:00 |
|
Sandro Martini
|
80995f3a2d
|
log: improve logging interface (#12886)
|
2021-12-18 12:38:43 +02:00 |
|
penguindark
|
d3b769d1bc
|
examples: add an image viewer program (#12797)
|
2021-12-11 22:18:03 +02:00 |
|
crthpl
|
2fbf7fea75
|
all: initial interpreter code (#12605)
|
2021-12-08 11:09:10 +03:00 |
|
Larpon
|
047f059fb8
|
examples: use fontstash wrapper calls (#12718)
|
2021-12-06 23:39:43 +03:00 |
|
penguindark
|
89eb5425cd
|
examples: clean file path usage in the examples, move all the fonts in the common assets folder (#12736)
|
2021-12-06 09:53:46 +02:00 |
|