Delyan Angelov
4c2cb1b6df
vdoc: prevent leaking to the docs the `pure_v_but_overriden_by_` prefix
2021-10-14 11:47:50 +03:00
yuyi
05885059bd
cgen: remove the extra generated parentheses of single in_expr ( fix #12158 ) ( #12168 )
2021-10-14 11:38:16 +03:00
ChAoS_UnItY
6f629d1a6a
transformer: eliminate unreachable branches & redundant branch expressions in MatchExpr ( #12174 )
2021-10-14 02:15:52 +03:00
nyx-litenite
5b9553d5c4
orm: fix last_id() call in mysql ( #12173 )
2021-10-13 21:24:07 +03:00
Larpon
5bfa3d5530
sokol: add screenshot function to OpenGL based backends ( #12169 )
2021-10-13 21:22:58 +03:00
yuyi
97e999768a
checker: fix generic fn return array of generic struct ( #12170 )
2021-10-13 21:21:32 +03:00
playX
d373eba79b
js: implement more functions for JS backend ( #12167 )
2021-10-13 09:40:14 +03:00
pancake
ade5774313
native: fix return `a+b` infix construction ( #12161 )
2021-10-12 19:38:17 +03:00
Delyan Angelov
6c728cf389
js: add draft support for -skip-unused (hello_world.v works)
2021-10-12 19:34:37 +03:00
pancake
1d2b56d71d
native: fix example exit((1,2)->(a,b)return a+b) ( #12154 )
2021-10-12 18:51:28 +03:00
pancake
347ebe5fd3
native: append .exe, when using the native backend on windows ( #12159 )
2021-10-12 18:49:42 +03:00
pancake
a0a0ae85eb
native: add support for pe64 when -os windows is used ( #12149 )
2021-10-12 10:43:40 +03:00
playX
22962dd2d2
js: change codegen for match statement, speedup string.split_into_lines ( #12157 )
2021-10-12 09:52:16 +03:00
Alexander Medvednikov
cfc56b24fb
vweb: fix [post] route matching
2021-10-12 08:18:04 +03:00
Alexander Medvednikov
da58ba0d5c
vweb: populate action method params with form values
2021-10-12 07:10:12 +03:00
Anton Zavodchikov
4d7bb95c2f
vweb: add a `vweb_global` attribute ( #12064 )
2021-10-12 06:35:36 +03:00
pancake
5eba02ea94
native: fix stackframe bug on return statements ( #12153 )
2021-10-12 06:03:44 +03:00
penguindark
0fafefc078
regex: bug fix on find groups indexes ( #12152 )
2021-10-12 06:03:23 +03:00
Delyan Angelov
3c8be0db72
tests: reduce maxn in builder_test.js.v to just 1000 for now (runs in under 200ms, vs ~240s before that)
2021-10-11 19:57:35 +03:00
Delyan Angelov
9fabf9f20c
checker: check for `x := Abc { f: fn () ? {} }` mismatch, when `f` is `fn ()`
2021-10-11 19:20:41 +03:00
Alexander Ivanov
0386f2bbea
checker: add an interface check for mutability, fixes #1081 , fixes #7038 ( #11963 )
2021-10-11 15:41:31 +03:00
ChAoS_UnItY
d0c961ebc0
transformer: eliminate unreachable branches in IfExpr and fold more expressions and statements ( #12135 )
...
* v: fix using constant as length in fixed array
* format test file
* v/trasnformer: discard unreachable if branches
* transform more expressions and statements
* replace IfExpr with EmptyExpr when all branches were eliminated
* fix typo
* fix gens
* only allows branch elimination on if expression statement
* fix native gen
* fix handling of multi branch ifs in the native backend, also allow for `if true {}`
Co-authored-by: KyleLin921021 <43753315+KyleLin921021@users.noreply.github.com>
Co-authored-by: Delyan Angelov <delian66@gmail.com>
2021-10-11 14:29:17 +03:00
Ulises Jeremias Cornejo Fandos
35b301f73c
math: add some benchmark tests ( #12142 )
2021-10-11 14:20:07 +03:00
05st
3e02cfd528
cgen: fix `in` op usage on array of sumtypes without cast ( #12141 )
2021-10-11 14:17:04 +03:00
Delyan Angelov
ceb24bc32e
tests: show the number of parallel jobs used while testing
2021-10-11 13:10:55 +03:00
yuyi
1831eccd5e
checker: check generic struct using in non-generic fn ( #12136 )
2021-10-11 02:46:44 +03:00
05st
e69df54a36
cgen: fix multi-return in if/match exprs ( #12139 )
2021-10-11 02:45:01 +03:00
Ulises Jeremias Cornejo Fandos
0f7dfb984a
math: remove the C backend for f64 functions ( #12121 )
2021-10-10 11:21:48 +03:00
yuyi
83bc9b35b1
ast: fix checking generic fn call with fntype arg mismatch ( #12132 )
2021-10-10 11:14:19 +03:00
Yeuda By
8d5931c96c
orm: fix a typo ( #12131 )
2021-10-10 03:47:35 +03:00
ChAoS_UnItY
3647fc6633
parser: perform constant folding before checking size of fixed array ( #12126 )
2021-10-10 01:55:25 +03:00
yuyi
093cab6f56
checker: check generics struct init that types mismatch ( fix #12115 ) ( #12120 )
2021-10-09 15:03:37 +03:00
pancake
7a6491b9b0
native: initial implementation of C.syscall ( #12098 )
2021-10-09 15:01:30 +03:00
Delyan Angelov
d14b5d0c11
ci: reduce flakyness of vlib/v/pref/options_test.v on ubuntu
2021-10-09 12:58:21 +03:00
playX
e267106220
math: implement logarithm function in pure V ( #12111 )
2021-10-09 11:17:09 +03:00
Delyan Angelov
23e679475c
time: sanity check parsed date/times
2021-10-09 11:05:49 +03:00
yuyi
3c7c11e55b
cgen: fix sumtype with none type ( fix #12101 ) ( #12102 )
2021-10-09 03:32:37 +03:00
05st
43931be451
math: sqrti, powi, factoriali ( #12072 )
2021-10-08 22:07:44 +03:00
05st
cd5b304cbf
cgen: add interface case for gen_struct_equality_fn ( #12094 )
2021-10-08 19:04:24 +03:00
playX
a8ace2c41c
math: implement `pow` in pure V ( #12105 )
2021-10-08 17:44:55 +03:00
Delyan Angelov
60add6cc28
ci: fix failing tests
2021-10-07 19:22:08 +03:00
Alexander Medvednikov
c356e347f5
pref: do not allow -prod with v run
2021-10-07 16:13:58 +03:00
playX
33a1006cc5
js: comptime&assert improvements, more `byte` and `strings.Builder` methods ported ( #12096 )
2021-10-07 15:55:47 +03:00
Larpon
42359d8915
toml: fix error return in value parsing ( #12097 )
2021-10-07 15:51:18 +03:00
Larpon
09cc0c7247
gg: use sgl.begin_points for pixels + improve pixels example ( #12085 )
2021-10-07 10:46:57 +03:00
Larpon
53aa4eba0d
sokol: add sg_isvalid wrapper to gfx ( #12081 )
2021-10-07 10:41:57 +03:00
Larpon
f454d30318
gg: use sgl.begin_triangles when drawing triangles ( #12083 )
2021-10-07 03:45:23 +03:00
Larpon
42c088896a
gg: mute font print on Linux, use flag debug_font instead ( #12082 )
2021-10-07 03:45:02 +03:00
pancake
32259af2c9
v.parser: improve error message when no arch is set 'asm{}' ( #12093 )
2021-10-07 03:44:27 +03:00
Delyan Angelov
e53682320c
v.gen.c: fix compiling `go f(x)` for `x` of the same struct in different .v files with parallel cgen
2021-10-06 22:12:21 +03:00
yuyi
0d53705776
v.checker: check fn returning void type ( fix #12076 ) ( #12078 )
2021-10-06 21:04:33 +03:00
yuyi
963233687e
v.fmt: fix fmt of 'fn(mut a &int)' ( #12075 )
2021-10-06 20:51:38 +03:00
yuyi
f1742a6f62
v.ast: change 'type.to_ptr()' to 'type.ref()' ( #12086 )
2021-10-06 20:49:39 +03:00
Wertzui123
77c18f4435
cgen: fix alphabetic order of ast statement generation ( #12080 )
2021-10-06 14:32:42 +03:00
playX
b2945e916f
js: add initial support for runes ( #12077 )
2021-10-06 10:43:49 +03:00
Delyan Angelov
115493781b
tests: make the output of coutput_test.v more accurate/easily reproducible in case of failures
2021-10-06 10:15:18 +03:00
Delyan Angelov
5bc8b4dadb
os: implement support for VOPEN_URI_CMD env override for os.open_uri
2021-10-06 06:33:04 +03:00
Delyan Angelov
2526aca75f
tests: fix typo in coutput_test.v (thanks Jalon)
2021-10-06 00:33:01 +03:00
Delyan Angelov
efa1092199
v.gen.c: add coutput tests for the `[console]` codegen to prevent future regressions
2021-10-06 00:14:16 +03:00
Delyan Angelov
aa8915bdf6
v.gen.c: fix `[console]` handling for `sokol` programs on windows with parallel cgen
2021-10-05 23:57:14 +03:00
Delyan Angelov
6d2c1f7e2c
v.gen.c: enable again parallel cgen for `-g`, make `-g` more robust
2021-10-05 21:51:49 +03:00
crthpl
7cf9c198fe
asm: add segment addressing and fix [10] ( #12068 )
2021-10-05 18:57:15 +03:00
Delyan Angelov
514443a019
ci: comment out a failing assert in the tests for `os.notify`
2021-10-05 16:01:54 +03:00
Delyan Angelov
eef8017281
ci: reduce flakyness of notify_test.v, by re-trying it 3 times
2021-10-05 15:50:38 +03:00
Delyan Angelov
ccb5f1d563
tests: support `// vtest vflags: -prod` in `coutput_test.v`.
...
Use it, to add a `-prod` test for `$embed_file()`,
to prevent future codegen regressions.
2021-10-05 15:44:12 +03:00
Delyan Angelov
e23d61d99e
v.pref: disable the parallel cgen when `-g` is given for now (the line numbers/paths are wrong)
2021-10-05 15:08:28 +03:00
Delyan Angelov
92f2e5bad2
v.gen.c: fix compilation with `-prod`, for files using `$embed_file()` (regression after parallel cgen in 85b58b0
)
2021-10-05 15:06:17 +03:00
Delyan Angelov
b4d1429ef0
tests: rename `as_cast_literal.v` to `as_cast_literal_test.v`
2021-10-05 11:57:57 +03:00
yuyi
7bc3e67e24
fmt: fix import with symbols ( fix #12065 ) ( #12069 )
2021-10-05 11:44:48 +03:00
05st
7555b337b9
cgen: fix expr_as_cast for int/float literals ( #12067 )
2021-10-05 09:53:05 +03:00
playX
8d1ba52d0c
js: fix string.bytes codegen, readline, add tests for `strings` ( #12060 )
2021-10-04 18:28:30 +03:00
yuyi
e94e08475d
cgen: format shared structs ( #12062 )
2021-10-04 18:27:38 +03:00
yuyi
03269f9854
cgen: fix error of reference struct str() ( #12061 )
2021-10-04 09:58:50 +03:00
Larpon
a8c2c419cd
builtin: improve malloc panic messages ( #12054 )
2021-10-03 20:27:46 +03:00
Delyan Angelov
bfb8116623
ci: let process_test.v repeatedly fail 3 times, before consider it failed
2021-10-03 20:26:38 +03:00
yuyi
82e6d6e51d
cgen: fix threads array wait without go calls ( fix #12009 ) ( #12050 )
2021-10-03 18:24:44 +03:00
Larpon
b62520af9e
os: fix rare crash in read_file. Fix #12052 ( #12053 )
2021-10-03 18:24:06 +03:00
Anton Zavodchikov
895daf297f
vweb: router refactor ( #12041 )
2021-10-03 16:26:44 +03:00
Ekopalypse
9be16eba63
v.gen.c: add tests to ensure the same calling convention is used on exported functions for -m32/-m64 ( #11977 )
2021-10-03 15:47:08 +03:00
spaceface
9b6e07e2a6
cgen: support `index` and `in` for sumtype/interface arrays ( #12051 )
2021-10-03 15:44:13 +03:00
yuyi
10caf4a84a
cgen: cleanup generated thread wait code ( #12048 )
2021-10-03 10:52:29 +03:00
playX
9145cd66ec
js: add more tests to builtin/js and implement more builtin functions ( #12049 )
2021-10-03 10:08:21 +03:00
05st
129c81f34d
cgen: implement eq operator for interfaces ( #12047 )
2021-10-03 09:04:05 +03:00
05st
f282e64fe3
arrays: add binary_search, lower_bound, and upper_bound array operations ( #12045 )
2021-10-03 08:14:39 +03:00
Nicolas Sauzede
117091452b
os: workaround `_ = C.pipe(&pipeset[0])` gcc warning `warning: ignoring return value of pipe declared with attribute warn_unused_result` ( #12046 )
2021-10-03 08:09:08 +03:00
05st
86a5e72c74
v.checker: fix return type checking being skipped for mutable method receivers ( #12043 )
2021-10-02 23:26:46 +03:00
Delyan Angelov
02e4aa0f0e
v.checker: fix panic for `a, b, c = fn_returning_several_maps()`
2021-10-02 18:40:35 +03:00
Delyan Angelov
0916806350
ci: do not use htonll and ntohll on windows, use the portable versions instead.
2021-10-02 18:21:16 +03:00
Delyan Angelov
9a4dbc25ca
ci: fix failing conv_test.v on windows
2021-10-02 15:51:48 +03:00
Anton Zavodchikov
4c8094d0d9
net.http: make public errors and parse_form ( #12038 )
2021-10-02 15:28:35 +03:00
Anton Zavodchikov
600880660a
net.http: add a deprecated attribute for un/escape functions ( #12037 )
2021-10-02 15:19:32 +03:00
Delyan Angelov
c86935309e
v.gen.c: fix compilation of `if c_struct_1 != c_struct_2 {`
2021-10-02 15:12:18 +03:00
05st
cc4af235f3
cgen: fix if-expression code generation if it evaluates to propagating optional / or block ( #12032 )
2021-10-02 14:30:04 +03:00
Delyan Angelov
d1d4877348
net.conv: add a test for the nth16/nth32/nth64/htn16/htn32/htn64 functions
2021-10-02 13:26:09 +03:00
playX
82f187e5e0
js: fix `rand` build, properly use key values on map, add `rand.string` ( #12020 )
2021-10-01 21:23:49 +03:00
05st
60ecbec8ea
cgen: fix closure code gen with if statement in definition ( #12028 )
2021-10-01 16:52:34 +03:00
Alexander Ivanov
cb149bfa00
checker: show errors for index calls to values which are not functions, fixes #11539 ( #12024 )
2021-10-01 15:17:02 +03:00
zakuro
ce0867f40c
vfmt: fix removal of selective imported type used in map ( #12030 )
2021-10-01 15:14:21 +03:00
Delyan Angelov
41de0c3c6a
ci: fix `v -cc gcc -cstrict examples/pico/pico.v`
2021-10-01 13:49:38 +03:00
Delyan Angelov
6f7c3a7cdf
ci: do `brew install openssl` on the macos job, reduce flakyness of tcp_test.v
2021-10-01 13:13:05 +03:00
Delyan Angelov
2bdba5ed73
net: fix declarations of C.htonl/C.htons/C.ntohl/C.ntohs in aasocket.c.v
2021-10-01 12:57:47 +03:00
Delyan Angelov
149517ced4
v.builder,v.gen: time Builder.front_stages.parse_files, Builder.resolve_deps, Gen.sort_structs
2021-09-30 20:49:19 +03:00
Alexander Medvednikov
4a6d161c08
orm: postgres fixes
2021-09-30 20:00:27 +03:00
Larpon
8705db5844
toml: fix scanner escape collecting in literal strings ( #12022 )
2021-09-30 16:04:21 +03:00
Alexander Medvednikov
d4b3c65c45
cgen: a minor optimization; checker: a c2v fix
2021-09-30 12:51:53 +03:00
Wertzui123
e3d379a1eb
builtin: add byte.repeat() and rune.repeat() ( #12007 )
2021-09-30 09:32:20 +03:00
Louis Schmieder
f9ceb12e22
checker: fix orm cast check ( #12018 )
2021-09-30 00:43:08 +03:00
Larpon
e3d3727c0c
toml: fix 7 escape tests ( #12017 )
2021-09-29 19:28:09 +03:00
Alexander Medvednikov
c2f535fee1
ci: run the gitly web server test
2021-09-29 19:26:49 +03:00
playX
4333a53f28
js: support running `.js.v` tests in `v test-self`, fixes for array methods & codegen ( #12011 )
2021-09-29 15:33:14 +03:00
Larpon
4ff061927b
toml: easier scanner configuration ( #12016 )
2021-09-29 14:53:06 +03:00
yuyi
f2c710d306
cgen: fix fn mut args with interface type ( #12012 )
2021-09-29 13:54:23 +03:00
yuyi
8789cc422c
v.ast: fix fmt of 'bytestr' to '&byte' ( #12014 )
2021-09-29 13:53:46 +03:00
Larpon
d39fec3479
toml: fix unbalanced quoted tests ( #12006 )
2021-09-29 10:19:49 +03:00
Delyan Angelov
24c1d552d7
ci: vfmt vlib/v/gen/c/cgen.v
2021-09-29 08:58:27 +03:00
André Diego Piske
8dde9d4a7b
cgen: fixes for ... in with index ( #11995 )
2021-09-28 19:35:07 +03:00
yuyi
5d3795e876
cgen: fix the C codegen error for '_ = map[key]' ( fix #11999 ) ( #12000 )
2021-09-28 18:45:50 +03:00
Larpon
bc4aad5fb4
toml: add quote details to ast.Quoted ( #11997 )
2021-09-28 17:40:03 +03:00
Delyan Angelov
87fe15e39f
ci: fix typo
2021-09-28 15:30:05 +03:00
Delyan Angelov
3467ab1551
ci: fix the `g++` build and the `alpine-musl` task
2021-09-28 15:29:00 +03:00
Delyan Angelov
d07a96ede8
v.gen.c: fix `v examples/hello_world.v` on FreeBSD
2021-09-28 12:00:34 +03:00
Delyan Angelov
8f4fe61381
v.pref: only show the `disabling parallel cgen` message when -no-parallel was not given and -prealloc was
2021-09-28 11:52:27 +03:00
Delyan Angelov
97eb0fc74f
ci: workaround linking on macos (missing sem_timedwait)
2021-09-28 11:27:47 +03:00
Delyan Angelov
9e2607db57
sync: rename sync_macos.c.v to sync_darwin.c.v
2021-09-28 11:12:03 +03:00
Delyan Angelov
6b40ead54d
fix `./v -cc g++ run examples/concurrency/concurrency_http.v`
2021-09-28 10:35:02 +03:00
crthpl
85b58b03a3
cgen: parallelize ( #10844 )
2021-09-28 10:28:04 +03:00
Ken
a17b943e87
builtin: add method `byte()` for string ( #11998 )
2021-09-28 10:08:10 +03:00
Ulises Jeremias Cornejo Fandos
c151e075e1
context: update ValueContext to handle Any value and more Key types, use closures ( #11993 )
2021-09-27 17:52:20 +03:00
yuyi
d6a4bce2ef
checker: fix generic array.map with generic callback fn ( #11991 )
2021-09-27 17:50:15 +03:00
Larpon
2ee873d6ca
toml: fix invalid bad-multiline test ( #11996 )
2021-09-27 17:42:20 +03:00
Wertzui123
07d65b2aab
builtin: move byte methods from rune.v to int.v ( #11987 )
2021-09-26 22:34:25 +03:00
czkz
6967a47e07
net.openssl: fix typos in comments ( #11988 )
2021-09-26 22:33:10 +03:00
Delyan Angelov
6a2ef733de
v.parser: add a generated `.all(.flag1|.flag2)` method to `[flag]` enums
...
Unlike `.has(.flag1|.flag2)`, which is true, for any of `.flag1` or `.flag2`,
the new method `.all()` tests whether *all flags* are set at the same time.
2021-09-26 21:40:44 +03:00
Rémi
09dfc3f301
arrays: add a generic `arrays.concat(os.args,'abc','xyz')` function ( #11985 )
2021-09-26 19:41:50 +03:00
yuyi
4c01627e00
cgen: cleanup stmt_path_pos processing ( #11983 )
2021-09-26 15:51:18 +03:00
yuyi
d93737dd34
cgen: fix assign map get to blank ( fix #11508 ) ( #11982 )
2021-09-26 13:07:51 +03:00
Louis Schmieder
6391f3d2da
orm: fix other int types ( #11981 )
2021-09-26 11:17:56 +03:00
yuyi
e09860731f
cgen: fix if expr with complex nested array call ( #11979 )
2021-09-26 07:35:48 +03:00
Larpon
da47638f42
toml: correct documentation ( #11976 )
2021-09-26 07:34:47 +03:00
playX
863dd0b23e
js: array improvements ( #11952 )
2021-09-26 07:33:53 +03:00
penguindark
f3757a7cd1
strconv: float memory leak fix ( #11980 )
2021-09-26 07:33:35 +03:00
yuyi
d329e1decd
cgen: fix if expr with nested array calls ( fix #11953 ) ( #11973 )
2021-09-25 20:38:33 +03:00
Larpon
13b2aa701c
toml: rename ast.Node -> ast.Value ( #11974 )
2021-09-25 20:31:02 +03:00
Anton Zavodchikov
80c15607da
json: assert encoded struct with a sumtype ( #11970 )
2021-09-25 20:29:52 +03:00
Larpon
970768288d
gg: expose sapp_desc.swap_interval via gg.Config ( #11975 )
2021-09-25 15:06:56 +03:00
Miccah
956fdffd96
net.http: allow custom headers in post_multipart_form ( #11971 )
2021-09-25 10:09:49 +03:00
Larpon
5541ec8670
vlib: add toml module + tests ( #11964 )
2021-09-24 21:13:52 +03:00
Ruofan XU
834cf40ab2
cgen, fmt, scanner: fix and use nested lambda in scanner ( #11967 )
2021-09-24 18:21:22 +03:00
Ekopalypse
400ab7876b
ast: fix fixed array typedef generation issue ( #11962 )
2021-09-24 17:01:42 +03:00
Anton Zavodchikov
c75271fcb7
cgen: json sumtype inlining ( #11961 )
2021-09-24 16:49:00 +03:00
yuyi
430677a0c0
cgen: format generated C code of nested array call ( #11955 )
2021-09-23 19:56:12 +03:00
Delyan Angelov
ad58fe8249
ci: mark cancel_test.v with `vtest retry: 3`
2021-09-23 14:55:10 +03:00
zakuro
b354f9ae9a
cgen: fix c error of if-expression when debug mode ( #11950 )
2021-09-23 14:52:32 +03:00
Delyan Angelov
4a0d00fb30
io.util: simplify random number generation in util.v
2021-09-23 14:20:39 +03:00
Delyan Angelov
afc3531945
ci: work around a failing g++ compilation (order of methods in an interface dispatching table matters for C++ compilers)
2021-09-23 14:08:50 +03:00
Delyan Angelov
ece5fa183c
fast.v: freebsd fixes
2021-09-23 13:48:41 +03:00
Delyan Angelov
930b95f76c
v.gen.c: fix uninitialised value usages regression after e5fb4e4
2021-09-23 12:24:03 +03:00
Delyan Angelov
8837712f2b
rand: fix leaks with -autofree
2021-09-23 12:24:03 +03:00
Delyan Angelov
79e33d92f1
v.markused: remove `hash.init()` function (map fn usages are detected more precisely)
2021-09-23 12:24:02 +03:00
trollkarlen
b52f79e137
log: add temporary get_level() ( #11946 )
2021-09-23 12:05:11 +03:00
Alexander Ivanov
4d0f835548
checker: fix detection of invalid insertions, fixes #3600 ( #11945 )
2021-09-23 11:59:43 +03:00
Alexander Medvednikov
27f5c35bde
autofree: test returning optionals
2021-09-23 09:18:01 +03:00
yuyi
b8935551f1
cgen: fix nested array call ( #11948 )
2021-09-23 08:50:37 +03:00
Alexander Medvednikov
7b60367512
autofree: free reference types with -experimental for now
2021-09-23 04:35:09 +03:00
Ruofan XU
52b53f17b2
scanner: clean up scanning of `>` ( #11943 )
2021-09-23 02:24:23 +03:00
Delyan Angelov
bf2569a9a8
all: support `mut volatile x := 123` declarations ( #11940 )
2021-09-22 13:06:30 +03:00
yuyi
76e360ce86
cgen: format the generated C code for array map/filter/all/any methods ( #11936 )
2021-09-22 09:24:36 +03:00
yuyi
e5fb4e4845
cgen: fix if expr with array call ( fix #11557 ) ( #11569 )
2021-09-22 02:21:18 +03:00
Alexander Ivanov
b9720f5d9e
cgen: fix struct init with multiple branches, fixes #11564 ( #11570 )
2021-09-22 00:46:07 +03:00
yuyi
2f3925a0cf
fmt: format vlib/v/token/token.v ( #11568 )
2021-09-21 23:29:53 +03:00
yuyi
de4c0c237b
cgen: fix if infix expr with array.all/any() ( #11567 )
2021-09-21 16:20:41 +03:00
yuyi
108a01d65f
fmt: fix unnecessary line break in array init ( fix #11448 ) ( #11562 )
2021-09-21 16:20:09 +03:00
yuyi
d6fa6a459c
checker: fix generic sumtype method ( #11565 )
2021-09-21 16:19:43 +03:00
ChAoS_UnItY
95136cbfc7
all: add unsigned shift operators ( #11536 )
2021-09-21 14:02:17 +03:00
penguindark
e4bd2306da
sokol: upgrade to latest version, add program icon support ( #11559 )
...
* updated sokol_gfx.h to the last version: 16d7b2e
* merged sokol_app and update enums.v
* added missing icons structs
* try to fixing Mac keyboard problems
* added v patch marker to sokol_app.h
* upgrade for sokol_gl.h, sokol_fontstash.h
* manage sgl_load_default_pipeline
* added load_default_pipeline() for sokol coherence
* vfmt sapp_structs.c.v
Co-authored-by: Delyan Angelov <delian66@gmail.com>
2021-09-21 09:55:06 +03:00
Alexander Medvednikov
f6bdc6b87e
tmpl: fix <div> inside <div>
2021-09-21 07:54:10 +03:00
Enzo
b2ecca3966
all: remove `size_t` ( #11478 )
2021-09-21 02:12:38 +03:00
Alexander Medvednikov
4aa99e4303
tmpl: add a <div> test
2021-09-21 02:11:33 +03:00
Ruofan XU
1430ebc5e3
scanner: cleanup scanning of `>` ( #11558 )
2021-09-21 00:57:05 +03:00
Anton Zavodchikov
d51f8ed878
v.gen.c: use unmangled variant name for encoding sumtype values in json ( #11554 )
2021-09-20 21:19:16 +03:00
ChAoS_UnItY
077c55d0c8
encoding.utf8: add `pub fn is_letter(r rune) bool` ( #11547 )
2021-09-20 21:16:50 +03:00
Delyan Angelov
5cf0ee46b3
v.pref,v.builder: support overriding the C cross compiler by setting `VCROSS_COMPILER_NAME`
2021-09-20 19:57:43 +03:00
El Koulali András
9c4507d115
cgen: fix illegal character encoding with rune consts above 127 ( #11550 )
2021-09-20 10:45:42 +03:00
Delyan Angelov
1de4f1af2e
ci: reduce chance of spurious go_wait_option_test.v failures by retrying it 3 times
2021-09-20 10:32:40 +03:00
05st
f9f4867c25
tmpl: fix $tmpl comptime operation only working in return statement ( #11541 )
2021-09-19 23:22:26 +03:00
Rémi
2534946ead
json: support sumtypes ( #11549 )
2021-09-19 21:36:26 +03:00
Delyan Angelov
7bd145d88a
os,net: cleanup deprecated @VROOT usages
2021-09-19 16:24:24 +03:00
Ruofan XU
b343f19bec
v.scanner: fix ambiguity of two-level generics and shift-right ( #11540 )
2021-09-19 16:22:28 +03:00
Delyan Angelov
76f70d51f3
ci: fix another options_test.v failute, refactor for readability
2021-09-19 08:49:52 +03:00
Delyan Angelov
b5d8c53a0c
v.gen.c: fix the :X string interpolation format for isize/usize on 64bit systems
2021-09-19 05:09:03 +03:00
Alexander Medvednikov
6799f3ac5c
orm: verify column name in updates
2021-09-19 04:49:29 +03:00
Rémi
e76be4ba37
checker: temporary error for optional struct fields ( #11293 ) ( #11534 )
2021-09-18 23:22:24 +03:00
Delyan Angelov
0b4e03ad5c
ci: fix the failing new options_test.v on the `ubuntu` job
2021-09-18 21:10:41 +03:00
Delyan Angelov
6b2cc9c5cf
v.pref: add a simple options_test.v to check for -cflags regressions
2021-09-18 16:08:15 +03:00
yuyi
8501217a4e
cgen: add gen_free_for_type_array/map() ( #11530 )
2021-09-18 15:18:32 +03:00
Delyan Angelov
0a7fb34613
checker: simplify noreturn.v
2021-09-18 13:43:15 +03:00
czkz
396eede4db
math: fix typos ( #11533 )
2021-09-18 12:23:31 +03:00
Delyan Angelov
df8a4a03a0
tests: support `// vtest retry: 4` for marking flaky tests
2021-09-18 11:48:32 +03:00
Delyan Angelov
eec930b86a
os: turn some panics into `return error()`
2021-09-18 10:45:04 +03:00
yuyi
39ad6da506
checker, cgen: generate .free() methods for custom structs automatically ( #11529 )
2021-09-18 09:38:42 +03:00
Delyan Angelov
2eeba4758a
v.builder: fix `-cc msvc -cflags /O2` and support CFLAGS and LDFLAGS env vars
2021-09-18 09:14:21 +03:00
Alexander Medvednikov
219a764a83
autofree: only free user reference types
2021-09-18 06:32:25 +03:00
Alexander Medvednikov
6d47dd22df
autofree: free references
2021-09-18 04:19:16 +03:00
yuyi
44ec8a8cd4
v.fmt, v.gen.js: use 'if foo in [TypeA, TypeB]' in fmt.v and js.v ( #11524 )
2021-09-17 21:59:16 +03:00
Delyan Angelov
bd65ceb463
v.markused: remove __print_assert_failure from all_fn_root_names
2021-09-17 21:47:22 +03:00
Ruofan XU
9180647f99
scanner, fmt: fix multi-level generics ( #11517 )
2021-09-17 21:44:31 +03:00
Alexander Ivanov
30e53c95c7
checker: handle `if _likely_(x is Interface) {` from #11485 ( #11519 )
2021-09-17 21:01:12 +03:00
yuyi
fb75d528eb
builder: remove panics, when cleaning up tmp files after tests ( #11525 )
2021-09-17 20:56:33 +03:00
czkz
816c6c62b5
os: fix documentation typo in args.v ( #11526 )
2021-09-17 20:55:16 +03:00
Vincent Laisney
273154c1ae
math.big: add Newton and Karatsuba algorithms ( #11487 )
2021-09-16 19:31:07 +03:00
yuyi
467afad065
cgen: use `if foo in [TypeA, TypeB]` in cgen.v ( #11518 )
2021-09-16 19:26:53 +03:00
JalonSolov
1688148828
flag: switch panics to optionals ( #11515 )
2021-09-16 19:25:05 +03:00
Delyan Angelov
0a18690a4f
v.gen.c: fix assert `f().len == 1` calling f() twice (closes issue 11501)
2021-09-16 19:01:35 +03:00
playX
c175b4fd48
v.gen.js: refactor code, fix alias codegen, `-stats` now again works with tests on the JS backend ( #11512 )
2021-09-16 14:00:15 +03:00
Miccah
ead5e66afd
net.http: add post_multipart_form function ( #11511 )
2021-09-16 07:34:07 +03:00
Dialga
f295469fac
net.urllib: make unescape() autofree compatible ( #11510 )
2021-09-16 07:09:20 +03:00
yuyi
d5e00b0920
checker, cgen: fix generic arrays sum() ( #11502 )
2021-09-16 07:08:28 +03:00
yuyi
09ded16e3d
checker: use 'if foo in [TypeA, TypeB]' in checker.v ( #11494 )
2021-09-16 07:08:14 +03:00
playX
7d1776b84d
js: equality method generation for V types ( #11503 )
2021-09-16 07:07:48 +03:00
Alexander Medvednikov
d00808660f
json: omitempty
2021-09-16 07:02:43 +03:00
Delyan Angelov
5bc6cc9512
v.checker: fix spurious warning for `if x := map_of_sumtypes[k] {}`
2021-09-15 15:42:28 +03:00
JalonSolov
7145461cc5
arrays: switch panics to optionals ( #11497 )
2021-09-15 15:17:55 +03:00
Ekopalypse
41fc4c55c6
v.builder: simplify target architecture logic for msvc ( #11491 )
2021-09-14 17:47:26 +03:00
ChAoS_UnItY
0c0e28df6e
arrays: add more modern array operation functions ( #11488 )
2021-09-14 16:49:23 +03:00
yuyi
9554470985
checker, cgen: fix generic operator overload of 'cmp' ( #11489 )
2021-09-14 16:20:02 +03:00
yuyi
8862c3af0f
all: implement `if foo in [Foo1, Foo2, Foo3]` ( #11486 )
2021-09-14 15:56:12 +03:00
Alexander Medvednikov
12ec900d20
checker: fix the void type check
2021-09-14 01:02:32 +03:00
Daniel Däschle
b63ec8fbcf
checker: require `params` attribute to use struct as keyword arguments in function ( #11135 )
2021-09-14 00:05:30 +03:00
Alexander Medvednikov
ae41d1d3c6
builtin, cgen: more -nofloat fixes
2021-09-13 19:06:19 +03:00
Alexander Medvednikov
8fc0b486a2
builtin: fix string interpolation when compiling with -nofloat
2021-09-13 18:40:32 +03:00
Alexander Medvednikov
c99281709b
pref: define nofloat comptime define
2021-09-13 18:35:21 +03:00
Alexander Medvednikov
04d4431299
checker: remove another unnecessary error
2021-09-13 18:35:08 +03:00
Alexander Medvednikov
cfcc57f5d3
checker: remove unnecessary "no methods" error; builder: skip float.c.v with -nofloat
2021-09-13 18:14:26 +03:00
ChAoS_UnItY
2ced845e30
arrays: add chunk and window functions ( #11476 )
2021-09-13 16:13:32 +03:00
playX
b9dfc89aa9
js: prefix V builtin functions, so they do not overlap with JS ( #11483 )
2021-09-13 11:44:55 +03:00
Ulises Jeremias Cornejo Fandos
480fe8041a
math.stats: update math.stats using generics ( #11482 )
2021-09-13 10:20:38 +03:00
yuyi
30029eaf5d
checker, cgen: fix generic operator overload ( fix #11472 ) ( #11479 )
2021-09-13 09:49:28 +03:00
Enzo
012da10517
ast, fmt: cleanup ( #11477 )
2021-09-13 04:08:58 +03:00
yuyi
cd7d482c3b
checker: fix generic array append ( #11475 )
2021-09-12 15:09:11 +03:00
Enzo
ccf6285f82
checker: allow mut arg on C functions ( #11430 )
2021-09-11 14:25:38 +03:00
playX
5b619b99c2
v.gen.js: Interfaces support, fix for error propagation & panic stacktraces ( #11471 )
2021-09-11 14:24:47 +03:00
Alexander Medvednikov
90e04d03b2
net.http: fix request_test.v
2021-09-11 06:16:00 +03:00
Ekopalypse
f9eb14d914
builder: remove fPic argument from windows builds ( #11467 )
2021-09-11 04:48:02 +03:00
zakuro
fb20a92b1e
fmt: fix a bug that break generics call in string inter ( #11468 )
2021-09-11 04:47:22 +03:00
Alexander Medvednikov
1546090131
vweb: remove a duplicate function parse_multipart_form
2021-09-11 04:21:10 +03:00
playX
07bd61582c
js: fix strconv build, BigInt infix fix ( #11464 )
2021-09-11 00:11:36 +03:00
Enzo
c8471528ce
fmt: format long sum-types with a line for each type ( #11461 )
2021-09-10 20:56:55 +03:00
Alexander Medvednikov
5c4385a472
cgen: nofloat for kernel code
2021-09-10 20:54:48 +03:00
Daniel Däschle
be0c54caf9
checker: require or block for sumtype map ( #11089 )
2021-09-10 16:07:39 +03:00
yuyi
af75789bbf
parser: fix reference var followed by block expr ( #11456 )
2021-09-10 15:31:09 +03:00
yuyi
91c6eeeae5
cgen: fix `b := &[5, 6, 7]` ( #11457 )
2021-09-10 14:30:30 +03:00
Delyan Angelov
bdd053fcf1
v.builder: fix `./v examples/v_script.vsh` on windows (this quickfix is thanks to yuyi98)
2021-09-10 12:30:40 +03:00
Delyan Angelov
7143b8ab37
v.checker: allow assigning pointers to fn variables (fix vinix compilation)
2021-09-10 11:48:36 +03:00
Alexander Medvednikov
afeb1525a1
native: rename cgen to code_gen to avoid confusion with cgen
2021-09-10 03:17:53 +03:00
Alexander Medvednikov
0370d4f268
native: fix macho test
2021-09-09 23:00:54 +03:00
Dialga
66ef27a776
tmpl: fix escaping @ ( #11452 )
2021-09-09 20:27:24 +03:00
Alexander Medvednikov
ab3adf3346
checker: no longer allow automatic dereferncing in `a = b`
2021-09-09 20:21:01 +03:00
Alexander Medvednikov
d1e9aa49ea
net.http: in memory cert verification
2021-09-09 19:55:57 +03:00
Vincent Laisney
c8d4a64512
math.big: fix subtract_digit_array ( #11451 )
2021-09-09 14:56:20 +03:00
Enzo
1a2d5f65fb
builtin: add `size_t.str()` again ( #11446 )
2021-09-09 10:50:35 +03:00
Enzo
e57b068df0
os: add `open_uri/1`, use it in `v bug` ( #11450 )
2021-09-09 10:48:53 +03:00
Delyan Angelov
4faa0f8487
v.checker: add checks for `.free()` methods
2021-09-09 09:54:06 +03:00
playX
72089c4feb
js: use prefixed names for functions and global symbols ( #11387 )
2021-09-08 20:30:46 +03:00
Subhomoy Haldar
96d4a0777f
math.big: fix comparison and add tests ( #11449 )
2021-09-08 20:30:20 +03:00
Alexander Medvednikov
4a2728e1bf
checker: verify json.decode type
2021-09-08 14:49:02 +03:00
Alexander Medvednikov
55451baa03
builtin: i32 alias
2021-09-08 14:49:02 +03:00
yuyi
e5360e164a
fmt: remove unnecessary parentheses after `return` ( fix #11423 ) ( #11435 )
2021-09-08 14:19:53 +03:00
Enzo
bef3390f36
builtin: fix compilation ( #11445 )
2021-09-08 14:19:21 +03:00
Vincent Laisney
43fae5de74
bigint: division ( #11386 )
2021-09-08 14:16:35 +03:00
Enzo
56ad5d72ef
builtin: add `.str` method for `i/usize` ( #11441 )
2021-09-08 13:41:08 +03:00
Enzo
e3b65092d6
parser: deprecate `size_t` ( #11443 )
2021-09-08 13:09:32 +03:00
Ruofan XU
892971024e
parser: fix generic detection of `foo < bar<T>()` ( #11434 )
2021-09-08 05:54:15 +03:00
Enzo
cc8ee5fb84
all: introduce `isize` and `usize` ( #11437 )
2021-09-08 05:53:39 +03:00
Alexander Medvednikov
577fedfce1
net.http: fix a bug with ? in new_request
2021-09-08 05:11:02 +03:00
Dialga
00433ba460
net.urllib: avoid a double free in set_path() when compiled with -autofree ( #11427 )
2021-09-07 21:11:03 +03:00
Enzo
79c2bca401
v.scanner: fix error messages with unexpected token `?` ( #11428 )
2021-09-07 20:46:56 +03:00
yuyi
bee5e7de03
v.gen.c: fix generics array delete ( #11429 )
2021-09-07 20:40:21 +03:00
pancake
ddc62ab0d3
native: native prints ( #11426 )
2021-09-07 15:44:15 +03:00
Delyan Angelov
0b6d585b07
v.gen.c: allow overriding of the == operator on C.Struct type aliases
2021-09-07 12:02:01 +03:00
Delyan Angelov
aec016bb14
v.builder: change exit code of `v -check file.v` to 0, when file.v is clean from any errors.
2021-09-07 07:29:45 +03:00
Ned Palacios
aedb6b8e84
v.builder: implement a `-check` mode, that runs only the parser + the checker, without codegen ( #11414 )
2021-09-07 07:17:53 +03:00
Xavier Noria
2533f06e1b
regex: define the predicate matches_string ( #11422 )
2021-09-07 07:01:23 +03:00
Dialga
905c292a81
tmpl: enforce stricter line checking for html interpolation ( #11413 )
2021-09-07 02:21:23 +03:00
penguindark
bd10a63839
builtin: string interpolation: binary format support ( #11421 )
2021-09-07 00:12:54 +03:00
Delyan Angelov
f5a22f15d9
time: fix `./v -o vcross -os cross cmd/v` on macos
2021-09-06 19:50:16 +03:00
Delyan Angelov
c6ff687e8a
term: do not put the unused c_line field in C.termios in declarations_linux.c.v (breaks BSD build)
2021-09-06 19:15:47 +03:00
Delyan Angelov
166dd61e90
Revert "Revert "term: obtain the cursor position via termios.h ( #11372 )""
...
This reverts commit 0376cbf6bd
.
2021-09-06 19:04:14 +03:00
Alexander Medvednikov
0376cbf6bd
Revert "term: obtain the cursor position via termios.h ( #11372 )"
...
This reverts commit af28d09630
.
2021-09-06 18:21:55 +03:00
AAAA
af28d09630
term: obtain the cursor position via termios.h ( #11372 )
2021-09-06 17:24:39 +03:00
Lathanao
78c26e69cf
builtin: fix the string.index_any method ( #11310 )
2021-09-06 15:06:37 +03:00
yuyi
6084c0fc54
checker, cgen: fix complex generic sumtype ( fix #11392 ) ( #11400 )
2021-09-06 03:15:53 +03:00
Dialga
87f38bf6e7
tmpl: don't trim whitespace and escape \ ( #11393 )
2021-09-06 03:12:53 +03:00
penguindark
438bdd1b0b
regex: fix #11404 ( #11406 )
2021-09-06 03:11:38 +03:00
Wertzui123
e5c4c408b5
readline: fix typo ( #11405 )
2021-09-06 03:11:25 +03:00
Alexander Medvednikov
71f1be5388
checker: fix a typo
2021-09-05 18:46:14 +03:00
yuyi
3fd2dd45a4
checker: do now allow type name shadowing ( #11401 )
2021-09-05 18:34:21 +03:00
zakuro
aefe267970
fmt: fix removal of selective imported generic type ( #11395 )
2021-09-05 17:59:35 +03:00
Delyan Angelov
6b55b6d417
ci: add more details for diagnosing the sporadically failing init_global_test.v
2021-09-05 16:19:00 +03:00
yuyi
48e65a7bb2
checker: check type in match range ( fix #11337 ) ( #11389 )
2021-09-05 04:50:43 +03:00
penguindark
724942c4e6
regex: bug fixes ( #11394 )
2021-09-05 04:48:59 +03:00
yuyi
87934ecf39
cgen: fix variable name are 'array' or 'string' ( fix #10991 #11343 ) ( #11378 )
2021-09-04 19:51:45 +03:00
AAAA
289e77d51b
term: group related functions ( #11371 )
2021-09-04 19:49:47 +03:00
yuyi
5181031480
builtin: check array.sort_with_compare() arg mismatch ( #11385 )
2021-09-04 15:02:05 +03:00
Dialga
9b983bdd95
net.urllib: fix double free in escape() ( #11390 )
2021-09-04 14:57:09 +03:00
yuyi
923ef733c0
checker: disallow array sort with fancy args for now ( #11388 )
2021-09-04 14:34:29 +03:00
zakuro
19a43db2de
fmt: fix removal of comment before embed in struct ( #11384 )
2021-09-04 11:02:04 +03:00
Delyan Angelov
91f7be98d0
builtin.js.v: run vfmt
2021-09-03 14:13:36 +03:00
Delyan Angelov
96ef553f59
checker: check sumtype common fields for mutability when assigning too
2021-09-03 13:33:25 +03:00
playX
a4df418a68
js: support `[export: 'AnotherName']` for FnDecl codegen ( #11377 )
2021-09-03 13:00:24 +03:00
yuyi
67ab5b858b
checker: fix checking fn prototype mismatch ( #11369 )
2021-09-03 12:26:46 +03:00
yuyi
939a6417ce
cgen: fix reserved keywords as struct field ( #11370 )
2021-09-03 12:18:45 +03:00
playX
08c517c966
strconv,v.gen.js: proper optionals returns, strconv compiles to the JS backend ( #11364 )
2021-09-03 12:16:07 +03:00
Larpon
bd33eaa3b8
os: add function to expand "~" to home directory ( #11362 )
2021-09-01 16:32:28 +03:00
penguindark
63ff5690ff
sokol.sapp,gg: add support for drag & drop events ( #11359 )
2021-09-01 09:21:27 +03:00
Delyan Angelov
56993b9e2d
net.http: support passing client certificates in http.fetch ( #11356 )
2021-09-01 01:43:35 +03:00
Enzo
d1974f500f
cgen: cleanup `Gen.cc_type` ( #11357 )
2021-08-31 23:55:37 +03:00
Adam Oates
1b262c4f1d
vweb: show correct page on http error 404 ( #11355 )
2021-08-31 21:36:26 +03:00
Subhomoy Haldar
dadfda9400
math.big: implement big.integer in V ( #11352 )
2021-08-31 19:21:00 +03:00
playX
f8aaf4bf67
js: fix strings module ( #11353 )
2021-08-31 17:10:19 +03:00
Delyan Angelov
a208138283
v.markused: support a const used as default value in struct init
2021-08-31 15:55:32 +03:00
Delyan Angelov
f68bdb7805
v.markused.walker: support `for x in struct{}` iterators
2021-08-31 15:15:05 +03:00
Delyan Angelov
37b4553f52
v.parser: fix running `math` programs, from V installed in folders containing `.v`
2021-08-31 09:16:12 +03:00
zakuro
ebed01c946
v.tests: add a test_ fn, that returns an optional ( #11340 )
2021-08-31 08:50:26 +03:00
Alexander Medvednikov
b72a2de931
0.2.4
2021-08-30 22:25:14 +03:00
playX
a9b705bfd8
js: fix printing, make builtins for result and option types behave correctly ( #11336 )
2021-08-30 20:47:18 +03:00
Delyan Angelov
f33f216698
v.markused: fix compilation with `-prod -skip-unused` of programs that embed files
2021-08-30 17:57:33 +03:00
penguindark
8dcb27a11d
sokol: expose the toggle_fullscreen and is_fullscreen functions ( #11339 )
2021-08-30 17:10:14 +03:00
Delyan Angelov
9496fcdfe1
v.builder: fix compilation with tcc on FreeBSD 13.0
2021-08-30 13:21:49 +00:00
yuyi
f44eb88a8d
vfmt: fmt '!(a in/is b)' to 'a !in/is b' ( #11335 )
2021-08-30 09:45:36 +03:00
playX
61ac7b671d
js: add initial support for optional types, IfGuardExpr codegen for `if` ( #11332 )
2021-08-29 14:27:17 +03:00
yuyi
985fe85de2
checker: show concretes type name in error message ( #11333 )
2021-08-29 12:08:57 +03:00
Daniel Däschle
ac442abc11
checker: allow noreturn in match expr ( #11126 )
2021-08-29 11:57:11 +03:00
yuyi
4ce9ad6a56
util/module: fix mod_path_to_full_name() ( #11329 )
2021-08-29 11:56:05 +03:00
yuyi
8be2be8311
all: change 'if !(a in b)' to 'if a !in b' ( #11330 )
2021-08-29 11:55:18 +03:00
playX
118c5fdcd8
js: fix -stats compilation of tests, proper alias codegen ( #11327 )
2021-08-28 16:57:33 +03:00
Delyan Angelov
f41939f005
ci: fix deprecations.out (time is now > 2021/08/28 00:00:00)
2021-08-28 13:02:59 +03:00
Alexander Medvednikov
cf4081e2dd
all: more chdir/chmod fixes
2021-08-28 12:52:48 +03:00
yuyi
e90a624738
checker: fix generic fn infer variadic parameter with arrays ( #11324 )
2021-08-28 10:32:51 +03:00
Alexander Medvednikov
f731060caf
all: update chmod/chdir usages
2021-08-28 10:23:01 +03:00
Alexander Medvednikov
29f550158e
all: update chdir usages
2021-08-28 09:39:18 +03:00
Alexander Medvednikov
853d3cb83e
os: make chmod() return error
2021-08-28 09:37:24 +03:00
Alexander Medvednikov
858ba25d55
os: make chdir() return error
2021-08-28 09:35:39 +03:00
Larpon
e85311c2ba
gg: change draw_cubic_bezier* call signatures for speed and to match *_poly ( #11323 )
2021-08-27 16:52:05 +03:00
William Gooch
4d5521bbf7
scanner: clarify the float literal warning ( #11313 )
2021-08-27 16:49:29 +03:00
Delyan Angelov
c954c2834a
net: add `-d trace_tcp` support for more TcpConn methods; support again `-d net_blocking_sockets` too
2021-08-27 13:10:34 +03:00
crthpl
a85467eb0f
cgen: fix `expr in shared_array` ( #11319 )
2021-08-27 11:48:32 +03:00
Delyan Angelov
16455a7660
fmt: preserve local fn parameter, when a module const with the same name is declared
2021-08-27 09:22:53 +03:00
playX
bdf11d969a
js: add basic support for running tests, fix string.replace_each ( #11314 )
2021-08-26 15:20:54 +03:00
Delyan Angelov
db194abeac
os: merge os.c.v and os_c.c.v
2021-08-26 10:01:55 +03:00
yuyi
187c1c160b
parser: minor cleanup in comp_call() ( #11311 )
2021-08-26 07:57:10 +03:00