1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

614 Commits

Author SHA1 Message Date
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
Arnaud Moura
88b29ae178
doc: create custom problemMatcher in VSCode (#18047) 2023-04-25 01:18:57 +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
Artem Yurchenko
53e4085ddc
doc: fix documentation examples (#17804) 2023-03-28 22:26:22 +02:00
walking devel
d0e78b1da6
parser: breaking change, let V ORM queries return arrays for *all* non-count queries, including limit = 1 (#17719) 2023-03-22 09:48:01 +02:00
Artem Yurchenko
608c194325
doc: [packed] and [minify] attributes documentation (#17692) 2023-03-17 21:41:48 +01:00
Delyan Angelov
42732138c6
v: support -ldflags in addition to -cflags (allow adding C options *after* other C option, similar to LDFLAGS) (#17630) 2023-03-13 21:38:48 +02:00
jmdyck
368604f9a5
docs: fix some minor mistakes (#17582) 2023-03-10 11:04:14 +02:00
ChAoS_UnItY
ae6a48c0e3
all: rename it to index in array inits (#17543) 2023-03-08 20:51:45 +01:00
Samuel Šulovský
7497d8457f
docs: fix incorrect struct literal and interface smart cast errors (#17457) 2023-03-02 13:31:12 +02:00
Alexander Medvednikov
d5ad96f876 readme: minor fixes 2023-02-28 09:55:57 +01:00
Artem Yurchenko
d616fb0a43
docs: add a Disabling the formatting locally section, about // vfmt off and // vfmt on (#17341) 2023-02-18 14:26:28 +02:00
Ahmad Yasser
cad2cd5583
docs: fix typos using codespell (#17332) 2023-02-16 11:43:39 +02:00
irishgreencitrus
4691c5d637
doc: add a section documenting #preinclude (#17304) 2023-02-15 11:25:13 +02:00
Makhnev Petr
c8c70de87d
docs: unify format of notes (#17294) 2023-02-13 10:29:02 +02:00
Makhnev Petr
65d218e005
docs: format with IDEA formatter (#17291) 2023-02-12 17:25:04 +02:00
walking devel
0a742a6690
docs: add new line before tables (#17272) 2023-02-10 11:53:38 +02:00
Makhnev Petr
804065a0fa
docs: remove note illustrating shadowng of import name, due to 0b7a1cd (#17208) 2023-02-03 09:17:56 +02:00
ChAoS_UnItY
0b7a1cd7ce
v: forbid local variable names, shadowing imported module names (#17197) 2023-02-03 09:09:41 +02:00
Delyan Angelov
988aed0353
ci: fix broken tests after 322eb81 2023-02-01 23:30:48 +02:00
JalonSolov
0d04104112
docs: change one more Optional to Option (#17170) 2023-01-31 09:32:11 +02:00
MatejMagat305
16e2ade9ff
docs: add termux to the list of known supported platforms (#17093) 2023-01-24 00:31:34 +02:00
Makhnev Petr
5dde4ce981
docs: improve the operator overload description (#17085) 2023-01-24 00:24:50 +02:00
Makhnev Petr
f4289cd302
docs: expand empty <a> tags (#17092) 2023-01-24 00:16:01 +02:00
Delyan Angelov
f667600cd5
docs: update count of reserved keywords to 44 after both 828ab47 and 3df231c were merged. 2023-01-23 11:50:20 +02:00
Makhnev Petr
828ab473c1
docs: add __global to keyword list (#17081) 2023-01-23 11:45:05 +02:00
Makhnev Petr
3df231c466
doc: add spawn to keyword list (#17080) 2023-01-23 03:48:32 +03:00
Delyan Angelov
2c78078814
cleanup: fix old usages of os.write_file/2? to os.write_file/2! 2023-01-18 12:28:10 +02:00
yuyi
64558df764
vlib: move the mysql/sqlite/pg/mssql modules under vlib/db (#16820) 2023-01-13 17:02:32 +02:00
walking devel
3e9b06031c
doc: fix v wrapper command mention (#16944) 2023-01-11 13:31:00 +02:00
Wertzui123
956b9f650c
doc: improve the "Getting started" section (#16910) 2023-01-09 09:37:17 +03:00
JalonSolov
90941b3b1f
all: change optional to option (#16914) 2023-01-09 09:36:45 +03:00
Hitalo Souza
ed0500dcfd
docs: add a section about the 3 forms of v init commands at the start (#16905) 2023-01-08 18:34:58 +02:00
Delyan Angelov
bcdf1b95c1
docs: add a note about test files being compiled as separate V programs, independently from normal code 2022-12-19 13:15:39 +02:00
Delyan Angelov
0a11955284
parser: support an unambiguous sizeof[T]() and isreftype[T]() (part 1) (#16684) 2022-12-15 19:21:52 +02:00
Keito Tobichi
7c4f45a375
docs: change <> to [] in docs.md part2 (#16633) 2022-12-10 11:36:59 +02:00