• Home
  • History
  • Annotate
  • only in /external/dexmaker/src/main/java/com/google/dexmaker/
History log of /external/dexmaker/src/main/java/com/google/dexmaker/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
95689a700bfea5e2d78380a442fc2903cc40a3f2 12-Oct-2012 Mark Brophy <mbrophy@google.com> Update to latest dexmaker.

This fixes the bug below which prevented mocking of any ViewGroup
extension.
https://code.google.com/p/dexmaker/issues/detail?id=12

Change-Id: I459fb259244476b89b9a4b50c6a6cf88f2e1f2f6
ppDataDirGuesser.java
ode.java
tock/ProxyBuilder.java
b09530734220ef8b19f8bfbe66659e92b0ddc795 10-Aug-2012 Tsu Chiang Chuang <tsu@google.com> Fix a bug where post JB AppDataDirGuesser gets a null cache directory.
This is due to the fact that the format of the classloader changed. We
can now use the system property java.io.tmpdir instead. If that fails,
we fall back on the original logic.
ppDataDirGuesser.java
ebb25ef16a03f478946593d2d2ada043e0007220 22-Jun-2012 Alex Klyubin <klyubin@google.com> Make AppDataDirGuesser read classpath using Reflection from
the classloader's "path" field when available (Gingerbread and
below).

The reason for not parsing the classpath from the output of
toString() is that on some platforms (e.g., Eclair) the output
does not contain the classpath.

This change originated in LittleMock r10.
ppDataDirGuesser.java
524c023fb37b41e06b69f1b696100dd465acb353 22-Jun-2012 Alex Klyubin <klyubin@google.com> Fix a bug where AppDataDirGuesser picked a non-existent cache
directory which resulted in DexMaker failing to output files there.

The fix makes AppDataDirGuesser create the application's cache
directory if necessary.

This change originated in LittleMock r9.
ppDataDirGuesser.java
8ec4b1db3afa51730508be7064d2111b723ac2cd 17-Jan-2012 Hugo Hudson <hugohudson@google.com> Little javadoc changes.
ode.java
1af1da6af1f59f0bc1f9d048f31279ce5e614c3d 13-Jan-2012 Jesse Wilson <jessewilson@google.com> Two new features for ProxyBuilder:
- generate a proxy class directly (with no instance). This is for Mockito. I'm not 100% convinced on this one yet.
- generate implemented interfaces.

Also fix some bugs with covariant return types. We had bugs when two methods had the same name and parameters but different return types.
tock/ProxyBuilder.java
679fb66c12a24691a6d7720d79c64c28f5b0532b 12-Jan-2012 Jesse Wilson <jessewilson@google.com> Better exception message when construction fails.
tock/ProxyBuilder.java
73cfa4498f640e0915b95fc806db4a0d54172fe8 11-Jan-2012 Jesse Wilson <jessewilson@google.com> Adopt Hugo Hudson's AppDataDirGuesser in the core DexMaker. It's far too cumbersome to rely on frameworks to include such heuristics.
ppDataDirGuesser.java
exMaker.java
tock/ProxyBuilder.java
2e28a229885e9ba7fec9ef42cbf30fdcf8a0c939 10-Jan-2012 Jesse Wilson <jessewilson@google.com> Implement a cache for proxy classes.
tock/ProxyBuilder.java
5692b3b0303c55524ff206dc7840ffdb1fa47628 10-Jan-2012 Jesse Wilson <jessewilson@google.com> Update Javadocs.
exMaker.java
3e7a2230ec75b59ae9b4aad292f51df2542ced7d 10-Jan-2012 Jesse Wilson <jessewilson@google.com> More documentation, including method documentation for all methods on Code.
ode.java
exMaker.java
ieldId.java
ethodId.java
ypeId.java
242b6fb150cd9fc4e0b871b9595bc1bdd84cceab 10-Jan-2012 Jesse Wilson <jessewilson@google.com> Merge branch 'master' of https://code.google.com/p/dexmaker

Conflicts:
src/test/java/com/google/dexmaker/DexMakerTest.java
4838105a39ae6c608c2a0e242ead249d8683a5d0 10-Jan-2012 Jesse Wilson <jessewilson@google.com> Add a move op
ode.java
c0271e9981ddd85a13ed88defd0b5b1a5ccc6f46 10-Jan-2012 Jesse Wilson <jessewilson@google.com> Rename declareConstructor() to declare(). Add more parameter validation and tests.
exMaker.java
ethodId.java
tock/ProxyBuilder.java
5624228626d7cdf206de25a6981ba8107be61057 09-Jan-2012 Jesse Wilson <jessewilson@google.com> Synchronization.
ode.java
exMaker.java
ff561a27def418f8c19a36df5fec727dfc8bb17a 09-Jan-2012 Jesse Wilson <jessewilson@google.com> More documentation on Code generation.
ode.java
d6c77efc0b187577dd7956070adfc7c335f65698 09-Jan-2012 Jesse Wilson <jessewilson@google.com> More documentation. Rename compare ops.
ode.java
omparison.java
naryOp.java
97b0be6b3da9df87e9026f880b0b0bffc7242450 08-Jan-2012 Jesse Wilson <jessewilson@google.com> One cast() method for both numeric and type casts.
ode.java
tock/ProxyBuilder.java
b0f6ea8cec29bd1b2453e8fd15d9c6f65ca3ea2c 07-Jan-2012 Jesse Wilson <jessewilson@google.com> Replace two methods not() and negate() with a new type UnaryOp and an op() method. I'm hoping this simplifies life for compiler authors who won't need to do manual dispatch.
ode.java
exMaker.java
naryOp.java
008290ab55ac24ef656d254e41a03ad2b1fba7d2 06-Jan-2012 Jesse Wilson <jessewilson@google.com> Javadoc cleanup
exMaker.java
23abc2fe89ec3713645d64bdb74415a9090084f4 06-Jan-2012 Jesse Wilson <jessewilson@google.com> Use 'new Label()' rather than 'Code.newLabel()' to make it clear that allocating a label is a free operation, not depending on the current state of the Code instance.
ode.java
exMaker.java
ieldId.java
abel.java
ocal.java
ethodId.java
tock/ProxyBuilder.java
ff314e1f06b974be78de3356a71072dbf0a450cd 06-Jan-2012 Jesse Wilson <jessewilson@google.com> Use one dex directory instead of two.
exMaker.java
tock/ProxyBuilder.java
0e49fb9243b7463835ab80ef7cc62435f55846ce 06-Jan-2012 Jesse Wilson <jessewilson@google.com> Add a big example in DexMaker on its use. Also fix up some of the problems encountered while writing the example:

- Type should be TypeId
- Result targets should be in a consistent position in the instruction parameter list. I decided to go with first because methods have parameters in varargs that must be last.
ode.java
onstants.java
exMaker.java
ieldId.java
ocal.java
ethodId.java
ype.java
ypeId.java
ypeList.java
tock/ProxyBuilder.java
ab220f004db90fa94ef9349ca1adde5f89012e8d 05-Jan-2012 Jesse Wilson <jessewilson@google.com> Rename DexGenerator to DexMaker.
ode.java
exGenerator.java
exMaker.java
tock/ProxyBuilder.java
b3b96215f3dcbacb3f0d86780ac635cfc14ae9cf 05-Jan-2012 Jesse Wilson <jessewilson@google.com> Include move-parameter instructions for the 'this' parameter if it exists.
ode.java
ocal.java
1977585657cb304a9e1ffa8a2320fa8053a7383c 03-Jan-2012 Jesse Wilson <jessewilson@google.com> Move ProxyBuilder to the .stock subpackage (better names welcome) and kill DexCacheException.
exCacheException.java
roxyBuilder.java
tock/ProxyBuilder.java
90699b97998f1582a921202fb909f17f9718d177 03-Jan-2012 Jesse Wilson <jessewilson@google.com> Don't require use of dx-implementation detail class AccessFlags in the public API; just use java.lang.reflect.Modifier.
exGenerator.java
roxyBuilder.java
579d7739c53a2707ad711a2d2cae46d7d782f061 03-Jan-2012 Jesse Wilson <jessewilson@google.com> Initial add of dx and dexmaker.
inaryOp.java
ode.java
omparison.java
onstants.java
exCacheException.java
exGenerator.java
ieldId.java
abel.java
ocal.java
ethodId.java
roxyBuilder.java
ype.java
ypeList.java