Delyan Angelov
|
3544d3c144
|
builtin: make int_min/2 and int_max/2 public
|
2024-11-18 22:38:46 +02:00 |
|
Delyan Angelov
|
e72c9d0e87
|
builtin: add int_min/2 and int_max/2 + tests
|
2024-11-18 22:36:09 +02:00 |
|
yuyi
|
7a4b3abd07
|
fmt: fix formating non-unsafe blocks with break line (fix #22900) (#22903)
|
2024-11-18 21:57:36 +02:00 |
|
Delyan Angelov
|
e4e0604611
|
tests: improve the diagnostic information from init_global_test.v
|
2024-11-18 20:30:32 +02:00 |
|
Felipe Pena
|
aca5358061
|
cgen: fix codegen for returning a fixed array as a result (fix #22894) (#22896)
|
2024-11-18 19:37:59 +02:00 |
|
Delyan Angelov
|
61e38b9bf1
|
cgen: implement -d trace_gen_wanted -d trace_gen_wanted_value="message = _SLIT0" , cleanup text_manipulation.v
|
2024-11-18 15:43:25 +02:00 |
|
Delyan Angelov
|
791d0d30ea
|
v: use -check-unused-fn-args to cleanup the compiler code itself
|
2024-11-18 12:10:03 +02:00 |
|
Turiiya
|
647901d6ab
|
cgen: generate json array line on uniform indent lvl (#22899)
|
2024-11-18 11:09:06 +02:00 |
|
Turiiya
|
5e9e09f16d
|
term: improve performance of repeated can_show_color_on_stdout and can_show_color_on_stderr calls, by caching their results (#22893)
|
2024-11-18 11:03:27 +02:00 |
|
Turiiya
|
8c4de2000b
|
cgen, json: make errors more informative (resolve empty panics) (related: #21184) (#22898)
|
2024-11-18 10:59:39 +02:00 |
|
Felipe Pena
|
73786b820c
|
cgen, checker: fix codegen for fixed array initialization with a fn call (fix #22887) (#22891)
|
2024-11-18 10:47:26 +02:00 |
|
Turiiya
|
3bf459c0d2
|
checker: fix json.encode_pretty with a struct init expression argument (#22897)
|
2024-11-18 10:42:34 +02:00 |
|
Felipe Pena
|
47c785886c
|
cgen: fix codegen for $if in an if expression, when compiled with -g (fix #22873) (#22888)
|
2024-11-18 10:37:12 +02:00 |
|
Felipe Pena
|
983511f21d
|
v.markused: fix -skip-unused error with aggregate method call (fix #22852 - building vsql) (#22883)
|
2024-11-18 10:34:54 +02:00 |
|
Delyan Angelov
|
5bba92a65a
|
vlib: remove modules/functions/fields, deprecated in 2023 (#22750)
|
2024-11-17 20:09:21 +02:00 |
|
Bruno-Vdr
|
2390e58da0
|
docs: increase keyword number from 44 to 45 in documentation Appendix I: Keywords (#22890)
|
2024-11-17 19:52:16 +02:00 |
|
Bruno-Vdr
|
df220b6eb3
|
docs: add the implements keyword to the appendix of all V keywords (#22889)
|
2024-11-17 19:17:21 +02:00 |
|
Felipe Pena
|
f1333be65e
|
checker: fix alias to struct generic type (fix #22866) (#22872)
|
2024-11-17 13:35:04 +02:00 |
|
Felipe Pena
|
af875ede92
|
v: do a minor optimizations on cmd/v (#22880)
|
2024-11-17 13:17:19 +02:00 |
|
yuyi
|
d2cb41c887
|
builtin: cleanup by merging fixed array tests into one test file (#22884)
|
2024-11-17 12:58:36 +02:00 |
|
Felipe Pena
|
864845bccd
|
cgen: fix array fixed code generation for more than 1 dimension (fix #22866) (#22876)
|
2024-11-17 10:12:43 +02:00 |
|
Delyan Angelov
|
e234a2d37e
|
tools: make compare_pr_to_master.v use /opt/homebrew/bin/gtime on macos, and a pure V fallback, not just for windows
|
2024-11-17 09:05:42 +02:00 |
|
Delyan Angelov
|
b4fd5d331f
|
tools: fix compilation of hw with vnew -> vold, in compare_pr_to_master.v
|
2024-11-17 08:57:29 +02:00 |
|
Turiiya
|
ca236e967e
|
parser, checker, pref: allow getting notified about unused function params (#22879)
|
2024-11-17 08:52:03 +02:00 |
|
Felipe Pena
|
466c282d30
|
v.markused: cleanup the implementation of mark_used/3 (#22877)
|
2024-11-17 08:36:00 +02:00 |
|
Felipe Pena
|
76c21fbefe
|
v: minor optimizations on cmd/v (#22878)
|
2024-11-17 08:33:26 +02:00 |
|
Delyan Angelov
|
be4aec882a
|
docs: update the documentation of the @[console] tag, add advice to use -subsystem windows instead
|
2024-11-16 14:29:10 +02:00 |
|
Delyan Angelov
|
1dd5f8eb2c
|
ci: check more compile flag combinations in puzzle_vibes_ci.yml
|
2024-11-16 14:22:26 +02:00 |
|
Delyan Angelov
|
375051f6a2
|
ci: add .yml file for testing compilation of Larpon's Shy library and the Puzzle Vibes game (#22874)
|
2024-11-16 14:14:33 +02:00 |
|
Delyan Angelov
|
6e2f2cc35c
|
checker,markused: fix detection of using array_last/array_pop/array_first in user code
|
2024-11-16 13:16:13 +02:00 |
|
Delyan Angelov
|
945de7e37e
|
v.embed_file: use @[markused] for find_index_entry_by_path/3
|
2024-11-16 12:25:50 +02:00 |
|
Delyan Angelov
|
b5813c25e2
|
tools: measure execution speed, even if the compilation commands fail, in order to not break https://fast.vlang.io/
|
2024-11-16 12:13:23 +02:00 |
|
Delyan Angelov
|
c41ff725c4
|
builtin: fix v -skip-unused -cc tcc examples/hello_world.v on *BSD
|
2024-11-16 11:57:52 +02:00 |
|
Kim Shrier
|
30093737cc
|
x.encoding.asn1: fix time creation to also accommodate negative timezone offsets (#22861)
|
2024-11-16 11:41:16 +02:00 |
|
yuyi
|
8300a0671c
|
checker: check struct aliased field unsign type assigning negative value (fix #22868) (#22871)
|
2024-11-16 11:40:44 +02:00 |
|
Delyan Angelov
|
719d9a5784
|
cgen: small cleanup of the "// THE END" comment generated at the end of each C program
|
2024-11-16 11:05:05 +02:00 |
|
Felipe Pena
|
4c557cf815
|
checker, cgen: fix generic static method call return type resolution (#22865)
|
2024-11-16 09:19:52 +02:00 |
|
Felipe Pena
|
7d6a301bc0
|
v: improve -skip-unused by removing code related to unused builtin types, interfaces, etc (#22856)
|
2024-11-16 08:07:34 +02:00 |
|
yuyi
|
4dce49da4e
|
checker: cleanup and move test files to tests directory (#22870)
|
2024-11-16 08:01:08 +02:00 |
|
Felipe Pena
|
c4fd61cec7
|
v: adjust some checks, based on branch prediction analysis (#22848)
|
2024-11-15 22:55:02 +02:00 |
|
Delyan Angelov
|
561efd1463
|
examples: simplify and reorder output of poll_coindesk_bitcoin_vs_usd_rate.v
|
2024-11-15 14:32:27 +02:00 |
|
Delyan Angelov
|
6845db9831
|
examples: add poll_coindesk_bitcoin_vs_usd_rate.v
|
2024-11-15 14:16:22 +02:00 |
|
Swastik Baranwal
|
3954e05455
|
checker: disallow struct init with mutable_field: const_array (fix #22862) (#22863)
|
2024-11-15 11:57:27 +02:00 |
|
Delyan Angelov
|
df51e840f9
|
os: work towards being able to again use -autofree while recompiling the V compiler several times
|
2024-11-14 13:58:50 +02:00 |
|
Delyan Angelov
|
2831b61a0b
|
ci,v.help: work around -autofree bugs, fix ./v -autofree -o v2 cmd/v
|
2024-11-14 13:48:37 +02:00 |
|
yuyi
|
d6cfe642cc
|
checker: check alias of array op overloading and fix op overloading (fix #22851) (#22854)
|
2024-11-14 13:34:53 +02:00 |
|
yuyi
|
409f6fb642
|
checker: check array builtin method calls, that do need a mutable receiver, but are called on an immutable one (fix #22850) (#22853)
|
2024-11-14 13:24:34 +02:00 |
|
Delyan Angelov
|
58e5799ac2
|
v.help: cleanup the v help installation text
|
2024-11-14 09:32:54 +02:00 |
|
Delyan Angelov
|
9bba3a07ca
|
v.help: add help topic for v help repeat
|
2024-11-14 09:19:45 +02:00 |
|
Delyan Angelov
|
0a47a1fe68
|
v.help: add topic for v help retry
|
2024-11-14 09:14:59 +02:00 |
|