aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-04-29Attempt to fix BUILD not found for lz4emu-devZach Yu
On windows files are case-insensitive, so having both a "BUILD" file and a "build" directory causes a collision, where either of them can be inaccessible. Change-Id: I82ff682b6f4c9a4647262e9aff62f561c967458d
2024-02-02Merge "Add meson and bazel build files" into emu-devErwin Jansen
2024-02-01Add meson and bazel build filesErwin Jansen
This will allow the QEMU 8 build to pick up the dependencies through either bazel or meson. Bug: 323254004 Change-Id: I0a8f16ae73202ca9589340f0147bf0a1e08bd67f
2024-01-31Update OWNERS to emu-devErwin Jansen
This branch is owned by the emulator team and is not used by android. This updates the OWNERS to members of the emulator team. Change-Id: I7393869025e5b7124f08c92ce8e553eee1006ccb
2022-10-10Upgrade lz4 to v1.9.4 am: 996c91caed am: d401c43615 am: 99b28c8705android-u-rb-dp-10-gplandroid-u-qpr3-beta-2-gplandroid-u-qpr3-beta-1-gplandroid-u-qpr2-beta-3-gplandroid-u-qpr2-beta-2-gplandroid-u-qpr2-beta-1-gplandroid-u-qpr1-beta-2.2-gplandroid-u-qpr1-beta-1-gplandroid-15-dp-2-gplandroid-14.0.0_r45android-14.0.0_r44android-14.0.0_r43android-14.0.0_r42android-14.0.0_r41android-14.0.0_r40android-14.0.0_r39android-14.0.0_r38android-14.0.0_r37android-14.0.0_r36android-14.0.0_r35android-14.0.0_r34android-14.0.0_r33android-14.0.0_r32android-14.0.0_r31android-14.0.0_r30android-14.0.0_r29android-14.0.0_r27android-14.0.0_r26android-14.0.0_r25android-14.0.0_r24android-14.0.0_r23android-14.0.0_r22android-14.0.0_r21android-14.0.0_r20android-14.0.0_r19android-14.0.0_r18android-14.0.0_r17android-14.0.0_r16aml_rkp_341510000aml_rkp_341311000aml_rkp_341114000aml_rkp_341015010aml_rkp_341012000aml_hef_341613000aml_hef_341512030aml_hef_341415040aml_hef_341311010aml_hef_341114030aml_cfg_341510000android14-qpr2-s5-releaseandroid14-qpr2-s4-releaseandroid14-qpr2-s3-releaseandroid14-qpr2-s2-releaseandroid14-qpr2-s1-releaseandroid14-qpr2-releaseandroid14-qpr1-s2-releaseandroid14-qpr1-releaseandroid14-mainline-healthfitness-releaseandroid14-devandroid14-d2-s5-releaseandroid14-d2-s4-releaseandroid14-d2-s3-releaseandroid14-d2-s2-releaseandroid14-d2-s1-releaseandroid14-d2-releaseandroid-u-rb-dp-10-gplSadaf Ebrahimi
Original change: https://android-review.googlesource.com/c/platform/external/lz4/+/2242764 Change-Id: If757d57a188bc9e3d3f427ab528c96407c500c71 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-10Upgrade lz4 to v1.9.4 am: 996c91caed am: d401c43615android-u-beta-4-gplandroid-u-beta-3-gplandroid-u-beta-2-gplandroid-u-beta-1-gplemu-33-devSadaf Ebrahimi
Original change: https://android-review.googlesource.com/c/platform/external/lz4/+/2242764 Change-Id: I07345ef13c88ab0adebfea94b55a67454b085c27 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-10Upgrade lz4 to v1.9.4 am: 996c91caedmain-16k-with-phonesSadaf Ebrahimi
Original change: https://android-review.googlesource.com/c/platform/external/lz4/+/2242764 Change-Id: I10ea4937eaf0cb6721ea50057ee861deaa157760 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-06Upgrade lz4 to v1.9.4Sadaf Ebrahimi
Test: Treehugger Change-Id: I4f5700930d903679f51966165867a92d24ef30ec
2022-08-15Merge pull request #1138 from lz4/devupstream-releaseYann Collet
stage v1.9.4
2022-08-15update NEWS for v1.9.4Yann Collet
2022-08-12Merge pull request #1136 from t-mat/msvc-17.3Yann Collet
Support MSVC 2022 (version 17.3)
2022-08-13Add note about RC_INVOKEDTakayuki Matsuoka
2022-08-13Fix: replace strtoull with _strtoui64 for MSVC2010Takayuki Matsuoka
https://docs.microsoft.com/en-us/cpp/c-runtime-library/reference/strtoui64-wcstoui64-strtoui64-l-wcstoui64-l
2022-08-13trigger GitHub actionsTakayuki Matsuoka
2022-08-13Fix: remove unused valueTakayuki Matsuoka
This patch fixes the following error from "make staticAnalyze" datagencli.c:106:21: warning: Value stored to 'size' is never read size=0; ^ ~
2022-08-13Suppress false positive warning from MSVC (fuzzer.c)Takayuki Matsuoka
Suppress the following false positive warnings from MSVC: - Disable all arithmetic overflow (C26451) - Suppress C6385: Reading invalid data from 'compressedBuffer'. - Add ULL suffix to unsigned 64-bits constants.
2022-08-12Merge pull request #1135 from t-mat/github-actions-update-2022-0812Yann Collet
GH-Actions: Add ubuntu-22.04 and the latest C/C++ compilers for Linux
2022-08-13Suppress false positive warning from MSVC (datagencli.c)Takayuki Matsuoka
MSVC 2022 reports the follwing false positve warnings: lz4\tests\datagencli.c(110): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). lz4\tests\datagencli.c(134): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). lz4\tests\datagencli.c(146): warning C26451: Arithmetic overflow: Using operator '-' on a 4 byte value and then casting the result to a 8 byte value. Cast the value to the wider type before calling operator '-' to avoid overflow (io.2). Although they're absolutely compiler's and static analyzer's bug, it'd always be nice to use the standard library.
2022-08-12Suppress warning from rc.exeTakayuki Matsuoka
Since rc.exe (the resource compiler) is legacy compiler, it truncates preprocessor symbol name length to 32 chars. And it reports the following warning lz4\build\VS2022\..\..\lib\lz4.h(314): warning RC4011: identifier truncated to 'LZ4_STATIC_LINKING_ONLY_DISABLE' lz4\build\VS2022\..\..\lib\lz4.h(401): warning RC4011: identifier truncated to 'LZ4_STATIC_LINKING_ONLY_DISABLE' This patch detects rc.exe and just skips long symbol.
2022-08-12Suppress false positive warning from MSVCTakayuki Matsuoka
MSVC (17.3 or earlier) reports the following warning lz4\lib\lz4.c(527): warning C6385: Reading invalid data from 'v'. Line 527 is : LZ4_memcpy(&v[4], v, 4); But, obviously v[0..3] is always filled with meaningful value. Therefore, this warning report is wrong. We must revisit this issue with future version of MSVC.
2022-08-12Update MSVC 2022 project's PlatformToolset to v143Takayuki Matsuoka
2022-08-12Clone MSVC project (from VS2017 to VS2022)Takayuki Matsuoka
2022-08-11Merge pull request #1134 from lz4/faster_BD4Yann Collet
faster CLI decompression speed for frames compressed with -BD4 setting
2022-08-12Add ubuntu-22.04 and the latest C/C++ compilers for LinuxTakayuki Matsuoka
2022-08-11faster CLI decompression speed for frames with -BD4 settingYann Collet
lz4frame favors the faster prefix mode when decompressing a frame with linked blocks. This significantly improved CLI decompression on files compressed with -BD4 setting. On my laptop, decompressing `enwik9` went from 0.89s to 0.52s. This improvement is only for linked blocks. It's more visible for small block sizes.
2022-08-11Merge pull request #1133 from SpaceIm/fix/cmake-minimum-required-positionYann Collet
cmake: move `cmake_minimum_required()` before `project()`
2022-08-11Merge pull request #1132 from lz4/prepv194Yann Collet
Update documentation in preparation for release v1.9.4
2022-08-12cmake: move cmake_minimum_required() before project()SpaceIm
cmake_minimum_required() must always be the first instruction of a CMakeLists. project() should come after cmake_minimum_required() as soon as possible. Therefore option() are moved after project().
2022-08-11updated man pageYann Collet
2022-08-11updated documentation in anticipation for `v1.9.4` releaseYann Collet
2022-08-11Merge pull request #1131 from t-mat/doc-freestandingYann Collet
Doc freestanding
2022-08-11Add short description of LZ4_FREESTANDING and _DISABLE_MEMORY_ALLOCATIONTakayuki Matsuoka
2022-08-11Fix document for LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION in lz4.cTakayuki Matsuoka
2022-08-10Merge pull request #1129 from t-mat/disable-memory-alloc-add-docYann Collet
Add document for LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION
2022-08-10Merge pull request #1130 from t-mat/freestandingYann Collet
Add LZ4_FREESTANDING
2022-08-11Add short document of LZ4_FREESTANDING to lz4.hTakayuki Matsuoka
2022-08-08Add freestanding test to specific target in ci.ymlTakayuki Matsuoka
The 'freestanding' flag indicates a capability of compiling and executing freestanding code. Currently it requires Linux, x86_64 and (relatively newer) gcc/g++.
2022-08-08Add test-freestanding to MakefileTakayuki Matsuoka
2022-08-08Remove test-freestanding from tests/Makefile "all" and "test"Takayuki Matsuoka
Since test-freestanding is able to be compiled and executed in specific environment, we should not run it in our standard test.
2022-08-07Fix: Ignore exitcode of strace and ltraceTakayuki Matsuoka
2022-08-07Fix: implement empty _start and main for non-Linux or x86-64 platformsTakayuki Matsuoka
2022-08-07Fix: Add extern "C" to all standard C replacement functionsTakayuki Matsuoka
2022-08-07Fix for ctocpptestTakayuki Matsuoka
2022-08-07Add LZ4_FREESTANDING test on Linux x86-64 platformTakayuki Matsuoka
Also added tests/Makefile entry "test-freestanding".
2022-08-07Fix: Disable LZ4HC correspond functions when ↵Takayuki Matsuoka
LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION is enabled
2022-08-07Add LZ4_FREESTANDINGTakayuki Matsuoka
2022-08-06Fix: Disable prototypes in header fileTakayuki Matsuoka
2022-08-06Add: Doxygen comment for LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATIONTakayuki Matsuoka
2022-08-05Merge pull request #1124 from t-mat/compile-time-purge-memalloc-funcYann Collet
Introduce LZ4_STATIC_LINKING_ONLY_DISABLE_MEMORY_ALLOCATION
2022-08-03Merge pull request #1128 from lz4/decompress_unsafeYann Collet
Separate support of LZ4_decompress_fast*()