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

Commit Graph

  • 6991a3c8d5 net.http: add graceful shutdown .stop() method to the http.Server struct (#11233) Miccah 2021-08-19 03:19:49 -05:00
  • 7bffabbce2 vdoc: add -comments and new comment merger (#11221) Leo Developer 2021-08-19 09:20:43 +02:00
  • 337c325109 roadmap: remove fn == 0 Alexander Medvednikov 2021-08-19 08:19:21 +03:00
  • fe08e1c504 strings: add Builder.write_rune/1 and Builder.write_runes/1 methods Delyan Angelov 2021-08-19 07:14:20 +03:00
  • 26b77515b9 builtin: optimize []rune.string() Alexander Medvednikov 2021-08-19 06:58:53 +03:00
  • 0cbc77d881 Revert "vpm: support v install ui https://github.com/vlang/markdown (git urls by default), cleanup vpm.v (#11189)" Delyan Angelov 2021-08-18 18:58:04 +03:00
  • 6983f74a9d example: add an animated analog clock (#11231) Stefan Schroeder 2021-08-18 16:40:20 +02:00
  • 3d22dc1608 all: fix formating Foo<A,B> to Foo<A, B> (#11225) yuyi 2021-08-18 22:17:21 +08:00
  • 881510e7ce cgen: fix enum print (#11218) div72 2021-08-18 17:11:12 +03:00
  • 2bf1015ae1 os: add File.read_into_ptr (#11219) div72 2021-08-18 17:08:41 +03:00
  • b3c641f7d5 time: use &C.time_t instead of &time_t in C fn declaration (#11232) JalonSolov 2021-08-18 10:05:43 -04:00
  • d2ce1f74d6 ast.table: fix aggregate field type equality check (#11210) spaceface 2021-08-18 13:09:54 +02:00
  • eee71cebd4 vpm: support v install ui https://github.com/vlang/markdown (git urls by default), cleanup vpm.v (#11189) mahdi ramezaan zaade 2021-08-18 15:35:10 +04:30
  • e07678d6f3 checker: check using redundant parentheses (#11228) yuyi 2021-08-18 18:49:50 +08:00
  • 09e854c064 cgen: small interface conversion fix (#11229) spaceface 2021-08-18 12:47:57 +02:00
  • 7a3fe3ca70 ci: enable again ./fast -clang in .cirrus.yml (it should work now in FreeBSD 13) Delyan Angelov 2021-08-18 13:10:12 +03:00
  • 9ca99c6f93 v.builder: add -Wl,--allow-multiple-definition when targeting FreeBSD Delyan Angelov 2021-08-18 12:57:44 +03:00
  • 0121c8b4fd v.gen.js: fix method calls and other codegen parts, rand module compiles (#11205) playX 2021-08-18 11:33:37 +03:00
  • c51f83efba checker: fix match expr type mismatch (#11220) yuyi 2021-08-18 13:52:01 +08:00
  • 1dee4f25fd vweb: add more common mime types (#11226) JalonSolov 2021-08-18 01:51:18 -04:00
  • 7d9969ac17 all: support runtime interface conversions (#11212) spaceface 2021-08-17 20:00:27 +02:00
  • 7c9a1defa4 fmt: preserve method receiver mutability in interface decls (#11222) spaceface 2021-08-17 18:39:53 +02:00
  • f96b81b53a ci: fix failing vweb_test.v Delyan Angelov 2021-08-17 18:36:10 +03:00
  • e1c762a616 cgen: fix assert fn_call with parentheses (fix #11207) (#11214) yuyi 2021-08-17 23:21:15 +08:00
  • f8174c381c net.http: simplify fetch() Alexander Medvednikov 2021-08-17 09:16:59 +03:00
  • 19abe8c750 math.big: add from_bytes function (#11213) Miccah 2021-08-17 01:12:39 -05:00
  • 90b25e7a4b os: filesystem level locking api (#11191) pancake 2021-08-17 07:21:33 +02:00
  • 8521e227b4 cgen: fix if expr of multi stmts (#11208) yuyi 2021-08-17 02:48:58 +08:00
  • 405ed584a1 v.vmod: return errors instead of panic-ing Delyan Angelov 2021-08-16 16:54:41 +03:00
  • 0d30667ab5 orm: fix orm unique lists (#11198) Louis Schmieder 2021-08-16 13:59:23 +02:00
  • 482eecbc13 cgen: fix comptime selector reserved field names (#11199) Louis Schmieder 2021-08-16 13:58:23 +02:00
  • b417d3c043 v.readline: fix key delete panic'king on linux (#11204) Leo Developer 2021-08-16 11:28:40 +02:00
  • d235de63e2 math: add egcd function implementing the extended Euclidean algorithm (#11203) Miccah 2021-08-16 03:49:50 -05:00
  • 90b052b1db v.gen.c: fix error of if_expr in infix_expr (#11200) yuyi 2021-08-16 16:23:19 +08:00
  • d7490abe19 ci: fix binary_artifact.yml 2 weekly.2021.33.2 Delyan Angelov 2021-08-16 11:20:39 +03:00
  • 9aa84082fd cleanup binary_artifact.yml, remove failing build-linux-arm64 job weekly.2021.33.1 Delyan Angelov 2021-08-16 11:13:50 +03:00
  • f8d6fe7a8b ci: skip running fast on FreeBSD 13 for now weekly.2021.33 Delyan Angelov 2021-08-16 10:13:44 +03:00
  • 46ede3fb98 v check-md: reduce false positives for too long lines in various cases (real problems are easier to spot now) Delyan Angelov 2021-08-16 10:11:44 +03:00
  • e28dc0489d ci: fix ./v check-md README.md Delyan Angelov 2021-08-16 08:37:13 +03:00
  • e09d3eef5f tools/fast: fix uploading Alexander Medvednikov 2021-08-16 08:33:53 +03:00
  • 22b1fca793 tools/fast: minor fixes Alexander Medvednikov 2021-08-16 08:26:50 +03:00
  • 20ca038a56 ci: build hello world with -usecache Alexander Medvednikov 2021-08-16 06:42:43 +03:00
  • fadfc3b457 gg: format a line Alexander Medvednikov 2021-08-16 06:36:19 +03:00
  • 7f2d6b779d readme: add a link to vinix Alexander Medvednikov 2021-08-16 06:35:26 +03:00
  • 58999423b7 readme: add vinix info Alexander Medvednikov 2021-08-16 06:34:13 +03:00
  • 765759817d ci: run fast.v with clang on freebsd Alexander Medvednikov 2021-08-16 06:30:35 +03:00
  • eb1ac5b30d time: use i64 in unix() Alexander Medvednikov 2021-08-16 06:28:54 +03:00
  • 1c847e04c8 fmt: fix malformed import for incorrect module lookup paths (#11192) Lukas Neubert 2021-08-16 04:15:32 +02:00
  • 60f21f065f encoding.hex: remove strconv dependency (#11196) Miccah 2021-08-15 20:59:21 -05:00
  • 022503a107 gg: fix top left corner pixel not being drawn (#11202) Benjamin Stigsen 2021-08-16 03:59:05 +02:00
  • ea4f6fd48f encoding: add a hex sub-module (#11193) Miccah 2021-08-15 13:42:51 -05:00
  • 4cde618582 js: fix builtin casts & global declarations with no initializer (#11187) playX 2021-08-15 15:10:06 +00:00
  • 659f823c5c js: initial work on porting rand module to JS backend (#11188) playX 2021-08-15 15:09:51 +00:00
  • 6ee77724e8 cmd/tools/gen1m.v: fix unused variable warnings in 1m.v Delyan Angelov 2021-08-15 16:04:45 +03:00
  • 0be20f1556 v.pref: keep the -error-limit option for now too Delyan Angelov 2021-08-15 13:46:50 +03:00
  • b3094b0667 checker: abort prematurely on too many errors (#11185) Leo Developer 2021-08-15 12:41:51 +02:00
  • 6bc44acc70 Revert "ci: cleanup .cirrus.yml" Delyan Angelov 2021-08-15 12:22:36 +03:00
  • c26d82cc1a ci: cleanup .cirrus.yml Delyan Angelov 2021-08-15 12:20:43 +03:00
  • 5da13ac5b1 ci: do not run fast on the FreeBSD runner for now Delyan Angelov 2021-08-15 12:11:52 +03:00
  • 344f13d6de ci: cleanup .cirrus.yml Delyan Angelov 2021-08-15 12:03:09 +03:00
  • e0451c5b33 cmd/tools/fast/fast.v: use clang instead of tcc on the cirrus ci build ¯\_(ツ)_/¯ ... Delyan Angelov 2021-08-15 12:00:51 +03:00
  • 1a5c4b18ec cmd/tools/fast/fast.v: do not use -no-std and -no-rsp anymore (tcc is the most recent on the CI runner now) Delyan Angelov 2021-08-15 11:52:11 +03:00
  • e64a9fa592 freebsd_build_tcc.sh: use an explicit --cc=clang Delyan Angelov 2021-08-15 11:43:25 +03:00
  • 3c553f16ed ci: use gmake in freebsd_build_tcc.sh Delyan Angelov 2021-08-15 11:32:40 +03:00
  • d4af86738b ci: try using freebsd_build_tcc.sh again on the FreeBSD runner Delyan Angelov 2021-08-15 11:27:45 +03:00
  • 0dde8ab0e5 cmd/tools/fast/fast.v: use -no-std for tcc too Delyan Angelov 2021-08-15 11:21:25 +03:00
  • 6843b85063 ci: fix clang -std=c99 -D_DEFAULT_SOURCE -o v vc/v.c warnings Delyan Angelov 2021-08-15 11:12:48 +03:00
  • eef7eea7bc v.pref, v.builder: support -no-std (skips passing -std=c99 to the C backend) Delyan Angelov 2021-08-15 11:05:06 +03:00
  • b1186cca3f cmd/tools/fast/fast.v: use -no-rsp for tcc (which may be much older on freebsd) Delyan Angelov 2021-08-15 10:42:34 +03:00
  • f7cbcc241a v.pref, v.builder: support -no-rsp (pass C options directly to the C compiler backend, without writing response files) Delyan Angelov 2021-08-15 10:38:39 +03:00
  • 7494d7f6c7 ci: just rely on the freebsd's tcc being recent enough :-| Delyan Angelov 2021-08-15 10:06:04 +03:00
  • 1e7c9ad8d0 ci: do use freebsd_build_tcc.sh on the freebsd runner Delyan Angelov 2021-08-15 09:59:19 +03:00
  • 15eff279f4 ci: fix .cirrus.yml (tab => spaces) Delyan Angelov 2021-08-15 09:51:42 +03:00
  • e3bd793f43 ci: add a script to install tcc from source on freebsd so it can be run the freebsd job Delyan Angelov 2021-08-15 09:49:56 +03:00
  • c225bb8465 ci: install tcc on the freebsd runner too Delyan Angelov 2021-08-15 09:38:34 +03:00
  • e6d79f2fa7 ci: run fast.v on freebsd Alexander Medvednikov 2021-08-15 09:27:17 +03:00
  • f1244bd7f1 ci: do not upload fast.v results Alexander Medvednikov 2021-08-15 09:21:57 +03:00
  • f67e5d12e5 v.gen.c: fix v_typeof_interface_idx codegen (add static ) Delyan Angelov 2021-08-15 09:15:17 +03:00
  • 1bfb525ce1 tools/fast: improve uploading to gh pages and print errors Alexander Medvednikov 2021-08-15 09:03:14 +03:00
  • 3ffa6c1664 v.pref: fix ./v -usecache -cg run examples/hello_world.v Delyan Angelov 2021-08-15 08:35:26 +03:00
  • 40efe4f620 ci: freebsd (cirrus) Alexander Medvednikov 2021-08-15 08:18:59 +03:00
  • d3cf53ec41 cgen: fix a bug with autofree in if expr (#11182) yuyi 2021-08-15 12:55:27 +08:00
  • d540b3f1a8 v.util: improve formatted_error by adding cached_file2sourcelines, so .split_into_lines is called just once (important for long source files with many errors) Delyan Angelov 2021-08-14 22:56:01 +03:00
  • f6d7170e77 checker: changes related to warn/error limit (#11184) Leo Developer 2021-08-14 21:14:13 +02:00
  • 1743ad05c0 v.util: add a small cache for util.read_file, so reading individual source files is done just once Delyan Angelov 2021-08-14 21:59:28 +03:00
  • 8a8a0932f7 all: add limit to accumulated errors / warnings (#11183) Leo Developer 2021-08-14 18:49:21 +02:00
  • deb26b92b9 cgen: support typeof(x).idx, as well as iface.type_idx() (#11178) Delyan Angelov 2021-08-14 17:22:25 +03:00
  • 8dc043ba2c builtin: fix minor C fn definitions (#11180) Subhomoy Haldar 2021-08-14 19:49:27 +05:30
  • 900c37aa65 v.gen.c: support T.typ - an int for the type index of the generic type T (#11175) Delyan Angelov 2021-08-14 08:48:25 +03:00
  • fb3671107e regex: bug fix about \w \W backslash chars (#11176) penguindark 2021-08-14 07:47:12 +02:00
  • b72d1e5e86 v.gen.js: implement u64 and i64 with BigInt (#11174) playX 2021-08-13 21:24:10 +03:00
  • 34d39ccb64 builtin: fix leak in rune.str(), fix leaks in most assert x == y statements in tests (#11091) Delyan Angelov 2021-08-13 18:37:34 +03:00
  • 0bd68bf5a2 builtin: rename invalid parameter names in C fn declarations (#11173) Subhomoy Haldar 2021-08-13 19:33:39 +05:30
  • 5bd602d0a7 vpm: install directly from git/hg (#11166) mahdi ramezaan zaade 2021-08-13 13:58:30 +04:30
  • aa14fd1b05 v.gen.js: support operator overloading (#11171) playX 2021-08-13 10:06:59 +03:00
  • 083a90148d tests: supplement multi-instances generic testing (#11170) yuyi 2021-08-13 13:38:20 +08:00
  • 579aa7b1b5 v.checker: fix multi insts of generics fn with generic struct (#11161) yuyi 2021-08-13 03:58:02 +08:00
  • 576664e31f gg,sokol,stbi,gx,fontstash: cleanup for -Wimpure-v Delyan Angelov 2021-08-12 22:31:04 +03:00
  • 8fbd8f790d os: cleanup for -Wimpure-v Delyan Angelov 2021-08-12 21:53:29 +03:00
  • 47884dfd1f builtin: move C. calls to .c.v files (#11164) Delyan Angelov 2021-08-12 21:46:38 +03:00