Alexander Medvednikov
ea31f75098
checker: more default field fixes
2020-09-09 14:14:44 +02:00
Alexander Medvednikov
925f1781b3
checker: default field fixes
2020-09-09 14:05:56 +02:00
Alexander Medvednikov
e018509ba6
checker: test for unnecessary default struct field values
2020-09-09 13:59:52 +02:00
Nick Treleaven
eb95a4333a
table: rename Arg to Param ( #6337 )
2020-09-09 13:21:11 +02:00
Swastik Baranwal
ea2b2ebc07
checker: modify error messages for ptrs ( #6325 )
2020-09-09 10:07:58 +02:00
bpryer
3f7970db52
term: add get_cursor_position and set_terminal_title ( #6279 )
...
* added functions
added:
- get_cursor_position()
- set_terminal_title(title string)
* implement term.get_cursor_position and term.set_terminal_title on unix
* Cleanup
* make x,y fields of term.Coord mutable
* fix vrepl compilation
* use more descriptive var names in term_test.v
* do not change the current terminal title in dumb terminals; do not test term.set_terminal_title outside of CI
* unix: in term.set_terminal_title, return true even for dumb terminals
Co-authored-by: Brent Pryer <brent@pryermachine.com>
Co-authored-by: Delyan Angelov <delian66@gmail.com>
2020-09-08 22:00:10 +03:00
Nick Treleaven
49c322f120
checker: simplify argument qualifier errors ( #6321 )
2020-09-08 19:34:17 +02:00
Ruofan XU
90128ed4ee
cc: add support for tcc backend on windows-i386 ( #6297 )
2020-09-08 15:15:35 +02:00
Larpon
1c5b9db63f
io: introduce a go-like io.util module ( #6323 )
2020-09-08 14:17:01 +02:00
Cezary Drożak
26971da510
v up: correct an error message ( #6327 )
2020-09-08 00:41:47 +02:00
Enzo
18034bb95c
gen: fix multiple call of expression in match ( #6324 )
2020-09-08 00:38:24 +02:00
Uwe Krüger
5258f52497
fmt: add support for `chan` types and operations ( #6328 )
2020-09-08 00:36:05 +02:00
Maciej Obarski
9a5b86e454
arrays: common methods - min, max, idx_min, idx_max, shuffle, merge ( #6177 )
2020-09-07 13:50:53 +02:00
Yahyaa Masood
5c656899e5
doc: add a missing period ( #6199 )
2020-09-07 13:50:12 +02:00
Nick Treleaven
497bf226e2
add TESTS.md file to explain different tests ( #6318 )
2020-09-07 13:48:15 +02:00
Uwe Krüger
2cb711ee15
checker/channels: check `mut`/`&` state of transmitted objects ( #6315 )
2020-09-06 21:24:41 +02:00
Enzo
601d098b48
szip: make compile ( #6314 )
2020-09-06 15:04:27 +02:00
Larpon
51d7d7cfae
os: fix os.mv edge case and Windows style paths ( #6302 )
2020-09-06 13:12:07 +02:00
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