Commit graph

684 commits

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