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

71 Commits

Author SHA1 Message Date
824790a2bd builtin: simplify println(), use C.write consistently on unix as on windows so that 0 bytes are output also 2021-04-04 19:14:21 +03:00
57e6138a61 all: remove byteptr and charptr; replace them with &byte and &char 2021-04-04 17:43:32 +03:00
c698fa1a58 all: support v -watch run (#9577) 2021-04-04 16:05:06 +02:00
76dc4cf13f gc: fix another alignment issue (#9489) 2021-03-27 18:59:51 +01:00
3220ab7053 Boehm-GC: fix global const handling (#9477)
* define global `__v_inside_init`

* unset `__v_inside_init` after `_vinit()`

* define `C.GC_MALLOC_UNCOLLECTABLE()`

* allocate uncollectable memory during `_vinit()`

* ci: run test cases with V copiler that uses GC-Boehm itself

* wrap `__v_inside_init` access into `#ifdef _VGCBOEHM`
2021-03-26 16:44:45 +02:00
257eadd2e1 gc: add -gc boehm_leak for leak detection (#9464) 2021-03-25 16:52:33 +01:00
03d56865e3 builtin: do not call C.GC_FREE with -gc boehm 2021-03-25 09:15:01 +02:00
f8f74d8587 builtin: add panic_optional_not_set and use it in cgen for fncall()? in main 2021-03-24 14:13:58 +02:00
8810af76df all: support -gc boehm on systems with libgc-dev installed (#9382) 2021-03-20 14:16:36 +01:00
1753445a64 builtin: make panics more IDE friendly 2021-03-16 20:50:11 +02:00
7f0c8d1eec builtin: fix a compilation warning with -d debug_malloc 2021-03-15 17:37:06 +02:00
2f4a49994a builtin: implement support for -d debug_malloc too 2021-03-14 18:29:00 +02:00
b6d089b605 v.depgraph: ensure v -d debug_realloc -o v cmd/v works 2021-03-14 16:15:33 +02:00
125be84e3d builtin: fix -d debug_realloc, add realloc_data/3 2021-03-14 14:54:35 +02:00
07a1a9b84d builtin: use fprintf to print to stderr on Android (#9130) 2021-03-05 19:12:42 +02:00
15daeaeafa cgen: add fixed array bounds checking for non-literal index (#8832) 2021-02-22 14:54:24 +02:00
ea803113c3 checker: check unsafe V function calls (#8752) 2021-02-14 19:31:42 +01:00
9003ea7ca3 builtin: fix a warning for -d debug_realloc 2021-01-14 12:28:49 +02:00
ca5f88eb7d builtin: implement -d debug_realloc 2021-01-14 11:41:52 +02:00
c32547f382 builtin: document all functions in builtin.c.v (#7387) 2020-12-18 19:31:00 +02:00
14d55d26a3 vlib: extract C. calls from builtin.v to builtin.c.v 2020-12-15 09:41:06 +02:00