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

Commit Graph

  • 60add6cc28 ci: fix failing tests Delyan Angelov 2021-10-07 19:22:08 +03:00
  • c356e347f5 pref: do not allow -prod with v run Alexander Medvednikov 2021-10-07 16:13:58 +03:00
  • 33a1006cc5 js: comptime&assert improvements, more byte and strings.Builder methods ported (#12096) playX 2021-10-07 15:55:47 +03:00
  • 42359d8915 toml: fix error return in value parsing (#12097) Larpon 2021-10-07 14:51:18 +02:00
  • fbe54e49f5 tools: support v fmt -w -backup file.v Delyan Angelov 2021-10-07 13:59:13 +03:00
  • 09cc0c7247 gg: use sgl.begin_points for pixels + improve pixels example (#12085) Larpon 2021-10-07 09:46:57 +02:00
  • d2d70450a5 gg: use sgl.begin_triangles when drawing triangles (#12083) Larpon 2021-10-07 09:45:21 +02:00
  • 53aa4eba0d sokol: add sg_isvalid wrapper to gfx (#12081) Larpon 2021-10-07 09:41:57 +02:00
  • f454d30318 gg: use sgl.begin_triangles when drawing triangles (#12083) Larpon 2021-10-07 02:45:23 +02:00
  • 42c088896a gg: mute font print on Linux, use flag debug_font instead (#12082) Larpon 2021-10-07 02:45:02 +02:00
  • 32259af2c9 v.parser: improve error message when no arch is set 'asm{}' (#12093) pancake 2021-10-07 02:44:27 +02:00
  • e53682320c v.gen.c: fix compiling go f(x) for x of the same struct in different .v files with parallel cgen Delyan Angelov 2021-10-06 22:12:14 +03:00
  • 0d53705776 v.checker: check fn returning void type (fix #12076) (#12078) yuyi 2021-10-07 02:04:33 +08:00
  • 5f736dd768 v test-cleancode: remove interop_test.v from the exceptions list (#12084) yuyi 2021-10-07 01:53:50 +08:00
  • 963233687e v.fmt: fix fmt of 'fn(mut a &int)' (#12075) yuyi 2021-10-07 01:51:38 +08:00
  • f1742a6f62 v.ast: change 'type.to_ptr()' to 'type.ref()' (#12086) yuyi 2021-10-07 01:49:39 +08:00
  • 77c18f4435 cgen: fix alphabetic order of ast statement generation (#12080) Wertzui123 2021-10-06 13:32:42 +02:00
  • b2945e916f js: add initial support for runes (#12077) playX 2021-10-06 10:43:49 +03:00
  • 115493781b tests: make the output of coutput_test.v more accurate/easily reproducible in case of failures Delyan Angelov 2021-10-06 10:15:18 +03:00
  • 5bc8b4dadb os: implement support for VOPEN_URI_CMD env override for os.open_uri Delyan Angelov 2021-10-06 06:29:32 +03:00
  • 2526aca75f tests: fix typo in coutput_test.v (thanks Jalon) Delyan Angelov 2021-10-06 00:33:01 +03:00
  • efa1092199 v.gen.c: add coutput tests for the [console] codegen to prevent future regressions Delyan Angelov 2021-10-06 00:14:16 +03:00
  • aa8915bdf6 v.gen.c: fix [console] handling for sokol programs on windows with parallel cgen Delyan Angelov 2021-10-05 23:57:14 +03:00
  • 443fa50244 docs: cleanup the Test files section a little Delyan Angelov 2021-10-05 22:49:51 +03:00
  • 6d2c1f7e2c v.gen.c: enable again parallel cgen for -g, make -g more robust Delyan Angelov 2021-10-05 21:44:26 +03:00
  • 7cf9c198fe asm: add segment addressing and fix [10] (#12068) crthpl 2021-10-05 08:57:15 -07:00
  • 514443a019 ci: comment out a failing assert in the tests for os.notify Delyan Angelov 2021-10-05 16:01:54 +03:00
  • eef8017281 ci: reduce flakyness of notify_test.v, by re-trying it 3 times Delyan Angelov 2021-10-05 15:50:33 +03:00
  • ccb5f1d563 tests: support // vtest vflags: -prod in coutput_test.v. Delyan Angelov 2021-10-05 15:43:33 +03:00
  • e23d61d99e v.pref: disable the parallel cgen when -g is given for now (the line numbers/paths are wrong) Delyan Angelov 2021-10-05 15:08:28 +03:00
  • 92f2e5bad2 v.gen.c: fix compilation with -prod, for files using $embed_file() (regression after parallel cgen in 85b58b0) Delyan Angelov 2021-10-05 15:06:17 +03:00
  • b4d1429ef0 tests: rename as_cast_literal.v to as_cast_literal_test.v Delyan Angelov 2021-10-05 11:57:57 +03:00
  • 7bc3e67e24 fmt: fix import with symbols (fix #12065) (#12069) yuyi 2021-10-05 16:44:48 +08:00
  • 7555b337b9 cgen: fix expr_as_cast for int/float literals (#12067) 05st 2021-10-05 01:53:05 -05:00
  • 8d1ba52d0c js: fix string.bytes codegen, readline, add tests for strings (#12060) playX 2021-10-04 18:28:30 +03:00
  • e94e08475d cgen: format shared structs (#12062) yuyi 2021-10-04 23:27:38 +08:00
  • 03269f9854 cgen: fix error of reference struct str() (#12061) yuyi 2021-10-04 14:58:50 +08:00
  • a8c2c419cd builtin: improve malloc panic messages (#12054) Larpon 2021-10-03 19:27:46 +02:00
  • bfb8116623 ci: let process_test.v repeatedly fail 3 times, before consider it failed Delyan Angelov 2021-10-03 20:26:38 +03:00
  • 82e6d6e51d cgen: fix threads array wait without go calls (fix #12009) (#12050) yuyi 2021-10-03 23:24:44 +08:00
  • b62520af9e os: fix rare crash in read_file. Fix #12052 (#12053) Larpon 2021-10-03 17:24:06 +02:00
  • 895daf297f vweb: router refactor (#12041) Anton Zavodchikov 2021-10-03 18:26:44 +05:00
  • 9be16eba63 v.gen.c: add tests to ensure the same calling convention is used on exported functions for -m32/-m64 (#11977) Ekopalypse 2021-10-03 14:47:08 +02:00
  • 9b6e07e2a6 cgen: support index and in for sumtype/interface arrays (#12051) spaceface 2021-10-03 14:44:13 +02:00
  • 10caf4a84a cgen: cleanup generated thread wait code (#12048) yuyi 2021-10-03 15:52:29 +08:00
  • 9145cd66ec js: add more tests to builtin/js and implement more builtin functions (#12049) playX 2021-10-03 10:08:21 +03:00
  • 129c81f34d cgen: implement eq operator for interfaces (#12047) 05st 2021-10-03 01:04:05 -05:00
  • f282e64fe3 arrays: add binary_search, lower_bound, and upper_bound array operations (#12045) 05st 2021-10-03 00:14:39 -05:00
  • 117091452b os: workaround _ = C.pipe(&pipeset[0]) gcc warning warning: ignoring return value of pipe declared with attribute warn_unused_result (#12046) Nicolas Sauzede 2021-10-03 07:09:08 +02:00
  • 86a5e72c74 v.checker: fix return type checking being skipped for mutable method receivers (#12043) 05st 2021-10-02 15:26:46 -05:00
  • 02e4aa0f0e v.checker: fix panic for a, b, c = fn_returning_several_maps() Delyan Angelov 2021-10-02 18:40:35 +03:00
  • 0916806350 ci: do not use htonll and ntohll on windows, use the portable versions instead. Delyan Angelov 2021-10-02 18:20:24 +03:00
  • 9a4dbc25ca ci: fix failing conv_test.v on windows Delyan Angelov 2021-10-02 15:51:41 +03:00
  • 4c8094d0d9 net.http: make public errors and parse_form (#12038) Anton Zavodchikov 2021-10-02 17:28:35 +05:00
  • 600880660a net.http: add a deprecated attribute for un/escape functions (#12037) Anton Zavodchikov 2021-10-02 17:19:32 +05:00
  • c86935309e v.gen.c: fix compilation of if c_struct_1 != c_struct_2 { Delyan Angelov 2021-10-02 15:05:57 +03:00
  • cc4af235f3 cgen: fix if-expression code generation if it evaluates to propagating optional / or block (#12032) 05st 2021-10-02 06:30:04 -05:00
  • 552daea04f tools: fix the output of v run cmd/tools/oldv.v d329e1d -c "./v file.v" Delyan Angelov 2021-10-02 14:13:17 +03:00
  • d1d4877348 net.conv: add a test for the nth16/nth32/nth64/htn16/htn32/htn64 functions Delyan Angelov 2021-10-02 13:26:09 +03:00
  • 82f187e5e0 js: fix rand build, properly use key values on map, add rand.string (#12020) playX 2021-10-01 21:23:49 +03:00
  • 60ecbec8ea cgen: fix closure code gen with if statement in definition (#12028) 05st 2021-10-01 08:52:34 -05:00
  • cb149bfa00 checker: show errors for index calls to values which are not functions, fixes #11539 (#12024) Alexander Ivanov 2021-10-01 15:17:02 +03:00
  • ce0867f40c vfmt: fix removal of selective imported type used in map (#12030) zakuro 2021-10-01 21:14:21 +09:00
  • 41de0c3c6a ci: fix v -cc gcc -cstrict examples/pico/pico.v Delyan Angelov 2021-10-01 13:49:38 +03:00
  • 6f7c3a7cdf ci: do brew install openssl on the macos job, reduce flakyness of tcp_test.v Delyan Angelov 2021-10-01 13:13:05 +03:00
  • 2bdba5ed73 net: fix declarations of C.htonl/C.htons/C.ntohl/C.ntohs in aasocket.c.v Delyan Angelov 2021-10-01 12:57:47 +03:00
  • 149517ced4 v.builder,v.gen: time Builder.front_stages.parse_files, Builder.resolve_deps, Gen.sort_structs Delyan Angelov 2021-09-30 20:49:09 +03:00
  • 4a6d161c08 orm: postgres fixes Alexander Medvednikov 2021-09-30 20:00:23 +03:00
  • 8705db5844 toml: fix scanner escape collecting in literal strings (#12022) Larpon 2021-09-30 15:04:21 +02:00
  • d4b3c65c45 cgen: a minor optimization; checker: a c2v fix Alexander Medvednikov 2021-09-30 12:51:32 +03:00
  • 6cffcf515a docs: add the topics Hoistings and Closures (#12021) cindRoberta 2021-09-30 06:43:26 -03:00
  • e3d379a1eb builtin: add byte.repeat() and rune.repeat() (#12007) Wertzui123 2021-09-30 08:32:20 +02:00
  • f9ceb12e22 checker: fix orm cast check (#12018) Louis Schmieder 2021-09-29 23:43:08 +02:00
  • d374c347e5 ci: fix gitly test Alexander Medvednikov 2021-09-30 00:08:28 +03:00
  • e3d3727c0c toml: fix 7 escape tests (#12017) Larpon 2021-09-29 18:28:09 +02:00
  • c2f535fee1 ci: run the gitly web server test Alexander Medvednikov 2021-09-29 19:26:43 +03:00
  • 4333a53f28 js: support running .js.v tests in v test-self, fixes for array methods & codegen (#12011) playX 2021-09-29 15:33:14 +03:00
  • 4ff061927b toml: easier scanner configuration (#12016) Larpon 2021-09-29 13:53:06 +02:00
  • f2c710d306 cgen: fix fn mut args with interface type (#12012) yuyi 2021-09-29 18:54:23 +08:00
  • 8789cc422c v.ast: fix fmt of 'bytestr' to '&byte' (#12014) yuyi 2021-09-29 18:53:46 +08:00
  • d39fec3479 toml: fix unbalanced quoted tests (#12006) Larpon 2021-09-29 09:19:49 +02:00
  • 24c1d552d7 ci: vfmt vlib/v/gen/c/cgen.v weekly.2021.39.1 Delyan Angelov 2021-09-29 08:58:27 +03:00
  • 8dde9d4a7b cgen: fixes for ... in with index (#11995) André Diego Piske 2021-09-28 18:35:07 +02:00
  • 5d3795e876 cgen: fix the C codegen error for '_ = map[key]' (fix #11999) (#12000) yuyi 2021-09-28 23:45:50 +08:00
  • 86694ddc85 ci: bump up fetch-depth to 10 for the bootstrapping CI jobs Delyan Angelov 2021-09-28 18:43:33 +03:00
  • bc4aad5fb4 toml: add quote details to ast.Quoted (#11997) Larpon 2021-09-28 16:40:03 +02:00
  • a03693e881 ci: extract bootstrapping tests into their own .yml file Delyan Angelov 2021-09-28 17:26:40 +03:00
  • 85c38bac34 ci: make the bootstrapping failure detection more sensitive Delyan Angelov 2021-09-28 17:17:55 +03:00
  • 87fe15e39f ci: fix typo Delyan Angelov 2021-09-28 15:30:05 +03:00
  • 3467ab1551 ci: fix the g++ build and the alpine-musl task Delyan Angelov 2021-09-28 15:23:16 +03:00
  • 9bf6d57032 ci: remove make.bat --verbose usages from the .yml files Delyan Angelov 2021-09-28 13:11:55 +03:00
  • c8f1e6b5b6 ci: simplify make.bat, make it verbose to fix errors easier Delyan Angelov 2021-09-28 13:00:27 +03:00
  • d07a96ede8 v.gen.c: fix v examples/hello_world.v on FreeBSD Delyan Angelov 2021-09-28 12:00:34 +03:00
  • 8f4fe61381 v.pref: only show the disabling parallel cgen message when -no-parallel was not given and -prealloc was Delyan Angelov 2021-09-28 11:52:16 +03:00
  • 975550f912 ci: add -lpthread on FreeBSD's makefile Delyan Angelov 2021-09-28 11:42:14 +03:00
  • d31c9250d3 ci: further makefile bootstrapping fixes Delyan Angelov 2021-09-28 11:38:33 +03:00
  • 97eb0fc74f ci: workaround linking on macos (missing sem_timedwait) Delyan Angelov 2021-09-28 11:27:47 +03:00
  • 9e2607db57 sync: rename sync_macos.c.v to sync_darwin.c.v Delyan Angelov 2021-09-28 11:12:03 +03:00
  • 858161bbc4 ci: fix makefiles Delyan Angelov 2021-09-28 11:02:05 +03:00
  • 6b40ead54d fix ./v -cc g++ run examples/concurrency/concurrency_http.v Delyan Angelov 2021-09-28 09:20:49 +03:00