Commit Graph

7452 Commits (4324be9bd8ec5788f6ca1c241167a2c1b55e623d)

Author SHA1 Message Date
Delyan Angelov 41e0561b05 examples: add overflow protection in path_tracing.v, fix randomization 2020-06-15 19:56:19 +03:00
Delyan Angelov 62a872b8b5 vdoc: fix `v doc sokol` const formatting 2020-06-15 18:28:00 +03:00
joe-conigliaro 0cd9066f44
parser/cgen: multiple attributes & better errors (closes #5334) 2020-06-15 22:59:09 +10:00
Delyan Angelov 91df872c36 examples: fix unused variable warning in examples/sokol/fonts.v 2020-06-15 15:40:42 +03:00
Delyan Angelov cadde3e9f0 vlib: fix os.exec().output usages, that may rely on trimmed lines 2020-06-15 15:38:20 +03:00
Delyan Angelov 5af6a685b8 vfmt: fix for 'File abc could not be read' bug 2020-06-15 14:42:41 +03:00
yuyi b0138e021e
cgen: fix `in` multi_array 2020-06-15 13:21:06 +02:00
Delyan Angelov e73ed56231 tests: add parser/tests/, move checker_test.v=>compiler_errors_test.v 2020-06-15 10:58:34 +03:00
yuyi 2785a5bf65
checker: check return_duplicate_with_none (closes #5363) 2020-06-15 15:10:45 +10:00
Alexander Medvednikov b93177c1a8 sokol: fullscreen linux 2020-06-14 23:36:36 +02:00
spaceface777 5f21b152a7
tcc: support tcc on Windows 2020-06-14 23:15:12 +02:00
Delyan Angelov c874a22b3b doc: use `v new` instead of `v create` 2020-06-14 21:20:31 +03:00
yuyi 4e1a09c9f5
cgen: fix array_init temporary variable error 2020-06-14 19:09:27 +02:00
Ruofan XU 90279a7108
checker: use ++ / -- instead of += 1 / -= 1 2020-06-14 19:05:05 +02:00
Swastik Baranwal a3a91f54a9
checker: handle `!is` in error messages 2020-06-14 19:03:29 +02:00
Mike 'Fuzzy' Partin 206e64d72c
os: add os.uname() 2020-06-14 16:46:30 +03:00
yuyi 2ef0f15b34
string: fix contains behaviour (closes #5371) 2020-06-14 19:24:15 +10:00
yuyi 7e0197c1b8
cgen: fix `in` empty array 2020-06-14 10:54:10 +02:00
Adam Stankiewicz 471c931ada
os: do not trim space from output of exec 2020-06-14 01:41:47 +02:00
Alexander Medvednikov 45a3d8474e cc: remove sysroot hack now that $ bug is fixed 2020-06-13 22:54:20 +02:00
Uwe Krüger 50cd0ed785
parser: fix string array initialization with interpolation 2020-06-13 22:38:10 +02:00
Alexander Medvednikov 0115c5e76c ci: bring back -autofree self test 2020-06-13 18:41:04 +02:00
Uwe Krüger 6113c4fe63
builtin: fix string interpolation for autofree 2020-06-13 18:39:17 +02:00
Alexander Medvednikov 6ce7bb4581 vweb: remove an unnecessary empty newline at the start 2020-06-13 16:59:06 +02:00
Adam Stankiewicz f2a75d5223
test: run all tests even if some fail 2020-06-13 16:20:45 +02:00
Alexander Medvednikov 183924e2a8 cc: linux cross compilation fixes + make work with openssl 2020-06-13 16:19:19 +02:00
Adam Stankiewicz b3fc462a78
scanner: fix parsing multiple .amp 2020-06-13 00:01:44 +02:00
Alexander Medvednikov af27963938 string: do not free empty strings 2020-06-12 17:20:51 +00:00
Alexander Medvednikov ca63b92d4f cgen: fix _STR 000 2020-06-12 16:55:21 +00:00
yuyi 90f07eb64a
parser: fix fn attributes empty error 2020-06-12 18:27:05 +02:00
Alexander Medvednikov 0d1e5abc41 cgen: call va_end() in _str() 2020-06-12 17:33:08 +02:00
Alexander Medvednikov 7750ce5f60 time: fix relative() 2020-06-12 15:28:28 +02:00
joe-conigliaro 0838080fcd
tools: add todo to gen_vc 2020-06-12 23:10:22 +10:00
Alexander Medvednikov b13c95ea48 Revert "vweb: @include tempaltes"
This reverts commit 6b06184ef4.
2020-06-12 14:32:09 +02:00
Daniel Däschle 6b06184ef4
vweb: @include tempaltes 2020-06-12 14:30:07 +02:00
Swastik Baranwal 56ae3797dd
checker: add checks and test for ~ operator 2020-06-12 12:05:20 +02:00
yuyi b4ad174b7f
array: fix multiple array.repeat index error 2020-06-12 11:42:26 +02:00
Adam Stankiewicz 827a9e221f
cgen: do not double-reference anon fn 2020-06-12 10:48:44 +02:00
Delyan Angelov 0a07dc5762 Revert "_vinit: use static initialization of large const []number"
This reverts commit b306c04e99.
2020-06-12 09:57:38 +03:00
Delyan Angelov b306c04e99 _vinit: use static initialization of large const []number 2020-06-12 09:41:32 +03:00
joe-conigliaro 0845a9b7c3 tools: update gen_vc init method 2020-06-12 16:34:19 +10:00
joe-conigliaro 438adfc2be tools: update/fix gen_vc 2020-06-12 16:22:01 +10:00
yuyi 47ffedc5de
cgen: minor array_init fix 2020-06-12 02:19:48 +02:00
yuyi ff1437fc5a
cgen: fix multi_array index issue 2020-06-12 01:24:25 +02:00
Alexander Medvednikov c9cfe9d40b vweb: @js and @css template fns 2020-06-11 20:34:59 +02:00
Alexander Medvednikov 72fdb09e46 time: relative_short(); fmt: handle $vweb.html() 2020-06-11 20:26:49 +02:00
Delyan Angelov 3bf9b28773 vlib: add fixes for problems, found by check_os_api_parity.v 2020-06-11 21:16:12 +03:00
Delyan Angelov 5ef9569098 cmd/tools: add check_os_api_parity.v - keep module APIs even 2020-06-11 21:13:36 +03:00
Delyan Angelov 05177b9dcb builder: add 'builtin' to builtin_module_parts instead of .clone() 2020-06-11 19:23:13 +03:00
Delyan Angelov b2428290f9 builder: fix a const changing bug that prevented 2 builders 2020-06-11 18:35:41 +03:00