summaryrefslogtreecommitdiffstats
path: root/jack/src
Commit message (Collapse)AuthorAgeFilesLines
* Update Ecj to 4.5M7mikaelpeltier2016-12-112-0/+15
| | | | Change-Id: If63eaaf5dda587d3cd1d19a7adcaf3c3ee5d2501
* Remove useless generics in method dealing with library enumsJean-Marie Henaff2016-12-097-30/+35
| | | | | | Bug: 22630667 Change-Id: I0a4d4c0e8c59ea159b6ea127f12b96512190d990
* ignore the parser outputWolfgang Wiedmeyer2016-02-081-0/+6
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* Merge "When obfuscating, drop local var debug info" into ub-jack-brestBenoit Lamarche2015-07-201-5/+10
|\
| * When obfuscating, drop local var debug infoBenoit Lamarche2015-07-201-5/+10
| | | | | | | | | | | | | | | | except when there is "-keepattributes LocalVarTable" Bug: 22596989 Change-Id: Iadf5e94fd6df95198b89a0f3833786f4b64a6e9c
* | Do not emit debug info for synthetic variables coming from JillBenoit Lamarche2015-07-201-1/+7
|/ | | | | Bug: 22491084 Change-Id: I398f63fa10e3cf2ba2f032dae713a967709c8faf
* Remove unused definition only for synthetic variablesmikaelpeltier2015-07-091-1/+1
| | | | | | | Bug: 18911912 Change-Id: I2530afc929431ccc4229daac5cbd218fc1b499b0 (cherry picked from commit d4f6789ff777d219c3411aec1104df17dba85eba)
* Now switchEnumSupport save the int[] to the synthetic fieldmikaelpeltier2015-06-251-0/+2
| | | | | | Bug: 22084863 Change-Id: I4de9b2478c1f15f90c014d85b9d41cb18cdfc317 (cherry picked from commit df62cc49c481b056eff0bfaa8b17c884901f4ecc)
* Move Version to schedlibYohann Roussel2015-06-253-163/+5
| | | | | | (cherry picked from commit 5328d72913fb1f702143db28e19bb54e22466149) Change-Id: Iccd6843cc56a6a2484105e9c6690bf8a04fddc7e
* Add version update in property files and scripts in build.xmlJean-Marie Henaff2015-06-252-9/+9
| | | | | | | | | - Use jack-version.properties and package it in distributed jars. - Use -Ddist.sha and -Ddist.build-id to set SHA and build ID in those property files before packaging. Change-Id: I5b2dd1ed4fdf01e77653e2338ce5a5c803d22e70 (cherry picked from commit 60efcff894d18d00c1eb71ba6aa8cd161001b451)
* Remove assertion status from Jack sanity checksJean-Marie Henaff2015-06-241-10/+0
| | | | | | | | | - adds a property to set when invoking ant to disable assertion (-Dtests.disable-assertions=true) - remove assertion status modification done in tests (cherry picked from commit 9fcbabb82e5292b7df75ea396eddd34ea8a1558c) Change-Id: Ibfc41fc8b0e7e47c597d3f92e420dfb151681396
* Check for source sub-file existence in CommonFilterBenoit Lamarche2015-06-191-2/+9
| | | | | | | Files contained in source directories may contain symbolic links that have targets that don't exist. Change-Id: I7428f15415efb32f085d213b7c24f06ad515b386
* Merge "Declare CLI api and let Jack implement it" into ub-jack-brestJean-Philippe Lesot2015-06-184-1/+164
|\
| * Declare CLI api and let Jack implement itYohann Roussel2015-06-184-1/+164
| | | | | | | | | | | | This should allow compatibility with the next server. Change-Id: Ic57b3b68fa31caad24298be24bed3db6f533ab2d
* | Rework ResourceImportConflictExceptionBenoit Lamarche2015-06-183-10/+9
| | | | | | | | | | | | | | | | | | With CaseInsensitiveFS it seems obvious that the relative path of the resource should be mentioned in the error message. (cherry picked from commit f952e84878bc26f24bb19b7faaf0a4686cb60cee) Change-Id: Ie24a59f7d74748a8db4ebd7a37454693bb144838
* | Merge "Fix missing tmp dir deletion" into ub-jack-brestJean-Marie Henaff2015-06-181-3/+6
|\ \
| * | Fix missing tmp dir deletionJean-Marie Henaff2015-06-181-3/+6
| |/ | | | | | | | | | | | | | | | | | | | | | | Share the same runnable hooks between Jack checks and Jack run in Jack api implementation. Otherwise tmpdir created during checks are not deleted. Bug: 20523457 (cherry picked from commit 0a258f00c03b5bae823b38ef3a541da6bb1b5381) Change-Id: I8dd72d52801779ae59f70cd1725057152b59bdea
* | Merge "Add support for case-sensitive FS in ReadWriteZipFS" into ub-jack-brestBenoit Lamarche2015-06-182-1/+6
|\ \ | |/ |/|
| * Add support for case-sensitive FS in ReadWriteZipFSBenoit Lamarche2015-06-172-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | Also: - deleted ZipInputOutputVFSCodec which is unused and similar to ZipFSCodec. - introduce constants in JackLibrary for numGroups and groupSize. Bug: 21796981 (cherry picked from commit 37f4d45c334a2e15f0d8aee2fadb2cd823b4ee54) Change-Id: Id744da9c97a04adf728b8688c91a0816715d5cce
* | Modify resource managment when Jack does an incremental buildmikaelpeltier2015-06-183-7/+49
|/ | | | | | | | | | - Delete all resources from the incremental folder, and load resources into JSession from imported libraries before modifying the list of imported libraries. Bug: 21515528 Change-Id: I9b63ec46eaf4ed0473fdce56d7b4917ba16b264a (cherry picked from commit 3dd4f30717a18c3d5143d67f197e34d834f3d152)
* Adapt ResourceTests to support CaseInsesitiveFSBenoit Lamarche2015-06-172-3/+2
| | | | | | Bug: 21486756 Change-Id: I3f0e0b7d6a2511b08129bff4bc34a0ba54aead4e (cherry picked from commit 973a373d8fc030c0ea3e8f6113caa29be3776454)
* Wrap FrontendCompilationException in Api01Benoit Lamarche2015-06-102-1/+4
| | | | | | Bug: 21751566 Change-Id: I029be65253f9dbd172a5be21f3beb8bf1be3b12a (cherry picked from commit f2bc7ad704d4187e1618bc9ef1fe30c4a03ba304)
* Merge "Fix bugs when using incremental with --output-jack" into ub-jack-brestJean-Philippe Lesot2015-06-083-59/+35
|\
| * Fix bugs when using incremental with --output-jackmikaelpeltier2015-06-053-59/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - When --output-jack is used, incremental folder contains all dex files and jayces files of imported libraries, thus Jack must remove imported libraries and import only incremental folder when --output-jack is used to avoid type conflict. It seems more performant than using collision policy. - Since ReadWriteZipFS and VFStoVSTWrapper is used incremental support with --output-jack was broken because input jack library has the location of incremental folder and output jack library has the location of the target jack file. Thus comparing location to avoid to copy dex file from a library to the same library does not work. I clean library usages to always used ReadWriteZipFS when it is required and to be able to properly skip dex copy when source and target library are the same library. Bug: 21600202 Change-Id: I0c5e899e12033f608d43cae9baecc1227ea158c9 (cherry picked from commit f524ed6445145988a8a7c4fc6ff5573c3cc882cd)
* | JPackage should never try to load a renamed or deleted itemsmikaelpeltier2015-06-053-10/+53
|/ | | | | | | Bug: 21105000 Change-Id: I4f4b2d355e57deb9e00b64c0f263a75daf8505d0 (cherry picked from commit 69d2257dd865f3ba9012ad33dbceba97e15730b9)
* Use 1 group instead of 2 for CaseInsensitiveFS digestBenoit Lamarche2015-06-011-1/+1
| | | | Change-Id: I0a19919d0e99ac550ccf6eea7576c920aa17df21
* Merge "Use CaseInsesitiveFS for all library output dirs" into ub-jack-brestBenoit Lamarche2015-05-292-3/+19
|\
| * Use CaseInsesitiveFS for all library output dirsBenoit Lamarche2015-05-292-3/+19
| | | | | | | | | | | | | | | | Bug: 18750643 (cherry picked from commit 1751a7aba3ae72251ea8b83592967034a6f8996c) Change-Id: Ifb600f8c0f3213631be91c0a080afe6d5d93e1b6
* | Merge "Always close the Jack output library" into ub-jack-brestBenoit Lamarche2015-05-294-152/+173
|\|
| * Always close the Jack output libraryBenoit Lamarche2015-05-294-152/+173
| | | | | | | | | | | | | | | | | | | | This change is required to make sure the Jack output library is closed, even when buildSession fails. It also makes sure that there is only one Jack output library instance. (cherry picked from commit 209c4fd6b447acceb73987f7df16c5bfbdf1ba0f) Change-Id: I16ed98ed34f6864ac518cac26d4157a35ae30e56
* | Merge "Add support to append in VFS" into ub-jack-brestBenoit Lamarche2015-05-294-20/+15
|\|
| * Add support to append in VFSBenoit Lamarche2015-05-294-20/+15
| | | | | | | | | | | | (cherry picked from commit 9495b1087a937a6175dda075bdd082864c09dc21) Change-Id: Iccece3057dcac434c24c29c152ed65e32d6ba18f
* | Merge "Add getLastModified() to VFile" into ub-jack-brestBenoit Lamarche2015-05-292-8/+13
|\|
| * Add getLastModified() to VFileBenoit Lamarche2015-05-292-8/+13
| | | | | | | | | | | | (cherry picked from commit 15013be7a1f51611e9d5b3ad697d031d268c9cc0) Change-Id: I74688ed5e90f2373753c2cef4e896b1eae81271a
* | Merge "Add new getPathFromRoot API in VFS" into ub-jack-brestBenoit Lamarche2015-05-292-26/+9
|\|
| * Add new getPathFromRoot API in VFSBenoit Lamarche2015-05-292-26/+9
| | | | | | | | | | | | | | | | And use it to remove JayceFileImporter hack. (cherry picked from commit 7a73a0418d5524240b7c97d9801b7db954aa018c) Change-Id: I211bc52211d7373c22a02d83be114774ebca7520
* | TypeDefRemover is now keeping StringDef and IntDefYohann Roussel2015-05-281-3/+0
|/ | | | | | | | Removing them is preventing compilation of SystemUI and a check showed that the classfile tool was keeping them. Bug: 21099584 Change-Id: I12bfdf4ef726e4f0c7435af3c484e773dff4e265
* Merge "A transformation for removing "TypeDef" annotations" into ub-jack-brestYohann Roussel2015-05-285-101/+306
|\
| * A transformation for removing "TypeDef" annotationsYohann Roussel2015-05-265-101/+306
| | | | | | | | | | | | | | | | | | The removed annotation are those annotated with @StringDef or @IntDef. Also warns if one of the removed annotation has a retention that is not SOURCE. Bug: 21099584 Change-Id: Idc3c04f929320c550260db9517336c49c6b4c5ea
* | Do not forget to trace implementation methodsmikaelpeltier2015-05-211-2/+2
| | | | | | | | | | | | | | | | | | | | - Tracing can forget to keep some methods due to tracing order. Trace a method that is a seed need also to trace implementation of this method for all types that are already kept. Bug: 21023926 Change-Id: I0a0df841b0f7441ddba056ad69a1f506db15afb3 (cherry picked from commit df69c567bb1903bdcf1a39be18a0e52c62709de0)
* | Merge "Do not remove type of 'null' expression otherwise type is lost" into ↵mikaelpeltier2015-05-211-4/+10
|\ \ | | | | | | | | | ub-jack-brest
| * | Do not remove type of 'null' expression otherwise type is lostmikaelpeltier2015-05-211-4/+10
| | | | | | | | | | | | | | | | | | Bug: 19508222 Change-Id: I839ee69b454bf74dd93a6dffcb900c56fb68c3de (cherry picked from commit 731bf4c954500229d95fdacf424f7ccad6e5bdcf)
* | | NullLiteral is allown to have throw statement as parentmikaelpeltier2015-05-2117-40/+199
|/ / | | | | | | | | | | | | | | - Rework checkValidity of JLiteral to be more precise Bug: 19534642 Change-Id: I0be226832680b99ba66f5b7acda0c7f7097fea82 (cherry picked from commit 51d872af9b65433731804c7933448337494af67e)
* | NotSimplifier must take into account floating typesmikaelpeltier2015-05-211-2/+10
| | | | | | | | | | | | | | | | | | | | - cmpl-x and cmpg-x do not return the same value for Nan operands. Consequently !(a>b) can not be replace by a<=b when using floating types otherwise the condition will not be evaluated correctly at runtime. Bug: 21212402 Change-Id: Idfd37459b0013e1d0fba274bbc0f9acc103bb605 (cherry picked from commit 0635c13e2a4581dec9e3b3e78c4b6dcd8327a2d7)
* | sched.runner property is used to select if ECJ is multi-threaded or notmikaelpeltier2015-05-211-4/+4
|/ | | | | Change-Id: I5620f87c9ef560edf36cc8d0ea31aef82710a9cb (cherry picked from commit 0ecc503d997f28fd5da522991ce966404b112d43)
* Make multidex type partition deterministYohann Roussel2015-05-181-6/+27
| | | | | | | By sorting types by name before filling the output dex files. Bug: 19505195 Change-Id: Ib7c11bc2b072c422e40188cfce7502e7f23679c8
* Modify Api01Config and Jack to support multiple Jarjar config filesJean-Marie Henaff2015-05-124-14/+82
| | | | | | | | Bug: 20913411 (cherry picked from commit 517dec6fa299a3755f38681b3fcea387c84873f0) Change-Id: If9c1e8f827e8ed3fd68c4999a8700608a95ce7c9
* Disable sanity checks by defaultYohann Roussel2015-05-041-2/+2
| | | | | Bug: 18423932 Change-Id: I009d23e5fb49110dd2c89a5c1f4da172b8025cb0
* Merge "Make Strings comply to Json specifications in SdkReporter" into ub-jackJean-Philippe Lesot2015-05-041-2/+52
|\
| * Make Strings comply to Json specifications in SdkReporterJean-Marie Henaff2015-04-301-2/+52
| | | | | | | | | | | | | | http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf Bug: 20320225 Change-Id: I57d86f622c02f8a36df212c29869fac1583cc032