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

Commit Graph

  • 804065a0fa docs: remove note illustrating shadowng of import name, due to 0b7a1cd (#17208) Makhnev Petr 2023-02-03 11:17:56 +04:00
  • 0b7a1cd7ce v: forbid local variable names, shadowing imported module names (#17197) ChAoS_UnItY 2023-02-03 15:09:41 +08:00
  • 603469b856 cgen: don't voidptr cast option/result functions (fix #17204) (#17207) Tim Marston 2023-02-03 06:50:20 +00:00
  • 6d63b27c26 checker: disallow function calls returning void, in () expressions, in assignments (#17205) Swastik Baranwal 2023-02-03 12:17:52 +05:30
  • 8cdc554c63 net.html: fix panic in html.parse() called with empty string, remove replacement of \n in the original content (#17206) weekly.2023.05 walking devel 2023-02-02 22:32:03 +00:00
  • a8102f14be make: use git clone --filter=blob:none for vc/ and thirdparty/tcc/ , which minimises the amount of transferred data (especially for doing v up after a few weeks/months) Delyan Angelov 2023-02-02 18:33:34 +02:00
  • b5b1efbb7b cgen: fix sumtype as cast with calling twice (#17196) yuyi 2023-02-02 19:57:37 +08:00
  • 6572d597f9 Revert "cgen: fix sumtype as cast with calling twice (fix #17156) (#17183)" Delyan Angelov 2023-02-02 10:49:15 +02:00
  • 90ae3c82c9 cgen: fix sumtype as cast with calling twice (fix #17156) (#17183) yuyi 2023-02-02 15:31:11 +08:00
  • 988aed0353 ci: fix broken tests after 322eb81 Delyan Angelov 2023-02-01 22:38:41 +02:00
  • 322eb8197d checker: make null warning an error Alexander Medvednikov 2023-02-01 18:01:55 +01:00
  • e70848a98b dl: add more dlopen flags (#17184) MatejMagat305 2023-02-01 17:32:35 +01:00
  • ed58b95a9d json2: encode array of all and verify sum type (#17051) Hitalo Souza 2023-02-01 11:52:58 -03:00
  • 9809427f40 README: add Void Linux installation instructions (#17176) Dennis T Kaplan 2023-02-01 12:48:44 +03:00
  • 2029d1830f tools: remove cmd/tools/modules/vhelp/ & add print to v share (#17178) Christopher Fore 2023-02-01 04:18:23 -05:00
  • 02fc58d124 orm: add type checker for where (#17179) walking devel 2023-02-01 08:53:34 +00:00
  • 10261c427f tools: add v share file.v (#17172) Christopher Fore 2023-01-31 13:36:17 -05:00
  • 26b9464f51 gg: setup ctx.window.user_data and ctx.user_data on ctx.run(), instead of in gg.new_context, to allow for embedding gg.Context in ui (#17169) Tim Marston 2023-01-31 16:22:20 +00:00
  • a932a8b1ea net.http: make the errors that parse_status_line returns more informative to make diagnosing problems easier Delyan Angelov 2023-01-31 15:11:21 +02:00
  • 8009bc3a98 changelog: more 0.3.3 features Alexander Medvednikov 2023-01-31 14:17:38 +01:00
  • b3d742d13a v.help: reorganise the folder layout of the v help topic text files (#17155) Christopher Fore 2023-01-31 05:04:01 -05:00
  • d563739264 checker: add type checking for ORM limit, offset, and order by. (#17095) walking devel 2023-01-31 08:22:02 +00:00
  • b487c9d38e parser: add more precise errors, for fn (p Point) += (q Point) Point { (#17167) Swastik Baranwal 2023-01-31 13:06:33 +05:30
  • 0d04104112 docs: change one more Optional to Option (#17170) JalonSolov 2023-01-31 02:32:11 -05:00
  • 40ec2a292e vlib: add a new dl.loader module, to simplify dynamic library loading, when the DLLs may be in multiple customisable locations (#17161) Ulises Jeremias Cornejo Fandos 2023-01-31 04:27:48 -03:00
  • 2d51379f00 changelog: more 0.3.3 features Alexander Medvednikov 2023-01-30 21:44:18 +01:00
  • 6b20c57246 docs,sync: separate example code blocks with a newline (#17165) Ahmad Yasser 2023-01-31 03:25:33 +08:00
  • 5abca37ff7 parser: add a temporary exception for C.statvfs as well (same name reused for function *and* struct) Delyan Angelov 2023-01-30 21:11:59 +02:00
  • d1f57ead71 V 0.3.3 0.3.3 Alexander Medvednikov 2023-01-30 18:20:47 +01:00
  • 62f7e56a18 v.vcache: fix a panic due to a race on creating folders in ~/.vmodules/cache/XY Delyan Angelov 2023-01-30 19:00:00 +02:00
  • 9c78e3c289 tools: fix v check-md . on windows too (skip thirdparty/ and the CHANGELOG) Delyan Angelov 2023-01-30 18:55:56 +02:00
  • 1470eb6fa4 gg: fix native image rendering with with/height=0 Alexander Medvednikov 2023-01-30 16:06:18 +01:00
  • 38b02c908d thirdparty: update stb_image.h to its latest version v2.28 Delyan Angelov 2023-01-30 13:05:27 +02:00
  • 11f734296f checker: fix generic array clone (#17153) Felipe Pena 2023-01-30 06:27:17 -03:00
  • a489417484 orm: detect type mismatching on inserting an object (#17157) walking devel 2023-01-30 09:26:10 +00:00
  • bb512f782e checker, ast: add field promoted_type for InfixExpr, filled in by the checker, to save duplicate work in the backends (#17158) l-m 2023-01-29 19:06:05 +00:00
  • 4747e70d9d orm: make last_id() return int, instead of orm.Primitive (fix #12110) (#17151) walking devel 2023-01-29 14:00:23 +00:00
  • e6a4f76f82 cgen: fix returing comptime if expressions within functions with an option result (#17154) Felipe Pena 2023-01-29 10:59:13 -03:00
  • 5cd01ea494 gzip: fix flag location in header (#17140) anusrnm 2023-01-29 16:57:04 +05:30
  • 7f5f69a78a checker: check option and result handling in as casts (#17133) Swastik Baranwal 2023-01-29 15:58:14 +05:30
  • cb79e57c1a cgen: fix generated code for match bar()?.a { (matchexpr with call expr using propagation) (#17150) Felipe Pena 2023-01-29 07:11:30 -03:00
  • 9a86456365 cgen: support string interpolation in ORM queries (#17141) walking devel 2023-01-28 23:27:34 +00:00
  • d3e4058aec cgen: fix printing for mut v in arr (#17137) yuyi 2023-01-28 16:15:28 +08:00
  • b732dd6816 cgen: fix opt member eq operation (#17134) Felipe Pena 2023-01-28 05:13:11 -03:00
  • e064743c73 parser: recursively search undefined variables in the where parts of SQL statements (#17136) walking devel 2023-01-28 08:07:02 +00:00
  • 1d4fd53344 net.http: add documentation to http, method, server, and status (#17130) Nahua 2023-01-27 12:58:55 +01:00
  • fe157db0ce v: support an optional fn cleanup() { in each module, to complement the existing optional fn init() { (#17119) MatejMagat305 2023-01-27 10:31:03 +01:00
  • a9a04bba55 orm: support fn calls in where (#17127) walking devel 2023-01-26 20:36:30 +00:00
  • c14d15bd3d ast,checker,parser,cgen: [c:'sym'] rework; allow compiling code from .v files tagged with [translated] without needing -translated too (#17125) l-m 2023-01-26 15:47:38 +00:00
  • 6365d9e070 checker: forbid var declaration in post statement of for loop (#17120) Makhnev Petr 2023-01-26 19:40:10 +04:00
  • 15c0a73740 checker: fixed error pointer for "redefinition of key iteration variable" and "redefinition of value iteration variable" errors (#17121) Makhnev Petr 2023-01-26 14:31:35 +04:00
  • 21b17fe234 io: add missing documentation and edit existing ones (#17105) Nahua 2023-01-25 21:03:20 +01:00
  • 84b99ceeb2 vlib: add a v.reflection module for reflection done at runtime (#17072) Felipe Pena 2023-01-25 17:01:22 -03:00
  • e32ed368ca ast, checker, parser: add enum type pos (#17112) Swastik Baranwal 2023-01-26 01:29:28 +05:30
  • 6bb930591e examples: add more graphs examples, fix typo (#17113) Keito Tobichi 2023-01-26 04:58:44 +09:00
  • 86f8c55107 ast: improve the support for #flag comptime_known_define something (support #flag wasm32_emscripten etc) Delyan Angelov 2023-01-25 17:38:47 +02:00
  • d2e5c721a0 net: allow more fine grained control over socket shutdowns Delyan Angelov 2023-01-25 12:32:05 +02:00
  • b34c55ffd6 ast: fix TypeSymbol.is_primitive, add TypeSymbol.is_bool (#17106) walking devel 2023-01-25 06:38:59 +00:00
  • 0874376db0 builtin: fix wrong module name imported in vlib/builtin/linux_bare/old/.checks/linuxsys/linuxsys.v (#17102) Makhnev Petr 2023-01-25 00:19:30 +04:00
  • 17d65db828 builtin: add string.trim_indent()` method (#17099) Makhnev Petr 2023-01-24 23:41:25 +04:00
  • 5aad0db0f7 parser: improve error for prefix inc/dec statement --a/++mp["id"] (#17090) weekly.2023.04 Makhnev Petr 2023-01-24 12:08:35 +04:00
  • 91799a1742 checker: add error for inc/dec for non lvalue (#17091) Makhnev Petr 2023-01-24 12:03:37 +04:00
  • 5cd074a49e builtin: improve multi-platform portability for string.split_into_lines() (#17078) Roy Ivy III 2023-01-24 02:02:25 -06:00
  • 0230395062 examples: update examples/js_dom_draw_bechmark_chart/README.md with a chart (#17084) Hitalo Souza 2023-01-23 21:07:13 -03:00
  • da3ad2dca6 gx: add missing documentation or update existing ones for public functions (#17094) Nahua 2023-01-24 01:02:07 +01:00
  • 8b6fceb0a3 cgen: fix -autofree with arr[idx] or { default } (#17096) walking devel 2023-01-23 22:53:26 +00:00
  • 16e2ade9ff docs: add termux to the list of known supported platforms (#17093) MatejMagat305 2023-01-23 23:31:34 +01:00
  • 5dde4ce981 docs: improve the operator overload description (#17085) Makhnev Petr 2023-01-24 02:24:50 +04:00
  • f4289cd302 docs: expand empty <a> tags (#17092) Makhnev Petr 2023-01-24 02:16:01 +04:00
  • f667600cd5 docs: update count of reserved keywords to 44 after both 828ab47 and 3df231c were merged. Delyan Angelov 2023-01-23 11:50:14 +02:00
  • 828ab473c1 docs: add __global to keyword list (#17081) Makhnev Petr 2023-01-23 13:45:05 +04:00
  • 6d223b9a26 builtin: add a map.reserve/1 method (#17052) MatejMagat305 2023-01-23 10:07:25 +01:00
  • 3a9355d898 change or{} to or {} as most other places (#17082) Makhnev Petr 2023-01-23 13:05:34 +04:00
  • 3df231c466 doc: add spawn to keyword list (#17080) Makhnev Petr 2023-01-23 04:48:32 +04:00
  • 865c0ea8bd checker: check generic struct no_keys init (fix #17061) (#17067) yuyi 2023-01-23 01:11:12 +08:00
  • 3aeb6179b7 os: rework mv so it works with different partitions (add fallback to os.mv_by_cp + tests) (#17065) Thomas Peißl 2023-01-22 18:02:04 +01:00
  • a929466130 checker: minor cleanup in infer_fn_generic_types() (#17068) yuyi 2023-01-22 21:02:08 +08:00
  • b2dac566b0 checker: check fn call using 'none' as argument (#17070) yuyi 2023-01-22 20:58:34 +08:00
  • ddf3909fed docs: improve the README for examples/call_v_from_c/ with instructions for macos (#17060) Wenqi Chen 2023-01-22 19:25:09 +08:00
  • f69b994c73 os: properly document os.uname, for both nix and windows Delyan Angelov 2023-01-22 13:18:28 +02:00
  • dd55365dee os: cleanup the output of os.uname() on windows (#17066) Roy Ivy III 2023-01-22 03:59:42 -06:00
  • 0bafd237ee ast: fix const dependency order for consts initialised with ast.SelectorExpr (fix #15049) (#17064) Delyan Angelov 2023-01-22 09:34:46 +02:00
  • 0ac6ba9354 json2: encode sumtype (#17041) Hitalo Souza 2023-01-21 15:26:55 -03:00
  • 1d51f3109f json2: improve the performance of encode ~2x (#17050) Hitalo Souza 2023-01-21 05:45:38 -03:00
  • 630fb2af37 cgen: fix generic struct no_key init (#17059) yuyi 2023-01-21 16:42:15 +08:00
  • 1c6195c1b6 bench: jump to the top level functions in bench_json_vs_json2.v (#17054) Hitalo Souza 2023-01-21 05:40:12 -03:00
  • 9a43fa9668 bench: add more benches of json vs x.json2, separated by type (#17043) Hitalo Souza 2023-01-20 14:11:50 -03:00
  • 222eb86e6e tests: correct the test comment in generic_fn_with_alias_arg.vv (#17048) yuyi 2023-01-21 00:53:42 +08:00
  • 46e4317643 benchmark: adjust the documentation for Benchmark.measure Delyan Angelov 2023-01-20 17:22:43 +02:00
  • d2bde39347 v.cflags: use strings.Builder instead of concatenation for constructing flags (#17049) MatejMagat305 2023-01-20 15:20:36 +01:00
  • 90dbf683d5 term: add missing documentation for all remaining public functions (#17044) Nahua 2023-01-20 10:07:28 +01:00
  • 25f1b713aa crypto.pem: add Block.free() method (#17045) MatejMagat305 2023-01-20 09:49:45 +01:00
  • fed6524803 vlib: add a crypto.pem module (#17034) phoebe 2023-01-19 16:01:11 +01:00
  • ba1b31700e os: add hint for mv_by_cp to mv (#17036) Thomas Peißl 2023-01-19 15:50:57 +01:00
  • 4098612a87 rand: add full precision f32 and f64 random functions; fix f32/f64 multipliers (#16875) John 2023-01-19 09:21:47 -04:00
  • 550cae931f bench: add bench_random_number_generation.v Delyan Angelov 2023-01-19 15:19:29 +02:00
  • 12f9e922bc ci: rename all github actions workflow files, that are related to CI (run on commits/PRs), to have a _ci.yml postfix Delyan Angelov 2023-01-19 14:38:13 +02:00
  • c7a829e74f ci: split windows/linux/macos jobs from the single ci.yml to 3 separate .yml files Delyan Angelov 2023-01-19 14:28:37 +02:00
  • 92c7e3f7ff checker: relax checks on operators done on aliases of primitives like int, u8, string etc.; add tests (#17029) Delyan Angelov 2023-01-19 11:45:56 +02:00
  • 269833b72c tools: move cmd/tools/vcreate.v and its test, to its own folder cmd/tools/vcreate/ (part 1) Delyan Angelov 2023-01-19 09:54:08 +02:00