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 |
|
Kim Shrier
|
709976f42e
|
x.json2: replace deprecated type byte with u8 in the tests (#19909)
|
2023-11-17 11:56:04 +02:00 |
|
Joe C
|
757929392e
|
all: update attributes to use new syntax
|
2023-11-15 16:16:01 +11:00 |
|
Turiiya
|
e86abe0376
|
checker: extend byte deprecation warning to array init types (#19671)
|
2023-10-29 14:22:51 +02:00 |
|
Turiiya
|
9051ac8921
|
all: fix typos (#19634)
|
2023-10-23 21:21:15 +03:00 |
|
Adam Oates
|
b8d47646f0
|
json2: add support for nested structs (#19579)
|
2023-10-16 14:04:37 +03:00 |
|
yuyi
|
55ca8d8d8e
|
fmt: align the custom values of the enum fields (#19331)
|
2023-09-12 14:44:38 +03:00 |
|
yuyi
|
d417bba432
|
checker: check error for or_expr inside infix expression (#19213)
|
2023-08-25 20:00:58 +03:00 |
|
Hitalo Souza
|
aeebb4f118
|
json2: small refactor (#16913)
|
2023-06-27 20:07:44 +03:00 |
|
squidink7
|
5006ffb304
|
time, x.json2: improve iso8601 time decoding (#18496)
|
2023-06-21 12:34:50 +03:00 |
|
Felipe Pena
|
2c123dffbb
|
cgen: fix comptimeselector option propagation (#18092)
|
2023-05-03 08:31:48 +03:00 |
|
Hitalo Souza
|
b0589c645d
|
json2: encode reference fields too (#17058)
|
2023-04-28 16:24:27 +03:00 |
|
Hitalo Souza
|
91874f3244
|
json2: encode array (#17926)
|
2023-04-10 19:54:43 +03:00 |
|
Hitalo Souza
|
4d4d76d65b
|
json2: fix encoding of nested maps like map[string]map[string]int (#17924)
|
2023-04-10 18:57:02 +03:00 |
|
Felipe Pena
|
5c439b6621
|
cgen: fix auto_str for option values (#17910)
|
2023-04-10 05:56:57 +02:00 |
|
Alexander Medvednikov
|
6756d28595
|
all: 2023 copyright
|
2023-03-28 22:55:57 +02:00 |
|
Hitalo Souza
|
dc11f1fe05
|
json2: fix decode to map doesn't work (#17757)
|
2023-03-24 17:30:32 +02:00 |
|