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
|
51b471b060
|
all: replace enum field name 'xxx_' with 'xxx' (#22469)
|
2024-10-10 09:17:19 +03:00 |
|
Carlos Esquerdo Bernat
|
eb57746a59
|
x.json2: allow parsing a value from a multidimensional array in map_from (#22442)
|
2024-10-08 09:49:45 +03:00 |
|
kbkpbot
|
e83b0d221f
|
x.json2: make encode number cJson compatible (fix #22363) (#22419)
|
2024-10-06 11:23:42 +03:00 |
|
Felipe Pena
|
cafb69dee2
|
x.json2: add support to array of array (fix #22362) (#22365)
|
2024-10-04 10:05:05 +03:00 |
|
Hitalo Souza
|
81b9fd8b14
|
x.json2.decoder2: clean up (#22373)
|
2024-10-01 10:15:51 +03:00 |
|
yuyi
|
acf6b344f7
|
fmt: fix formating a file in an oscillating manner (fix #22223, fix #22026) (#22232)
|
2024-09-17 09:47: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 |
|
Carlos Esquerdo Bernat
|
4188deb96d
|
x.json2: support @[skip] as well (#22077)
|
2024-08-19 15:49:31 +03:00 |
|
Felipe Pena
|
4940f2d41c
|
v: define a default sumtype value (based on the first variant type) (#22039)
|
2024-08-16 21:07:57 +03:00 |
|
Hitalo Souza
|
384b5c466f
|
x.json2.decode2: add another internal test (#22050)
|
2024-08-16 02:25:02 +03:00 |
|
Hitalo Souza
|
e16d727da1
|
x.json2.decoder2: rename fields, add more comments (#22037)
|
2024-08-12 16:08:24 +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 |
|
tcn
|
2d43f38bf3
|
x.json2, toml: add support for Any in decode_struct , encode_struct and to_any (#21972)
|
2024-08-01 15:26:09 +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 |
|
Felipe Pena
|
70b33fc303
|
cgen,x.json2: fix generic map decoding (#21704)
|
2024-06-22 13:17:14 +03:00 |
|
Turiiya
|
dfc0c91295
|
checker: turn warnings for private fields into errors (#21296)
|
2024-06-09 10:19:52 +03:00 |
|
Delyan Angelov
|
dbc6b50cda
|
vlib: make ./v -Wimpure-v -W test vlib/ pass on Linux (#21554)
|
2024-05-23 16:21:01 +03:00 |
|
Turiiya
|
f7e820cdeb
|
v: vet for empty string conditions (#21529)
|
2024-05-19 17:57: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 |
|
Hitalo Souza
|
107c43a34d
|
json2: decode (#21039)
|
2024-04-15 16:47:59 +03:00 |
|
Turiiya
|
1a35a783f1
|
breaking,checker: disallow initializing private struct fields outside structs module (#21183)
|
2024-04-12 13:53:02 +03:00 |
|
Felipe Pena
|
9d889842aa
|
x.json2: add a way to decode an array (#21186)
|
2024-04-06 12:33:50 +03:00 |
|
Felipe Pena
|
625048c5b4
|
x.json2,checker,toml: allow field.typ compile-time checking with MatchExpr and add array of option checking (#21171)
|
2024-04-04 12:43:59 +03:00 |
|
Turiiya
|
a1b6360da5
|
x.json2: add ability to decode arrays (#21163)
|
2024-04-02 05:32:11 +03:00 |
|
Turiiya
|
f77bb32044
|
all: fix typos (#21089)
|
2024-03-25 12:18:27 +02:00 |
|
Turiiya
|
418462208a
|
vlib.x: fix typos, uniformize readme formatting (#21085)
|
2024-03-24 19:54:39 +02:00 |
|
Hitalo Souza
|
49b7f9a94a
|
x.json2: predefine buffer capacity for encoding to avoid reallocations (#20920)
|
2024-03-14 21:23:07 +02:00 |
|
Pierre Curto
|
aeadc0a12a
|
x.json2: improve error message upon missing comma (#20602)
|
2024-03-12 19:16:08 +02:00 |
|
Hitalo Souza
|
6f4d9aecf3
|
x.json2: minor performance improvement, update benchmark recommendations (#20954)
|
2024-03-04 12:39:07 +02:00 |
|
Hitalo Souza
|
ac9b724b3b
|
x.json2: improve performance of string encoding for unicode special characters and emojis (#20867)
|
2024-03-03 12:02:44 +02:00 |
|
johnpgr
|
87320f8f93
|
x.json2: fix encoder commas (#20916)
|
2024-02-27 19:55:02 +02:00 |
|
johnpgr
|
c6048d50bf
|
x.json2: add skippable field attr @[json: '-'] (improve backwards compatibility with the json module) (#20892)
|
2024-02-26 21:05:38 +02:00 |
|
Hitalo Souza
|
f472355ef7
|
json2: reorganize encode string (#20862)
|
2024-02-18 15:43:15 +02:00 |
|
Hitalo Souza
|
2bf590e90d
|
x.json2: move json2 tests to subfolders (#20842)
|
2024-02-16 10:58:51 +02:00 |
|
Hitalo Souza
|
414566966d
|
Json2: reorganizing functions in files (#20832)
|
2024-02-15 00:15:07 +02:00 |
|
Pierre Curto
|
d585e50281
|
x.json2: fix panic on calling json2.decode of an optional enum (fix #20593) (#20603)
|
2024-01-21 09:01:25 +02:00 |
|
Hitalo Souza
|
62872c677f
|
json2: cleanup (#20347)
|
2024-01-12 22:48:28 +02:00 |
|
Anton
|
763f94388b
|
all: update copyright year (#20334)
|
2024-01-01 23:29:54 +02:00 |
|
Hitalo Souza
|
cb28144eea
|
json2: strict module (#17927)
|
2024-01-01 13:56:19 +02:00 |
|
Hitalo Souza
|
abb0cf774f
|
x.json2: support sumtype encoding in a more robust way (#20093)
|
2024-01-01 13:24:32 +02:00 |
|
Hitalo Souza
|
e333d548f3
|
x.json2: improve performance for checking option values for none (#20325)
|
2024-01-01 13:10:19 +02:00 |
|
Hitalo Souza
|
7fc31591ad
|
x.json2: optimise encoding to be faster than cJSON with -prod (#20052)
|
2023-12-29 18:28:11 +02:00 |
|
Carlos Esquerdo Bernat
|
db80a002d6
|
x.json2: make public the generic function map_from/1 (#20294)
|
2023-12-29 10:45:45 +02:00 |
|
Delyan Angelov
|
944b9554bd
|
x.json2: fix encoding of 💀🐈 etc emojis (fix #20243) (#20247)
|
2023-12-21 23:44:49 +02:00 |
|
Swastik Baranwal
|
94d288197e
|
x.json2: add encoder support for time.Time (#20228)
|
2023-12-20 17:31:20 +02:00 |
|
Alexander Medvednikov
|
f09826e928
|
all: unwrap const() blocks
|
2023-11-25 10:02:51 +03:00 |
|
Kim Shrier
|
cc220e60a5
|
vlib: change byte to u8 (#19930)
|
2023-11-19 04:23:32 +03:00 |
|