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

Commit Graph

  • 125c571d4a scanner: minor cleanup in ident_string() (#18971) yuyi 2023-07-26 19:52:22 +08:00
  • b35ad8a657 scanner: fix string interpolation with match expr (#18969) yuyi 2023-07-26 16:27:20 +08:00
  • e03c0329c1 Revert "runtime: cleanup free_memory comptime conditional (#18968)" Delyan Angelov 2023-07-26 09:01:37 +03:00
  • 571469a6ac runtime: cleanup free_memory comptime conditional (#18968) phoebe 2023-07-26 06:43:08 +02:00
  • 5ecbfb7bf1 v.scanner: use internally_generated_v_code instead of internal_memory to describe generated code buffers Delyan Angelov 2023-07-25 13:32:11 +03:00
  • 44ed42ce06 time: remove deprecated time.days_from_civil/1 Delyan Angelov 2023-07-25 11:20:41 +03:00
  • a421e485fc vlib: remove deprecated pg, mysql, sqlite, mssql modules. Leave only the db. prefixed db.pg, db.mysql etc Delyan Angelov 2023-07-25 11:20:07 +03:00
  • 3a91a5eceb cgen: remove \r for consistency (#18962) weekly.2023.30 phoebe 2023-07-25 01:26:09 +02:00
  • fab915782d v.scanner: fix string interpolation when quote is directly after '}' (#18961) Casper Küthe 2023-07-25 00:58:49 +02:00
  • b29f3caeec checker: cleanup in fn.v (#18958) yuyi 2023-07-25 05:12:43 +08:00
  • c6ddbd308e vet: give notice for replacing const dynamic arrays with const fixed ones (#18960) Swastik Baranwal 2023-07-25 00:43:38 +05:30
  • d4bedebace checker: support @STRUCT in static methods Delyan Angelov 2023-07-24 13:14:52 +03:00
  • b29a084257 builtin: move array.data to the top of the struct Alexander Medvednikov 2023-07-23 18:53:19 +03:00
  • 7cec70e525 sokol: use GLCORE33 on linux Alexander Medvednikov 2023-07-23 18:51:32 +03:00
  • 78681bf852 checker: fix const from multi branchs of if expr (#18951) yuyi 2023-07-23 19:09:44 +08:00
  • e1758bc0c5 cgen: fix infix expr with number overflow (fix #18905) (#18936) yuyi 2023-07-23 18:18:22 +08:00
  • 15fdfd7bcf tools: fix vcomplete for zsh (#18950) Turiiya 2023-07-23 12:15:23 +02:00
  • 40dc80079d native: fix the file path used for warning messages (#18948) Eliyaan (Nopana) 2023-07-23 07:03:30 +02:00
  • ac0ae1966a time: update doc comments (#18947) Turiiya 2023-07-22 20:30:36 +02:00
  • 41f99c1abf tools: add cmd/tools/show_ancient_deprecations.v, to cleanup ancient functionality, deprecated over an year ago (#18946) Delyan Angelov 2023-07-22 19:13:58 +03:00
  • 7451178c45 fmt: fix formatting of the comptime call (#18945) yuyi 2023-07-22 23:11:36 +08:00
  • 466c80f80a vlib: remove methods deprecated before 2022-07-22 (#18944) Delyan Angelov 2023-07-22 18:11:12 +03:00
  • 30fc9380a1 doc: use square brackets for generics in comments (#18943) Michael Charlton 2023-07-22 11:22:30 +01:00
  • dcbc9e0b9b math.big: add isqrt_checked and standardize error format (#18939) phoebe 2023-07-22 08:20:45 +02:00
  • c3ff4b2f85 net.conv: rename functions to match other langs, making them easier t… (#18937) JalonSolov 2023-07-22 02:11:01 -04:00
  • bf00ac656f readline: remove new line \n character from readline output, now just Enter produces '' (#18934) indexxd 2023-07-22 06:01:57 +02:00
  • a3449098a9 time: fix losing of the .is_local value after adding duration (#18938) werkzeug 2023-07-22 06:01:11 +02:00
  • ba1c5def77 strconv.atoi: fix string.int() returning numbers for non number characters (fix #18875) (#18925) penguindark 2023-07-22 05:43:10 +02:00
  • 7b306e9b8f math.big: add checked division methods (#18924) phoebe 2023-07-21 19:06:54 +02:00
  • 4a543c5f51 docs: add arm32 and i386 to the documented list of supported comptime architectures (#18932) phoebe 2023-07-21 19:01:46 +02:00
  • 64a8c14a3c builtin: fix the comments about flushing on print/1 and println/1 (#18927) Kim Shrier 2023-07-21 09:44:13 -06:00
  • 36d45c6d14 net.http.chunked: return !string on decode (#18928) l-m 2023-07-21 13:37:55 +00:00
  • 8b4c3fa1d1 ci: make -autofree failures easier to diagnose, test -autofree more on linux and windows too (#18929) Delyan Angelov 2023-07-21 15:39:43 +03:00
  • 96ff3ce8f7 readline: add support for ctlr+w and ctrl+u shortcuts (#18921) indexxd 2023-07-21 12:20:12 +02:00
  • 00619b0b3f tests: fix invalid_insert_references_test.vv (#18926) yuyi 2023-07-21 15:37:57 +08:00
  • 3b377fc791 cgen: format generated c code of hash stmt and enum decl (#18919) yuyi 2023-07-21 08:15:17 +08:00
  • 9cc24c5dac checker: do not allow modifying immutable vars via arrays with refs Alexander Medvednikov 2023-07-21 02:47:31 +03:00
  • 93b3f1ca55 math.big: make is_odd public and add test cases (#18916) phoebe 2023-07-20 12:52:50 +02:00
  • ef1f5d7725 math.big: allow bitwise ops on negative signum (#18912) phoebe 2023-07-20 12:52:28 +02:00
  • f9906f3a9e math.big: fix inner deprecated binary_str use (#18911) phoebe 2023-07-20 12:51:58 +02:00
  • 09d743ac81 cgen: minor cleanup in infix_expr_arithmetic_op() (#18913) yuyi 2023-07-20 18:51:47 +08:00
  • 4daddd3e84 math.big: improve is_power_of_2 (#18914) phoebe 2023-07-20 12:51:26 +02:00
  • 6fef2c2ae8 math.big: add test cases for is_power_of_2 (#18910) phoebe 2023-07-20 01:34:31 +02:00
  • d66b097ddc crypto.pem: add decode_only and general improvements to decoding (#18908) phoebe 2023-07-20 01:34:08 +02:00
  • 511274a8d4 json: fix raw decode to option string of complex data (#18902) Felipe Pena 2023-07-19 20:33:39 -03:00
  • a49b8f28b1 math.big: rework function naming and documentation (#18890) phoebe 2023-07-20 01:33:07 +02:00
  • bd3501affa cgen: fix option ptr initialization (#18893) Felipe Pena 2023-07-19 20:29:59 -03:00
  • 0073283f53 vweb: add parameter arrays documentation (#18903) Casper Küthe 2023-07-20 01:28:11 +02:00
  • a794dea809 checker: make sure vweb actions return vweb.Result Alexander Medvednikov 2023-07-19 20:09:45 +03:00
  • 1ed0cd9a74 builtin: reduce the number of array allocations for consts in all V programs (#18889) Artem Yurchenko 2023-07-19 12:06:41 +02:00
  • 44d2f2b302 checker, cgen: fix closure with inherited sumtype variable (#18894) yuyi 2023-07-19 02:12:45 +08:00
  • e71370dc40 cgen: format generated c codes of sorted structs (#18898) yuyi 2023-07-19 02:08:43 +08:00
  • e5a727c3e1 checker: fix error msg for index error for int ptr (#18896) Swastik Baranwal 2023-07-18 20:00:54 +05:30
  • 4f629cd883 time: fix hour 0 parsing, remove unused function (#18897) Turiiya 2023-07-18 16:28:40 +02:00
  • 8a0cca2255 math: correct documentation error for math.signi, make it match the fn signature (#18872) Michael Charlton 2023-07-18 15:25:47 +01:00
  • 0915d87c7c examples: cleanup process_script.v (#18899) Turiiya 2023-07-18 16:22:26 +02:00
  • 6dcf122172 crypto.pem: add a static method Block.new, to replace new (#18846) phoebe 2023-07-18 07:02:30 +02:00
  • 39cfaafaae checker: check generic sumtype declaration (fix #18741) (#18865) yuyi 2023-07-18 07:39:01 +08:00
  • 3b9291a958 cgen: fix printing multiple fixed array (fix #18866) (#18879) yuyi 2023-07-18 07:36:35 +08:00
  • ef049839ab ci: fix failing tests-sanitize-memory-clang (regression after 9047f7c) Delyan Angelov 2023-07-18 02:35:01 +03:00
  • bf98f7c9ee time: fix parse_format with YY (#18887) Turiiya 2023-07-18 01:05:49 +02:00
  • 2eea59c4cc time: fix and cleanup int validity checks (#18885) Turiiya 2023-07-17 21:24:52 +02:00
  • 8c8d21d130 checker: add -skip-unused support for vweb.run_at too (#18884) Delyan Angelov 2023-07-17 15:51:50 +03:00
  • 63867d4ce0 time: add missing custom_format token (#18880) Turiiya 2023-07-17 09:40:27 +02:00
  • c2dc1ca706 net.http: make listener public, and add addr in Server struct (#18871) alexferl 2023-07-16 08:42:30 -04:00
  • b06811cb0f checker: clean up ensure_type_exists() (#18860) yuyi 2023-07-15 01:44:01 +08:00
  • 4413808941 picohttpparser: make u64toa public (#18861) l-m 2023-07-14 14:21:40 +00:00
  • fb11a16ab8 tools: fix unhandled error in v new api_test web Delyan Angelov 2023-07-14 16:19:25 +03:00
  • 9047f7c9a8 vweb: fix parsing of form fields, send with multipart/form-data (by JS fetch) Delyan Angelov 2023-07-14 16:07:52 +03:00
  • f1bc5e6d46 http: Request.host Alexander Medvednikov 2023-07-14 14:26:03 +03:00
  • 8ecad5abf8 checker: clean up in cast_expr() (#18859) yuyi 2023-07-14 18:38:41 +08:00
  • 207203f599 pref: make -autofree work without -gc none Alexander Medvednikov 2023-07-14 12:41:17 +03:00
  • 877e6ddc9f checker: minor wording fix in an error Alexander Medvednikov 2023-07-14 12:34:25 +03:00
  • 7e067c5fb6 ast: minor cleanup in table.v (#18856) yuyi 2023-07-14 17:17:20 +08:00
  • 3081919a8f native: move functions out of amd64.v (#18857) Eliyaan (Nopana) 2023-07-14 11:15:22 +02:00
  • a9a94cfd51 checker: add a separate error msg for fail_if_immutable for anon fns (#18854) Swastik Baranwal 2023-07-13 19:25:06 +05:30
  • aef4367a27 cgen: fix returning an option tuple - fn f() ?(int,int) { return g() } (#18851) yuyi 2023-07-13 17:02:26 +08:00
  • 413ffbfc3b v: allow alias as fixed array on return (#18817) Felipe Pena 2023-07-13 05:58:49 -03:00
  • 029e8a815b checker: fix type checker on auto deref var (#18842) Felipe Pena 2023-07-13 05:56:11 -03:00
  • efcb15d05b docs: update deprecated function results (#18850) Turiiya 2023-07-13 00:43:04 +02:00
  • 52a055b6bc cgen: fix option map with fn type value (#18849) yuyi 2023-07-12 20:48:04 +08:00
  • c422919481 wasm: remove dependency on thirdparty/binaryen, webassembly backend rewrite (#18120) l-m 2023-07-12 12:24:38 +00:00
  • 1c7df29bed checker: disallow voidptr cast to struct (#18845) Swastik Baranwal 2023-07-12 13:37:34 +05:30
  • a43064af07 picoev, picohttparser: reimplement in V (#18506) Casper Kuethe 2023-07-12 08:40:16 +02:00
  • 045adb6600 parser: change warn to error, for const names with upper letter (fix #18838) (#18840) yuyi 2023-07-11 22:48:53 +08:00
  • 87dd5de191 docs: fix url location of asm_test.amd64.v (#18841) phoebe 2023-07-11 13:55:43 +02:00
  • 72cd9b80a3 ci: add v-analyzer builds (#18835) JalonSolov 2023-07-11 07:50:15 -04:00
  • 6b792b1257 v: use autocasting in complex conditions (#18839) yuyi 2023-07-11 19:49:43 +08:00
  • 6b29d628c3 cgen: fix generated code for returning generic result/option to comptime var (#18834) Felipe Pena 2023-07-10 15:24:13 -03:00
  • 6a8a22891d checker: fix autocast in complex if condtions 5 (#18833) yuyi 2023-07-11 02:22:13 +08:00
  • acd581add5 strconv: mark strconv.v_sprintf and strconv.v_printf with [unsafe] (part 2, breaking change, needed an update to vsl) (#18836) Delyan Angelov 2023-07-10 21:20:47 +03:00
  • 6b00685629 strconv: remove deprecations for strconv.v_sprintf and strconv.v_printf (part 1) Delyan Angelov 2023-07-10 17:42:29 +03:00
  • e7af25ec14 examples: add examples/gg/many_thousands_of_circles.v, thanks to @xjunko, document how to use ctx.end(how:.passthru). (#18832) weekly.2023.28 Delyan Angelov 2023-07-10 15:33:14 +03:00
  • f8e89ae91c all: remove any type future implementation reference (#18822) Felipe Pena 2023-07-10 04:41:06 -03:00
  • c9e8dd56c2 cgen: fix cross assign with aliased array (#18830) yuyi 2023-07-10 15:40:48 +08:00
  • 1728e4c73e cgen: fix anon fn direct call with option (#18827) yuyi 2023-07-10 05:15:25 +08:00
  • 921a2e1c2e delete empty log.txt (#18829) Wertzui123 2023-07-09 23:14:53 +02:00
  • 0498f4c40f checker: add an error for $tmpl function type mismatches (#18826) Swastik Baranwal 2023-07-09 22:10:10 +05:30
  • 59eb76c81d v: allow none for not first values on map initialization (#18821) Felipe Pena 2023-07-09 09:41:24 -03:00
  • 8f3a1751e3 json: fix option state (#18802) Felipe Pena 2023-07-09 02:23:24 -03:00