Commit Graph

442276 Commits

Author SHA1 Message Date
Jim Chen
011890c91d Bug 1200343 - Add JNI wrapper for object arrays; r=snorp
This patch adds a specialization for jni::Ref<jni::ObjectArray>, which
includes members for getting the length of the array and accessing
array elements.
2015-09-28 12:07:09 -04:00
Jim Chen
3d7c253ff0 Bug 1208041 - Fix race condition when coalescing viewport events; r=snorp
We have a pretty messy system of coalescing viewport events that
introduced a race condition during the recent JNI refactoring. This
patch makes that code simpler and fixes the race condition. Instead of
keeping track of a previous viewport event, we now scan the event queue
for previous viewport events. This shouldn't be a perf concern because
we only scan the queue for viewport and native callback events, and stop
scanning as soon as we find another kind of event.
2015-09-28 12:07:09 -04:00
Brian Grinstead
d23fa8b95a Bug 1034110 - Provide a way to observe mutations for ::before/::after pseudo elements;r=smaug
Adds a new chrome-only MutationObserverInit option called nativeAnonymousChildList
that will cause a mutation to fire when a native anonymous root is bound or unbound
2015-09-24 08:23:32 -07:00
Kaustabh Datta Choudhury
5270e212b7 Bug 1162003 - Enable run-by-dir mode on Fx desktop mac debug platform and re-enable a few tests. r=jmaher 2015-09-28 10:54:22 -04:00
James Willcox
ff8be4c460 Bug 1182665 - Add a bit more fuzzing on a couple of reftests for Mac and B2G r=nical 2015-09-28 09:37:03 -05:00
James Willcox
35d4172d9c Bug 1182665 - Turn off tile size adjustments on pandaboard debug reftests due to weirdness r=nical 2015-09-28 09:37:02 -05:00
James Willcox
026a03ab87 Bug 1201541 - Add a pref for disabling single tile layers r=mattwoodrow 2015-09-28 09:37:01 -05:00
James Willcox
f3e7b2c099 Bug 1148131 - Enable DrawTargetTiled on Android r=Bas 2015-09-28 09:37:00 -05:00
James Willcox
8b40e8df70 Bug 1182665 - Don't try to call JNI methods in nsScreenManagerAndroid if it's not available r=esawin 2015-09-28 09:36:59 -05:00
James Willcox
66893d0e7a Bug 1201541 - Use SingleTiledContentClient for non-scrollable layers on Android r=mattwoodrow 2015-09-28 09:36:58 -05:00
James Willcox
158374ed78 Bug 1182665 - Adjust tile sizes depending on the screen size r=nical 2015-09-28 09:36:57 -05:00
James Willcox
45564cbbb2 Bug 1182665 - Use a direct JNI call to determine screen size in nsScreenManagerAndroid r=jchen 2015-09-28 09:36:56 -05:00
James Willcox
9932c21923 Bug 1182665 - Add gfxPlatform::GetScreenSize() and use nsIScreen for gfxPlatform::GetScreenDepth() r=nical 2015-09-28 09:36:54 -05:00
Dustin J. Mitchell
16d2ad1ff9 Bug 1189892, 1208029: add linux32 support; r=ted.mielczarek
Add new tasks for the "Linux" platform.  These run on the same docker image as
the Linux64 builds, but that image has been modified to contain a bunch of
*.i686 packages required to cross-compile for i686.  Due to yum's propensity
for resolving dependencies without regard to architecture, with this patch the
system-setup.sh script lists both architectures of each file explicitly.

This also leaves `gcc` installed for user convenience in installing Python
extensions, NPM modules, etc.

This also includes 'subversion' for clang builds (bug 1208029)

--HG--
extra : commitid : GfCTCchyHo6
extra : rebase_source : 8b15da0ed7adefa084b7195a98f63f73564a3d94
2015-09-21 17:39:44 -04:00
Alexander Surkov
dd066fa40e Bug 1205476 - crash in mozilla::a11y::DocAccessible::ProcessInvalidationList(), part3, r=davidb 2015-09-25 12:11:49 -04:00
Tooru Fujisawa
3f9809017c Bug 1207498 - Part 2: Remove use of expression closure from tests in toolkit/components/. r=Gijs
--HG--
extra : commitid : J57uE7zSSsN
extra : rebase_source : b81cb1977b5beb9abc7cf132cd70648f406eb8ed
2015-09-24 20:36:01 +09:00
Tooru Fujisawa
accd89d4fd Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs
--HG--
extra : commitid : 5yrVqfOUmEG
extra : rebase_source : e2ec30261bd76c1966b0e61fd7e08c2924f270b0
2015-09-24 20:32:23 +09:00
Mike Shal
3c752ad87d Bug 1208643 - Show B2G ICS Emulator TC builds on treeherder; r=wcosta 2015-09-25 15:19:35 -04:00
Sotaro Ikeda
fe61debc64 Bug 1205725 - Add basic SidebandStream handling to HwcComposer2D r=mwu,nical 2015-09-28 06:55:48 -07:00
Nicolas Silva
b7f00c6f5b Bug 1209039 - Temporarily disable thread names in Moz2D to work around a static check failure CLOSED TREE. r=me 2015-09-28 15:27:16 +02:00
George Wright
c229949556 Bug 1207921 - Call makeReply before dtorEpilogue so that we don't end up with a nullptr deref r=billm 2015-09-28 09:17:05 -04:00
Ehsan Akhgari
cbf56a9898 Bug 1208895 - Fix a typo in nsGenericHTMLElement::GetItemId(); r=baku
Found by Viva64.
2015-09-28 09:08:45 -04:00
Ehsan Akhgari
4ff5a15c06 Bug 1208897 - Fix an initialization order bug in DOMStorageDBThread; r=baku
This is found by Viva64.  The error is in fact benign since the
StatementCache constructor takes a reference to the nsCOMPtr
passed to it, and stores it for later use, so nothing bad
happens at runtime, but still we should not be using uninitialized
members to initialize other members with.
2015-09-28 09:08:44 -04:00
Ehsan Akhgari
aa774fb7e3 Bug 1208903 - Eliminate a repeated condition in nsDocShell::EndPageLoad; r=baku
Found by Viva64.
2015-09-28 09:08:43 -04:00
Ehsan Akhgari
72953e5810 Bug 1208905 - Fix a condition in PresentationResponderLoadingCallback::Init; r=baku
Found by Viva64.
2015-09-28 09:08:42 -04:00
Ehsan Akhgari
5623a2154b Bug 1208925 - Use delete to free instanceData since it has been allocated using new; r=baku
Found by Viva64.
2015-09-28 09:08:41 -04:00
Ehsan Akhgari
a07e70aab0 Bug 1208885 - Remove mozGenericWordUtils; r=smaug
Found by Viva64.  In the future we need to add support for more
langauges, but right now mozGenericWordUtils doesn't provide any value.
2015-09-28 09:08:40 -04:00
Mike Kaply
e7b959b233 Bug 1193625 - Fallback to ASCII if AutoConfig UTF-8 conversion fails. r=Mossop, mrbkap 2015-09-28 08:04:47 -05:00
Gijs Kruitbosch
8884b0618e Bug 1207084 - keep sheet level on tokenstream for use in ruledata when resolving variables, to fix hcm issues with CSS variables, r=heycam
--HG--
extra : commitid : LOEulYWs1jS
extra : rebase_source : b9741e3bc6a4a762a2f6295d8d81069aca66745f
extra : amend_source : 13dd115d63546f57127fe65163c2aaacf8c6b043
2015-09-26 23:51:42 +02:00
Carsten "Tomcat" Book
ae6755a03e Merge mozilla-central to mozilla-inbound 2015-09-28 14:18:24 +02:00
Carsten "Tomcat" Book
363e40e298 merge mozilla-inbound to mozilla-central a=merge 2015-09-28 14:13:24 +02:00
Carsten "Tomcat" Book
fc4b2033ce merge fx-team to mozilla-central a=merge 2015-09-28 14:10:50 +02:00
Carsten "Tomcat" Book
2deb7b2220 merge b2g-inbound to mozilla-central a=merge 2015-09-28 14:08:18 +02:00
Carsten "Tomcat" Book
4952084732 Backed out 3 changesets (bug 1155923) for causing test failures in promises-call.html
Backed out changeset 321a932e01a7 (bug 1155923)
Backed out changeset 6ac38acd6ab2 (bug 1155923)
Backed out changeset 2981db92416a (bug 1155923)
2015-09-28 14:02:41 +02:00
Nicolas Silva
d0bd5e3ac6 Bug 1083101 - Use win32's CreateEventW instead of CreateEvent to avoid macro name collision 2015-09-28 13:50:01 +02:00
Nicolas Silva
e27060d818 Bug 1083101 - Make SyncObject's waiting jobs list lock-free. r=jrmuizel 2015-09-28 13:49:59 +02:00
Nicolas Silva
6198b794c9 Bug 1083101 - rename gfx::Mutex into gfx::CriticalSection and move it to its own file. r=jrmuizel 2015-09-28 13:49:54 +02:00
Nicolas Silva
120cce1d84 Bug 1083101 - Win32 implementation of the JobScheduler. r=jrmuizel 2015-09-28 13:49:52 +02:00
Nicolas Silva
a5f1897cb1 Bug 1083101 - Make gfx::DrawingCommand methods const. r=jrmuizel 2015-09-28 13:49:50 +02:00
B2G Bumper Bot
803719765b Bumping manifests a=b2g-bump 2015-09-28 02:33:28 -07:00
B2G Bumper Bot
66a80cf51e Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/d7e928f87e2c
Author: Fernando Campo <fcampo@users.noreply.github.com>
Desc: Merge pull request #32058 from fcampo/leak-observer-1202592

Bug 1202592 - Activity chooser leaks settings observer (r=etienne)

========

https://hg.mozilla.org/integration/gaia-central/rev/2273c6433e1f
Author: Fernando Campo <fernando.campo@telefonica.com>
Desc: Bug 1202592 - Activity chooser leaks settings observer
2015-09-28 02:30:36 -07:00
Nigel Babu
85f8d8c65e Backed out changeset ee27fc2f6a1d (bug 1208687) for W(4) bustage
ON A CLOSED TREE
2015-09-28 12:23:36 +05:30
Nigel Babu
b8f64f3b1e Backed out changeset 967c555a595c (bug 1208289) for B2G build bustage 2015-09-28 12:22:43 +05:30
Nigel Babu
4013fbd739 Backed out changeset efcfe0c08c24 (bug 1208289) for B2G build bustage 2015-09-28 12:22:34 +05:30
Mark Hammond
9db1b58606 No bug - convert 3 test files from CRLF to LF line-endings, r=me 2015-09-28 16:29:06 +10:00
Nigel Babu
4c81b31f16 Backed out changeset 26396d426123 (bug 1208906) for windows reftest bustage
ON A CLOSED TREE
2015-09-28 11:27:52 +05:30
Nigel Babu
4de80b14cf Backed out changeset 32076ec3f4c0 (bug 1208906) for reftest bustage 2015-09-28 11:27:40 +05:30
Kyle Huey
ea0bfdd061 Bug 1208687: Only discard events from the outermost queue. r=ehsan
When workers shut down we discard the event queue rather than running it to completion.  Originally workers managed their event queue themselves and would simply iterate through the array of events and cancel them all.  After bug 914762 this was done by setting a (thread-)global "canceling" flag and then calling NS_ProcessPendingEvents.  But this neglects that a shut down request can be received while the worker is in a sync queue.  In this case, calling NS_ProcessPendingEvents will process any events pending in the sync queue, which is *not* the queue we need to cancel.

The fix is, if we are in a sync queue when NotifyInternal is called, to defer clearing the queue until the top-most sync queue is destroyed and we are about to return to the regular event queue.  Only then can we call NS_ProcessPendingEvents to clear out the queue.  Because we can never process any events from this queue while sync queues are active, the timing of the mass cancellation is unchanged from the perspective of events in the regular queue.

--HG--
extra : rebase_source : f67fbee27c0751068a4e7aaf692cbfc1d3c9aa7c
2015-09-27 21:57:36 -07:00
Chris Pearce
faefcaba27 Bug 1208289 - Log outstanding frames in GMP DrainComplete() and detect dropped ResetComplete. r=jwwang
* * *
Bug 1208289 - Yet another bustage fix. r=bustage
2015-09-28 17:57:10 +13:00
Chris Pearce
8493a808b6 Bug 1208289 - Add SimpleTimer to make setting timeouts in C++ easy. r=jwwang 2015-09-28 17:57:10 +13:00