Delyan Angelov
|
afdb09708e
|
ci: comment out the -autofree compilation for gitly for now
|
2022-12-27 20:51:45 +02:00 |
|
Larpon
|
161595b041
|
examples: use math.vec in examples/sokol/particles (#16780)
|
2022-12-27 15:19:08 +02:00 |
|
Felipe Pena
|
c5c7b3a054
|
checker: fix comptime var param passing with comptime selector (#16777)
|
2022-12-27 15:14:58 +02:00 |
|
Delyan Angelov
|
a8f6f9ed60
|
checker: more precise error handling of large binary literals like 0b1000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000_0000 (#16775)
|
2022-12-27 15:13:15 +02:00 |
|
Delyan Angelov
|
508bfbf892
|
time: do not panic for time.parse("2020-02-02 20.02.20")! , just return an error instead (fix #16779)
|
2022-12-27 13:01:01 +02:00 |
|
Delyan Angelov
|
6b3f8f519d
|
cgen: fill in the new FieldData fields, add tests (#16774)
|
2022-12-26 23:35:13 +02:00 |
|
Felipe Pena
|
9b28a7aa96
|
checker,cgen: fix comptime value recognition on generic arguments (#16768)
|
2022-12-26 18:44:18 +02:00 |
|
yuyi
|
3a1e7b71ea
|
cgen: fix array filter with an inline closure (fix #16770) (#16772)
|
2022-12-26 16:14:28 +02:00 |
|
Delyan Angelov
|
3d545ee0cd
|
builtin: add more fields to FieldData (will be implemented later in a PR, to ease bootstrapping)
|
2022-12-26 16:05:14 +02:00 |
|
Delyan Angelov
|
94a36c5ca4
|
tests: remove module main from tests, that do not need to be internal
|
2022-12-26 15:31:23 +02:00 |
|
Delyan Angelov
|
728b4cffc3
|
ci: reorder v_apps_and_modules_compile.yml so that quick checks are done first
|
2022-12-26 12:56:36 +02:00 |
|
yuyi
|
68883fc4d9
|
os: fix os.file_ext('/tmp/.gitignore') previously returning '.gitignore' => it now returns '' (#16771)
|
2022-12-26 12:53:38 +02:00 |
|
yuyi
|
64ed007f94
|
cgen: fix generic struct init with inconsistent generic optional types (#16766)
|
2022-12-25 12:06:13 +02:00 |
|
yuyi
|
21d6bd930e
|
ast, cgen: fix printing nested generic struct (#16758)
|
2022-12-25 09:57:16 +02:00 |
|
Brian Callahan
|
85b4af5440
|
make: add OpenBSD detection to GNUmakefile (#16760)
|
2022-12-25 09:55:41 +02:00 |
|
Delyan Angelov
|
776fbdfb23
|
readme: cleanup the additional graphics libraries installation instructions
|
2022-12-24 11:59:30 +02:00 |
|
Delyan Angelov
|
d55715884a
|
readme: add instructions for installing the libraries needed for the graphics examples on Fedora
|
2022-12-24 11:55:06 +02:00 |
|
Felipe Pena
|
6a179a2926
|
checker: add int signedness mismatch checking for function call arguments (#16750)
|
2022-12-24 06:28:35 +02:00 |
|
yuyi
|
0128d2dd1c
|
ast, parser: fix wrong type name of nested generics (#16749)
|
2022-12-24 06:19:51 +02:00 |
|
Felipe Pena
|
e9cad6f09d
|
ci: fix v-apps-compile job for AdventOfCode, by adding v install regex too (#16752)
Missing pcre dependency
|
2022-12-24 06:14:48 +02:00 |
|
Charles WANG
|
9dbc2afc5b
|
net.html: fix typo in README.MD (#16747)
|
2022-12-23 09:37:08 +02:00 |
|
Felipe Pena
|
b21e5b71ba
|
cgen: fix call arg type changing on match expr (#16744)
|
2022-12-23 01:58:52 +02:00 |
|
Delyan Angelov
|
fc5826b7ca
|
cgen: minimise sizeof(EmptyStruct) to 0 for gcc/clang and to 1 for tcc/msvc, by changing EMPTY_STRUCT_DECLARATION and EMPTY_STRUCT_INITIALIZATION (#16733)
|
2022-12-22 21:47:39 +02:00 |
|
yuyi
|
e01dac885c
|
builtin: fix m.len to 0, after calling map.clear() (#16720)
|
2022-12-22 21:36:33 +02:00 |
|
Delyan Angelov
|
f9043c84a7
|
builtin: optimise the initialisation of the common 1 byte element arrays []u8
|
2022-12-22 20:41:32 +02:00 |
|
Delyan Angelov
|
8f8a186158
|
builtin: support -d trace_vmemset , -d trace_vmemcmp , -d trace_vmemmove and -d trace_vmemcpy too
|
2022-12-22 20:08:53 +02:00 |
|
Delyan Angelov
|
b67705f568
|
builtin: move the -d trace_*alloc lines at the start of their corresponding functions, implement -d trace_memdup too
|
2022-12-22 19:36:15 +02:00 |
|
Delyan Angelov
|
3da4f37b01
|
cgen: improve generated source compatibility with latest Alpine (lacking libexecinfo-dev and execinfo.h) and the prebuilt tcc (#16743)
|
2022-12-22 15:01:51 +02:00 |
|
yuyi
|
e519bdf0eb
|
checker: check generic method receiver type mismatch (#16739)
|
2022-12-22 13:37:46 +02:00 |
|
yuyi
|
82a3551313
|
checker, cgen: fix match expr with branch returning (#16741)
|
2022-12-22 12:55:44 +02:00 |
|
Swastik Baranwal
|
3c5cfa22d1
|
parser: disallow the array init: attr, when the len: attr is not provided (#16735)
|
2022-12-21 21:24:16 +02:00 |
|
Delyan Angelov
|
87f8069728
|
ci: fix warnings for compiling builder_test.v too
|
2022-12-21 21:14:21 +02:00 |
|
Delyan Angelov
|
46ced75184
|
ci: fix v test-self failures related to cmd/tools/vcreate_test.v
|
2022-12-21 21:13:06 +02:00 |
|
Delyan Angelov
|
68501677e3
|
ci: fix gg-regressions failure
|
2022-12-21 21:03:47 +02:00 |
|
Alexander Medvednikov
|
88e33a83de
|
gg: fix draw_image on macos native; vcreate: vweb template
|
2022-12-21 19:33:37 +03:00 |
|
yuyi
|
ccbb8ab0ca
|
ast, parser: fix generic struct init with nested generic struct (#16736)
|
2022-12-21 18:32:54 +02:00 |
|
Delyan Angelov
|
1cde55478d
|
cgen: fix cgen errors for overloaded operators using reference types for the receiver and operand (fix #16725) (fix #15859) (#16726)
|
2022-12-21 09:10:30 +02:00 |
|
Swastik Baranwal
|
d19c1ef087
|
vpm: fix the direct installation of github repositories via the --git flag (#16724)
|
2022-12-20 17:38:08 +02:00 |
|
Felipe Pena
|
2f9becc98d
|
cgen: fix debug generated code with -g , while fixing #16690 (#16723)
|
2022-12-20 16:41:42 +02:00 |
|
Delyan Angelov
|
3c920f2ee6
|
x.json: fix parsing of time fields, that have just a single date encoded inside the parsed string (fix #16722)
|
2022-12-20 16:34:09 +02:00 |
|
pancake
|
c84eb29b78
|
js: use write() on the freestanding backend (#16704)
|
2022-12-20 13:16:06 +02:00 |
|
Makhnev Petr
|
11521a70e4
|
readme: add modules badge and fix twitter url/badge inconsistency with others (#16716)
|
2022-12-20 10:56:10 +03:00 |
|
John
|
eb8e8b8642
|
rand: add Blackman/Vigna xoroshiro128++ PRNG (#16712)
|
2022-12-20 10:53:30 +03:00 |
|
Felipe Pena
|
0fe7ae3a60
|
cgen: remove repeated code (#16718)
|
2022-12-20 10:52:37 +03:00 |
|
Larpon
|
7e4dc24f1b
|
math: add math.vec module with generic 2D, 3D and 4D vector operations (#16710)
|
2022-12-19 18:10:48 +02:00 |
|
yuyi
|
2090e4a12f
|
ast, cgen: optimize generic struct with inconsistent generic types (#16708)
|
2022-12-19 15:02:27 +02:00 |
|
Delyan Angelov
|
bcdf1b95c1
|
docs: add a note about test files being compiled as separate V programs, independently from normal code
|
2022-12-19 13:15:39 +02:00 |
|
Delyan Angelov
|
353fdb4ca0
|
ci: workaround for v vet failing for v clean-code over the new v bench script (using \ in its path on windows).
|
2022-12-19 12:31:16 +02:00 |
|
Swastik Baranwal
|
8873127687
|
v doc: properly highlight the new generics syntax [] in the CLI results of v doc arrays etc (#16703)
|
2022-12-19 12:12:46 +02:00 |
|
Delyan Angelov
|
cbd34cd6e7
|
bench: add bench_string_key_in_map_vs_string_value_in_array.v
|
2022-12-19 11:56:00 +02:00 |
|