Commit Graph

13264 Commits (88d69dca77b9c82ae799695e2607f9f82a613f26)

Author SHA1 Message Date
Jef Roosens 88d69dca77
ci: Added docker workflow & Dockerfile
ci/woodpecker/push/vc Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
2022-06-10 08:15:48 +02:00
Delyan Angelov b4b58d7d7d
examples: speed up mandelbrot.v a little, increase iterations/details too 2022-06-10 08:14:54 +02:00
yuyi 04f8b0cb1e
cgen: fix fixed array global variable (fix #14712) (#14730) 2022-06-10 08:14:54 +02:00
Larpon e22c3d2a64
ci: remove `VFLAGS: -gc none` from vab runs (#14731) 2022-06-10 08:14:54 +02:00
yuyi eb674411c7
checker: fix generic method on aliases receiver type (#14729) 2022-06-10 08:14:53 +02:00
Delyan Angelov 048431f586
ci: add `VTEST_JUST_ESSENTIAL=1 ./v test-self` mode. Use it for alpine-docker-musl-gcc . 2022-06-10 08:14:53 +02:00
Ben 824c7e42f3
os: correct description of windows_volume function (#14726) 2022-06-10 08:14:53 +02:00
spaceface 086d1ded18
all: enable `-gc boehm` by default (#14577) 2022-06-10 08:14:53 +02:00
yuyi a8843ae549
ast: cleanup in generic_insts_to_concrete() (#14724) 2022-06-10 08:14:53 +02:00
Spydr 8d9ef9a7f3
native: added new helper functions (#14723) 2022-06-10 08:14:52 +02:00
Larpon d908613aa5
gg: fire resize event before init if necessary on Android (#14725) 2022-06-10 08:14:52 +02:00
Ben d65fb03cab
os: add windows_volume function (#14721) 2022-06-10 08:14:52 +02:00
Mikey 10b9dcb06e
term.ui: don't print event data in readme example (vlang#14719) (#14720) 2022-06-10 08:14:52 +02:00
Delyan Angelov 726938ca57
checker: add error for `if c >= A && c <= Z {` in non generic functions 2022-06-10 08:14:52 +02:00
Larpon 701526e310
strings: add split_capital (#14716) 2022-06-10 08:14:52 +02:00
David Valdespino Pavon 1fb9253c0e
net.http: cookie parsing fixes (#14420) 2022-06-10 08:14:51 +02:00
Larpon c897cc15ef
ci: update vab install (vlang/vab#176) (#14713) 2022-06-10 08:14:51 +02:00
Delyan Angelov cb5278f77b
v.vcache: improve the output of `-d trace_usecache_n` 2022-06-10 08:14:51 +02:00
Delyan Angelov 65dfe199c9
v.vcache: support `-d trace_usecache_n` too (less verbose tracing for just the initialisation of CacheManager) 2022-06-10 08:14:51 +02:00
Delyan Angelov 5a5f432588
builtin: add flush_stdout and flush_stderr to builtin.js.v, for feature parity with builtin.c.v 2022-06-10 08:14:51 +02:00
yuyi 44b15c0b93
cgen: fix cast to generic interface (#14708) 2022-06-10 08:14:50 +02:00
ChAoS_UnItY 3ceadec7ad
cgen: fix none literal str() function calling (#14704) 2022-06-10 08:14:50 +02:00
yuyi 24ae92cd0d
checker: fix json decoder with generic struct (#14700) 2022-06-10 08:14:50 +02:00
ChAoS_UnItY 8241713fe4
cgen: fix mutable receiver type calling mapping function causes C error (fix #14230) (#14696) 2022-06-10 08:14:50 +02:00
Delyan Angelov 724f989c2d
ast: use `[direct_array_access]` for `attrs []Attr` lookup methods 2022-06-10 08:14:50 +02:00
Delyan Angelov 54152c9555
cgen: fix missing function names in declarations on `[c2v_variadic][c: xyz]fn deh_fprintf(fstream &C.FILE, fmt &i8)` 2022-06-10 08:14:50 +02:00
Alexander Medvednikov 1157ccc073
checker: allow literal args as references in translated code 2022-06-10 08:14:49 +02:00
yuyi cb4fdc3037
cgen: fix generic interface with non-generic method (#14694) 2022-06-10 08:14:49 +02:00
Alexander Medvednikov 972190dcc0
checker: do not require fn main when building an object file 2022-06-10 08:14:49 +02:00
yuyi d28840036c
cgen: fix nested map index check (fix #14683) (#14687) 2022-06-10 08:14:49 +02:00
ChAoS_UnItY c2315b6c86
cgen: fix array init with it (fix #14679) (#14680) 2022-06-10 08:14:49 +02:00
Leo Developer e5f922df1f
compress: add a new module `compress.gzip` too (#14686) 2022-06-10 08:14:49 +02:00
Ikko Ashimine 633f93d500
builtin: fix typo in array.v (#14688) 2022-06-10 08:14:46 +02:00
ChAoS_UnItY 5b16d5fdf4
compress.gzip / deflate: rename gzip module into deflate module (#14682)
ci/woodpecker/push/vc Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details
ci/woodpecker/push/arch Pipeline was successful Details
2022-06-05 11:12:14 +02:00
yuyi 799d2dce4d
checker: check using literal argument as reference parameter (#14674) 2022-06-05 11:12:14 +02:00
ChAoS_UnItY a0f1c1ffef
cgen: fix array type as interface (fix #14677) (#14681) 2022-06-05 11:12:14 +02:00
yuyi a4829f64e8
json: fix json decode with missing map type field (#14678) 2022-06-05 11:12:14 +02:00
Wertzui123 ad923f9a20
thirdparty/sokol: apply speaker/headset bug fix from latest upstream sokol_audio.h (#14676) 2022-06-05 11:12:13 +02:00
Delyan Angelov bed93ad891
examples: simplify the shebang in the v_script.vsh example 2022-06-05 11:12:13 +02:00
Delyan Angelov cf7ae39e62
cgen: fix `for (int i = 0; i < 10; i++, a++) {` (multiple expressions in the inc part) 2022-06-05 11:12:13 +02:00
Delyan Angelov 726d0acfb6
ci: on windows-msvc, skip const_fixed_array_containing_references_to_itself_test.v 2022-06-05 11:12:13 +02:00
Delyan Angelov 5e5b931765
ci: fix macos clang failures with const_fixed_array_containing_references_to_itself_test.v 2022-06-05 11:12:13 +02:00
Delyan Angelov 55386627b2
checker: allow for references to fixed array consts inside their initialisation `const a = [ ... &a[0] ...]!` 2022-06-05 11:12:13 +02:00
Alexander Medvednikov 8bb2ccfdbc
vweb: use http.Cookie 2022-06-05 11:12:13 +02:00
yuyi bff84aab59
ast: cleanup is_lit() (#14672) 2022-06-05 11:12:13 +02:00
Delyan Angelov 54e851f8de
cgen,ci: fix cast_bool_to_int_test.v on windows-tcc 2022-06-05 11:12:13 +02:00
Delyan Angelov 3e1ff72247
cgen: do not initialise externally declared globals (with -cstrict with [c_extern]). 2022-06-05 11:12:13 +02:00
Delyan Angelov b387554840
cgen: simplify int(bool_var) casts; support [c_extern] tag for global declarations 2022-06-05 11:12:13 +02:00
yuyi 3d6d120d4c
cgen: fix autofree_variable() (fix #14576) (#14602) 2022-06-05 11:12:13 +02:00
yuyi 9699afc1fd
cgen: fix if expr with optional method call (#14600) 2022-06-05 11:12:12 +02:00