Delyan Angelov
|
eb99497ffc
|
builtin,markused: consider println of non string to use .str() method calls too, reduce generated C code for v -cc gcc examples/hello_world.v (#24996)
|
2025-07-29 14:52:24 +03:00 |
|
kbkpbot
|
fa904c495e
|
builtin,cgen,markused: add struct @[aligned] support for structs allocated on the heap too (#24886)
|
2025-07-13 20:56:28 +03:00 |
|
Delyan Angelov
|
b305fa5743
|
docs: cleanup doc comments of public APIs in builtin (found by find_doc_comments_with_no_dots.v)
|
2025-07-02 16:33:24 +03:00 |
|
Delyan Angelov
|
dc1d091ac1
|
builtin: support -d builtin_free_nop to help diagnose problems with too early manual free() calls
|
2025-06-21 12:50:15 +03:00 |
|
Eliyaan (Nopana)
|
566d22ab66
|
builtin: remove playground related code (the current playground uses a container/sandbox) (#24632)
|
2025-06-01 17:12:51 +03:00 |
|
Eliyaan (Nopana)
|
399454fb89
|
builtin: flush stdout on panic (#24606)
|
2025-05-30 05:40:29 +03:00 |
|
Alexander Medvednikov
|
7d57a19d7e
|
checker: do not allow &u8(0), force nil like we do with &Type(0)
|
2025-05-03 22:37:51 +03:00 |
|
Delyan Angelov
|
b528395039
|
builtin,markused,pref,cgen: improve markused for small programs
|
2025-03-18 21:05:04 +02:00 |
|
Delyan Angelov
|
37c3f6578c
|
v.util.version: centralise the use of @VCURRENTHASH , to minimise the vlang/vc diffs for each commit
|
2025-03-14 10:07:28 +02:00 |
|
Delyan Angelov
|
c17c0e16c4
|
builtin: declare fn C._vinit/2 and fn C._vcleanup/0 (continuation from #23812) (#23820)
|
2025-02-28 05:23:48 +02:00 |
|
Delyan Angelov
|
b9d057118c
|
log: fix panic on mutex destroy, when exiting a program, while a thread is still logging
|
2025-02-24 18:28:27 +02:00 |
|
Delyan Angelov
|
2f700c04b7
|
builtin,cgen: fix issues found with the stricter sanitizers in clang-18 on Ubuntu 24.04 (#23710)
|
2025-02-13 21:27:39 +02:00 |
|
Delyan Angelov
|
12d8f173a4
|
builtin: reduce a bit the generated #if defined checks for small programs (#23484)
|
2025-01-16 17:16:09 +02:00 |
|
Delyan Angelov
|
e983d75b64
|
markused,builtin,strconv,vlib: reduce generated C sizes for compilers != tcc, for short programs, by simplifying the generation of backtraces, and reducing string interpolations in panics (#23380)
|
2025-01-06 08:23:56 +02:00 |
|
kbkpbot
|
f821c657a7
|
examples,builtin,cgen,live: fix windows hot reload with -cc tcc , improve the infrastructure, use a V global instead of a C one (fix #23214) (#23350)
|
2025-01-03 18:04:32 +02:00 |
|
Delyan Angelov
|
4f9df0da72
|
builtin: unify memory allocation error handling, and avoid string interpolation, when allocation failed (#22423)
|
2024-10-06 20:56:58 +03:00 |
|
Delyan Angelov
|
6528efa405
|
builtin: remove string interpolation from panic/1, to be able to use tools like cbmc in more cases (#22182)
|
2024-09-09 07:45:23 +03:00 |
|
Kim Shrier
|
747f50f028
|
builtin: remove remaining references to v_calloc in function comments (#22179)
|
2024-09-08 12:10:33 +03:00 |
|
Delyan Angelov
|
217b191492
|
builtin: support -d builtin_print_use_fprintf , make the C fn declarations stricter (#22137)
|
2024-08-31 16:57:51 +03:00 |
|
yuyi
|
c51d30bf53
|
fmt: fix alignment of struct init fields (#22025)
|
2024-08-11 09:11:24 +03:00 |
|
Alexander Medvednikov
|
b5452e0adf
|
builtin: v_segmentation_fault_handler signal_number i32
|
2024-07-28 10:10:30 +03:00 |
|
Delyan Angelov
|
c2f7afdbf5
|
builtin: add pub fn arguments() []string { ; make os.args use it, remove edge case in cgen (#21852)
|
2024-07-13 00:09:44 +03:00 |
|
Alexander Medvednikov
|
940fc41c19
|
encoding.binary: little_endian_f32_at
|
2024-07-01 14:08:37 +03:00 |
|
Alexander Medvednikov
|
1096173bd3
|
builtin: vfmt builtin.c.v
|
2024-06-02 10:43:48 +03:00 |
|
Alexander Medvednikov
|
4884396ee6
|
vdoc: fix multiline js string generation in search_index.js
|
2024-06-02 10:35:50 +03:00 |
|
Turiiya
|
98ea85170b
|
builtin: make FnExitCb type public (#21552)
|
2024-05-23 11:16:55 +03:00 |
|
Delyan Angelov
|
24cb4e2fa1
|
builtin: cleanup -d vplayground related code (#21329)
|
2024-04-21 23:00:30 +03:00 |
|
Delyan Angelov
|
a222d7beb2
|
builtin: implement an at_exit(cb) wrapper for C.atexit (part 1) (#21254)
|
2024-04-12 09:15:13 +03:00 |
|
Alexander Medvednikov
|
acf0107493
|
builtin: str.last_index(); pref: hide-auto-str;
|
2024-03-28 18:26:30 +03:00 |
|
Delyan Angelov
|
2a68e2b7c9
|
builtin: implement unbuffer_stdout/0 (#20662)
|
2024-01-26 17:47:43 +02:00 |
|
Turiiya
|
5b74f3af3e
|
vlib: use the builtin flush functions, instead of the C. ones (#20108)
|
2023-12-07 18:24:27 +02:00 |
|
Joe C
|
757929392e
|
all: update attributes to use new syntax
|
2023-11-15 16:16:01 +11:00 |
|
Delyan Angelov
|
561fd9471f
|
builtin: fix typos in builtin_writeln_should_write_at_once and builtin_writeln_should_write_at_once user defines
|
2023-10-20 20:27:31 +03:00 |
|
Spydr
|
8023e25bea
|
all: finish bootstrapping of @VCURRENTHASH (#19517)
|
2023-10-07 14:08:58 +03:00 |
|
Alexander Medvednikov
|
7008059c89
|
builtin: use isize in memdup
|
2023-10-07 03:39:28 +03:00 |
|
Alexander Medvednikov
|
e957e5c089
|
cgen: do not generate unnecessary memdup() definition
|
2023-10-07 03:31:24 +03:00 |
|
Spydr
|
32bb8cf86d
|
all: implement @VCURRENTHASH to replace C.V_CURRENT_COMMIT_HASH (#19514)
|
2023-10-05 18:14:36 +03:00 |
|
Spydr
|
8cfe9e81fc
|
native, builtin: implement little improvements from #19498 and remove vcommithash() in favor of @VHASH (#19508)
|
2023-10-05 00:30:55 +03:00 |
|
Spydr
|
6d1558b006
|
native, builtin, ast: handle ast.HashStmt correctly and reduce macro usage in builtin (#19498)
|
2023-10-04 16:42:15 +03:00 |
|
Delyan Angelov
|
c030c5efa8
|
builtin: extract backtraces.c.v, backtraces_nix.c.v, backtraces_windows.c.v (#19480)
|
2023-09-30 19:24:31 +03:00 |
|
Delyan Angelov
|
803001edaa
|
builtin: add support for -d bultin_writeln_should_write_at_once and -d bultin_write_buf_to_fd_should_use_c_write (#19243)
|
2023-08-30 23:44:33 +03:00 |
|
Kim Shrier
|
64a8c14a3c
|
builtin: fix the comments about flushing on print/1 and println/1 (#18927)
|
2023-07-21 18:44:13 +03:00 |
|
Delyan Angelov
|
9bf2449a7b
|
cgen: fix memleak for [][]T{len: x}, or []Struct{len: x} (#18763)
|
2023-07-04 06:32:19 +03:00 |
|
Felipe Pena
|
5008515b03
|
builtin: heap memory usage api (#18103)
|
2023-05-03 20:33:52 +03:00 |
|
JalonSolov
|
90941b3b1f
|
all: change optional to option (#16914)
|
2023-01-09 09:36:45 +03:00 |
|
Delyan Angelov
|
fc5826b7ca
|
cgen: minimise sizeof(EmptyStruct) to 0 for gcc/clang and to 1 for tcc/msvc, by changing EMPTY_STRUCT_DECLARATION and EMPTY_STRUCT_INITIALIZATION (#16733)
|
2022-12-22 21:47:39 +02:00 |
|
Delyan Angelov
|
b67705f568
|
builtin: move the -d trace_*alloc lines at the start of their corresponding functions, implement -d trace_memdup too
|
2022-12-22 19:36:15 +02:00 |
|
Delyan Angelov
|
73675dca87
|
builtin: move v_segmentation_fault_handler to builtin.c.v, make it more informative
|
2022-11-27 12:11:06 +02:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
Delyan Angelov
|
9edb48571f
|
pref,cgen: support -no-bounds-checking , instead of -d no_bounds_checking , and make it enable direct_array_access for all fns/methods.
|
2022-10-30 14:39:45 +02:00 |
|