aboutsummaryrefslogtreecommitdiff
path: root/lib/UnrarXLib
AgeCommit message (Collapse)Author
2013-10-30[win32] Cleanup: delete old project filesKarlson2k
2013-08-26Remove GetDirectory(..) without return valueRawk
2013-06-02changed, use TARGET_xxx in UnrarXLibdavilla
2013-05-12remove undef of byte workarounds now that we don't define it in PlatformDefs.hJonathan Marshall
2013-05-10Remove GetExtension version without return valueRawk
2012-08-25Merge pull request #1324 from Karlson2k/VS2012_compatjmarshallnz
[win32] Make source code compatible with VS2012
2012-08-25[UnrarXLib] check validity of ui ptr before accessNick Leppänen Larsson
Check that pExtract->GetDataIO().m_pDlgProgress is not invalid before accessing it.
2012-08-22[UnrarXLib] Disable incompatible with VS2012 useless defKarlson2k
2012-05-16fixed: rars that have unpacked size stored on first volume onlyAnssi Hannula
Some multi-volume RAR files have their unpacked size set as 0 in all volumes except the first one. Use the previous unpacked size instead of 0 in such cases in order to support such files properly.
2012-05-16fixed: CRarFile::Read() returning wrong data after some seek patternsAnssi Hannula
Certain seek patterns on a file inside a non-compressed rar file can cause CmdExtract::UnstoreFile() to think that the destination buffer has been filled (as DestUnpSize counter, originally set to the file size, reaches zero). However, counting written bytes using DestUnpSize doesn't make sense for the UnpackToMemory codepath used for non-compressed rar files, as there can be seeks which can eventually cause more data to be read than what the actual file size was. The actual output buffer is internally handled by ComprDataIO. The check in UnstoreFile() will result in not all data being written to the destination buffer, causing CRarFile::Read() to return old stale data. Fix that by dropping the unnecessary DestUnpSize handling in UnpackToMemory codepath of CmdExtract::UnstoreFile().
2012-04-21threads: remove WINAPI, implement priority for pthreadsFernetMenta
Also: [fix] threads: fix race condition when stopping thread - cherry pick merge Also, from jimfcarroll: [fixed] AirPlayServer now complies with the new CThread constructor requirements (that is, you must supply a thread name). replace custom thread local storage with the XbmcThreads::ThreadLocal template. [cosmetic] removed incorrect hungarian notation. [cleanup] Removed XSyncUtils. Moved the GlobalMemoryStatus call to XMemUtil. Cleaned up code that used the #define INFINITE from XSyncUtils.h [cleanup] Some miscellaneous cleanup. Fixed initialization warning in LCD. Removed some unused functions and members. [cleanup] PAPlayer warning due to constructor initialization list order.
2012-02-23[fix] - macs are not allways big endian since years - tell this unrarxlib ↵Memphiz
... fixes #12684
2011-12-01fixed: crash in rar seek code under certain circumstancesspiff
if the last archive in a set was less than 256kb, the seek code set an invalid offset leading to crashes
2011-11-15changed/fixed: add some sanity checks to rar code to avoid crashes with ↵spiff
corrupt archives.
2011-11-04fixed: reinstate compressed rar dialogsspiff
closes ticket #4401
2011-10-10wrapped strncpy to ensure resulting strings are always null terminated.Jay Kominek
2011-10-10replaced some strcpy's that were causing crashes, with strncpy's in unrarxlibJay Kominek
2011-06-26Fixed the Unrar code broken by the threading refactor.Jim Carroll
In several places in the rar code the new threading mechanisms were not used in a "functionally equivalent" manner. In five places the original code checked for a timeout using a "!= WAIT_OBJECT_0" which was interpreted as checking for a signaled state as if the "!" wasn't there. This commit fixes that problem.
2011-06-23Removed all WaitForSingleObject and WaitForMultipleObjects calls and ↵Jim Carroll
replaced them with the latest CEvent calls.
2011-03-26fixed: missing include for HANDLE typesJoakim
2011-03-26changed: avoid including filesystem/File.h in the whole UnrarXLibelupus
2011-03-15cleanup of #ifdef _XBOXamet
2011-01-24Merged cptspiff's code-reshuffle branch.theuni
Squashed commit due to build breakage during code-reshuffle history. Conflicts: xbmc/Util.cpp xbmc/cdrip/CDDARipper.cpp xbmc/filesystem/Directory.cpp xbmc/filesystem/File.cpp