Commit graph

636 commits

Author SHA1 Message Date
Turiiya
b347f546f2
all: update remaining deprecated attr syntax (#19908) 2023-11-17 12:03:51 +02:00
Delyan Angelov
192d6d2b84
v: support $if T is $array_dynamic { and $if T is $array_fixed { in addition to $if T is $array { (#19882) 2023-11-15 20:32:16 +02:00
Delyan Angelov
b07e3d00e1
docs: use #!/usr/bin/env bash instead of #!/bin/bash 2023-11-06 08:47:57 +02:00
Larpon
95509cf8fb
all: make all struct C.XYZ -> pub struct C.XYZ (#19651) 2023-10-25 15:01:50 +03:00
Sanyam Jain
407adaa3c1
doc: update packaging_v_for_distributions.md (#19631) 2023-10-23 20:57:47 +03:00
Artem Yurchenko
04c8d45934
doc: update the section Performance tuning (#19530) 2023-10-09 17:42:15 +03:00
Spydr
32bb8cf86d
all: implement @VCURRENTHASH to replace C.V_CURRENT_COMMIT_HASH (#19514) 2023-10-05 18:14:36 +03:00
Delyan Angelov
f43be7a171
docs: add dots for consistency, to all the items in the @FILE etc list 2023-10-02 19:07:32 +03:00
Delyan Angelov
8d98a21ff8
all: add support for @LOCATION, for more convenient logging/tracing, without needing to combine @FILE, @LINE at runtime (#19488) 2023-10-02 07:49:10 +03:00
Delyan Angelov
1476daf803
docs: fix note about submodule names 2023-09-29 14:02:17 +03:00
Delyan Angelov
3fab3213b8
docs: update the $embed_file() section (#19416) 2023-09-22 21:37:16 +03:00
Delyan Angelov
6698e2867a
docs: add a code sample showing how to delete rows with the builtin ORM 2023-09-16 17:36:22 +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
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
David 'Epper' Marshall
17a1835a5c
docs: fix link to packaging_v_for_distributions.md (#19227) 2023-08-29 11:28:49 +03:00
Daniel Daudysh
9d4233dde5
docs: add note about OS threads (#19225) 2023-08-28 08:51:51 +03:00
Adam Oates
2ce7109b30
docs: add undocumented behavior (#19177) 2023-08-21 10:45:37 +03:00
Delyan Angelov
d9ad6be5b0
docs: change vself.v -> vup.v at line 44 in packaging_v_for_distributions.md (thanks @le0developer) 2023-08-15 09:28:58 +03:00
Delyan Angelov
0d61edaff7
docs: add doc/packaging_v_for_distributions.md (#19139) 2023-08-14 23:44:16 +03:00
phoebe
4a543c5f51
docs: add arm32 and i386 to the documented list of supported comptime architectures (#18932) 2023-07-21 20:01:46 +03:00
Turiiya
efcb15d05b
docs: update deprecated function results (#18850) 2023-07-13 01:43:04 +03:00
phoebe
87dd5de191
docs: fix url location of asm_test.amd64.v (#18841) 2023-07-11 14:55:43 +03:00
phoebe
2e9f8e6633
docs: add compile time types (#18761) 2023-07-03 23:19:08 +03:00
yuyi
3558e05bfb
tests: fix reflection_sym_test.v (#18574) 2023-06-27 10:53:35 +03:00
Alexander Medvednikov
21ccb9b48e doc: clarify new static type methods a bit 2023-06-27 01:38:31 +03:00
Alexander Medvednikov
d52bac8ee9 doc: document new static type methods 2023-06-27 01:31:56 +03:00
Louis Schmieder
dbd251793e
all: add $res compile time function to get returned value in defer block (#18382) 2023-06-17 14:08:50 +03:00
Thomas Peißl
e087b8b557
doc: fix grammar in docs (#18465) 2023-06-16 09:46:55 +03:00
Antonio
c4a20f0992
doc: fix a few typos (#18379) 2023-06-11 00:53:18 +03:00
Alexander Medvednikov
3a09142ace doc: update memory management info 2023-05-22 08:36:38 +02:00
Alexander Medvednikov
f67952fe84 doc: use u8 instead of byte 2023-05-18 12:24:00 +02:00
Turiiya
b87ddf68ae
docs: add concise control flow example for if x := expr { (#17983) 2023-04-25 07:07:28 +03:00
Arnaud Moura
88b29ae178
doc: create custom problemMatcher in VSCode (#18047) 2023-04-25 01:18:57 +03:00
Swastik Baranwal
3d99f1f2c2
checker: disallow struct int to ptr outside unsafe (#17923) 2023-04-13 07:38:21 +02:00
SolarWolf-Code
f41ca48ab9
doc: one hour => one weekend (#17937) 2023-04-12 06:53:07 +03:00
Artem Yurchenko
88f89bde4e
doc: improve in documentation for maps (#17918) 2023-04-09 13:43:13 +02:00
Alexander Medvednikov
eb6dd82d72
doc: simplify custom error example 2023-04-07 07:12:13 +02:00
walking devel
8452644ec3
orm: enforce that queries always return a Result, a query-resulting array can be used as a V array in place. (#17871) 2023-04-04 08:23:06 +03:00
Alexander Medvednikov
ed21097a91 doc: document json anonymous struct fields 2023-03-28 22:55:28 +02:00
Artem Yurchenko
53e4085ddc
doc: fix documentation examples (#17804) 2023-03-28 22:26:22 +02:00
walking devel
d0e78b1da6
parser: breaking change, let V ORM queries return arrays for *all* non-count queries, including limit = 1 (#17719) 2023-03-22 09:48:01 +02:00
Artem Yurchenko
608c194325
doc: [packed] and [minify] attributes documentation (#17692) 2023-03-17 21:41:48 +01:00
Delyan Angelov
42732138c6
v: support -ldflags in addition to -cflags (allow adding C options *after* other C option, similar to LDFLAGS) (#17630) 2023-03-13 21:38:48 +02:00
jmdyck
368604f9a5
docs: fix some minor mistakes (#17582) 2023-03-10 11:04:14 +02:00
ChAoS_UnItY
ae6a48c0e3
all: rename it to index in array inits (#17543) 2023-03-08 20:51:45 +01:00
Samuel Šulovský
7497d8457f
docs: fix incorrect struct literal and interface smart cast errors (#17457) 2023-03-02 13:31:12 +02:00
Alexander Medvednikov
d5ad96f876 readme: minor fixes 2023-02-28 09:55:57 +01:00
Artem Yurchenko
d616fb0a43
docs: add a Disabling the formatting locally section, about // vfmt off and // vfmt on (#17341) 2023-02-18 14:26:28 +02:00
Ahmad Yasser
cad2cd5583
docs: fix typos using codespell (#17332) 2023-02-16 11:43:39 +02:00
irishgreencitrus
4691c5d637
doc: add a section documenting #preinclude (#17304) 2023-02-15 11:25:13 +02:00