aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/ijar
Commit message (Collapse)AuthorAge
* Fix compile warningsGravatar Kristina Chodorow2015-10-20
| | | | | -- MOS_MIGRATED_REVID=105862956
* Recognize SourceDebugExtension attributes in ijarGravatar Liam Miller-Cushon2015-10-20
| | | | | | | | This doesn't change behaviour (they continue to get dropped from the interface jar), but it avoids some spurious "skipping unknown attribute" warnings. -- MOS_MIGRATED_REVID=105767979
* Fix bazel's ijar test afterGravatar Liam Miller-Cushon2015-10-15
| | | | | -- MOS_MIGRATED_REVID=105439722
* Support Java 8 MethodParameters attribute in ijarGravatar Liam Miller-Cushon2015-10-14
| | | | | -- MOS_MIGRATED_REVID=105417011
* Rationalize copyright headersGravatar Damien Martin-Guillerez2015-09-25
| | | | | | | | | | | The headers were modified with `find . -type f -exec 'sed' '-Ei' 's|Copyright 201([45]) Google|Copyright 201\1 The Bazel Authors|' '{}' ';'` And manual edit for not Google owned copyright. Because of the nature of ijar, I did not modified the header of file owned by Alan Donovan. The list of authors were extracted from the git log. It is missing older Google contributors that can be added on-demand. -- MOS_MIGRATED_REVID=103938715
* Increase the size of ijar_testGravatar Damien Martin-Guillerez2015-09-16
| | | | | | | It is timingout on our Darwin CI machine, see http://ci.bazel.io/job/Bazel/PLATFORM_NAME=darwin-x86_64/110/console -- MOS_MIGRATED_REVID=103130707
* Fixes ijar tests on OSXGravatar Damien Martin-Guillerez2015-09-15
| | | | | | | | | Two things were broken: - Paths to zip/unzip when in the PATH by latest change - md5sum was broken by FreeBSD change -- MOS_MIGRATED_REVID=103077733
* Remove a line accidentally left in from debugging.Gravatar Lukacs Berki2015-09-15
| | | | | -- MOS_MIGRATED_REVID=103076612
* Make ijar appropriately prune InnerClasses, at the cost of a lot of unholy ↵Gravatar Lukacs Berki2015-09-15
| | | | | | | hacks. -- MOS_MIGRATED_REVID=103068956
* Fix ijar compressionGravatar Damien Martin-Guillerez2015-09-11
| | | | | | | | | | Ijar was compressing with the zlib wrapper, which is incompatible with the ZIP format. Unfortunately, the zlib wrapper is totally undocumented. Fixes #436. -- MOS_MIGRATED_REVID=102846162
* Add CRC-32 computation to third_party/ijar:zipperGravatar Damien Martin-Guillerez2015-09-11
| | | | | | | | | This can be a problem for some usage of the produced ZIP file to not compute the CRC-32 correctly. We still skip it for ijar for speed. -- MOS_MIGRATED_REVID=102844157
* Add more source filegroups for the installerGravatar Damien Martin-Guillerez2015-09-03
| | | | | | | | | | | | | | | | | | | | | | With those filegroup the tutorial is able to compile iOS and App Engine stuff. Here how to test: git clone https://github.com/bazelbuild/bazel git clone https://github.com/bazelbuild/examples export BAZEL_WORKSPACE=$PWD/bazel export EXAMPLES_WORKSPACE=$PWD/examples cd $BAZEL_WORKSPACE ./compile.sh ./output/bazel --bazelrc=/dev/null --nomaster_bazelrc \ build //scripts/packages:install.sh export BAZEL_INSTALLER=$(readlink bazel-bin)/scripts/packages/install.sh cd $EXAMPLES_WORKSPACE ./tutorial/ci/build.sh -- Change-Id: I553ab8821f5a5cdcc7a8b4614e23ca4c79581e4f Reviewed-on: https://bazel-review.googlesource.com/1878 MOS_MIGRATED_REVID=102239866
* Fix a signed vs unsigned comparison warning in the ijar zipper.Gravatar Erik Kuefler2015-09-03
| | | | | | | | | | | | | This is more than just a cosmetic issue. Since groovy and appengine rules depend directly on this target, the zipper gets built in the user's workspace whenever a groovy/appengine target is built. If the workspace is set to upgrade warnings to errors, this can cause builds to fail. -- Change-Id: I6c8b347df14098945c788411fc3e38f9c128596f Reviewed-on: https://bazel-review.googlesource.com/1951 MOS_MIGRATED_REVID=102223767
* Add support for compression in //third_party/ijar:zipperGravatar Damien Martin-Guillerez2015-08-31
| | | | | | | | | | | Add the 'C' flag to //third_party/ijar:zipper to try to compress files using the DEFLATE algorithm. To avoid regression, creation of uncompressed ZIP files is still the default. -- Change-Id: I8ad7182d8f6f152abd56ae472a406cbb8d39fb64 Reviewed-on: https://bazel-review.googlesource.com/#/c/1821/ MOS_MIGRATED_REVID=101925953
* Port to FreeBSD.Gravatar Doug Rabson2015-08-26
| | | | | | | -- Change-Id: I4e65cc583e758d2f7e45209ffcb37f6a871e2ed7 Reviewed-on: https://bazel-review.git.corp.google.com/#/c/1840 MOS_MIGRATED_REVID=101462155
* Correctly process "ScalaInlineInfo" attribute. This is new in Scala 2.11.7 ↵Gravatar Googler2015-08-24
| | | | | | | (and 2.12). -- MOS_MIGRATED_REVID=101358929
* Fix some C++ compiler warnings to comply with -Wall.Gravatar Ulf Adams2015-07-27
| | | | | | | | | Some progress towards #311. -- Change-Id: I9276519d4a97d358b7c4f4e34a861522d75dd495 Reviewed-on: https://bazel-review.googlesource.com/#/c/1710 MOS_MIGRATED_REVID=99019961
* Fix zipper for empty filesGravatar Kristina Chodorow2015-07-02
| | | | | | | It was erroring out because it could not mmap an empty file. -- MOS_MIGRATED_REVID=97338974
* Ijar's zipper: fallback when external attributes is unsetGravatar Damien Martin-Guillerez2015-06-29
| | | | | | | | Some ZIP files does not define external attributes leading to wrong uncompression by the zipper of ijar. -- MOS_MIGRATED_REVID=97117828
* Set-up travis OSX to compile using JDK 7Gravatar Damien Martin-Guillerez2015-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | This is introducing a few changes to use the Java compiler from errorprone: - add the --java_langtools flag to the shell tests so we do the tests with the same java compiler tooling than Bazel, and - added the langtools the bootclasspath of the JavaBuilder tests. - tagged some tests and deactivated them on travis OSX because they either requires Java 8 or a lot of disk space. To do the same change on a local install, one must: - change the source and target versions to 7 in the tools/jdk:toolchain target, - use the .travis/jdk7.WORKSPACE file instead of the default Bazel workspace (it contains a maven_jar refering to the errorprone's java compiler tools), and - set the JAVA_VERSION environent variable to "1.7". The .travis/build.sh script does just that when under OS X. -- Change-Id: Idb466cf47cf7df35a34fb0dd8d186628aae0cba7 Reviewed-on: https://bazel-review.googlesource.com/#/c/1520/ MOS_MIGRATED_REVID=96011123
* Reorganized compile.shGravatar Damien Martin-Guillerez2015-06-10
| | | | | | | | | | | | | | | | Now the blessed Bazel binary is self-hosted and correctly labeled. All tools are also built using Bazel and labeled with the release. At the end of the compilation, the output folder only host the Bazel binary now. We use temporary folders to store the intermediate artifacts. Also integrated ./bootstrap_test.sh in compile.sh so there is only one script for everything regarding bootstraping Bazel. -- Change-Id: Idadbd075e7b8ecb6e306b919b7a73c647c5cfbae Reviewed-on: https://bazel-review.googlesource.com/#/c/1460/ MOS_MIGRATED_REVID=95625880
* Use the ijar ZIP implementation in Blaze instead of libarchiveGravatar Damien Martin-Guillerez2015-06-01
| | | | | | | | | | | This ZIP implementation is lightweight and rely on zlib for compression. libarchive was a bit tricky to set-up so it's better to use that one. -- Change-Id: I607b492998572e834e095a4606eeb77c0b574542 Reviewed-on: https://bazel-review.googlesource.com/#/c/1410/ MOS_MIGRATED_REVID=94910072
* Fix %O format string in ijar's zipperGravatar Damien Martin-Guillerez2015-06-01
| | | | | | | | | Also remove the leading slash when flattening files Fixes #219. -- MOS_MIGRATED_REVID=94751441
* Added limits.h to headers to ijarGravatar Damien Martin-Guillerez2015-05-29
| | | | | | | | | For some reason PATH_MAX is not found on TravisCI. Towards fixing #212. -- MOS_MIGRATED_REVID=94696153
* Refactor ZIP implementation of ijarGravatar Damien Martin-Guillerez2015-05-28
| | | | | | | | | | | | | | | | | | | | It extracts Zip/Unzip methods of ijar in a separate library. A zipper binary is provided to test that implementation outside. Note that this implementation does not compute CRC-32 and unzip will complain on file zipped with it (but Java won't complain). The error handling has been replaced to use proper error reporting instead of launching abort()'s allover the place so ijar's zip library can be used outside of ijar. Finally, support for ZIP preamble has been added to handle self-extractable ZIP files. -- Change-Id: I833034b4c0054925bada75102fe040db875da789 Reviewed-on: https://bazel-review.googlesource.com/#/c/1371/ MOS_MIGRATED_REVID=94656262
* Improved ijar shell testsGravatar Damien Martin-Guillerez2015-05-04
| | | | | | | | | | | | | | | | | | | The ijar tests were a bit bloated so using our shell test framework to separate those tests into individual function and enable sharding. The ijar tests are still ~70s on a macbook with a SSD drive (compared to ~140s before). Those 70s are spent in tests that write big files and test ijar behavior with those big files. In those tests, disk IOs dominate time. Timing the various operation gave that jaring the 2.2Gb large file takes ~17s each time (operation we do twice). Simply creating that file takes approximatively 10s. Reducing the number of operations in that test would reduce significantly its duration. Unfortunately, that would reduce the coverage of the test. -- Change-Id: Idc817ab32b78b69bde8dd95ddedbcf6b9f12ee3f MOS_MIGRATED_REVID=92723971
* Normalized headers path for ijar.Gravatar Damien Martin-Guillerez2015-04-24
| | | | | -- MOS_MIGRATED_REVID=91883301
* PRIx32 macro needs __STDC_FORMAT_MACRO defined on systems instead of ↵Gravatar Damien Martin-Guillerez2015-03-26
| | | | | | | | | | | __STDC_LIMIT_MACROS Import of https://github.com/igkm/bazel/commit/8e9e227c574bd995564b014b3e1fe9808fecd128 Fixes #42 -- MOS_MIGRATED_REVID=89582079
* Open-source Bazel integration testsGravatar Damien Martin-Guillerez2015-03-25
| | | | | | | | | It is a first batch of integration tests for Bazel. They tests some basic behaviors and nominal cases of Bazel rules (especially they tests the behavior of the examples provided in //examples). -- MOS_MIGRATED_REVID=89440074
* Open-source ijar's testsGravatar Damien Martin-Guillerez2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88210083
* Add README.txt to third party's ijarGravatar Damien Martin-Guillerez2015-03-10
| | | | | -- MOS_MIGRATED_REVID=88113124
* Update from Google.Gravatar Han-Wen Nienhuys2015-02-25
-- MOE_MIGRATED_REVID=85702957