-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e0561e
commit fd58236
Showing
2,295 changed files
with
638,542 additions
and
810,992 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=Off -DEXIV2_ENABLE_XMP=On -DEXIV2_ENABLE_EXTERNAL_XMP=Off -DEXIV2_ENABLE_PNG=On -DEXIV2_ENABLE_NLS=Off -DEXIV2_ENABLE_LENSDATA=On -DEXIV2_ENABLE_DYNAMIC_RUNTIME=On -DEXIV2_ENABLE_WEBREADY=Off -DEXIV2_ENABLE_CURL=Off -DEXIV2_ENABLE_BMFF=On -DEXIV2_ENABLE_BROTLI=On -DEXIV2_ENABLE_VIDEO=Off -DEXIV2_ENABLE_INIH=Off -DEXIV2_BUILD_SAMPLES=Off -DEXIV2_BUILD_EXIV2_COMMAND=Off -DEXIV2_BUILD_UNIT_TESTS=Off -DEXIV2_BUILD_FUZZ_TESTS=Off -DEXIV2_BUILD_DOC=Off -DEXIV2_TEAM_EXTRA_WARNINGS=Off -DEXIV2_TEAM_WARNINGS_AS_ERRORS=Off -DEXIV2_TEAM_USE_SANITIZERS=Off -DEXIV2_TEAM_OSS_FUZZ=Off -DEXIV2_TEAM_PACKAGING=Off -DBUILD_WITH_STACK_PROTECTOR=Off -DBUILD_WITH_CCACHE=Off -DBUILD_WITH_COVERAGE=Off -DEXIV2_ENABLE_FILESYSTEM_ACCESS=Off .. | ||
cmake -DCMAKE_BUILD_TYPE=Release -DEXIV2_BUILD_DOC=Off -DEXIV2_BUILD_EXIV2_COMMAND=Off -DEXIV2_BUILD_SAMPLES=Off -DEXIV2_BUILD_UNIT_TESTS=Off -DEXIV2_ENABLE_BMFF=On -DEXIV2_ENABLE_CURL=Off -DEXIV2_ENABLE_EXTERNAL_XMP=Off -DEXIV2_ENABLE_LENSDATA=On -DEXIV2_ENABLE_NLS=Off -DEXIV2_ENABLE_PNG=On -DEXIV2_ENABLE_PRINTUCS2=On -DEXIV2_ENABLE_SSH=Off -DEXIV2_ENABLE_VIDEO=Off -DEXIV2_ENABLE_WEBREADY=Off -DEXIV2_ENABLE_WIN_UNICODE=Off -DEXIV2_ENABLE_XMP=On .. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
src/ThirdParty/Exiv2/exiv2-0.27.7-Source/.clang-format.optional
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
BasedOnStyle: Google | ||
Language: Cpp | ||
Standard: Cpp03 | ||
TabWidth: 4 | ||
UseTab: Never | ||
ColumnLimit: 120 | ||
NamespaceIndentation: All | ||
|
||
AccessModifierOffset: -4 | ||
ContinuationIndentWidth: 4 | ||
IndentWidth: 4 | ||
|
||
BreakBeforeBraces: Custom | ||
BraceWrapping: | ||
AfterStruct: true | ||
AfterClass: true | ||
AfterFunction: true | ||
AfterControlStatement: false | ||
AfterEnum: true | ||
AfterNamespace: true | ||
|
||
AllowShortFunctionsOnASingleLine: None | ||
AllowShortBlocksOnASingleLine: false | ||
AllowShortIfStatementsOnASingleLine: false | ||
AllowShortLoopsOnASingleLine: false | ||
|
||
... |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
46 changes: 46 additions & 0 deletions
46
src/ThirdParty/Exiv2/exiv2-0.27.7-Source/.github/workflows/nightly_Linux_distributions.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# To trigger this workflow manually, go to this url and click "Run workflow": | ||
# https://github.com/Exiv2/exiv2/actions/workflows/nightly_Linux_distributions.yml | ||
on: | ||
workflow_dispatch: | ||
|
||
# Uncomment to run this workflow daily at 4am. | ||
# | ||
# schedule: | ||
# - cron: 0 4 * * * | ||
|
||
name: CI for different Linux distributions | ||
|
||
jobs: | ||
distros: | ||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
fail-fast: false | ||
matrix: | ||
# arch suffering this issue: https://github.com/abseil/abseil-cpp/issues/709 | ||
# centos:8 had linking issues with gtest | ||
container_image: ["fedora:latest", "debian:10", "archlinux:base", "ubuntu:20.04", "centos:8", "opensuse/tumbleweed", "alpine:3.13"] | ||
compiler: [g++, clang++] | ||
build_type: [Release, Debug] | ||
shared_libraries: [ON, OFF] | ||
container: | ||
image: ${{ matrix.container_image }} | ||
env: | ||
CMAKE_FLAGS: -DEXIV2_TEAM_EXTRA_WARNINGS=OFF -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_BUILD_UNIT_TESTS=OFF -DEXIV2_ENABLE_BMFF=ON -DEXIV2_TEAM_WARNINGS_AS_ERRORS=OFF -DEXIV2_ENABLE_PNG=ON -DCMAKE_INSTALL_PREFIX=install | ||
|
||
steps: | ||
- name: install tar in opensuse | ||
run: | | ||
distro_id=$(grep '^ID=' /etc/os-release|awk -F = '{print $2}'|sed 's/\"//g') | ||
echo $distro_id | ||
if [[ "$distro_id" == "opensuse-tumbleweed" ]]; then zypper --non-interactive install tar gzip; fi | ||
- uses: actions/checkout@v3 | ||
- name: install dependencies | ||
run: ./ci/install_dependencies.sh | ||
- name: build and compile | ||
run: | | ||
mkdir build && cd build | ||
cmake $CMAKE_FLAGS -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DBUILD_SHARED_LIBS=${{ matrix.shared_libraries }} -DCMAKE_CXX_COMPILER=${{ matrix.compiler }} .. | ||
make -j $(nproc) | ||
make install |
30 changes: 30 additions & 0 deletions
30
src/ThirdParty/Exiv2/exiv2-0.27.7-Source/.github/workflows/on_PR_linux_fuzz.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Builds and runs the fuzz target for a short amount of time. This is | ||
# mainly to protect the fuzz target from bitrot, but hopefully will | ||
# also help to quickly catch some bugs before the PR is merged. | ||
|
||
name: Linux-Ubuntu Quick Fuzz on PRs | ||
|
||
on: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
Linux: | ||
name: 'Ubuntu 20.04 - clang/libFuzzer' | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: install dependencies | ||
run: sudo ./ci/install_dependencies.sh | ||
- name: build and compile | ||
run: | | ||
mkdir build && cd build | ||
cmake -DEXIV2_ENABLE_PNG=ON -DEXIV2_ENABLE_WEBREADY=ON -DEXIV2_ENABLE_CURL=ON -DEXIV2_ENABLE_BMFF=ON -DEXIV2_TEAM_WARNINGS_AS_ERRORS=ON -DCMAKE_CXX_COMPILER=$(which clang++) -DEXIV2_BUILD_FUZZ_TESTS=ON -DEXIV2_TEAM_USE_SANITIZERS=ON .. | ||
make -j $(nproc) | ||
- name: Fuzz | ||
run: | | ||
cd build | ||
mkdir corpus | ||
LSAN_OPTIONS=suppressions=../fuzz/knownleaks.txt ./bin/fuzz-read-print-write corpus ../test/data/ -dict=../fuzz/exiv2.dict -jobs=$(nproc) -workers=$(nproc) -max_total_time=120 -max_len=4096 |
Oops, something went wrong.