Commit Graph

158295 Commits

Author SHA1 Message Date
Ehsan Akhgari
a1e350edad Bug 945592 - Convert the type macros in nsTextFormatter.cpp to enum values; r=froydnj 2013-12-03 15:41:25 -05:00
Ehsan Akhgari
8de086f44c Bug 945587 - Stop using the kRDFServiceCID name in content/xul; r=bzbarsky
--HG--
extra : rebase_source : 08aeb4bfce11e6d26cf034858f72b2526b15d60e
2013-12-03 14:34:18 -05:00
Andy Wingo
e2c13b49c9 Bug 945828 - Work around bug 945756. r=luke 2013-12-03 19:04:25 +01:00
Andy Wingo
c0c5e99d51 Bug 945813 - Paper over cycle collection problem in IndexedDB. r=mccr8, r=khuey 2013-12-03 18:35:04 +01:00
Cykesiopka
f5adbcaf50 Bug 915937 - Cleanup #defines in nsNSSComponent.cpp and change them to static consts. r=bsmith 2013-12-03 15:23:27 -05:00
Benoit Girard
341b0576d4 Bug 944866 - Bustage Intermittent failure. r=bustage on a CLOSED TREE 2013-12-03 15:04:47 -05:00
Benoit Girard
59595b7d0e Bug 944866 - Bustage fix for gfx::pint. r=bustage on a CLOSED TREE 2013-12-03 14:07:26 -05:00
Andrew McCreight
dc0b895a45 Bug 937751, part 7 - Incrementalize nsCycleCollector::MarkRoots. r=smaug
Now that all of MarkRoots's state is stored on the heap, it can be run
incrementally. Like with Collect, it takes a budget to determine how
long it can run. Any residual budget will be available to the caller.

One difference is that Collect calls checkOverBudget() which always checks
the time, but MarkRoots uses isOverBudget() to determine if there is
any time remaining. This only checks the current time every
kNumNodesBetweenTimeChecks nodes, to reduce the overhead of checking.
2013-12-03 10:47:47 -08:00
Andrew McCreight
145f83b008 Bug 937751, part 6 - Allocate the current MarkRoots node on the heap rather than the stack. r=smaug
To make nsCycleCollector::MarkRoots incremental, we have to store all of its state on
the heap, so we can resume it.  The only remaining state to convert is the NodePool
enumerator.
2013-12-03 10:47:47 -08:00
Andrew McCreight
04314bee87 Bug 937751, part 5 - Add optional phase logging. r=smaug
For debugging purposes, it can be useful to see what ICC is currently
being run.
2013-12-03 10:47:47 -08:00
Andrew McCreight
994059dfef Bug 937751, part 4 - Incrementalize nsCycleCollector::Collect. r=smaug
This patch makes it so that Collect takes a time budget that describes
how much longer the collection can be run for. Then we run the current phase.
Once this is done, we check whether we have exceeded our time budget or
if we have finished a collection. If neither of those have happened, we
run the cycle collector some more.

If we're a manually triggered CC, and we were in the middle of an ICC when
the CC started, then once the current CC is complete, we start a new CC
immediately. This is needed to ensure that a manually specified listener
is used, and to ensure that any garbage objects the caller expects to be
collected are in fact collected.

Note that in this patch we are always passing in an unlimited budget to
Collect, so cycle collections will always be run to completion.
2013-12-03 10:47:47 -08:00
Andrew McCreight
5076bf4519 Bug 937751, part 3 - Protect against reentrancy with when incrementally CCing. r=smaug
Cycle collection protects against reentrancy by setting a flag to indicate a collection
is in progress. With synchronous CC, it is okay to set this in BeginCollection, and
clear it in CleanupAfterCollection. With ICC, this must be set and cleared in every
slice, so I moved the fixing of it to Collect.  I also changed the name of the variable,
because we can be in the middle of an ICC without the CC being actively running,
and it is only the latter we are worried about here.
2013-12-03 10:47:47 -08:00
Andrew McCreight
77e7f35a46 Bug 937751, part 2 - Move SliceBudget into js/public. r=billm 2013-12-03 10:47:47 -08:00
Andrew McCreight
4411a6d49f Bug 937751, part 1 - Add and set incremental cycle collection phases. r=smaug 2013-12-03 10:47:46 -08:00
Benoit Jacob
5222a33e5b Bug 942499 - Part 3: Move CanReadSRGBFromFBOTexture out of GLContext - r=gal,jgilbert 2013-12-03 13:44:38 -05:00
Benoit Jacob
b253073c22 Bug 942499 - Part 2: Move CanUploadNonPowerOfTwo out of GLContext; remove the gfx.textures.poweroftwo.force-enabled preference - r=gal,BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
1dea809c09 Bug 942499 - Part 1: Move CanUploadSubTextures and WantsSmallTiles out of GLContext - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
b21184fe54 Bug 942500 - Move GLContext::TexImage2D and friends out of GLContext - r=jgilbert 2013-12-03 13:44:38 -05:00
Benoit Jacob
aeba86a7b1 Bug 942509 - Move Upload* functions to new GLUploadHelpers files - r=gal,jgilbert 2013-12-03 13:44:38 -05:00
Benoit Jacob
ccea62e706 Bug 942501 - Part 3: move CreateTextureImage and TileGenFunc out of GLContext - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
e5428485e0 Bug 942501 - Part 2: move TextureImageCGL to separate files - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
38f49f84a9 Bug 942501 - Part 1: remove some dead code around TextureImage functions - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
c8701f007b Bug 944703 - Part 8: make ShmemTextureClient hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
2846ebe4db Bug 944703 - Part 7: make DeprecatedSharedRGBImage hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
40b5ca0bf5 Bug 944703 - Part 6: make DeprecatedSharedPlanarYCbCrImage hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
42131b06dc Bug 944703 - Part 5: make AllocShmemParams hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
aab9c0f7a9 Bug 944703 - Part 4: make ContentHost hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
487aee246b Bug 944703 - Part 3: make TextureHost hold a strong reference to its ISurfaceAllocator - r=nical 2013-12-03 13:44:38 -05:00
Benoit Jacob
521560ae0f Bug 944703 - Part 2: make gfxReusableSharedImageSurfaceWrapper hold a strong reference to its ISurfaceAllocator - r=BenWa 2013-12-03 13:44:38 -05:00
Benoit Jacob
51b9f31c46 Bug 944703 - Part 1: make SurfaceCaps hold a strong reference to its ISurfaceAllocator - r=jgilbert 2013-12-03 13:44:38 -05:00
Benoit Jacob
f197bdfbfe Bug 942505 - Move everything SharedHandle-related out of GLContext - r=jgilbert 2013-12-03 13:44:38 -05:00
Jan de Mooij
3dc512e421 Bug 945406 - Move maybeAddOsrTypeBarriers calls from traverseBytecode to IonBuilder::build. r=bhackett
--HG--
extra : rebase_source : 17730207896800422129ecca46c2eb06ca1f7859
2013-12-03 19:23:25 +01:00
Jan de Mooij
58e5e3c47f Bug 945294 - Add a missing is<JSFunction> check to annotateGetPropertyCache. r=bhackett
--HG--
extra : rebase_source : 908712a8afa11ce5ce32311befba30edd86a6128
2013-12-03 19:18:10 +01:00
Benoit Girard
b0230895bb Bug 944866 - Part 2: Add layers.scroll-graph. r=gal
--HG--
extra : rebase_source : b517f110b09056b3037f9bfae609ff14e6af3859
2013-12-03 10:49:46 -05:00
Stephen Pohl
acd47107c8 Bug 934811 - Ensure that no scrollbars are displayed for touch input. r=jimm,tn 2013-12-03 13:21:09 -05:00
Nathan Froyd
2b73940866 Bug 942109 - constify PLDHashTableOps in security/manager/; r=briansmith 2013-11-20 13:42:08 -05:00
Daniel Holbert
a37726337a Bug 945151: Mark toolkit/library as FAIL_ON_WARNINGS. r=bsmedberg 2013-12-03 09:33:57 -08:00
Daniel Holbert
af59e702ab Bug 945148: Prevent FACILITY_VISUALCPP redefinition in nsDllMain.cpp, with pre-2012 MSVC with Windows 8 SDK. r=bsmedberg 2013-12-03 09:33:57 -08:00
Christian Holler
f7297c1b22 Bug 945754 - Make EnsureTrackPropertyTypes handle OOM. r=bhackett
--HG--
extra : rebase_source : 261942cf99f22fc5110e7e51bec6f86c4cfa8aaa
2013-12-03 17:43:18 +01:00
Benoit Girard
b21fdbc0d6 Bug 904227 - Ignore gmock warnings from MockContentController. r=kats 2013-11-18 20:54:22 -05:00
Brian Hackett
1e5869ccd8 Bug 944946 - Use accessor methods for script->code and script->length, r=jandem. 2013-12-03 08:17:50 -08:00
Ryan VanderMeulen
751620a1fd Backed out changeset 5cb5fdb72e55 (bug 942275) for mach bustage.
CLOSED TREE DONTBUILD
2013-12-03 11:13:26 -05:00
Ehsan Akhgari
5ee5d30ac3 Bug 945588 - Add include guards to SkConfig8888.h 2013-12-03 11:09:56 -05:00
Andrew Halberstadt
9763943426 Bug 942275 - Add support for setuptools' entry points to mach, r=gps 2013-12-03 10:37:20 -05:00
Jacek Caban
8289445c70 Bug 944913 - Partial revert of a41081c1026c due to build bustage. 2013-12-03 16:35:11 +01:00
Jacek Caban
f1bc13f4ff Bug 944894 - Fix char16_t/wchar_t mismatch in widget/windows/. r=jimm
--HG--
extra : rebase_source : 829390ff7e6f4eb71dcd32c9d1aa27f61baa6653
2013-12-03 16:12:57 +01:00
Jacek Caban
08ee154ee6 Bug 945245 - Fixed misc char16_t/wchar_t mismatches. r=ehsan
--HG--
extra : rebase_source : fcab74b295b513f4185cf9c12f31ebaddb7c8e0e
2013-12-03 16:09:50 +01:00
Jacek Caban
27a3029fcd Bug 944913 - Fixed char16_t/wchar_t mismatch in tollkit/. r=ehsan
--HG--
extra : rebase_source : c33427dd7c1c2db3d2741b8c2e0d1b4a0359a0a4
2013-12-03 16:07:22 +01:00
Jacek Caban
4ca5cc9b17 Bug 944907 - Fixed char16_t/wchar_t mismatch in netwerk/. r=mcmanus
--HG--
extra : rebase_source : dc84d4a33b8df669b63b62c5e3aaf06ef3ff1a6d
2013-12-03 15:54:59 +01:00
Boris Zbarsky
1bda52d451 Bug 945572 followup. Add missing Element.h include, so we actually have an AsElement() defined. r=bustage 2013-12-03 10:10:39 -05:00