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

Commit Graph

  • 8f98f1db9e os: fix os.open_file('text.txt', 'wb', 0o666), add test (#15420) Delyan Angelov 2022-08-14 09:50:05 +03:00
  • cae7bc9a9a examples: add examples/gg/rotating_textured_quad.v Delyan Angelov 2022-08-14 09:39:23 +03:00
  • 7280d4c95a checker: add error for println('x').abcd (#15423) Swastik Baranwal 2022-08-14 12:13:54 +05:30
  • 4c0339242a doc: fix example comment for string.strip_margin() Delyan Angelov 2022-08-14 08:06:52 +03:00
  • 9734148f12 cgen: fix generic with multi-nested generic method call ref argument (#15421) yuyi 2022-08-14 00:26:00 +08:00
  • 672066b65b cgen: fix optional indexes with mutable arrays (#15399) StunxFS 2022-08-13 04:58:31 -04:00
  • 001144fa82 doc: fix a typo in the -no-preludes option description in v help build-c (#15404) Ken 2022-08-13 16:07:08 +09:00
  • f557acf76b net.urllib: fix ipv6 address parsing [ipv6]:port closes #15309 Joe Conigliaro 2022-08-13 00:50:38 +10:00
  • 657389446b checker: fix typo (#15397) StunxFS 2022-08-12 10:25:52 -04:00
  • 9f2651717a checker: fix generics with multi nested generic method call (#15410) yuyi 2022-08-12 22:25:29 +08:00
  • b45da86688 examples: refactor vweb_orm_jwt (#15389) Hitalo de Jesus do Rosário Souza 2022-08-12 11:24:57 -03:00
  • 9c96b13f9b ast: fix anon fn with nested anon fn argument (#15415) yuyi 2022-08-12 22:24:23 +08:00
  • 70e3c72619 ast: fix expr.str() (fix #12650 #13312) (#15414) yuyi 2022-08-12 22:24:13 +08:00
  • 584597aa3d checker: check mismatch of return result type (#15413) yuyi 2022-08-12 22:23:14 +08:00
  • e6606d8670 cgen: fix optional in if expr (#15411) yuyi 2022-08-12 22:22:27 +08:00
  • 09f1eb9ad2 doc: make if debug a bit more clear Alexander Medvednikov 2022-08-12 05:10:39 +03:00
  • fd83b95d85 sokol: expose context_pool_size field on sgl.Desc (#15409) Larpon 2022-08-11 19:49:11 +02:00
  • 9e0bf005f7 checker: simplify infer_fn_generic_types() (#15408) yuyi 2022-08-11 19:25:43 +08:00
  • 275a997ec1 vweb: fix vweb static url (#15396) yuyi 2022-08-11 13:28:47 +08:00
  • 32fa475316 markused: fix generic fn mark as used (fix #15387) (#15406) yuyi 2022-08-11 13:27:20 +08:00
  • f54e45b77e json: fix array_fixed encode/decode (#15398) Nikolai 2022-08-11 03:52:56 +03:00
  • 5095364838 cgen: avoid a compiler warning in generated code (#15394) Markus F.X.J. Oberhumer 2022-08-11 02:52:42 +02:00
  • 1c6366eb9c cgen: fix generated any/filter/all methods for shared array fields Delyan Angelov 2022-08-10 14:05:11 +03:00
  • 78d0255e6c checker: fix generics with nested generic method call (#15390) yuyi 2022-08-10 16:29:19 +08:00
  • c752e5eb3e checker: add a suggestion for misspelled field names in struct literals Delyan Angelov 2022-08-10 10:37:03 +03:00
  • d3aa7700c7 cgen: fix shared struct method call (#15386) yuyi 2022-08-09 17:44:19 +08:00
  • 7be9963a41 checker: fix dumping generic fn mut argument (#15384) yuyi 2022-08-09 12:46:55 +08:00
  • d4b622bdc2 checker: add pref.is_verbose for print_backtrace (#15385) yuyi 2022-08-09 12:43:59 +08:00
  • 27c5ad03f6 native: initial linking support for linux (#15326) Spydr 2022-08-08 21:32:14 +02:00
  • a6026fd505 checker: disallow method calls with invalid expressions (#15337) StunxFS 2022-08-08 10:35:24 -04:00
  • 9b88feccad checker: check generic method call argument mismatch (#15378) yuyi 2022-08-08 22:30:48 +08:00
  • 5a834a2ef9 encoding.base58: remove one unnecessary map access per the most common BTC usages; implement encode_bytes, decode_bytes, encode_walpha_bytes, decode_walpha_bytes functions Delyan Angelov 2022-08-08 15:33:16 +03:00
  • 6a728e1674 cgen: fix shared array.last() (#15379) weekly.2022.32 yuyi 2022-08-08 18:11:38 +08:00
  • c7152a6ab6 checker: fix generics with nested generic fn call (#15361) yuyi 2022-08-08 09:54:52 +08:00
  • ee9142a113 examples: V orm still fast? (#15330) Hitalo de Jesus do Rosário Souza 2022-08-07 22:38:38 -03:00
  • 0b1486f014 http: avoid costly string interpolation of resp.body (#15376) jrfondren 2022-08-07 20:36:45 -05:00
  • d74cf084fb readme: fix a typo (#15373) Ikko Ashimine 2022-08-08 09:01:05 +09:00
  • b01f71d9da io: migrate the Reader API to Result instead of Option (#15229) Vincenzo Palazzo 2022-08-08 00:33:25 +01:00
  • 8c33a40c5a vrepl: implement the 'pin' command from crepl (#15371) l-m 2022-08-07 21:06:50 +10:00
  • fd1b6efea6 net: add failed addresses + details on connect errors, make connect more robust in the default non blocking mode (#15364) Emily Hudson 2022-08-07 08:40:05 +01:00
  • d6b594c4e8 checker: check if struct field type isn't type (#15359) Swastik Baranwal 2022-08-06 21:41:51 +05:30
  • 8d9af2e4a1 cgen: fix nested generic fn call with reference argument (#15353) yuyi 2022-08-07 00:07:33 +08:00
  • 4588bb44ab markused: skip panic_result_not_set (generated for fn main(){ foo()! }) too Delyan Angelov 2022-08-06 10:24:17 +03:00
  • 095f4bcf86 orm: add missing 'nonull' attribute description (#15348) cstffx 2022-08-05 03:27:19 -04:00
  • ab244d2236 checker: cleanup in if_expr() (#15347) yuyi 2022-08-05 08:02:22 +08:00
  • 9e50803071 ast, parser: fix reference typenode (#15346) yuyi 2022-08-05 08:01:49 +08:00
  • e034b35144 cgen: fix generic interface call with reference argument (#15345) yuyi 2022-08-05 08:01:11 +08:00
  • d7a3b866ee checker: check generic interface missing type parameter (#15344) yuyi 2022-08-04 16:02:34 +08:00
  • 161ac3434f examples: serve js (#15246) Hitalo de Jesus do Rosário Souza 2022-08-03 07:34:26 -03:00
  • 372857c19c checker: minor cleanup in struct_decl() (#15325) yuyi 2022-08-03 18:28:53 +08:00
  • 2ad25f6d06 checker: fix nested generic fn call (fix #15328) (#15333) yuyi 2022-08-03 18:24:39 +08:00
  • 77495c8d03 all: support assert condition, extra_message, evaluating and showing extra_message on assert failure (#15322) Delyan Angelov 2022-08-03 01:14:01 +03:00
  • fcde63127f rand: fix incorrect generic function call (#15327) Subhomoy Haldar 2022-08-02 22:41:49 +05:30
  • 51ef8b62ba log: cleanup tests (#15320) Sandro Martini 2022-08-02 17:01:49 +02:00
  • 867f500d78 gitignore: ignore valgind vgcore.* debug files (#15321) Spydr 2022-08-02 16:59:29 +02:00
  • 45c601b79c cgen: fix sorting of shared array fields (fix #15244) Delyan Angelov 2022-08-02 16:08:21 +03:00
  • 857e047d01 json: tag functions that cgen may call internally for json.encode/json.decode, as [markused] Delyan Angelov 2022-08-02 11:36:05 +03:00
  • 42efc383d2 encoding.binary: fix function names in comments (#15317) Nacho Verdón 2022-08-01 23:30:06 +02:00
  • 0555894e7f .github: Add example on PR template title to avoid confusion (#15311) Nacho Verdón 2022-08-01 22:29:04 +02:00
  • ce59fffb53 scanner: make scan_all_tokens_in_buffer() private (#15312) yuyi 2022-08-02 04:15:56 +08:00
  • 7546d1450c scanner: minor optimization (#15313) yuyi 2022-08-02 04:09:27 +08:00
  • dab8159b56 native: implement elf section types (#15316) Spydr 2022-08-01 22:04:59 +02:00
  • a35356758c log: make set_level(level Level) part of the log.Logger interface too (fix for discordv) weekly.2022.31 Delyan Angelov 2022-08-01 15:09:32 +03:00
  • b08690d151 gen.c: simplify unwrap_generic method (#15288) StunxFS 2022-08-01 04:40:37 -04:00
  • b4fd9b5f92 native: add sections for string- and symbol-tables, reimplement elf program headers (#15305) Spydr 2022-08-01 09:15:06 +02:00
  • 9561fb406e encoding.binary: add functions to read/write with an offset and at the end of the array, split files by endianness (#15301) Nacho Verdón 2022-08-01 07:20:14 +02:00
  • dc78f1ba17 szip: update to 0.2.4 (#15296) Dialga 2022-08-01 09:47:45 +12:00
  • fa75713bc3 tools: create the vmodules folder, when it does not exist, on v translate hw.c Delyan Angelov 2022-07-31 15:43:04 +03:00
  • b8438ded32 markused: support vweb App.before_request() with -skip-unused Delyan Angelov 2022-07-30 18:54:15 +03:00
  • 014f44eab3 checker: improve error message of method_call_arg_no_mut_err.vv (#15281) yuyi 2022-07-30 23:11:10 +08:00
  • c9a5896468 bultin: always enable GC_THREADS, even with -d dynamic_boehm, otherwise multithread operation is unsafe (#15275) Davide Beatrici 2022-07-30 13:59:12 +02:00
  • db79888daf picoev: restore struct Picoev definition (#15278) yuyi 2022-07-30 19:30:13 +08:00
  • 6e8350a9c9 fmt: fix interface method with fntype argument (#15280) yuyi 2022-07-30 19:29:41 +08:00
  • e6a04905e9 fmt: fix comptime method call (#15279) yuyi 2022-07-30 19:28:34 +08:00
  • b6ce7cc198 checker: check invalid variable (fix #15240) (#15260) yuyi 2022-07-30 19:27:28 +08:00
  • 0133ff2cbf checker: use reserved_type_names_chk.matches(word) instead of word in reserved_type_names Delyan Angelov 2022-07-29 23:09:49 +03:00
  • f0a8d57735 checker: use array_builtin_methods_chk.matches(method_name) instead of method_name in array_builtin_methods Delyan Angelov 2022-07-29 23:02:33 +03:00
  • 336305daa5 scanner,parser,gen: use km.matches(word) instead of km.find(word) != -1 Delyan Angelov 2022-07-29 23:01:30 +03:00
  • 2db8bd62a2 token: fix a new_keywords_matcher_from_array_trie bug (first word with idx 0 was ignored); add tests Delyan Angelov 2022-07-29 22:58:43 +03:00
  • a42eb3b947 cgen: use a trie matcher for c_reserved checks as well Delyan Angelov 2022-07-29 20:58:45 +03:00
  • 8268df7e1d parser: create and use Parser.unexpected to unify all unexpected token error messages (#15259) zakuro 2022-07-30 01:28:34 +09:00
  • 1be595605a parser: fix optional fn argument (#15271) yuyi 2022-07-30 00:10:50 +08:00
  • 0bf23488dc checker: check struct field's fn call (fix #15249) (#15257) yuyi 2022-07-30 00:00:51 +08:00
  • 927ec1fadb native: support ||, && and simple boolean expression evaluation (#15256) lemon 2022-07-29 13:17:01 +09:00
  • 04b28d11be cgen: use switch for matches with integer literals, instead of an if else if ladder (#15254) Delyan Angelov 2022-07-29 00:36:29 +03:00
  • 17ce1a0e8d parser: check undefined ident in if guard expr (#15253) yuyi 2022-07-29 00:13:41 +08:00
  • 242ade8938 os: fix File.eof on FreeBSD (feof is a C macro there) Delyan Angelov 2022-07-28 17:26:50 +03:00
  • ed56c3957e os: add File.reopen and File.eof methods (#15184) Reuben Thomas 2022-07-28 14:21:23 +01:00
  • 3d0a48b1bb CHANGELOG.md: fix for a small typo (paramter -> parameter) (#15252) Tim Dupont 2022-07-28 13:16:33 +02:00
  • 18ae726015 v.pkgconfig: add the default path for Debian 32bit (#15250) Dialga 2022-07-28 23:06:56 +12:00
  • a16f9ac41f mysql: include workaround for windows programs that just exit, when the libmysql.dll is not found, into vlib/mysql/README.md Delyan Angelov 2022-07-27 22:26:36 +03:00
  • 10f3c9f127 builtin: add string.replace_char and string.normalize_tabs (#15239) l-m 2022-07-28 05:04:39 +10:00
  • 60094d95e2 cgen: check comptime call method (no value) used as value (#15241) yuyi 2022-07-28 02:32:00 +08:00
  • 8af87a9e98 make: rename "V" to "VEXE" in GNUmakefile, to prevent conflicts while building RPMs (#15237) Davide Beatrici 2022-07-27 20:04:29 +02:00
  • 6a7eb82d9e cgen: fix comptime for method call with arguments (#15236) yuyi 2022-07-27 08:22:05 +08:00
  • afaab7ab4d stdatomic: add/sub return result of op (#15235) stringnick 2022-07-27 03:21:03 +03:00
  • e5e750d533 orm: default attribute (#15221) Hitalo de Jesus do Rosário Souza 2022-07-26 18:59:32 -03:00
  • c976a691ad scanner: correct error message of empty character literal (fix #15226) (#15228) yuyi 2022-07-26 20:07:08 +08:00
  • 4ab72ccb69 os: add a security advisory for potential TOCTOU risks when using os.is_writable, os.is_executable etc (#15222) Bastian Buck 2022-07-26 11:02:48 +02:00
  • 03b7c76b38 cgen: optimize auto_str_methods of [str:skip] fields (#15227) yuyi 2022-07-26 14:38:50 +08:00