Commit Graph

273168 Commits

Author SHA1 Message Date
Ed Morley
fbe10d4921 Merge mozilla-central to mozilla-inbound 2012-06-06 10:24:28 +01:00
Ed Morley
31ad3140c9 Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-06-06 09:20:35 +01:00
Robert Longson
8c6547e87a Bug 761507 - Fix issues with adoptNode and conditional processing. r=dholbert 2012-06-06 09:15:53 +01:00
Gian-Carlo Pascutto
435d3821a3 Bug 761536 - Do not hardcode /data/data directories. Update XUL crashreporter. r=blassey 2012-06-06 10:00:45 +02:00
Michael Wu
e6e1ea0a84 Bug 761844 - Don't link omx plugin to surfaceflinger_client, r=doublec 2012-06-06 03:45:02 -04:00
Ms2ger
e9e1333685 Bug 759726 - Move mCanvasElement to nsICanvasRenderingContextInternal and make SetCanvasElement return void; f=bz r=bjacob 2012-06-06 09:42:47 +02:00
Ms2ger
c334a5d8c5 Bug 761120 - Disallow inserting a text node as child of a document; r=bz 2012-06-06 09:42:06 +02:00
Ms2ger
5f4ed964fb Bug 761306 - Make nsInsertTagCommand::mTagName an nsIAtom*; r=ehsan 2012-06-06 09:42:01 +02:00
Ms2ger
4ba3d51690 Bug 761313 - Simplify nsHTMLEditRules::RemoveBlockStyle; r=ehsan 2012-06-06 09:41:56 +02:00
Ms2ger
bc1f580a59 Bug 761308 - Part b: Cleanup CreateElementTxn::DoTransaction(); r=ehsan 2012-06-06 09:41:51 +02:00
Ms2ger
da2de36ea8 Bug 761308 - Part a: Remove unnecessary assertion from CreateElementTxn::Init(); r=ehsan 2012-06-06 09:41:46 +02:00
Ms2ger
0f088b5526 Bug 761299 - Cleanup DeleteRangeTxn::CreateTxnsToDeleteBetween; r=ehsan 2012-06-06 09:41:41 +02:00
Ms2ger
54fa2b7140 Bug 761297 - Simplify debug code in DeleteRangeTxn::Init; r=ehsan 2012-06-06 09:41:35 +02:00
Ms2ger
62daf99946 Bug 761296 - Cleanup InsertElementTxn::DoTransaction; r=ehsan 2012-06-06 09:41:30 +02:00
Ms2ger
f0c0eabede Bug 761288 - Cleanup JoinElementTxn::DoTransaction; r=ehsan 2012-06-06 09:41:22 +02:00
Ms2ger
3daa3f3d2d Bug 761020 - Add nsIDocument::GetDocumentType(); r=mounir 2012-06-06 09:41:20 +02:00
Ms2ger
02a7eb4e87 Bug 760156 - Cleanup LOCAL_INCLUDES in content/media/; r=sicking
This patch makes it possible to include nsGenericHTMLElement.h without adding
to LOCAL_INCLUDES.
2012-06-06 09:40:02 +02:00
Ms2ger
8e88a95ce6 Bug 759082 - Remove nsIScriptContext::InitOuterWindow; r=mrbkap 2012-06-06 09:40:00 +02:00
Ms2ger
15eaf9e1a1 Bug 760049 - Move nsIScriptContext::CreateNativeGlobalForInner to nsGlobalWindow.cpp; r=jst 2012-06-06 09:38:51 +02:00
Ms2ger
b63367bd67 Bug 760047 - Don't handle a null aDocument in nsGlobalWindow::SetNewDocument; r=mounir 2012-06-06 09:36:58 +02:00
Ms2ger
ac22629f85 Bug 756819 - Use dom::Element for the result of GetElementParent; r=ehsan 2012-06-06 09:36:52 +02:00
Ms2ger
48c4041fde Bug 756748 - Use nsIAtom and nsINode in nsHTMLEditRules::ConvertListType; r=ehsan 2012-06-06 09:36:46 +02:00
Ms2ger
b9cdb58b83 Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.

Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Ms2ger
a763f9e8c3 Bug 756758 - Use nsINode in nsEditor::ReplaceContainer; r=ehsan 2012-06-06 09:36:33 +02:00
Ms2ger
5861fba1f4 Bug 756757 - Use nsINode in nsHTMLEditor::MergeCells; r=ehsan 2012-06-06 09:36:28 +02:00
Ms2ger
3c70068c94 Bug 756756 - Cleanup nsTextServicesDocument::GetCollapsedSelection; r=ehsan 2012-06-06 09:36:23 +02:00
Ms2ger
aed7e8aaa1 Bug 756755 - Cleanup nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan 2012-06-06 09:36:17 +02:00
Ms2ger
8f1d0d1be9 Bug 756754 - Part b: Use nsINode in nsEditor::InsertContainerAbove; r=ehsan 2012-06-06 09:36:12 +02:00
Ms2ger
8c278ddf71 Bug 756753 - Simplify nsHTMLEditRules::LookInsideDivBQandList, nsEditor::CountEditableChildren; r=ehsan 2012-06-06 09:36:07 +02:00
Ms2ger
245ac28ce6 Bug 756752 - Remove nsHTMLEditor::IsContainer(nsINode*); r=ehsan 2012-06-06 09:36:00 +02:00
Ms2ger
defa6dba2a Bug 756750 - Cleanup nsEditor::RemoveContainer; r=ehsan 2012-06-06 09:35:54 +02:00
Ms2ger
55cac76b93 Bug 756754 - Part a: Return dom::Element* from CreateHTMLContent; r=ehsan 2012-06-06 09:35:47 +02:00
Ms2ger
41f72448ff Bug 758659 - Don't use int32 in GIF2.h; r=bholley 2012-06-06 09:35:41 +02:00
Ms2ger
8a8a27c9aa Bug 558313 - Remove ipc/chromium/src/base/third_party/nspr for great justice; r=ted 2012-06-06 09:24:55 +02:00
Ms2ger
a3320ff2b7 Bug 758669 - Don't use int32 in JSHistogram_Add; r=taras 2012-06-06 09:22:24 +02:00
Ms2ger
5d0bde3c1d Bug 758670 - Use stdint types instead of stdin ones in dom; r=mounir 2012-06-06 09:22:06 +02:00
Ms2ger
39ccf575a7 Bug 758861 - Don't redefine stdin types in basictypes.h; r=bsmedberg 2012-06-06 09:21:50 +02:00
Jason Duell
4be6af5664 Bug 747215: Ensure redirect pathways always call both OnStart/OnStopRequest. r=biesi 2012-06-05 23:59:05 -07:00
Jason Duell
5575a9f9e0 Bug 761932: Ensure OnStartRequest called in bug 738484 codepaths. r=mcmanus 2012-06-05 23:54:20 -07:00
Makoto Kato
cb3e90214d Bug 761912 - add VS11 debug dll to trace malloc. r=dbaron 2012-06-06 14:45:45 +09:00
Ehsan Akhgari
bdd1cdb13d Bug 157681 - Part 2: Optimize positioned frame offset changes by moving the frame as opposed to reflowing it in case we know that the size of the frame will not change; r=dbaron
This patch adds a change hint to signal that one of the offsets on a
frame has been changed.  When processing the hint, we do one of the
following things based on the position property of the frame.

* For static frames, we ignore the offset changes completely, as they
  will not change the layout.
* For relative positioned frames, this patch refactors the
  nsHTMLReflowState::ComputeRelativeOffsets function so that it can be
  used from other callers, and it uses that to compute the new relative
  offsets, and uses the offsets computed previously to compute the new
  position of the frame.
* For absolute positioned frames, we set up a fake parent reflow state
  object, and then we create a new reflow state object for the frame in
  question.  This setup is similar to what nsFrame::BoxReflow does.
  Once we have the new reflow state object, we use it to compute the
  absolute offsets, and then we use the computed offsets to set the new
  position of the frame.  The offset computation is similar to what
  nsAbsoluteContainingBlock::ReflowAbsoluteFrame does.  In some cases
  where it is possible for the dimensions of the frame to change based
  on the offset changes, we fall back to a full reflow.
2012-06-06 00:53:48 -04:00
Ehsan Akhgari
e8b6991cce Bug 157681 - Part 1: Add a test suite to make sure that dynamic changes to the position CSS properties work correctly; r=dbaron
These series of tests attempt to ensure conformance to the CSS 2.1
sections 10.3.7 and 10.6.4.
2012-06-06 00:53:33 -04:00
Brian Nicholson
0fc127a2bc Bug 747388 - Remove .part files on dl-failed on Android. r=mfinkle 2012-06-05 21:06:04 -07:00
Scott Johnson
4b76e96226 Bug 749186, Followup 2: Crashtest for bug 749186 [r=dbaron].
--HG--
extra : rebase_source : 8fd8b01b46c9150f8ba14f87b8b34aa6fa9da11c
2012-06-05 22:47:38 -05:00
Scott Johnson
98bb59b964 Bug 749186, Followup Patch 1: Cache font inflation settings in pres shell to prevent crash. [r=dbaron]
--HG--
extra : rebase_source : dc8b8f66bcd49c54ecefdf94793100b7901e6f3b
2012-06-05 22:47:33 -05:00
Chris Jones
0f831b2029 Bug 761894: Band-aid bustage from bug 760675 when using WebGL on same thread as GL compositor. rs=jrmuizel 2012-06-05 20:33:59 -07:00
Geoff Lankow
9ddcf15b7a Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Brad Lassey
f6011a1f0c backing out bug 755070 for potential talos panning regression 2012-06-05 22:55:18 -04:00
L. David Baron
4ae65b30d1 Fix two pieces of cached information that were preventing font size inflation from applying correctly during intrinsic width calculation when intrinsic width calculation had already been done without font size inflation. (Bug 748434) r=roc
The first of these pieces of information is the intrinsic widths cached
on a block.

The second of them is the font inflation cached on a text frame (which
might be set to 1.0 at this point if a text frame has previously had
intrinsic width calculation done on it, but hasn't been reflowed).
2012-06-05 19:13:41 -07:00
Geoff Lankow
5cefea8480 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00