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

854 Commits

Author SHA1 Message Date
Ahmad Yasser
cad2cd5583
docs: fix typos using codespell (#17332) 2023-02-16 11:43:39 +02:00
Makhnev Petr
c8c70de87d
docs: unify format of notes (#17294) 2023-02-13 10:29:02 +02:00
MatejMagat305
dcb9c3beb3
cgen: support [spawn_stack: 131072] fn attribute, for controlling the max size of the stack, of the spawned threads (#17222) 2023-02-09 15:57:53 +02:00
fanlia
4c33a92aac
examples: fix missing products table in v run examples/vweb_fullstack/ (#17253) 2023-02-09 12:03:23 +02:00
ChAoS_UnItY
404a9aa442
v: forbid function parameter names, shadowing imported module names (#17210) 2023-02-08 20:37:04 +02:00
Mehmet Ali
0b17865c3d
examples: use -Wl,-rpath=. instead of LD_LIBRARY_PATH=. in the call_v_from_c example (#17244) 2023-02-08 09:44:10 +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
Ulises Jeremias Cornejo Fandos
40ec2a292e
vlib: add a new dl.loader module, to simplify dynamic library loading, when the DLLs may be in multiple customisable locations (#17161) 2023-01-31 09:27:48 +02:00
Keito Tobichi
6bb930591e
examples: add more graphs examples, fix typo (#17113) 2023-01-25 21:58:44 +02:00
Hitalo Souza
0230395062
examples: update examples/js_dom_draw_bechmark_chart/README.md with a chart (#17084) 2023-01-24 02:07:13 +02:00
Wenqi Chen
ddf3909fed
docs: improve the README for examples/call_v_from_c/ with instructions for macos (#17060) 2023-01-22 13:25:09 +02:00
Delyan Angelov
bee355eb65
all: cleanup sqlite.connect statements (do not leave strange test.db or vweb.sql artefacts around, after running common tests) 2023-01-19 09:45:07 +02:00
Minsoo
36834be2ad
all: fix the remaining deprecated import sqlite statements (#17021) 2023-01-19 09:37:55 +02:00
Alexander Medvednikov
aba7bcde85 checker: turn the pointer map notice into a warning and fix all code using it 2023-01-15 22:19:25 +01:00
Delyan Angelov
7f3531077d
examples: improve the output of the websocket examples 2023-01-15 14:54:51 +02:00
Hitalo Souza
b25c9e8bbf
examples: minor change after #16948 (#16965) 2023-01-15 02:39:51 +01:00
yuyi
64558df764
vlib: move the mysql/sqlite/pg/mssql modules under vlib/db (#16820) 2023-01-13 17:02:32 +02:00
Delyan Angelov
e854051c1f
thirdparty: update all sokol and fontstash headers with their upstream versions (#16940) 2023-01-11 11:29:38 +02:00
Alexander Medvednikov
868908b80d checker: require unsafe for Struct(voidptr) casts 2023-01-06 09:28:11 +03:00
Hitalo Souza
0146509516
examples: fullstack vweb example (#16761) 2023-01-06 04:36:42 +03:00
Larpon
161595b041
examples: use math.vec in examples/sokol/particles (#16780) 2022-12-27 15:19:08 +02:00
Swastik Baranwal
3c5cfa22d1
parser: disallow the array init: attr, when the len: attr is not provided (#16735) 2022-12-21 21:24:16 +02:00
Delyan Angelov
68501677e3
ci: fix gg-regressions failure 2022-12-21 21:03:47 +02:00
Alexander Medvednikov
88e33a83de gg: fix draw_image on macos native; vcreate: vweb template 2022-12-21 19:33:37 +03:00
Delyan Angelov
e419faf746
all: fix dependant->dependent typos, cleanup comments 2022-12-02 12:51:10 +02:00
yuyi
ef5be22f81
all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +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
yuyi
993e21e85b
checker: check fntype mismatch of struct field init (fix #16372) (#16381) 2022-11-10 20:19:19 +02:00
shove
a199a9afab
all: rollback to old interpolation (step 2) (#16373) 2022-11-09 17:37:27 +03:00
yuyi
d701cf561c
scanner: fix new string interpolation: print('{n:10}') (fix #16321) (#16325) 2022-11-06 08:20:21 +03:00
Alexander Medvednikov
e81e0ac708 fmt: replace go with spawn 2022-11-05 10:46:40 +03: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
7f91db695c
examples, tests: small formatting cleanup in cube_glsl.v , remove already fixed skips in v test-cleancode, before // vfmt off and // vfmt on 2022-11-04 14:48:20 +02:00
Hitalo Souza
d2902e700f
examples: show how to use a before_request method for the multi-route examples, be more informative about DB creation problems (#16279) 2022-11-01 19:02:07 +02:00
Delyan Angelov
31adc65dd6
examples: mention -d no_backtrace in examples/call_v_from_python/README.md 2022-11-01 18:16:30 +02:00
Mykhailo
cd4a999e80
examples: add custom_error.v, that shows how to match over possible errors (#16265) 2022-10-31 09:56:41 +02:00
boons
a19a4ba299
examples: add a tiny brainvuck interpreter (#16213) 2022-10-26 19:31:15 +03:00
yuyi
992b502198
db, json, time, term: change optional to result (#16201) 2022-10-26 11:26:28 +03:00
Hitalo Souza
3d4ffe8f28
examples: unskip vweb_orm_jwt from building, since it is not working directly with mysql anymore (#15671) 2022-10-22 19:12:54 +03:00
Makhnev Petr
2e8b9e3b92
v fmt: fix extra space for anon struct (#16131) 2022-10-21 10:38:19 +03:00
bogen85
c684dd8c9b
log: mark log.fatal as [noreturn] (#16129) 2022-10-21 10:33:49 +03:00
yuyi
51f4d99399
all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
Alexander di Chiara
e3379bca97
datatypes: add quadtree, add its demo to examples/ (#16087) 2022-10-18 18:02:44 +03:00
Delyan Angelov
7ff7e540b9
ci: more ? -> ! fixes 2022-10-16 22:57:38 +03:00
Delyan Angelov
7302d8c4a8
examples: improve the examples/call_v_from_python with Python showing the result of the calculation done on the V side 2022-10-16 22:48:00 +03:00
yuyi
f6844e9766
all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00
Delyan Angelov
2a4604b5f9
Revert "examples: fix viewer example (use the new stbi.load_from_memory_with_channels) (#16004)"
This reverts commit bce420c34d.
2022-10-10 11:37:36 +03:00
Delyan Angelov
fa20d797a5 Revert "examples: increase the window size of drag_n_drop.v a little (test CI)"
This reverts commit 8fc166d5a3.
2022-10-10 10:39:58 +03:00
Delyan Angelov
8fc166d5a3
examples: increase the window size of drag_n_drop.v a little (test CI) 2022-10-10 04:04:27 +03:00