-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updated Fcidecomp plugin (v2.0.1) and CharLS library (v2.1.0) #311
Merged
Conversation
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
949947a Update release notes for 1.0.1 e2f7493 Merge pull request silx-kit#17 from zayfod/master aaae50a Merge pull request silx-kit#33 from lgarrison/fix-cmake-libdir ba20858 cmake: fix build on systems where the libdir is lib64 9683f7d Merge pull request silx-kit#24 from bhawkins/fix-link c0d81ef Merge pull request silx-kit#32 from matchy233/fix/warnings cd04690 Merge pull request silx-kit#31 from mkitti/master 526e3f4 Fix warnings related to const for blosc_filter.c b80cacd Fix branch name of c-blosc repository in CMakeLists ff32d8a Allow for HDF5_ROOT and set blosc tag to main ec0d1ab Fix link to HDF5 docs. 6d60f33 Added freeing of memory, allocated by register_blosc(). git-subtree-dir: src/hdf5-blosc git-subtree-split: 949947a5516bb987570c900c51866a7a50fb2dd7
f466775 Merge pull request silx-kit#116 from ayzk/master1 bde9259 fix a bug when dimension is corrected in compression but not in decompression a92658e Merge pull request silx-kit#109 from vasole/master a5d6039 Restrict the scope only to windows without MINGW as already done. d0c7f6c Force static build of external libraries with MSVC 73065ab Remove gcc specific options git-subtree-dir: src/SZ git-subtree-split: f4667759ead6a902110e80ff838ccdfddbc8dcd7
2c94e111 Release version 1.2.1 465b5b60 Restore old compression functions to preserve ABI 52820ea9 Merge pull request silx-kit#178 from jjerphan/build/update-version-to-1.2.0 ac6b63f0 Update version number to 1.2.0 23b32868 Merge pull request silx-kit#175 from Quuxplusone/suggest-override 6b2eb702 Fix all compilation errors to be C++11 compliant ab38064a Fix compilation in the benchmark 4e693db1 Use C++11 style instead of C++20 a60fd602 Fix sync 766d24c9 Zippy level 2 for denser compression and faster decompression 4f5cf9a8 Internal changes 8bf26408 Internal changes f0b0c9b8 Internal changes 54d07d53 Restructure compression sampling for comparative analysis 41a3ade2 Silence -Wdeprecated warning on clang 8774875e Fix -Wsuggest-override warnings from Clang 27f34a58 Fix -Wsign-compare warning c9f9edf6 Fixes for Windows bazel build. 66a30b80 Add initial bazel build support for snappy. f725f676 Upgrade googletest to v1.13.0 release. 83253929 Disable Wimplicit-int-float-conversion warning in googletest 108139d2 Upgrade benchmark library to v1.7.1 release. 00aa9ac6 Disable -Wsign-compare warning. cfc573e0 Define missing SNAPPY_PREFETCH macros. 92f18e66 Add prefetch to zippy compress f603a020 Explicitly #include <utility> in snappy-internal.h 9c42b71b Optimize check for uncommon decompression for ARM, saving two instructions and three cycles. git-subtree-dir: src/snappy git-subtree-split: 2c94e11145f0b7b184b831577c93e5a41c4c0346
git-subtree-dir: src/fcidecomp git-subtree-split: e88f83c03bafcd0769c167dca14aa7aabf728e1b
20ed9e93 Update version to 2.1.0 f42e8488 Update the CHANGELOG for 2.1.0 2062f64a Resolve compiler warning generated by clang 7.0.0 cb707080 Add stride as parameter to charls_jpegls_decoder_get_destination_size df329524 Resolve warning in x64 unit test code and improve GCC compatiblity 215125ae Implement TODOs in the unit test code and improve near-lossless checking 336cdbe9 Move ToString helper function to util.h to prevent code duplication a6113a47 Add unit tests to validate the documentation code samples 4ab03c16 Update README.md with vcpkg info for Linux and macOS bcf3f026 Add the .def and .rc files to the charls CMakeLists.txt file 88f1e24f Resolve unit test TODO: use and check interleave_mode 39604c33 Fix silx-kit#59 and add a unit test to prevent this regression 72e015ed Limit the unit test estimated_destination to 32 bit ranges 77f486bd Add more unit tests for estimated_destination_size + fix d78a99af Use explicit namespaces in the C++ sample df937d1d Add a unit test to encode a 16 monochrome image 4e8cdac9 Add a unit test to encode a 8 bit color image 3f749a01 Add a unit test to encode a 12 bit monochrome image bf0cdc71 Replace strcpy with safe string_copy (SonarCloud) 91b488a9 Move the MSVC class diagrams into a "design" sub directory f1202014 Remove the implicit conversion to std::error_code 8ac35e04 Create a unit test for issue silx-kit#53 a3ed7851 Update C# NuGet packages to their latest versions b040b7b1 Ensure that the .so filename also use semver 9ba26b31 Add public headers to install target 13103c2c Make jpegls_decoder constructor explicit 18bcc648 Add missing namespace (MSVC 16.4.0) f18a8617 Fix jpegls_decoder::decode for non 8 bit type buffers 3e4c632a Prepare for the release: remove TODOs dbb9bc8c Add a noinline helper method to throw jpegls_error objects 302ba4c9 Add version functions and macros, closes silx-kit#56 4a97b981 Add explicit namespace prefix for GCC 5.4 enum lookup 4068536c Update the paragraph about the implementation limitations 330208b8 Add template constructor to jpegls_decoder to pass source 5105ab44 Compile the C++ sample and charlstest with same hidden flag 31f48c61 Ensure that the samples also write SPIFF headers 83bf4617 Fix that write_spiff_header does not write SOI 1e9814df Create SECURITY.md 1db62174 Reduce the internal usage of JlsParameters 235dc56f Add non-throwing overloads read_header and read_spiff_header e4e99b66 Synchronize C# enum JpegLSError with C++ enum jpegls_errc ab8a0076 Add a simple decode template function f4d5f0f0 Improve the ASSERT in ModuloRange (feedback from issue silx-kit#54) 1bcba61a Remove the dontwait option from the test application 839e0d09 Enable MSVC All warnings that have been disabled in the past 42b7a1b0 Resolve ReSharper and clang-tidy warnings 320a85f3 Replace internal usage of JpegLSPresetCodingParameters with jpegls_pc_parameters dbfde43b Update C# NuGet package to their latest versions 942cb6ff Add a CMake file to build the C++ sample a2adb658 Introduce SPDX Unique License Identifiers (BSD-3-Clause) e90209e8 Introduce an object-oriented C++ API based on a new C ABI dcb9de7f Fix the incorrect cast to unsigned int to fix silx-kit#53 6fba16f2 Update the CHANGELOG for fixed issue silx-kit#51 6e814d96 Fix silx-kit#51 by adding the alternative formulas for MAXVAL < 128 a7cfe6e6 Encode the ABI version and architecture in the Windows DLL filename bbfe5df2 Renormalizing line endings f7526b95 End of line normalization 34824b2d Explicit define which files are text and binary in .gitattributes 0c55938f Support 4 band InterleaveMode::Sample encoding/decoding (silx-kit#47) 5ed7bcc5 Add a content item to assist projects that reference charls.vcxproj a0241256 Update NuGet package Microsoft.CodeAnalysis.FxCopAnalyzers to 2.6.3 d73dc1ab Update the projects for side-by-side building with VS 2019 Preview 2 45398944 Improve the public C++ decoder class c3b4a887 Replace manual loop with STL algorithm 56025029 Fix that the C++ sample doesn't throw when the input file cannot be read 3925d572 Add the option to make all symbols hidden in Linux shared library build 916656e2 Set configure CMAKE_CXX_EXTENSIONS OFF to ensure -std=c++14 is used 3d508c76 Validate the JPEG-LS Preset Parameters segment (coding parameters) 414db3d8 Simplify the component Id range 2b8d9a2b Update NuGet package reference from 3.11.2 to 3.12.0 1d8c5dc2 Update changelog to describe the improvements up to now be3e6fda Improve error checking of the SOF segment during decoding cd393caf Resolve CI g++ and clang issues 06e00313 Remove MSVC_WARNING_SUPPRESS statements solved in the latest MSVC 9d6d21a5 Add a symbolic name for the JPEG marker code start byte and style polish a9af23ae Add enum JpegLSPresetParametersType 071e4bcd Replace CustomBuild with CopyFileToFolders in charlstest.vcxproj 63b99977 Simplify encoding design by not creating temp copies of marker segments f701dee7 Replace getTime with std::chrone::steady_clock::now() c3e6316b Update NuGet package NUnit3TestAdapter to 3.11.2 cb0e33f0 Update .editorconfig with style settings for C# 90f0d2dc Rename unit test files (stdafx.h -> pch.h, etc) 57bc2066 Remove not needed calls to make_error_code 40542601 Upgrade to C# 7.3 (latest) cfb9ba7a Update WindowsTargetPlatformVersion to 10.0.17763.0 379d5d13 Remove legacy hungarian naming style in test app 49a51f81 Update ReadFile (test) to return std::vector 7d15607f Replace printf with cout and drop std:: in .cp files ca3737f8 Improve the compatibility with Visual Studio 2019 v16.0.0-pre.1.0 3fbf3612 Remove legacy definitions from .vcxproj files 67e0012f Use the STL style for private class member variables 3be2724c Add helper property for VcpkgConfiguration 19f9864b Add underscores to the filenames to improve readability and match common C++ practice. 85581338 Add a C++ sample and an initial design for a C++ API 5a349b6f Move the C# projects from the net to dotnet/src and dotnet/test folders a34f26c7 Add reference in README.dm to JPEG-LS logo and LICENSE.md bbf66cd5 Add JPEG-LS logo cb6d1227 Replace the CharLSNetTest.csproj format with the new .NET project format. d0b3a16b Remove support for .NET Code Contracts 26e1ad1a Use int32_t consistently in the API 32d94e00 Extract boundary values and rename ResultAndErrorMessageFromException 24360023 Replace custom error mechanism with std::error_code acb28902 Replace using with typedef for improved compatibility ef606b17 Replace ApiResult with jpegls_errc 4e5336d8 Replace ApiResult with jpegls_errc 1fb670a5 Allign comments bb3c26c8 Move all types into the charls namespace 6fdf0893 Replace charls_error with charls::jpegls_error f4830e2a Rename ApiResult to jpegls_errc to follow C++ naming convention 4a058308 Change format of .txt to .md (Markdown) 2e050eb9 Move styleanddesign.txt to doc sub-directory 3f36ec3a Add missing #include statements, required for gcc and clang 587578e6 Update ReSharper user dictionary 9b15f3ae Add cmdline argument allowed_lossy_error to sample convert.c for silx-kit#43 f8864864 Fix incorrect ASSERT, trips with large value for NEAR c4c93191 Refactor C sample: use C99 comments and style c5986929 Add build folder to .gitignore 6db1e29b Add vcpkg reference and section about release management c391025c Update CMake build files from 2.6 to modern CMake 3.9 aa8ccc84 Replace C style array size calculation with for each loop 4e4144ef Remove suppression of warning C26432 5ab47df8 Update NuGet packages: NUnit and StyleCop.Analyzers to the latest releases d28e0f5e Remove not needed compiler settings from CharLS.vcxproj 186463b6 Move _CRT_SECURE_NO_DEPRECATE macro to project file f2d7123e Resolve some minor static analyzer warnings 8712bab2 Remove unneeded #include statement from util.h 56ba5173 Update .NET target framework for .NET unit test project to 4.7.2 694dfa1a Move the interface headers to a namespace include folder 1d9e758e Remove not needed casts caf0c823 Remove not needed casts f60ef797 Remove not needed casts 689e67f2 Enable C++ Core Guidelines C26497, C26444 disable C26440 bea08a4a Replace #ifndef/#define with #pragma once (modern C++ compilers) f05583b1 Update reference from License.txt to LICENSE.md 6b6e209f Update License.txt to LICENSE.md 0a95feb2 Add final to the classes that are not designed as base classes bc8c9f19 Document why some MSVC C++ core guidelines rules are disabled. 6d091c85 Update size parameter to size_t a76b24f6 Cast to size_t before shift (final destination is size_t) 0f388e5b Suppress can be constexpr warning 9ab8df65 Use std::array to encapsulates fixed size arrays 3ee93cce Mark pure functions as constexpr 0a8be6d1 Use std::array to encapsulates fixed size arrays e41d82e7 Disable conformanceMode to compile CppUnitTest.h with MSVC 15.8.0 9c58be04 Replace reinterpret_cast with static_cast 6736ec63 Resolve ReShaper found issues e21d0953 Resolve spelling errors ef999337 Resolve intellisense parse errors 5ecf282d Add MSVC_ prefix to WARNING_SUPPRESS ae15bd8e Replace generic InvalidCompressedData errors with specific error codes c91a85c0 Use ReadNextMarkerCode to ensure leading 0xFF bytes are skipped dad74312 Add a check to validate the size of the SOS segment f72eb118 Add a check to detect SOI marker in invalid state 2d52248a Add a check to detect EOI marker in invalid state b63c341f Add a check to validate the size of the SOF_55 segment 8a7bb032 Initialize and the return value directly. b1bd5179 Explicit check the minimum size of a segment 7729246c Add support to detect unsupported ISO/IEC 14495-2 IDs in LSE marker e79e86a9 Add support to detect unsupported ISO/IEC 14495-2 SOF_57 marker 5f1f2086 Rename ReadWord into ReadUInt16 22dc80bb Add support to read all types of APP8 marker segments 5ea9c92d Remove not used support for HP color space segment ec087a48 Increase the conformance to the JPEG-LS standard for APPn markers b1707a6a Update spelling checking dictionary b654e6d6 Pass traits by value 090271ff Remove not needed include files 6564751a Use Wall for MSVC and exclude non-useful warnings f325550c Correct param name's 148f1653 Update Nuget package StyleCop.Analyzers to 1.1.0-beta008 d203ba90 Correct the spelling of Arithemtic to Arithmetic d4654e3e Use underscores and full english words in macros ffc16d2f Extend the spelling checking UserDictionary 93836df5 Add FxCop analyzer Nuget package 2.6.1 aa2cae30 Suppress false warning C26495 (MSVC 15.8.0 Preview 5) 9bfd6498 Update Nuget package NUnit from 3.8.1 to 3.10.1 c83d683c Add noexcept for getTime() in Linux build 9bb9a316 Correct reference to unit test checked x64 build 306d7790 Enable by default all static analysis rules 569666fd Add cpp.hint files to assist intellisense d2eba165 Fix some stylecop warnings in C# 79e779d5 Update Stylecop nuget package reference and link to .net std 2.0.3 597bc910 Resolve C++ core guidelines warnings bc33ac62 Resolve core guidelines warnings in x64 builds 66e65c92 Remove duplicate msbuild properties from project files a98ad3aa Update reference to Win SDK to 10.0.17134.0 + MSBuildThisFileDirectory 35955cd6 Resolve some more C++ core guidelines warnings in the test projects d9cc4eb9 Resolve some more C++ core guidelines warnings 0cc032dc Resolve C++ core guideline: C.21: If you define or =delete any default operation, define or =delete them all 695441c1 Resolve C++ core guideline: F.6: If your function may not throw, declare it noexcept c645580d Add VcpkgConfiguration msbuild property to make .vcxproj compatible with Vcpkg 08214297 Retarget CharLSNetTest to .NET 4.7.1 and resolve some ReSharper warnings e8dc988b Suppress missing override warning in template class with mixed base classes, resolves silx-kit#39 09c50ea4 Resolve MSVC static analyzer warnings 04837fff Move the 2 defines in config.h to the build settings in the project file 08e07d4c Update project settings for ReSharper C++ a4745a4b Rename time.cpp and time.h into gettime.cpp and gettime.h 39558750 Resolve clang and clang-tidy warnings (CharLSTest project) a8bd092b Resolve clang and clang-tidy warnings (CharLS project) 819bfff2 Update ReSharper team settings 5cfbfe4e Apply clang-tidy fixes c27c8a99 Update CodecFactory to always return a codec (silx-kit#36) 39bb3698 Add code to detect bad LSE preset types 0b3cf7f6 Resolve GCC \ clang warnings bdc8fd4d Update Windows Target platform to 10.0.16299.0 edac4fa4 Improve DecodePerformanceTests ea0ce490 Apply clang format 256a6d3f Add const 339cba7b Replace single enum values with C++14 constexpr a77ded84 Update style of force_inline to use ALL_CAPS as it is a preprocessor macro e2867aa4 Remove using namespace std; from *.cpp files (align with .h files) ab5a855f Add CHANGELOG.md 71e80aee Swap ResetValue logic to improve readability d49ac714 Rename TRAITS into Traits and Getxxx into Createxxx (as it creates a new instance) d996fac2 Remove T postfix from template name f9aacc60 Rollback to Win SDK 10.0.15063.0 (AppVeyor cannot handle latest version) d9f40ec0 Add first version of .clang-format file e4409c91 Move ISO/IEC 14495-1 constants to their own file 09bc2ea2 Update WinSDK to 10.0.16299.0 d010b840 Add more unit tests for color transforms 68e7df81 More removal of ALL_CAPS 3bdb7dd5 Replace typedef with using and remove ALL_CAPS names ef7dfe1f Fix compiler warning on clang a3da9d8d Fix broken gcc\clang build 2e16ad9f Improve the TestLargeImagePerformanceRgb8 method 914d4c9f Replace typedef SZC by direct type 1a838610 Add explicit cast for x64 builds a670eeb0 Resolve static analyzer warnings d4db0de9 Remove settings that are defined in Directory.Build.props 748ad45f Enable managed rules d24f5fcd Rename inlinehint to force_inline 7839f832 Resolve C++ Core Guidelines issues. ea29f674 Add const and static f2f2a02f Apply small C# language updates 78885dce test msbuild /t:restore eba856a3 Add nuget restore back e5ea9afc Remove before_build from appveyor script as test 10064c6a Remove the legacy StyleCop configuration file bb30a699 Update CharLSNet.csproj to target netstandard2.0 44004d1a Remove support for Visual Studio 2015 0788c2a0 Add static and const to DecoderStrategy methods 67c27c55 Add ReSharper team settings for VS 2017 solution b6b1b510 Update version in win32 resource script to 2.0.1 ec1532e0 Correct spelling in comments 1342f92b Remove the obsolete plainc project c64aaa30 Remove references to Common_VS2017.props cc89c6ec Replace Common_VS2017.props with Directory.Build.props acb9afe5 Add test TestNoiseImageWithCustomReset for reported problem 327456cf Merge pull request silx-kit#33 from renyu310/patch-1 5488124e Update jpegls.cpp 21604eae Add unit test TransformHp3RoundTrip 36b14eb4 Update PlatformToolset to v141 for x64 a5d039c6 Update explicit PlatformTarget 3fa655f7 .NET unit test project, PlatformTarget explicit to x86 eb2f8539 Set TreatWarningsAsErrors for .NET Standard project e058c1ca Add ruleset d0491adf Convert C-Cast to C++ casts (better static analysis) 8f026215 Update appveyor to build using VS2017 d8ab9090 Update to NUnit 3.6.1.0 00b97dbe Remove non-readonly attributes from GetHashCode and improve CopyTo 71911c6b Mark not used members in JlsParameters as private readonly 930d15dd Extend unit test for JpegLSMetadataInfo 47d1741c Add explicit to single parameter constructors 2ff1af1f Merge pull request silx-kit#30 from davous267/patch-1 1867e559 PNM (En)(De)code bug fixed 56efc01e Update _bytesPerPixel to size_t for x64 build 3b39d40e Update CreateProcess to return unique_ptr f6c80727 Remove redundancies in the code ec36333e Restructure project files for Visual Studio 2017 3b3fb943 Repair incorrect solution setting b7825434 Fix 2 broken projects reported on CI 3359f00b Update AppVeyor build configuration to match 88060230 Restructure project files for Visual Studio 2015 6c0dbbe0 Extend DecodePerformanceTests to measure time 8d76b7b9 Exclude .vs folder 804cd450 Documented color transformations and cleanup f628e002 Refactored EncodePnm to not use color transform fc3b2544 Updated build parameter /MP 97f23aa5 Replace BYTE\SHORT with uint8_t\uint16_t in test application fd28f4ec Fix 64 bit build failure (API was not identical) 51705e7d Add const when variable is initialized only once 6b4973e5 Some small fixes hinted by ReSharper 2016.3 7f9d5987 Update projects for Visual Studio 2017 RC.2 c644ae94 Replace macros MAX and MIN with std::max and std::min fe64dba4 Add editorconfig file a1eb6ca8 Merge pull request silx-kit#27 from cguebert/FixWinDll 838b82d1 Fix the compilation on Windows with CMake and the option BUILD_SHARED_LIBS. 54561a6b Code cleanup 57e2a3b2 Renamed struct to match C++ code d272c687 Rename JlsCustomParameters to JpegLSPresetCodingParameters b3118563 Add project to build CharLS for .NET Standard 1.4 ad3873ca Tune VC++ 2017 project settings 9ad5940b Update StyleCop.Analyzers to 1.1.0-beta001 8309522e Add project files for Visual Studio 2017 RC 4610fa0e Add class charls_error to simplify error handling 0b61f921 Use CLang -Weverything minus warnings 9d7d9f85 Resolve compiler warnings as reported by CLang 0aed4586 Resolve compiler warnings as reported by CLang bed435ac Resolve compiler warnings as reported by CLang 0e50feb1 Improve VS 2015 project files d1f8888d Replace &vector[0] with C++ 11 vector.data() 1d53f3e4 Remove obsolete compare and check parameters 8f8fff6f Move JpegLsVerifyEncode implementation to testapp 3a7bd63d Update Nuget packages DotNet.Contracts and NUnit 3ce8807b Update charlstest to return EXIT_SUCCESS/FAILURE 02dee57d Merge pull request silx-kit#17 from malaterre/master df1c4763 Merge pull request silx-kit#20 from malaterre/gdcmdoc 8bb946e4 Fix a typo in my name c0741f40 Fix a typo in my name 3ba68533 Make sure to check the return value of JpegLsDecodeStream d93464b7 Updated NUnit nuget package from 3.2.0 to 3.2.1 29f39e6a Updated the member naming of the JlsParameters structure to use the standard CharLS naming scheme (API change). 49b4eff6 Added include and namespace to correctly reference size_t. b0da2e41 Changed the default name for a JlsParameters argument\variable to params. 0bf27eb1 Added .aps as a file to ignore (Binary version of the current resource script file; used for quick loading.) 20c806c2 Replaced references to MFC in the resource file to the basic windows SDK include file. Small project update. f6c508f1 Added a const\define for the error message buffer size. 6d587cf6 Removal of not needed source files and cleanup of the VS2015 project file. 3f5ef73f Updated text to remark that implementation on the master branch uses C++14 e8cf05bc Fixed the problem that "output buffer to small" was not detected when writting encoded bytes to a fixed output buffer. This could cause memory corruption problems. This fixes silx-kit#10. 428e4ae0 Added custom build step to the test data file "conformance\TEST8.PPM" (was missing). 1217cbf0 2 small resharper c++ 2016.1 fixes: not used #include files and functions in .h should have keyword inline. 778cb62b Fixed the issue that DecodeToPnm would set params.colorTransform = ColorTransformation::BigEndian but the library didn’t support this option during decoding. This caused 16 bit pgm files to be created incorrectly. DecodeToPnm now performs this transformation itself when needed. 9d1b24ea Removed the 3 trailing spaces after the max pixel value in the PGM header (method DecodeToPnm). The defacto standard requires that only a single whitespace character (usually a newline) is present between the max pixel value and the binary pixel values. The 3 spaces caused IrfanView to incorrectly display the image. da6bb900 Fixed 1 clang -fsanitize warning and supressed 1 (code optimalization). Closes silx-kit#11. fcc2c3c2 Added .vscode directory to the ignore list 791092ce Updated file name to fix problem that file was not found on case sensitive file systems (aka Linux) 73463f4b Update the version number from 1.1.0.0 to 2.0.0.0 0a2b34d2 Added a unittest class for DefaultTraits. Updated DefaultTraits constructor to use initialization instead of assignment. note: last non const member needs more investigation/unittest before change. ece9cb8f Moved charls.h to the "Header Files" group (Visual Studio 2015 project file) 7ef088d5 Added the "checked" output directory as a directory to exclude. 4a817378 Merge branch 'master' of https://github.com/team-charls/charls c94f1727 Updated the list of public header files that are required to use CharLS as a library. Increased the major version number to 2. This fixes silx-kit#12 af701a16 Updated ComparePnm to give more details when 2 files are different. c4535c37 Added unittest DecoderStrategyTest::DecodeEncodedFFPattern 43cb544c Updated the NUnit package for the CharLSNetTest project from 3.0.1 to 3.2.0. 20f8b1b2 Updated Init method to pass by reference to align Init method with encoderstrategy.h ee5081db Corrected problem in EncoderStrategy::AppendToBitStream. Required marker-detect bits could cause an incomplete Flush, which AppendToBitStream could not handle. This resolves silx-kit#9 08317af9 Added *.db to the gitignore file list. (created by VS 2015) 1d1ddf60 Updated code to use C# 6.0 exception filtering, removing duplicate code paths. b1ec6371 Updated .NET project to C# 6 318d0107 Updating CI build to gcc 5 to resolve problem with -std=c++14 79da1fa1 Removal of old project and solution files for Visual Studio 2010, 2012 and 2013. Microsoft provides VS 2015 Community as free download. Older VS versions can also open VS 2015 project files and it is easier to reconfigure then to maintain all the legacy project files. 007d0ad5 Updated Linux compilers GCC and Clang to target C++ v14. Removed own charls copy of make_unique (not needed anymore when targetting C++ v14 14d6e490 Added namespace std::to abs methods to ensure correct method is picked up on all platforms. 105f0027 Updated ReSharper settings. 3c5e27a7 Added Code Contracts (DotNet.Contracts) as a nuget package. 50bcd4d2 Updated NuGet package StyleCop.Analyzers from version="1.0.0-rc3" to version="1.0.0" 4f385165 Solved some compiler warnings reported by GCC \ Clang. d3a59dd6 Added field initializers (best practice and resolves GCC\Clang compiler warnings) 28c56a10 Removed not used private field: _icompStart from JpegImageDataSegment. ff2a2f4a Added include file for memcpy 9d537c8b Removed passing a string to the exception object as this is a Microsoft extension and not standard C++ v11. f866c53b Fix for building on Travis and adding build status image to readme.md 0df427ce Added charls::make_unique method to ensure pure C++ v11 compilers can build the source code. 5ca6523b Fixes for Travis CI build 455a0f3d Fixes for the Travis CI build 17acfcb5 Added <string.h> include to fix build on GCC. 99ed84ef Update 2685da81 test with addons option ee21ea4b Explicit update to the build matrix config b00e1a48 Added *.opendb to gitignore 182dca22 Initial Travis CI configuration file 55d9adb8 Style update: initialize pointer and boolean variable with the standard defaults. c459a84c Updated Nuget package to StyleCop.Analyzers.1.0.0-rc3 72666bff Merge pull request silx-kit#3 from seanm/master 81df75af Fixed compile error with clang, replace an #elif with #else a37ccb51 Updated Visual Studio 2015 .NET projects to target .NET 4.6.1 1eff72d1 Small ReSharper C++ improvements. 4c0c8a0c Enabled C++ static code analysis (PREfast) for the checked builds. (was disabled when 2015 was still CTP) 1fff7cff Updated code to leverage C++ 11 initializer lists a8fb7efb Added property DataFileDirectory to .NET unit test project to ensure test data files can be loaded, even if the working folder is incorrect \ different. d8194bb2 Merge branch 'master' of https://github.com/team-charls/charls.git 0bed7439 Updated NUnit from 2.4.6 to 3.0.1 (Version=3.0.5813.39031) 0a90cce7 Updated NuGet Package StyleCop.Analyzers.1.0.0-beta013 to StyleCop.Analyzers.1.0.0-rc2 2386b458 Added unit test AppendToBitStreamFFPattern. It triggers the bit stream bug (assert goes off). 23975a15 Made some constructors explict as a best practice to prevent incorrect usage. 725182a2 Removed include file statements that are not needed (files are already included earlier) fb85fefa Removed not needed std:: namespace references. afa3e18c Added error messages to the exceptions that are throw during input parameter validation. fb5100a1 Added C++ unit test ReadHeaderFromBufferNotStartingWithFFShouldThrow and improved exception text for that error case. 8ce797d1 Fixed a couple of output folder issues and some warnings c5b6f4fd Added build badge b6e532ca Fixed output path for x64 build to also build to bin. 890ad9bc Removed obsolete stylecop package from .NET unit test project d3a54e73 Added solution file name to nuget restore command 7de8747b Excluded NuGet Packages b8fcd5ad Added - nuget restore to the before_build step to ensure NuGet packages are available. 57edae1e Updated StyleCop.Analyzers to version "1.0.0-beta013" and fixed\disabled some stylecop warnings. ef4d713f Initial version of CI script for AppVeyor 655a47c2 Converted the README.txt and the project description text from http://charls.codeplex.com/ in a new README.md file. a5568e5c Updated the factory functions of the JpegMarkerSegment class to return std::unique_ptr. Improved modern C++ best practice, see also GotW silx-kit#90. 25acf621 Added 'using namespace std' to the .cpp files and removed not needed namespace prefixes. Header files should by best practive never have 'using namespace' defined. Added 2 error messages. 6da0692f Updated the JFIF structure to use explicit defined int types to improve clearity of memory layout and updated member names to be in sync with standard jfif document. 08aed6dc Added unit test JpegStreamReaderTest::ReadHeaderFromBufferPrecededWithFillBytes and implementation to pass the test. 125b2ce0 Included class JpegStreamReaderTest to unit test project. a4d7d2f3 Update name of static functions on JpegMarkerSegment from Marker to Segment as these are the objects they actually create. 66482121 Implemented unit test CreateStartOfScanMarkerAndSerialize 61fcda87 Implemented unit test CreateColorTransformMarkerAndSerialize 5678a5ce Implemented unit test CreateJpegLSExtendedParametersMarkerAndSerialize 2b027325 Added a project reference to ensure CharLS project is build before unit test project. 055abc1e Implemented unit test CreateJpegFileInterchangeFormatMarkerAndSerialize and improved CreateJpegFileInterchangeFormatMarker function. e4ccfc6d Implemented TODO: // delete segment by using unique_ptr. 3da35810 Some small fixes 11c51196 Added nunit as nuget package ab836a26 Added project reference to CharLS DLL. 1c6ca168 Added nuget package: StyleCop.Analyzers and resolved style cop warnings. f3137de5 Switch the Code Contract checking to "Custom Parameter Validation". This ensures that the library can use static analysis tool but the rewritter is not used, just the normal compiler output. The import advantage is that the release bits are as if Code Contract checking is not used. e57acaa7 Fixed code contract warning (reported by Code Contracts 1.9.10714.2) 98f1c2c8 To prevent security issues (FxCop warning): extended the native interface with the attributes: BestFitMapping = false and ThrowOnUnmappableChar = true 0fd8108b Project file was tagged to ensure that Test Explorer can see that it is a test project. ba07df67 Enabled BrowseInformation to support Code Map (analysis feature of VS 2015 Enterprise) 99f6ab43 Added _CRT_SECURE_NO_WARNINGS as defined symbol to suppress warnings about replacing strcpy with strcpy_s. strcpy_s is not cross platform. e293dbc5 Merge branch 'master' of https://git01.codeplex.com/charls 15491484 Extended the public API to return (optional) a descriptive text about the failure. 5bb16c6d Merged a50fc568 Added factory method CreateSystemError to create system_error exception objects with a message string. Updated a couple of locations to use the new CreateSystemError method. 029aa074 Updated enum JLS_ERROR to enum class charls::ApiResult (+ helper enum for C projects) a0464226 Made include file protection consistent (#pragma once to #ifndef/#define/#endif). See styleanddesign.txt a60e189b Added test to measure decoding performance 25313fe0 Added new unittest class JpegStreamReaderTest Added unittest JpegStreamReaderTest::ReadHeaderFromToSmallInputBuffer Updated ReadByte to throw error code CompressedBufferTooSmall when there are not enough input bytes (instead of InvalidCompressedData) 7194fbc6 Updated "class" in the template definition with the typename keyword. (style update) bf2fa9c9 Convert (C99) updated. remaining items: jfif header, verify output, limit conversion options, name change to bmp2jls? d27bc0b3 Added include to <stddef.h> to ensure size_t is defined. (when using charls.h in C99 mode) 7a2a5b98 Removal of legacy SVN tracking files. 1bdd432f Added project file to build C sample convert 0de422ab Merge branch 'master' of https://git01.codeplex.com/charls 5304ea10 Added API documentation to the struct JlsParameters. 668ce3f9 Extended the convert (bmp2jls) C sample (not complete yet) c6102703 Updated project settings and removed references to removed header files config.h and header.h ea9dff97 Removed not needed include files. c4712b70 Changed the name of enum option JpegLSInterleaveMode.Planar into JpegLSInterleaveMode.None to make the meaning more clear and allign with the C++ code Value 0 just means that the pixel data is not interleaved. 238c4ace Moved the functionality of config.h (not really a config header file) and header.h into util.h and other exisiting header files. 1de019ee Corrected typo in comment statement 36869122 Refactored enum JPEGLS_ColorXForm into C++ 11 enum class charls::ColorTransformation 2f95a751 Added documentation to the InterleaveMode enum options. 2f90443d Updated enum interleavemode to C++ 11 enum class charls::InterleaveMode Added enum CharlsInterleaveMode to support C projects 084811a7 Updated C style casts to C++ style casts and small improvements (found with ReShaper C++) eaec26bb Disabled precompiled header in all build configs (not only in debug) 03368d91 Moved the template class JlsCodecFactory into its own header file f1b9a76c Added API docs for JpegLsDecode and made info const (only read from) 0c90cd5b Improved and documented JpegLsEncode API 63aeba0d Updated the used style of CMakeList to all lower case 4fc4f9ba Added FlushTest 26ac712f Enhanced cmake build system 5e5152b1 Updated C# projects to target .NET 4.6 (Visual Studio 2015 CTP 5 includes .NET 4.6 as the default .NET version) Fixed some minor issues in the native VS 2015 project files Note: Checked build and .NET build are not working as Code Contracts and /analyse are not yet supported. 68341346 Added underscores to class members. e5fa3a33 Method argument updated to match base class. d6aa5a2b Changed argument passed by pointer, that never can be NULL, to passed by reference. c7cf959f Added EncoderStrategyTest class to unit test EncoderStrategy class and solve work item 10742 (Failed assertion in EncodeStrategy) 1f313220 Removed not needed casts. c12b282e Replaced ASSERT macro with a simple Assert::IsTrue method to makt it possible to execute unit tests on release builds of CharLS. This solves also the many warnings when compiling the release build with GCC on Linux. 4d726ec6 Corrected CharLS native method definition for x64. b5416d20 Removed obsolete svnbridge files and added custom build steps to ensure data files are copied to the correct location. e032493a Removal of obsolete Microsoft source control files (not needed by Git) Removal of support for Visual Studio 2010 (not working). Visual Studio 2013 is a free download. e29f9aa6 Added reference to "Style and Design"txt file. e03685f1 Updated the output paths and the .NET version (from .NET 4.5.1 to .NET 4.5.2) ed60299d A couple of style updates. d499f48f Refactored typedef LONG in standard C++ 11 int32_t. a5fddc23 Updated name of external header file from interface.h to charls.h to make it more clear which header files external apps should include. e6c3e7cd Refactored couple of functions arguments from passing as const pointer to const reference (arguments are not allowed to be NULL). 09d9ca3d GCC fixed 36d07a6d Sample bmp file 160df686 Moved charls_category from header file to implementation file. There is no need to include this class in a header file. c41d3cf8 Initial code for BMP to JPEG-LS convert sample ef2b8a60 Refactored throwing JlsException to throwing the C++ 11 std::system_error mechanism. 51460782 Refactored JPEG_xxx defines into enum class JpegMarkerCode 7024d222 Updated output folders of C++ projects for Visual Studio 2015 53c2a5fa Replaced custom USHORT typedef with standard uint16_t definition 93fb6914 Enabled language extensions. Macro UINT16_MAX requires that extensions are enabled. 1bc3eeda Added msbuild target to detect missing Code Contracts. 2850f0ee Replaced custom BYTE typedef with standard uint8_t definition 8d6a82cb Updated CMakeLists.txt to improve support for building Debug and Release versions af384efb Updated project file for Visual Studio 2015 (from VS 14 CTP) d6565167 Updated to output folder to bin subdirectory 5043d4a0 Merge branch 'master' of https://git01.codeplex.com/charls 3a9a34bb Added missing source file jpegstreamreader.cpp 398eb08b Updated CMakeLists.txt to match that source files are now in the src sub folder. 58696f6f Merge branch 'master' of https://git01.codeplex.com/charls 68c197f9 Updated to match renamed source files. a3b3cd91 Typo in comment fixed. d29005e7 Code changes from VS14 CTP 3 (not working yet) ed4cbb5a Fixed some simple static analyzer warnings (reported by CppCheck) effbd73b Updated logical const functions to actual const functions. 111a0476 Improved git ignore filter 7c39d9bd Removed Visual Studio 2008 support from the master git branch. VS 2008 cannot handle C++ v11. 4cb496f6 Updated project and file references to work with the new src folder 9bd89532 Updated file references to work with the new src folder f0e1b125 Moved CharLS C++ source code into src folder to improve directory structure 86b7305d Fixed typo in codeplex URL d10b31b7 Updated the md format to txt format and included a forward to the codeplex site for all project documentation 7116e6a7 Renamed from README.md to README.txt as Codeplex cannot render .md files correctly. 9a0acdd9 Moved all folders 2 levels up to get rid of the legacy Subversion structure 85dcf491 Removal of the legacy Subversion "branches" folder (not needed for git) 892bb929 Added std namespace to sizeof_t and abs to improve C++ compatibility 196df7d0 Removed not used (and not correct) copy constructor. This constructor causes compile problems with the Texas Instruments Code Composer Studio V6 C++ compiler. f48e0a4b Resolved a couple of static analyzer warnings 0f5644c3 Added unit tests to check low and high boundary values of pegMarkerSegment::CreateStartOfFrameMarker 2fa81f08 Removed usage of not needed Size structure and updated BYTE\USHORT to C++ 11 uint8_t\uint16_t 25f20261 Updated the JpegMarkerSegment class to use the C++ move pattern. c6124397 Implemented unit test JpegMarkerSegmentTest::CreateStartOfFrameMarker 4f8ca110 Updated the legacy NULL macro with the C++ 11 nullptr keyword. Alligned checking for nullptr with the modern C++ 11 style (alligned with unique_ptr\shared_ptr). bc1ba8a1 Including C headers using the C++ wrapper include files. f78313b9 Added class overview (UML) of the Encoder and Decoder strategy classes 6595b5d4 Merge branch 'master' of https://git01.codeplex.com/charls 02cdea54 Extracted the class JpegStreamReader to its own header and .cpp file to make the code and purpose more clear. 5417bcb9 Documented the disabled Visual Studio warnings (marked with [VS2013\VS2012] if they are still needed. 2ec5a423 Visual Studio 14 CTP project files c2c5d29e Some code cleanup (empty lines, trailing spaces and tabs). No functional changes. 89ab0a76 Removed not needed C style casts and updated C style cast to C++ casts. 75d65100 Replaced std::make_unique with std:unique_ptr construction to fix compile problem with GCC 4.8.2 c00d17ba Updated deprecated auto_ptr with standard C++ 11 unique_ptr ffc6af72 Updated CMakelists and added missing C++ file jpegstreamwriter.cpp REVERT: 25160a42 Remove non functional CharLSUnitTest REVERT: 02d47c08 Add support to build with Visual Studio 2019 REVERT: ae41922a Explicit define which files are text and binary in .gitattributes REVERT: b0598027 Improve the compatibility with Visual Studio 2019 v16.0.0-pre.1.1 REVERT: 682d3569 Update Windows SDK to 10.0.17134.0 REVERT: e4aeb179 Remove the obsolete plainc project REVERT: e9b2702a Update AppVeyor configuration REVERT: 8b9dc6df Add appveyor build status badge REVERT: 8f0955ad Update default Windows compiler to Visual Studio 2017 REVERT: 121a7524 Increase version in win32 resource script to 1.1.1 REVERT: 14b2fcec Update readme text REVERT: bd8cb5c4 Fix issue silx-kit#35 for the 1.x branch REVERT: 39a2070c Add <cstdio>for GCC REVERT: a1354742 Add <cstring> for GCC REVERT: 0fe169f6 Add include <cstdio> for GCC REVERT: f2702b92 Add #include <cstdio> for GCC REVERT: 9c589cd2 Add include for GCC REVERT: 521b956c Add missing prototype for GCC REVERT: a83e37f0 Add cstring include header for std::memcpy REVERT: 2471a107 Adding <memory>, required for gcc REVERT: bce1456b Perform code clean up as preparation REVERT: 9b7d672e Add .editorconfig and update indent_style REVERT: a4594b8a Exclude .vs folder REVERT: 2a1fe25d Remove enum name from OK (not allowed in C++ 03) REVERT: 5e2df30e Extend GIT ignored files created by Visual Studio REVERT: d7261156 Update charlstest to return EXIT_SUCCESS/FAILURE REVERT: 26e9a169 Merge pull request silx-kit#18 from malaterre/1.x-master REVERT: 97c4efe0 Make sure to check the return value of JpegLsDecodeStream REVERT: f752a3e3 Merged the fix from the master branch that memory overrun conditions were not detected when writting to the output buffer during pixel encoding. REVERT: b2511da9 Merged the fix to the DecodeToPnm method back to the 1.x branch (C++03) REVERT: 82c0339d Merge branch '1.x-master' of https://github.com/team-charls/charls.git REVERT: 73d351f2 Resolved silx-kit#9. EncoderStrategy::AppendToBitStream can now handle the condition that a second flush is needed to create enough room in the 32-bit buffer. REVERT: 9b661b9d Resolved some unused variable warnings (reported by clang) REVERT: 939c36e7 Removed not used class member _icompStart, reported by building with clang. REVERT: 5650402c Added namespace std:: to std::abs to ensure compiler selects the C++ version and not the C version. REVERT: c78a89b4 Replaced std::stoi with atoi. stoi is a C++ 11 function. Added build image and link to readme.md REVERT: eb1e5ecb Removed incomplete unit test project from solution. Updated code to build with gcc in C++03 mode. REVERT: 7a5a717d Correct list of sources files. REVERT: f9219b62 Added *.opendb to ignore list. REVERT: 78b85184 Merged CMakeLists.txt from master. REVERT: 55936611 Settings file for Travis CI REVERT: 8a49280a Fixes for the new file structure. REVERT: f93df692 Added Appveyor CI settings file to ensure 1.x branch can also be build on the Appveyor CI server. REVERT: 7dbffc5d Updated git ignore settings (copied from master branch) REVERT: 344fc586 Removed legacy VS projects that are not longer needed. Updated VS 2013 projects to VS 2015. REVERT: 16d9c8c6 Removed Subversion 1.0 branch. Git uses Tag to label versions REVERT: c4cc1ff6 Removal of .NET sub projects that legacy Microsoft Visual Studio C++ projects that will no longer be maintained on the 1.x branch. As Visual Studio 2015 Community is free it is no longer needed to maintain all the VS old project files. When required VS 2015 project files can be imported in older VS versions. The 1.x branch is primarly intended for cross platform C++ v03 development. REVERT: 5a8ce07a Update file and directory structure from Subversion to Git. REVERT: 29774486 Merge pull request silx-kit#4 from seanm/1.x-master REVERT: ba6db821 Fixed minor warning by removing extras parens REVERT: eb6fa178 Fixed link error due to some source files missing from CMakeLists REVERT: e4b993d1 Some fixes to ensure CharLS can be compiled with the TI C++ 7.4.8 compiler REVERT: 8dbde0a1 Added missing source file with JpegStreamWriter class git-subtree-dir: src/charls git-subtree-split: 20ed9e93be8b035e992a049f0bd3b109443e23bd
t20100
changed the title
Updated Fcidecomp plugin to v2.0.1 and CharLS library to v2.1.0
Updated Fcidecomp plugin (v2.0.1) and CharLS library (v2.1.0)
Jul 4, 2024
kif
approved these changes
Jul 5, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
too big for me
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR updates the FCIDECOMP filter from v1.0.2 to v2.0.1 and CharLS from 1.x branch to v2.1.0.
FCIDECOMP changelog does not advertise compatibility issues and the new version of the filter reads the test file https://github.com/silx-kit/hdf5plugin/blob/main/test/fcidecomp.h5 which was created with the previous version of the compression filter.