pancake
|
9a3869c521
|
v.ast: rename aarch64 to arm64 and aarch32 to arm32
|
2021-04-27 12:24:58 +03:00 |
pancake
|
6750ed254f
|
x64: rename to `native` to not conflict with the x64 comptime variable
|
2021-04-27 12:24:58 +03:00 |
pancake
|
7587458521
|
x64: move all the amd64 specific code out of gen.v
|
2021-04-27 12:24:58 +03:00 |
Don Park
|
aebb551e93
|
cgen: do full struct initialisation for V structs, fixes invalid data from `map[string]Struct{}['unknown']` (#9878)
|
2021-04-27 08:18:48 +03:00 |
Uwe Krüger
|
787a63dab6
|
cgen: execute `defer` block *after* return expression is evaluated (#9893)
|
2021-04-27 01:42:16 +03:00 |
Enzo
|
4eb8072882
|
parser: remove ++/-- exception for some modules (#9895)
|
2021-04-27 01:41:42 +03:00 |
yuyi
|
3877522ee3
|
table,checker,cgen: fix generics with recursive generics struct (#9862)
|
2021-04-26 20:05:10 +03:00 |
yuyi
|
7ddf569de6
|
cgen: fix generics multi_array in (#9885)
|
2021-04-26 19:59:40 +03:00 |
Delyan Angelov
|
5e0ff5c524
|
cgen: cleanup g.type_default
|
2021-04-26 11:55:29 +03:00 |
spaceface
|
8b22dbbadb
|
jsgen: basic struct embedding support (#9879)
|
2021-04-26 09:56:03 +03:00 |
Uwe Krüger
|
3c0a368af3
|
all: automatically move (some) referenced objects to heap (#9873)
|
2021-04-25 21:40:38 +03:00 |
Louis Schmieder
|
7184629969
|
orm: add initial pg support (#9827)
|
2021-04-25 18:57:55 +03:00 |
Louis Schmieder
|
fc3b628440
|
v: support `$for attr in Test.attributes` (#9836)
|
2021-04-25 18:29:26 +03:00 |
zakuro
|
a0835ac139
|
checker/cgen: implement in expression for alias of array/map (#9871)
|
2021-04-25 18:17:54 +03:00 |
yuyi
|
8ccdae6188
|
all: cleanup generics call_expr (#9856)
|
2021-04-24 09:44:15 +03:00 |
Enzo
|
af8ef12990
|
ast: use `AttrKind` (#9845)
|
2021-04-23 15:51:52 +03:00 |
yuyi
|
dd2002cc57
|
cgen: fix generics with multi generics struct receiver (#9853)
|
2021-04-23 15:17:57 +03:00 |
Alexander Medvednikov
|
c7a6d28e13
|
all: improve unused variable warning (fix `x = 1`, `x += 1` etc)
|
2021-04-23 13:33:48 +03:00 |
yuyi
|
431d806dcf
|
ast, parser: cleanup of generic structs (#9839)
|
2021-04-22 18:21:01 +03:00 |
pancake
|
b951d679ca
|
x64: handle -arch amd64/arm64 and -os for raw/linux/macos options (#9844)
|
2021-04-22 15:44:25 +03:00 |
Delyan Angelov
|
9181eb1db8
|
cgen: cleanup cheaders.v
|
2021-04-22 12:50:55 +03:00 |
yuyi
|
7b8957b25e
|
cgen: minor simplification in cc_type() (#9833)
|
2021-04-21 12:23:21 +03:00 |
yuyi
|
d02822f456
|
ast.table: simplify resolve_generic_by_names/types() (#9834)
|
2021-04-21 12:22:42 +03:00 |
Delyan Angelov
|
bd539b6427
|
vfmt: fix string interpolation formatting with multiple ',",\' and \" .
|
2021-04-20 20:26:06 +03:00 |
Lukas Neubert
|
4a1f75c964
|
fmt: split infix wrapping into smaller functions and fix a trailing space bug (#9806)
* change recursive fn calls to reduce write operations
* format files and test
* Update vtest-cleancode.v
* fix test
|
2021-04-19 21:56:39 +03:00 |
spaceface
|
73352583e7
|
ci: fix all `-cstrict` warnings with gcc and clang (#9792)
|
2021-04-19 15:38:48 +03:00 |
yuyi
|
75d1b54f7b
|
cgen: fix empty struct init using macro (#9787)
|
2021-04-18 16:34:25 +03:00 |
Delyan Angelov
|
5817aa47d8
|
Revert "cgen: fix empty struct init (#9769)"
This reverts commit 0cc04850d7 .
|
2021-04-17 19:19:25 +03:00 |
yuyi
|
0cc04850d7
|
cgen: fix empty struct init (#9769)
|
2021-04-17 02:39:52 +03:00 |
crthpl
|
0a1d0e062d
|
freestanding: small fixes (#9760)
|
2021-04-17 02:38:41 +03:00 |
Delyan Angelov
|
0b3d1656f0
|
cgen: improve -g info for `{...}` and `goto label`
|
2021-04-16 19:13:40 +03:00 |
Uwe Krüger
|
80bd2974b4
|
cgen: fix iteration over `shared` map (#9763)
|
2021-04-16 14:49:14 +03:00 |
Louis Schmieder
|
60bc280ad0
|
cgen: fix static var name used in sqlite orm generation, close #9725 (#9745)
|
2021-04-15 20:57:03 +03:00 |
Delyan Angelov
|
db908e507f
|
v: add more precise source line info for `-g -assert aborts`
|
2021-04-15 20:38:34 +03:00 |
Delyan Angelov
|
c7752ce8d3
|
v: add an -assert aborts/backtraces option to ease debugging
|
2021-04-15 20:26:51 +03:00 |
Delyan Angelov
|
f0c1e55637
|
v.gen.c: support `-d abort_on_assert` by injecting abort() calls
|
2021-04-15 19:55:09 +03:00 |
yuyi
|
466dc4540b
|
all: minor cleanup of generics (#9744)
|
2021-04-15 11:00:23 +03:00 |
Louis Schmieder
|
dcf4a6b008
|
orm: add support for custom table names & custom field names (#9697)
|
2021-04-15 10:53:43 +03:00 |
Delyan Angelov
|
b8e9f085eb
|
vfmt: cleanup StringInterLiteral.get_fspec_braces/1
|
2021-04-15 09:46:05 +03:00 |
Delyan Angelov
|
f1549b3ee7
|
vfmt: make ${} more robust; require it for every interpolation that uses '...' or "..."
|
2021-04-15 09:28:40 +03:00 |
ka-weihe
|
25a9d30a70
|
channels: fix C warnings (#9732)
|
2021-04-15 01:44:39 +02:00 |
yuyi
|
1250ce4353
|
cgen: fix generics with embed generics (fix #8694) (#9724)
|
2021-04-15 01:44:11 +02:00 |
crthpl
|
0099458c0a
|
all: small asm fixes and number labels (#9730)
|
2021-04-15 01:30:23 +02:00 |
Delyan Angelov
|
3e297bced4
|
ci: remove some tests from skip_with_werror in `v test-self`
|
2021-04-14 12:47:24 +03:00 |
crthpl
|
14434cc86a
|
all: bare metal support (fix `-freestanding`) (#9624)
|
2021-04-14 07:50:50 +02:00 |
Uwe Krüger
|
10bf974cda
|
all: gc: provide optimized mode (#9716)
|
2021-04-14 00:40:26 +02:00 |
Delyan Angelov
|
68c3eccec5
|
v: skip asserts in -prod mode inside non _test.v files
|
2021-04-13 13:07:57 +03:00 |
Delyan Angelov
|
1ef718c1e1
|
cgen: fix `return if cond { x,y } else { a,b }` generation
|
2021-04-13 11:52:18 +03:00 |
Leah Lundqvist
|
cfaba49683
|
ios: move `sokol` declarations out of builder, and support non-sokol apps too (#9703)
|
2021-04-12 19:35:06 +03:00 |
Louis Schmieder
|
67d8639917
|
orm: add unique fields & add drop table stmt (#9684)
|
2021-04-11 23:57:25 +02:00 |