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

Commit Graph

  • d5e00b0920 checker, cgen: fix generic arrays sum() (#11502) yuyi 2021-09-16 12:08:28 +08:00
  • 09ded16e3d checker: use 'if foo in [TypeA, TypeB]' in checker.v (#11494) yuyi 2021-09-16 12:08:14 +08:00
  • 7d1776b84d js: equality method generation for V types (#11503) playX 2021-09-16 07:07:48 +03:00
  • d00808660f json: omitempty Alexander Medvednikov 2021-09-16 07:02:43 +03:00
  • 5bc6cc9512 v.checker: fix spurious warning for if x := map_of_sumtypes[k] {} Delyan Angelov 2021-09-15 15:42:28 +03:00
  • 7145461cc5 arrays: switch panics to optionals (#11497) JalonSolov 2021-09-15 08:17:55 -04:00
  • ef690dc06b testing: remove panics when cleaning up after test runs (#11505) yuyi 2021-09-15 20:15:46 +08:00
  • 41fc4c55c6 v.builder: simplify target architecture logic for msvc (#11491) weekly.2021.37 Ekopalypse 2021-09-14 16:47:26 +02:00
  • 0c0e28df6e arrays: add more modern array operation functions (#11488) ChAoS_UnItY 2021-09-14 21:49:23 +08:00
  • 9554470985 checker, cgen: fix generic operator overload of 'cmp' (#11489) yuyi 2021-09-14 21:20:02 +08:00
  • 8862c3af0f all: implement if foo in [Foo1, Foo2, Foo3] (#11486) yuyi 2021-09-14 20:56:12 +08:00
  • 12ec900d20 checker: fix the void type check Alexander Medvednikov 2021-09-14 01:02:20 +03:00
  • b63ec8fbcf checker: require params attribute to use struct as keyword arguments in function (#11135) Daniel Däschle 2021-09-13 23:05:30 +02:00
  • ae41d1d3c6 builtin, cgen: more -nofloat fixes Alexander Medvednikov 2021-09-13 19:06:19 +03:00
  • 8fc0b486a2 builtin: fix string interpolation when compiling with -nofloat Alexander Medvednikov 2021-09-13 18:40:32 +03:00
  • c99281709b pref: define nofloat comptime define Alexander Medvednikov 2021-09-13 18:34:58 +03:00
  • 04d4431299 checker: remove another unnecessary error Alexander Medvednikov 2021-09-13 18:17:44 +03:00
  • cfcc57f5d3 checker: remove unnecessary "no methods" error; builder: skip float.c.v with -nofloat Alexander Medvednikov 2021-09-13 18:14:26 +03:00
  • 2ced845e30 arrays: add chunk and window functions (#11476) ChAoS_UnItY 2021-09-13 21:13:32 +08:00
  • b9dfc89aa9 js: prefix V builtin functions, so they do not overlap with JS (#11483) playX 2021-09-13 11:44:55 +03:00
  • 480fe8041a math.stats: update math.stats using generics (#11482) Ulises Jeremias Cornejo Fandos 2021-09-13 04:20:38 -03:00
  • 30029eaf5d checker, cgen: fix generic operator overload (fix #11472) (#11479) yuyi 2021-09-13 14:49:28 +08:00
  • 012da10517 ast, fmt: cleanup (#11477) Enzo 2021-09-13 03:08:58 +02:00
  • cd7d482c3b checker: fix generic array append (#11475) yuyi 2021-09-12 20:09:11 +08:00
  • ccf6285f82 checker: allow mut arg on C functions (#11430) Enzo 2021-09-11 13:25:38 +02:00
  • 5b619b99c2 v.gen.js: Interfaces support, fix for error propagation & panic stacktraces (#11471) playX 2021-09-11 14:24:47 +03:00
  • 90e04d03b2 net.http: fix request_test.v Alexander Medvednikov 2021-09-11 06:16:00 +03:00
  • f9eb14d914 builder: remove fPic argument from windows builds (#11467) Ekopalypse 2021-09-11 03:48:02 +02:00
  • fb20a92b1e fmt: fix a bug that break generics call in string inter (#11468) zakuro 2021-09-11 10:47:22 +09:00
  • 145467050d doc: fix typo in Array slice (#11469) Sam Kravitz 2021-09-10 21:46:51 -04:00
  • 1546090131 vweb: remove a duplicate function parse_multipart_form Alexander Medvednikov 2021-09-11 04:21:10 +03:00
  • 07bd61582c js: fix strconv build, BigInt infix fix (#11464) playX 2021-09-11 00:11:36 +03:00
  • 36fedd28b9 docs: deference operator Alexander Medvednikov 2021-09-10 22:53:05 +03:00
  • c8471528ce fmt: format long sum-types with a line for each type (#11461) Enzo 2021-09-10 19:56:55 +02:00
  • 5c4385a472 cgen: nofloat for kernel code Alexander Medvednikov 2021-09-10 20:54:41 +03:00
  • 5010d18f27 examples: use double buffering for mandelbrot.v, to remove flickering on m1 Delyan Angelov 2021-09-10 19:46:10 +03:00
  • fa0983128f examples: add a mandelbrot viewer example Delyan Angelov 2021-09-10 18:57:35 +03:00
  • be0c54caf9 checker: require or block for sumtype map (#11089) Daniel Däschle 2021-09-10 15:07:39 +02:00
  • af75789bbf parser: fix reference var followed by block expr (#11456) yuyi 2021-09-10 20:31:09 +08:00
  • 91c6eeeae5 cgen: fix b := &[5, 6, 7] (#11457) yuyi 2021-09-10 19:30:30 +08:00
  • 6ea750da8d v test-all: add a v run examples/v_script.vsh step too Delyan Angelov 2021-09-10 12:43:53 +03:00
  • bdd053fcf1 v.builder: fix ./v examples/v_script.vsh on windows (this quickfix is thanks to yuyi98) Delyan Angelov 2021-09-10 12:29:43 +03:00
  • 48f0ef0a33 ci: ignore patch problems for vinix-kernel.yml Delyan Angelov 2021-09-10 12:19:05 +03:00
  • 7143b8ab37 v.checker: allow assigning pointers to fn variables (fix vinix compilation) Delyan Angelov 2021-09-10 11:43:51 +03:00
  • afeb1525a1 native: rename cgen to code_gen to avoid confusion with cgen Alexander Medvednikov 2021-09-10 03:17:53 +03:00
  • 0370d4f268 native: fix macho test Alexander Medvednikov 2021-09-09 23:00:54 +03:00
  • 66ef27a776 tmpl: fix escaping @ (#11452) Dialga 2021-09-10 05:27:24 +12:00
  • ab3adf3346 checker: no longer allow automatic dereferncing in a = b Alexander Medvednikov 2021-09-09 20:21:01 +03:00
  • d1e9aa49ea net.http: in memory cert verification Alexander Medvednikov 2021-09-09 19:55:49 +03:00
  • c8d4a64512 math.big: fix subtract_digit_array (#11451) Vincent Laisney 2021-09-09 13:56:20 +02:00
  • 1a2d5f65fb builtin: add size_t.str() again (#11446) Enzo 2021-09-09 09:50:35 +02:00
  • e57b068df0 os: add open_uri/1, use it in v bug (#11450) Enzo 2021-09-09 09:48:53 +02:00
  • 4faa0f8487 v.checker: add checks for .free() methods Delyan Angelov 2021-09-09 09:15:21 +03:00
  • 72089c4feb js: use prefixed names for functions and global symbols (#11387) playX 2021-09-08 20:30:46 +03:00
  • 96d4a0777f math.big: fix comparison and add tests (#11449) Subhomoy Haldar 2021-09-08 23:00:20 +05:30
  • 4a2728e1bf checker: verify json.decode type Alexander Medvednikov 2021-09-08 14:48:57 +03:00
  • 55451baa03 builtin: i32 alias Alexander Medvednikov 2021-09-08 14:48:49 +03:00
  • e5360e164a fmt: remove unnecessary parentheses after return (fix #11423) (#11435) yuyi 2021-09-08 19:19:53 +08:00
  • bef3390f36 builtin: fix compilation (#11445) Enzo 2021-09-08 13:19:21 +02:00
  • 43fae5de74 bigint: division (#11386) Vincent Laisney 2021-09-08 13:16:35 +02:00
  • 56ad5d72ef builtin: add .str method for i/usize (#11441) Enzo 2021-09-08 12:41:08 +02:00
  • e3b65092d6 parser: deprecate size_t (#11443) Enzo 2021-09-08 12:09:32 +02:00
  • 892971024e parser: fix generic detection of foo < bar<T>() (#11434) Ruofan XU 2021-09-08 10:54:15 +08:00
  • cc8ee5fb84 all: introduce isize and usize (#11437) Enzo 2021-09-08 04:53:39 +02:00
  • 577fedfce1 net.http: fix a bug with ? in new_request Alexander Medvednikov 2021-09-08 05:11:02 +03:00
  • 00433ba460 net.urllib: avoid a double free in set_path() when compiled with -autofree (#11427) Dialga 2021-09-08 06:11:03 +12:00
  • 79c2bca401 v.scanner: fix error messages with unexpected token ? (#11428) Enzo 2021-09-07 19:46:56 +02:00
  • bee5e7de03 v.gen.c: fix generics array delete (#11429) yuyi 2021-09-08 01:40:21 +08:00
  • ddc62ab0d3 native: native prints (#11426) pancake 2021-09-07 14:44:15 +02:00
  • 0b6d585b07 v.gen.c: allow overriding of the == operator on C.Struct type aliases weekly.2021.36 Delyan Angelov 2021-09-07 11:30:33 +03:00
  • aec016bb14 v.builder: change exit code of v -check file.v to 0, when file.v is clean from any errors. Delyan Angelov 2021-09-07 07:29:45 +03:00
  • aedb6b8e84 v.builder: implement a -check mode, that runs only the parser + the checker, without codegen (#11414) Ned Palacios 2021-09-07 12:17:53 +08:00
  • 823c9a3c84 ci: fix vinix-build job after commit 9776274 in vinix Delyan Angelov 2021-09-07 07:13:42 +03:00
  • 2533f06e1b regex: define the predicate matches_string (#11422) Xavier Noria 2021-09-07 06:01:23 +02:00
  • f2f7abe2f4 match as alternative to if and unless (#11407) cindRoberta 2021-09-07 00:38:39 -03:00
  • 905c292a81 tmpl: enforce stricter line checking for html interpolation (#11413) Dialga 2021-09-07 11:21:23 +12:00
  • bd10a63839 builtin: string interpolation: binary format support (#11421) penguindark 2021-09-06 23:12:54 +02:00
  • fae0f8d821 tracev: fix running v tracev from directory with space (#11419) Dialga 2021-09-07 09:12:05 +12:00
  • 83d492bcb8 ci: add a v.c can be compiled and run with -os cross step on the macos job too Delyan Angelov 2021-09-06 20:38:51 +03:00
  • f5a22f15d9 time: fix ./v -o vcross -os cross cmd/v on macos Delyan Angelov 2021-09-06 19:50:16 +03:00
  • c6ff687e8a term: do not put the unused c_line field in C.termios in declarations_linux.c.v (breaks BSD build) Delyan Angelov 2021-09-06 19:15:47 +03:00
  • 166dd61e90 Revert "Revert "term: obtain the cursor position via termios.h (#11372)"" Delyan Angelov 2021-09-06 19:04:14 +03:00
  • 0376cbf6bd Revert "term: obtain the cursor position via termios.h (#11372)" Alexander Medvednikov 2021-09-06 18:21:55 +03:00
  • af28d09630 term: obtain the cursor position via termios.h (#11372) AAAA 2021-09-06 14:24:39 +00:00
  • 78c26e69cf builtin: fix the string.index_any method (#11310) Lathanao 2021-09-06 19:06:37 +07:00
  • 6084c0fc54 checker, cgen: fix complex generic sumtype (fix #11392) (#11400) yuyi 2021-09-06 08:15:53 +08:00
  • 87f38bf6e7 tmpl: don't trim whitespace and escape \ (#11393) Dialga 2021-09-06 12:12:53 +12:00
  • 2cfc6e007d test: allow testing files from a relative directory (#11391) Dialga 2021-09-06 12:11:58 +12:00
  • 438bdd1b0b regex: fix #11404 (#11406) penguindark 2021-09-06 02:11:38 +02:00
  • e5c4c408b5 readline: fix typo (#11405) Wertzui123 2021-09-06 02:11:25 +02:00
  • 71f1be5388 checker: fix a typo Alexander Medvednikov 2021-09-05 18:46:14 +03:00
  • 3fd2dd45a4 checker: do now allow type name shadowing (#11401) yuyi 2021-09-05 23:34:21 +08:00
  • 51410b0922 docs: add example for map's .keys() method (#11397) zakuro 2021-09-06 00:23:04 +09:00
  • aefe267970 fmt: fix removal of selective imported generic type (#11395) zakuro 2021-09-05 23:59:35 +09:00
  • 6b55b6d417 ci: add more details for diagnosing the sporadically failing init_global_test.v Delyan Angelov 2021-09-05 16:18:36 +03:00
  • f1cba44154 examples: add a gg drag'n'drop example (#11403) penguindark 2021-09-05 15:14:38 +02:00
  • 48e65a7bb2 checker: check type in match range (fix #11337) (#11389) yuyi 2021-09-05 09:50:43 +08:00
  • 724942c4e6 regex: bug fixes (#11394) penguindark 2021-09-05 03:48:59 +02:00
  • 87934ecf39 cgen: fix variable name are 'array' or 'string' (fix #10991 #11343) (#11378) yuyi 2021-09-05 00:51:45 +08:00
  • 289e77d51b term: group related functions (#11371) AAAA 2021-09-04 16:49:47 +00:00