Commit graph

673 commits

Author SHA1 Message Date
David Legrand
9ad84ddc21
doc: fix vup/vself replacement scripts (#21092) 2024-03-25 12:17:57 +02:00
Turiiya
cf9746da5a
docs: remove deprecated newline info for doc comments (#21086) 2024-03-24 19:55:28 +02:00
Ikko Eltociear Ashimine
0b573c5943
docs: fix embeded -> embedded typo in docs.md (#21068) 2024-03-21 00:18:27 +02:00
Nikita Goncarenko
aded18ad46
docs: use a [!NOTE] tag for a Note in docs.md (#21032) 2024-03-15 11:21:00 +02:00
Kim Shrier
0211a0d548
doc: fix wording in the description of the #pkgconfig directive (#20956) 2024-03-04 10:12:16 +02:00
Kim Shrier
6e52336f0e
doc: fix minor grammar error in attribute comment (#20945) 2024-03-03 11:21:54 +02:00
yuyi
667f65bb5f
checker: check assigning immutable reference struct field (fix #20814) (#20883) 2024-02-22 19:22:13 +02:00
Felipe Pena
c6cc2d2fac
docs: update v.debug docs - callstack+trace (#20854) 2024-02-18 19:39:20 +02:00
machel
ea2e6e1590
docs: add section explaining how to convert enum from/to str/int values (#20791) 2024-02-12 03:44:13 +02:00
Kim Shrier
af2fbafecc
doc: fix minor embedded struct typo (#20678) 2024-01-27 23:24:08 +02:00
Pierre Curto
a84bce37f1
docs: add a section about modules specifics (#20653) 2024-01-25 22:50:42 +02:00
Felipe Pena
712d4a0a6b
debug: fix help and add docs for clear cmd (#20639) 2024-01-23 23:08:37 +02:00
Veru
55287b31ee
docs: update range for: 0-based index rationale (#20617) 2024-01-22 01:02:15 +02:00
ScriptMaster
ea2d92d661
os: document os.ls (using readdir), add example (#20622) 2024-01-21 20:45:19 +02:00
Felipe Pena
9d048792fe
docs: add documentation for the new $dbg statement (#20598) 2024-01-21 07:50:56 +02:00
Muhammad Saleh Solahudin
a2443cc378
docs: fix typo (statemnts -> statements) (#20585) 2024-01-19 19:30:15 +02:00
Muhammad Saleh Solahudin
a6f2f6ab65
docs: fix link for an example of a module that calls C code from V (#20586) 2024-01-19 17:38:45 +02:00
Jose Mendoza
3600093f07
docs: fix typo (stuct -> struct) (#20581) 2024-01-19 10:59:15 +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
Steven Gay
33598ca005
docs: add field shadowing comment (#20521) 2024-01-14 18:24:50 +02:00
Andreas Evensen
acf75c71da
docs: document the return type restrictions for operator overloading (#20529) 2024-01-14 17:31:47 +02:00
Juan de Bruin
61cd2ee9cf
doc: add r and R string interpolation switch examples (#20473) 2024-01-10 23:25:35 +02:00
Sanath Kumar U
f0456c106d
docs: add a Warnings and declaration errors section in docs.md (#20416) 2024-01-07 05:09:39 +02:00
Kim Shrier
a639ca09a7
doc: fix typo in embedded structs description (#20407) 2024-01-06 18:21:48 +02:00
Felipe Pena
7ba8161468
doc: add initial documentation about the supported comptime metadata (#20375) 2024-01-04 00:09:43 +02:00
Felipe Pena
0486c33247
docs: describe $string too (#20372) 2024-01-03 21:39:44 +02:00
Juan de Bruin
d816f0c2fd
docs: add an example of a nullable ORM field (#20292) 2023-12-28 18:27:59 +02:00
Juan de Bruin
02c0f3f1d4
docs: update null convention in ORM example, since @[nonull] is no longer needed (#20286) 2023-12-28 15:36:27 +02:00
Kim Shrier
57acf20129
docs: fix minor grammar error in channel documentation (#20218) 2023-12-19 14:16:55 +02:00
xn0px90
8da8027a68
doc: update --web flag (#19991) 2023-11-26 09:39:38 +03:00
Delyan Angelov
5e37798560
ci: run VAUTOFIX=1 ./v check-md -hide-warnings . to fix doc failures 2023-11-25 09:34:46 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Turiiya
c80515465e
docs: update deprecated blockquote highlight syntax (#19974) 2023-11-23 13:33:33 +02:00
Felipe Pena
8cc82164d8
v: implement @[aligned] and @[aligned:8] attributes for structs and unions (#19915) 2023-11-22 01:26:45 +02:00
Andrey
d866ec5cba
doc: change the markup for the "Note" quotes (#19918) 2023-11-18 14:34:10 +02:00
Kim Shrier
0b2a8e1632
docs: fix the C sqlite example with flags to make it work on FreeBSD (#19924) 2023-11-18 11:07:31 +02:00
Delyan Angelov
f7b9e4eafd
vfmt: automate transition from the old [attribute] to the new @[attribute] syntax (#19912) 2023-11-17 17:43:29 +02:00
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