Ugorji Nwoke
|
2adff0894b
go.mod should not define a go release version
|
6 years ago |
Ugorji Nwoke
|
74d13ae498
change repo name to go-codec and use import path and go.mod to ensure stable legacy import path.
|
6 years ago |
Ugorji Nwoke
|
d2dc9cd990
codec: support _release checking and ensure correct codecgen is executed
|
6 years ago |
Ugorji Nwoke
|
2dc34c0b87
update README.md to fix sourcegraph badge
|
6 years ago |
Ugorji Nwoke
|
e2bddce071
codec: update docs on custom encoding/decoding - showing symmetry for Text(M|Unm)arshaler
|
6 years ago |
Ugorji Nwoke
|
95c34d148d
codec: clarify and fix EncodeOptions:StringToRaw inconsistencies
|
6 years ago |
Ugorji Nwoke
|
a70535d849
codec: generalize DecodeOptions:RawToString flag (for all encodings)
|
6 years ago |
Ugorji Nwoke
|
8643c3398a
codec: msgpack: clean up WriteExt/RawToString/ContainerType logic
|
6 years ago |
Ugorji Nwoke
|
aa2c01e021
codec: introduce EncodeOptions:StringToRaw flag to control string encoding
|
6 years ago |
Ugorji Nwoke
|
c4a1c341dc
codec: encWriterSwitch.end() panic's, and should not be called AS-IS during a final "recover"
|
6 years ago |
Ugorji Nwoke
|
e444a5086c
fix README sourcegraph badge
|
7 years ago |
Ugorji Nwoke
|
ee1426cffe
codec: make tracking of #calls only applicable to types which must Release() when done
|
7 years ago |
Ugorji Nwoke
|
8fd0f8d918
codec: set go.mod to require github.com/ugorji/go v1.1.2
|
7 years ago |
Ugorji Nwoke
|
497916c003
codec: at start of encode, ensure bufioEncWriter's buffer is not nil
|
7 years ago |
Ugorji Nwoke
|
134ccd4177
codec: fix potential ambiguous import error using modules
|
7 years ago |
Ugorji Nwoke
|
ee0b23188e
codec: fix potential ambiguous import error using modules
|
7 years ago |
Ugorji Nwoke
|
0ce70acac9
codec: fix potential ambiguous import error using modules
|
7 years ago |
Ugorji Nwoke
|
feac831543
codec: encapsulate sync.Pool handling (better code)
|
7 years ago |
Ugorji Nwoke
|
772ced7fd4
codec: fix lint warning - let all BasicHandle methods use same "x" as receiver name
|
7 years ago |
Ugorji Nwoke
|
23876e7a59
codec: do not pool decNaked anymore - make it smaller and part of Decoder
|
7 years ago |
Ugorji Nwoke
|
7c42fb4a28
codec: remove decNakedContainers - it serves no value towards reducing allocation
|
7 years ago |
Ugorji Nwoke
|
cb0f4b5eec
codec: refactor: rename (En|De)coder.Close() -> Release(), and option DoNotClose -> ExplicitRelease
|
7 years ago |
Ugorji Nwoke
|
24e6c72677
codec: refactor Selfer check outside switch (encode/decode)
|
7 years ago |
Ugorji Nwoke
|
e72634d4d3
codecgen: expand documentation and exec command from same dir as input/output files
|
7 years ago |
Ugorji Nwoke
|
d75b2dcb6b
codec: regenerate fast-path.generated.go
|
7 years ago |
Ugorji Nwoke
|
688a245586
codec: make decNakedContainers lazily initialized (on demand, as needed)
|
7 years ago |
Ugorji Nwoke
|
6bfa3bf159
codec: do not pool codecFn helper - make it part of BasicHandle instead
|
7 years ago |
Ugorji Nwoke
|
856da096db
codec: implicitly call Close() by default
|
7 years ago |
Ugorji Nwoke
|
f6bb70d25a
codec: shared pool for large values used in Encode/Decode
|
7 years ago |
Ugorji Nwoke
|
4f1af4e05b
codec: bytesDecReader.read can only err with io.EOF (never io.ErrUnexpectedEOF)
|
7 years ago |