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

Commit Graph

  • 5dae5b2a92 checker: fix references for alias type, that could still be uninitalized (fix #15935) (#15940) shove 2022-10-01 19:40:55 +08:00
  • 17b07273aa cbuilder: remove forgotten dump(), simplify o_postfixes Delyan Angelov 2022-10-01 14:00:35 +03:00
  • 90599c7f85 cbuilder: fix hardcoded v_parallel for -parallel-cc, use a sync.pool for the compilation threads Delyan Angelov 2022-10-01 13:50:39 +03:00
  • aa02a9cd3b checker: fix checking mismatch of the fn array decompose argument (#15934) yuyi 2022-10-01 18:25:24 +08:00
  • f6a68003d3 ci,parser: fix error in v_parser_test.v (#15936) yuyi 2022-10-01 18:18:46 +08:00
  • fe597b7172 encoding.utf8: add is_number (#15931) ChAoS_UnItY 2022-10-01 16:01:51 +08:00
  • 3d2588f101 cgen: parallel cc for much faster compilation using all CPU cores Alexander Medvednikov 2022-10-01 10:03:59 +03:00
  • be7b0f1dc5 checker: check mismatch of the fn array decompose argument (#15929) yuyi 2022-10-01 11:50:28 +08:00
  • 43d0d0f322 native: skip linking when no library functions get called (#15930) Spydr 2022-10-01 05:47:16 +02:00
  • d78dfabfe0 native: support casting integer to/from enum values (#15928) lemon 2022-09-30 21:53:17 +09:00
  • d694a26f39 checker, cgen: fix go print (#15927) yuyi 2022-09-30 20:50:54 +08:00
  • b6bbbcf2e7 cgen: fix error when defer inside comptime if {} else {} (fix #15891) (#15911) shove 2022-09-30 15:10:34 +08:00
  • 659bd1a428 ast, checker, cgen: fix generic fn/method with comptime for/if (fix #15905) (#15910) yuyi 2022-09-30 07:40:30 +08:00
  • 63578e63c6 fmt: fix comments between for and { is wrong (fix #15918) (#15919) shove 2022-09-29 20:26:27 +08:00
  • 711bb6def7 gg: rename Context.set_cfg() -> Context.set_text_cfg() (#15904) Tim Marston 2022-09-29 13:24:16 +01:00
  • 2d08950e4c changelog: add entry for #15912 no need for [console] on Windows (#15924) Larpon 2022-09-29 14:20:19 +02:00
  • 816e9319d7 cgen: remove the need for [console] for gg or ui programs on windows (#15912) Larpon 2022-09-29 14:02:50 +02:00
  • 79a473f8ec vweb: fix a typo in the README.md (#15913) Mehmet Ali 2022-09-29 14:29:02 +03:00
  • 6fcab013eb os.notify: fix sizeof(C.epoll_event) == 12 with tcc (was 16, while with gcc/clang it is 12) Delyan Angelov 2022-09-29 13:20:32 +03:00
  • 3b420a8d7f net.urllib: add a URL.debug() method, returning the values of all the URL's fields Delyan Angelov 2022-09-29 10:34:48 +03:00
  • e2cf403ca1 fmt: fix error when comments inside if and condition. (fix #15914) (#15915) shove 2022-09-29 14:14:11 +08:00
  • 1ff1f23d9a parser: disallow using attributes on embedded structs (#15901) Swastik Baranwal 2022-09-28 19:45:33 +05:30
  • 1ac3f3d8dc parser: fix pos error when define reference array type (fix: #15907) (#15909) shove 2022-09-28 22:13:29 +08:00
  • e72d259903 change Values struct to public (#15902) TSURUTA Takumi 2022-09-28 22:21:33 +09:00
  • be6741195d parser: fix formating fn with variadic argument (#15900) yuyi 2022-09-28 15:55:36 +08:00
  • 66249b8c45 gg: radius_to_segments() should use Context.scale (#15906) Tim Marston 2022-09-28 08:40:40 +01:00
  • b85a535bcd cgen: support closures on riscv (#15898) spaceface 2022-09-28 09:34:26 +02:00
  • bdf4c679da cgen: minor cleanup in method_call() (#15894) yuyi 2022-09-28 01:05:04 +08:00
  • 57e4ba4cd0 checker: fix generics interface with generic sumtype (fix #15883) (#15892) yuyi 2022-09-27 21:33:34 +08:00
  • f1216090f7 native: support enum (#15895) lemon 2022-09-27 19:31:54 +09:00
  • 51a92d170f encoding.base32: vfmt code Joe Conigliaro 2022-09-27 16:29:44 +10:00
  • 5415c4f75e encoding.base32: initial implementation Joe Conigliaro 2022-09-27 16:25:50 +10:00
  • 385acb448a cgen: fix dumping c structs (fix #15878) (#15885) weekly.2022.39 yuyi 2022-09-26 15:53:21 +08:00
  • 959eeaf1f3 parser: check undefined variable in if guard (#15882) yuyi 2022-09-26 15:17:39 +08:00
  • 8623186d31 doc: add links to vlib doc - array and map (#15881) kahsa 2022-09-26 16:06:54 +09:00
  • 721328ef58 os: fix os.read_file and os.read_bytes for 0 sized /proc/ files on Linux (fix #15852) (#15853) Dominik Pytlewski 2022-09-25 21:54:46 +02:00
  • 50820105a1 docs: call_v_from_c example (#15844) Nicolas VENTER 2022-09-25 21:52:40 +02:00
  • 7f23abbf8c docs: document the [noinit] attribute with an example (#15876) Subhomoy Haldar 2022-09-25 17:36:01 +01:00
  • 3674baab23 native: support escape sequences in string literals (#15877) Spydr 2022-09-25 16:47:49 +02:00
  • 089e89f865 gg: improve arc/slice drawing (#15856) Tim Marston 2022-09-25 13:22:10 +01:00
  • 58f7342465 cgen: fix array appending when array is used as fn parameter (fix: #15855) (#15860) shove 2022-09-25 18:05:54 +08:00
  • 6637db2d6d tools: fix sporadic CI failures on the doom-regressions job due to v gret Delyan Angelov 2022-09-25 11:26:45 +03:00
  • 50fb5de926 checker: fix dumping match expr (#15869) yuyi 2022-09-25 16:21:14 +08:00
  • 5cc9d7b347 checker: remove too vague notice about signed expressions while returning unsigned number types Delyan Angelov 2022-09-25 11:02:46 +03:00
  • c3548c9413 tests: omit testsuite_begin/end() optional (#15871) yuyi 2022-09-25 15:29:25 +08:00
  • 947a1f2c65 native: add printing support for boolean and string variables (#15868) Spydr 2022-09-25 09:28:26 +02:00
  • f338dec5c6 ci: fix compilation on FreeBSD (C.feof is a macro there, that expands to direct field access) Delyan Angelov 2022-09-24 10:17:27 +00:00
  • d624ad50a7 os: fix file.read() (#15861) yuyi 2022-09-24 13:58:55 +08:00
  • 91c6e1a65b changelog: 0.3.2 Alexander Medvednikov 2022-09-24 02:13:10 +03:00
  • 13d7f7db8f parser: fix line number error of comptime atExpr in the last token of the line (fix: #15672) (#15851) shove 2022-09-24 05:06:07 +08:00
  • c811b5343a cgen: minor cleanup in return_stmt() (#15854) yuyi 2022-09-24 04:46:15 +08:00
  • 41fd02496a cgen: fix const expr using optional or result (#15850) yuyi 2022-09-24 03:36:56 +08:00
  • 1f26e3fb1b datatypes: add a forward iterator for LinkedList<T>, add forward and backward iterators for DoublyLinkedList<T>. Add tests for both. Delyan Angelov 2022-09-23 22:29:13 +03:00
  • a6576bec1d json: fix encoding of structs with pointers; add test Delyan Angelov 2022-09-23 14:07:44 +03:00
  • ea8b30fd91 encoding.utf8: add is_space (#15847) ChAoS_UnItY 2022-09-23 15:34:45 +08:00
  • 6ec931c781 sync: fix C.pthread_mutex_t struct typedef is missing in darwin (fix: #15491) (#15845) shove 2022-09-23 14:48:05 +08:00
  • 5c716afb39 net.ssl: switch to mbedtls over openssl (#15841) spaceface 2022-09-22 15:50:34 +02:00
  • 44c3fcecd9 cgen: fix reference embed method call (#15842) yuyi 2022-09-22 18:53:11 +08:00
  • 78f8b9eb28 v.scanner: fix an unicode string escape handling bug (#15834) Carl Xiong 2022-09-22 18:44:55 +08:00
  • 27305d1a5f net.websocket: swap unsafe use of nil for a safe default value (#15836) Alfie Ranstead 2022-09-22 06:00:03 +01:00
  • 41dbd12bc4 tests: make error handling the same as the main function (#15825) yuyi 2022-09-22 00:45:43 +08:00
  • 391ac12fe2 datatypes: adding ringbuffer (#15818) flopetautschnig 2022-09-21 18:42:59 +02:00
  • 09411128af json.cjson: add a test case for more complex json object construction Delyan Angelov 2022-09-21 17:22:42 +03:00
  • 21c5cadc59 tools: fix v install https://some/url_with_underscores (make --git the default for URLs) Delyan Angelov 2022-09-21 15:43:36 +03:00
  • 0871eca177 tests: add test for using reference of map type as struct field (PR #15828) (#15830) shove 2022-09-21 17:20:19 +08:00
  • 201598e68a builtin: fix gc.o compilation on macos (#15832) spaceface 2022-09-21 11:19:02 +02:00
  • d848311fe2 tests: add missing script_with_no_extension, add exception for /tmp.* files in .gitignore Delyan Angelov 2022-09-20 16:17:21 +03:00
  • 8f7958273b compiler: add -raw-vsh-tmp-prefix tmp flag, to allow for executing scripts without .vsh extension (#15829) Annie 2022-09-20 14:52:18 +02:00
  • 453cc41c32 builder: remove outdated tcc error (#15833) spaceface 2022-09-20 14:12:39 +02:00
  • bbf1ba458e cgen: fix using reference of sumtype or map as struct field (fix: #15827) (#15828) shove 2022-09-20 18:22:08 +08:00
  • a9d63d729e sokol.sapp,gg: add a tool_type field to gg.TouchPoint (differenciate different types of touch input) (#15822) Wertzui123 2022-09-20 12:15:38 +02:00
  • 993802f6a6 markused: fix compilation of gg programs with -skip-unused, add test to prevent regressions (#15821) weekly.2022.38 Delyan Angelov 2022-09-20 08:03:03 +03:00
  • 42059ee099 checker: disallow array append as expression in .map and `.filter methods (#15823) Swastik Baranwal 2022-09-20 10:00:30 +05:30
  • 69c9d47a40 pref,os,sokol,cgen: ease compilation of 2048 with -os wasm32_emscripten (#15820) Delyan Angelov 2022-09-20 00:17:13 +03:00
  • e6e3751980 checker: fix generics with pointer index (fix #15810) (#15815) yuyi 2022-09-20 03:02:49 +08:00
  • a0d647d1e3 checker: clean up checking optional and result in checker.v (#15817) yuyi 2022-09-19 19:52:27 +08:00
  • 84bc170720 checker: optimize the position of the propagation error, where a fn needs to return an optional or result(fix #15780) (#15813) shove 2022-09-19 19:49:23 +08:00
  • 0ff53d18c1 v.gen.js: fix typo in js.v (#15812) Ikko Ashimine 2022-09-19 16:22:24 +09:00
  • 5c21b83044 cgen: skip generating typedef HANDLE __v_thread on windows, when -no-builtin is given Delyan Angelov 2022-09-19 09:14:25 +03:00
  • d7758b2995 checker: fix slow compilation of vtl/nn/examples/mnist.v (reduce RAM usage) Delyan Angelov 2022-09-18 21:43:44 +03:00
  • 04f818fefc ci: cleanup paths-ignore: usage in ci_sanitized.yml and native_backend_tests.yml Delyan Angelov 2022-09-18 18:47:37 +03:00
  • 202585e175 checker, parser, fmt: fix visibility of anon struct in different modules.(fix #15763) (#15787) shove 2022-09-18 23:08:33 +08:00
  • 0ff74dae63 vrepl: simplify and cleanup vrepl (#15807) yuyi 2022-09-18 23:07:16 +08:00
  • 57d583d821 cgen: fix array insert in fn as mut receiver (#15806) yuyi 2022-09-18 19:55:28 +08:00
  • 24ea6dfe14 docs: add note that clang is required (#15802) frittex 2022-09-18 13:22:01 +02:00
  • 8d2b0d4afd parser: fix error for match expr with 'fn' (#15805) yuyi 2022-09-18 19:17:13 +08:00
  • c78344ef04 vrepl: fix output errors (fix #15801) (#15804) yuyi 2022-09-18 19:09:31 +08:00
  • d67aa8d76c checker: improve the wording of the mismatched range types error Delyan Angelov 2022-09-17 21:05:30 +03:00
  • bd3c9e888d checker: fix missing checker error for fn abc() u64 { return -1 } (fix #15789) (#15795) shove 2022-09-18 01:59:52 +08:00
  • 085a09ebdb vrepl: fix output error of print and fn call (#15796) yuyi 2022-09-17 20:58:53 +08:00
  • afe7166346 v.builder: add -Wno-write-strings for tcc on -cstrict Delyan Angelov 2022-09-17 15:37:58 +03:00
  • de636dbb2b checker: check result type method call (#15794) yuyi 2022-09-17 16:45:13 +08:00
  • 26443cf9fa vrepl: fix array method call errors (fix #15769) (#15786) yuyi 2022-09-17 15:12:01 +08:00
  • a3b60e6b55 checker: improve mismatched range types error messages Delyan Angelov 2022-09-17 09:14:49 +03:00
  • fda39bfb82 docs: enhance the .vsh section, as well as the description of the V's script mode (no fn main(){}) (#15788) Delyan Angelov 2022-09-17 00:21:31 +03:00
  • 289f8f2f24 checker: fix nested struct ref field init check for embedded structs (fix #15768) (#15785) shove 2022-09-17 04:39:15 +08:00
  • 0992914bd6 ci: remove macos-10.15 runner (affected by a brownout, and scheduled to be removed in 12/1/2022) Delyan Angelov 2022-09-16 21:01:48 +03:00
  • 0b6924ebfb cgen: fix hardcoded app param name in code generated for vweb.html (#15766) Carl Xiong 2022-09-16 22:27:58 +08:00
  • 7f30519544 native: support method definition and call (#15736) lemon 2022-09-16 22:31:05 +09:00
  • 0e49ce427e cgen: fix passing sumtype parameter in sumtype matching results (fix #15078) (#15767) yuyi 2022-09-16 15:16:40 +08:00