Age | Commit message (Collapse) | Author | Files | Lines |
|
PiperOrigin-RevId: 513524040
|
|
PiperOrigin-RevId: 513248503
|
|
|
|
|
|
Install OSSF scoreboard
|
|
|
|
|
|
So that fuzzing can go on with simulated allocation failures
|
|
|
|
PiperOrigin-RevId: 506138469
|
|
PiperOrigin-RevId: 506096478
|
|
PiperOrigin-RevId: 505734532
|
|
PiperOrigin-RevId: 505484299
|
|
PiperOrigin-RevId: 505061835
|
|
|
|
PiperOrigin-RevId: 502401179
|
|
Fixes https://github.com/google/brotli/issues/1001
|
|
|
|
Fix #875
|
|
|
|
|
|
|
|
Fix #983
|
|
Currently, the output buffer is a std::vector<uint8_t>.
When the buffer grows, resizing will cause unnecessary memcpy().
This change uses a list of bytes object to represent output buffer, can avoid the extra overhead of resizing.
In addition, C++ code can be removed, it's a pure C extension.
|
|
|
|
Drive-by: drop premake5 support
|
|
|
|
* Remplace deprecated win-2016 workflows
* Update action/checkout to v3
|
|
|
|
Similar to commit ce222e317e36aa362e83fc50c7a6226d238e03fd.
|
|
By convention projects using CMake which can build either static or
shared libraries use a BUILD_SHARED_LIBS flag to allow selecting between
both: the add_library() command automatically switches between both using
this variable when the library kind is not passed to add_library(). It
is also usual to expose the BUILD_SHARED_LIBS as an user-facing setting
with the option() command.
This way, the following will both work as expected:
% cmake -DBUILD_SHARED_LIBS=OFF ...
% cmake -DBUILS_SHARED_LIBS=ON ...
This is helpful for distributions which need (or want) to build only
static libraries.
|
|
|
|
Without this patch, the three libraries are not provided with valid
rpaths, meaning they are not packaged correctly for macos.
c.f. https://github.com/google/brotli/issues/934
(which is a similar issue) but should be fixed by this fix as well.
Also https://gitlab.gnome.org/Infrastructure/gimp-macos-build/-/merge_requests/129
|
|
When i have ~/.bc configuration file with content:
scale=2
which is changing default behaviour (scale=0), bootstrap is not working.
|
|
Documentation:
- add note that brotli is a "stream" format, not an archive-like
- regenerate .1 with Pandoc
Build:
- drop legacy "BROTLI_BUILD_PORTABLE" option
- drop "BROTLI_SANITIZED" definition
Code:
- c: comb includes
- c/enc: extract encoder state into separate header
- c/enc: drop designated q10 codepath
- c/enc: dealing better with flushing of empty stream
- fix MSVC compilation
API:
- py: use library version instead of one in version.h
- c: add plugable API to report consumed input / produced output
- c/java: support "lean" prepared dictionaries (without copy of source)
|
|
* add pyproject.toml
pypa/pip#8559
https://pip.pypa.io/en/stable/reference/build-system/pyproject-toml/#fallback-behaviour
* modify requirements
https://github.com/google/brotli/pull/987#issuecomment-1315486841
|
|
Envoy builds brotli with -Werror, and these strict prototypes are picked
up by newer versions of clang.
|
|
(#966)
* Wrap interface include directories with BUILD_INTERFACE generator expression
When exporting a CMake target using install(TARGETS) + install(EXPORT),
CMake requires all include directories to be clean of build system
directories.
https://cmake.org/cmake/help/latest/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.html
This change also allows use of brotli as a CMake subproject and
installing + exporting it.
* Fix typo in generator expression
|
|
Fixes:
./bootstrap: line 37: exit: $: numeric argument required
|
|
* bootstrap: Verify functionality of sed
Check for the existence of sed by running a simple substitution rather
than using the --version flag. This lets us remove the weird exclusion
of FreeBSD from checking the sed requirement, and fixes checking the sed
requirement on other systems like macOS that use BSD sed, which doesn't
support --version.
* bootstrap: Detect flag for sed extended RE
Detect whether sed needs -E or -r to enable extended regular
expressions. Fixes bootstrap on macOS, whose BSD sed does not support
-r.
GNU sed has supported -E as a synonym for -r since version 4.2 (2009),
initially as an undocumented option for compatibility with BSD sed:
http://git.savannah.gnu.org/cgit/sed.git/commit/sed/sed.c?id=3a8e165ab02487c372df217c1989e287625ce0ae
and later as a documented option after -E became POSIX:
http://git.savannah.gnu.org/cgit/sed.git/commit/sed/sed.c?id=8b65e07904384b529a464c89f3739d2e7e4d5135
|
|
Starting python 3.10, the use of - instead of _ will get a warn (see https://bugs.gentoo.org/796281 for reference)
Signed-off-by: Marco Scardovi <marco@scardovi.com>
|
|
Not providing VERSION to "project" command will cause a warning.
Since this project's version is loaded from other files, this policy will help suppress the warning generated by cmake.
This policy is set because we can't provide "VERSION" in "project" command.
Use `cmake --help-policy CMP0048` for more information
|
|
Fix -Werror=vla-parameter errors with GCC 11.2.0
|
|
Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org>
|
|
|
|
Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org>
|
|
Fix typo in Gihtub actions badge
|
|
|
|
Not all combinations are migrated to the initial configuration; corresponding TODOs added.
Drive-by: additional combinations uncovered minor portability problems -> fixed
Drive-by: remove no-longer used "script" files.
Co-authored-by: Eugene Kliuchnikov <eustas@chromium.org>
|
|
Prepare to use copybara worklow.
|