Skip to content

Tags: sgbo/cmp

Tags

v10

Toggle v10's commit message
Increment version (skip unused/bad version 9) to 10

v9

Toggle v9's commit message
Merge pull request camgunz#12 from madmo/master

fix byteorder bugs in s16 s32 s64 reads

v8

Toggle v8's commit message
Increment version from 7 to 8

v7

Toggle v7's commit message
Merge branch 'master' of github.com:camgunz/cmp

v6

Toggle v6's commit message
Merge pull request camgunz#8 from MeetLima/master

fix: make cmp_write_object handle CMP_TYPE_STR8

v5

Toggle v5's commit message
Add Object API which, among other things, can be used for peeking

EXT types and sizes and sizes were swapped when writing and reading
them; fixed and updated tests

Clean up test code formatting; no line exceeds 80 chars now

Remove undefined behavior from test buffer code

Remove custom 'dboolean' bool type from test code

Remove custom 'byte' uint8_t type from test code

Replace Doom-specific I_Error function with errorf_and_exit function
that does the same thing

Move error_and_exit to utils.c so the buffer can make use of it

Add function names and line numbers to test errors

v4

Toggle v4's commit message
Handle blank strings and binary data

Update example1 to use the proper formatting character for uint32_t

v3

Toggle v3's commit message
Fix signed integer reading

Reading signed integers would fail if the integer wasn't negative,
because it would be packed as an unsigned integer

Added tests to catch problems like this

Uniformly handle endian conversion (all done in cmp_read_object)

v2

Toggle v2's commit message
Added a better API for reading integers

Updated README.md

Added a VERSION.md to explain CMP's versioning

Updated CMP's version, first commit of v2

Updated examples

v1

Toggle v1's commit message
Added a better API for reading integers

Updated README.md

Added a VERSION.md to explain CMP's versioning

Updated CMP's version, first commit of v2

Updated examples