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

Commit Graph

  • c0dcc80e18 cgen: support -profile - for _test.v files too Delyan Angelov 2022-05-21 10:59:01 +03:00
  • a7afb2d1eb time: remove import math dependency, by implementing a simpler version of mceil Delyan Angelov 2022-05-21 01:48:34 +03:00
  • 971c55cf30 os: add norm_path and abs_path function (#14435) Ben 2022-05-21 00:16:29 +02:00
  • efc5cab8c3 checker,cgen: allow result if guard (#14474) Daniel Däschle 2022-05-20 18:34:53 +02:00
  • 53c217fe5e cgen: do not generate _vinit() for translated .o code Alexander Medvednikov 2022-05-20 19:28:18 +03:00
  • 17bba712bd checker: ban unsafe pointer/fn comparison (#14462) Vincenzo Palazzo 2022-05-20 17:30:16 +02:00
  • d81fbb1ccd ci: only run on master (#14476) Daniel Däschle 2022-05-20 17:27:35 +02:00
  • dd1049f21d thirdparty: fix typo in atomic.h, cleanup comments. Delyan Angelov 2022-05-20 12:28:23 +03:00
  • 28b0cbddad parser: check error for script mode that define main function (fix #14467) (#14469) yuyi 2022-05-20 19:20:18 +08:00
  • 913164bc73 builtin: minor cleanup in string_interpolation.v (#14471) yuyi 2022-05-20 19:19:27 +08:00
  • bf44572f30 fmt: fix chain calls with comments (#14470) yuyi 2022-05-20 16:47:44 +08:00
  • 11bdb04d0c json: fix struct field default value support (#14304) StunxFS 2022-05-20 04:22:17 -04:00
  • ca00b59b3f tests: make potential failures in urllib_test.v more informative Delyan Angelov 2022-05-20 08:49:51 +03:00
  • 120f31b4d9 math: update documentation (#14457) David 'Epper' Marshall 2022-05-20 01:45:54 -04:00
  • 23568f19da url: fix parse (#14456) David 'Epper' Marshall 2022-05-19 19:58:58 -04:00
  • 95d24e543d checker, cgen: fix shared non-decl assignment (#14466) crthpl 2022-05-19 16:58:11 -07:00
  • 55e7daa2f9 cgen: simplify auto_str_methods.v (#14463) yuyi 2022-05-20 03:29:15 +08:00
  • 46f94e8d68 cgen: fix autostr of shared fields (#14455) crthpl 2022-05-19 07:00:27 -07:00
  • a52fbc5e51 checker: forbid optional variable (#14460) Daniel Däschle 2022-05-19 15:04:44 +02:00
  • 3291c59ebf cgen: minor cleanup in auto_str_methods.v (#14461) yuyi 2022-05-19 19:02:07 +08:00
  • 634e8c3624 vfmt: keep selective imported names used for generic calls Delyan Angelov 2022-05-19 12:48:37 +03:00
  • 15c62bc8e8 parser: improve error messages of 'for val in array' (#14459) yuyi 2022-05-19 16:53:27 +08:00
  • 25812e52f0 ci: use V_CI_CSTRICT=1 consistently for every v -cstrict test-self Delyan Angelov 2022-05-19 11:52:31 +03:00
  • a52590572f tests: fix the push_work_on_channel.vv output Delyan Angelov 2022-05-19 11:30:36 +03:00
  • 3d5617c4fa tests: re-add the disambiguated for (val in [TokenValue(+), TokenValue(-)]) { test Delyan Angelov 2022-05-19 08:31:03 +03:00
  • 809b1ca3b4 Revert "parser: fix 'val in array' as condition in for stmt (fix #14440) (#14451)" Delyan Angelov 2022-05-19 08:29:30 +03:00
  • b482c0512b parser: fix 'val in array' as condition in for stmt (fix #14440) (#14451) yuyi 2022-05-19 01:38:53 +08:00
  • 805a7d9713 ci: skip more .vv files on specific jobs Delyan Angelov 2022-05-18 20:04:59 +03:00
  • 5b96f7e8fd checker: split up infix.v from checker.v (#14449) yuyi 2022-05-18 19:52:53 +08:00
  • 4cbfa884c5 cgen: fix another error for 'in array of sumtype' (#14448) yuyi 2022-05-18 19:39:35 +08:00
  • f2447a4bd8 tests: do not use -prod for compiling .vv files in vlib/v/checker/tests/ and vlib/v/parser/tests/ Delyan Angelov 2022-05-18 12:34:22 +03:00
  • 2cc3b74e19 tests: cleanup compiler_errors_test.v using language features (chan), instead of raw sync.new_channel and unsafe { ch.push } calls Delyan Angelov 2022-05-18 11:30:28 +03:00
  • 9de0c725f6 checker: add test for empty #flag node, (fix #14291) (#14447) Larpon 2022-05-18 12:38:58 +02:00
  • a786c58d0a os: add fn user_names() (#14424) Adam Oates 2022-05-18 10:37:34 +00:00
  • 417a6dc506 cgen: fix error for 'in array of sumtype' (#14444) yuyi 2022-05-18 13:51:31 +08:00
  • 8eea861c93 vcomplete: improve flag completion, add missdoc (#14415) Larpon 2022-05-18 07:50:32 +02:00
  • ed17779434 math.big: fix Integer.bit_len() when there are no digits in the number Delyan Angelov 2022-05-18 08:29:08 +03:00
  • ebac3bebb1 pref: pass -v after a command, to the command only, do not set verbose mode on Delyan Angelov 2022-05-18 07:03:00 +03:00
  • a608516b82 checker: c2v fixed array fix (#14436) playX 2022-05-17 23:35:05 +00:00
  • b5fb848508 cgen: reduce the closure memory usage (#14437) spaceface 2022-05-18 01:34:51 +02:00
  • 65d9c8fa6f tools: add a vet_known_failing_windows skip list to v test-cleancode Delyan Angelov 2022-05-17 20:19:37 +03:00
  • dfa2d63616 ci: use VJOBS=1 for the macos v test-cleancode task too; cleanup periodic.yml Delyan Angelov 2022-05-17 19:48:37 +03:00
  • 4e56147223 ci: vfmt builtin_d_use_libbacktrace.c.v Delyan Angelov 2022-05-17 19:41:57 +03:00
  • 2a06290ac7 cgen: fix eq generation for translated code Alexander Medvednikov 2022-05-17 15:29:52 +03:00
  • db4b49a5ca builtin: print libbacktrace output to stderr, on panics/segfault crash (#14434) Ned 2022-05-17 19:56:34 +08:00
  • da42f0d42b ci: add an early step 'All code is formatted' to more workflows. Delyan Angelov 2022-05-17 13:14:08 +03:00
  • 3fc4459485 ci: ignore orm_joined_tables_select_test.v on tasks, that do not have sqlite installed Delyan Angelov 2022-05-17 12:53:07 +03:00
  • 020845f6c3 cgen: fix alias of array that has builtin method (#14432) yuyi 2022-05-17 17:26:26 +08:00
  • d7b1e57186 v.builder: improve builder error messages (fix #14386) (#14421) yuyi 2022-05-17 17:12:20 +08:00
  • 60e817ff32 cgen: minor optimization in index_of_array/map() (#14429) yuyi 2022-05-17 17:08:44 +08:00
  • d6aa85d059 parser: fix panic for parse invalid map type (#14431) yuyi 2022-05-17 17:05:10 +08:00
  • 7c6eaa8204 checker: allow to use [n]anyptr as [n]otherptr in check_types (c2v fix) (#14433) playX 2022-05-17 08:55:04 +00:00
  • 78ab3296c9 checker: fix orm bug, when a joined table field context replaced the original table field context Delyan Angelov 2022-05-17 11:39:53 +03:00
  • 02c8a6057c builtin.string: new fn (s string) is_ascii() bool (#14418) weekly.2022.20 WoodyAtHome 2022-05-17 07:01:03 +02:00
  • d10f83ce15 cgen: fix c2v struct eq Alexander Medvednikov 2022-05-17 03:39:48 +03:00
  • bc397bb0e1 checker: c2v array fix (#14426) playX 2022-05-16 21:08:41 +00:00
  • 32dd801201 checker: apply fix for ui suggested by spaceface Delyan Angelov 2022-05-16 21:33:02 +03:00
  • 9cb8bb2968 Revert "Revert "checker: allow using methods as vars when expecting a ctx arg (#14414)"" Delyan Angelov 2022-05-16 21:29:47 +03:00
  • c624de8523 cgen: fix struct field array index error (#14417) yuyi 2022-05-17 00:37:39 +08:00
  • e5c7fe3006 Revert "checker: allow using methods as vars when expecting a ctx arg (#14414)" Delyan Angelov 2022-05-16 14:19:33 +03:00
  • 39874ae168 clipboard: fix v -gc boehm run x.v, where x.v does c.paste() (fix #14281) Delyan Angelov 2022-05-16 12:54:30 +03:00
  • d59f4e9479 ast, cgen: fix generic method with variadic generic argument (#14404) yuyi 2022-05-16 17:26:38 +08:00
  • ef6225c542 vvet: fix false positive, add test (#14403) Larpon 2022-05-16 11:24:21 +02:00
  • 0ab4133128 cgen: minor cleanup in struct_init() (#14405) yuyi 2022-05-16 17:22:51 +08:00
  • 36bec823c2 checker: allow using methods as vars when expecting a ctx arg (#14414) spaceface 2022-05-16 11:05:08 +02:00
  • c2b763655d net.smtp: handle UTF-8 subjects according to RFC 1342 (#14410) WoodyAtHome 2022-05-16 10:09:36 +02:00
  • 1cf683d482 checker: add a suggestion for misspelled mod.const_name + a test Delyan Angelov 2022-05-16 10:29:38 +03:00
  • b4c529066a tests: simplify cmd/tools/modules/testing/common.v Delyan Angelov 2022-05-15 12:54:22 +03:00
  • cbb24d34c9 os: fix is_abs_path function for Windows systems (#14397) Ben 2022-05-16 08:59:37 +02:00
  • 7fe3ef9a6e fmt: fix fmt error of anon fn with if expr (fix #14393) (#14413) yuyi 2022-05-16 14:48:21 +08:00
  • 5068b8b293 ftp: document all public methods (#14408) Larpon 2022-05-16 07:52:12 +02:00
  • 02e026e298 clipboard: add [heap] tag to the Clipboard structs (#14412) Jah-On 2022-05-16 05:45:40 +00:00
  • eeff02a8ee net.openssl: read doesn't block infinitely (#14406) WoodyAtHome 2022-05-16 07:44:34 +02:00
  • c01a8a1737 checker,gen: allow using methods as function pointers (#14407) spaceface 2022-05-15 17:28:37 +02:00
  • c2bc9f4960 sync: only run channel_select_test.v when VTEST_RUN_FLAKY=1 Delyan Angelov 2022-05-15 12:41:47 +03:00
  • e4065bd57b checker,cgen: fix if expressions in lock expression (#14384) crthpl 2022-05-15 02:31:07 -07:00
  • c28051020a time: fix calculate_date_from_offset (#14399) David 'Epper' Marshall 2022-05-15 03:55:24 -04:00
  • b50f7fdc71 ci: simplify ci_sanitized.yml again; use v.exe fmt -verify vlib/builtin for windows/msvc instead of v test-cleancode Delyan Angelov 2022-05-15 10:54:31 +03:00
  • c70e18ea8f ci: add a skip list in compiler_test.v (for tmpl_parse_html.vv) Delyan Angelov 2022-05-15 10:23:06 +03:00
  • 3a09ccc80a ci: restore .github/workflows/ to its state at cee7856, when all checks were done Delyan Angelov 2022-05-15 09:06:01 +03:00
  • dd6629e932 examples: fix 2048 scaling on Android (#14380) Larpon 2022-05-15 08:14:18 +02:00
  • 8d141878ce math: cbrt fix (#14395) David 'Epper' Marshall 2022-05-14 14:06:38 -04:00
  • 67963e0ff2 ci: further cleanup of ci_sanitized.yml Delyan Angelov 2022-05-14 20:34:01 +03:00
  • 1225a865a3 ci: simplify ci_sanitized.yml Delyan Angelov 2022-05-14 20:29:56 +03:00
  • fe9f97074b cgen: fix appending struct to interface array (#14388) yuyi 2022-05-14 22:49:42 +08:00
  • 3adad32355 tmpl: fix a test Alexander Medvednikov 2022-05-14 17:48:50 +03:00
  • b42c824cdb vweb: simplify @foo by removing V_TEMPLATE rule Alexander Medvednikov 2022-05-14 17:46:26 +03:00
  • f0d46413d9 ci: require code to be formatted before everything else (minimise CI queue length) (#14396) Daniel Däschle 2022-05-14 14:38:15 +02:00
  • b3e80a3100 examples: add missing v.mod file (#14392) JalonSolov 2022-05-14 07:48:42 -04:00
  • 441637eeb4 checker: fix optionals in infix expression check (fix #14354) (#14390) j. redhead 2022-05-13 16:54:49 -05:00
  • cee7856c0f ci: add a quick v test-cleancode check, before more costlier tasks Delyan Angelov 2022-05-13 12:24:11 +03:00
  • 714ce4e7fc ci: fix .out regression after d407a64 Delyan Angelov 2022-05-13 11:18:17 +03:00
  • c1bafe7a5a ci: extract v_apps_and_modules_compile.yml Delyan Angelov 2022-05-13 11:01:59 +03:00
  • 6ec4185017 checker: allow to pass alias to array as a pointer (c2v) (#14389) playX 2022-05-13 07:17:28 +00:00
  • d407a6449d parser: fix dollar (closes #14292) (#14378) Daniel Däschle 2022-05-13 07:30:10 +02:00
  • ed12a5c84c math.big: reduce memory usage of Integer.str() (free intermediary Integers), optimise some operations using [direct_array_access] (#14353) Delyan Angelov 2022-05-13 08:21:34 +03:00
  • 3c95504a35 checker, cgen: fix generic fn with array and fixed array arguments (#14385) yuyi 2022-05-13 11:57:48 +08:00
  • d679146a80 fmt: remove space in front of ? and ! (#14366) Daniel Däschle 2022-05-13 05:56:21 +02:00
  • df029da942 Revert "ci: run code-formatting job before everything else (try 2) (#14379)" Delyan Angelov 2022-05-12 23:29:37 +03:00
  • 0972e67f72 ci: run code-formatting job before everything else (try 2) (#14379) Daniel Däschle 2022-05-12 20:58:11 +02:00