Sign in
bazel
/
bazel
/
f33ce3d8192953e425f613024ec04541ceb80f1b
/
src
/
tools
/
singlejar
/
output_jar.cc
f33ce3d
Add a `--multi_release` option to singlejar
by cushon
· 3 years ago
b28a1aa
Ignore `Multi-Release:` attributes in input jars
by cushon
· 3 years ago
44a8418
Roll back singlejar Multi-Release jar support
by cushon
· 3 years ago
286f4b4
Extract page aligned file copying into a helper function.
by Googler
· 3 years, 9 months ago
6570221
Allow multi-release jars to be disabled
by cushon
· 4 years ago
18073f2
Deduplicate `Multi-Release` manifest entries
by cushon
· 4 years ago
dacfee4
singlejar: preserve `Multi-Release` attributes in input manifests
by cushon
· 4 years ago
26c7e10
Cleanup: Replace NULL with nullptr
by Vertexwahn
· 4 years ago
2143541
Fix asan stack-buffer-overflow reported for output_jar.cc:1032.
by Googler
· 5 years ago
03cceee
Fix darwin singlejar build failure caused by https://github.com/bazelbuild/bazel/commit/85292b1a096927de9c5d54b222670e18a3929441.
by Googler
· 5 years ago
85292b1
Packaging CDS archive file (.jsa) in deploy JAR.
by Googler
· 5 years ago
ec2c574
Suppress a -Wsign-compare warning
by dchai
· 5 years ago
dd8a75e
add singlejar flag that fills in missing directory entries.
by kmb
· 6 years ago
717ccff
Windows: open files with at least read-sharing
by Laszlo Csomor
· 6 years ago
8bccd59
Report jar paths in singlejar one version enforcement
by cushon
· 6 years ago
0a5ea61
[singlejar] Fix Windows long path issue
by Loo Rong Jie
· 6 years ago
887a4cd
Update a TODO
by cushon
· 6 years ago
2a207ca
[singlejar] Special handling of ':' in resource path on Windows
by Loo Rong Jie
· 6 years ago
475f40a
Use a different date time when normalizing zip entries
by cushon
· 7 years ago
1655933
[singlejar] Use Win32 API directly in OutputJar::AppendFile
by Loo Rong Jie
· 7 years ago
27385b1
[singlejar] Port mapped_file for Windows
by Loo Rong Jie
· 7 years ago
6eefeb0
[singlejar] Set binary flag for Windows
by Loo Rong Jie
· 7 years ago
38fa850
[singlejar] Change off_t and ssize_t to C standard ptrdiff_t
by Loo Rong Jie
· 7 years ago
30f38d0
[singlejar] Various portability fixes for MSVC
by Loo Rong Jie
· 7 years ago
f37b2bf
[singlejar] Replace setbuffer with setvbuf
by Loo Rong Jie
· 7 years ago
2b14d35
In singlejar runs with --check_desugar_deps, error out when encountering j$.** files.
by kmb
· 7 years ago
c14b3c6
Internal change
by Laszlo Csomor
· 7 years ago
fe1bee5
Bug fix: a call to OutputJar::ReserveCdh potentially invalidates the addresses
by asmundak
· 7 years ago
ce714f8
Adjust the singlejar binary to accept an optional comma-separated "label" with
by Googler
· 7 years ago
db1426b
Exclude Android dependency checking from Bazel's singlejar build.
by kmb
· 7 years ago
f6b8d5e
add option to singlejar to double-check correct default and static interface method desugaring for Android.
by kmb
· 7 years ago
05fb2f8
fix singlejar signedness problems
by Benjamin Peterson
· 8 years ago
272c8f6
Support directories in --resources
by cushon
· 8 years ago
874852e
Create parent directories for resources
by cushon
· 8 years ago
cf2263c
Handle huge (>4GB) output jars.
by Sasha Smundak
· 8 years ago
26c3bae
Cut the dependency of singlejar on Bazel (the test still depend on it, but that's OK)
by Lukacs Berki
· 8 years ago
0241b59
Implement --nocompress_suffixes option.
by Sasha Smundak
· 8 years ago
6673b31
Add '0xCAFE' extra field to the first entry of the output jar (which is META-INF/). Unix 'file' utility uses it to distinguish jar file from zip file.
by Sasha Smundak
· 9 years ago
f29882b
Use WriteBytes instead of AppendFile to write entries.
by Sasha Smundak
· 9 years ago
23d7741
Fix test for whether the timestamp in the local header needs replacement.
by Googler
· 9 years ago
de1f310
Attempt to free wrong buffer.
by Sasha Smundak
· 9 years ago
b4cf5e3
Change C++ singlejar to use stdio for all output, instead of a mix of
by Googler
· 9 years ago
27f9661
Allow OutputJar subclass to customize entry handling behavior.
by Sasha Smundak
· 9 years ago
a217a0d
Add an option to the Concatenator to insert a newline before the contents of the merged entry.
by Sasha Smundak
· 9 years ago
5733f7e
When creating new files, set creator version to 2.0 instead of Unix spec 3.0. Otherwise unzip thinks that external_attributes field contains access mode bits and fails to extract.
by Sasha Smundak
· 9 years ago
f18e3a1
Save CEN (Central Directory) offset and size values in the End of Central Directory record if possible, even when we create Zip64 End of Central Directory record. It is a workaround for the bug in the Java compiler and 'javah' tool.
by Sasha Smundak
· 9 years ago
ee015d6
Remove entries' Unix timestamp extra fields when --normalize is present.
by Sasha Smundak
· 9 years ago
27598ac
When --exclude_build_data option is present, build-data.properties file should be copied from the first source archive containing it.
by Sasha Smundak
· 9 years ago
207349e
Generate Zip64 End Of Central Directory record if the output archive is >4G or has >64K entries.
by Sasha Smundak
· 9 years ago
4365be4
The value of the --resources flag is <PATH>:<NAME>, not <NAME>:<PATH>
by Sasha Smundak
· 9 years ago
b01948d
Implement --compression and --dont_change_compression.
by Sasha Smundak
· 9 years ago
10b3825
Preparation for enabling --compression/--dont_change_compression options:
by Sasha Smundak
· 9 years ago
0e666b8
Implement --normalize option. Refactor file writing code in OutputJar. Refactor test file preparation code in OutputJarSimpleTest.
by Sasha Smundak
· 9 years ago
ae762d8
Implement --include_prefixes.
by Sasha Smundak
· 9 years ago
92fbef0
Provide ExtraCombiner method.
by Sasha Smundak
· 9 years ago
3f814d7
Combiners overhaul: introduce Combiner interface common to all combiners, use it instead of switch statement in output_jar. Move implementations to combiners.cc
by Sasha Smundak
· 9 years ago
5747263
Initial checkin of the OutputJar and main.
by Sasha Smundak
· 9 years ago