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

Commit Graph

  • f16722596c all: replace generic '<>' with '[]' in error messages and comments (#16571) yuyi 2022-12-02 15:22:48 +08:00
  • cbe64cb543 checker: allow struct updates from struct aliases (#16567) Tim Marston 2022-12-01 22:28:10 +00:00
  • 18d98a5e16 .github: clean issue templates (#16566) RGBCube 2022-12-01 19:29:59 +03:00
  • 6e24f7e13a gg: always use 4 channels in init_sokol_image (#16564) Larpon 2022-12-01 16:54:37 +01:00
  • 161847ed1a v.pref: make -b unknown_backend an error, with a more informative diagnostic message Delyan Angelov 2022-12-01 15:28:03 +02:00
  • 02f5c59340 docs: remove Android from the common installation section header, as it has its own section (#16563) RGBCube 2022-12-01 15:59:44 +03:00
  • 32976863a8 github: add existing "Unit: Documentation" label to the documentation issue template. Delyan Angelov 2022-12-01 14:49:50 +02:00
  • c06696bc9a cgen: fix printing multi-reference struct (#16560) yuyi 2022-12-01 03:30:15 +08:00
  • fd04c1a03a cgen: fix error of match expr (fix #16554) (#16555) yuyi 2022-11-30 18:04:20 +08:00
  • 3175bf374d Add Arch command for MingW (#16558) Christopher Fore 2022-11-29 17:17:34 -05:00
  • 675a1be975 math: remove the deprecated math.mathutil module too Delyan Angelov 2022-11-29 14:56:40 +02:00
  • 3fff786f36 math: remove the deprecated math.util module Delyan Angelov 2022-11-29 14:28:08 +02:00
  • 952f4644c5 math.big: remove import math dependency (math.big only uses min/max/abs) Delyan Angelov 2022-11-29 14:21:16 +02:00
  • 6ef3dfdea9 sokol: fix v -Wimpure-v examples/2048/ Delyan Angelov 2022-11-29 13:36:12 +02:00
  • 7df8f063ed builtin: fix typo Delyan Angelov 2022-11-29 13:35:42 +02:00
  • dff61300fb table: optimize fn_type_signature() (#16552) yuyi 2022-11-29 19:13:58 +08:00
  • 58e150df12 parser: add a better error msg for using ..., instead of .. in for a in 1...10 { (#16547) weekly.2022.48 Swastik Baranwal 2022-11-28 14:07:12 +05:30
  • d257e43932 checker: fix 'return none' in void optional function (#16545) yuyi 2022-11-28 16:29:02 +08:00
  • 7d8c386721 datatypes: change optional to result (#16546) yuyi 2022-11-28 16:24:47 +08:00
  • 1d24dbe602 builtin: document string.to_wide() and string_from_wide()/1 Delyan Angelov 2022-11-28 09:46:04 +02:00
  • 73675dca87 builtin: move v_segmentation_fault_handler to builtin.c.v, make it more informative Delyan Angelov 2022-11-27 11:40:23 +02:00
  • fdbd40d806 scanner: make Scanner.peek_token more robust (p.peek_token(-999999) will return an EOF token, instead of garbage data) Delyan Angelov 2022-11-27 11:41:33 +02:00
  • 50b73abc62 parser: add p.show() to ease debugging parser problems, that need more context Delyan Angelov 2022-11-27 11:07:12 +02:00
  • cf3dda2a58 datatypes: fix fsm.set_state() and cleanup fsm module (#16539) yuyi 2022-11-27 15:10:08 +08:00
  • 8543d5e055 checker: improve mut arg error msg (#16540) Vincenzo Palazzo 2022-11-27 05:07:35 +01:00
  • ef5be22f81 all: replace generic <> with [] - part 2 (#16536) yuyi 2022-11-27 00:23:26 +08:00
  • b19b97e7b1 generic: replace generic <> with [] part 1 - allow for both (#16532) yuyi 2022-11-26 14:59:42 +08:00
  • a9b41d2980 all: add support for const ident in match range (#16526) Swastik Baranwal 2022-11-26 12:26:00 +05:30
  • dee75fe970 checker: perfect infer_struct_generic_types() (#16524) yuyi 2022-11-25 01:30:02 +08:00
  • f6cc88fa69 tests: add new test for #16519 (#16520) yuyi 2022-11-24 21:56:07 +08:00
  • f0a23c8d3c cgen: fix fn call of sumtype with alias fntype variant (#16519) yuyi 2022-11-24 18:05:57 +08:00
  • 8b5c75c481 cgen: fix sumtype with alias fntype variant (#16516) yuyi 2022-11-24 00:46:58 +08:00
  • d632e84090 cgen: fix comptime optional methods call and optional field (fix #16499 #16465) (#16503) shove 2022-11-24 00:08:49 +08:00
  • a987f84b15 ci: skip the very slow running tests in v test-self, when -asan-compiler or -msan-compiler is passed as well. weekly.2022.47 Delyan Angelov 2022-11-22 19:52:36 +02:00
  • f7a11b8e50 toml: update value_opt syntax and add missing documentation (#16510) Subhomoy Haldar 2022-11-22 17:45:12 +00:00
  • 7c7ebd648d checker: check assigning generic function to a variable (#16507) yuyi 2022-11-22 23:56:49 +08:00
  • 27cdf5ae0e checker: minor cleanup in checker module (remove pub from most of checker's methods) (#16505) yuyi 2022-11-22 23:50:26 +08:00
  • 7d57559b70 datatypes: make the out of bounds errors for lists APIs more detailed Delyan Angelov 2022-11-22 13:42:29 +02:00
  • cc7e6006f9 checker: fix generic fn with short generic struct init syntax (#16504) yuyi 2022-11-22 19:27:49 +08:00
  • 00383edd3d native: add more operator support for floats on amd64 (#16498) lemon 2022-11-21 19:48:24 +09:00
  • c744030665 tests: add a watchdog thread to live_test.v to prevent it from blocking the whole CI on slow sanitized jobs Delyan Angelov 2022-11-21 12:24:38 +02:00
  • c286775d9f strconv: add test_atof_converter to the tests, as suggested by the code review Delyan Angelov 2022-11-21 07:41:41 +02:00
  • 6cd1723deb strconv: fix float_prec := 1.9999999999999999 + 0.0000000000000000005 being 0.5 (fix #16448) (#16495) Delyan Angelov 2022-11-21 02:57:51 +02:00
  • bffe7bd7ab github: add discord link to config.yml (#16497) RGBCube 2022-11-20 22:33:28 +03:00
  • 0e727ec50a checker: cleanup obsolete code for compatibility between byteptr and &byte (#16494) Delyan Angelov 2022-11-20 16:44:58 +02:00
  • cb336c7dc7 net.http: remove ending \r from response.status_msg, add more tests Delyan Angelov 2022-11-20 16:21:50 +02:00
  • aae63f5eb5 tools: gitignore the bin/ folder in new V projects (created by v init) (#16493) Subhomoy Haldar 2022-11-20 12:43:33 +00:00
  • 45854882b9 builtin, cgen: support FieldData.unaliased_typ, use it for generalising x.json2 (able to encode type aliased struct fields) (#16469) Hitalo Souza 2022-11-20 06:18:14 -03:00
  • 06764bc559 checker: disallow taking address of optional fields for now (#16487) Swastik Baranwal 2022-11-20 01:33:39 +05:30
  • 531c145ae7 Update bug-report.yml Delyan Angelov 2022-11-19 20:58:50 +02:00
  • 9d8e307ed9 Add a link to the Q&A category in the discussions Delyan Angelov 2022-11-19 20:56:18 +02:00
  • 5ef4e0c9be cgen: fix "fn()?.field?" expr cgen error (fix #16482) (#16488) shove 2022-11-20 02:30:24 +08:00
  • 05e562cb3c doc: return none instead of error in the iterator example (#16486) RGBCube 2022-11-19 20:11:56 +03:00
  • 6b0743bb07 x.json2: add support for i8, i16, u8, u16, u32 (fix #16484) Delyan Angelov 2022-11-19 11:52:17 +02:00
  • 79b4cfb42a all: correct the first letter of error message from uppercase to lowercase (#16481) shove 2022-11-19 16:43:25 +08:00
  • 092f984708 ast, cgen: fix match struct.field? {...} (#16478) shove 2022-11-19 16:42:36 +08:00
  • 2d9808b2dc term: add term.slow_blink/1 and term.rapid_blink/1 (#16470) RGBCube 2022-11-18 20:03:14 +03:00
  • 92be90300c doc: mention the $embed_file return type, and link to its documentation (#16467) Přemek Vyhnal 2022-11-18 11:54:17 +01:00
  • 914007fd83 github: update templates to use latest github issues features (#16468) Ulises Jeremias Cornejo Fandos 2022-11-18 07:47:17 -03:00
  • 74613bd636 x.json2: generic-based encoder (finish PR#15137) (#16464) Hitalo Souza 2022-11-18 06:09:24 -03:00
  • 44e2149baa cgen: add escaping for near, far and huge keyword ptrs (#16463) Swastik Baranwal 2022-11-18 03:12:09 +05:30
  • 886abcdf59 ci: bump timeout-minutes to 240, for all sanitized jobs Delyan Angelov 2022-11-17 17:35:51 +02:00
  • ae816b1719 parser: fix if-guard for struct optional fields (fix #16460) (#16461) shove 2022-11-17 20:30:16 +08:00
  • 74efd2621b checker: fix struct field unsign type check (fix #16457) (#16458) shove 2022-11-17 15:20:42 +08:00
  • 360457e021 checker: disable overriding and importing of builtin sym types (#16452) Swastik Baranwal 2022-11-17 12:40:03 +05:30
  • cb9e945aa0 cgen: clean and improve need_tmp_var_in_match() (#16451) yuyi 2022-11-17 15:08:45 +08:00
  • 37700502f5 all: implement struct field optional and disallow storing result (#16392) shove 2022-11-17 13:51:50 +08:00
  • 41dd8985fc native: use enum values instead of strings for identifying builtin functions (#16450) Spydr 2022-11-17 06:44:08 +01:00
  • 49277f7aa8 cgen: fix dump(nil), dump(voidptr) (fix #16455) (#16456) shove 2022-11-17 13:41:07 +08:00
  • 523ccbcb70 cgen: fix if expr with sumtype value of map (#16445) yuyi 2022-11-16 20:59:34 +08:00
  • b60132d2ac checker: rename test assing -> assign (#16446) Larpon 2022-11-16 13:46:36 +01:00
  • 9bb1867be0 os: refactor err == IError(os.Eof{}) to err is os.Eof Delyan Angelov 2022-11-16 00:53:37 +02:00
  • ddc1a1fc08 checker,cgen: support const y = term.yellow, then println(y('abc')) (#16436) Delyan Angelov 2022-11-15 19:51:57 +02:00
  • dc81d755e8 checker: disallow using unsafe { none } (#16431) Swastik Baranwal 2022-11-15 22:25:07 +05:30
  • fe2db64384 tests: add unsafe block for the int->enum cast in bench_compare_tokens.v (#16438) Basil 2022-11-15 16:34:44 +00:00
  • 5dc5766def doc: minor update for $\{\} (#16440) JalonSolov 2022-11-15 11:33:33 -05:00
  • 017ace6ea7 vfmt: change all '$expr' to '${expr}' (#16428) yuyi 2022-11-15 21:53:13 +08:00
  • 56239b4a23 toml: fix typo in parser.v (#16430) weekly.2022.46 Ikko Ashimine 2022-11-15 03:08:22 +09:00
  • 58cee6ccc8 checker: disallow none type in struct fields (#16425) Swastik Baranwal 2022-11-14 20:18:00 +05:30
  • 91ecfb917c checker: fix generic fn casting &u8 to &alias to u32 (#16420) yuyi 2022-11-14 22:37:53 +08:00
  • 37583b04b4 gg: make create_image's receiver immutable Alexander Medvednikov 2022-11-14 17:25:39 +03:00
  • f44af02e32 sqlite: affected rows count (#16426) Dominik Pytlewski 2022-11-14 15:23:42 +01:00
  • 1a4d1aece4 checker: minor cleanup and optimization in method_call() (#16421) yuyi 2022-11-14 04:33:36 +08:00
  • eb11b0149d tools: fix git_pre_commit_hook.vsh on windows Delyan Angelov 2022-11-13 21:55:12 +02:00
  • 1978176c22 tools: add an utility cmd/tools/git_pre_commit_hook.vsh script Delyan Angelov 2022-11-13 20:25:49 +02:00
  • 38555a92e1 time: change days_from_civil to days_from_unix_epoch, add date_from_days_after_unix_epoch (#16363) Hitalo Souza 2022-11-13 09:30:14 -03:00
  • 7cfaacbe7a doc: add more examples to vlib/time/README.md (#16362) Hitalo Souza 2022-11-13 08:48:07 -03:00
  • 5a28699edb cgen: minor cleanup in auto_str_methods.v (#16411) yuyi 2022-11-13 16:59:32 +08:00
  • f31a3b4250 checker: check sumtype argument mismatch in generic methods (fix #16340 part2) (#16403) yuyi 2022-11-13 16:58:53 +08:00
  • e8e75251b4 vweb: change optional to result in vweb_test (#16412) yuyi 2022-11-13 16:57:35 +08:00
  • b54f9c2949 parser: fix attributes with optional or result types (#16401) Taegon Kim 2022-11-13 00:35:01 +09:00
  • 9a8602ff03 doc: improve types order (#16399) kahsa 2022-11-12 18:42:30 +09:00
  • 46f1b20bbc doc: split TOC into two rows (#16397) kahsa 2022-11-12 17:06:10 +09:00
  • 5bb058e35b gg: revamp the Context pipeline for more effects, implement an additive effect (#16394) Junko 2022-11-12 15:39:18 +08:00
  • 7d31473523 doc: add links (#16398) kahsa 2022-11-12 16:35:35 +09:00
  • 12f01318c2 v.live, cgen: enable using [live] in modules too (monitor used .v files for changes, not just the top level one) (#16396) Delyan Angelov 2022-11-11 22:06:42 +02:00
  • c9ce5f89c7 builtin: fix f32.str() (#16391) yuyi 2022-11-11 19:56:45 +08:00
  • c1a44efc78 tests: ensure that const loading is stressed in live_test.v, to prevent -live regressions for more complex examples like bounce.v Delyan Angelov 2022-11-11 10:45:54 +02:00
  • e9fac05775 cgen: fix v -cc tcc -live run examples/hot_reload/graph.v too Delyan Angelov 2022-11-11 10:19:06 +02:00
  • 202f9574ec cgen: fix v -live -cc gcc examples/hot_reload/graph.v Delyan Angelov 2022-11-11 09:44:40 +02:00