summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Fix handling of various error cases in cc4group_createTmpMemoryFileMarkus Mittendrein2019-03-181-10/+12
|
* Check and set error in cc4group_createTmpMemoryMallocMarkus Mittendrein2019-03-181-1/+8
|
* Add error checking to the return value of the tmp memory strategy in ↵Markus Mittendrein2019-03-181-0/+4
| | | | cc4group_uncompressGroup
* Clean up and fix path handling regarding the possibility to specify NULL or ↵Markus Mittendrein2019-03-171-74/+52
| | | | "" to address the root entry
* Add malloc error checking in new, mention the error case in the description ↵Markus Mittendrein2019-03-172-2/+10
| | | | and add assert(file) in openFd
* Reorder and restructure the CC4Group_API struct and add some method descriptionsMarkus Mittendrein2019-03-172-59/+93
|
* Add description to getError* methodsMarkus Mittendrein2019-03-171-0/+7
|
* Add error checking to error formattersMarkus Mittendrein2019-03-171-4/+16
|
* Add error checking to all strdup calls (except in the noerrorFormatter)Markus Mittendrein2019-03-161-8/+66
|
* Also call deinitCallback in openWithReadCallback in error casesMarkus Mittendrein2019-03-161-8/+8
|
* Clean up and fix error reporting of cc4group_uncompressGroup and ↵Markus Mittendrein2019-03-161-30/+46
| | | | cc4group_inflateFillOutput
* Rename mappedTmpFile to uncompressedData in cc4group_uncompressGroupMarkus Mittendrein2019-03-161-7/+7
|
* Fix MemoryManagement::CopyMarkus Mittendrein2019-03-161-1/+1
|
* Fix setEntryData storing the wrong data pointer and crashingMarkus Mittendrein2019-03-161-7/+5
|
* Add initCallback and deinitCallback for openWithReadCallbackMarkus Mittendrein2019-03-164-31/+69
|
* Fix c4ls_buffer and reading from stdin file "-" on windowsMarkus Mittendrein2019-03-163-2/+6
|
* Always initialize magic1 and magic2 in cc4group_uncompressGroup (Fixes ↵Markus Mittendrein2019-03-161-1/+1
| | | | building with mingw)
* Use void* instead of uint8_t* for passing data to openMemory and with the ↵Markus Mittendrein2019-03-163-13/+13
| | | | readCallback
* Use factored out memory management functions for entry data instead of a ↵Markus Mittendrein2019-03-161-24/+20
| | | | different logic
* Add openFd, openFilePointer and openWithReadCallback methodsMarkus Mittendrein2019-03-164-18/+297
|
* Add openMemory method with an exampleMarkus Mittendrein2019-03-162-121/+164
|
* Refactoring for upcoming lazy modeMarkus Mittendrein2019-03-151-8/+18
|
* Fix removing of tmpfile on windows (at least in wine)Markus Mittendrein2019-03-141-6/+6
|
* Fix creation of tmpfile in windows (hopefully. deletion still fails)Markus Mittendrein2019-03-142-5/+3
|
* Fix description of cc4group.setEntryData and remove wrong description of ↵Markus Mittendrein2019-03-081-5/+4
| | | | cc4group.createFile
* Windows support (hopefully!)Markus Mittendrein2019-03-084-16/+174
|
* Change std::__cxx11::string to std::string (KDevelop's mistake)Markus Mittendrein2019-03-071-1/+1
|
* Update CRC when changing file entriesMarkus Mittendrein2018-12-281-0/+2
|
* Add a more flexible enum to choose the memory management mode for ↵Markus Mittendrein2018-10-024-23/+77
| | | | setEntryData instead of the freeData boolean
* Refactor some calls to cc4group_getEntryByPath into several common functionsMarkus Mittendrein2018-08-192-64/+77
|
* Use std::make_optionalMarkus Mittendrein2018-08-191-7/+7
|
* Add possibility to leave data ownership to the caller of setEntryData and ↵Markus Mittendrein2018-08-184-27/+41
| | | | remove possibility to specify entry data with createFile
* Fix some possible errorsMarkus Mittendrein2018-08-181-10/+11
|
* Rename some functionsMarkus Mittendrein2018-08-161-9/+9
|
* Add missing setting of CppC4Group::EntryInfo::directoryMarkus Mittendrein2018-08-161-0/+1
|
* Add missing default value for the recursive parameter of CppC4Group::deleteEntryMarkus Mittendrein2018-08-161-1/+1
|
* Add C++ wrapperMarkus Mittendrein2018-08-162-0/+288
|
* Refactor code into a library and implement basic file management methodsMarkus Mittendrein2018-08-157-0/+1976