Camoto
Fix crash when doing zero length read past the end of a vector
m src/stream_memory.cpp
Fix crash when doing zero length read past the end of a vector
Categories: Camoto
Use correct #ifdef for Win32
m include/camoto/byteorder.hpp
Use correct #ifdef for Win32
Categories: Camoto
Remove unused header file from some tests, and add missing header to others
m tests/test-stream.cpp m tests/test-stream_file.cpp m tests/test-stream_seg.cpp m tests/test-stream_string.cpp m tests/test-stream_sub.cpp
Remove unused header file from some tests, and add missing header to others unistd.h doesn't exist under MSVC++ so prevents compilation, and iostream is required for cout/cerr.
Categories: Camoto
Remove static link to boost::test on win32
m tests/tests.cpp
Remove static link to boost::test on win32
Categories: Camoto
Don't throw exception on incomplete read when using nullPadded
m include/camoto/iostream_helpers.hpp m src/iostream_helpers.cpp
Don't throw exception on incomplete read when using nullPadded Also update the documentation on nullPadded and fixedLength.
Categories: Camoto
Add an expanding_output stream, which automatically enlarges as data is written
m include/camoto/stream.hpp m include/camoto/stream_memory.hpp
Add an expanding_output stream, which automatically enlarges as data is written This avoids the need to truncate() in advance to make room for the data. Not all stream types implement expanding_output though.
Categories: Camoto
Bump library linker version now it is no longer backwards compatible
m src/Makefile.am
Bump library linker version now it is no longer backwards compatible
Categories: Camoto
Remove all exception specifiers (where possible)
m include/camoto/bitstream.hpp m include/camoto/byteorder.hpp m include/camoto/error.hpp m include/camoto/filter.hpp m include/camoto/filter_dummy.hpp m include/camoto/lzw.hpp m include/camoto/metadata.hpp m include/camoto/stream.hpp m include/camoto/stream_file.hpp m include/camoto/stream_filtered.hpp m include/camoto/stream_memory.hpp m include/camoto/stream_seg.hpp m include/camoto/stream_string.hpp m include/camoto/stream_sub.hpp m src/bitstream.cpp m src/error.cpp m src/filter.cpp m src/filter_dummy.cpp m src/iostream_helpers.cpp m src/lzw.cpp m src/metadata.cpp m src/stream.cpp m src/stream_file.cpp m src/stream_filtered.cpp m src/stream_memory.cpp m src/stream_seg.cpp m src/stream_string.cpp m src/stream_sub.cpp m tests/test-bitstream.cpp m tests/test-stream.cpp m tests/test-stream_seg.cpp m tests/test-stream_sub.cpp m tests/tests.hpp
Remove all exception specifiers (where possible) They cause a few issues without providing much benefit, and it seems they are generally not used any more.
Categories: Camoto
Fix up documentation issues identified by Doxygen
m include/camoto/bitstream.hpp m include/camoto/filter.hpp m include/camoto/lzw.hpp m include/camoto/stream.hpp m include/camoto/stream_seg.hpp m include/camoto/util.hpp
Fix up documentation issues identified by Doxygen
Categories: Camoto
Merge doxygen/ into doc/
m .gitignore + doc/libgamecommon.doxygen - doxygen/api.doxygen
Merge doxygen/ into doc/
Categories: Camoto
Fix stream_filtered and the returned file size values
m include/camoto/Makefile.am m include/camoto/stream.hpp m include/camoto/stream_filtered.hpp + include/camoto/stream_memory.hpp m src/Makefile.am m src/stream_filtered.cpp + src/stream_memory.cpp m src/stream_sub.cpp m tests/test-stream_filtered.cpp
Fix stream_filtered and the returned file size values This also adds a stream_memory class which may eventually replace stream_string.
Categories: Camoto
Relax stream exceptions
m include/camoto/stream.hpp m include/camoto/stream_filtered.hpp m src/stream.cpp m src/stream_filtered.cpp
Relax stream exceptions Stream functions can now throw stream::error instead of the more specific types like stream::read_error. This allows the functions to pass through a stream::filter_error if a filter fails, without the stream functions having to know about filters.
Categories: Camoto
stream_filtered bugfixes and update stream_filtered tests
m include/camoto/Makefile.am + include/camoto/filter_dummy.hpp m include/camoto/stream_filtered.hpp m src/Makefile.am + src/filter_dummy.cpp m src/stream_filtered.cpp m tests/Makefile.am - tests/test-filteredstream.cpp m tests/test-lzw.cpp + tests/test-stream_filtered.cpp m tests/tests.hpp
stream_filtered bugfixes and update stream_filtered tests Rewrite these from old "filteredstream" to work with new "stream_filtered". This also includes a filter_dummy class which acts as a filter that doesn't modify any data, to assist with the test code.
Categories: Camoto
Add a fake LZW compressor
m include/camoto/lzw.hpp m src/lzw.cpp m tests/test-lzw.cpp
Add a fake LZW compressor This "compresses" data by simply encoding it as-is. An LZW decompressor will produce the original data when decompressing, even though the "compressed" file is likely much larger than the original.
Categories: Camoto
Update README and autoconf init commands
m Makefile.am m README m configure.ac
Update README and autoconf init commands
Categories: Camoto
Update README and autoconf init commands
m Makefile.am m README m configure.ac
Update README and autoconf init commands
Categories: Camoto
