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

Commit Graph

  • 0b0c496eff cgen: fix printing struct with skip fields (#15224) yuyi 2022-07-26 09:37:16 +08:00
  • f1ebfb2d42 cgen: str:skip field Alexander Medvednikov 2022-07-25 17:25:37 +03:00
  • 5a3a145e99 gg: fix native draw_circle on macos Alexander Medvednikov 2022-07-25 17:25:28 +03:00
  • f619becbdc scanner: check undefined ident in string literal (#15212) yuyi 2022-07-25 19:28:47 +08:00
  • 82db1e4746 pg: improve pg README.md (#15206) weekly.2022.30 Hitalo de Jesus do Rosário Souza 2022-07-25 02:32:21 -03:00
  • 7bf2ad6889 vscode.md: fix typo (#15207) Tim Richardson 2022-07-25 15:04:06 +10:00
  • f9385f6300 os: make get_raw_line() should not break lines on \r on windows (fix #5900) (#15205) Andrew Compton 2022-07-25 00:03:07 -05:00
  • 6a5db0df61 v.token: use a more performant KeywordMatcher in the scanner and parser (#15196) Delyan Angelov 2022-07-25 06:32:06 +03:00
  • 297cb5f89c math.big: improve multiplication performance (#15200) Subhomoy Haldar 2022-07-24 22:05:37 +05:30
  • 2d7406a8cd examples: v back-end example for vweb (#15141) Hitalo de Jesus do Rosário Souza 2022-07-24 07:02:57 -03:00
  • 1f3be99859 crypto: add an example of how to verify jwt tokens (#15198) Hitalo de Jesus do Rosário Souza 2022-07-24 04:27:21 -03:00
  • 5464de406c cgen: fix custom str on struct with too many fields (#15195) yuyi 2022-07-24 15:15:22 +08:00
  • de0683fe30 tests: fix compilation of tcp_test.v Delyan Angelov 2022-07-23 23:33:43 +03:00
  • c63fed5393 tests: remove needless import math in translated_test.v Delyan Angelov 2022-07-23 23:24:17 +03:00
  • d8b0df1a31 doc: fix ci Alexander Medvednikov 2022-07-23 01:55:17 +03:00
  • d6de53362f checker: improve unused label check Alexander Medvednikov 2022-07-23 01:36:27 +03:00
  • 4d3401c852 checker: check for unused labels Alexander Medvednikov 2022-07-23 01:25:16 +03:00
  • af41058979 doc: map ordering Alexander Medvednikov 2022-07-23 00:53:42 +03:00
  • 2ffad85f06 doc: remove misleading comment about stdin() (#15154) Reuben Thomas 2022-07-22 22:22:50 +01:00
  • b0c32e0dbf checker: fix fn variadic with enum value (#15177) yuyi 2022-07-22 21:08:22 +08:00
  • 092f5f0bf8 checker: fix comptime if in const declaration (fix #15160) (#15169) yuyi 2022-07-22 21:03:45 +08:00
  • 9ec8a99243 parser: cleanup orblock duplicate code (#15173) zakuro 2022-07-22 18:36:50 +09:00
  • e9809572b1 ast: use const empty_expr instead of fn empty_expr (thanks to Joe Conigliaro for the idea) (#15175) Delyan Angelov 2022-07-22 12:14:46 +03:00
  • c6aea659e3 cgen,ci: fix v -usecache self on macos Delyan Angelov 2022-07-22 11:43:20 +03:00
  • f75d7eb114 ci: fix v build-examples (use voidptr(u64(0)) inside vlib/js/dom/dom.js.v) Delyan Angelov 2022-07-21 23:08:18 +03:00
  • 5340f8afea ci: fix vlib/v/checker/tests/nil.vv and its .out file Delyan Angelov 2022-07-21 23:05:02 +03:00
  • 474033c055 ci: allow unsafe { a := nil }, add separate nil case in pointer_ops.vv, to test the nil checker errors independently from the voidptr ones Delyan Angelov 2022-07-21 22:52:38 +03:00
  • 697d546d46 ci: fix fixed_array_conv.out output (the .vv file was formatted) Delyan Angelov 2022-07-21 22:45:54 +03:00
  • cf42ba2b80 ci: revert nil to voidptr(u64(0)) in voidptr_dereference_err.vv too. nil should have its own .vv/.out pair. Delyan Angelov 2022-07-21 22:43:06 +03:00
  • cdefb878d6 ci: make pass_voidptr_as_interface_reference_test.v use voidptr again Delyan Angelov 2022-07-21 22:41:27 +03:00
  • 2e89eeb477 ci: make voidptr_casted_as_an_interface_test.v use voidptr again (it does test exactly that edge case, it should not have been converted to use nil) Delyan Angelov 2022-07-21 22:40:21 +03:00
  • 71cd256f0c ci,cgen: fix -usecache compilation of V itself Delyan Angelov 2022-07-21 22:29:44 +03:00
  • 73b02cdf36 ci: fix spurious native_backend_tests.yml cancellations Delyan Angelov 2022-07-21 22:13:21 +03:00
  • 81104ac309 ci: fix v test-cleancode failures Delyan Angelov 2022-07-21 22:05:12 +03:00
  • 231623b75b ci: vfmt tcp_test.v Delyan Angelov 2022-07-21 22:04:51 +03:00
  • dc1b54c669 ci: fix failing ./v vlib/builtin/builtin_test.v (globals initialisation) Delyan Angelov 2022-07-21 21:49:00 +03:00
  • ed43bfc469 ci: fix dlmalloc again (workaround vfmt) Delyan Angelov 2022-07-21 21:21:20 +03:00
  • e29f6d1393 markused: fix ./v -skip-unused -cc gcc -keepc -freestanding -o bel vlib/os/bare/bare_example_linux.v Delyan Angelov 2022-07-21 21:18:33 +03:00
  • d9fe2edc41 ci: fix failing build-module-docs (because of unsafe { unsafe { nil } }) Delyan Angelov 2022-07-21 21:11:43 +03:00
  • 6ebe668a74 tools: show the exact failing c2v command on v translate failure for easier diagnostic/debugging. Delyan Angelov 2022-07-21 21:03:59 +03:00
  • 9099594a49 all: wrap up unsafe { nil } (p. 3) Alexander Medvednikov 2022-07-21 21:01:30 +03:00
  • a68d03ac59 checker: allow x := unsafe { nil } Alexander Medvednikov 2022-07-21 20:56:24 +03:00
  • dc79f1392b all: voidptr(0) => unsafe { nil } (p.2) Alexander Medvednikov 2022-07-21 20:51:54 +03:00
  • 1f25811786 roadmap: update Alexander Medvednikov 2022-07-21 20:47:30 +03:00
  • caa0c2f153 vfmt: voidptr(0) => unsafe { nil } (p.1) Alexander Medvednikov 2022-07-21 20:45:57 +03:00
  • be9f8cc777 cgen: fix comptime if in struct field default (fix #15058) (#15152) yuyi 2022-07-21 21:59:18 +08:00
  • 7029e39088 checker: check struct field with default expression (#15151) yuyi 2022-07-21 15:33:34 +08:00
  • 49228e1acd cgen: fix dep cycle for struct Node { children [4]&Node } closes #15136 Joe Conigliaro 2022-07-21 16:16:24 +10:00
  • 8593408179 json.cjson: add a submodule that allows lower level access to the cJSON library (constructing JSON trees in memory with null leafs). Delyan Angelov 2022-07-20 22:55:26 +03:00
  • c8d4534f5b sqlite: remove spurious eprintln on select calls (#15139) Hitalo de Jesus do Rosário Souza 2022-07-20 11:35:38 -03:00
  • 57a201f28c tools: add helpful message, when the vls server executable is not found on v ls (#15129) Ned 2022-07-20 19:26:49 +08:00
  • 9995063304 doc: add a go fn() {} example (#15134) kahsa 2022-07-20 20:24:13 +09:00
  • f27c0387ad cgen: minor cleanup in global_decl() (#15133) yuyi 2022-07-20 18:51:33 +08:00
  • ee4a179e71 tests: add a test for Node{123, unsafe { nil }, unsafe { nil }} Delyan Angelov 2022-07-20 11:29:01 +03:00
  • 50075d5a79 ast,cgen: support a := Abc{unsafe{nil}}, for struct Abc { next &Abc } Delyan Angelov 2022-07-20 10:46:55 +03:00
  • 1ccb4c3ac0 doc: minor fixes in examples (#15125) Fossean1 2022-07-19 22:59:59 +05:00
  • a13b8ff0c8 mysql: fix for adapting mysql types to v structs (#15100) Hitalo de Jesus do Rosário Souza 2022-07-19 12:29:09 -03:00
  • 041e90b2e2 checker, cgen: fix interface embedding smartcast (fix #13296) (#15127) yuyi 2022-07-19 21:36:16 +08:00
  • 0afa2f76c8 ci: fix gitly ci Alexander Medvednikov 2022-07-19 13:53:05 +03:00
  • fd47385ff2 checker: check untyped nil in assignment Alexander Medvednikov 2022-07-19 13:31:10 +03:00
  • 1aeca113d3 sokol: do not crash if an image cannot be rendered Alexander Medvednikov 2022-07-19 13:21:30 +03:00
  • e4674cb8e1 examples: replace "resp.text" with "resp.body". (#15123) SakthiMahendran 2022-07-19 15:22:42 +05:30
  • a39fe68af1 cgen: clean up ident() in cgen.v (#15121) yuyi 2022-07-19 15:54:03 +08:00
  • c7ec71cd06 tools/vls: skip 'ls' argument on v ls (#15126) Ned 2022-07-19 15:52:39 +08:00
  • 02925cecd1 ci: fix report-missing-fn-doc (#15118) Larpon 2022-07-18 21:33:18 +02:00
  • 12d57e8e7b sokol: add mouse cursor support (#15111) weekly.2022.29 Mehmet Ali 2022-07-18 09:44:48 +03:00
  • c1502b3c1f examples: add macos_tray example app (#15101) Zhomart Mukhamejanov 2022-07-17 23:42:45 -07:00
  • 5462d4aebf checker: check generic interface declaration (#15108) yuyi 2022-07-18 06:36:37 +08:00
  • 706a922e0c x.ttf: update to fix compilation of vlang/pdf and failing ci (#15109) penguindark 2022-07-17 18:44:11 +02:00
  • eed496d0bc checker: check generic struct declaration (#15106) yuyi 2022-07-17 23:09:15 +08:00
  • 368cccb059 native: add typechecking to gen_var_to_string() (#15107) Spydr 2022-07-17 17:09:03 +02:00
  • c73c4dc884 native: system for defining internal builtin algorithms which are not inlined (#15105) Spydr 2022-07-17 15:22:54 +02:00
  • 58ad6f7999 checker: check generic fn declaration (#15104) yuyi 2022-07-17 19:32:59 +08:00
  • 78242627c3 parser: fix fn argument type position (#15102) yuyi 2022-07-17 15:55:20 +08:00
  • 3075e35237 encoding.csv: handle bools (#15103) Ken 2022-07-17 16:54:36 +09:00
  • b4dedcae43 encoding.csv: generic serialization (#15097) boris-741 2022-07-16 22:21:05 +03:00
  • 8d24522d02 parser: check generic interface method declaration (#15095) yuyi 2022-07-16 21:58:39 +08:00
  • 5e0899853b dlmalloc: fix warning about fixed arrays of references, by using unsafe{} Delyan Angelov 2022-07-16 16:37:20 +03:00
  • bd4e9f6225 v: offer a suggestion for misspelled commands like v held Delyan Angelov 2022-07-16 14:58:26 +03:00
  • b01df8ed0a help: chmod 644 cmd/v/help/where.txt Delyan Angelov 2022-07-16 12:45:08 +03:00
  • ac7e809464 checker: fix generics struct init in generic fn (fix #15080) (#15088) yuyi 2022-07-15 22:30:56 +08:00
  • 560afac5d5 cgen: fix fixed array of threads (#15086) yuyi 2022-07-15 19:19:11 +08:00
  • f2961ec862 native: refer to types to generate code (#15077) lemon 2022-07-15 20:18:32 +09:00
  • 57c4188d98 ast, checker: check generic fn declaration error (#15079) yuyi 2022-07-15 19:18:06 +08:00
  • b4ed5d5f20 net: add a net.dial_tcp_with_bind/2 function (#15055) (#15056) shove 2022-07-15 17:38:17 +08:00
  • 4f997feee7 tools: add tests for v where; improve usability (#15059) Sebastian Atlántico 2022-07-15 01:59:11 -03:00
  • 89a757aba0 doc: clean up Alexander Medvednikov 2022-07-14 11:10:15 +03:00
  • 8d0fe3894a doc: document anonymous structs Alexander Medvednikov 2022-07-14 11:06:10 +03:00
  • 0d6d6f7de8 cgen: fix fixed array literal index (fix #14959) (#15054) yuyi 2022-07-14 13:23:29 +08:00
  • a38310f929 checker: array of references check Alexander Medvednikov 2022-07-14 00:58:14 +03:00
  • 47b5d206a6 cmd/tools: vwhere fixes (#15051) Sebastian Atlántico 2022-07-13 12:04:26 -03:00
  • 3f3742122f orm: sql type in struct by attribute (#14919) Hitalo de Jesus do Rosário Souza 2022-07-13 12:03:30 -03:00
  • 4238e5f6b9 roadmap: update (#15038) Hunam 2022-07-13 09:04:27 +02:00
  • 7594157deb checker: check generic interface declaration (#15047) yuyi 2022-07-13 14:43:54 +08:00
  • 28fd17654e tools: add a v where fn join_path command, for platform independent searching the location of a symbol in the local project, vlib, ~/.vmodules (#15014) weekly.2022.28 Sebastian Atlántico 2022-07-13 01:40:54 -03:00
  • d12a8aef68 json: use C.cJSON_free, for freeing the intermediate result in json_print and json_print_pretty (#15029) wilesun 2022-07-13 12:11:18 +08:00
  • 16a6972e2a readme: fix vinix screenshots (#15041) Jun 2022-07-12 19:13:45 -03:00
  • 19d0d758c9 cgen: fix struct shared field with default init (#15040) yuyi 2022-07-13 01:04:06 +08:00
  • 7a17a29952 examples: fix typo in c_interop_wkhtmltopdf.v (#15036) yuyi 2022-07-13 00:42:55 +08:00
  • 9839ab6a6c parser: fix parse c function with optional argument name (fix #13234) (#15037) yuyi 2022-07-12 16:06:29 +08:00