Delyan Angelov
|
3271c728d5
|
docs: use cmd/tools/find_doc_comments_with_no_dots.v to put some missing dots in the doc comments of public symbols.
|
2025-07-02 15:45:47 +03:00 |
|
Delyan Angelov
|
16a6e45274
|
gg: fix ./v -gc none -autofree run examples/tetris/ (avoid return s1 + s2 + s3 , clone the arrays, passed to the fontstash wrapper)
|
2025-02-07 14:29:43 +02:00 |
|
yuyi
|
e97036a25b
|
v: remove the automatic passing of structs with more than 8 fields by reference (related #17159) (#22547)
|
2024-10-17 11:04:23 +03:00 |
|
yuyi
|
15bf8222b9
|
flag: fix parse_bool_value() with different order short args (fix #22176) (#22242)
|
2024-09-17 20:07:23 +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 |
|
yuyi
|
d5c2ebce05
|
flag: fix parse_bool_value() (#22160)
|
2024-09-04 22:48:22 +03:00 |
|
Kim Shrier
|
95ff9340ea
|
flag: add custom value descriptions for bool, int, and float flags too (#22032)
|
2024-08-12 01:13:27 +03:00 |
|
Kim Shrier
|
20a525ae74
|
flag: add optional value description to string parameters (#22024)
|
2024-08-11 13:01:41 +03:00 |
|
yuyi
|
c51d30bf53
|
fmt: fix alignment of struct init fields (#22025)
|
2024-08-11 09:11:24 +03:00 |
|
Felipe Pena
|
769e9147c3
|
v: change old attr syntax mention to new one in comments too (#21860)
|
2024-07-14 09:39:37 +03:00 |
|
Turiiya
|
9fb9443a72
|
flag: include args after end-of-options(-- ) when checking min and max args (#21310)
|
2024-04-19 21:12:00 +03:00 |
|
Alexander Medvednikov
|
f09826e928
|
all: unwrap const() blocks
|
2023-11-25 10:02:51 +03:00 |
|
Joe C
|
757929392e
|
all: update attributes to use new syntax
|
2023-11-15 16:16:01 +11:00 |
|
Turiiya
|
f98bb863ab
|
vlib: fix typos and formatting (#19649)
|
2023-10-25 11:19:56 +03:00 |
|
yuyi
|
6af17a86e2
|
flag: cleanup in flag.v (#19237)
|
2023-08-29 18:08:14 +03:00 |
|
yuyi
|
815439a381
|
checker: fix assigning an array slice (fix #19120) (#19137)
|
2023-08-15 20:37:51 +03:00 |
|
yuyi
|
11fa28edff
|
flag: fix finalize with multiple shortargs (#18544)
|
2023-06-24 20:35:44 +03:00 |
|
Ikko Eltociear Ashimine
|
43093311b6
|
flag: fix typo in flag.v (#18109)
|
2023-05-04 21:23:02 +03:00 |
|
James Hegedus
|
2179db37ee
|
flag: fix typo in uknown flag struct (#17375)
|
2023-04-14 14:42:11 +03:00 |
|
yuyi
|
467a1b4435
|
fmt: remove redundant parenthesis in the complex infix expr (#17873)
|
2023-04-04 13:47:48 +03:00 |
|
yuyi
|
017ace6ea7
|
vfmt: change all '$expr' to '${expr}' (#16428)
|
2022-11-15 16:53:13 +03:00 |
|
Alexander Medvednikov
|
c6158e4519
|
all: remove unnecessary IError() casts
|
2022-10-28 19:08:30 +03:00 |
|
yuyi
|
f6844e9766
|
all: change optional to result of io (#16075)
|
2022-10-16 09:28:57 +03:00 |
|
Daniel Däschle
|
d679146a80
|
fmt: remove space in front of ? and ! (#14366)
|
2022-05-13 06:56:21 +03:00 |
|
Alexander Medvednikov
|
fbb9e65c0f
|
all: ~500 more byte=>u8
|
2022-04-15 18:25:45 +03:00 |
|
Alexander Medvednikov
|
d4a0d6f73c
|
all: byte => u8
|
2022-04-15 14:58:56 +03:00 |
|
Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
|
Tim Basel
|
9d0a5942ac
|
builtin: change IError msg and code to methods + fix vlib, add a deprecation notice for the old usages (#13041)
|
2022-02-11 15:52:33 +02:00 |
|
Delyan Angelov
|
95b0c3789f
|
docs: improve pub fn comments for the flag module
|
2022-01-18 18:38:27 +02:00 |
|
Delyan Angelov
|
24ba660367
|
bitfield,flag: document the remaining functions
|
2021-11-18 20:15:26 +02:00 |
|
JalonSolov
|
1688148828
|
flag: switch panics to optionals (#11515)
|
2021-09-16 19:25:05 +03:00 |
|
a-iga
|
304f26edeb
|
flag: fix panic when given an empty string as args (#10937)
|
2021-07-24 11:26:00 +03:00 |
|
Delyan Angelov
|
fd644e4e28
|
flag: add .usage_example/1, .footer/1, .remaining_parameters/0 and tests
|
2021-07-11 11:06:48 +03:00 |
|
Delyan Angelov
|
477d442f18
|
flag: add overridable --help and --version by default
|
2021-07-09 22:08:23 +03:00 |
|
JalonSolov
|
f62b6b37f0
|
flag: handle -- as a parsing stop, and pass everything after it in .finalise() (#10703)
|
2021-07-09 11:13:32 +03:00 |
|
Delyan Angelov
|
626517f5f7
|
tools: turn v -watch into a v watch sub-command, so that it can have its own options
|
2021-04-28 12:29:50 +03:00 |
|
Atakan Yenel
|
d1fadaf30c
|
flag: add custom errors (#9515)
|
2021-03-30 15:31:02 +03:00 |
|
Delyan Angelov
|
b335d47b72
|
flag: fix Flag.free(), workaround -autofree limitations
|
2021-03-23 21:28:44 +02:00 |
|
Delyan Angelov
|
a593ff930f
|
flag: add a .free() method
|
2021-03-23 20:36:46 +02:00 |
|
Delyan Angelov
|
1eb3ed9818
|
flag: return error on .finalize() on CLI arguments with unknown short options too
|
2021-03-22 08:21:13 +02:00 |
|
Nick Treleaven
|
629d43caf5
|
checker: warn when using goto outside of unsafe (#8741)
|
2021-02-15 15:48:24 +02:00 |
|
Delyan Angelov
|
728344ff65
|
ci: fix v test-cleancode
|
2021-01-25 12:55:01 +02:00 |
|
Delyan Angelov
|
1a8a1ceb0a
|
pkgconfig,flag: add tests to pkgconfig, fix bugs and links, improve flag.usage()
|
2021-01-16 12:04:31 +02:00 |
|
Alexander Medvednikov
|
3e04dfc79f
|
builtin: fix byte.str() (part 1)
|
2021-01-05 18:59:51 +01:00 |
|
zakuro
|
dd516858d4
|
fmt: align struct field comments (#7632)
|
2021-01-03 21:10:25 +01:00 |
|
Delyan Angelov
|
9eb6c4ef87
|
flag: run vfmt over vlib/flag, add it to vtest-cleancode.v
|
2020-12-21 22:24:10 +02:00 |
|
Delyan Angelov
|
31ef921ef2
|
ci: fix warnings/errors due to the vfmt change
|
2020-10-15 16:17:52 +03:00 |
|
spaceface777
|
aa1d5fcbdd
|
flag: fix panic if flag value was not provided (#6478)
|
2020-09-25 16:31:35 +03:00 |
|
Marcin
|
fb45e2e046
|
flag: fix panic on single -
|
2020-09-24 15:50:44 +03:00 |
|
Ned Palacios
|
36edd6295f
|
vlib: transfer intro to readme; normalize comments
|
2020-06-08 00:04:23 +03:00 |
|