yuyi
|
f6844e9766
|
all: change optional to result of io (#16075)
|
2022-10-16 09:28:57 +03:00 |
|
shove
|
6e46933c55
|
cgen: fix or {} handling, when waiting for a single go thread, of a function returning !Type (fix #16065) (#16073)
|
2022-10-14 19:54:13 +03:00 |
|
Delyan Angelov
|
49c12e4d1c
|
cgen: fix ./tracev examples/hello_world.v
|
2022-10-14 19:27:40 +03:00 |
|
shove
|
6bf2ad1ff0
|
cgen: fix missing * of optional non-ref structs (fix: #16070) (#16071)
|
2022-10-14 10:34:42 +03:00 |
|
yuyi
|
39d2aa71df
|
checker: check generic closure fn declaration (#16069)
|
2022-10-14 10:24:10 +03:00 |
|
zztkm
|
3e4cfc7343
|
os: add os.to_slash and os.from_slash functions (#16055)
|
2022-10-14 10:22:36 +03:00 |
|
Subhomoy Haldar
|
09e23e3ed6
|
rand: add rand.element and prng.element functions with unit test (#16068)
|
2022-10-14 06:54:02 +03:00 |
|
Swastik Baranwal
|
f7f0e0b5dc
|
v doc: remove int_literal and float_literal from syntax highlighting, since they are internal types (#16066)
|
2022-10-13 20:49:34 +03:00 |
|
shove
|
aabda5a525
|
checker: allow get_ref() or { unsafe{nil} } , as well as fn get_ref() ?&Type { return unsafe { nil } } (fix: #16062) (#16063)
|
2022-10-13 19:49:10 +03:00 |
|
shove
|
51a9e89c4a
|
ast: disallow threads << go fn()?{} and threads << go fn()!{} (fix #16061) (#16064)
|
2022-10-13 19:37:27 +03:00 |
|
yuyi
|
f0108323d1
|
cgen: fix generic closure fn direct call (#16057)
|
2022-10-13 18:06:34 +03:00 |
|
shove
|
e3e8bb2f88
|
cgen: remove spaces in the generated name for ?&C.struct (fix #16058) (#16059)
|
2022-10-13 18:05:16 +03:00 |
|
yuyi
|
bfbfe78366
|
cgen: fix assigning optional of multi_return with heap (#16049)
|
2022-10-13 13:07:52 +03:00 |
|
shove
|
213a094680
|
ast: fix missing 'optional' and 'result' in type name and cname of map (#16047)
|
2022-10-13 10:38:02 +03:00 |
|
Swastik Baranwal
|
3e33f4a11d
|
checker: disallow nil assignment on non pointer struct fields (#16056)
|
2022-10-13 10:36:59 +03:00 |
|
yuyi
|
fb3d093e01
|
builtin: remove opt_ok2() (part 2) (#16054)
|
2022-10-13 10:35:41 +03:00 |
|
shove
|
4fbb29a2c0
|
checker: disallow x := fncallexpr() or { X{} } , when the fn result type is ?&X (fix #16050) (#16051)
|
2022-10-12 22:49:30 +03:00 |
|
yuyi
|
6bdd11e53b
|
checker: check error for fn call with extra parenthesis (#16052)
|
2022-10-12 22:43:59 +03:00 |
|
yuyi
|
211cb2af7b
|
cgen: remove opt_ok2() part 1 (#16048)
|
2022-10-12 17:20:41 +03:00 |
|
yuyi
|
c590c8250e
|
cgen: fix fn with optional of multi_return (#16046)
|
2022-10-12 09:44:15 +03:00 |
|
Delyan Angelov
|
7f2d731d19
|
cgen: fix dump(c_struct) , where c_struct has fields of type &&char
|
2022-10-12 09:00:16 +03:00 |
|
shove
|
9569c0504c
|
cgen: fix map with optional or result on return (#16044)
|
2022-10-12 07:54:29 +03:00 |
|
Rasheed
|
12d3664a09
|
builtin: add a declaration for C.putchar (#16037)
|
2022-10-11 20:53:12 +03:00 |
|
shove
|
4c0ea67137
|
cgen: fix map with optional or result (fix #15972) (#16036)
|
2022-10-11 16:33:19 +03:00 |
|
Swastik Baranwal
|
05fc7d3a72
|
checker: disallow function cast outside unsafe (#16030)
|
2022-10-11 15:46:35 +03:00 |
|
Wertzui123
|
5047058595
|
stbi: fix memory leak from stbi.load/1 with GC (#16028)
|
2022-10-11 15:19:36 +03:00 |
|
yuyi
|
34f233c93f
|
cgen: fix generic struct init with generic cast (#16035)
|
2022-10-11 15:00:02 +03:00 |
|
yuyi
|
dab1c8a71d
|
all: clean up optional and result handling (#16034)
|
2022-10-11 09:23:57 +03:00 |
|
shove
|
34d115d883
|
cgen: fix wrong when string attributes with quotes (fix #15194) (#16020)
|
2022-10-11 07:48:26 +03:00 |
|
shove
|
eebc82d83a
|
fmt: fix wrong processing of quotes, when formatting string literals (fix #16017) (#16018)
|
2022-10-10 21:19:34 +03:00 |
|
yuyi
|
8f3f717736
|
checker: check type mismatch of return match expr (#16019)
|
2022-10-10 19:41:55 +03:00 |
|
yuyi
|
89eb8358cf
|
checker: fix fn returning ![]string called in main (#16023)
|
2022-10-10 19:41:24 +03:00 |
|
Thomas Peißl
|
0f229874a2
|
net.mbedtls: add explicit closing of the tcp connection in the shutdown method (#16027)
|
2022-10-10 19:30:58 +03:00 |
|
Delyan Angelov
|
82593338fa
|
ci: fix v -usecache -o x cmd/v on macos
|
2022-10-10 16:01:04 +03:00 |
|
Delyan Angelov
|
14923123ad
|
ci: skip const_fixed_array_containing_references_to_itself_test.v on windows-msvc
|
2022-10-10 13:30:35 +03:00 |
|
Delyan Angelov
|
d4e89de8fb
|
ci: fix v -cstrict -cc gcc vlib/v/gen/native/macho_test.v
|
2022-10-10 13:28:18 +03:00 |
|
Delyan Angelov
|
2a4604b5f9
|
Revert "examples: fix viewer example (use the new stbi.load_from_memory_with_channels) (#16004)"
This reverts commit bce420c34d .
|
2022-10-10 11:37:36 +03:00 |
|
Delyan Angelov
|
fa20d797a5
|
Revert "examples: increase the window size of drag_n_drop.v a little (test CI)"
This reverts commit 8fc166d5a3 .
|
2022-10-10 10:39:58 +03:00 |
|
Delyan Angelov
|
3c25f506ed
|
Revert "stbi: fix loading image from memory (#15981); breaks UI's rectangle example on macos, probably others too"
This reverts commit 07d5612347 .
|
2022-10-10 10:39:32 +03:00 |
|
Delyan Angelov
|
8fc166d5a3
|
examples: increase the window size of drag_n_drop.v a little (test CI)
|
2022-10-10 04:04:27 +03:00 |
|
Delyan Angelov
|
a7b2b3c70e
|
ci: fix ci.yml (add the second missing required run: line to a task)
|
2022-10-10 03:48:20 +03:00 |
|
Delyan Angelov
|
ade8fdff69
|
vfmt: fix v -W ./cmd/tools/vfmt.v , (and v -W build-examples )
|
2022-10-10 03:44:11 +03:00 |
|
Delyan Angelov
|
a4e8b9cabe
|
ci: fix ci.yml (add missing required run: line to a task)
|
2022-10-10 03:43:00 +03:00 |
|
Aftab Alam
|
345d4d60e5
|
readme: add hyperlink to the vlang.io site, to the logo image (#16014)
|
2022-10-10 02:53:33 +03:00 |
|
yuyi
|
32ab08287c
|
checker: add a notice about skipping the generic route methods of vweb apps (#16013)
|
2022-10-10 02:50:10 +03:00 |
|
Niraj Kulkarni
|
553315b80c
|
gx: add documentation for Color methods (#16010)
|
2022-10-10 02:47:55 +03:00 |
|
shove
|
8666ef43fd
|
cgen: fix dependency order error between sumtype and fixed array type (fix #16003) (#16009)
|
2022-10-09 12:16:50 +03:00 |
|
ChAoS_UnItY
|
95f57e9206
|
builtin: deprecate array.reduce in favour of arrays.fold (#16001)
|
2022-10-09 10:29:50 +03:00 |
|
yuyi
|
fe6197fe2d
|
fmt: remove comma inside map_init using multi_line (#16007)
|
2022-10-09 08:39:30 +03:00 |
|
shove
|
e2398cafd2
|
cgen: fix str() fails when the structure 'charptr' type field is nil (fix #15970) (#16002)
|
2022-10-09 08:33:45 +03:00 |
|