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

Commit Graph

  • 91e0f7a3af tools/fast: add 2023.html link to the header, used by fast.v Delyan Angelov 2023-02-27 11:40:22 +02:00
  • 15cb18cbd2 os: make hostname and loginname functions return Result (#17414) weekly.2023.09 paul-elesin 2023-02-27 05:21:23 +03:00
  • 9c511e03f6 tools: remove import v.pref, just for pref.vexe_path(), to compile tools faster (#17411) Delyan Angelov 2023-02-26 07:56:14 +02:00
  • 45d4849b0f checker: fix returning match expr with custom error (#17413) yuyi 2023-02-26 13:54:53 +08:00
  • 00aecf92e7 tools: make v self compile with tcc on Apple M1, since it is faster, and tcc now can handle it (#17409) Delyan Angelov 2023-02-26 01:26:33 +02:00
  • 4c13a4c22c ci: make websocket_test.v more robust (wait till the websocket server are open for connections, instead of relying on fixed time.sleep delays, which are not enough on the CI) Delyan Angelov 2023-02-25 19:39:08 +02:00
  • 524c500146 cgen: add requires to c_reserved, so that V generated code, can be compiled with -cc g++-11 -no-std -cflags -std=c++20 as well (#17404) Delyan Angelov 2023-02-25 16:50:48 +02:00
  • cf47a5f978 ci: fix websocket_test.v after a7ae3bf Delyan Angelov 2023-02-25 14:46:27 +02:00
  • 12ec0e9fe1 cgen: support option pointer values - ?&Type (#17397) Felipe Pena 2023-02-25 09:44:41 -03:00
  • 51bb8cda15 test: fix teamcity runner message escapes (#17405) Petr Makhnev 2023-02-25 16:39:09 +04:00
  • a7ae3bfa78 ci: fix all ports for the servers started in websocket_test.v Delyan Angelov 2023-02-25 14:33:22 +02:00
  • e7bf33b206 ci: replace node-version: 12.x with node-version: 16 too Delyan Angelov 2023-02-25 14:29:00 +02:00
  • 2327f0781b ci: replace actions/setup-node@v1 with actions/setup-node@v3 Delyan Angelov 2023-02-25 14:25:08 +02:00
  • 85b81ea9bb thirdparty: fix compilation of thirdparty/stb_image/stb_image.h with latest tcc on macos Delyan Angelov 2023-02-25 13:03:46 +02:00
  • 9a8f3025f5 cgen: implement option fixed array (#17400) Felipe Pena 2023-02-24 14:25:31 -03:00
  • 2836544978 cgen: minor cleanup of leftover comments in expr() (#17390) yuyi 2023-02-24 17:03:07 +08:00
  • 6b20bddd15 cgen, json2: fix auto str option type generator, and json2 option type handling (#17388) Felipe Pena 2023-02-24 05:54:45 -03:00
  • 94ce753df3 Update LICENSE Alexander Medvednikov 2023-02-24 04:37:43 +03:00
  • acd903484d parser: fix channel pop with or expression: ch := <-self.item or { return none } (#17392) yuyi 2023-02-23 22:45:15 +08:00
  • 248e9538ca parser: check for anonymous function param redefinitions (#17382) Felipe Pena 2023-02-23 11:34:42 -03:00
  • d3870a0c7e README: update gg/sokol Ubuntu dependencies (add libgl-dev) (#17385) Artem Yurchenko 2023-02-22 21:01:43 +01:00
  • 2879afadd4 cgen, checker: fix none checking (#17364) Felipe Pena 2023-02-22 11:13:02 -03:00
  • c173104295 cgen: add & before ptr arr elements (#17379) Swastik Baranwal 2023-02-22 17:40:07 +05:30
  • 6682911bc3 cgen: fix print fn + cycle const error message (#17355) Felipe Pena 2023-02-22 08:38:08 -03:00
  • b1ed1d3b32 ci: upgrade to actions/checkout@v3 to avoid deprecation warnings in the CI about that action using Node.js 12 Delyan Angelov 2023-02-21 13:40:24 +02:00
  • 4a81272914 ci: upgrade sdl_ci.yml and native_backend_tests_ci.yml, to ubuntu-20.04, to avoid ci failures, due to the brownout period, for the deprecated ubuntu-18.04 Delyan Angelov 2023-02-21 13:35:09 +02:00
  • 612ac69486 ci: fix bootstrapping on macos/freebsd etc Delyan Angelov 2023-02-21 12:28:08 +02:00
  • 82c4338b76 os: move pub fn debugger_present() bool{ to platform-specific files (better ptrace portability handling) (#17373) Felipe Pena 2023-02-21 05:55:03 -03:00
  • cd00beb099 gg: add toggle_fullscreen and is_fullscreen (#17371) R cqls 2023-02-20 20:58:04 +01:00
  • 269462425a tools: prevent v init from overwriting an already existing src/main.v file (fix #17362) (#17363) Sanath Kumar U 2023-02-20 16:24:38 +05:30
  • cb976c7e17 os: fix the declaration of C.ptrace (the 4th parameter is a pointer, not an integer) (#17366) Felipe Pena 2023-02-20 07:29:49 -03:00
  • fcef8c98ee cgen: fix map of array initialisation, with len and no default (fix #17358) (#17367) yuyi 2023-02-20 18:26:48 +08:00
  • e9a3817aed checker: disallow enum initalization (#17361) weekly.2023.08 Swastik Baranwal 2023-02-20 02:52:07 +05:30
  • 79b2c34f97 arrays: replace C.memcpy with vmemcpy calls, to make v -shared -Wimpure-v vlib/arrays/ pass (#17357) JalonSolov 2023-02-19 12:01:18 -05:00
  • 8a1e90fff1 checker: allow none to be casted to all option types, including aliases (#17348) Felipe Pena 2023-02-19 13:56:14 -03:00
  • ce1978ecde parser: disallow defining methods on option receivers - fn (x ?Type) method() { (#17351) Felipe Pena 2023-02-19 10:00:29 -03:00
  • d971d93066 vccheck-md: add play and play-test command (#17350) Petr Makhnev 2023-02-18 22:55:10 +04:00
  • 93a3f5ff7d builtin, cgen: fix array of struct with map field initialize (fix #17325) (#17340) yuyi 2023-02-19 02:34:15 +08:00
  • 8011121d43 README: fix twitter badge (fix #17166) (#17339) Artem Yurchenko 2023-02-18 13:33:30 +01:00
  • d616fb0a43 docs: add a Disabling the formatting locally section, about // vfmt off and // vfmt on (#17341) Artem Yurchenko 2023-02-18 13:26:28 +01:00
  • 2879c5110c cgen, check, parser: implement first-class option type (#17017) Felipe Pena 2023-02-18 06:45:01 -03:00
  • e066d1d3df cgen: fix missing aggregate rec_type (#17335) Felipe Pena 2023-02-16 12:36:16 -03:00
  • 936bced29e readme: improve the sections about the installation of dependencies (#17336) Artem Yurchenko 2023-02-16 11:25:51 +01:00
  • 7f5cba1a38 cgen: add comptime field.name checking (#17318) Felipe Pena 2023-02-16 06:46:27 -03:00
  • cad2cd5583 docs: fix typos using codespell (#17332) Ahmad Yasser 2023-02-16 14:43:39 +05:00
  • 580dbc3f0e orm: allow inserting empty objects with db.sqlite (SQLite uses a slightly different SQL dialect) (#17334) walking devel 2023-02-16 09:34:16 +00:00
  • 289993ad7f checker: fix printing address of integer variable (#17327) yuyi 2023-02-16 02:05:26 +08:00
  • 2382549df3 math: fix typo in factorial.v (#17322) Ikko Eltociear Ashimine 2023-02-16 02:57:37 +09:00
  • 5d4c9dc9fc checker: allow using struct field as ORM limit and offset. (#17330) walking devel 2023-02-15 17:47:35 +00:00
  • f5423ed26b checker: fix warning of unnnecessary default none value for option struct fields (#17305) zakuro 2023-02-15 18:42:00 +09:00
  • 039c9b2550 cgen, checker: fix comptimeselector resolution + if comptime branching improvement + comptimeselector cleanup (#17302) Felipe Pena 2023-02-15 06:40:11 -03:00
  • 5a8c433548 cgen: fix printing a reference to a function (#17307) yuyi 2023-02-15 17:27:21 +08:00
  • 4691c5d637 doc: add a section documenting #preinclude (#17304) irishgreencitrus 2023-02-15 09:25:13 +00:00
  • d0a873ca02 checker: fix printing the address of a struct value with println('${&value:p}') (#17321) yuyi 2023-02-15 17:20:25 +08:00
  • b6ecd634e3 tests: change option to result in vscript_using_generics_in_os.vsh (#17306) yuyi 2023-02-14 19:01:35 +08:00
  • b13f7118ab os,term: fix C.tcsetattr declaration (add missing int return type) weekly.2023.07 Delyan Angelov 2023-02-13 15:16:23 +02:00
  • 2d3508c872 net.websocket: call close event (#17300) starryskye 2023-02-13 05:28:41 -07:00
  • 16344cfc28 checker: fix sumtype cast of comptime var (#17287) Felipe Pena 2023-02-13 09:24:36 -03:00
  • fbcb1f3711 checker: disallow &nil (#17283) Felipe Pena 2023-02-13 09:24:11 -03:00
  • 04e00a46d4 cgen, checker: allow array decompose on non-variadic func call (e.g call(...arr)) (#17284) Felipe Pena 2023-02-13 08:13:52 -03:00
  • d907ceb50f docs: format with IDEA formatter other .md files (#17293) Makhnev Petr 2023-02-13 14:49:13 +04:00
  • c8c70de87d docs: unify format of notes (#17294) Makhnev Petr 2023-02-13 12:29:02 +04:00
  • e7fcf66095 tests: add more tests for struct option fields in vlib/v/tests/option_test.v (#17297) zakuro 2023-02-13 17:02:47 +09:00
  • 65d218e005 docs: format with IDEA formatter (#17291) Makhnev Petr 2023-02-12 19:25:04 +04:00
  • eb7e1b4712 cgen: fix cast with comptime var (#17286) Felipe Pena 2023-02-12 03:54:09 -03:00
  • 6883561d6d cgen: fix c_fn_name() for mongo module (#17282) yuyi 2023-02-12 02:33:41 +08:00
  • 90591eb813 checker: check nested struct field with required attr (fix #10913) (#17277) yuyi 2023-02-11 17:22:31 +08:00
  • 03be525c82 orm: allow using reference objects in ORM insert. (#17279) walking devel 2023-02-11 08:02:55 +00:00
  • ac381f5e5b docs: add git to the list of installed prerequisites for V on Termux (#17276) MatejMagat305 2023-02-10 16:02:02 +01:00
  • 0a742a6690 docs: add new line before tables (#17272) walking devel 2023-02-10 09:53:38 +00:00
  • c003bfd5d4 docs: add make to the list of installed prerequisites for V on Termux (#17269) MatejMagat305 2023-02-10 00:00:33 +01:00
  • 7cfbc1cc5f checker: fix generic array of sumtype push operation (#17268) yuyi 2023-02-10 06:27:07 +08:00
  • 3aecd01d05 tests: add empty_struct_compare_test.v too (#17270) Felipe Pena 2023-02-09 19:26:41 -03:00
  • ba9a9fdc2a builder: fix bug for incorrectly detecting tcc as icc, when V was installed in a path containing icc (#17271) Riccardo 2023-02-09 23:24:03 +01:00
  • dcb9c3beb3 cgen: support [spawn_stack: 131072] fn attribute, for controlling the max size of the stack, of the spawned threads (#17222) MatejMagat305 2023-02-09 14:57:53 +01:00
  • 19ba7c5ceb parser: fix fn attrs with anon struct param (#17266) yuyi 2023-02-09 20:10:28 +08:00
  • 4c33a92aac examples: fix missing products table in v run examples/vweb_fullstack/ (#17253) fanlia 2023-02-09 18:03:23 +08:00
  • 34efc9c427 checker: fix returning if expr with custom error (#17265) yuyi 2023-02-09 17:45:46 +08:00
  • 47e8d967e6 v.reflection: add type symbol info metadata (#17188) Felipe Pena 2023-02-08 16:30:44 -03:00
  • fbfdab9e2d cgen: remove unused generated func (#17258) Felipe Pena 2023-02-08 16:27:24 -03:00
  • 404a9aa442 v: forbid function parameter names, shadowing imported module names (#17210) ChAoS_UnItY 2023-02-09 02:37:04 +08:00
  • c16549b6fd ci: fix VLS compilation after 36dc7fa Delyan Angelov 2023-02-08 14:04:03 +02:00
  • 6b0b7a9e4f cgen: fix compilation of vlang/sdl examples Delyan Angelov 2023-02-08 13:27:59 +02:00
  • 36dc7faf2c net.openssl: add manual .str() methods for C.SSL and C.SSL_CTX, fix a bug in the V auto str generation as well. Delyan Angelov 2023-02-08 12:52:00 +02:00
  • 522a9f5908 net.openssl: add V side declaration for C.SSL_CTX too (fix auto .str() method generation for V structs containing references to C.SSL_CTX) Delyan Angelov 2023-02-08 12:33:15 +02:00
  • 6136b62220 cgen: fix method calls to nonarray methods, named first, last or repeat (#17252) yuyi 2023-02-08 16:45:17 +08:00
  • 0b17865c3d examples: use -Wl,-rpath=. instead of LD_LIBRARY_PATH=. in the call_v_from_c example (#17244) Mehmet Ali 2023-02-08 10:44:10 +03:00
  • 9794a239b1 sokol.sgl: add wrapper for scissor_rectf too weekly.2023.06 Delyan Angelov 2023-02-07 12:53:31 +02:00
  • a173f2964e cgen: minor cleanup in stmt() (#17240) yuyi 2023-02-07 15:17:10 +08:00
  • 223c752460 cgen: fix for in mut array with infix expr (#17233) yuyi 2023-02-07 06:10:07 +08:00
  • 954843c486 os: fix default result of os.temp_dir() for termux (#17237) MatejMagat305 2023-02-06 23:07:35 +01:00
  • e76e93d230 ast: add comments for ast.AssertStmt and ast.IfGuardExpr (#17235) yuyi 2023-02-06 22:39:03 +08:00
  • 7090e905f7 checker: fix array filter of fn mut argument (#17231) yuyi 2023-02-06 22:37:37 +08:00
  • 791ef4b4a6 gg: fix gg.scissor_rect behavior on Android (#17229) Mehmet Ali 2023-02-06 13:26:20 +03:00
  • 242d6fa1ff checker: disallow for mut letter in 'abc' { (#17234) yuyi 2023-02-06 17:58:03 +08:00
  • 858ce4e35d cgen: correct comments for expr_with_tmp_var() (#17227) yuyi 2023-02-05 20:16:29 +08:00
  • fc65de9bba checker: check sumtype in unknown type (#17225) yuyi 2023-02-05 19:02:30 +08:00
  • c40e25b028 cgen: fix assigning option of struct fntype field (#17224) yuyi 2023-02-05 15:13:19 +08:00
  • d349648cda vfmt: fix typename DecompressParams -> DezParams in function parameters, on import compress as z (fix #17216) Delyan Angelov 2023-02-04 23:37:31 +02:00
  • e8ca2e62a7 checker: fix if guard with struct option fntype field (#17220) yuyi 2023-02-04 17:38:07 +08:00