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

Commit Graph

  • eb364f0301 toml: check for exponents starting with an underscore (#12271) Larpon 2021-10-22 18:56:43 +02:00
  • eed94c727c os: move C struct declarations in their own _default.c.v files (#12268) Delyan Angelov 2021-10-22 17:08:08 +03:00
  • 0401b5ece0 mysql: fix compilation with libmariadb-dev, but no libmysqlclient-dev installed Delyan Angelov 2021-10-22 16:44:02 +03:00
  • 76ff708cf8 toml: squash recently fixed invalid tests (#12266) Larpon 2021-10-22 12:38:36 +02:00
  • 0d7057dd44 readme: improve wording, fix typos (#12250) Subramani 2021-10-22 01:18:01 -04:00
  • cc2ef4188d toml: support parsing (+/-)nan and (+/-)inf (#12256) Larpon 2021-10-22 07:16:47 +02:00
  • 47313cbf27 doc: clean up array init docs Alexander Medvednikov 2021-10-22 07:23:45 +03:00
  • 5b69593766 cgen,js: fix missing break in switch case, generated by match with range branches (#12260) ChAoS_UnItY 2021-10-22 03:30:05 +08:00
  • da7dad07a3 builder: fix sigint handling for v run (#12246) czkz 2021-10-21 16:40:32 +03:00
  • 909ed76b8f toml: check binary, octal and hexadecimals literals (#12255) Larpon 2021-10-21 15:37:38 +02:00
  • a85707246f help: document -skip-unused in the v help output. Delyan Angelov 2021-10-21 16:32:57 +03:00
  • 1ba839dc3b openssl: change read_into to read (#12251) a-iga 2021-10-21 20:13:04 +09:00
  • a84b1a53ec toml: fix bin, oct and hex capital identifier check (#12254) Larpon 2021-10-21 13:12:17 +02:00
  • 5607224be6 docs: improve os.ProcessState markdown rendering (#12245) czkz 2021-10-21 11:19:01 +03:00
  • ff02c19827 table, builder, checker: cleanup unwrap_generic (#12241) yuyi 2021-10-21 10:48:02 +08:00
  • 57c79770b3 js: port more methods (os, builtin) (#12238) weekly.2021.42.1 playX 2021-10-20 16:02:21 +03:00
  • 7c1fff3495 builder: pass -std=gnu99 to the C backend under linux (#12236) Lance Fredrickson 2021-10-20 05:26:25 -06:00
  • 3e52d54586 cgen: fix match expr when evaluating to sumtype (#12237) 05st 2021-10-20 03:52:11 -05:00
  • ef0eaeee08 ci: fix broken js tests Delyan Angelov 2021-10-19 20:05:27 +03:00
  • a8ced46564 sokol: fix a typo Alexander Medvednikov 2021-10-19 17:18:10 +03:00
  • ab350d52ec cgen: support RangeExpr while emitting enum switch case (#12226) ChAoS_UnItY 2021-10-19 22:02:22 +08:00
  • d8ea9e4969 sokol: move _sapp_macos_resize_window Alexander Medvednikov 2021-10-19 16:58:39 +03:00
  • 45534b512b time: move pure V function from time.c.v Alexander Medvednikov 2021-10-19 16:03:45 +03:00
  • f2cda1a529 parser: update p.inside_or_expr consistently (fix v fmt -w vls/analyzer/symbol_registration.v) Delyan Angelov 2021-10-19 13:33:02 +03:00
  • 6aca360507 parser: fix checking unexpected name (#12233) yuyi 2021-10-19 17:27:59 +08:00
  • c1aa782a6c js,checker: fix some modules build for v -b js self, fix or block check in ast.CallExpr (#12231) playX 2021-10-19 12:11:54 +03:00
  • 39c3817ce4 readme: add a section for installing openssl so linking to it when answering is easier. Delyan Angelov 2021-10-19 09:43:29 +03:00
  • a84a6d1fb1 docs: fix typos, cleanup wording (#12227) czkz 2021-10-18 21:03:27 +03:00
  • 108644d260 vweb: add file method to vweb.Context, make the existing json method generic (#12211) xiao xigua 2021-10-18 23:25:06 +08:00
  • e9aa18fcc8 roadmap: mark parallel cgen and interface embedding as done Delyan Angelov 2021-10-18 17:50:05 +03:00
  • 3af53e29c9 doc: update the interface sections (#12225) lydiandy 2021-10-18 19:24:09 +08:00
  • b23984a211 builder: only print the thirdparty object rebuilding line with '-v' Delyan Angelov 2021-10-18 13:28:09 +03:00
  • 53c2e262f1 cgen & jsgen: generate when possible a switch from match x { (#12216) ChAoS_UnItY 2021-10-18 15:59:52 +08:00
  • a3de67de28 js: support WASM interoperability using wasm_import/wasm_export fn tags (#12212) playX 2021-10-18 10:56:21 +03:00
  • 2070839722 io: pub the RandomReader interface (#12222) lydiandy 2021-10-18 15:51:36 +08:00
  • 5dd3864617 markused: fix v -skip-unused cmd/tools/vpm.v regression after 98b2bdb weekly.2021.42 Delyan Angelov 2021-10-18 08:43:56 +03:00
  • 735c961682 autofree: add skipped string_plus_string_plus.v sample Delyan Angelov 2021-10-17 12:23:27 +03:00
  • 6e4bda3741 strconv: fix string builder leaks in format_dec_old, format_es_old, format_fl_old, v_sprintf Delyan Angelov 2021-10-17 11:50:26 +03:00
  • 1313dcf601 gg: fix leak in draw_image_with_config Delyan Angelov 2021-10-17 11:28:10 +03:00
  • 98b2bdb410 io: cleanup ReaderWriter interface (#12218) lydiandy 2021-10-18 00:39:51 +08:00
  • 3a073329ff builder: use os.new_process() instead of os.system() in v run (#12214) czkz 2021-10-17 19:01:34 +03:00
  • a006090b08 ast: minor cleanup of register_type_symbol (#12213) yuyi 2021-10-17 20:50:42 +08:00
  • 29f068997b math: add fn clamp (#12205) czkz 2021-10-17 06:42:40 +03:00
  • fd3a10ab43 checker: fix mut check bypass with for in loops (#12208) 05st 2021-10-16 22:41:39 -05:00
  • e6b7ab8b9d net.http: authority header Alexander Medvednikov 2021-10-17 06:40:12 +03:00
  • 678e3a210d tools: add vshader (#12195) Larpon 2021-10-16 21:10:48 +02:00
  • bff7cc5f20 thirdparty: remove patch marks in sokol_gfx.h (#12198) Larpon 2021-10-15 18:36:44 +02:00
  • dee4ffbc99 builder: make -usecache rebuild cached, but changed modules, and their dependants (#12193) Delyan Angelov 2021-10-15 12:22:59 +03:00
  • c108e01917 checker: fix generic fn return types with generic struct (#12186) yuyi 2021-10-15 16:50:10 +08:00
  • 27cd21e459 cgen: fix infix ops, for cross assignments of types with overloaded operators (#12192) yuyi 2021-10-15 16:32:58 +08:00
  • 814b4ebb4c term: get_terminal_size() for js_node, term.clear() for all js backends (#12189) playX 2021-10-15 10:10:40 +03:00
  • d3887c1568 time: fix sys_mono_now for the JS backend (#12187) playX 2021-10-15 09:22:15 +03:00
  • c29a5cdedb term: fix readme typo (#12180) czkz 2021-10-15 06:08:31 +03:00
  • 4d1307f29b all: index accessor in array init expression (#12181) ChAoS_UnItY 2021-10-15 08:57:49 +08:00
  • 6d62574e7f tutorials: fix argument type (#12182) Carlos Esquerdo Bernat 2021-10-15 01:24:22 +02:00
  • c9b2f878b3 parser, checker: optimize checking generic struct type mismatch (#12179) yuyi 2021-10-15 05:11:31 +08:00
  • 4490d5ed29 context: cleanup the tests and the documentation (#12175) Ulises Jeremias Cornejo Fandos 2021-10-14 07:32:42 -03:00
  • 4c2cb1b6df vdoc: prevent leaking to the docs the pure_v_but_overriden_by_ prefix Delyan Angelov 2021-10-14 11:47:50 +03:00
  • 05885059bd cgen: remove the extra generated parentheses of single in_expr (fix #12158) (#12168) yuyi 2021-10-14 16:38:16 +08:00
  • 6f629d1a6a transformer: eliminate unreachable branches & redundant branch expressions in MatchExpr (#12174) ChAoS_UnItY 2021-10-14 07:15:52 +08:00
  • 5b9553d5c4 orm: fix last_id() call in mysql (#12173) nyx-litenite 2021-10-13 14:24:07 -04:00
  • 5bfa3d5530 sokol: add screenshot function to OpenGL based backends (#12169) Larpon 2021-10-13 20:22:58 +02:00
  • 97e999768a checker: fix generic fn return array of generic struct (#12170) yuyi 2021-10-14 02:21:32 +08:00
  • d373eba79b js: implement more functions for JS backend (#12167) playX 2021-10-13 09:40:14 +03:00
  • ade5774313 native: fix return a+b infix construction (#12161) pancake 2021-10-12 18:38:17 +02:00
  • 6c728cf389 js: add draft support for -skip-unused (hello_world.v works) Delyan Angelov 2021-10-12 19:22:16 +03:00
  • 1d2b56d71d native: fix example exit((1,2)->(a,b)return a+b) (#12154) pancake 2021-10-12 17:51:28 +02:00
  • 347ebe5fd3 native: append .exe, when using the native backend on windows (#12159) pancake 2021-10-12 17:49:42 +02:00
  • a0a0ae85eb native: add support for pe64 when -os windows is used (#12149) pancake 2021-10-12 09:43:40 +02:00
  • 22962dd2d2 js: change codegen for match statement, speedup string.split_into_lines (#12157) playX 2021-10-12 09:52:16 +03:00
  • cfc56b24fb vweb: fix [post] route matching Alexander Medvednikov 2021-10-12 08:18:04 +03:00
  • 555e8cada6 tutorials: update the vweb tutorial with the new form parsing syntax Alexander Medvednikov 2021-10-12 07:17:49 +03:00
  • da58ba0d5c vweb: populate action method params with form values Alexander Medvednikov 2021-10-12 07:09:56 +03:00
  • 4d7bb95c2f vweb: add a vweb_global attribute (#12064) Anton Zavodchikov 2021-10-12 06:35:36 +03:00
  • 5eba02ea94 native: fix stackframe bug on return statements (#12153) pancake 2021-10-12 05:03:44 +02:00
  • 0fafefc078 regex: bug fix on find groups indexes (#12152) penguindark 2021-10-12 05:03:23 +02:00
  • 3c8be0db72 tests: reduce maxn in builder_test.js.v to just 1000 for now (runs in under 200ms, vs ~240s before that) Delyan Angelov 2021-10-11 19:57:35 +03:00
  • 9fabf9f20c checker: check for x := Abc { f: fn () ? {} } mismatch, when f is fn () Delyan Angelov 2021-10-11 19:20:41 +03:00
  • 6c6bb08547 tools/vast: update vast to latest V weekly.2021.41 Delyan Angelov 2021-10-11 15:29:37 +03:00
  • 0386f2bbea checker: add an interface check for mutability, fixes #1081, fixes #7038 (#11963) Alexander Ivanov 2021-10-11 15:41:31 +03:00
  • d0c961ebc0 transformer: eliminate unreachable branches in IfExpr and fold more expressions and statements (#12135) ChAoS_UnItY 2021-10-11 19:29:17 +08:00
  • 35b301f73c math: add some benchmark tests (#12142) Ulises Jeremias Cornejo Fandos 2021-10-11 08:20:07 -03:00
  • 3e02cfd528 cgen: fix in op usage on array of sumtypes without cast (#12141) 05st 2021-10-11 06:17:04 -05:00
  • ceb24bc32e tests: show the number of parallel jobs used while testing Delyan Angelov 2021-10-11 13:10:55 +03:00
  • 1831eccd5e checker: check generic struct using in non-generic fn (#12136) yuyi 2021-10-11 07:46:44 +08:00
  • e69df54a36 cgen: fix multi-return in if/match exprs (#12139) 05st 2021-10-10 18:45:01 -05:00
  • 0f7dfb984a math: remove the C backend for f64 functions (#12121) Ulises Jeremias Cornejo Fandos 2021-10-10 05:21:48 -03:00
  • 83bc9b35b1 ast: fix checking generic fn call with fntype arg mismatch (#12132) yuyi 2021-10-10 16:14:19 +08:00
  • 8d5931c96c orm: fix a typo (#12131) Yeuda By 2021-10-10 03:47:35 +03:00
  • 3647fc6633 parser: perform constant folding before checking size of fixed array (#12126) ChAoS_UnItY 2021-10-10 06:55:25 +08:00
  • 093cab6f56 checker: check generics struct init that types mismatch (fix #12115) (#12120) yuyi 2021-10-09 20:03:37 +08:00
  • 7a6491b9b0 native: initial implementation of C.syscall (#12098) pancake 2021-10-09 14:01:30 +02:00
  • d14b5d0c11 ci: reduce flakyness of vlib/v/pref/options_test.v on ubuntu Delyan Angelov 2021-10-09 12:58:21 +03:00
  • 32ea53960e v doc: show a proper error message instead of panic on v doc -m file.v Delyan Angelov 2021-10-09 11:56:30 +03:00
  • e267106220 math: implement logarithm function in pure V (#12111) playX 2021-10-09 11:17:09 +03:00
  • 23e679475c time: sanity check parsed date/times Delyan Angelov 2021-10-09 10:46:04 +03:00
  • 3c7c11e55b cgen: fix sumtype with none type (fix #12101) (#12102) yuyi 2021-10-09 08:32:37 +08:00
  • 43931be451 math: sqrti, powi, factoriali (#12072) 05st 2021-10-08 14:07:44 -05:00
  • cd5b304cbf cgen: add interface case for gen_struct_equality_fn (#12094) 05st 2021-10-08 11:04:24 -05:00
  • a8ace2c41c math: implement pow in pure V (#12105) playX 2021-10-08 17:44:55 +03:00