Miccah
|
a1e0f2bc46
|
gen: add argument names to compile-time method struct (#9174)
|
2021-03-07 14:28:43 +01:00 |
|
Larpon
|
57258c2988
|
builtin: document remaining pub structs in builtin.v (#8576)
|
2021-02-05 21:02:29 +01:00 |
|
Daniel Däschle
|
2cadb3e4d8
|
gen: panic with correct type names (#8355)
|
2021-01-30 18:54:05 +02:00 |
|
Lukas Neubert
|
ac2c3847af
|
all: update copyright to 2019-2021 (#8029)
|
2021-01-18 13:20:06 +01:00 |
|
Delyan Angelov
|
14d55d26a3
|
vlib: extract C. calls from builtin.v to builtin.c.v
|
2020-12-15 09:41:06 +02:00 |
|
Delyan Angelov
|
0da1d757cb
|
builtin: support '-d no_backtrace' directly in panic(), to ease creating .so files with tcc
|
2020-12-15 06:35:21 +02:00 |
|
Delyan Angelov
|
ecfd124390
|
builtin: call C.tcc_backtrace() directly in the panic() fns
|
2020-12-13 11:01:04 +02:00 |
|
Delyan Angelov
|
03f644e099
|
builtin: change V's panic() to not segfault; use -d panics_break_into_debugger to override
|
2020-12-12 16:05:22 +02:00 |
|
Delyan Angelov
|
2be0c6af47
|
builtin: implement -d exit_after_panic_message (speeds up v test-parser with gcc/clang)
|
2020-12-06 14:21:37 +02:00 |
|
heronwr
|
f8af866f76
|
builtin: make v_realloc use int parameter instead of u32 (#7080)
|
2020-12-02 15:35:11 +02:00 |
|
Alexander Medvednikov
|
7da1afa140
|
all: switch to the new fn arg syntax everywhere; add lots of vfmt -verify tests
|
2020-10-15 12:32:28 +02:00 |
|
Henrixounez
|
c324169af0
|
all: remove intermediate handling for both global definition syntaxes (#6546)
|
2020-10-03 15:41:45 +02:00 |
|
Daniel Däschle
|
06cade6c31
|
all: change .ReturnType and .Type to .return_type and .typ (#6494)
|
2020-09-28 06:13:38 +02:00 |
|
Daniel Däschle
|
abc98c273c
|
parser: require assign on type alias (#6477)
|
2020-09-25 12:02:32 +02:00 |
|
Delyan Angelov
|
40ed2e1b3d
|
builtin: use C.write for print/eprint . Call C.SetConsoleOutputCP(C.CP_UTF8) on windows
|
2020-09-11 16:20:35 +03:00 |
|
spaceface777
|
eff319f869
|
comp_for: allow checking full mehod and arg types (#5997)
|
2020-08-27 15:00:44 +02:00 |
|
Alexander Medvednikov
|
7dfae2384b
|
builtin: remove asl.h include
|
2020-08-22 17:22:14 +02:00 |
|
Alexander Medvednikov
|
9e12095111
|
gg: image: return an optional instead of panic(); darwin: fix nsstring()
|
2020-08-22 17:09:30 +02:00 |
|
Nick Treleaven
|
2dd90de993
|
parser: error on [unsafe_fn] (#6090)
|
2020-08-09 12:22:11 +03:00 |
|
Louis Schmieder
|
b58b15993c
|
gen: compile time for (methods and fields) (#5957)
|
2020-07-25 00:02:44 +02:00 |
|
Nick Treleaven
|
a74cbf55c7
|
checker: warn if C.m* or C.s* functions are called outside unsafe blocks (#5869)
|
2020-07-20 20:06:41 +03:00 |
|
Delyan Angelov
|
498c8cfc8e
|
builtin: skip print_backtraces on panics with tcc, it does it automatically
|
2020-07-11 17:51:06 +03:00 |
|
Alexander Medvednikov
|
ab3c1f2a08
|
prealloc: skip frees for now
|
2020-07-11 13:22:18 +02:00 |
|
Alexander Medvednikov
|
649821be4c
|
all: use v_realloc
|
2020-07-11 12:37:54 +02:00 |
|
Alexander Medvednikov
|
a1073105e1
|
all: re-enable -prealloc
|
2020-07-11 11:25:56 +02:00 |
|
Alexander Medvednikov
|
b7175b54eb
|
vweb: ['/:arg1/:arg2/action'] attribute
|
2020-07-03 15:10:39 +02:00 |
|
Nick Treleaven
|
e7339fec15
|
all: disallow pointer arithmetic for AssignStmt, PostfixExpr outside unsafe{} (#5581)
|
2020-07-01 14:50:17 +02:00 |
|
Delyan Angelov
|
78e1127d99
|
cgen: treat the main module like any other v module
|
2020-07-01 00:53:53 +02:00 |
|
Alexander Medvednikov
|
deb09d95b0
|
orm: fix column == var ; limit 1; vweb: @footer
|
2020-06-22 16:52:16 +02:00 |
|
Adam Stankiewicz
|
f2a75d5223
|
test: run all tests even if some fail
|
2020-06-13 16:20:45 +02:00 |
|
Delyan Angelov
|
945439dab6
|
cgen: print actual values on a failed assert (when possible)
|
2020-06-01 14:43:38 +03:00 |
|
Emily Hudson
|
75eac291ac
|
all: variable sized options
|
2020-05-31 12:57:26 +02:00 |
|
Emily Hudson
|
f0a9b88ac4
|
all: add stdcall attribute, unhandled exception handler, get_raw_stdin, v_realloc
|
2020-05-29 03:06:27 +02:00 |
|
Delyan Angelov
|
88fa935376
|
builtin: fix print mem leak on windows
|
2020-05-22 12:18:27 +03:00 |
|
Uwe Krüger
|
722a2c71c3
|
builtin: new_array: cap should not be less than len
|
2020-05-07 22:41:41 +02:00 |
|
Delyan Angelov
|
acd80f052b
|
tests: improve diagnostic output on failure
|
2020-05-04 11:21:25 +03:00 |
|
Alexander Medvednikov
|
ef26f27753
|
builtin: replace isnil calls for perfomance
|
2020-04-27 07:13:36 +02:00 |
|
Alexander Medvednikov
|
2d187fb951
|
runtime as type check: part 1
|
2020-04-25 08:36:53 +02:00 |
|
Alexey
|
9c0d97335e
|
builtin: improve backtrace on Windows
|
2020-04-20 20:59:08 +02:00 |
|
lutherwenxu
|
a8c92e6dff
|
checker: remove hack and enforce type checking
|
2020-04-07 03:27:06 +02:00 |
|
Alexey
|
6c4de001b8
|
cgen: add builtin.init call inside of _vinit
|
2020-04-03 13:27:19 +02:00 |
|
radare
|
cc75fe4fe5
|
builtin: Fix undefined behaviour when allocating empty structs (#4088)
|
2020-03-21 12:24:34 +01:00 |
|
radare
|
c21e976cad
|
builtin: do not use unsafe sprintf/vsprintf functions
|
2020-03-21 06:37:58 +01:00 |
|
Alexander Medvednikov
|
f27f832ede
|
cgen: definitions + other fixes; calloc fix
|
2020-03-04 17:08:28 +01:00 |
|
Alexander Medvednikov
|
432ee93916
|
v2: break, continue, for in fixes, fixed size array, |
|
2020-02-04 08:29:50 +01:00 |
|
Alexander Medvednikov
|
d87cb3f672
|
v2: consts, $if, attributes, globals, if/for type check, prefs
|
2020-02-03 07:03:32 +01:00 |
|
Shun Sakai
|
c8c43a2475
|
update copyright year
|
2020-01-23 21:04:46 +01:00 |
|
vitalyster
|
66a6fa163e
|
windows: read console using ReadFile/ReadConsole (#3387)
|
2020-01-10 14:06:40 +01:00 |
|
vitalyster
|
8412c6f03f
|
windows: println using WriteFile/WriteConsole
|
2020-01-09 22:47:13 +01:00 |
|
Alexander Medvednikov
|
651c7e8de1
|
cgen tests
|
2019-12-28 11:55:14 +01:00 |
|