v/vlib/builtin
Delyan Angelov 1aaac13a60
cgen: make `os` less special, fix an -autofree leak on just `import os`
* Improve documentation of v.util.Surrounder

* Remove `os` from the list of "no auto free" `builtin` mods

* Fix -autofree freeing of `const x = []string{}`.

* Add a valgrind regression test.

* Implement os.getenv_opt in vlib/os/environment.js.v too.
2021-11-21 21:50:10 +02:00
..
js js,jsdom: Canvas & context API; Added TypeSymbol.is_js_compatible & temporary hacks for JS ifaces (#12526) 2021-11-20 21:28:11 +02:00
linux_bare parser: deprecate `size_t` (#11443) 2021-09-08 13:09:32 +03:00
array.c.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
array.v cgen: make `os` less special, fix an -autofree leak on just `import os` 2021-11-21 21:50:10 +02:00
array_d_gcboehm_opt.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
array_notd_gcboehm_opt.v
array_test.v fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
builtin.c.v builtin: add a `[has_globals]` tag for all the .v files, with global declarations in them 2021-11-17 10:29:06 +02:00
builtin.v builtin: add a `[has_globals]` tag for all the .v files, with global declarations in them 2021-11-17 10:29:06 +02:00
builtin_d_gcboehm.c.v builtin: fix compilation with `-gc boehm` on some FreeBSD versions (#12289) 2021-10-25 10:24:08 +03:00
builtin_ios.c.v
builtin_nix.c.v checker: no longer allow automatic dereferncing in `a = b` 2021-09-09 20:21:01 +03:00
builtin_notd_gcboehm.c.v parser: deprecate `size_t` (#11443) 2021-09-08 13:09:32 +03:00
builtin_windows.c.v builtin: add a `[has_globals]` tag for all the .v files, with global declarations in them 2021-11-17 10:29:06 +02:00
byte_test.v
cfns.c.v os: move C struct declarations in their own _default.c.v files (#12268) 2021-10-22 17:08:08 +03:00
cfns_wrapper.c.v parser: deprecate `size_t` (#11443) 2021-09-08 13:09:32 +03:00
chan.v
float.c.v checker: remove unnecessary "no methods" error; builder: skip float.c.v with -nofloat 2021-09-13 18:14:26 +03:00
float_test.v
float_x64.v
int.v builtin,ast: apply small performance improvements, suggested by `hotspot` 2021-11-07 13:30:44 +02:00
int_test.v builtin: add byte.repeat() and rune.repeat() (#12007) 2021-09-30 09:32:20 +03:00
isnil_test.v
map.c.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
map.v builtin: make map.keys() public 2021-11-04 19:09:37 +03:00
map_d_gcboehm_opt.v
map_of_floats_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
map_test.v vlib: remove deprecated map{} usages as well as deprecated functions (#11035) 2021-08-04 12:44:41 +03:00
option.c.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
option.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
prealloc.c.v builtin: add a `[has_globals]` tag for all the .v files, with global declarations in them 2021-11-17 10:29:06 +02:00
rune.v builtin: add byte.repeat() and rune.repeat() (#12007) 2021-09-30 09:32:20 +03:00
rune_test.v builtin: add byte.repeat() and rune.repeat() (#12007) 2021-09-30 09:32:20 +03:00
sorted_map.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
sorting_test.v cgen: fix several sort declarations (#10919) 2021-07-23 08:55:55 +03:00
string.v builtin,ast: apply small performance improvements, suggested by `hotspot` 2021-11-07 13:30:44 +02:00
string_charptr_byteptr_helpers.v builtin: move C. calls to .c.v files (#11164) 2021-08-12 21:46:38 +03:00
string_int_test.v builtin: string interpolation: binary format support (#11421) 2021-09-07 00:12:54 +03:00
string_interpolation.v builtin, cgen: more -nofloat fixes 2021-09-13 19:06:19 +03:00
string_strip_margin_test.v fmt: fix unnecessary line break in array init (fix #11448) (#11562) 2021-09-21 16:20:09 +03:00
string_test.v all: cleanup/rename all `comp_` names to be `comptime_` (#12467) 2021-11-15 15:47:29 +02:00
utf8.c.v
utf8.v builtin: fix leak in rune.str(), fix leaks in most assert x == y statements in tests (#11091) 2021-08-13 18:37:34 +03:00
utf8_test.v