-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate Fragments #2886
Deprecate Fragments #2886
Conversation
Thanks! Would you mind adding an |
I think you're also missing suppressions to avoid spurious deprecation warnings in Glides code. It looks like I inadvertently removed -Werror. I'll re-enable that so you'll see exactly where the suppressions are needed. |
I agree. Let me fix.
On Feb 9, 2018 7:24 AM, "Sam" <[email protected]> wrote:
I think you're also missing suppressions to avoid spurious deprecation
warnings in Glides code. It looks like I inadvertently removed -Werror.
I'll re-enable that so you'll see exactly where the suppressions are needed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#2886 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABqMSM-9GgSGewM2KXKScQxX5Pc9MJA3ks5tTGNBgaJpZM4R-wmX>
.
|
@sjudd How do I append |
/**
* @deprecated use xyz
*/
@Deprecated
public RequestManager with(...) {
...
} Is that what you're asking? Also sorry for the build breakage, I believe I've fixed it, but if not I'll get it done tonight. |
@sjudd I tried locally but the |
Ah, to fix the annotation processor tests, see http://bumptech.github.io/glide/dev/contributing.html#annotation-processor-tests |
@sjudd Every time I run |
Are you modifying the generated files? Or the source? You shouldn't be changing GlideRequests, or GlideRequest directly. |
@sjudd I am not. I am trying to change When the tests run, it removes the |
Removes it from where? If you just run the regenerate command I linked above, it should update the existing test resource files including the one you linked to match the actual output of the annotation processor. |
@sjudd That is what I am saying. I have manually edited |
GlideApp is a generated class, like GlideRequests/GlideRequest, you shouldn't be modifying it directly. The generated one is based on Glide.java and the test resource files will be updated when you run that gradle command. |
Yeah that's expected. If you want to modify the generated javadoc, you'd need modify the annotation processor directly. Probably just |
@sjudd This next error is a checkstyle error. I did not add any code, only comments. I am not sure what you want me to do here. |
The error message is printed in travis:
|
@sjudd Sorry I was not feeling well. Should be all green now! |
------------- Include the debug aar in release artifacts for Android projects. We removed the release variant a while ago to speed up the build, which has the side affect of removing the release aar from artifacts. Since we expect the debug and release variants to be identical (hence why we disabled the release variant), it should be safe to just use the debug aar instead. We will have to specify it explicitly since android’s rules unsurprisingly only add the release variant by default. ------------- Bump version to 4.6.0 ------------- Update readme to 4.6.0 Also removes the old v4 dependency from maven deps, I don’t think it’s necessary. ------------- Change update_javadocs to use debugJavadocJar instead of release. We’ve disabled the release variant. ------------- Bump version to 4.7.0-SNAPSHOT ------------- Add POM dependencies explicitly. Fixes bumptech#2863. ------------- Bump version to 4.6.1 ------------- Update readme to 4.6.1 ------------- Fix param mistake (bumptech#2873) ------------- Update SimpleTarget javadoc to match v4 API. ------------- Add javadoc for RequestOptions.apply/RequestBuilder.apply. Related to bumptech#2858. ------------- Add support for Uri data uris. Previously we only supported data uris if they were provided as Strings. Fixes bumptech#556. ------------- Make GlideBuilder.build package private. It shouldn’t have been made visible and can’t safely be used directly outside of the library. Fixes bumptech#2885 ------------- Handle notifications in MultiFetcher after cancellation. We can’t guarantee that every fetcher implementation will strictly avoid notifying after they’ve been cancelled. This also improves the behavior in VolleyStreamFetcher so that it attempts to avoid notifying after cancel, although it still doesn’t make any strict guarantee. Fixes bumptech#2879 ------------- Re-enable -Werror for java compilation. Related to bumptech#2886. ------------- Fix a deprecation warning in DataUriTest. ------------- gradle 4.5.1 ------------- deprecate fragments ------------- add @deprecated to javadoc and suppress deprecations in code ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=99229725401d5777e059da7b6331134bf73fbcdf ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=185535564
Closes #2883
@sjudd