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

857 Commits

Author SHA1 Message Date
6e1e406288 vweb: implement live page reload in development, based on polling (useful with watch) (#17683) 2023-03-16 21:00:47 +01:00
17000ef7b6 checker: check option fn returning error (fix #17423) (#17438) 2023-03-02 15:49:50 +02:00
l-m
0625caad56 wasm: add a webassembly compiler backend, based on using binaryen (#17368) 2023-02-28 23:58:53 +02:00
cad2cd5583 docs: fix typos using codespell (#17332) 2023-02-16 11:43:39 +02:00
c8c70de87d docs: unify format of notes (#17294) 2023-02-13 10:29:02 +02:00
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
4c33a92aac examples: fix missing products table in v run examples/vweb_fullstack/ (#17253) 2023-02-09 12:03:23 +02:00
404a9aa442 v: forbid function parameter names, shadowing imported module names (#17210) 2023-02-08 20:37:04 +02:00
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
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
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
6bb930591e examples: add more graphs examples, fix typo (#17113) 2023-01-25 21:58:44 +02:00
0230395062 examples: update examples/js_dom_draw_bechmark_chart/README.md with a chart (#17084) 2023-01-24 02:07:13 +02:00
ddf3909fed docs: improve the README for examples/call_v_from_c/ with instructions for macos (#17060) 2023-01-22 13:25:09 +02:00
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
36834be2ad all: fix the remaining deprecated import sqlite statements (#17021) 2023-01-19 09:37:55 +02:00
aba7bcde85 checker: turn the pointer map notice into a warning and fix all code using it 2023-01-15 22:19:25 +01:00
7f3531077d examples: improve the output of the websocket examples 2023-01-15 14:54:51 +02:00
b25c9e8bbf examples: minor change after #16948 (#16965) 2023-01-15 02:39:51 +01:00
64558df764 vlib: move the mysql/sqlite/pg/mssql modules under vlib/db (#16820) 2023-01-13 17:02:32 +02:00
e854051c1f thirdparty: update all sokol and fontstash headers with their upstream versions (#16940) 2023-01-11 11:29:38 +02:00
868908b80d checker: require unsafe for Struct(voidptr) casts 2023-01-06 09:28:11 +03:00
0146509516 examples: fullstack vweb example (#16761) 2023-01-06 04:36:42 +03:00
161595b041 examples: use math.vec in examples/sokol/particles (#16780) 2022-12-27 15:19:08 +02:00
3c5cfa22d1 parser: disallow the array init: attr, when the len: attr is not provided (#16735) 2022-12-21 21:24:16 +02:00
68501677e3 ci: fix gg-regressions failure 2022-12-21 21:03:47 +02:00
88e33a83de gg: fix draw_image on macos native; vcreate: vweb template 2022-12-21 19:33:37 +03:00
e419faf746 all: fix dependant->dependent typos, cleanup comments 2022-12-02 12:51:10 +02:00
ef5be22f81 all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
017ace6ea7 vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
5bb058e35b gg: revamp the Context pipeline for more effects, implement an additive effect (#16394) 2022-11-12 09:39:18 +02:00
993e21e85b checker: check fntype mismatch of struct field init (fix #16372) (#16381) 2022-11-10 20:19:19 +02:00
a199a9afab all: rollback to old interpolation (step 2) (#16373) 2022-11-09 17:37:27 +03:00
d701cf561c scanner: fix new string interpolation: print('{n:10}') (fix #16321) (#16325) 2022-11-06 08:20:21 +03:00
e81e0ac708 fmt: replace go with spawn 2022-11-05 10:46:40 +03:00
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
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
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
31adc65dd6 examples: mention -d no_backtrace in examples/call_v_from_python/README.md 2022-11-01 18:16:30 +02:00
cd4a999e80 examples: add custom_error.v, that shows how to match over possible errors (#16265) 2022-10-31 09:56:41 +02:00
a19a4ba299 examples: add a tiny brainvuck interpreter (#16213) 2022-10-26 19:31:15 +03:00
992b502198 db, json, time, term: change optional to result (#16201) 2022-10-26 11:26:28 +03:00
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
2e8b9e3b92 v fmt: fix extra space for anon struct (#16131) 2022-10-21 10:38:19 +03:00
c684dd8c9b log: mark log.fatal as [noreturn] (#16129) 2022-10-21 10:33:49 +03:00
51f4d99399 all: change optional to result in most of the libraries (#16123) 2022-10-20 22:14:33 +03:00
e3379bca97 datatypes: add quadtree, add its demo to examples/ (#16087) 2022-10-18 18:02:44 +03:00
7ff7e540b9 ci: more ? -> ! fixes 2022-10-16 22:57:38 +03:00
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
f6844e9766 all: change optional to result of io (#16075) 2022-10-16 09:28:57 +03:00