Alexander Medvednikov
|
c4a434bd7f
|
tmpl: fix an extra newline in @for; builtin: some i64 fixes
|
2024-07-31 13:30:30 +03:00 |
|
Delyan Angelov
|
6f20516a34
|
builtin: panic on trying to grow arrays with capacity bigger than 2^31, instead of overflowing a.cap (partial fix for #21918) (#21947)
|
2024-07-28 23:17:59 +03:00 |
|
Alexander Medvednikov
|
736067dd18
|
V 0.4.6
|
2024-05-20 21:06:54 +03:00 |
|
yuyi
|
bfe2cb7d34
|
builtin, checker: fix aliases of u8 array clone() call (#20393)
|
2024-01-05 11:56:19 +02:00 |
|
Anton
|
763f94388b
|
all: update copyright year (#20334)
|
2024-01-01 23:29:54 +02:00 |
|
Alexander Medvednikov
|
f09826e928
|
all: unwrap const() blocks
|
2023-11-25 10:02:51 +03:00 |
|
Joe C
|
757929392e
|
all: update attributes to use new syntax
|
2023-11-15 16:16:01 +11:00 |
|
Artem Yurchenko
|
97f7c3f609
|
builtin: move min/max integer values consts from math to builtin (#19809)
|
2023-11-08 20:43:48 +02:00 |
|
Alexander Medvednikov
|
b9a1b0c269
|
native: use i32 instead of int
|
2023-10-08 02:50:01 +03:00 |
|
Alexander Medvednikov
|
e265e99a64
|
all: int => i64 (part 5)
|
2023-10-08 01:32:37 +03:00 |
|
Alexander Medvednikov
|
8c5ac3a529
|
all: i64 fixes
|
2023-10-08 01:04:19 +03:00 |
|
Alexander Medvednikov
|
9e6a9f0330
|
all: int => i64 (part 3)
|
2023-10-07 20:55:49 +03:00 |
|
Alexander Medvednikov
|
6756d28595
|
all: 2023 copyright
|
2023-03-28 22:55:57 +02:00 |
|
yuyi
|
17000ef7b6
|
checker: check option fn returning error (fix #17423) (#17438)
|
2023-03-02 15:49:50 +02:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
yuyi
|
126c4c5751
|
builtin,math: fix math.min_i64.str() (fix #16086) (#16089)
|
2022-10-17 19:36:46 +03:00 |
|
Alexander Medvednikov
|
caa0c2f153
|
vfmt: voidptr(0) => unsafe { nil } (p.1)
|
2022-07-21 20:46:01 +03:00 |
|
Daniel Däschle
|
d679146a80
|
fmt: remove space in front of ? and ! (#14366)
|
2022-05-13 06:56:21 +03:00 |
|
David 'Epper' Marshall
|
a2338dbb7c
|
docs: document more builtin functions/methods (#14229)
|
2022-04-30 12:31:23 +03:00 |
|
Alexander Medvednikov
|
7dbfa86f25
|
all: atomic int fixes
|
2022-04-27 18:31:21 +03:00 |
|
Alexander Medvednikov
|
fbb9e65c0f
|
all: ~500 more byte=>u8
|
2022-04-15 18:25:45 +03:00 |
|
Alexander Medvednikov
|
fb192d949b
|
all: replace []byte with []u8
|
2022-04-15 15:35:35 +03:00 |
|
Alexander Medvednikov
|
d4a0d6f73c
|
all: byte => u8
|
2022-04-15 14:58:56 +03:00 |
|
Alexander Medvednikov
|
014c3c97f0
|
all: byte => u8
|
2022-04-15 14:45:52 +03:00 |
|
Alexander Medvednikov
|
e6ff1508d2
|
all: make u8 the primary type, byte the alias
|
2022-04-15 13:43:03 +03:00 |
|
Nick Treleaven
|
d10135e2c4
|
vdoc: HTML highlight generic function as function, not name (#13923)
|
2022-04-03 23:41:02 +03:00 |
|
Nick Treleaven
|
a87cd9663e
|
vdoc: highlight inline examples for -f html (#13879)
|
2022-03-31 19:32:32 +03:00 |
|
Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
|
jeffmikels
|
4189b7e280
|
builtin: add a byterune method on []byte (#13145)
|
2022-01-13 22:26:17 +02:00 |
|
Delyan Angelov
|
ecc7accc8e
|
tests: test with valgrind rune.bytes(), fix leak in .str_escaped()
|
2022-01-11 15:23:40 +02:00 |
|
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
|
yuyi
|
a0a1807e2b
|
builtin: add charptr str() and change string format (#12973)
|
2021-12-30 23:34:24 +03:00 |
|
Delyan Angelov
|
c4363bc78b
|
builtin: explain and better organise the different cstring_to_vstring/tos/tos_clone/vstring family of conversion functions
|
2021-12-02 15:46:53 +02:00 |
|
Delyan Angelov
|
6d97b0a407
|
checker: improve checking of a << b, when a and b are numbers (#12589)
|
2021-11-29 03:48:49 +03:00 |
|
Delyan Angelov
|
80242c8041
|
builtin,ast: apply small performance improvements, suggested by hotspot
|
2021-11-07 13:30:44 +02:00 |
|
Wertzui123
|
e3d379a1eb
|
builtin: add byte.repeat() and rune.repeat() (#12007)
|
2021-09-30 09:32:20 +03:00 |
|
yuyi
|
8789cc422c
|
v.ast: fix fmt of 'bytestr' to '&byte' (#12014)
|
2021-09-29 13:53:46 +03:00 |
|
Wertzui123
|
07d65b2aab
|
builtin: move byte methods from rune.v to int.v (#11987)
|
2021-09-26 22:34:25 +03:00 |
|
Enzo
|
b2ecca3966
|
all: remove size_t (#11478)
|
2021-09-21 02:12:38 +03:00 |
|
Enzo
|
1a2d5f65fb
|
builtin: add size_t.str() again (#11446)
|
2021-09-09 10:50:35 +03:00 |
|
Alexander Medvednikov
|
55451baa03
|
builtin: i32 alias
|
2021-09-08 14:49:02 +03:00 |
|
Enzo
|
bef3390f36
|
builtin: fix compilation (#11445)
|
2021-09-08 14:19:21 +03:00 |
|
Enzo
|
56ad5d72ef
|
builtin: add .str method for i/usize (#11441)
|
2021-09-08 13:41:08 +03:00 |
|
Enzo
|
cc8ee5fb84
|
all: introduce isize and usize (#11437)
|
2021-09-08 05:53:39 +03:00 |
|
penguindark
|
fde934cd93
|
builtin: optimize hex() (#11261)
|
2021-08-22 11:10:24 +03:00 |
|
Delyan Angelov
|
47884dfd1f
|
builtin: move C. calls to .c.v files (#11164)
|
2021-08-12 21:46:38 +03:00 |
|
Alexander Medvednikov
|
b79dd7f0b3
|
builtin: re-enable u8 alias
|
2021-07-29 06:46:12 +03:00 |
|
Alexander Medvednikov
|
09df5adbdd
|
builtin: re-gen v.c
|
2021-07-29 06:45:04 +03:00 |
|
Alexander Medvednikov
|
1343ec7444
|
builtin: fix temporary u8 alias
|
2021-07-29 06:42:22 +03:00 |
|
Alexander Medvednikov
|
a7270148e5
|
builtin: remove u8 alias to re-generate v.c
|
2021-07-28 22:41:41 +03:00 |
|