Commit Graph

135 Commits

Author SHA1 Message Date
Masaaki Goshima 125177da35
fix some bugs 2021-11-26 13:28:30 +09:00
Masaaki Goshima 48b67e9378
fix color test 2021-11-25 21:46:51 +09:00
Masaaki Goshima 7e0bfb4f54
work cover test 2021-11-25 21:27:29 +09:00
Masaaki Goshima a5bf94c75b
work cover bool 2021-11-25 20:22:04 +09:00
Masaaki Goshima f6d91525b2
work cover map and slice 2021-11-25 13:10:01 +09:00
Masaaki Goshima 6a00602e6a
work cover array 2021-11-24 13:32:58 +09:00
Masaaki Goshima fbeb935655
work cover int 2021-11-23 13:53:08 +09:00
Masaaki Goshima d631a21b59
add opcode generator 2021-11-22 13:20:03 +09:00
Masaaki Goshima d11fc7fe6c
add filter rule 2021-11-20 17:00:52 +09:00
Masaaki Goshima bcaf36681a
add compile2 api 2021-11-19 20:22:02 +09:00
Masaaki Goshima 2ee2c10f81
refactor compiler 2021-11-19 18:10:42 +09:00
Masaaki Goshima 078c1e9bf3
Refactor opcode 2021-11-19 15:25:01 +09:00
Masaaki Goshima 86a671f3bb
Fix embedded field conflict behavior 2021-11-18 19:51:29 +09:00
Masaaki Goshima d7372a47cd
Fix conversion from pointer to uint64 2021-10-14 15:00:28 +09:00
Nao Yonashiro 0065357ebb fix: to avoid panic on untyped nil #290
fix #290
2021-09-27 10:55:37 +09:00
Masaaki Goshima 559d70d706 Fix encoding of empty struct interface type 2021-09-01 11:41:33 +09:00
Masaaki Goshima 4f058093a3
Merge pull request #283 from goccy/feature/fix-282
Fix mapassign_faststr for indirect struct type
2021-08-31 13:03:52 +09:00
Masaaki Goshima d494b03b74 Fix decoding of map type that contains indirect element type 2021-08-31 12:21:08 +09:00
Masaaki Goshima 97c3cf6c55 Fix test 2021-08-30 13:11:44 +09:00
Masaaki Goshima 92d8dcd13b Fix encoding of not empty interface type 2021-08-30 13:03:14 +09:00
Masaaki Goshima 284c108638 Fix mapassign 2021-08-30 11:40:10 +09:00
Nao Yonashiro e8637832dd style: gofmt 2021-08-25 11:25:00 +09:00
Nao Yonashiro ae9148555a
Merge branch 'master' into fix-issue-278 2021-08-25 11:23:59 +09:00
Nao Yonashiro ac41fbec94 fix: fixed buffer length bug on string decoder
close #278
2021-08-25 07:23:34 +09:00
Nao Yonashiro e1e6c41c66 fix: fixed invalid utf8 on stream decoder 2021-08-25 06:15:15 +09:00
Masaaki Goshima 68022098ad
Merge pull request #277 from goccy/feature/improve-error-message
Improve error message
2021-08-13 17:29:27 +09:00
Masaaki Goshima 08c2e1abef Improve error message 2021-08-13 17:05:07 +09:00
Masaaki Goshima bf35de8f91 Fix assign nil slice value 2021-08-13 15:49:53 +09:00
Masaaki Goshima ce8be46a39
Merge pull request #273 from goccy/feature/fix-decoding-binary-type
Fix decoding of binary type with escaped char
2021-08-12 14:42:08 +09:00
Masaaki Goshima 75a6ad40b9 Fix decoding of binary type with escaped char 2021-08-12 13:52:00 +09:00
Masaaki Goshima 104829e78f Fix encoding of embedded struct that isn't first field 2021-08-12 13:03:34 +09:00
peterlimg 91e691adc5
Fix decodeEscapeString err
`p` was not updated after the `stream.buf` is reallocated
2021-07-27 21:53:59 +10:00
peterlimg ad245e5323
Fix incorrect indent 2021-07-22 17:22:07 +10:00
peterlimg a95c5abe6c
Fix indent issue for embed struct with tag 2021-07-22 14:54:11 +10:00
peterlimg ac9a7dd8e3
Fix encode issue for embed struct with tag 2021-07-20 23:14:26 +10:00
Masaaki Goshima 902856929d Fix indirect layout 2021-07-05 20:30:35 +09:00
Masaaki Goshima 1400b498ab Fix encoding of pointer type in empty interface 2021-06-29 11:35:37 +09:00
Masaaki Goshima 66bf979e47 Improve encoding performance for empty interface type 2021-06-26 15:49:13 +09:00
Masaaki Goshima 3829400241
Merge pull request #259 from goccy/feature/improve-encoding-interface-perf
Improve encoding performance of empty interface type
2021-06-25 23:06:45 +09:00
Masaaki Goshima 12e4bdc2f2 Fix dump of opcode 2021-06-25 22:55:00 +09:00
Masaaki Goshima f93d82dee6 Fix storeIndent 2021-06-25 22:27:00 +09:00
Masaaki Goshima 994dc9ea9d Fix encoding of empty interface type 2021-06-25 20:17:12 +09:00
Preetham Narayanareddy 2aeb1769a2 Fix decoding of []byte type 2021-06-24 14:42:26 -07:00
Kiraub e94f0cd362
Merge branch 'goccy:master' into master 2021-06-23 17:44:36 +02:00
ebauer 5f0b34250c funcDecoder: handle cases of value being true or false 2021-06-23 15:51:42 +02:00
ebauer a7d041a3d4 gofmt -s 2021-06-23 15:22:40 +02:00
ebauer 585ce46b31 add func decoder 2021-06-23 14:22:24 +02:00
Masaaki Goshima 80c460c74b Fix error by linter 2021-06-23 17:42:30 +09:00
Masaaki Goshima ff12fbbe9b Use mapassign_faststr to decode map whose key type is string 2021-06-23 17:23:09 +09:00
IncSW 9a2f108208
fix array stream decoder 2021-06-15 19:05:12 +03:00