Jim Chen
412ca11ada
Bug 1187088 - Use UNIFIED_SOURCES in widget/android; r=snorp
...
Fix some compiling errors in unified mode due to header dependency
issues.
2015-08-04 17:47:28 -04:00
Jim Chen
ff569cc4b6
Bug 1186467 - Rewrite NativeJSContainer to use new native JNI scheme; r=snorp
...
This patch makes NativeJSContainer use per-instance native methods.
NativeJSContainer is also updated to use smart JNI reference classes.
2015-08-04 17:47:28 -04:00
Jim Chen
cf40f969b5
Bug 1186467 - Update generated JNI bindings; r=me
2015-08-04 17:47:28 -04:00
Jim Chen
ad2589d14e
Bug 1186467 - Make NativeJSContainer and NativeJSObject extend JNIObject; r=snorp
...
JNIObject is the base class for any class that wish to use per-instance
native methods. It encapsulates the long native pointer that used to be
in NativeJSContainer.
2015-08-04 17:47:28 -04:00
Jim Chen
1a0434f7e6
Bug 1186467 - Add some JNI utilities for convenience; r=snorp
...
This patch adds:
* Conversion operator from String::Param to String::LocalRef.
* More overloads of the jni::ThrowException function.
* name members to built-in types like jni::Object, jni::String, etc.
This allows using jni::Accessors::EnsureClassRef on built-in types
to get built-in class refs (e.g. jclass for java/lang/String).
* Ability to implicitly convert LocalRef<Cls> to LocalRef<Object>
* Fixes for bugs in LocalRef/GlobalRef where new refs are not created.
* Fixes for inaccurate uses of mozilla::Forward in favor of mozilla::Move
2015-08-04 17:47:28 -04:00
Karl Tomlinson
b9f52d65a0
bug 1190291 don't process blocks beyond aTicksToProcess in an offline graph r=padenot
2015-07-31 23:43:55 +12:00
Karl Tomlinson
1dc0fcfc25
bug 1184801 Test output of AnalyserNode with GainNode
2015-07-28 11:03:31 +12:00
Karl Tomlinson
f1ad60438d
bug 1190291 move mNextStateComputedTime to local variable r=padenot
2015-07-29 17:13:23 +12:00
Karl Tomlinson
6a58379f0a
bug 1190285 remove unused graph update indices r=roc
2015-07-31 21:36:05 +12:00
Karl Tomlinson
08e54158df
bug 1190285 remove unused MediaStreamGraphImpl::GetAudioPosition() r=roc
...
GetAudioPosition() has been unused since revision 6eb9af883b3b.
2015-07-29 19:29:20 +12:00
Karl Tomlinson
9bc0a80496
bug 1190285 unvirtualize MediaStream::AdvanceTimeVaryingValuesToCurrentTime() r=roc
2015-08-03 12:28:19 +12:00
L. David Baron
db78fcaaa8
Bug 1187851 patch 5 - Make dynamic changes to perspective change fixed position containing block for descendants. r=roc
2015-08-04 14:29:16 -07:00
L. David Baron
33bd77891f
Bug 1187851 patch 4 - Fix URL in tests to be something that Shepherd recognizes. No review.
2015-08-04 14:29:16 -07:00
Kit Cambridge
7c5a4c7376
Bug 1189543 - pushManager.getSubscription()
should return null
for nonexistent push subscriptions in workers. r=nsm
2015-08-04 13:43:23 -07:00
Sean Stangl
b349b2e0f4
Bug 1188650 - Part 2/2 - Make shared/LOpcodes-shared.h. r=nbp
2015-08-03 15:48:19 -07:00
Sean Stangl
fc207e003a
Bug 1188650 - Part 1/2 - Rename LIR-Common.h to shared/LIR-shared.h. r=nbp
2015-07-28 15:25:07 -07:00
Daniel Holbert
566fa7e39d
Bug 1187110 part 5: re-enable mochitest test_extra_inherit_initial.html on b2g debug. (no review)
2015-07-22 07:59:23 -07:00
Daniel Holbert
681ae4d626
Bug 1187110 part 4: In test_extra_inherit_initial.html, only test every special-keyword with the first few values of each property (and then test one keyword per value). r=heycam
2015-08-04 14:05:22 -07:00
Daniel Holbert
c4a50c16f8
Bug 1187110 part 3: Iterate across array of special keyword values, instead of hardcoded function-arguments, in test_extra_inherit_initial.html. r=heycam
2015-08-04 14:05:22 -07:00
Daniel Holbert
f1499b412c
Bug 1187110 part 2: Use "let" instead of "var" in test_extra_inherit_initial.html, to make scoping more explicit. r=heycam
2015-08-04 14:05:22 -07:00
Daniel Holbert
202f3617a2
Bug 1187110 part 1: Use "for of" instead of "for in" to loop over an array in test_extra_inherit_initial.html. r=heycam
2015-08-04 14:05:12 -07:00
Eugen Sawin
a39e7d38e8
Bug 1190558 - Add MP3 track demuxer seek tests. r=kinetik
2015-08-04 23:01:36 +02:00
Eugen Sawin
a67895de46
Bug 1190558 - Reset MP3 frame parser on track demuxer reset. r=kinetik
2015-08-04 23:01:36 +02:00
Bobby Holley
da17ea5369
Bug 1190496 - Hoist SharedThreadPool into xpcom. r=froydnj
2015-08-04 14:00:58 -07:00
Bobby Holley
adb9010a55
Bug 1190496 - Init SharedThreadPool from XPCOM rather than MediaDecoder. r=froydnj
2015-08-04 14:00:52 -07:00
Bobby Holley
a12f43448b
Bug 1190496 - Do shutdown on xpcom-shutdown-threads. r=cpearce
...
This happens after xpcom-shutdown, and is the notification we're supposed to
listen for to shutdown off-main-thread event queues.
2015-08-04 14:00:45 -07:00
Bobby Holley
98fc37909e
Bug 1190496 - Use the normal XPCOM way to dispatch to the main thread. r=cpearce
2015-08-04 14:00:39 -07:00
Bobby Holley
34a48a151e
Bug 1190496 - Add a comment warning about MSCOM modes. r=cpearce
2015-08-04 14:00:30 -07:00
Bobby Holley
42c67a52bd
Bug 1190496 - Namespace the SharedThreadPool.h include. r=cpearce
2015-08-04 14:00:25 -07:00
Bobby Holley
9fc77506a8
Bug 1190496 - Remove dependency on VideoUtils.h for stack size. r=cpearce
2015-08-04 14:00:19 -07:00
Andrew McCreight
3c8bfdfb90
Bug 1189369, part 9 - Use early return in nsMaybeWeakPtr<T>::GetValue(). r=mak
2015-08-04 13:55:01 -07:00
Andrew McCreight
2f5a086a1b
Bug 1189369, part 8 - Clean up some minor style issues in nsMaybeWeakPtr.h. r=mak
2015-08-04 13:55:01 -07:00
Andrew McCreight
2c3735b232
Bug 1189369, part 7 - Use nicer nsTArray functions in nsMaybeWeakPtrArray. r=mak
2015-08-04 13:55:01 -07:00
Andrew McCreight
1f6a753a20
Bug 1189369, part 6 - Inline AppendWeakElement and RemoveWeakElement. r=mak
...
This class is only instantiated three times, so it doesn't seem worth
the contortions to save a bit of code.
2015-08-04 13:55:01 -07:00
Andrew McCreight
bb53a05590
Bug 1189369, part 5 - Use the nice cycle collector macro template for nsNavHistoryResult. r=mak
...
Also, fix up the CC template so it works.
2015-08-04 13:55:01 -07:00
Andrew McCreight
e23b7d40f4
Bug 1189369, part 4 - Get rid of some old style QIs from nsMaybeWeakPtrArray. r=mak
2015-08-04 13:55:01 -07:00
Andrew McCreight
8ff6a4d146
Bug 1189369, part 3 - Inline nsMaybeWeakPtr_base. r=mak
...
nsMaybePtr<> is only ever instantiated with 3 different classes, so it
doesn't seem like it worth the contortions to save a little code.
2015-08-04 13:55:01 -07:00
Andrew McCreight
3eefc726cc
Bug 1189369, part 2 - Don't implicitly convert nsMaybeWeakPtr to an nsCOMPtr. r=mak
...
This is only used in a few places, and it obscures what is happening.
2015-08-04 13:55:01 -07:00
Andrew McCreight
bba2a0f5bf
Bug 1189369, part 1 - Remove trailing whitespace from some nsNavHistory* files. r=mak
2015-08-04 13:55:01 -07:00
Nikhil Marathe
1d796d6399
Bug 1190672 - Fix use of AutoReleasePromiseWorkerProxy in PushManager. r=catalinb
2015-08-03 21:47:16 -07:00
Kai Engert
53215f47ba
Bug 1190794, Update to NSS 3.19.3 to pick up ca-certificates v 2.5, landing NSS_3_19_3_RC0, r=kwilson
2015-08-04 22:37:05 +02:00
Andrew McCreight
65ca44a867
Bug 1190608, part 5 - Sink the declaration of i in nsXULElement.cpp. r=poiru
2015-08-04 13:06:15 -07:00
Andrew McCreight
800d334a2a
Bug 1190608, part 4 - Brace a few ifs in nsXULElement.cpp. r=poiru
2015-08-04 13:06:14 -07:00
Andrew McCreight
5765502677
Bug 1190608, part 3 - Remove some infallible new checks in nsXULElement.cpp. r=poiru
2015-08-04 13:06:14 -07:00
Andrew McCreight
7344424fe7
Bug 1190608, part 2 - Tuck elses in nsXULElement.cpp. r=poiru
2015-08-04 13:06:14 -07:00
Andrew McCreight
4fd4e4e39a
Bug 1190608, part 1 - Delete trailing whitespace in nsXULElement.cpp and nsXULPrototypeCache.cpp. r=poiru
...
Also, change the mode line for nsXULElement.cpp to match reality, which is 4 space indentation.
2015-08-04 13:06:14 -07:00
Andrew McCreight
ce0e23910a
Bug 1188234, part 4 - Don't append null to mChildren. r=smaug
...
Other code does not expect random nulls in this array, so avoid adding
them, just in case we somehow end up looking at it. This code returns
right after the append so it should be okay.
2015-08-04 13:06:14 -07:00
Andrew McCreight
ce47d4c816
Bug 1188234, part 3 - Make allocation of nsXULPrototypeAttribute fallible in nsXULPrototypeElement::Deserialize(). r=smaug
...
If we read out a bogus value of |mNumAttributes|, it could be
extremely large, causing the allocation of |mAttributes| to fail.
2015-08-04 13:06:14 -07:00
Andrew McCreight
6a072f62bc
Bug 1188234, part 2 - Add bounds checking in nsXULPrototypeElement::Deserialize(). r=smaug
...
Make sure we don't do an out-of-bounds read if we read out a bogus value.
2015-08-04 13:06:14 -07:00
Andrew McCreight
449603d586
Bug 1188234, part 1 - Initialize |number|. r=smaug
...
If the first Read32() fails, |number| will be garbage.
2015-08-04 13:06:14 -07:00