Jim Chen
1670a6bfc3
Bug 958706 - Make generated JNI wrappers handle uncaught exceptions; r=blassey
...
This patch adds AndroidBridge::HandleUncaughtException calls to generated JNI wrappers. Also, the JNI annotation now accepts the noThrow flag to indicate that the JNI caller wishes to handle Exceptions manually.
2014-01-17 23:32:25 -06:00
Ehsan Akhgari
39d03b8f1f
Bug 956783 - Stop using NULL in Fennec's JNI code; r=jchen
2014-01-06 15:21:27 -05:00
Chris Kitching
924de3d3f6
Bug 946083: Prevent the annotation processor from choking on stale classfiles in the objdir. r=rnewman
2013-12-18 02:30:57 +00:00
Chris Kitching
a5186518ff
Bug 913985: Part 3 - Update the annotation processor to generate wrapper classes. r=kats
...
--HG--
rename : build/annotationProcessors/MethodWithAnnotationInfo.java => build/annotationProcessors/AnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticMethodComparator.java => build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java
rename : build/annotationProcessors/utils/GeneratableEntryPointIterator.java => build/annotationProcessors/utils/GeneratableElementIterator.java
2013-11-21 20:41:28 +00:00
Chris Kitching
d6016c2b0c
Bug 913985: Part 1.5 - Update the annotation processor to handle the renamed annotations. r=kats
2013-11-12 10:41:00 -08:00
Ryan VanderMeulen
51ab56ef96
Backed out 7 changesets (bug 913985) for intermittent Android crashes.
...
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (bug 913985)
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-11-19 10:56:09 -05:00
Chris Kitching
0a70086db6
Bug 913985 - Part 3: update the annotation processor to generate wrapper classes. r=kats
...
--HG--
rename : build/annotationProcessors/MethodWithAnnotationInfo.java => build/annotationProcessors/AnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticMethodComparator.java => build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java
rename : build/annotationProcessors/utils/GeneratableEntryPointIterator.java => build/annotationProcessors/utils/GeneratableElementIterator.java
2013-11-18 20:31:35 -08:00
Chris Kitching
9f05737a52
Bug 913985 - Part 1.5: update the annotation processor to handle the renamed annotations. r=kats
2013-11-12 10:41:00 -08:00
cewang
65258a3c93
Bug 934359 - Solve endless loop problem in gecko/build/annotationProcessors/utils/Utils.java. r=kats
2013-11-18 09:11:35 -05:00
Nick Alexander
eb6e238088
Bug 933300 - Write preprocessed Fennec code into generated/org/mozilla/*. r=glandium
2013-11-13 19:32:55 -08:00
Nick Alexander
87836d119e
Backed out changeset ba9c8fcf76e6 (bug 933300)
2013-11-13 17:11:58 -08:00
Nick Alexander
0e33d6ee0d
Bug 933300 - Write preprocessed Fennec code into generated/org/mozilla/*. r=glandium
...
This writes source with preprocessed package names into
generated/org/mozilla/{firefox,firefox_beta,fennec,fennec_$USERID},
and the other preprocessed source into generated/org/mozilla/gecko.
This layout matches the Java package hierarchy and is what IDEs expect
when including $OBJDIR/generated as a source directory.
--HG--
extra : rebase_source : 5cc397e6808d21a662c1f718ef49ee148c15e465
2013-11-11 23:39:16 -05:00
Nick Alexander
b9e7d8a368
Bug 925185 - Part 2: Use add_java_jar and restrict JAVA_JAR_TARGETS to moz.build. r=gps
2013-10-24 15:38:22 -07:00
Nick Alexander
8e6abd287d
Bug 923306 - Build annotationProcessors with JAVA_JAR_TARGETS. r=glandium
2013-10-09 17:05:37 -07:00
Nick Alexander
5b68497f5a
Bug 923306 - Make annotationProcessors build with -Xlint:all. r=ckitching
2013-10-09 17:05:37 -07:00
Chris Kitching
c60ee7469f
Bug 914760 - Generate less debugging code. r=rnewman
2013-09-10 21:10:47 -04:00
Chris Kitching
e59d2e3162
Bug 794981 - Part 8: Add an annotation processor to the build process to generate the contents of part 5. r=kats, r=glandium
2013-09-09 08:57:37 -04:00