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

603 Commits

Author SHA1 Message Date
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
Keito Tobichi
ad5290677c
docs: change <> to [] in docs.md (#16632) 2022-12-10 10:47:03 +02:00
Christopher Fore
3175bf374d
Add Arch command for MingW (#16558) 2022-11-30 00:17:34 +02:00
yuyi
ef5be22f81
all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
Swastik Baranwal
a9b41d2980
all: add support for const ident in match range (#16526) 2022-11-26 08:56:00 +02:00
RGBCube
05e562cb3c
doc: return none instead of error in the iterator example (#16486) 2022-11-19 19:11:56 +02:00
Přemek Vyhnal
92be90300c
doc: mention the $embed_file return type, and link to its documentation (#16467) 2022-11-18 12:54:17 +02:00
JalonSolov
5dc5766def
doc: minor update for $\{\} (#16440) 2022-11-15 18:33:33 +02:00
yuyi
017ace6ea7
vfmt: change all '$expr' to '${expr}' (#16428) 2022-11-15 16:53:13 +03:00
kahsa
9a8602ff03
doc: improve types order (#16399) 2022-11-12 11:42:30 +02:00
kahsa
46f1b20bbc
doc: split TOC into two rows (#16397) 2022-11-12 10:06:10 +02:00
kahsa
7d31473523
doc: add links (#16398) 2022-11-12 09:35:35 +02:00