Delyan Angelov
|
24cb4e2fa1
|
builtin: cleanup -d vplayground related code (#21329)
|
2024-04-21 23:00:30 +03:00 |
|
Turiiya
|
8aa9314a99
|
vlib: refactor empty string checks to use s == '' or s != '' , instead of s.len == 0 (#21300)
|
2024-04-18 02:44:31 +03:00 |
|
Delyan Angelov
|
a8d0cdd31b
|
all: replace usages of C.atexit(cb) with at_exit(cb) or {} (part 2) (#21263)
|
2024-04-12 13:51:18 +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 |
|
Turiiya
|
27cd1b106e
|
builtin: cleanup compare_strings functions (#21255)
|
2024-04-11 22:17:12 +03:00 |
|
Felipe Pena
|
625048c5b4
|
x.json2,checker,toml: allow field.typ compile-time checking with MatchExpr and add array of option checking (#21171)
|
2024-04-04 12:43:59 +03:00 |
|
Felipe Pena
|
24af002249
|
v,breaking: add ability to read enum, fn, interface and sumtype attributes in compile-time, change builtin StructAttribute to VAttribute (#21149)
|
2024-03-31 09:14:33 +03:00 |
|
Alexander Medvednikov
|
24ac0c1fb5
|
builtin: fix tests
|
2024-03-29 07:59:11 +03:00 |
|
Alexander Medvednikov
|
acf0107493
|
builtin: str.last_index(); pref: hide-auto-str;
|
2024-03-28 18:26:30 +03:00 |
|
Turiiya
|
f77bb32044
|
all: fix typos (#21089)
|
2024-03-25 12:18:27 +02:00 |
|
Felipe Pena
|
24d157205b
|
cgen: force C struct types which does not implement str() to be passed as ptr (#21054)
|
2024-03-21 00:24:38 +02:00 |
|
Felipe Pena
|
e6b43a166e
|
cgen: enable autofree for option (#21051)
|
2024-03-20 08:33:51 +02:00 |
|
Joe Conigliaro
|
a1c5c6c8f2
|
builtin: add missing return type to fn signature for C.GC_get_stack_base
|
2024-03-14 00:08:39 +11:00 |
|
Joe C
|
f315676882
|
coroutines: manually create photon vcpu's & add functions to set photon log output (#21012)
|
2024-03-14 00:00:42 +11:00 |
|
Kim Shrier
|
094b0328e5
|
builtin: fix a few grammar errors in builtin.string comments (#21010)
|
2024-03-13 13:14:50 +02:00 |
|
Delyan Angelov
|
a373bee98b
|
builtin: expose gc_disable(), gc_enable(), gc_is_enabled(), in addition to the existing gc_collect() (#21002)
|
2024-03-12 17:03:33 +02:00 |
|
cui fliter
|
78602846e5
|
all: fix typos in comments (#20963)
|
2024-03-04 18:41:55 +02:00 |
|
Delyan Angelov
|
a58f980b02
|
os: workaround a -prod -cc gcc bug, affecting os.open_file (fix #20923) (related to #20872) (#20960)
|
2024-03-04 18:15:28 +02:00 |
|
Delyan Angelov
|
497b613023
|
cgen: fix codegen for a.index/1, where a is []Fn (#20849)
|
2024-02-17 00:30:57 +02:00 |
|
Turiiya
|
d485cceee8
|
doc: update trim_doc_node_description, make module readmes more uniform (#20792)
|
2024-02-12 12:38:47 +02:00 |
|
Delyan Angelov
|
101b8a6b14
|
builtin: support -d gc_warn_on_stderr , to show the GC warnings, without installing a custom warn fn callback
|
2024-02-11 17:47:19 +02:00 |
|
Delyan Angelov
|
8793aebe65
|
builtin: add gc_collect/0, gc_get_warn_proc/0, gc_set_warn_proc/1. Use them to turn off GC warnings by default. (#20788)
|
2024-02-11 16:07:36 +02:00 |
|
Joe C
|
212adfab92
|
builtin,coroutines,cgen: fix using coroutines with boehm GC, by using a stack pointer corrector (#20771)
|
2024-02-10 15:20:11 +02:00 |
|
zeozeozeo
|
99579acaf2
|
builtin: link to user32 to fix boehm GC compilation on Windows with clang released from the LLVM project (fix #20724) (#20767)
|
2024-02-10 09:00:08 +02:00 |
|
kbkpbot
|
7fd1b169f3
|
builtin: add a string.u8_array() method (#20736)
|
2024-02-06 17:53:02 +02:00 |
|
Joe C
|
f79dd79242
|
coroutines: fix segfaults with GC (part 1) (#20549)
|
2024-01-27 23:27:38 +02:00 |
|
Delyan Angelov
|
2a68e2b7c9
|
builtin: implement unbuffer_stdout/0 (#20662)
|
2024-01-26 17:47:43 +02:00 |
|
Felipe Pena
|
9f6448e30e
|
v: $dbg statement - native V debugger REPL (#20533)
|
2024-01-19 07:10:17 +02:00 |
|
Delyan Angelov
|
9c7e3707b6
|
builtin: use #pkgconfig bdw-gc-threaded where available, instead of #pkgconfig bdw-gc (on FreeBSD)
|
2024-01-18 07:31:40 +02:00 |
|
Tim Marston
|
c4b8036970
|
v: add map update-init syntax: new_map := {...old_map, 'k1': 1, 'k2': 5} (#20561)
|
2024-01-17 17:55:57 +02:00 |
|
Vinicius Silva
|
3569635eff
|
builtin: add empty string verification for the new string .is_oct() etc methods, suggested on PR #20540 (#20564)
|
2024-01-17 11:00:07 +02:00 |
|
Vinicius Silva
|
afd74ad6e6
|
builtin: add is_hex() , is_int() , is_bin() , and is_oct() methods to the string type (#20540)
|
2024-01-16 23:58:28 +02:00 |
|
yuyi
|
bfe2cb7d34
|
builtin, checker: fix aliases of u8 array clone() call (#20393)
|
2024-01-05 11:56:19 +02:00 |
|
Swastik Baranwal
|
b8b0cfddd5
|
checker: disallow string to voidptr cast entirely (#20351)
|
2024-01-03 07:09:56 +02:00 |
|
Anton
|
763f94388b
|
all: update copyright year (#20334)
|
2024-01-01 23:29:54 +02:00 |
|
Delyan Angelov
|
0df6fcce8c
|
scanner: fix backslashes followed directly by newline in string literals (fix #20291) (#20296)
|
2023-12-29 07:21:49 +02:00 |
|
Swastik Baranwal
|
6a04febbf8
|
math.bits: remove deprecated max32 and max64 const (#20277)
|
2023-12-27 13:55:55 +02:00 |
|
Turiiya
|
4bab3e700e
|
builtin: add @[direct_array_access] to js string trim_right method (#20222)
|
2023-12-19 23:31:30 +02:00 |
|
penguindark
|
ae16878272
|
all: add r and R switches for repeating in string interpolation, '${"abc":3r}' == 'abcabcabc' (#20197)
|
2023-12-17 13:23:17 +03:00 |
|
Felipe Pena
|
81bfc2f52e
|
all: implement $for comptime T.variants (#20193)
|
2023-12-16 18:27:30 +03:00 |
|
Turiiya
|
5b74f3af3e
|
vlib: use the builtin flush functions, instead of the C. ones (#20108)
|
2023-12-07 18:24:27 +02:00 |
|
Delyan Angelov
|
4b3109237d
|
builtin: deprecate string.last_index/1 for string.index_last/1, and string.last_index_u8/1 for string.index_u8_last/1 (#20095)
|
2023-12-05 13:56:59 +02:00 |
|
Delyan Angelov
|
d1dcffa928
|
os: fix File.tell for files > 2GB on windows, by using C._telli64(f.fd) (#20072)
|
2023-12-03 03:58:01 +02:00 |
|
Delyan Angelov
|
0b8a612406
|
Revert "strings: fix using array_push_many inside write_string + gc, not using array_push_many_noscan (part 1)"
This reverts commit be51143ac5 .
|
2023-12-01 21:45:35 +02:00 |
|
Delyan Angelov
|
be51143ac5
|
strings: fix using array_push_many inside write_string + gc, not using array_push_many_noscan (part 1)
|
2023-12-01 18:26:57 +02:00 |
|
Bakul Shah
|
63ba05b5ca
|
builtin: pass USE_MMAP when compiling the GC library on freebsd, when tcc is not used (#20006)
|
2023-11-27 07:35:17 +02:00 |
|
Alexander Medvednikov
|
f09826e928
|
all: unwrap const() blocks
|
2023-11-25 10:02:51 +03:00 |
|
shove
|
2a6c1d9074
|
all: assigning 0 to reference fields now requires unsafe blocks (fix #14911) (#19955)
|
2023-11-23 11:16:26 +02:00 |
|
Turiiya
|
1beeb6d039
|
builtin: remove unused array.c.v file (#19948)
|
2023-11-20 17:56:54 +02:00 |
|
Kim Shrier
|
cc220e60a5
|
vlib: change byte to u8 (#19930)
|
2023-11-19 04:23:32 +03:00 |
|