Commit Graph

452617 Commits

Author SHA1 Message Date
Nicholas Nethercote
ddc78c3b0c Bug 1229458 - Remove SizeOfIncludingThisMustBeUnshared() from string classes. r=mccr8.
The patch changes all uses of SizeOfIncludingThisMustBeUnshared() to
SizeOfIncludingThisIfUnshared(). This incurs the (tiny) cost of an unnecessary
IsReadonly() check for guaranteed-unshared strings, but avoids the possible
assertion failures that would occur when MustBeUnshared() was used incorrectly
on shared strings, which is an easy mistake to make.

--HG--
extra : rebase_source : b1e91f1c19bcbe0521b0ce461d6c90512ca938ef
2015-12-01 15:36:26 -08:00
Makoto Kato
9e188a4569 Bug 1228134 - Should check media.webspeech.synth.enabled on Windows SAPI backend. r=eeejay 2015-12-02 13:42:23 +09:00
Masayuki Nakano
c62bfb339f Bug 1213589 part.9 ContentEventHandler::ShouldBreakLineBefore() should return false if the content is unknown HTML element r=smaug 2015-12-02 13:20:01 +09:00
Masayuki Nakano
ca5b42279c Bug 1213589 part.8 When there are no nodes causing text, ContentEventHandler should set start of the editor root to start of the range r=smaug 2015-12-02 13:20:01 +09:00
Masayuki Nakano
bd5dd51e5f Bug 1213589 part.7 Add new testcases to runSetSelectionEventTest() and runQueryTextContentEventTest() for checking the behavior with open tag r=smaug 2015-12-02 13:20:01 +09:00
Masayuki Nakano
14e03f9711 Bug 1213589 part.6 ContentEventHandler should insert line breaks at open tag of elements except non-replaced inline elements r=smaug 2015-12-02 13:20:00 +09:00
Masayuki Nakano
661b0d48d5 Bug 1213589 part.5 Redesign the rules to create range in ContentEventHandler::SetRangeFromFlatTextOffset() r=smaug 2015-12-02 13:20:00 +09:00
Masayuki Nakano
6edaa422d8 Bug 1213859 part.4 ContentEventHandler should use NS_NewPreContentIterator rathr than NS_NewContentIterator at converting between DOM tree and flattened text r=smaug 2015-12-02 13:20:00 +09:00
Masayuki Nakano
ae9603b782 Bug 1213589 part.3 ContentEventHandler::GetFlatTextLengthInRange() should handle specially when it's called by nsIMutationObserver::ContentRemoved() r=smaug 2015-12-02 13:20:00 +09:00
Masayuki Nakano
18395c1495 Bug 1213589 part.2 Clean up GenerateFlatTextContent(), GelerateFlatFontRanges() and GetFlatTextOffsetOfRange() of ContentEventHandler r=smaug 2015-12-02 13:20:00 +09:00
Masayuki Nakano
1b1d719d0f Bug 1213589 part.1 Make ContentEventHandler::GetTextLength() and GetNativeTextLength() called only with a text node r=smaug 2015-12-02 13:20:00 +09:00
Kartikaya Gupta
0f7fe3417c Bug 1156392 - Remove an ifdef condition that we don't need any more. r=tn 2015-12-01 22:21:42 -05:00
Chris Pearce
373cfa1365 Bug 1229508 - Support current and previous GMP_API_DECRYPTORs. r=gerald
To allow GMPs time to update to new GMPDecryptor versions, we support the
latest GMPDecryptor version, and the previous.

In order to support a consistent interface to Gecko, we adapt the previous
GMPDecryptor version to the latest in the GMP child process.  So Gecko always
thinks it's talking to the latest version.

We also make gmp-fake deliberately support the previous GMPDecryptor version,
to ensure this code path remains tested.
2015-12-02 15:37:09 +13:00
Mike Hommey
7094b49a7a Bug 1225682 - Don't use nsAuto{,C}String as class member variables in xpfe/. r=neil 2015-12-02 11:04:37 +09:00
Mike Hommey
4c1c46f7d3 Bug 1225682 - Don't use nsAuto{,C}String as class member variables in widget/. r=roc 2015-12-02 11:04:37 +09:00
Mike Hommey
4005d567f9 Bug 1225682 - Don't use nsAuto{,C}String as class member variables in security/manager/. r=keeler 2015-12-02 11:04:37 +09:00
Mike Hommey
57327a0e53 Bug 1225682 - Don't use nsAuto{,C}String as class member variables in rdf/. r=Pike 2015-12-02 11:04:37 +09:00
Mike Hommey
9403734fe8 Bug 1225682 - Don't use nsAuto{,C}String as class member variables in toolkit/. r=froydnj 2015-12-02 11:04:37 +09:00
Mike Hommey
b2e31e6ade Bug 1225682 - Don't use nsAuto{,C}String as class member variables in netwerk/. r=mcmanus 2015-12-02 11:04:37 +09:00
Mike Hommey
88221586dd Bug 1225682 - Don't use nsAuto{,C}String as class member variables in js/xpconnect/. r=mccr8 2015-12-02 11:04:37 +09:00
Mike Hommey
ce9a5909d1 Bug 1225682 - Don't use nsAuto{,C}String as class member variables in gfx/. r=jrmuizel 2015-12-02 11:04:37 +09:00
Mike Hommey
58b657359f Bug 1225682 - Don't use nsAuto{,C}String as class member variables in dom/media/. r=cpearce 2015-12-02 11:04:37 +09:00
Mike Hommey
9e1150f358 Bug 1225682 - Don't use nsAuto{,C}String as class member variables in docshell/. r=bz 2015-12-02 11:04:37 +09:00
Mike Hommey
2a82df055d Bug 1229293 - Enforce order when setting a HierarchicalStringList, and forbid reassignment. r=gps
The current implementation of HierarchicalStringList allows the following:

   FOO.bar = [
       'foo',
       'bar',
   ]

while

   FOO.bar += [
       'foo',
       'bar',
   ]

would be invalid because of the StrictOrderingOnAppendList enforcement.

It also allows to overwrite the entire list with a subsequent

   FOO.bar = [
	'baz',
   ]

while we've explicitly forbidden such things for every other list.

While in the vicinity, fix HierarchicalStringList._get_export_variable to not
call the HierarchicalStringList constructor uselessly.
2015-12-02 11:04:37 +09:00
Mike Hommey
36bc760ee3 Bug 1228289 - Avoid l10n-check overwriting final package when MOZ_SIMPLE_PACKAGE_NAME is set. r=ted 2015-12-02 11:04:37 +09:00
Mike Hommey
572059374e Bug 1178266 - Link against libatomic when necessary. r=froydnj 2015-12-02 11:04:37 +09:00
Ralph Giles
a0a2e12a73 Bug 1229612 - Update rust mp4parse to v0.1.5. r=kinetik
Adds query functions for track metadata.
2015-12-01 17:33:00 -08:00
Wes Kocher
cf8498f97a Merge m-c to inbound, a=merge
--HG--
extra : commitid : 7uZvQAK3Zn8
2015-12-01 16:10:04 -08:00
Wes Kocher
541c7a5b69 Merge fx-team to central, a=merge
--HG--
extra : commitid : GoUn7UzWJCi
2015-12-01 16:07:14 -08:00
Eric Faust
0c156b26dc Bug 1229579 - Make class members properly XDR-able. (r=billm) 2015-12-01 15:53:00 -08:00
Wes Kocher
50e8f21d5b Merge inbound to central, a=merge
--HG--
extra : commitid : 9WZlbf1Q29D
2015-12-01 15:43:33 -08:00
Jean-Yves Avenard
b9f3760d8a Bug 1229299: Use tail dispatch to notify the mirror of new value. r=bholley
This ensures that tasks are run in the proper order.
2015-12-02 10:41:17 +11:00
Jean-Yves Avenard
87d0bbae43 Bug 1226842: Error rather than asserting when encountering error in sample table. r=gerald 2015-12-02 10:39:50 +11:00
Jean-Yves Avenard
9191c537d3 Bug 1229134: Check that memory allocation actually succeeded. r=gerald 2015-12-02 10:39:49 +11:00
Wes Kocher
f619310a07 Backed out 6 changesets (bug 1214812) for kk emulator test bustage
Backed out changeset b36710809f0c (bug 1214812)
Backed out changeset a3b5c66f34e4 (bug 1214812)
Backed out changeset df6d3dc3fca9 (bug 1214812)
Backed out changeset 9f94be2a3c1d (bug 1214812)
Backed out changeset 1eaf9f30b00d (bug 1214812)
Backed out changeset 902b985b3273 (bug 1214812)

--HG--
extra : commitid : LNisZGOtv0q
2015-12-01 15:33:07 -08:00
Wes Kocher
6644a2b74c Merge b2g-inbound to m-c a=merge
--HG--
extra : commitid : FDRkxvrmyTy
2015-12-01 15:20:04 -08:00
Jan de Mooij
bb9418628d Bug 1227287 - Fix minor bug with f.arguments and lazy arguments. r=luke 2015-12-01 16:20:36 +01:00
Jan de Mooij
27b63a868f Bug 1225367 - Fix bogus asserts when storing symbols to typed arrays. r=h4writer 2015-12-01 16:17:31 +01:00
Mark Banner
c3c17919f1 Bug 1229004 - Rename the libs directory to vendor in browser/extensions/loop/standalone/content. r=dmose
--HG--
rename : browser/extensions/loop/standalone/content/libs/l10n-gaia-02ca67948fe8.js => browser/extensions/loop/standalone/content/vendor/l10n-gaia-02ca67948fe8.js
rename : browser/extensions/loop/standalone/content/libs/l10n-gaia-upstream.txt => browser/extensions/loop/standalone/content/vendor/l10n-gaia-upstream.txt
2015-12-01 14:47:50 +00:00
Gregory Arndt
079fc09f4a Bug 1227355 - Configure b2g-ota branch and add update channel r=wcosta a=b2g-otaneedsthis
--HG--
extra : commitid : LjQCJCv8ZIY
extra : source : ad64115a75ca9a2466e432ebe0149797c24c701e
2015-11-30 20:48:01 -06:00
Carsten "Tomcat" Book
f3e1aec951 merge mozilla-inbound to mozilla-central a=merge 2015-12-01 15:25:14 +01:00
Carsten "Tomcat" Book
e224f27637 merge fx-team to mozilla-central a=merge 2015-12-01 12:00:42 +01:00
B2G Bumper Bot
fdb9a156a6 Bumping manifests a=b2g-bump 2015-11-30 19:26:34 -08:00
B2G Bumper Bot
1d4d5e0ff1 Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/09d11f2ffa29
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #33400 from KevinGrandon/bug_1228449_clock_remove_switches

Bug 1228449 - [Clock] Remove unused switches.css file

========

https://hg.mozilla.org/integration/gaia-central/rev/c30e446ed3b6
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1228449 - [Clock] Remove unused switches.css file

========

https://hg.mozilla.org/integration/gaia-central/rev/310cc8ea102d
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Merge pull request #33430 from KevinGrandon/bug_1147860_contacts_search_test_intermittent

Bug 1147860 - Guard test logic using promise so files are fully loaded

========

https://hg.mozilla.org/integration/gaia-central/rev/a8cfd1f8884e
Author: Kevin Grandon <kevingrandon@yahoo.com>
Desc: Bug 1147860 - Guard test logic using promise so files are fully loaded r=francisco
2015-11-30 19:25:12 -08:00
Gregory Arndt
59f3c7f5d2 Bug 1227355 - Configure b2g-ota branch and add update channel r=wcosta
--HG--
extra : commitid : DtYIIbkpguT
extra : rebase_source : 8a5e0d3e0c22968c73ecb926ac03a852315641ef
2015-11-30 20:48:01 -06:00
B2G Bumper Bot
bfe32a0e21 Bumping manifests a=b2g-bump 2015-12-01 11:35:34 -08:00
B2G Bumper Bot
8ba6e6cc78 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/0e366e8ecec7
Author: gasolin <gasolin@gmail.com>
Desc: Merge pull request #33449 from gasolin/issue-1228276-2

Bug 1228276 - refactor StorageHelper.showFormatedSize as a module, r=yzen

========

https://hg.mozilla.org/integration/gaia-central/rev/24fa316caa9e
Author: gasolin <gasolin@gmail.com>
Desc: Bug 1228276 - refactor StorageHelper.showFormatedSize as a module, r=yzen
2015-12-01 11:35:19 -08:00
B2G Bumper Bot
bce25699e1 Bumping manifests a=b2g-bump 2015-12-01 11:15:40 -08:00
B2G Bumper Bot
e58d765dcb Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/f13e5c6dda61
Author: Aleh Zasypkin <aleh.zasypkin@gmail.com>
Desc: Merge pull request #33328 from azasypkin/bug-1226555-conversation-split-mode

Bug 1226555 - [Messages] The Conversation split view is not rendered anymore. r=julien

========

https://hg.mozilla.org/integration/gaia-central/rev/93090f1a769b
Author: Aleh Zasypkin <azasypkin@mozilla.com>
Desc: Bug 1226555 - [Messages] The Conversation split view is not rendered anymore. r=julien
2015-12-01 11:15:25 -08:00
B2G Bumper Bot
a9ebe688d5 Bumping manifests a=b2g-bump 2015-12-01 10:50:04 -08:00