Age | Commit message (Collapse) | Author |
|
|
|
Closes https://github.com/google/auto/pull/831
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=306447364
|
|
RELNOTES=Release the SerializableAutoValue extension.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=304211473
|
|
must be at least Java 8, but it can generate code for Java 7.
Also update gwtserializer/pom.xml to specify Java 7 rather than Java 6. Compiling with -source 6 is no longer supported in recent Java versions.
Fixes https://github.com/google/auto/issues/771.
Closes https://github.com/google/auto/pull/524.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=279157033
|
|
- mvn versions:use-latest-releases
- mvn versions:update-properties
The immediate motivation is that we just broke Caliper's build by updating Dagger, which requires a newer version of JavaPoet than the one currently used by AutoValue (which, sadly, is the version selected by Maven).
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=272889328
|
|
Renames may include:
- containsAllOf => containsAtLeast
- containsAllIn => containsAtLeastElementsIn
- isSameAs => isSameInstanceAs
- isOrdered => isInOrder
- isStrictlyOrdered => isInStrictOrder
The other major change is to change custom subjects to extend raw Subject instead of supplying type parameters. The type parameters are being removed from Subject. This CL will temporarily produce rawtypes warnings, which will go away when I remove the type parameters (as soon as this batch of CLs is submitted).
Some CLs in this batch also migrate calls away from actualAsString(). Its literal replacement is `"<" + actual + ">"` (unless an object overrides actualCustomStringRepresentation()), but usually I've made a larger change, such as switching from an old-style "Not true that..." failure message to one generated with the Fact API. In that case, the new code usually contains a direct reference to this.actual (a field that I occasionally had to create). Another larger change I sometimes made is to switch from a manual check-and-fail approach to instead use check(...). And sometimes I just remove a withMessage() call that's no longer necessary now that the code uses check(...), or I introduce a check(...) call. (An assertion made with check(...) automatically includes the actual value from the original subject, so there's no need to set it again with withMessage().)
Finally, there's one CL in this batch in which I migrate a Correspondence subclass to instead use Correspondence.from.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=251495286
|
|
It's released separately from all its children, so any updates we make there don't take effect until we make a release and update the child projects to use that.
This requires pushing various configuration down into the child projects.
Doing so makes the recent attempted update to Truth 0.44 actually take effect.
Also, update Compile-Testing to the newly released version, which actually works with Truth 0.44.
That upgrade exposes that AutoValue was relying on a transitive dependency on Truth8, which was removed in the latest Compile-Testing, so I've added explicit deps.
https://github.com/google/compile-testing/commit/43a513ab14a5b4ab5810a13e14d8cb763546ab5d
Also, I removed an explicit version for compile-testing in the AutoValue functional tests. That explicit version may or may not have been needed before, but it shouldn't be now.
Likely it would make sense to remove more versions explicitly specified elsewhere.
(Additional possible future work: Put deps on other Auto projects (like when AutoService depends on AutoCommon) into <dependencyManagement>.)
Finally, I added some <url> values, since Maven has been generating bogus ones all along (by appending the subproject name to the parent URL, producing URLs something like "https://github.com/google/auto/auto-value").
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=245779060
|
|
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=244250754
|
|
Along the way, also clean up some explicit versions that are set in auto-parent
Fixes https://github.com/google/auto/issues/683
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=223540267
|
|
- Give each pom a parent so all versions can be set accordingly with mvn versions:set
- Add the src/it/* modules to the parent pom modules list
- But don't release them, just build them
- Mark auto-service as provided scope
- Fix some javadoc that is causing Maven to barf
RELNOTES=n/a
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=189393305
|
|
Fixes https://github.com/google/auto/issues/268
I followed the instructions in https://maven.apache.org/guides/mini/guide-using-one-source-directory.html because it seemed like the easiest way forward without moving around any files.
RELNOTES=`@AutoValue`, `@AutoAnnotation`, `@AutoOneOf`, and `@Memoized` are now in a separate artifact, `auto-value-annotations`. This allows users to specify the annotations in compile scope and the processor in an annotation processing scope, without leaking the processor to a release binary. To upgrade to this version of auto-value, you'll need to add this new artifact as a dependency.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=188505001
|
|
always been present, as a side-effect of the <resources> clause. That clause is only there so that the *.vm files are present. A new test ensures that there are no *.java files any more.
I believe this is the reason for the "Implicitly compiled files were not subject to annotation processing" warning that has been causing tests to fail on Travis occasionally. The compiler finds com/google/auto/value/AutoValue.java in the autovalue jar. If the timestamp of that entry is not older than the com/google/auto/value/AutoValue.class alongside it, the compiler recompiles it, and by default outputs the warning.
RELNOTES=Don't include sources in autovalue.jar.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=183130194
|
|
RELNOTES=n/a
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=182924975
|
|
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=182218347
|
|
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=178808754
|
|
dependencies and plugins for the functional test poms (which don't use auto-parent).
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=177592315
|
|
Also changed truth.SubjectFactory to truth.Subject.Factory (plain renaming) and use method reference instead of anonymous class to create the factory when applicable.
FailureMetadata, an opaque object to its users, is introduced to replace FailureStrategy in in custom Subject in order to resolve some existing flaws of FailureStrategy as well as enable new features to be added to Truth.
New API is available in Truth-0.36, if there is a build/pom.xml, it's also updated to use this version.
RELNOTES=n/a
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=175302659
|
|
Google-internal test that checks for stray unshaded entries like those in the jar.
Fixes https://github.com/google/auto/issues/537.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=172528313
|
|
This should have been done when 1.5 was released.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=169493872
|
|
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=165389482
|
|
truth dependency version to 0.34.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=162407532
|
|
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=153774612
|
|
earlier versions while we were preserving the ability to build on Java 7, but now that that's gone we should update.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=152392370
|
|
Eclipse method-order bug. That hack has been deleted.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=152284475
|
|
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=150397728
|
|
choosing an older version in that case and excluding tests that require the newest version.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=142697281
|
|
the AutoValue POM. We do in fact want to use the later of AutoValue's and Compile Testing's versions of Truth. Otherwise we can (and in fact did) get hard-to-debug linkage errors.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=142595335
|
|
in the -classpath. Add a test for this configuration. Also fix a place where we were incorrectly comparing TypeMirrors using .equals, which is explicitly specified as being unreliable.
Fixes https://github.com/google/auto/issues/414.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=142496146
|
|
introduces the doclint, and also introduces the flag to turn it off. Done in a profile so it doesn't break pre-java8 javadoc commands which don't have this option.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136389313
|
|
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=136367746
|
|
1. Set the API level to `ASM5`. ASM requires that all visitors set the `ASM5`
API level when visiting Java 8 bytecode. Failing to do so will result in an
error when encountering any Java 8 bytecode features.
2. Change any `visitMethodInsn` methods to implement the newly added overload
[of that name][1]. The new overload is called by ASM after the API level change;
the old one is ignored.
[1]: http://asm.ow2.org/asm50/javadoc/user/org/objectweb/asm/MethodVisitor.html#visitMethodInsn-int-java.lang.String-java.lang.String-java.lang.String-boolean-
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135170390
|
|
MoreElements.getLocalAndInheritedMethods with a reimplementation that should work with Eclipse. Fixes https://github.com/google/auto/issues/372.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=133716523
|
|
Extracted MemoizedMethodSubject and MemoizedMethodSubjectFactory in order for the Maven tests to work. ¯\_(ツ)_/¯
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=132325012
|
|
has been released. Also change AutoValue's dependency on AutoCommon to 0.6 rather than 1.0-SNAPSHOT. If AutoValue later needs to pick up changes from a more recent AutoCommon, we should make an AutoCommon 0.7 at that point.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=131653094
|
|
maven-jar-plugin that isn't broken on ubuntu, causing multi-minute jar times. And while here, bump them all to 2.6 (2.5+ is fine, but may as well, and may as well be consistent.)
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=131537002
|
|
using JavaBeans conventions (like getFoo()) but you aren't because at least one method isn't. Then a Builder setter like setFoo will be rejected because it would have had to be called setGetFoo. This change detects that this might have happened and shows a list of the methods that prevented the JavaBeans conventions from being applied.
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=119569372
|
|
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117743106
|
|
CharMatcher.WHITESPACE is now soft-deprecated and will be removed in a future version of Guava (improves performance on android - not relevant to auto-value, but still nicer).
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=116549017
|
|
Previously, com.google.common classes would end up in autovalue.shaded.com.google.common.common
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=108560677
|
|
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=104453482
|
|
org.immutables.tools version of the Maven Shade Plugin, which supports prefixing the simple names of shaded classes with $. This means that people can safely use the AutoValue with their IDEs, without having code completion ever show the shaded classes.
-------------
Created by MOE: https://github.com/google/moe
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=102089611
|
|
|
|
Velocity instead of Velocity itself.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=95217882
|
|
|
|
Bump release version in pom.xml, and update snapshot dependencies to released dependencies.
|
|
release profile.
|
|
I previously believed this was not possible due to classes being loaded by name, but it turns out that it is, provided we avoid tickling a bug in shading related to string constants.
|
|
|
|
|
|
plugins to 2.5 to be faster on ubuntu
|