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

Commit Graph

  • e505fcdac0 encoding.csv: update reader.v (#14807) Ulises Jeremias Cornejo Fandos 2022-06-21 02:31:47 -03:00
  • f6f77e5264 clipboard: make clipboard.Clipboard public on windows (#14810) yuyi 2022-06-21 13:21:54 +08:00
  • 524df8da1b math: add zpl stuff (#14543) David 'Epper' Marshall 2022-06-20 17:17:49 -04:00
  • 473d26ce47 builtin: enforce linking to libgc.a with -prod on macos Delyan Angelov 2022-06-20 21:29:19 +03:00
  • 1caff5b379 native: initial support for apple-m1 (#14795) pancake 2022-06-20 20:25:12 +02:00
  • 8703e336e0 checker: cleanup in fn_decl() (#14802) yuyi 2022-06-20 22:56:02 +08:00
  • 1fc9e1a716 tools: build c2v in non verbose mode by default Delyan Angelov 2022-06-20 16:03:39 +03:00
  • fa2e8d8459 tools: use os.system for the c2v runs to monitor the progress more easily Delyan Angelov 2022-06-20 15:50:38 +03:00
  • 0e4198f23b tools: fix v vet file.v for return if x { y // comment } else { z } Delyan Angelov 2022-06-20 13:28:53 +03:00
  • cf1fc6f090 ast: fix array of reference sumtype appending (#14797) yuyi 2022-06-20 17:23:53 +08:00
  • 924239026c pref: disable gc for translated code Alexander Medvednikov 2022-06-19 20:07:45 +03:00
  • bc60b0d1a3 builder: add -c when building object files Alexander Medvednikov 2022-06-19 19:57:52 +03:00
  • d215618f4c sokol: mark pub structs Alexander Medvednikov 2022-06-19 19:47:41 +03:00
  • de136f6baf checker: improve pub struct check (fix #14446) (#14777) yuyi 2022-06-19 22:42:22 +08:00
  • 37ef1ee453 tools: do show the output of c2v, when it fails Delyan Angelov 2022-06-19 17:08:21 +03:00
  • 7b1ade237b tools: fix the first run of v translate hw.c Delyan Angelov 2022-06-19 16:19:56 +03:00
  • b9cb56572f ci: use VTEST_JUST_ESSENTIAL=1 for the -cstrict test-self task in ubuntu-clang too Delyan Angelov 2022-06-19 16:08:24 +03:00
  • 6875a173ec cmd: enable v translate, download and install c2v Alexander Medvednikov 2022-06-19 15:52:42 +03:00
  • 97be840a6d ci: use VTEST_JUST_ESSENTIAL=1 for the ubuntu -cstrict gcc task (prevent 2 hour runs) Delyan Angelov 2022-06-19 13:29:36 +03:00
  • e0310964d9 native: initial support for defer (#14779) lemon 2022-06-19 05:51:31 +09:00
  • 10051e005a parser, cgen: temporary prefix ++ for translated code Alexander Medvednikov 2022-06-18 13:30:33 +03:00
  • 18dfaf6164 tools: handle fn attributes/comments more robustly, when v missdoc is run (#14774) wahur666 2022-06-18 10:02:39 +02:00
  • 01fdd5d07f cgen: add a minor optimisation for array.push_many (#14770) yuyi 2022-06-17 14:44:13 +08:00
  • b89617726c pref: is_o Alexander Medvednikov 2022-06-16 20:51:17 +03:00
  • 5df3d8ac75 orm: mysql fixes (#14772) Louis Schmieder 2022-06-16 19:19:49 +02:00
  • fb5a40d1c8 builder: handle linker errors when building .o files Alexander Medvednikov 2022-06-16 15:19:13 +03:00
  • 26714fadc5 ast, checker, cgen: improve sorting globals and consts (#14769) yuyi 2022-06-16 19:32:41 +08:00
  • 9c72b85f72 checker: temporary c2v struct init fix Alexander Medvednikov 2022-06-16 14:24:17 +03:00
  • df239b9208 doc: fix 'specifing' typo (#14768) Danilo Lekovic 2022-06-16 01:12:58 -07:00
  • f2962c34dd cgen: format module_init generated c code (#14764) yuyi 2022-06-16 16:01:17 +08:00
  • 205221074c tools: support v watch -k run examples/gg/rectangles.v (keep a program running) Delyan Angelov 2022-06-15 18:00:02 +03:00
  • 0c1708db23 cgen: minor cleanup in stmt() (#14763) yuyi 2022-06-15 22:44:00 +08:00
  • 5135952c9c v.util: add a retry loop for tool compilation in launch_tool() (#14760) yuyi 2022-06-15 16:59:53 +08:00
  • 7f38b92ca8 cgen: simplify sorting globals and consts (#14761) yuyi 2022-06-15 16:56:17 +08:00
  • 7c50d276c7 ast: minor cleanup in is_comptime_type() (#14759) yuyi 2022-06-14 19:21:45 +08:00
  • e4e858b132 transformer: fix a bug with string literal length (#14757) lemon 2022-06-14 18:42:45 +09:00
  • 6d8a0ad15d ast, checker, cgen: sort consts with call expr (fix #14748) (#14755) yuyi 2022-06-14 15:50:20 +08:00
  • 2f1a896d18 native: integer-to-string conversion (#14758) Spydr 2022-06-13 23:35:25 +02:00
  • 67716b5b59 cgen: fix comptime if attributes for test_ functions (#14756) Leo Developer 2022-06-13 20:22:25 +02:00
  • 5efa67906c cgen: sort const array init order (fix #14748) (#14749) yuyi 2022-06-14 02:09:24 +08:00
  • 3535927bcd parser: correct error message for seclector_expr_assign.vv (#14747) yuyi 2022-06-13 01:29:54 +08:00
  • 139c34c07d gg: optimise app.gg.show_fps() (cache ctx.text_size() results, round frame to int without interpolation, center text inside the background rectangle) Delyan Angelov 2022-06-12 16:07:00 +03:00
  • 4682e17ac1 gg: fix v -d show_fps run examples/gg/stars.v Delyan Angelov 2022-06-12 15:15:53 +03:00
  • 7e06203da8 gg: support -d show_fps for all gg apps Delyan Angelov 2022-06-12 14:20:26 +03:00
  • ff8e286c88 compress.gzip: support gzip.decompress(data, verify_length: false, verify_checksum: false)? Delyan Angelov 2022-06-12 11:24:41 +03:00
  • 5c104cf981 native: implement neg() for arm64 (#14745) Spydr 2022-06-12 08:42:39 +02:00
  • 8fa1e30dd2 native: int-to-string conversion detecting zeros and negative values (#14743) weekly.2022.24 Spydr 2022-06-11 20:20:13 +02:00
  • f08266ab66 doc: autofree/gc update Alexander Medvednikov 2022-06-11 20:44:28 +03:00
  • f3351b6a29 pref: maintain order of 'debug' in compile defines as mod cache key depends on it Joe Conigliaro 2022-06-12 02:22:04 +10:00
  • 5cea8d30fa ci: make crun_test.v more robust by reducing the tested gap from 5x to 4x Delyan Angelov 2022-06-11 18:44:02 +03:00
  • a538ab7e8c cgen: minor cleanup for sort globals and consts (#14742) yuyi 2022-06-11 23:42:22 +08:00
  • cdf4ffc513 cgen: sort globals and consts definitions (#14739) yuyi 2022-06-11 22:17:49 +08:00
  • c7a619d16e native: support else, break, continue (#14738) lemon 2022-06-11 17:50:19 +09:00
  • da7a166708 v.pkgconfig: fix duplication in short flags to the standalone pkgconfig binary (#14740) Dialga 2022-06-11 20:06:55 +12:00
  • 26d051475a cgen: ensure closures are kept alive when using the GC (#14736) spaceface 2022-06-10 18:48:50 +02:00
  • b27b6b2047 tools: let v gret make an easily visible diff.png image after regressions, and upload it too, to make CI failures easier to diagnose Delyan Angelov 2022-06-10 15:38:50 +03:00
  • fcaf529228 parser, checker: check undefined ident in if expr using generic type name (#14734) yuyi 2022-06-10 16:57:26 +08:00
  • 690a8422d1 vcomplete: add -no-parallel to flag completions (#14735) Larpon 2022-06-10 10:57:12 +02:00
  • f4869bcdc6 ci: add apt-get update before apt-get install in gg-regressions Delyan Angelov 2022-06-10 11:50:30 +03:00
  • ea71ea3ec1 examples: speed up mandelbrot.v a little, increase iterations/details too Delyan Angelov 2022-06-09 20:10:00 +03:00
  • 922f003729 cgen: fix fixed array global variable (fix #14712) (#14730) yuyi 2022-06-09 21:53:19 +08:00
  • be23ddc253 ci: remove VFLAGS: -gc none from vab runs (#14731) Larpon 2022-06-09 14:37:53 +02:00
  • 784361f153 checker: fix generic method on aliases receiver type (#14729) yuyi 2022-06-09 20:36:31 +08:00
  • e1360ccf8c ci: add VTEST_JUST_ESSENTIAL=1 ./v test-self mode. Use it for alpine-docker-musl-gcc . Delyan Angelov 2022-06-09 15:25:11 +03:00
  • 39e54a508b os: correct description of windows_volume function (#14726) Ben 2022-06-09 09:56:58 +02:00
  • 4ed9780b80 all: enable -gc boehm by default (#14577) spaceface 2022-06-08 23:44:29 +02:00
  • e6580fefaa ast: cleanup in generic_insts_to_concrete() (#14724) yuyi 2022-06-09 04:17:03 +08:00
  • 8563696476 native: added new helper functions (#14723) Spydr 2022-06-08 22:16:15 +02:00
  • f58e5a94c2 gg: fire resize event before init if necessary on Android (#14725) Larpon 2022-06-08 20:43:20 +02:00
  • c6b1c8d07a os: add windows_volume function (#14721) Ben 2022-06-08 20:26:24 +02:00
  • 5ac9b5c9f1 term.ui: don't print event data in readme example (vlang#14719) (#14720) Mikey 2022-06-07 23:36:22 -07:00
  • 4b3c3d9082 checker: add error for if c >= A && c <= Z { in non generic functions Delyan Angelov 2022-06-07 18:33:08 +03:00
  • 96a9faf2fd strings: add split_capital (#14716) Larpon 2022-06-07 17:43:06 +02:00
  • 1d462136bc net.http: cookie parsing fixes (#14420) David Valdespino Pavon 2022-06-07 05:52:43 -04:00
  • 8027919285 ci: update vab install (vlang/vab#176) (#14713) Larpon 2022-06-07 11:51:43 +02:00
  • 82594c0156 v.vcache: improve the output of -d trace_usecache_n Delyan Angelov 2022-06-07 12:39:30 +03:00
  • a942ecf737 v.vcache: support -d trace_usecache_n too (less verbose tracing for just the initialisation of CacheManager) Delyan Angelov 2022-06-07 12:22:36 +03:00
  • 82d23dedf1 builtin: add flush_stdout and flush_stderr to builtin.js.v, for feature parity with builtin.c.v Delyan Angelov 2022-06-07 12:15:35 +03:00
  • 7780f56c31 cgen: fix cast to generic interface (#14708) yuyi 2022-06-07 13:32:25 +08:00
  • 73b59c7b16 cgen: fix none literal str() function calling (#14704) ChAoS_UnItY 2022-06-07 06:29:27 +08:00
  • abf35270cf checker: fix json decoder with generic struct (#14700) yuyi 2022-06-07 00:25:02 +08:00
  • ce26d5bc5c cgen: fix mutable receiver type calling mapping function causes C error (fix #14230) (#14696) ChAoS_UnItY 2022-06-06 23:34:04 +08:00
  • 778fe2cde0 ast: use [direct_array_access] for attrs []Attr lookup methods Delyan Angelov 2022-06-06 14:43:04 +03:00
  • 6398043094 cgen: fix missing function names in declarations on [c2v_variadic][c: xyz]fn deh_fprintf(fstream &C.FILE, fmt &i8) Delyan Angelov 2022-06-06 14:33:24 +03:00
  • 7f67981637 checker: allow literal args as references in translated code Alexander Medvednikov 2022-06-06 13:24:33 +03:00
  • 8a2236d3f8 cgen: fix generic interface with non-generic method (#14694) yuyi 2022-06-06 17:30:48 +08:00
  • e89a6269e4 checker: do not require fn main when building an object file Alexander Medvednikov 2022-06-06 12:29:46 +03:00
  • ce771876a3 cgen: fix nested map index check (fix #14683) (#14687) yuyi 2022-06-06 11:29:22 +08:00
  • df80b33dc0 cgen: fix array init with it (fix #14679) (#14680) ChAoS_UnItY 2022-06-06 00:41:54 +08:00
  • 3a90d8ef14 compress: add a new module compress.gzip too (#14686) Leo Developer 2022-06-05 17:53:45 +02:00
  • 7b25957a26 builtin: fix typo in array.v (#14688) Ikko Ashimine 2022-06-06 00:49:40 +09:00
  • b000728845 compress.gzip / deflate: rename gzip module into deflate module (#14682) ChAoS_UnItY 2022-06-05 13:48:38 +08:00
  • 4cf6abd99d checker: check using literal argument as reference parameter (#14674) yuyi 2022-06-05 13:44:35 +08:00
  • f6ebbc99cd cgen: fix array type as interface (fix #14677) (#14681) ChAoS_UnItY 2022-06-05 10:05:48 +08:00
  • 5d429140a4 json: fix json decode with missing map type field (#14678) yuyi 2022-06-05 01:27:11 +08:00
  • d71fd04c81 thirdparty/sokol: apply speaker/headset bug fix from latest upstream sokol_audio.h (#14676) Wertzui123 2022-06-04 19:24:07 +02:00
  • 3c5ae41712 examples: simplify the shebang in the v_script.vsh example Delyan Angelov 2022-06-04 20:15:39 +03:00
  • 3ac3375b43 cgen: fix for (int i = 0; i < 10; i++, a++) { (multiple expressions in the inc part) Delyan Angelov 2022-06-04 19:51:00 +03:00
  • 82eb495617 ci: on windows-msvc, skip const_fixed_array_containing_references_to_itself_test.v Delyan Angelov 2022-06-04 13:05:20 +03:00
  • f2171b4148 ci: fix macos clang failures with const_fixed_array_containing_references_to_itself_test.v Delyan Angelov 2022-06-04 09:15:37 +03:00