Mike Hommey
7cd6c430c1
Bug 1257823 - Move set_config() to the global scope. r=nalexander
...
The way set_config is set currently makes it difficult to introspect
moz.configure files to know what configuration items are being set,
because they're hidden in the control flow of functions.
This makes some of the moz.configure more convoluted, but this is why
there are templates, and we can improve the recurring cases afterwards.
2016-03-24 09:04:28 +09:00
Mike Hommey
8e6cfd60f3
Bug 1257823 - Split ConfigureSandbox._db. r=nalexander
...
Currently, ConfigureSandbox._db stores two different kind of
information. This split those in two different instance variables
instead, making things clearer.
2016-03-24 09:04:28 +09:00
Mike Hommey
ed5e2c39f5
Bug 1257823 - Move set_define() to the sandbox. r=nalexander
...
In order to make the transition to global set_define easier, move its
current definition from inside the sandbox to the sandbox itself.
2016-03-24 09:04:28 +09:00
Gregory Szorc
3f5defbd02
Bug 1256552 - Disable C4577 to unblock compilation on VS2015; r=jrmuizel
...
As part of unblocking building with VS2015u1 in automation, I'm mass
disabling compiler warnings that are turned into errors. This is not
the preferred mechanism to fix compilation warnings. So hopefully
this patch never lands because someone insists of fixing the underlying
problem instead. But if it does land, hopefully the workaround is
only temporary.
MozReview-Commit-ID: BNhXxMhJaZh
--HG--
extra : rebase_source : 6d3746d99d0d058716a58f1ed1f0349e09866758
extra : source : cb49a303f86d6446bf1ed87d6e022e72a2ba25c7
2016-03-23 16:39:56 -07:00
Aaron Klotz
2dda5ebe20
Bug 1249849: Make sure the correct implementations of malloc and free are used in DLL blocklist; r=glandium
...
MozReview-Commit-ID: 7piMI6MwOZh
--HG--
extra : rebase_source : 35318273fc00d8aa539133823c276ff7bef42172
2016-03-07 14:12:31 -08:00
Martin Thomson
15fbbd24ab
Bug 1258299 - Move RTCIdentityProvider to a dictionary, r=jib,khuey
...
MozReview-Commit-ID: EP1fCvQlYqH
--HG--
extra : rebase_source : df44c64ca5614b1ff351d3aa9ffc78e513f97d58
2016-03-24 03:03:06 +11:00
Gregory Szorc
ab955c4662
Bug 1256502 - Use a uint32_t cast to avoid C4319 on VS2015; r=botond
...
The sizeof() was creating a size_t which made VS complain about a
mismatch between uint32_t and size_t. The sizeof() should never be
larger than a uint32_t, so just cast it.
MozReview-Commit-ID: 5HrFOfQhAMp
--HG--
extra : rebase_source : ad4306d8a9a0c20fc803db3a057de822f52076ef
2016-03-23 15:12:30 -07:00
Ehsan Akhgari
3c28741897
Bug 1259025 - Enable test_reftests_with_caret.html on e10s; r=mrbkap
2016-03-23 19:42:59 -04:00
Jeff Walden
b02d8dd82e
Bug 1257779 - Lower a loop-limit (number selected by some local experimentation) to avoid cgc timeouts. r=orange in a CLOSED TREE
2016-03-23 16:29:46 -07:00
Wes Kocher
b2731dca9e
Backed out 3 changesets (bug 1254134) for build failures in LayerTreeInvalidation.cpp, entirely unrelated to the current CLOSED TREE
...
Backed out changeset 5a0d2c853e13 (bug 1254134)
Backed out changeset f650dd293a4b (bug 1254134)
Backed out changeset 3b6b646ea0e2 (bug 1254134)
MozReview-Commit-ID: 2iQvX8NsARG
2016-03-23 15:55:20 -07:00
Nicholas Nethercote
57f7f7948c
Bug 1259182 - Shrink keyCodeData. r=bz.
...
This reduces static data size by 1480 B per process.
--HG--
extra : rebase_source : 74bb52af763cb96cd9a58a37d8adad9667dbb4db
2016-03-16 14:36:37 +11:00
Kartikaya Gupta
8fbae911a0
Bug 1254134 - Remove unused mask flag. r=mattwoodrow
...
MozReview-Commit-ID: BmUyzuxDg0M
--HG--
extra : rebase_source : ccdba6e1f761042c649fc05be16dca7f13e8859f
2016-03-23 11:05:42 -04:00
Kartikaya Gupta
004e0c734e
Bug 1254134 - Use the full image size as the bounds for image layers during layer tree invalidation. r=mattwoodrow
...
MozReview-Commit-ID: DBF3H3I4rbS
--HG--
extra : rebase_source : 9fff4e9252027f354d6490d429085e11b0536212
2016-03-23 11:05:42 -04:00
Kartikaya Gupta
e34c252409
Bug 1254134 - Add debugging logs to LayerTreeInvalidation.cpp. r=mattwoodrow
...
MozReview-Commit-ID: F6BBwjjx9eP
--HG--
extra : rebase_source : 46373d299558dac759f1840761565e50bfdb071f
2016-03-23 11:05:41 -04:00
Gregory Szorc
ae750c26b0
Bug 1256473 - Cast values to avoid C4838 on VS2015; r=mayhemer
...
MozReview-Commit-ID: DM4nChFJVWF
--HG--
extra : rebase_source : d609955f07bbfc122e58b08e5cd3c5422fce907f
2016-03-23 15:17:44 -07:00
Ralph Giles
9a3b850c14
Bug 1258796 - Re-enable rust on win32 builds. r=mshal
...
We're still using a i686-pc-windows-msvc rust stdlib,
but now that bug 1255869 we have runtime protection against
calling the sse2 code it contains.
Reverts bug 1253456.
--HG--
extra : rebase_source : 28c7399eb9f90f2865c41eb394a5949e05a632ff
2016-03-22 11:53:00 -07:00
Andrea Marchesini
dffe78c29b
Bug 1246091 - patch 7/7 - Correct use of JSCompartment in Console.cpp, r=bz
2016-03-23 22:55:07 +01:00
Andrea Marchesini
934bd500b6
Bug 1246091 - patch 6/7 - Tests, r=ejpbruel
2016-03-23 22:55:07 +01:00
Andrea Marchesini
df932690be
Bug 1246091 - patch 5/7 - Remove data when memory pressure notification is received, r=ejpbruel
2016-03-23 22:55:07 +01:00
Andrea Marchesini
931f576f19
Bug 1246091 - patch 4/7 - Expose ConsoleCallData to WorkerDebuggerGlobalScope, r=ejpbruel
2016-03-23 22:55:07 +01:00
Andrea Marchesini
a41a9b217f
Bug 1246091 - patch 3/7 - Console API should store ConsoleCallData internally, r=ejpbruel
2016-03-23 22:55:07 +01:00
Andrea Marchesini
e2091ba30e
Bug 1246091 - patch 2/7 - Propagate initialization error in Console.cpp, r=ejpbruel
2016-03-23 22:55:07 +01:00
Andrea Marchesini
a29efa56f9
Bug 1246091 - patch 1/7 - Add some NS_WARN_IF in Console.cpp, r=ejpbruel
2016-03-23 22:55:07 +01:00
Nicholas Nethercote
a299ce6d78
Bug 1258924 - Reorder DOMIfaceAndProtoJSClass fields to reduce padding. r=bz.
...
On 64-bit this reduces sizeof(DOMIfaceAndProtoJSClass) from 336 to 328, saving
20 KiB. On 32-bit it should save half that.
2016-03-24 05:54:38 +11:00
Boris Zbarsky
25c4270d09
Bug 1258585. Remove some remaining vestiges of WebIDL quickstubs. r=peterv
2016-03-23 17:46:26 -04:00
Eric Faust
375ac321d2
Bug 1254122 - Don't bother saving scratch registers across TypeUpdate IC calls. (r=jandem)
2016-03-23 14:43:36 -07:00
David Keeler
eabc80d212
bug 1258579 - remove some unnecessary time-related globals from mozilla::pkix tests r=Cykesiopka
...
MozReview-Commit-ID: C0XPTdO4Ab7
--HG--
extra : rebase_source : cb97b17cc5f3bd2fe1fe2bd13cae5447e029c14d
2016-03-22 10:26:30 -07:00
Benoit Girard
11ac802e54
Bug 1248044 - Add PingPongRegion for faster region operations for 2x memory usage. r=jrmuizel
...
MozReview-Commit-ID: KiIGiQYN33u
--HG--
extra : rebase_source : a6f0ccb03957cc68b70a18792edd636cebfc6d14
2015-08-27 16:06:38 -04:00
Benoit Girard
c4b31b9fa6
Bug 1258558 - Don't check extents for empty regions. r=jrmuizel
...
MozReview-Commit-ID: FEkiTr3azlV
--HG--
extra : rebase_source : 3cee0f7a404f3c9e4388b525229c3bb68c3f2df6
2016-03-23 14:38:30 -04:00
Lee Salzman
c9a961cf13
Bug 1244754 - make drawCustomFocusRing.html fuzzy only on gtkWidget. r=me CLOSED TREE
2016-03-23 16:59:33 -04:00
Jeff Walden
3c177ea848
Bug 1257779 - Don't make scripted proxies' [[OwnPropertyKeys]] have non-linear behavior in certain cases. r=jonco, r=evilpie
...
--HG--
extra : rebase_source : be94830d99b229d01a7e4b9f82a140250e5c9d36
2016-03-18 16:45:07 -07:00
Jeff Walden
1dd8dbc3f7
Bug 1246061. r=jandem, r=bz, r=luke, r=froydnj
...
--HG--
extra : rebase_source : 5b314d4c4c6e0b553290884be7338f8e79c22f71
2016-03-09 00:37:20 -08:00
Jeff Walden
8473d1c60c
Bug 1257758 - Adjust step numbering in scripted proxy code to be ES6-correct. r=evilpie
...
--HG--
extra : rebase_source : f72996471ff4d64a09036df2be619dc6409f249c
2016-03-18 16:44:23 -07:00
Jeff Walden
4503efe0f9
Bug 1257077 - Implement js::Fixed{Invoke,Construct}Args for args of statically-known count, avoiding js::{Invoke,Construct}Args's fallibility. Also implement js::Any{Invoke,Construct}Args as base classes for args, whether or not their count is statically known. r=efaust
...
--HG--
extra : rebase_source : af364905498c6cf146c2bf6f1640363b8b4aa048
2016-03-18 16:44:23 -07:00
Andrew McCreight
1bf6681a43
Bug 1256061 - Hold a strong reference to a request when we call a method on it. r=jdm
...
I think it is possible for the TimerCallbackHolder to fire off a
Notify() while the geolocation object and the nsGeolocationRequest are
only holding each other alive, so they would be freed by the cycle
collector the next time it runs, but we haven't run the cycle
collector yet. If that happens, then Geolocation::RemoveRequest()
would break the cycle, causing stuff to unravel and bad things to
happen. To fix this, we just hold the request alive in
TimerCallbackHolder::Notify(), which will also ensure that the
geolocation object is alive, hopefully preventing crashes.
This will make the Notify() behavior similar to what it was before bug
1238427, when the nsITimer object would hold a strong reference to the
request when the Notify() was being run.
2016-03-23 12:59:14 -07:00
Andrew McCreight
4e6a34a3d5
Bug 1256061 - Revert patch that didn't do anything.
2016-03-23 12:59:14 -07:00
Wes Kocher
34bdd69103
Backed out changeset af93bc155267 (bug 1257929) for failing the newly added assertions
...
MozReview-Commit-ID: AtMlqXDQaAA
2016-03-23 12:26:40 -07:00
Benjamin Bouvier
1d15c0b202
Bug 1253344: Defer br/br_if/br_table then-block definition to avoid indirections; r=sunfish
...
MozReview-Commit-ID: FeXMs4M7jHJ
--HG--
extra : rebase_source : c3f10f3dfca091733bb1edefd27e107d52108632
2016-03-23 19:57:58 +01:00
Benjamin Bouvier
2aa9a296cc
Bug 1253344: Remove unused pushPhi/popPhi in WasmIonCompile; r=luke
...
MozReview-Commit-ID: 4Il1Xisw0Ns
--HG--
extra : rebase_source : a91aad87c321b46df8934ffe79e1ea1772e30188
2016-03-17 16:29:59 +01:00
Nicolas B. Pierron
28a96e4120
Bug 1258748 - adjustPhiInputs: Add MBox in the predecessor block instead of the definition block. r=jolesen
2016-03-23 19:03:40 +00:00
Nicolas B. Pierron
8064d05be4
Bug 1247915 - IonMonkey adjustPhiInputs: Handle Phi operands artifact left by removing branches early. r=h4writer
2016-03-23 19:03:39 +00:00
Jim Chen
bcb596d239
Bug 1257319 - Remove BROADCAST GeckoEvent; r=me
...
Remove the now-obsolete BROADCAST GeckoEvent.
2016-03-23 14:42:38 -04:00
Jim Chen
d6e1f310e4
Bug 1257319 - Don't use broadcast event in AndroidContentController; r=rbarker
...
We should use observer service directly instead of broadcast event.
2016-03-23 14:42:38 -04:00
Jim Chen
78ae8cd6ef
Bug 1257319 - Convert broadcast event usage in HomeConfig.java; r=margaret
...
HomeConfig.java saved a list of events to be sent later in a batch. This
patch makes it save a pair of strings instead, and the strings are later
used to make calls to GeckoAppShell.
The patch also makes two small optimizations. It makes the queue an
ArrayList instead of a LinkedList to save memory. It also makes copying
the queue a swap instead of a true copy.
2016-03-23 14:42:38 -04:00
Jim Chen
156ff3db3b
Bug 1257319 - Convert existing broadcast events to calls; r=margaret
...
Convert existing places where we use broadcast events to use
new GeckoAppShell calls.
2016-03-23 14:42:38 -04:00
Jim Chen
be66658bcc
Bug 1257319 - Update auto-generated bindings; r=me
...
Update auto-generated bindings. The jni-stubs.inc change is due to the
fact that we still have old-style native methods in GeckoAppShell.
2016-03-23 14:42:38 -04:00
Jim Chen
84972cba31
Bug 1257319 - Add notifyObservers methods to GeckoAppShell; r=snorp
...
Add notifyObservers and the synchronous syncNotifyObservers methods to
GeckoAppShell to replace the BROADCAST event.
2016-03-23 14:42:38 -04:00
Ehsan Akhgari
f2023a11c0
Bug 1257208 - Use the nsTextNode concrete type in several places in DirectionalityUtils.cpp instead of nsINode and nsIContent; r=peterv
2016-03-23 14:24:56 -04:00
Lee Salzman
8ef69bea3e
Bug 1244754 - part 2 - enable Skia canvas on Linux and fix web-platform-tests/reftests. r=jrmuizel
2016-03-23 14:21:04 -04:00
Lee Salzman
32d3d0666e
Bug 1244754 - part 1 - backport zero-length gradient interval fix from Skia upstream. r=jrmuizel
2016-03-23 14:21:01 -04:00