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

Commit Graph

  • 5181031480 builtin: check array.sort_with_compare() arg mismatch (#11385) yuyi 2021-09-04 20:02:05 +08:00
  • 9b983bdd95 net.urllib: fix double free in escape() (#11390) Dialga 2021-09-04 23:57:09 +12:00
  • 923ef733c0 checker: disallow array sort with fancy args for now (#11388) yuyi 2021-09-04 19:34:29 +08:00
  • 0115a51de4 makefiles: rename as requested in issues tracker (#11380) Paul Dardeau 2021-09-04 06:32:42 -05:00
  • 4503ff337b v help: enumerate all js_* backends (#11383) pancake 2021-09-04 10:03:21 +02:00
  • 19a43db2de fmt: fix removal of comment before embed in struct (#11384) zakuro 2021-09-04 17:02:04 +09:00
  • 91f7be98d0 builtin.js.v: run vfmt Delyan Angelov 2021-09-03 14:13:36 +03:00
  • 96ef553f59 checker: check sumtype common fields for mutability when assigning too Delyan Angelov 2021-09-03 13:21:35 +03:00
  • a4df418a68 js: support [export: 'AnotherName'] for FnDecl codegen (#11377) playX 2021-09-03 13:00:24 +03:00
  • 67ab5b858b checker: fix checking fn prototype mismatch (#11369) yuyi 2021-09-03 17:26:46 +08:00
  • 939a6417ce cgen: fix reserved keywords as struct field (#11370) yuyi 2021-09-03 17:18:45 +08:00
  • 08c517c966 strconv,v.gen.js: proper optionals returns, strconv compiles to the JS backend (#11364) playX 2021-09-03 12:16:07 +03:00
  • 227d12f1ac tutorial: fix missing & in README.md (#11363) srp-at-ah 2021-09-02 08:30:05 +02:00
  • bd33eaa3b8 os: add function to expand "~" to home directory (#11362) Larpon 2021-09-01 15:32:28 +02:00
  • 63ff5690ff sokol.sapp,gg: add support for drag & drop events (#11359) penguindark 2021-09-01 08:21:27 +02:00
  • 56993b9e2d net.http: support passing client certificates in http.fetch (#11356) Delyan Angelov 2021-09-01 01:43:35 +03:00
  • d1974f500f cgen: cleanup Gen.cc_type (#11357) Enzo 2021-08-31 22:55:37 +02:00
  • 1b262c4f1d vweb: show correct page on http error 404 (#11355) Adam Oates 2021-08-31 13:36:26 -05:00
  • dadfda9400 math.big: implement big.integer in V (#11352) Subhomoy Haldar 2021-08-31 21:51:00 +05:30
  • f8aaf4bf67 js: fix strings module (#11353) playX 2021-08-31 17:10:19 +03:00
  • a208138283 v.markused: support a const used as default value in struct init Delyan Angelov 2021-08-31 15:55:32 +03:00
  • f68bdb7805 v.markused.walker: support for x in struct{} iterators Delyan Angelov 2021-08-31 15:14:23 +03:00
  • e72af5e2ee examples: fix 404 status code for not found pages in examples/http_server.v Delyan Angelov 2021-08-31 12:13:58 +03:00
  • 37b4553f52 v.parser: fix running math programs, from V installed in folders containing .v Delyan Angelov 2021-08-31 09:16:03 +03:00
  • ebed01c946 v.tests: add a test_ fn, that returns an optional (#11340) zakuro 2021-08-31 14:50:26 +09:00
  • b72a2de931 0.2.4 0.2.4 Alexander Medvednikov 2021-08-30 22:25:04 +03:00
  • a9b705bfd8 js: fix printing, make builtins for result and option types behave correctly (#11336) playX 2021-08-30 20:47:18 +03:00
  • f33f216698 v.markused: fix compilation with -prod -skip-unused of programs that embed files Delyan Angelov 2021-08-30 17:57:33 +03:00
  • 8dcb27a11d sokol: expose the toggle_fullscreen and is_fullscreen functions (#11339) penguindark 2021-08-30 16:10:14 +02:00
  • 9496fcdfe1 v.builder: fix compilation with tcc on FreeBSD 13.0 Delyan Angelov 2021-08-30 13:21:49 +00:00
  • f44eb88a8d vfmt: fmt '!(a in/is b)' to 'a !in/is b' (#11335) yuyi 2021-08-30 14:45:36 +08:00
  • 61ac7b671d js: add initial support for optional types, IfGuardExpr codegen for if (#11332) playX 2021-08-29 14:27:17 +03:00
  • 985fe85de2 checker: show concretes type name in error message (#11333) yuyi 2021-08-29 17:08:57 +08:00
  • ac442abc11 checker: allow noreturn in match expr (#11126) Daniel Däschle 2021-08-29 10:57:11 +02:00
  • 4ce9ad6a56 util/module: fix mod_path_to_full_name() (#11329) yuyi 2021-08-29 16:56:05 +08:00
  • 8be2be8311 all: change 'if !(a in b)' to 'if a !in b' (#11330) yuyi 2021-08-29 16:55:18 +08:00
  • 118c5fdcd8 js: fix -stats compilation of tests, proper alias codegen (#11327) playX 2021-08-28 16:57:33 +03:00
  • 25bf68e2f1 ci: os.chdir() fixes for windows jobs Delyan Angelov 2021-08-28 16:21:46 +03:00
  • f41939f005 ci: fix deprecations.out (time is now > 2021/08/28 00:00:00) Delyan Angelov 2021-08-28 13:02:59 +03:00
  • cf4081e2dd all: more chdir/chmod fixes Alexander Medvednikov 2021-08-28 12:51:37 +03:00
  • 2b92ccecb5 ci: fix v build-examples and v build-tools Delyan Angelov 2021-08-28 12:44:03 +03:00
  • 8a49a06201 v up: update os.chdir call to handle error (#11328) Steve Phillips 2021-08-28 02:34:10 -07:00
  • e90a624738 checker: fix generic fn infer variadic parameter with arrays (#11324) yuyi 2021-08-28 15:32:51 +08:00
  • f731060caf all: update chmod/chdir usages Alexander Medvednikov 2021-08-28 10:23:01 +03:00
  • 29f550158e all: update chdir usages Alexander Medvednikov 2021-08-28 09:39:18 +03:00
  • 853d3cb83e os: make chmod() return error Alexander Medvednikov 2021-08-28 09:37:24 +03:00
  • 858ba25d55 os: make chdir() return error Alexander Medvednikov 2021-08-28 09:35:39 +03:00
  • e85311c2ba gg: change draw_cubic_bezier* call signatures for speed and to match *_poly (#11323) Larpon 2021-08-27 15:52:05 +02:00
  • 4d5521bbf7 scanner: clarify the float literal warning (#11313) William Gooch 2021-08-27 09:49:29 -04:00
  • c954c2834a net: add -d trace_tcp support for more TcpConn methods; support again -d net_blocking_sockets too Delyan Angelov 2021-08-27 13:10:34 +03:00
  • a85467eb0f cgen: fix expr in shared_array (#11319) crthpl 2021-08-27 01:48:32 -07:00
  • 5f90d5702e v test-self: support skipping specific tests for amd64/!amd64 (closure_test.v on m1 for now) Delyan Angelov 2021-08-27 09:47:04 +03:00
  • 16455a7660 fmt: preserve local fn parameter, when a module const with the same name is declared Delyan Angelov 2021-08-27 09:22:53 +03:00
  • bdf11d969a js: add basic support for running tests, fix string.replace_each (#11314) playX 2021-08-26 15:20:54 +03:00
  • 403da9f36e docs: fix v check-md . on macos Delyan Angelov 2021-08-26 11:11:48 +03:00
  • db194abeac os: merge os.c.v and os_c.c.v Delyan Angelov 2021-08-26 07:13:10 +03:00
  • 187c1c160b parser: minor cleanup in comp_call() (#11311) yuyi 2021-08-26 12:57:10 +08:00
  • b635ff80de fmt: format '1.' to '1.0' (#11312) yuyi 2021-08-26 12:18:27 +08:00
  • 714fa3215c scanner: make the 1. float error a warning for now Alexander Medvednikov 2021-08-25 16:58:54 +03:00
  • 109d5d5847 js: os now compiles to the JS backend, more builtins & minor codegen fixes (#11302) playX 2021-08-25 14:40:53 +03:00
  • f257a23313 checker: check non-generic struct init (#11300) yuyi 2021-08-25 19:40:40 +08:00
  • 50d1e9aa2b mssql: fix c function definition parameters (#11307) Ned Palacios 2021-08-25 19:39:56 +08:00
  • 4d078edb72 scanner: no longer allow 1. float literals (#11301) yuyi 2021-08-25 19:39:37 +08:00
  • ee961b26e7 tools: fix v doctor markdown in v bug (#11296) Wertzui123 2021-08-25 00:13:25 +02:00
  • 96398efd2b checker: check array insert/prepend arguments (#11295) yuyi 2021-08-25 01:28:05 +08:00
  • 0bf9197f41 net.http: add a close method to immediatly close the listener of a started http.Server, add more tests (#11248) Fabricio Pashaj 2021-08-24 19:21:24 +03:00
  • 3c85a03b8a v.gen.native: initial support for the asm statement in the native backend (#11292) pancake 2021-08-24 14:30:41 +02:00
  • 57b148032f v.gen.native: initial support for cast statements (#11291) pancake 2021-08-24 14:26:49 +02:00
  • 833bf2cf15 gg: add cubic Bézier curves + examples (#11286) Larpon 2021-08-24 05:35:27 +02:00
  • 3249f8f0e7 cgen: properly cast to sumtypes in array prepend and insert (#11289) Lukas Neubert 2021-08-24 05:25:09 +02:00
  • 4824b409b1 builder: simplify the C error message Alexander Medvednikov 2021-08-24 06:24:35 +03:00
  • 83e2a84c21 encoding: add base58 support (#11288) Adam Oates 2021-08-23 22:22:46 -05:00
  • d78e7e3b2b js: codegen fixes, W.I.P os availability for JS backend (#11281) playX 2021-08-23 14:25:02 +03:00
  • 47278b4a7d doc: document [flag] enum attribute (#11282) Larpon 2021-08-23 13:23:59 +02:00
  • 76205cff2b gg: add scaling to draw_convex_poly (#11276) Benjamin Stigsen 2021-08-23 12:38:29 +02:00
  • f87a638ddc tools/vast: update vast to latest V (#11279) lydiandy 2021-08-23 05:37:49 -05:00
  • 51d7aede68 net.http: render each header value on a newline (#11270) Miccah 2021-08-22 16:38:09 -05:00
  • 352df873d5 gg: add scaling to draw_empty_poly() (#11272) Benjamin Stigsen 2021-08-22 23:37:20 +02:00
  • 1cfc4198f5 vlib/math: Add a pure V backend for vlib/math (#11267) Ulises Jeremias Cornejo Fandos 2021-08-22 18:35:28 -03:00
  • dd486bb0fb js: match support (#11269) playX 2021-08-22 19:36:49 +03:00
  • b80777df4b table: fix alias of sumtype method_call (#11268) yuyi 2021-08-22 22:20:10 +08:00
  • ec196cfcd1 all: support overriding individual function from .v files in .c.v or .js.v files. Delyan Angelov 2021-08-22 13:49:11 +03:00
  • ed06c47a51 net: remove sockets if they already exists (#11264) Simon 2021-08-22 12:38:02 +02:00
  • 2e28c9a4d6 checker: remove a duplicate check (#11265) yuyi 2021-08-22 17:09:14 +08:00
  • fde934cd93 builtin: optimize hex() (#11261) penguindark 2021-08-22 10:10:24 +02:00
  • 2f6b2dd189 js: math.big support, f{32,64}_bits,from_bits support, typeof(expr).name support (#11260) playX 2021-08-21 17:18:57 +03:00
  • 0d81d0c0c6 table, checker: fix sumtype array appending aggregate type values (fix #11197) (#11258) yuyi 2021-08-21 22:18:01 +08:00
  • 02d823fa6e v.gen.native: support infinite loops for {} in amd64 and arm64 (#11254) pancake 2021-08-20 13:23:15 +02:00
  • 82b16453e4 v.gen.native: improve error messages for unsupported features (#11253) pancake 2021-08-20 13:21:05 +02:00
  • c9d6242c6d json: top level array test Alexander Medvednikov 2021-08-20 11:41:09 +03:00
  • e87cf8bac6 checker: cleanup checker.v (#11251) yuyi 2021-08-20 15:25:16 +08:00
  • b5f8a04778 examples/mini_calculator.v: handle ctrl-d gracefully Delyan Angelov 2021-08-20 10:07:41 +03:00
  • 6201e78201 checker: fix generic struct with non-generic interface in generic fn (#11252) yuyi 2021-08-20 14:28:26 +08:00
  • 4fb570522a json: fix json.decode bug for u64 values greater than 2^31 (#11238) Hualin Song 2021-08-20 14:14:55 +08:00
  • 1570e613b5 math: inf,nan,fmod for the JS backend (#11246) playX 2021-08-20 01:14:49 +03:00
  • 70a658a265 gg: set_pixels() (#11236) Benjamin Stigsen 2021-08-20 00:14:25 +02:00
  • a440b43630 checker, cgen: fix generic struct with non_generic interface (#11240) yuyi 2021-08-20 06:13:48 +08:00
  • 2cb0db633d vweb: use Response struct for 302 response (#11245) Miccah 2021-08-19 17:13:36 -05:00
  • 67e8031a08 cgen: fix interface parameters in fn type aliases (#11247) spaceface 2021-08-20 00:12:31 +02:00
  • a9fb24cb5f vweb: fix missing newline in redirect header string (#11242) Jordan Liese 2021-08-19 13:58:57 +02:00