Commit graph

648 commits

Author SHA1 Message Date
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
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
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