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

Commit Graph

  • fe37da31a8 v.transformer: fix string always escaped by transformer (#12603) ChAoS_UnItY 2021-11-29 05:53:30 +08:00
  • 6d6a23a1c9 checker: remove redundant code of find field with embed (#12600) yuyi 2021-11-29 03:31:19 +08:00
  • 87029e5707 encoding.base64: vfmt base64.c.v Delyan Angelov 2021-11-28 20:37:08 +02:00
  • 31fe02de8c builtin,crypto: fix problems detected by -fsanitize=address,undefined and -fsanitize=memory Delyan Angelov 2021-11-28 20:35:18 +02:00
  • b4c52b72cf builtin: change the -d debug_malloc byte pattern to M so it is easier to spot with a plain text terminal. Delyan Angelov 2021-11-28 19:23:11 +02:00
  • 9c88317ca6 checker: add a warning if start value is higher than end value (#12602) Leo Developer 2021-11-28 17:46:52 +01:00
  • 5786dd84e6 tests: add a new import_x_json2.v skipped valgrind test Delyan Angelov 2021-11-28 18:36:05 +02:00
  • 1913de0187 x.json2: fix compilation with -autofree Delyan Angelov 2021-11-28 18:31:41 +02:00
  • 5deb56fc79 docs: add v shader section, add help text (#12594) Larpon 2021-11-28 16:17:04 +01:00
  • 969e0dce20 szip: cleanup after tests Delyan Angelov 2021-11-28 15:30:26 +02:00
  • dc610a9a80 ci,crypto: fix -cstrict compilation Delyan Angelov 2021-11-28 15:30:13 +02:00
  • 0fc47b50a2 toml: fix date-time and time ms test inconsistency (#12593) Larpon 2021-11-28 11:42:32 +01:00
  • 783aba4552 vlib/crypto/bcrypt: Add bcrypt (#12595) Taillook 2021-11-28 19:40:50 +09:00
  • f72d001db5 cgen: fix $embed_file not finding embedded file when using -prod (#12596) Leo Developer 2021-11-28 11:32:05 +01:00
  • 1d8ece7ac0 toml: fix, test and optimize nan and inf values (#12592) Larpon 2021-11-27 20:26:28 +01:00
  • 22043f2df1 toml: fix float checker bug for -0.01 (#12590) Larpon 2021-11-27 20:03:26 +01:00
  • d52b62a4f4 toml: improve parsing of bare keys to include - and _ (#12588) Larpon 2021-11-27 14:46:05 +01:00
  • 8315e82188 checker: improve naming for .stmts() and c.stmts_ending_with_expression(), add a better explanation for their purpose Delyan Angelov 2021-11-27 08:09:36 +02:00
  • deaeffc4db checker: add a check for unused x << y expressions (where x != array) (#12586) Delyan Angelov 2021-11-27 07:38:35 +02:00
  • 12585e88e1 checker: remove obsolete/slow const ordering code. close #12544 Joe Conigliaro 2021-11-27 05:36:27 +11:00
  • 4383cf7de5 toml: add iarna/toml-spec-tests to CI tests (#12583) Larpon 2021-11-26 18:15:01 +01:00
  • 89bab98833 native: implement a working hello world compilation for w64 (#12577) pancake 2021-11-26 18:03:15 +01:00
  • 04b030b7ab toml: add 1MB file parsing test to CI (#12582) Larpon 2021-11-26 16:11:14 +01:00
  • 253e38d9d7 toml: support implicit array of tables key change (#12580) Larpon 2021-11-26 14:06:28 +01:00
  • 6299a73e90 builder: prepare for v -b native -os windows run file.v Delyan Angelov 2021-11-26 12:05:29 +02:00
  • 85633fe546 tests: test more edge cases for interfaces (#5292) Sandro Martini 2021-11-26 10:10:03 +01:00
  • cf274f262c checker, cgen: fix fn type call of match expr (#12579) yuyi 2021-11-26 15:52:20 +08:00
  • a59eabc4ab toml: clean up and improve spaced and dotted key parsing (#12576) Larpon 2021-11-25 15:51:54 +01:00
  • f584e70cf2 js: add fixes for generic structures and functions; add promise API; refactor modules (#12575) playX 2021-11-25 17:49:53 +03:00
  • ac3910b8c2 checker: merge comptime_const_eval.v and noreturn.v into checker.v (#12573) yuyi 2021-11-25 18:41:26 +08:00
  • 9a2c563735 toml: add conversion of ast inf and nan to Any (#12567) Larpon 2021-11-25 11:33:54 +01:00
  • fb3a793a27 tools: add "skip to content" link for screan reader and tui browsers (#12571) Eragon 2021-11-25 01:53:02 +01:00
  • 11d70624af toml: streamline value() api (#12568) Larpon 2021-11-24 19:39:22 +01:00
  • f825306cff toml: workaround #9507 (#12566) Larpon 2021-11-24 19:36:15 +01:00
  • b0bc112168 jsdom, examples: add more WebGL APIs; add interactive 3D cube example running on VJS (#12562) playX 2021-11-24 21:31:39 +03:00
  • ff95cf18d4 toml: expand short date time milliseconds in decoder (#12564) Larpon 2021-11-24 13:49:23 +01:00
  • 6f46fc2170 checker, cgen: fix for_in_mut iterator val (#12563) yuyi 2021-11-24 20:43:37 +08:00
  • cbf4a5b58c docs: fix typos in vscode documentation (#12565) Thomas Mangin 2021-11-24 12:24:36 +00:00
  • 43a1d2cfea ast: cleanup table.v (#12561) yuyi 2021-11-24 15:56:56 +08:00
  • 70ff00efbb bootstrapping: fix building V on OpenBSD (#12558) pancake 2021-11-24 08:46:46 +01:00
  • ff911986e7 ci: add tasks for checking that vsl and vtl are not broken by updates to V (#12559) Ulises Jeremias Cornejo Fandos 2021-11-24 04:45:13 -03:00
  • 8e0de2036d net: use vmemset(&hints, 0, int(sizeof(hints))), instead of zeroing the fields 1 by 1 Delyan Angelov 2021-11-24 09:34:48 +02:00
  • e42db5bee2 ast: fix vtl compile error of generic array type cname (#12555) yuyi 2021-11-24 02:11:51 +08:00
  • 87f7a6d99f ci: update toml_ci.yml's TOML_TESTS_PINNED_COMMIT to 8baf830 Delyan Angelov 2021-11-23 16:58:12 +02:00
  • 1be6aed16e toml: support checking and decoding quoted keys (#12552) Larpon 2021-11-23 15:59:07 +01:00
  • 0779b5fd8e toml: fix implicit array allocation (#12553) Larpon 2021-11-23 15:51:24 +01:00
  • 49cd1b3d59 toml: make value of +nan/-nan decode to nan (#12542) Larpon 2021-11-23 15:23:16 +01:00
  • 12ffe04212 jsdom, builtin/js: WebGL W.I.P; Added support for casting V arrays to typed arrays (#12551) weekly.2021.47 playX 2021-11-23 15:51:59 +03:00
  • e9efed02f0 toml: fix decoding most large number values (#12541) Larpon 2021-11-23 12:23:16 +01:00
  • 3f0e532660 toml: fix unicode and escape value decoding (#12534) Larpon 2021-11-23 10:02:43 +01:00
  • 13a2d547b4 checker: fix vtl compile error (#12550) yuyi 2021-11-23 16:55:15 +08:00
  • 93bdff5589 fmt: remove unnecessary paren in assert stmt (#12546) zakuro 2021-11-23 14:30:54 +09:00
  • fbe2b5cb58 checker: check argument type error of the generics fn declaration (#12539) yuyi 2021-11-23 04:39:20 +08:00
  • bf7074cad4 ci: disable the tcc32 windows tasks for now Delyan Angelov 2021-11-22 22:05:09 +02:00
  • 83fee01f6e make.bat: add -g flag to improve diagnostics reports on windows Delyan Angelov 2021-11-22 22:00:10 +02:00
  • d431145a39 v.util,tools: use os.join_path_single Delyan Angelov 2021-11-22 21:42:43 +02:00
  • bd9564e38b ci: fix failing ttf_test.v after making char unavailable for variable names Delyan Angelov 2021-11-22 18:28:25 +02:00
  • 42b97ef888 ci: add -ladvapi32 for bootstrapping with gcc/clang on windows Delyan Angelov 2021-11-22 17:07:39 +02:00
  • 278be77c11 ci: use wine64 explicitly in ci_cross.yml Delyan Angelov 2021-11-22 16:59:11 +02:00
  • f37eb6a932 checker: check invalid fn parameter name (#12540) yuyi 2021-11-22 22:51:58 +08:00
  • 6914763493 vc: reduce further the average vc commit diff size Delyan Angelov 2021-11-22 16:46:28 +02:00
  • 1bbbba5813 ci: improve ci_cross.yml Delyan Angelov 2021-11-22 16:36:26 +02:00
  • 759f3d28b7 ci: improve diagnostic messages for cloning tcc on windows Delyan Angelov 2021-11-22 16:24:56 +02:00
  • 5e8288528a ci: fix v -b js vlib/builtin/js/array_test.js.v Delyan Angelov 2021-11-22 15:11:33 +02:00
  • 6a252ed015 os: implement a JS version of os.join_path_single too Delyan Angelov 2021-11-22 15:03:05 +02:00
  • 7a0dc60d04 os: re-add the leak in os.join_path (the os.join_path(x, ...arr) case should be handled by V). Add a memleak free os.join_path_single version. Delyan Angelov 2021-11-22 14:40:55 +02:00
  • 5e1782bf9c tests: add more common patterns of os function usage in the -autofree test import_os_and_use_its_constants.v Delyan Angelov 2021-11-22 13:36:58 +02:00
  • c3b8e5e181 ci: fix compilation on FreeBSD Delyan Angelov 2021-11-22 09:32:13 +00:00
  • 84aa05f8fb ci: fix macos build Delyan Angelov 2021-11-22 11:07:26 +02:00
  • fe48380e85 os: cleanup; ci: fix a segfault in the tcc32 job when calling pref.vexe_path() -> os.real_path(os.executable()) Delyan Angelov 2021-11-22 10:32:10 +02:00
  • e77a11001e os: make init_os_args_wide (windows), more simillar to the current init_os_args (unix) Delyan Angelov 2021-11-21 23:04:30 +02:00
  • c7bd74e0f8 ci: fix build, remove [manualfree] from os.vmodules_paths for now Delyan Angelov 2021-11-21 22:34:38 +02:00
  • 1aaac13a60 cgen: make os less special, fix an -autofree leak on just import os Delyan Angelov 2021-11-21 20:53:42 +02:00
  • 117c99d938 v.util: add Surrounder.builder_write_befores and Surrounder.builder_write_afters methods for writing to an existing strings.Builder Delyan Angelov 2021-11-21 13:22:38 +02:00
  • 480f3876ee gg: fix system_font_path (#12533) kahsa 2021-11-22 02:12:15 +09:00
  • 243e66a106 js,jsdom: Canvas & context API; Added TypeSymbol.is_js_compatible & temporary hacks for JS ifaces (#12526) playX 2021-11-20 22:28:11 +03:00
  • 258d0d6df7 cgen: make dump(x) use a single write call, fix memleaks for autogenerated .str() methods of nested structs (#12529) Delyan Angelov 2021-11-20 20:55:19 +02:00
  • f1dd0e3355 toml: add value decoding (#12521) Larpon 2021-11-20 18:48:44 +01:00
  • 4b9e8e243c toml: support arrays in value key query syntax (#12527) Larpon 2021-11-20 18:45:17 +01:00
  • 82010e729d checker: fix "unregistered" variadic interface call arguments (#12525) Ned 2021-11-21 00:15:20 +08:00
  • 90ba856107 cgen: fix dump(x) with fn (x &Type) str() string { Delyan Angelov 2021-11-20 13:12:03 +02:00
  • 24ffc1ffb2 os: fix os.rmdir_all for folders with recursive symlinks Delyan Angelov 2021-11-20 10:24:18 +02:00
  • 1bbc73384c toml: fix memory corruption when returning new date/time types (#12507) Larpon 2021-11-19 19:35:11 +01:00
  • a894a6cf36 toml: fix parsing of alphanumeric keys (#12517) Larpon 2021-11-19 19:34:21 +01:00
  • eec8788333 checker: fix generics fn infer nested generic fn (#12519) yuyi 2021-11-20 02:31:55 +08:00
  • 2794aa623a tools: include vls.log in the .gitignore files for new V projects (#12522) Subhomoy Haldar 2021-11-19 22:53:35 +05:30
  • b576181a66 cgen: fix const x := opt() or {} side effect interference when the consts are in different files in the same module too Delyan Angelov 2021-11-19 19:02:33 +02:00
  • e275220f05 cgen: fix const x := opt() or {} side effect interference with parallel cgen Delyan Angelov 2021-11-19 18:15:06 +02:00
  • 762a7fde2a os: add os.getenv_opt/1 Delyan Angelov 2021-11-19 17:32:01 +02:00
  • c2eb909c9b cgen: fix multiple matches in one expr (#12516) yuyi 2021-11-19 19:52:28 +08:00
  • 80a4ff9900 native: handle some more statements and dont echo warnings (#12518) pancake 2021-11-19 12:50:44 +01:00
  • fa995ca537 checker: add an error for x.method({}) calls, when method expects a struct Delyan Angelov 2021-11-19 13:21:21 +02:00
  • 9eac656e55 native: support passing a directory, instead of just a .v file (#12512) pancake 2021-11-19 09:30:46 +01:00
  • 76cf11e6b5 toml: add Any.default_to() method (#12506) Larpon 2021-11-19 09:26:45 +01:00
  • b367ed9ba3 native: support defining functions in any order (#12511) pancake 2021-11-19 09:25:42 +01:00
  • d498c365c2 checker: cleanup infer_fn_generic_types() (#12515) yuyi 2021-11-19 16:24:03 +08:00
  • 24ba660367 bitfield,flag: document the remaining functions Delyan Angelov 2021-11-18 20:14:59 +02:00
  • 96554fad71 toml: improve number conversion (#12509) Larpon 2021-11-18 18:46:19 +01:00
  • 3caeadfa0d cgen,vfmt: support [weak] tags for functions and globals Delyan Angelov 2021-11-18 18:09:31 +02:00
  • 7fba3e65e9 toml: support empty tables (#12504) Larpon 2021-11-18 14:39:44 +01:00