Commit Graph

285392 Commits

Author SHA1 Message Date
Jonathan Kew
e26d39772c Bug 1249861 - Update harfbuzz to release 1.2.2 from upstream. r=jrmuizel 2016-02-24 20:54:53 +00:00
Terrence Cole
ba2da896cc Bug 1249367 - Make background finalization a GC phase (and clean up Zones properly); r=jonco 2016-02-22 08:51:50 -08:00
Nathan Froyd
1d0a3cc8f3 Bug 1249389 - followup - fix compilation bustage in gfxFT2FontList.cpp; r=me 2016-02-24 15:48:35 -05:00
Steve Fink
dd4d216fca Bug 1243231 - Implement a taskcluster-based b2g hazard build, r=garndt,terrence 2016-02-22 17:09:02 -08:00
Nathan Froyd
003cd26d24 Bug 1249389 - part 7 - clean up calls to GetBuffer in TestStartupCache; r=erahm
With the previous patch, we're able to eliminate some raw pointer usages
in TestStartupCache, which is always nice.
2016-02-18 14:57:14 -05:00
Nathan Froyd
64bfbcf251 Bug 1249389 - part 6 - provide UniquePtr overload for nsIStartupCache::GetBuffer; r=erahm
The lone remaining startup cache-related uses of nsAutoArrayPtr are both
in TestStartupCache.cpp, for use with nsIStartupCache::GetBuffer.  The
uses can't use StartupCache::GetBuffer because StartupCache::GetBuffer
isn't visible outside of libxul, and TestStartupCache is a normal C++
unit test.

The Right Thing is to convert TestStartupCache to a gtest so we can see
libxul internal symbols and then delete nsIStartupCache entirely.
That's a bit complicated, as TestStartupCache doesn't fit nicely into
gtest's framework.  The simpler solution is to add a UniquePtr overload
in the interface that hides the XPCOM outparam management details.
2016-02-18 14:35:21 -05:00
Nathan Froyd
a7914619fd Bug 1249389 - part 5 - use UniquePtr instead of nsAutoArrayPtr in mozilla::scache::CacheEntry; r=erahm 2016-02-18 14:14:28 -05:00
Nathan Froyd
db6827b2c3 Bug 1249389 - part 4 - make StartupCache::GetBuffer take a UniquePtr outparam; r=erahm
This change eliminates a number of nsAutoArrayPtr usages, as well as
making the pattern GetBuffer() -> NewObjectInputStreamFromBuffer more
pleasant.
2016-02-18 12:26:28 -05:00
Nathan Froyd
22fa651d41 Bug 1249389 - part 3 - assert the size of nsZipItemPtr's storage type; r=erahm
The only uses of this class use a template argument with a size of
|char| (uint8_t and char), and the class isn't designed to accomodate
template arguments of larger size (e.g. the implementation of Forget()
neglects to divide by sizeof(T) for allocating a return buffer).  Let's
enforce this with a static_assert.  This change makes the class safer to
use and also makes future changes simpler to reason about.
2016-02-18 12:07:03 -05:00
Nathan Froyd
42baa283e9 Bug 1249389 - part 2 - change NewBufferFromStorageStream's outparam into a UniquePtr; r=erahm
Similar to the previous change to NewObjectInputStreamFromBuffer, we
want to make the ownership transfer out of NewBufferFromStorageStream
more obvious.  Doing this also lets us get rid of some uses of
nsAutoArrayPtr, which is less idiomatic than UniquePtr.
2016-02-18 12:04:40 -05:00
Nathan Froyd
d5703cb7ab Bug 1249389 - part 1 - change NewObjectInputStreamFromBuffer to take a UniquePtr argument; r=erahm
Because NewObjectInputStreamFromBuffer takes a raw pointer as input, the
typical coding pattern to use it is:

  nsAutoArrayPtr<char> buf;
  // assign something to buf
  nsresult rv = NewObjectInputStreamFromBuffer(buf, ...);
  if (NS_FAILED(rv)) {
    ...
    return rv;
  }
  buf.forget();

Which is clumsy, error-prone, and obscures the ownership transfer of the
pointer into the stream returned by NewObjectInputStreamFromBuffer.
Let's address all of these concerns by changing the argument to a
UniquePtr<char[]>.
2016-02-18 11:14:02 -05:00
Nathan Froyd
0e77154eb0 Bug 1249389 - part 0 - use getter_Transfers in TestStartupCache.cpp; r=erahm
TestWriteObject() in TestStartupCache.cpp uses this odd pattern of
acquiring a raw pointer from the startup cache, and then stashing that
raw pointer into an nsAutoArrayPtr.  We can do better by using the
getter_Transfers idiom and thereby always using the smart pointer.
2016-02-18 11:22:12 -05:00
Morgan Phillips
f623d2f931 Bug 1246215 - Console prevents let re-declaration even when first was an error; r=jryans,shu 2016-02-24 12:16:16 -06:00
Lorien Hu
7f0a527fa7 Bug 1201667 - Traverse child when retrieving proxy unignored children r=tbsaunde 2015-09-03 13:02:07 -07:00
Joel Maher
d64fd49d6a Bug 1250650 - disable mozpayment tests android. r=fabrice
MozReview-Commit-ID: 5VhJtaK6ksH
2016-02-23 12:55:10 -08:00
Robert Helmer
24172a5df8 Bug 1249689 - generate and provide a Symbol for each add-on on startup r=mossop
MozReview-Commit-ID: LoPGSrJtlkr
2016-01-11 15:35:19 -08:00
Robert Helmer
84f0238afa Bug 1249689 - replace bootstrapScope with an activeAddons Map() that contains it r=mossop
MozReview-Commit-ID: 4s3c5OOQYLv
2016-02-22 17:39:21 -08:00
Daniel Holbert
123c5edeab backout c42ff6847631 (bug 1250572) for causing aborts during startup 2016-02-24 11:54:35 -08:00
Bogdan Postelnicu
a0b679dacc Bug 1187450 - avoid leaking cstr in SPSProfiler::allocProfileString. r=jorendorff
MozReview-Commit-ID: GtBKL4M2hfm
2016-02-23 11:12:35 +02:00
Robert O'Callahan
fdfd79f773 Bug 1243623. Don't skip unregistering a table part if we have a split table. r=mats
MozReview-Commit-ID: 2GHprw8YGsx
2016-02-10 12:18:55 +13:00
Rail Aliiev
417ac81cb4 Bug 1243796 - Tracking bug for Mar-7-2016 migration work r=jlund DONTBUILD 2016-02-24 11:42:32 -08:00
Jan-Ivar Bruaroey
d37efdb75a Bug 1249860 - Add simulcast test for resolution scaling. r=bwc
MozReview-Commit-ID: LU7gUD0ycKw
2016-02-20 01:35:24 -05:00
L. David Baron
c1eb21b4f1 Bug 1250342 patch 5 - Additional comment and variable name changes that should have been in patches 1 or 3.
MozReview-Commit-ID: IniRrCKSNuZ
2016-02-24 11:06:25 -08:00
Andrea Marchesini
8b3b17e9c9 Bug 1250572 - Force a parent object in MessagePort/Channel and in StructuredCloneHolder, r=smaug 2016-02-24 20:04:37 +01:00
Andreas Tolfsen
0ca2ea624e Bug 1250102 - Employ new element location API; r=automatedtester
MozReview-Commit-ID: K831MhwAT6X
2016-02-23 15:19:21 +00:00
Andreas Tolfsen
c188659970 Bug 1250102 - Rewrite element location to be promise-compatible; r=automatedtester
Element location is rewritten with this patch in order to make it
compatible for use with promises.  This makes consuming the API nicer
in the wider context of Marionette, since it no longer takes callbacks
and no longer has to be wrapped in external promises to be compatible
with the new dispatching technique.

MozReview-Commit-ID: DjZOXPqkZ5j
2016-02-23 15:18:55 +00:00
Andreas Tolfsen
cb7c4c2028 Bug 1250102 - Turn element keys into constants; r=automatedtester
MozReview-Commit-ID: 5r6MuIcTwbJ
2016-02-23 15:03:05 +00:00
Andreas Tolfsen
b70945f01b Bug 1250102 - Correct exported symbol from testing/marionette/element.js; r=automatedtester
MozReview-Commit-ID: 9naIfpy9HPD
2016-02-23 15:01:12 +00:00
Daniel Holbert
ccaaa2d2e3 Bug 1250342 patch 4: Update & rename reftest 'text-align-true.html' to use 'unsafe' instead of 'true'. r=dbaron
MozReview-Commit-ID: vKXJ8M8GSs
2016-02-24 10:40:30 -08:00
L. David Baron
7de8ddb6da Bug 1250342 patch 3: Rename preference layout.css.text-align-true-value.enabled to layout.css.text-align-unsafe-value.enabled . r=mats
MozReview-Commit-ID: 6IKnuvxZQcI
2016-02-24 10:40:30 -08:00
L. David Baron
a271dd015c Bug 1250342 patch 2: Rename NS_STYLE_TEXT_ALIGN_TRUE to NS_STYLE_TEXT_ALIGN_UNSAFE. r=mats
MozReview-Commit-ID: LuHepP37jtr
2016-02-24 10:40:30 -08:00
L. David Baron
76e8ab2f4e Bug 1250342 patch 1: Rename exposed keyword for text-align: true to unsafe. r=mats
MozReview-Commit-ID: LYR3LtMtT2Q
2016-02-24 10:40:30 -08:00
L. David Baron
d863da7884 Bug 1247929 patch 4 - Adjust reftest manifest for existing tests. r=dholbert
This reverts some of the changes made in bug 823483 patch 3 because it
turns out we don't want all of that behavior change.

MozReview-Commit-ID: Lbpi762qsbM
2016-02-24 10:40:30 -08:00
L. David Baron
98f1f2ce4d Bug 1247929 patch 3 - Reftests. r=dholbert
MozReview-Commit-ID: 95m014qFquG
2016-02-24 10:40:30 -08:00
L. David Baron
b9481213d3 Bug 1247929 patch 2 - Hard-code the Web-compatible set of form controls whose intrinsic minimum inline-size shrinks to 0 when inline-size (width) is specified as a percentage. r=dholbert
This adjusts the behavior previously modified by bug 823483 patch 2 and
bug 823483 patch 5.

MozReview-Commit-ID: 5IjYhFLUr68
2016-02-24 10:40:29 -08:00
L. David Baron
a304ff77de Bug 1247929 patch 1 - Add GetType() overrides for nsProgressFrame and nsMeterFrame. r=dholbert
These frames previously inherited nsFrame::GetType (which returns null).

MozReview-Commit-ID: 42UzPxaD5pN
2016-02-24 10:40:29 -08:00
Steve Fink
cbafbf3aee Bug 1243233 - Upgrade mulet compiler from gcc 4.7.3 to gcc 4.9.3, r=glandium 2016-02-11 16:04:44 -08:00
Armen Zambrano Gasparnian
0520cc4184 Bug 1246019 - Enable again test_alerts.html for Linux. Backout b406515c38b4. r=backout
MozReview-Commit-ID: 61b966aoHft
2016-02-24 09:48:58 -05:00
Kartikaya Gupta
c3f8fc819a Bug 1249943 - Make test_basic_pan work on Fennec and Linux as well. r=botond
This patch convers the APZ:TransformEnd notification from a MessageManager message
to an observer notification so that it is more general and works on other platforms.

MozReview-Commit-ID: 8SSir828Ch7
2016-02-24 13:19:45 -05:00
Kartikaya Gupta
692adda377 Bug 1249748 - Ensure the mHandledByAPZ flag is set on WidgetTouchEvents that are handled by APZ. r=botond
MozReview-Commit-ID: 4ABY2jgHkGl
2016-02-24 13:19:43 -05:00
Rail Aliiev
87b4eedd6c Bug 1242782 - release promotion mozharness l10n tasks should upload checksum and sigs r=jlund DONTBUILD 2016-02-24 10:12:11 -08:00
Olli Pettay
d6c53641c3 Bug 1197901, ensure sensor events dispatching follows the becoming spec change, r=bz 2016-02-24 19:43:07 +02:00
Sebastian Hengst
879ebb4309 Backed out changeset 4ca40a403e9d (bug 1249640) for XPCshell failures on OSX. r=backout 2016-02-24 19:02:10 +01:00
Sebastian Hengst
c0dcd252ed Backed out changeset 303b759e886e (bug 1249640) 2016-02-24 19:02:00 +01:00
Sebastian Hengst
bdc8da6aac Backed out changeset 8151f4102646 (bug 1249640) 2016-02-24 19:01:50 +01:00
Sebastian Hengst
7ceeb44c7e Backed out changeset 21222476d9d9 (bug 1249640) 2016-02-24 19:01:29 +01:00
Kim Moir
734fa7bbff Bug 1249526 - Beetmove missing files r=rail DONTBUILD 2016-02-24 12:48:55 -05:00
Jan de Mooij
b3214af7bf Bug 1232229 - Ensure generator object prototype is a singleton and tenured. r=jonco 2016-02-24 17:55:05 +01:00
Nathan Froyd
f4e4ca445e Bug 1247393 - use arrays of UniquePtr in ChannelEventQueue; r=mcmanus 2016-01-20 16:56:04 -05:00
Gian-Carlo Pascutto
549fe38295 Bug 1249313 - Don't shut down the entire Cameras IPC if a single source is shut down. r=jesup 2016-02-23 15:20:26 +01:00