Commit Graph

357 Commits

Author SHA1 Message Date
Andrea Marchesini
26d2ebd48e Bug 1353629 - PBlob refactoring - part 5 - IPCBlobInputStreamStorage, r=smaug
An IPCBlobInputStream can be sent back to the parent process (not implemented
in this patch). When this is done, we basically send only the internal ID.
From this ID, we can retrieve the original inputStream because any
IPCBlobInputStreamParent actor has previously registered it into a singleton:
IPCBlobInputStreamStorage.

So, if we have a IPCBlobInputStreamParent, we have an inputStream, and this
inputStream is known by IPCBlobInputStreamStorage. This will be useful in the
next patches.
2017-04-24 12:09:40 +02:00
Astley Chen
dc20f1571b Bug 1355752 - Remove B2G code from layout/build files. r=jmaher
MozReview-Commit-ID: 4VYUKm8MgHb
2017-04-20 13:16:43 +08:00
Manish Goregaokar
6b0229835a Bug 1341724 - Part 2: stylo: Add bindings for fetching font metrics from Gecko; r=heycam
MozReview-Commit-ID: BkPNq22ruwU
2017-04-10 17:06:14 +08:00
Xidorn Quan
ab60606883 Bug 1343964 part 2 - Move dummy url data to be a static member of URLExtraData. r=heycam
MozReview-Commit-ID: I6pc9WmrLW0
2017-04-04 13:21:16 +10:00
Andrea Marchesini
a04ab116f5 Bug 1343933 - Renaming Principal classes - part 4 - ContentPrincipal, r=qdot 2017-03-22 11:39:31 +01:00
Andrea Marchesini
25207d9b03 Bug 1299500 - Get rid of DeviceStorage API - part 10 - DeviceStorage, r=ehsan, r=billm 2017-03-08 20:15:45 +01:00
Bobby Holley
61f116d30c Bug 1335303 - Explicitly set up the bool var cache for BrowserFramesEnabled. r=smaug 2017-02-08 17:04:47 -08:00
Nathan Froyd
f4ac025d81 Bug 1276669 - part 6 - seal the static atom table sooner; r=bz
We do this to ensure that everybody has registered all the static atoms
we'll care about, and to pave the way for asserting that nobody is
trying to create any static atoms past this point in the next patch.
2017-01-26 15:43:38 -05:00
Nathan Froyd
e783a421d2 Bug 1276669 - part 4 - initialize RDF atoms in nsLayoutStatics; r=Pike
This is not the cleanest code ever, but we need to move all static atom
initialization prior to NS_SealStaticAtomTable to avoid the possibility
of dynamic atoms being transmuted into static atoms.  We therefore need
to open up an avenue for somebody else to initialize the atoms that RDF needs.
2017-01-26 15:43:39 -05:00
Nathan Froyd
9a57cc0385 Bug 1276669 - part 3 - split out nsHTMLTags atom initialization; r=hsivonen
We do this for much the same reason that we moved the nsHtml5Atoms
initialization.  Otherwise, the nsHTMLTags atoms are lazily initialized
long after we've sealed the static atom table in nsLayoutStatics.
2017-01-26 15:43:39 -05:00
Nathan Froyd
98c979b0b2 Bug 1276669 - part 2 - move nsTextServicesDocument::RegisterAtoms call; r=bz
Moving this call closer to the other atom initializations will enable us
to seal the static atom table sooner.
2017-01-26 15:43:39 -05:00
Nathan Froyd
5ee66af4c7 Bug 1276669 - part 1 - make nsHtml5Atoms initialization explicit in nsLayoutStatics; r=hsivonen
Moving the html5 atoms out into their own initialization phase makes the
initialization of atoms more explicit and avoids problems with trying to
move modules around so their atoms get initialized in the correct place.
As an aesthetic bonus, this change produces pleasing symmetry in
nsHtml5Module::{Initialize,Release}Statics.

Reviewed-by: Nathan Froyd <froydnj@mozilla.com>
2017-01-26 15:43:39 -05:00
Bobby Holley
f696e08c63 Bug 1328651 - Move servo initialization/shutdown back to nsLayoutStatics.cpp. r=heycam 2017-01-08 17:42:29 -08:00
Gregory Moore
68121eeca8 Bug 1301640 - Replaced per-platform variants of nsIDateTimeFormat with single, ICU-backed version that has static c++ callers. r=emk
Also removed unused format selectors and removed option to pass in a locale. Changed all callers to use new version.

MozReview-Commit-ID: Gq0b1c3C1eO
2016-11-21 15:58:37 -08:00
Andrea Marchesini
1f55f5062e Bug 1322550 - Rename DOMStorage to Storage, r=smaug 2017-01-04 14:53:01 +01:00
Masatoshi Kimura
3daefbd333 Backed out changeset 7e747433d1c9 (bug 1301640) for causing bug 1325751. r=backout
MozReview-Commit-ID: GEYAveO6sUj
2016-12-25 10:43:04 +09:00
Gregory Moore
bba95ec2ce Bug 1301640 - Replaced per-platform variants of nsIDateTimeFormat with single, ICU-backed version that has static c++ callers. r=emk
Also removed unused format selectors and removed option to pass in a locale. Changed all callers to use new version.

MozReview-Commit-ID: Gq0b1c3C1eO
2016-11-21 15:58:37 -08:00
Xidorn Quan
f706b7b744 Bug 1323147 part 2 - Remove static atoms of CSS properties. r=heycam
This is basically a backout of bug 1294299 part 7.

MozReview-Commit-ID: LpWwFrNX4Jt
2016-12-16 10:02:48 +11:00
Matt Woodrow
bff0924458 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Phil Ringnalda
718a8f85bf Backed out changeset d537051ade6a (bug 1315510) for nsTArray_base leaks and a fondess for crashing
CLOSED TREE

MozReview-Commit-ID: KD3jAkCg0O7
2016-11-07 22:18:21 -08:00
Matt Woodrow
edd3d953d7 Bug 1315510 - Automatically recreate VideoDecoderManager if the GPU process crashes. r=dvander 2016-11-08 15:21:35 +13:00
Xidorn Quan
0fd35a5767 Bug 1294299 part 7 - Generate static atoms for CSS properties. r=emilio,heycam
MozReview-Commit-ID: FCjbgKagQO1
2016-11-03 14:41:02 +11:00
Wes Kocher
5fe2107617 Merge central to inbound a=merge 2016-11-02 17:31:08 -07:00
Matt Woodrow
1839f94276 Bug 1314191 - Make sure we shut down VideoDecoderManagerChild before threads go away. r=dvander 2016-11-03 09:57:17 +13:00
Michelangelo De Simone
78f700fcaa Bug 1310020 - Remove DOM/bluetooth and related code. r=jst
MozReview-Commit-ID: IEhwzzBgb3x
2016-10-28 14:25:23 -07:00
Carsten "Tomcat" Book
da6994b77d merge mozilla-inbound to mozilla-central a=merge 2016-10-17 11:19:02 +02:00
John Dai
3aaae2af88 Bug 1309140 - Rename CustomElementsRegistry to CustomElementRegistry. r=wchen, r=smaug
MozReview-Commit-ID: 3gYTaRVcV0y
2016-10-12 15:26:02 +08:00
Sebastian Hengst
82cf47929c Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly
MozReview-Commit-ID: 7gvZrDtmcZP
2016-10-04 20:16:28 +02:00
Matt Woodrow
52f30d559e Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander 2016-09-21 21:25:33 +12:00
Carsten "Tomcat" Book
e2adb4a537 Backed out 16 changesets (bug 1288618) for bustage on a CLOSED TREE
Backed out changeset 06187d250f7a (bug 1288618)
Backed out changeset 2a47f8ea1d89 (bug 1288618)
Backed out changeset e179c8e8265d (bug 1288618)
Backed out changeset 25396a1af922 (bug 1288618)
Backed out changeset e98f835c6ee5 (bug 1288618)
Backed out changeset 24df0e89b273 (bug 1288618)
Backed out changeset f8bbdabdb6da (bug 1288618)
Backed out changeset 8b0adeab93df (bug 1288618)
Backed out changeset 95f23366de82 (bug 1288618)
Backed out changeset 63a9c689e1d5 (bug 1288618)
Backed out changeset 8f67443dccb8 (bug 1288618)
Backed out changeset 4e7fe69d5f45 (bug 1288618)
Backed out changeset 53b113acee42 (bug 1288618)
Backed out changeset 2583ae4e2e3b (bug 1288618)
Backed out changeset 75a61d0e71b7 (bug 1288618)
Backed out changeset da740b4fd484 (bug 1288618)
2016-09-21 08:44:11 +02:00
Matt Woodrow
656ef770c3 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander 2016-09-21 15:36:39 +12:00
Carsten "Tomcat" Book
ebe8b5327e Backed out changeset f981edef8f81 (bug 1288618) 2016-09-15 16:34:00 +02:00
Matt Woodrow
52f9683ee1 Bug 1288618 - Part 13: Add VideoDecoderManager protocol. r=dvander 2016-09-15 23:18:00 +12:00
Bobby Holley
c19f62aa97 Bug 1300287 - Move Servo_Shutdown call to nsAppRunner.cpp. r=emilio
This mirrors the location of Servo_Init. This is important because xpcshell runs
don't use nsAppRunner, and so we end up with an unpaired call to Servo_Shutdown,
which crashes.
2016-09-02 23:48:45 -07:00
Edgar Chen
f37acbbb74 Bug 1275835 - Part 1: Move custom element codes from nsDocument to CustomElementsRegistry; r=wchen
MozReview-Commit-ID: 9gTSFrYW7o3
2016-08-30 11:48:53 +08:00
Bobby Holley
73a3fdaa5a Bug 1291885 - Rejigger init hook and add shutdown hook. r=emilio 2016-08-03 18:31:01 -07:00
David Anderson
868e594e6a Remove CompositorLRU and associated code. (bug 1287362, r=mattwoodrow) 2016-07-19 21:12:54 -07:00
Carsten "Tomcat" Book
af12a4faa1 Backed out changeset b3924432ba21 (bug 1287362) for xpcshell crashes 2016-07-19 14:07:09 +02:00
David Anderson
d8bd529967 Don't access Preferences from CompositorLRU. (bug 1287362, r=mattwoodrow) 2016-07-18 22:54:45 -07:00
Masayuki Nakano
58f2b7d302 Bug 1260651 part.56 Rename nsHTMLEditor to mozilla::HTMLEditor and related stuff r=mccr8
This patch renames classes/structs as:

nsHTMLEditor -> mozilla::HTMLEditor
nsHTMLEditor::BlobReader -> mozilla::HTMLEditor::BlobReader
SetSelectionAfterTableEdit -> mozilla::AutoSelectionSetterAfterTableEdit

nsHTMLEditor.h -> HTMLEditor.h (exposed as mozilla/editor/HTMLEditor.h)
nsHTMLAbsPosition.cpp -> HTMLAbsPositionEditor.cpp
nsHTMLAnonymousUtils.cpp -> HTMLAnonymousNodeEditor.cpp
nsHTMLDataTransfer.cpp -> HTMLEditorDataTransfer.cpp
nsHTMLEditorStyle.cpp -> HTMLStyleEditor.cpp
nsHTMLInlineTableEditor.cpp -> HTMLInlineTableEditor.cpp
nsHTMLObjectResizer.cpp -> HTMLEditorObjectResizer.cpp
nsTableEditor.cpp -> HTMLTableEditor.cpp

These new file names are clearer names which related to HTMLEditor than old names.

MozReview-Commit-ID: DTWaoFvy0DF
2016-07-09 11:42:33 +09:00
Masayuki Nakano
4f2b127be9 Bug 1260651 part.55 Rename nsEditorEventListeners to mozilla::EditorEventListener (and their file names) r=mccr8
MozReview-Commit-ID: HqUUCZkaFTT
2016-07-07 19:40:51 +09:00
Eugen Sawin
2ea06898be Bug 1278574 - [2.2] Instantiate MediaPrefs on Android during AndroidBridge construction. r=jya 2016-06-23 15:26:11 +02:00
Eugen Sawin
11e63e41f9 Bug 1278574 - [1.3] Allow only a single media decoder (pair) on Android 4.2 and earlier. r=jya,snorp 2016-06-23 15:26:11 +02:00
Phil Ringnalda
1e5a0a044f Back out changeset 87d0b9d9da94 (bug 1278574) for WinXP debug failures in services/sync/ tests related to SingletonExists() assertion failures 2016-06-20 13:38:40 -07:00
Eugen Sawin
096011aeff Bug 1278574 - [1.3] Allow only a single media decoder (pair) on Android 4.2 and earlier. r=jya,snorp 2016-06-20 16:14:30 +02:00
Kyle Huey
ab5fe91f6b Bug 1273737: Shutdown the refresh driver when there are no more refresh drivers. r=dbaron,mchang 2016-06-06 06:51:15 -07:00
Jean-Yves Avenard
f9a33d86eb Bug 1206637: P1. Add MediaPrefs convenience class. r=cpearce
Almost identical to gfxPrefs, with the exception that preferences can't be set (as it doesn't work with e10s anyway). The generated code size is tiny enough that we don't have to bother about having duplicates.

MozReview-Commit-ID: 5SZyscvIzzS
2016-05-09 14:59:02 +10:00
Peter Van der Beken
687ebdd0ea Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz. 2016-05-09 17:08:31 +02:00
Carsten "Tomcat" Book
08a1dea94e Backed out changeset d385df62c0e7 (bug 1267186) for hazard failures 2016-05-09 13:40:01 +02:00
Peter Van der Beken
182c8eab61 Bug 1267186 - Split lookup of WebIDL DOM class names from lookup of DOMCI DOM class names. r=bz. 2016-03-09 15:48:12 +01:00