Delyan Angelov
|
4236baf56a
|
docs: fix old links in the v shader section, to their current equivalents on the master branch
|
2025-03-07 21:50:07 +02:00 |
|
Delyan Angelov
|
e9641875c3
|
doc: describe what enums are in docs.md (#23750)
|
2025-02-17 18:54:19 +02:00 |
|
Delyan Angelov
|
d82757abd9
|
checker,cgen: add support for a #postinclude directive
|
2025-02-12 01:18:16 +02:00 |
|
Delyan Angelov
|
e129ec5b7a
|
doc: add doc/c_and_v_type_interoperability.md (#23681)
|
2025-02-10 11:16:49 +02:00 |
|
Mike Ward
|
8bbaab396f
|
doc: remove the paragraph about vfmt renaming go to spawn (already finished) (#23673)
|
2025-02-08 17:45:55 +02:00 |
|
Delyan Angelov
|
af3eda66da
|
docs: use a plain block scope {} , instead of if true { in the section that shows that shadowing of locals is not allowed
|
2025-02-06 09:33:19 +02:00 |
|
Delyan Angelov
|
7ea5b4a020
|
tools: add a small utility script cmd/tools/vrun , to make it easier to use .vsh scripts on systems, with /usr/bin/env still not supporting -S
|
2025-02-04 14:54:38 +02:00 |
|
JalonSolov
|
1d700bef99
|
doc: rework strings section to clarify (#23610)
|
2025-01-29 19:53:45 +02:00 |
|
JalonSolov
|
1197615b1c
|
docs: improve string description (#23604)
|
2025-01-29 01:34:41 +02:00 |
|
Mike Ward
|
b0d2eeea5d
|
doc: document that struct fields can now use keywords as their names (#23564)
|
2025-01-24 12:11:40 +02:00 |
|
Kim Shrier
|
fda0af482f
|
doc: fix minor grammar error in attributes description (#23513)
|
2025-01-19 13:17:07 +02:00 |
|
Adam Oates
|
66ac23fc57
|
parser: add error for array init of Results []!type{} (fix #23360) (#23375)
|
2025-01-05 19:09:33 +02:00 |
|
Delyan Angelov
|
fb5bac112e
|
docs: document @[json: "-"] and @[sql: "-"]
|
2024-12-30 10:30:26 +02:00 |
|
p134c0d3
|
542a8e7826
|
docs: fix verbiage, remove potential confusion, in hello world section (#23310)
|
2024-12-30 09:45:02 +02:00 |
|
alexey semenyuk
|
f198e69c21
|
docs: remove -skip-unused from the docs, it is now on by default (close #23265) (#23303)
|
2024-12-29 15:32:55 +02:00 |
|
Carlos Esquerdo Bernat
|
63fff1dcd4
|
json: use @[required] to disallow parsing nulls (#23218)
|
2024-12-22 10:12:58 +02:00 |
|
Delyan Angelov
|
1fae506900
|
docs: add a section for static variables (#23184)
|
2024-12-16 19:48:43 +02:00 |
|
Delyan Angelov
|
844d89fd09
|
parser,checker,ast: support @[must_use] tag for fns/methods, and an experimental -check-result option (#22983)
|
2024-11-27 07:11:40 +02:00 |
|
Delyan Angelov
|
95e5ba44ae
|
docs: add a small sumtype match example in the Match section too
|
2024-11-25 21:11:21 +02:00 |
|
Felipe Pena
|
393e4ea8b2
|
docs: update section about Enum using reserved keywords (#22944)
|
2024-11-23 14:17:45 +02:00 |
|
Delyan Angelov
|
660f73395e
|
docs: change "See also" link in the println section to point to the String interpolation section
|
2024-11-23 14:03:13 +02:00 |
|
Bruno-Vdr
|
26837d4862
|
docs: add module hierarchy section (#22919)
|
2024-11-20 09:00:23 +02:00 |
|
Delyan Angelov
|
4e62b53ab6
|
docs: change instructions for cloning the V repository to use --depth=1 (#22905)
|
2024-11-18 23:24:02 +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 |
|
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 |
|
Alexander Mandrikov
|
e1a5acc1ef
|
orm: support plain @[serial] attribute for marking struct fields (#22814)
|
2024-11-09 17:26:22 +02:00 |
|
Pepper Gray
|
891a8bc362
|
doc: explain deprecation process (#22568)
|
2024-10-18 13:11:43 +03:00 |
|
Pepper Gray
|
ce8f62146b
|
utf8, readline: clarify UTF-8 vs UTF-32 usage (see also #22461) (#22558)
|
2024-10-18 11:18:31 +03:00 |
|
Delyan Angelov
|
3326392ce2
|
docs: fix html rendering of the list of columns, in the description of the #profiling section
|
2024-10-16 15:18:56 +03:00 |
|
Delyan Angelov
|
df9cf27c7f
|
docs: add an Other online resources section (#22538)
|
2024-10-16 08:44:11 +03:00 |
|
Delyan Angelov
|
e4d80596a0
|
docs: add link to https://docs.vlang.io/introduction.html in doc/docs.md
|
2024-10-15 22:57:53 +03:00 |
|
Alexander Medvednikov
|
2b52153c14
|
all: make 0 => unsafe { nil } an error, not a notice
|
2024-10-07 01:54:19 +03:00 |
|
Alexander Medvednikov
|
a2d385aee3
|
parser: allow struct definitions inside functions
|
2024-10-06 22:40:14 +03:00 |
|
Laurent Cheylus
|
5f6015fd16
|
docs: improve format in the conditional compilation section (#22248)
|
2024-09-18 17:07:33 +03:00 |
|
Felipe Pena
|
13fdc724a7
|
docs: comptime method params (#22252)
|
2024-09-18 16:53:16 +03:00 |
|
Laurent Cheylus
|
94a412dcc8
|
docs: add FreeBSD in cross compilation section (#22249)
|
2024-09-18 16:51:38 +03:00 |
|
Swastik Baranwal
|
0fb95a8ff8
|
checker: suggest using the @[_allow_multiple_values] attribute, when declaring enums that have duplicate values (#22224)
|
2024-09-16 08:16:39 +03:00 |
|
Delyan Angelov
|
4c68f85bc7
|
all: add support for @BUILD_DATE , @BUILD_TIME and @BUILD_TIMESTAMP , all using v.util.get_build_time(), and overridable through SOURCE_DATE_EPOCH (#22213)
|
2024-09-14 17:00:47 +03:00 |
|
Laurent Cheylus
|
888d84d26d
|
docs: add implements keyword for explicit interface implementations (#22214)
|
2024-09-13 16:59:38 +03:00 |
|
yuyi
|
008aaad999
|
fmt: remove the prefixed module name of const names, that are in the same module (related #22183) (#22185)
|
2024-09-10 11:25:56 +03:00 |
|
Delyan Angelov
|
3e7f8edb34
|
docs: add more details to the newly added -compress section
|
2024-09-07 09:05:57 +03:00 |
|
Carlos Esquerdo Bernat
|
61609454d6
|
docs: add a section for the -compress flag (#22169)
|
2024-09-06 20:02:58 +03:00 |
|
Kim Shrier
|
0a61b4a076
|
docs: fix minor typos in the memory management section (#22151)
|
2024-09-03 07:51:03 +03:00 |
|
Delyan Angelov
|
d130939ad6
|
docs: improve documentation for if expressions
* add more examples
* add a comparison with C's ternary operator
* add an entry in the contents section
|
2024-09-01 09:04:30 +03:00 |
|
Martin Skou
|
7baee04727
|
docs: add an example on how to use Options/Results, when returning multiple values from a function (#22099)
|
2024-08-23 10:16:31 +03:00 |
|
Delyan Angelov
|
3965a6c54f
|
docs: streamline the installation instructions and notes for Windows and Ubuntu
|
2024-08-18 21:17:54 +03:00 |
|
Mike Ward
|
8210593349
|
docs: clarify the .precision specification section for string interpolation of floats (#22061)
|
2024-08-16 21:21:25 +03:00 |
|
yuyi
|
cb58db56ef
|
all: change empty comment to newline (#22053)
|
2024-08-16 12:09:30 +03:00 |
|
Carlos Esquerdo Bernat
|
e8305d240c
|
docs: update old [tag] -> @[tag] (#22036)
|
2024-08-12 14:31:03 +03:00 |
|