Commit Graph

1078 Commits

Author SHA1 Message Date
Masaaki Goshima e4c458f34c
Remove StructAnonymousEnd operation 2021-11-28 12:53:18 +09:00
Masaaki Goshima be85245267
Enable StructEnd optimization for ptr type 2021-11-28 12:35:20 +09:00
Masaaki Goshima ea19d1161a
Fix error by linter 2021-11-28 02:48:01 +09:00
Masaaki Goshima b5e1478450
Refactor compiler for encoder
- Introduced a two phase compilation to calculate Opcode index accurately
- Fix display number of Opcode
- Improve memory footprint for Opcode
2021-11-28 02:14:57 +09:00
Masaaki Goshima 2b98da0634
Merge pull request #300 from goccy/feature/fix-anonym-opcode
Fix embedded field conflict behavior
2021-11-19 01:49:27 +09:00
Masaaki Goshima 86a671f3bb
Fix embedded field conflict behavior 2021-11-18 19:51:29 +09:00
Masaaki Goshima a89c9e30df
Update CHANGELOG 2021-10-16 23:45:11 +09:00
Masaaki Goshima faa7ca28a7
Merge pull request #294 from goccy/feature/fix-uint64-conversion
Fix conversion from pointer to uint64
2021-10-15 19:04:44 +09:00
Masaaki Goshima d7372a47cd
Fix conversion from pointer to uint64 2021-10-14 15:00:28 +09:00
Masaaki Goshima d1195dff31
Update CHANGELOG 2021-09-28 12:46:02 +09:00
Masaaki Goshima 9df46fc918
Merge pull request #291 from orisano/fix/#290
Fix encoding of nil value about interface type that has method
2021-09-27 20:30:39 +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 28eaf919d5
Merge pull request #288 from goccy/feature/use-action-for-codecov
Use github action instead of bash uploader for codecov
2021-09-02 19:01:57 +09:00
Masaaki Goshima 2fc49a2e3e Use action instead of bash uploader 2021-09-02 18:38:33 +09:00
Masaaki Goshima 6c7f27d0c1
Merge pull request #287 from goccy/feature/fix-ci
Fix CI settings
2021-09-02 17:40:37 +09:00
Masaaki Goshima 8ddc591085 Update CI settings 2021-09-02 17:28:09 +09:00
Masaaki Goshima da1cd31b55 Update CHANGELOG 2021-09-01 12:04:06 +09:00
Masaaki Goshima 3fc39932e4
Merge pull request #286 from goccy/feature/fix-empty-struct-interface
Fix encoding of empty struct interface type
2021-09-01 11:57:45 +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 e152fc2225
Merge pull request #284 from goccy/feature/fix-281
Fix encoding of not empty interface type
2021-08-30 14:02:16 +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 5c527ab463 Add test case 2021-08-30 13:02:43 +09:00
Masaaki Goshima 284c108638 Fix mapassign 2021-08-30 11:40:10 +09:00
Masaaki Goshima 8f5f28614c Add test case 2021-08-30 11:39:27 +09:00
Masaaki Goshima a52bc68ba6 Update CHANGELOG 2021-08-25 13:15:15 +09:00
Masaaki Goshima dc410838e9
Merge pull request #280 from orisano/fix-issue-278
fix: fixed buffer length bug on string decoder
2021-08-25 13:10:57 +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
Masaaki Goshima 8ebef3b42d
Merge pull request #279 from orisano/fix-utf-8-handling
fix: fixed invalid utf8 on stream decoder
2021-08-25 11:19:49 +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 deb13af3c6 Update CHANGELOG 2021-08-13 17:32:20 +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 d7cdabe600
Merge pull request #276 from goccy/feature/fix-nil-slice
Fix assign nil slice value
2021-08-13 16:27:40 +09:00
Masaaki Goshima bf35de8f91 Fix assign nil slice value 2021-08-13 15:49:53 +09:00
Masaaki Goshima 14f03c1e6d Update CHANGELOG 2021-08-12 16:16:08 +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 a68e5b89a5
Merge pull request #272 from goccy/feature/fix-embedded-field
Fix encoding of embedded struct that isn't first field
2021-08-12 13:23:44 +09:00
Masaaki Goshima 104829e78f Fix encoding of embedded struct that isn't first field 2021-08-12 13:03:34 +09:00
Masaaki Goshima a1780c18a6
Merge pull request #265 from peterlimg/master
Fix encode issue for embed struct with tags
2021-08-12 12:10:40 +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 85a5597342 Update README 2021-07-06 14:23:47 +09:00