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 |
|
yuyi
|
c51d30bf53
|
fmt: fix alignment of struct init fields (#22025)
|
2024-08-11 09:11:24 +03:00 |
|
yuyi
|
79ee4ae046
|
fmt: fix alignment of enumeration types (#21999)
|
2024-08-07 15:46:50 +03:00 |
|
yuyi
|
ddb6685d8a
|
fmt: fix and simplify align of struct fields (#21995)
|
2024-08-05 20:23:39 +03:00 |
|
Delyan Angelov
|
340535fe06
|
docs: add more C interop notes and examples (#21965)
|
2024-07-31 16:02:55 +03:00 |
|
JalonSolov
|
12dc6f3de3
|
docs: add missing @ on export attributes (#21858)
|
2024-07-13 12:31:19 +03:00 |
|
Kim Shrier
|
ff102c95b7
|
doc: update full list of builtin compile options (#21808)
|
2024-07-06 02:33:24 +03:00 |
|
Delyan Angelov
|
d364e61b8c
|
docs: improve the v deploy.vsh section
|
2024-06-23 11:27:45 +03:00 |
|
larpon
|
78b77b9f14
|
comptime: support -d ident=value and var := $d('ident', 0) (#21685)
|
2024-06-19 07:24:16 +03:00 |
|
Swastik Baranwal
|
bebe943cc2
|
all: support &&= and ||= for bool alias types as well (#21684)
|
2024-06-16 03:58:25 +03:00 |
|
Delyan Angelov
|
0e543fb364
|
docs: update the array/slice/reallocation examples and comments
|
2024-06-07 10:54:30 +03:00 |
|
Alexander Medvednikov
|
f3624d58cf
|
doc: document x := ?int(none)
|
2024-05-20 21:48:16 +03:00 |
|
Delyan Angelov
|
6a6d8e0fcd
|
docs: fix syntax highlighting of some of the examples, by using the proper code tag
|
2024-05-09 06:50:54 +03:00 |
|
Delyan Angelov
|
4885b815f4
|
docs: fix typo, force regeneration of docs.vlang.io
|
2024-05-06 11:55:52 +03:00 |
|
Delyan Angelov
|
91bef02469
|
docs: add examples of @[flag] enum Bitfield { autogenerated method usages (for .clear_all(), .zero(), .from/1 etc)
|
2024-05-01 14:48:55 +03:00 |
|
Turiiya
|
712a9125bf
|
all: use apt over apt-get for common APT subcommands (#21359)
|
2024-04-26 21:01:52 +03:00 |
|
Delyan Angelov
|
dc763422c5
|
doc: add a section for module fn cleanup() {
|
2024-04-23 20:05:52 +03:00 |
|
Turiiya
|
1363cc85fd
|
time: update unix time acces, fix issues related to deviating unix times (#21293)
|
2024-04-17 00:33:37 +03:00 |
|
Turiiya
|
254250d375
|
v: add @VMODHASH comptime variable to store the commit sha of a V module (#21091)
|
2024-04-05 11:27:50 +03:00 |
|
Delyan Angelov
|
7b92c7bae9
|
docs: describe @[c_extern] , @[weak] , and some usages of the conditional compilation feature @[if flag?]
|
2024-03-26 11:47:18 +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 |
|