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

15652 Commits

Author SHA1 Message Date
Felipe Pena
8d2a0ffe37
cgen: fix option handling with auto heap variable () 2023-06-04 18:10:22 +02:00
Alexander Medvednikov
9dcd95ee34 examples: use printf in the coroutines example for now 2023-06-03 23:56:07 +02:00
Alexander Medvednikov
6fe6fe887d coroutines: $if is_coroutine? { 2023-06-03 19:05:50 +02:00
Felipe Pena
4e21b2ab4e
parser: detect wrong usage of Option as concrete type () 2023-06-03 13:24:25 +02:00
kbkpbot
0fc33c6fa3
datatypes: add Bloom filter () 2023-06-02 10:56:22 +03:00
Lenni0451
9764342dbe
vweb: add support for host specific static files () 2023-06-02 10:55:59 +03:00
Felipe Pena
a8ea1f9d50
cgen, checker, parser: fix fixed array with channel () 2023-06-02 10:55:08 +03:00
Felipe Pena
82035f7610
repl: fix comparison operator treated as statement () 2023-06-02 10:54:43 +03:00
yuyi
5e12d3483c
checker: fix generic fn with nested generic fn call (fix ) () 2023-06-02 10:52:29 +03:00
Alexander Medvednikov
a647a71c52
roadmap: remove any 2023-05-30 18:39:37 +02:00
yuyi
4dc338863c
checker: fix json decode with generic array of struct (fix ) () 2023-05-30 14:25:33 +02:00
yuyi
ac6289301c
ast, cgen: fix generic struct with inconsistent generic types (fix ) () 2023-05-30 14:24:54 +02:00
Turiiya
af05cfcbbc
toml, semver: minor optimization of conditions () 2023-05-30 14:24:27 +02:00
Felipe Pena
0b71cef78a
cgen: fix generic comptimeselector array resolution () 2023-05-30 14:23:37 +02:00
Turiiya
e9fb5b3fcc
.editorconfig: do not specify an indent size for tabs () 2023-05-30 14:23:13 +02:00
Felipe Pena
f430c0b67a
parser: fix for select parsing () 2023-05-30 14:22:47 +02:00
Casper Kuethe
4174048f96
vweb: add host option to controller () 2023-05-30 14:22:23 +02:00
Felipe Pena
05b832a317
cgen: fix none initialization to struct member () 2023-05-29 15:35:41 +03:00
Delyan Angelov
ae8e9af11f
ci: skip building examples/coroutines/simple_coroutines.v for now 2023-05-29 13:35:46 +03:00
Delyan Angelov
d47c722c1f
builtin: fix byte deprecation warnings for v test-all (the -freestanding compilation) 2023-05-29 13:20:29 +03:00
Lenni0451
2904c399b5
vweb: host attribute () 2023-05-29 02:11:10 +02:00
Alexander Medvednikov
f22ba836fd prealloc: use u8 instead of byte 2023-05-29 01:42:52 +02:00
Alexander Medvednikov
3f62487409 examples: add a simple coroutine example 2023-05-29 01:35:38 +02:00
Turiiya
1be539d20f
checker: add byte deprecation warning () 2023-05-28 23:30:32 +02:00
Alexander Medvednikov
3ac63cce86 fmt: fix a shared test 2023-05-28 18:23:07 +03:00
Alexander Medvednikov
f8422738bb vfmt: no longer replace go with spawn 2023-05-28 16:03:39 +02:00
Alexander Medvednikov
786865d349 coroutines: init() that runs automatically 2023-05-28 15:54:57 +02:00
Turiiya
80d404c220
checker: replace as cast with a safer type check is (smart cast) () 2023-05-28 05:41:46 +02:00
Alexander Medvednikov
9db10c8f61 all: coroutines (part 2) 2023-05-28 05:30:23 +02:00
Alexander Medvednikov
2162230086 cgen: move spawn and go logic to a separate file 2023-05-28 02:52:38 +02:00
Alexander Medvednikov
50247d5093 gen.golang: handle spawn/go 2023-05-28 02:44:47 +02:00
Alexander Medvednikov
45f16a2640 all: coroutines (part 1) 2023-05-27 23:33:46 +02:00
Felipe Pena
5812579d53
checker: remove check for option being initialized () 2023-05-27 20:43:54 +02:00
Felipe Pena
16ef1d95fb
cgen: fix fixed array ret with anon fn () 2023-05-27 20:42:31 +02:00
Felipe Pena
6bfa6ec93c
cgen: fix comptime interpolation () 2023-05-27 20:41:40 +02:00
xiusin
43bc85d3bb
http: add workers to improve the server's concurrent capacity. () 2023-05-27 01:57:32 +03:00
Turiiya
f9efbdff10
semver: refactor, simplify, fix typo () 2023-05-27 01:57:02 +03:00
Turiiya
3e08487198
checker: disallow multiple return values in const declarations () 2023-05-27 01:55:14 +03:00
yuyi
6db62e43d3
parser: fix array method using it in defer (fix ) () 2023-05-26 02:29:52 +02:00
Casper Kuethe
79657a1a2f
vweb: update middleware docs () 2023-05-26 02:26:00 +02:00
Mark aka walkingdevel
b698a0f459
mysql: add the ability to commit transactions, some code improvements () 2023-05-26 02:16:02 +02:00
Felipe Pena
8a856cc36d
checker: adjust fix for struct anon assigning to typed struct () 2023-05-25 20:40:20 +03:00
Felipe Pena
e8289dd4d5
changelog: add entry about heap usage api () 2023-05-25 17:27:49 +02:00
Mark aka walkingdevel
c2fa45c24d
cgen, orm: fix typo, and wrap the fkey attribute into quotes in errors () 2023-05-25 17:27:25 +02:00
Turiiya
993546a0a2
examples: fix typos () 2023-05-25 16:54:46 +03:00
yuyi
caee3935a5
os: fix truncate() on windows () 2023-05-25 14:37:53 +03:00
Felipe Pena
bc88183318
cgen: fix struct fn ptr call () 2023-05-25 10:52:05 +03:00
Felipe Pena
dc16e50d55
regex: fix find() when using anchors (start / end) () 2023-05-25 10:51:41 +03:00
Felipe Pena
fc6a34355d
parser: fix missing sync auto import when only declaring shared type and not using it () 2023-05-25 02:54:04 +02:00
Felipe Pena
9d56432e55
checker: add missing check for mismatch anon struct to typed struct () 2023-05-25 02:53:14 +02:00