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

6388 Commits

Author SHA1 Message Date
Alexander Medvednikov
9fbea31f47 autofree: fix exprs N levels deep 2020-09-06 13:02:32 +02:00
Uwe Krüger
047bf02985
builtin: fix in for various numeric types (#6311) 2020-09-06 12:45:02 +02:00
Larpon
b4b898b769
os: enable is_file tests (#6312) 2020-09-06 12:39:02 +02:00
Uwe Krüger
4d2c8a40d6
sync/atomic2: support 32 bit platforms (#6308) 2020-09-05 14:44:16 +02:00
Alexander Medvednikov
3410705974 autofree: lots of fixes 2020-09-05 12:00:35 +02:00
Uwe Krüger
b015033c53
builtin: add methods to builtin channels (#6303) 2020-09-05 01:36:20 +02:00
Pavel Kolesnikov
246fe3bfb7
builder: cc_linux_cross() fixes (#6287) 2020-09-05 01:35:35 +02:00
Xavier B
8ef55bd8c9
checker: add checks for map key/value types (#6283) 2020-09-04 23:59:54 +02:00
Larpon
81778e507f
os: is_file() (#6301) 2020-09-04 22:27:52 +02:00
Larpon
efa49bfbb7
os: make behave more like Unix "mv" command (#6300) 2020-09-04 13:08:47 +02:00
Alexander Medvednikov
333f355e23 Revert "cgen: handle variables called "array""
This reverts commit cc714ca5cc.
2020-09-03 02:43:26 +02:00
Uwe Krüger
b8617ace53
checker: do not allow aliases of chan types (#6294) 2020-09-03 02:03:31 +02:00
Alexander Medvednikov
cc714ca5cc cgen: handle variables called "array" 2020-09-03 02:01:21 +02:00
Pavel Kolesnikov
a3ee217537
builder: use tar instead of unzip in cc_linux_cross() (#6286) 2020-09-02 10:09:06 +02:00
spaceface777
35cbca96e1
checker: implement [required] struct field attribute (#6276) 2020-08-31 23:15:40 +02:00
spaceface777
bd304f1141
checker: check number of fields in short struct inits (#6280) 2020-08-31 22:17:59 +02:00
spaceface777
60a9d49382
cgen: implement [export: 'FooBar'] attribute (#6278) 2020-08-31 21:52:25 +02:00
Sandro Martini
39da5eca89
vweb: hide debug prints 2020-08-31 19:39:46 +02:00
Uwe Krüger
cbcba2e4cf
parser: enable module auto import (of sync) (#6271) 2020-08-31 10:44:39 +02:00
florin
b1a8e1e5b2
vweb: escape form key, not only value. (#6269) 2020-08-30 19:09:12 +02:00
Delyan Angelov
ea31c2a643 examples: fix graph for hdpi screens 2020-08-30 19:58:15 +03:00
Xavier B
d33f68ff54
x.websocket: remove debuging leftover (#6264) 2020-08-30 19:35:47 +03:00
pancake
a1dcc3bb9f
examples: make the graph example resizable, use cooler lines (#6267) 2020-08-30 19:11:59 +03:00
Nick Treleaven
5d3d14da53
cgen: support typeof(expr).name (#6253) 2020-08-30 08:56:18 +02:00
Lukas Neubert
95ce9f33a9
doc: fix a typo (#6257) 2020-08-30 08:55:53 +02:00
Uwe Krüger
c351f8fa47
checker, builtin: prepage for builtin channels (#6262) 2020-08-30 08:55:31 +02:00
Alexander Medvednikov
d88e8bb9ea
doc: document comma in match 2020-08-29 11:03:16 +02:00
Delyan Angelov
2b545f6b90 examples: fix compilation of the graph.v example 2020-08-29 10:14:25 +03:00
Delyan Angelov
93294d4a97 stbi: fix compilation with tcc 2020-08-29 10:13:25 +03:00
Delyan Angelov
718a4692dd os: enable test_write_and_read_bytes again 2020-08-29 07:43:31 +03:00
Uwe Krüger
fe8286c53c
checker: implement implicit conversions/promotions to rune (#6249) 2020-08-29 01:59:07 +02:00
Maciej Obarski
7bd2804ce9
all: automatic error propagation in place of "or { return(err) }" 2020-08-29 01:58:03 +02:00
Uwe Krüger
4d425b0e6d
fmt: insert space in front of ? for propagation (#6250) 2020-08-29 01:56:43 +02:00
ITotalJustice
1bf7e1596b
vbin2v: always lowercase generated const names 2020-08-28 23:45:49 +03:00
Delyan Angelov
30fc374fc5 os.args: fix os.args[0] when compiling graphical apps on windows 2020-08-28 22:39:52 +03:00
Delyan Angelov
02bece54a6 vup: use git pull https://github.com/vlang/v master for updating 2020-08-28 21:49:12 +03:00
Nick Treleaven
7dbae14e19
checker: error on mut name = (#6247) 2020-08-28 20:07:32 +03:00
Delyan Angelov
5d18ece661 ci: fix msvc finding (3) 2020-08-28 20:06:41 +03:00
Delyan Angelov
68864d0703 ci: fix msvc finding (2) 2020-08-28 19:58:17 +03:00
Delyan Angelov
317d15dbe9 ci: fix finding the msvc compiler on windows 2020-08-28 19:48:18 +03:00
Delyan Angelov
3d8a35ced6 ci: fix compiler error tests on windows 2020-08-28 19:27:41 +03:00
Delyan Angelov
dde1b89c5e vup: remove empty new line on unix 2020-08-28 19:09:47 +03:00
Maciej Obarski
2ce5797ec2
os: vfopen returns option now (#6244) 2020-08-28 14:24:00 +02:00
Alexander Medvednikov
789674bd5a tests: autofree: use -experimental flag 2020-08-28 10:22:28 +02:00
Alexander Medvednikov
0890562663 tests: autofree tmp expr test 2020-08-28 10:08:32 +02:00
Swastik Baranwal
39bf02ea68
checker: add error for arr1 <,>,>=,<= arr2 (#6243) 2020-08-28 11:08:07 +03:00
Delyan Angelov
88f75fc1d6 builder: cleanup cc.v; log build_thirdparty_obj_files with -v 2020-08-28 09:38:52 +03:00
spaceface777
d663f57d43
parser: move flag logic to checker (#6239) 2020-08-28 09:24:04 +03:00
Delyan Angelov
5526954fdc vdoc: cleanup warnings on ./v doc -s vlib 2020-08-28 09:03:22 +03:00
Delyan Angelov
d80843bf53 vdoc: parse with enable_globals: true 2020-08-28 08:53:12 +03:00