yuyi
|
2d43fdb42a
|
ast, checker, cgen: fix nested struct embed error (fix #12659) (#12712)
|
2021-12-04 11:19:19 +03:00 |
Alexander Medvednikov
|
eca78a2906
|
checker: allow infix expressions in enum declarations
|
2021-12-03 07:45:37 +03:00 |
Delyan Angelov
|
6d97b0a407
|
checker: improve checking of a << b, when a and b are numbers (#12589)
|
2021-11-29 03:48:49 +03:00 |
Delyan Angelov
|
3caeadfa0d
|
cgen,vfmt: support `[weak]` tags for functions and globals
|
2021-11-18 18:32:39 +02:00 |
playX
|
2eb02ff5a7
|
jsdom, js: start refactoring jsdom; improve JS interfaces; add two attributes for them (#12488)
|
2021-11-17 11:41:33 +02:00 |
yuyi
|
5a89c0a480
|
ast: change CompFor to ComptimeFor (#12482)
|
2021-11-17 08:29:43 +02:00 |
Delyan Angelov
|
1c12186701
|
v.token,ast,scanner,parser: use a KeywordsMatcher lookup for builtin_type_names searches too
|
2021-11-07 16:39:40 +02:00 |
Delyan Angelov
|
a27833ed0d
|
all: support `volatile field Type` in struct declarations
|
2021-11-04 09:45:50 +02:00 |
ChAoS_UnItY
|
4d1307f29b
|
all: index accessor in array init expression (#12181)
|
2021-10-15 03:57:49 +03:00 |
ChAoS_UnItY
|
6f629d1a6a
|
transformer: eliminate unreachable branches & redundant branch expressions in MatchExpr (#12174)
|
2021-10-14 02:15:52 +03:00 |
crthpl
|
7cf9c198fe
|
asm: add segment addressing and fix [10] (#12068)
|
2021-10-05 18:57:15 +03:00 |
Delyan Angelov
|
bf2569a9a8
|
all: support `mut volatile x := 123` declarations (#11940)
|
2021-09-22 13:06:30 +03:00 |
Enzo
|
012da10517
|
ast, fmt: cleanup (#11477)
|
2021-09-13 04:08:58 +03:00 |
Enzo
|
c8471528ce
|
fmt: format long sum-types with a line for each type (#11461)
|
2021-09-10 20:56:55 +03:00 |
Delyan Angelov
|
ec196cfcd1
|
all: support overriding individual function from .v files in .c.v or .js.v files.
|
2021-08-22 15:51:26 +03:00 |
Delyan Angelov
|
900c37aa65
|
v.gen.c: support `T.typ` - an int for the type index of the generic type `T` (#11175)
|
2021-08-14 08:48:25 +03:00 |
Enzo
|
da53f818df
|
all: initial support for closures (x64 / linux-only) (#11114)
|
2021-08-10 21:27:15 +03:00 |
pancake
|
e7b8cf17e5
|
v.gen.native: add support for assert statements for amd64 (#11117)
|
2021-08-10 10:29:44 +03:00 |
Daniel Däschle
|
800c0e5092
|
vlib: remove deprecated map{} usages as well as deprecated functions (#11035)
|
2021-08-04 12:44:41 +03:00 |
Leo Developer
|
6dcf72fe9b
|
cgen: dont generate function if its flag is false (#11021)
|
2021-08-03 03:17:22 +03:00 |
Uwe Krüger
|
a7c2aaf35b
|
cgen: initialize globals directly for simple cases (#11002)
|
2021-07-30 19:20:45 +03:00 |
Uwe Krüger
|
08aa6c08f6
|
all: more improvements for global variables (#10986)
|
2021-07-29 10:57:31 +03:00 |
Uwe Krüger
|
45ad48d76a
|
cgen: properly handle initialization expression for globals (#10981)
|
2021-07-28 08:11:55 +03:00 |
Delyan Angelov
|
6313ed6a79
|
checker,cgen: fix `-os cross` support for `$if !solaris { #include <sys/ptrace.h> }`
|
2021-07-23 16:24:42 +03:00 |
Louis Schmieder
|
26db3b0995
|
orm: redesign orm (re-write it in V) (#10353)
|
2021-07-23 12:33:55 +03:00 |
Delyan Angelov
|
48546d0f45
|
all: do compile time const evaluation for `const x = "abc" + "xyz"` and `const x = 16 * 1024 + 5` (fix const prealloc_block_size)
|
2021-07-18 22:59:18 +03:00 |
Delyan Angelov
|
6edfb2c7fe
|
v.parser: eliminate PrefixExpr from `&Type(x).name` and `&Type(x)[idx]` too (fix vinix build)
|
2021-07-17 20:20:20 +03:00 |
spaceface
|
6e942bf4c2
|
v: initial support for generic interfaces and sumtypes (#10795)
|
2021-07-15 08:29:13 +03:00 |
crthpl
|
5089eb4a84
|
parser: fix pointer cast expressions hack (#10777)
|
2021-07-13 12:01:24 +03:00 |
shadowninja55
|
d1f1c5ae51
|
v doc: add attribute tags to `v doc -f html` (#10778)
|
2021-07-13 08:27:20 +03:00 |
Louis Schmieder
|
eb96ad11d9
|
checker: add pkgconfig to comptime if (#10692)
|
2021-07-09 18:17:04 +03:00 |
Delyan Angelov
|
6aecda3be8
|
all: support `[noreturn] fn abc() { for{} }`, mark panic/1 and exit/1with it too. (#10654)
|
2021-07-04 20:24:19 +03:00 |
shadowninja55
|
06a6a8e199
|
checker: check for empty branches in match expressions (#10593)
|
2021-06-28 19:32:28 +03:00 |
crthpl
|
500b48788e
|
parser, cgen: fix basic asm registers, fix numbered labels in addressing, support indirect branching (#10545)
|
2021-06-23 14:20:07 +03:00 |
Uwe Krüger
|
8f2f377cb1
|
v.checker,v.gen.c: extend auto heap mechanism to objects used as interfaces (#10529)
|
2021-06-21 07:10:10 +03:00 |
yuyi
|
7ec55e4c51
|
v.ast: add comments for ast.AsCast (#10516)
|
2021-06-19 17:07:07 +03:00 |
Delyan Angelov
|
9f6ddb4c21
|
v.fmt: add an independent Comment.is_inline flag. Use it for fixing `[ .. //x ]` => `[ .. //x, ]`
|
2021-06-18 15:52:31 +03:00 |
Delyan Angelov
|
39e7290416
|
v: support for `[if expr]`, part 2 (old `[if ident]` is not yet deprecated)
|
2021-06-17 18:55:20 +03:00 |
Uwe Krüger
|
2ac39d9112
|
all: new function `isreftype(T)` to know if `T` contains pointers (#10438)
|
2021-06-13 06:26:13 +03:00 |
crthpl
|
9553c5a4e6
|
parser: fix multiple output modifiers in asm (#10347)
|
2021-06-04 23:18:11 +03:00 |
Louis Schmieder
|
38796521fa
|
all: allow defer use from other scope (#10284)
|
2021-05-31 14:43:44 +03:00 |
Delyan Angelov
|
bf3af40f13
|
v.markused: support `./v -skip-unused -freestanding run vlib/os/bare/bare_example_linux.v` too
|
2021-05-23 16:25:34 +03:00 |
Delyan Angelov
|
bc01de2181
|
ast: mark ast.File{} with `[heap]`, and use []&ast.File consistently
|
2021-05-22 19:06:55 +03:00 |
Uwe Krüger
|
7bfd89567b
|
shared: support `lock` on SelectorExpression (#10105)
|
2021-05-15 04:34:27 +03:00 |
crthpl
|
4273a9697e
|
parser: add support for flags in asm output constraints (#10103)
|
2021-05-14 12:01:15 +03:00 |
crthpl
|
8361f714dd
|
cgen: fix deadlock when returning/breaking in `lock` (#10079)
|
2021-05-12 11:44:47 +03:00 |
Alexander Medvednikov
|
dc034d9b16
|
vweb: make thread safe; checker: `$if T is Interface {`
|
2021-05-11 09:30:18 +03:00 |
yuyi
|
74defc4b82
|
checker: minor cleanup of FnDecl (#10000)
|
2021-05-09 15:27:45 +03:00 |
Delyan Angelov
|
8a380f4699
|
tools: make `v test-cleancode` test everything by default (#10050)
|
2021-05-08 13:32:29 +03:00 |
Uwe Krüger
|
d26ac5692e
|
all: various fixes for [heap]/auto-heap handling (#10033)
|
2021-05-07 15:58:48 +03:00 |