4ebf53c6e9
allow non snake_case fn names in imported fns
2019-12-08 23:56:31 +03:00
faedebbb4e
sdl: separate sdl module into multiple, dependent submodules
2019-12-08 23:30:38 +03:00
9730164613
atoi: fix leading zeros in string to int conversion
2019-12-08 23:22:33 +03:00
8f9b6ac248
'$foo()' string interpolation
2019-12-08 23:18:11 +03:00
ef821379da
v build-binaries: build v -g v.v and v -g -prod v.v
2019-12-08 21:16:06 +03:00
874ff42687
temporary fix of "v -g v.v"
2019-12-08 20:58:16 +03:00
e31bf63626
ci: test v -g v.v
2019-12-08 20:45:30 +03:00
1bb38a38bb
tooling: add tools/oldv , for use with 'git bisect', or for testing with older V
2019-12-08 20:21:17 +03:00
4d1f721558
fix "" string interpolation bug
2019-12-08 20:06:00 +03:00
d58982a6f6
vweb: fix tests
2019-12-08 18:07:04 +03:00
1c6f7180b2
vweb: fix form parsing
2019-12-08 17:37:23 +03:00
02eee49d25
fix defer_test
2019-12-08 15:30:14 +03:00
c9886e6f42
use ++ everywhere
2019-12-08 14:34:51 +03:00
cc682eafe1
require ++ instead of += 1
2019-12-08 14:11:25 +03:00
8bc94947e5
tvintris: fix else cases
2019-12-08 13:45:29 +03:00
8178e1f7da
freestanding: malloc/free with mm_alloc an mm_free
...
Added more array support that depends on malloc. Added string clone (that uses malloc). Added test for it. Eliminated stack allocated buffers from most of the unit checks.
2019-12-08 13:44:52 +03:00
6ec626c5e9
improve invalid character errorrs
2019-12-08 12:57:40 +03:00
8b0de95c0a
improve the C struct check
2019-12-08 04:23:22 +03:00
6ae51b2cbf
handle unknown C types
2019-12-08 04:10:56 +03:00
7adda3b71a
vweb: fix get_cookie()
2019-12-08 01:48:49 +03:00
5330859034
2 more unneeded casts removed
2019-12-08 01:39:27 +03:00
b1174428a5
vweb: fix redirect()
2019-12-08 01:05:57 +03:00
30fc29fa6d
fix csv test
2019-12-08 01:03:35 +03:00
7069cd6ab5
a separate scope for x := opt, part 2
2019-12-08 00:45:42 +03:00
b26a0bde38
a separate scope for x := opt, part 1
2019-12-08 00:34:04 +03:00
06a0f39f7b
a separate scope for
2019-12-08 00:30:06 +03:00
dc2da1de98
fix V build
2019-12-08 00:27:24 +03:00
8ebc2fe601
do not allow redefinition in x := opt() {
2019-12-07 23:09:48 +03:00
b79588dc69
handle bad value in if x := opt() {
2019-12-07 23:05:54 +03:00
49f960aea5
fix some windows cast warnings
2019-12-07 22:42:20 +03:00
c019dd6f98
test assert in functions that return values
2019-12-07 22:42:20 +03:00
751ba48bf5
freestanding improvements (exit, function checks)
...
Fixed exit for freestanding (as assert now uses it).
Running each function check now in a forked process so they can be killed or return other exit codes (and so each function runs, even if others crash)
2019-12-07 22:25:19 +03:00
d73586743b
fix assert in functions that return values
2019-12-07 19:33:59 +03:00
b9a24e3b51
Revert "use stdint.h with msvc"
...
This reverts commit 93529031de
.
2019-12-07 19:25:17 +03:00
93529031de
use stdint.h with msvc
2019-12-07 19:20:53 +03:00
7d58dc2350
fix examples/v_script.vsh and add it to CI
2019-12-07 18:27:09 +03:00
63ec3c0486
fix a wrong "0 character in a string literal" error
2019-12-07 18:19:48 +03:00
7b0e378947
fix clipboard_linux.v
2019-12-07 18:16:19 +03:00
e1ad1794e3
fix readline_linux.v
2019-12-07 17:46:01 +03:00
9cba3bdf78
windows: WideCharToMultiByte() returns an int
2019-12-07 17:31:07 +03:00
ad6adf327e
vlib: fix missing else{}
in match statements
2019-12-07 17:23:37 +03:00
2fb7fba856
require else
in match
statements
2019-12-07 17:01:44 +03:00
a594e009f2
test high order function
2019-12-07 16:13:25 +03:00
f51784ee01
remove unnecessary casts everywhere
2019-12-07 15:51:00 +03:00
d7ccbba2c9
do not allow casting a type to itself
2019-12-07 15:31:56 +03:00
a854d396ff
clipboard: fix mutability on macOS and Windows
2019-12-07 15:22:28 +03:00
c2814c1ada
vlib: fix remaining mutability errors
2019-12-07 15:13:23 +03:00
329485d4b6
vweb: fix headers and cookies
2019-12-07 15:04:05 +03:00
cc834dd7a7
parser: x in []
is always false
2019-12-07 03:05:19 +03:00
5a8c07dcf5
strings: builder: write_b()
2019-12-06 23:02:09 +03:00