summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix possibly wrong error checking of deflateMarkus Mittendrein2019-08-311-1/+1
|
* Allow the warning handling callback to be set to a custom callbackMarkus Mittendrein2019-08-194-5/+63
|
* Fix losing data due to a mistake in the lazy implementationMarkus Mittendrein2019-08-191-49/+45
|
* Fix memory leak when opening empty groupsMarkus Mittendrein2019-08-191-1/+1
|
* Add cc4group.addFromDisk with according cc4group.AllowEntryTypesMarkus Mittendrein2019-08-194-7/+104
|
* Add support to load normal directories as groupsMarkus Mittendrein2019-08-191-76/+441
|
* Handle warnings in a more uniform wayMarkus Mittendrein2019-08-191-17/+32
|
* Make parameters const more consistentlyMarkus Mittendrein2019-08-171-21/+21
|
* Utilize take memory management instead of CleanUpJobs for ↵Markus Mittendrein2019-08-111-2/+1
| | | | cc4group_createDirectory
* Also clean up memory for the deleted entry in cc4group_deleteEntryMarkus Mittendrein2019-08-111-0/+5
|
* Fix styleMarkus Mittendrein2019-08-111-1/+1
|
* #define ZLIB_CONST instead of casting away const for gzStream.next_inMarkus Mittendrein2019-04-281-4/+5
|
* Change #include "zlib.h" to #include <zlib.h>Markus Mittendrein2019-04-281-1/+1
|
* Fix cc4group_buildChildren failing on small files at the end of the directoryMarkus Mittendrein2019-04-281-2/+1
|
* Add lazy argument to CppC4Group's constructor (forgot it first, oops)Markus Mittendrein2019-04-222-7/+7
|
* He made cc4group lazy and he saw that it was goodMarkus Mittendrein2019-04-214-125/+397
|
* Fix catastrophic logic mistake in cppc4group's custom memory management ↵Markus Mittendrein2019-04-211-8/+20
| | | | implementation
* Also restore modification time for directories when extractingMarkus Mittendrein2019-04-201-0/+6
|
* Check return value of write in cc4group_extractEntryMarkus Mittendrein2019-04-201-5/+14
|
* Replace all internal accesses to group headers with error checked ↵Markus Mittendrein2019-04-201-16/+80
| | | | cc4group_getHeader
* Add error checking to all cc4group_getOnlyEntryData and cc4group_getChildren ↵Markus Mittendrein2019-04-201-26/+152
| | | | calls
* Internally access children through cc4group_getChildren almost everywhere as ↵Markus Mittendrein2019-04-201-38/+50
| | | | preparation for the lazy mode
* Make custom memory management in cppc4group more efficient for reusingMarkus Mittendrein2019-04-201-32/+63
|
* Fix memory leak in cc4group_createFile (and also a possible but really ↵Markus Mittendrein2019-04-201-1/+3
| | | | unlikely to happen memory leak in an error case in cc4group_createDirectory)
* Fix memory leak in cc4group_createDirectoryMarkus Mittendrein2019-04-201-0/+2
|
* Add custom memory management strategies to cppc4groupMarkus Mittendrein2019-04-203-26/+100
|
* Add a custom arg to memory management strategiesMarkus Mittendrein2019-04-202-10/+18
|
* Change memory management strategies to be a pointer to a struct consisting ↵Markus Mittendrein2019-04-203-38/+90
| | | | of a start and end function, which also allows the use of custom memory management strategies
* Make CppC4Group::create also return bool like cc4group.createMarkus Mittendrein2019-04-202-3/+3
|
* Small addition to save descriptionMarkus Mittendrein2019-04-171-1/+1
|
* Fix error handling of deflateMarkus Mittendrein2019-04-171-5/+6
|
* Add saveToFd, saveToFilePointer and saveWithWriteCallbackMarkus Mittendrein2019-04-174-58/+284
|
* Small addition to openFd descriptionMarkus Mittendrein2019-04-171-1/+2
|
* Small addition to openWithReadCallback descriptionMarkus Mittendrein2019-04-161-0/+1
|
* SpellingMarkus Mittendrein2019-04-161-1/+1
|
* Use a power of 2 block size for file readingMarkus Mittendrein2019-04-071-1/+1
|
* Fix wrong reporting of garbage data at the end of the groupMarkus Mittendrein2019-04-071-1/+2
|
* Fix accidential if condition on eof instead of *eofMarkus Mittendrein2019-04-071-1/+18
|
* CppC4Group constructor may throw std::bad_alloc if internal allocation failsMarkus Mittendrein2019-03-232-1/+5
|
* Add openAsChild, currently without writing supportMarkus Mittendrein2019-03-204-4/+111
|
* Fix case of AddCleanUpJobMarkus Mittendrein2019-03-201-5/+5
|
* Add hint about lazy modeMarkus Mittendrein2019-03-201-0/+1
|
* Much documentation (I consider it to be quite complete)Markus Mittendrein2019-03-202-4/+224
|
* Use mkstemp for creating the tmp file and fallback to unlink the tmp file ↵Markus Mittendrein2019-03-201-25/+45
| | | | after unmapping it if it fails immediately after opening (Mainly needed to fix tmp file on Windows)
* Add cppc4group-wrapper for custom tmp memory managementMarkus Mittendrein2019-03-192-1/+46
|
* Add static asserts to ensure the correct size of C4GroupHeader and ↵Markus Mittendrein2019-03-192-0/+7
| | | | C4GroupEntryCore
* Remove the extra argument from cc4group_mmap and cc4group_munmap as its ↵Markus Mittendrein2019-03-184-25/+15
| | | | actually not needed
* Update an old commentMarkus Mittendrein2019-03-181-1/+1
|
* Add a check to cc4group_uncompressGroup that should always fail, but may be ↵Markus Mittendrein2019-03-181-0/+6
| | | | helpful for debugging a problem with the windows build
* Remove outdated commentMarkus Mittendrein2019-03-181-1/+0
|