Delyan Angelov
|
3e93a13ed8
|
math: fix failing test on FreeBSD with gcc 12.2.0 (and -ffast-math) (#19278)
|
2023-09-06 07:30:46 +03:00 |
|
Delyan Angelov
|
639f128c1b
|
pref: support -fast-math , passing either -ffast-math or /fp:fast (for msvc) to the C backend, and $if fast_math { to detect it at comptime
|
2023-09-05 14:48:11 +03:00 |
|
Delyan Angelov
|
dee8fb99c5
|
math: log more diagnostic information for the failing test_pow test in math_test.v
|
2023-09-05 12:38:28 +03:00 |
|
Turiiya
|
273341685a
|
encoding.html: implement unescape() (#19267)
|
2023-09-05 08:29:24 +03:00 |
|
Kim Shrier
|
c126450201
|
math: fix expected results for -5 raised to the -2 power, add a few more cases (#19274)
|
2023-09-05 08:13:29 +03:00 |
|
Delyan Angelov
|
fb0f12f937
|
math: add more C. fn overrides, for the default C backend (speed up examples/path_tracing.v) (#19271)
|
2023-09-04 21:09:01 +03:00 |
|
Leo Developer
|
a3fa575cf6
|
math: speedup the pure V math.pow implementation for non-fractional powers (#19270)
|
2023-09-04 18:37:29 +03:00 |
|
Alexander Medvednikov
|
78659f48c5
|
bench: a new bench/ directory for language benchmarks
|
2023-09-04 17:41:19 +03:00 |
|
yuyi
|
e6b7eb3a29
|
parser: fix fixed array with eval const size (#19269)
|
2023-09-04 11:57:25 +03:00 |
|
Peyton Creery
|
d04a3e52e3
|
stbi: add LoadParams to load_from_memory() as well (#19268)
|
2023-09-04 09:24:34 +03:00 |
|
yuyi
|
18e60e77de
|
fmt: remove inline comments (#19263)
|
2023-09-03 23:51:56 +03:00 |
|
Alexander Medvednikov
|
3d2731fca7
|
V 0.4.1
0.4.1
|
2023-09-03 22:42:32 +03:00 |
|
Alexander Medvednikov
|
84f70c56a0
|
tools: improve changelog helper; finish 0.4.1 changelogs
|
2023-09-03 22:40:26 +03:00 |
|
Alexander Medvednikov
|
ae4fe20b5e
|
tools: changelog_helper.v for speeding up changelog generation; more 0.4.1 changelogs
|
2023-09-03 19:44:44 +03:00 |
|
Turiiya
|
61b219953a
|
encoding.html: optimize escape performance (#19264)
|
2023-09-03 19:01:19 +03:00 |
|
Alexander Medvednikov
|
ed6626dc84
|
changelog: 0.4.1 (part 1)
|
2023-09-03 14:08:04 +03:00 |
|
Delyan Angelov
|
7492add2d3
|
cgen: cleanup code, use PastTmpVar more (#19261)
|
2023-09-02 15:34:54 +03:00 |
|
Swastik Baranwal
|
9f77630f41
|
checker: disallow casting string to enum, suggest using Enum.from_string() instead (#19260)
|
2023-09-02 14:22:04 +03:00 |
|
Delyan Angelov
|
6a7ac6a23c
|
tools: add support for v should-compile-all -c examples/ , which will delete all the produced executables at the end
|
2023-09-02 14:02:39 +03:00 |
|
yuyi
|
a8d2a990c7
|
cgen: cleanup in struct_init_field() (#19259)
|
2023-09-02 08:10:55 +03:00 |
|
yuyi
|
5848610453
|
parser, checker, cgen: fix anon struct with default expr (#19257)
|
2023-09-01 20:43:19 +03:00 |
|
Delyan Angelov
|
13fd5493d3
|
arrays: add new generic arrays.uniq, arrays.uniq_only, arrays.uniq_only_repeated, arrays.uniq_all_repeated, arrays.distinct
|
2023-09-01 16:51:51 +03:00 |
|
Turiiya
|
0450a933b9
|
os: update TOCTOU example in readme, to improve readability of the module docs on mobile (#19255)
|
2023-09-01 16:09:04 +03:00 |
|
Adam Oates
|
448f60422a
|
docs: fix notice for the doc samples, turn a[1..4] to unsafe { a[1..4] } (fix #19249) (#19254)
|
2023-09-01 10:08:47 +03:00 |
|
Delyan Angelov
|
fca8092523
|
builtin: fix the wording of panic messages, about sorting not working with -freestanding
Thanks @MPetr for spotting it.
|
2023-09-01 10:04:29 +03:00 |
|
Delyan Angelov
|
58b6ba81d1
|
builtin: implement array.sorted() and array.sorted_with_compare() methods, that do not modify their receivers (#19251)
|
2023-09-01 09:12:00 +03:00 |
|
yuyi
|
d9a382fb32
|
cgen: cleanup in array_init() and fixed_array_init() (#19252)
|
2023-09-01 08:19:32 +03:00 |
|
Larpon
|
93d54651b5
|
vgret: add install commands for ubuntu and arch to doc string (#19247)
|
2023-09-01 02:04:58 +03:00 |
|
yuyi
|
19ff25d456
|
cgen: fix mixed fixed array and array initializing (#19246)
|
2023-08-31 18:15:29 +03:00 |
|
Delyan Angelov
|
652bb9a3b3
|
tools: add favicon to the html produced by fast.v
|
2023-08-31 18:06:25 +03:00 |
|
yuyi
|
e414b54f68
|
parser: check struct embed with wrong position (#19245)
|
2023-08-31 12:15:35 +03:00 |
|
Delyan Angelov
|
6fb4a481f8
|
log: improve the most common use case (#19242)
|
2023-08-31 06:44:11 +03:00 |
|
Delyan Angelov
|
55575fd7bd
|
checker: optimise out needless string interpolations from the most common case in Checker.expr_or_block_err
|
2023-08-31 00:34:13 +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 |
|
James Kirkwood
|
7927583de9
|
net.mbedtls: have shutdown close accepted connections too (#19164)
|
2023-08-30 21:52:42 +03:00 |
|
Delyan Angelov
|
d503435dd4
|
builtin: always show the assert message, if it was defined in the source, in non test programs too (fix #19240)
|
2023-08-30 21:05:23 +03:00 |
|
Turiiya
|
f755118e7c
|
vlib: update doc comments (#19231)
|
2023-08-30 08:50:00 +03:00 |
|
Xavier Mitault
|
78c34326f1
|
flag: remove warning in the example in the readme (#19238)
|
2023-08-30 08:47:29 +03:00 |
|
Alexander Medvednikov
|
c6412597ab
|
builder: add -fwrapv to fix UB overflow
|
2023-08-29 23:39:46 +03:00 |
|
Turiiya
|
80db36496b
|
time: check if a day is a valid day of its month (#19232)
|
2023-08-29 22:45:21 +03:00 |
|
yuyi
|
6af17a86e2
|
flag: cleanup in flag.v (#19237)
|
2023-08-29 18:08:14 +03:00 |
|
David 'Epper' Marshall
|
17a1835a5c
|
docs: fix link to packaging_v_for_distributions.md (#19227)
|
2023-08-29 11:28:49 +03:00 |
|
yuyi
|
34842b1bf8
|
v.token: add inline next_to() and cleanup related calls (#19226)
|
2023-08-28 16:06:16 +03:00 |
|
Daniel Daudysh
|
9d4233dde5
|
docs: add note about OS threads (#19225)
weekly.2023.35
|
2023-08-28 08:51:51 +03:00 |
|
Xavier Mitault
|
007519e130
|
cli: add attribute doc for Flag.global (#19224)
|
2023-08-27 14:34:25 +03:00 |
|
Turiiya
|
981ff192e4
|
os: update doc comment for input_opt return (#19223)
|
2023-08-27 13:40:21 +03:00 |
|
yuyi
|
adf10f88cf
|
cgen: fix array sort with fn call parameter (fix #19220) (#19221)
|
2023-08-26 18:50:06 +03:00 |
|
Delyan Angelov
|
c85232ef1f
|
tools: make performance_compare.v more robust and easier to use, by allowing v run cmd/tools/performance_compare.v too
|
2023-08-26 10:40:16 +03:00 |
|
Delyan Angelov
|
806f071a11
|
tools: improve oldv windows support, make it use -municode for windows builds, after 53ffee1 2020-05-18
|
2023-08-26 09:51:50 +03:00 |
|
Delyan Angelov
|
636aae243c
|
tools: improve windows support in oldv (it now can run in cmd.exe, not just in a Git Bash shell)
|
2023-08-26 09:07:14 +03:00 |
|