Commit Graph

96015 Commits

Author SHA1 Message Date
Ms2ger
3e9ba4ac53 Bug 756819 - Use dom::Element for the result of GetElementParent; r=ehsan 2012-06-06 09:36:52 +02:00
Ms2ger
4f0c76c829 Bug 756748 - Use nsIAtom and nsINode in nsHTMLEditRules::ConvertListType; r=ehsan 2012-06-06 09:36:46 +02:00
Ms2ger
19f060907a 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
30a9860b7d Bug 756758 - Use nsINode in nsEditor::ReplaceContainer; r=ehsan 2012-06-06 09:36:33 +02:00
Ms2ger
0d99f62caa Bug 756757 - Use nsINode in nsHTMLEditor::MergeCells; r=ehsan 2012-06-06 09:36:28 +02:00
Ms2ger
5e4ea1d70f Bug 756756 - Cleanup nsTextServicesDocument::GetCollapsedSelection; r=ehsan 2012-06-06 09:36:23 +02:00
Ms2ger
8bebfeb3bb Bug 756755 - Cleanup nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan 2012-06-06 09:36:17 +02:00
Ms2ger
7a7a94f9d6 Bug 756754 - Part b: Use nsINode in nsEditor::InsertContainerAbove; r=ehsan 2012-06-06 09:36:12 +02:00
Ms2ger
b4027a20e9 Bug 756753 - Simplify nsHTMLEditRules::LookInsideDivBQandList, nsEditor::CountEditableChildren; r=ehsan 2012-06-06 09:36:07 +02:00
Ms2ger
5ed4a1334e Bug 756752 - Remove nsHTMLEditor::IsContainer(nsINode*); r=ehsan 2012-06-06 09:36:00 +02:00
Ms2ger
45110b50cf Bug 756750 - Cleanup nsEditor::RemoveContainer; r=ehsan 2012-06-06 09:35:54 +02:00
Ms2ger
24cef0b1ea Bug 756754 - Part a: Return dom::Element* from CreateHTMLContent; r=ehsan 2012-06-06 09:35:47 +02:00
Ms2ger
2a9cd723f1 Bug 758659 - Don't use int32 in GIF2.h; r=bholley 2012-06-06 09:35:41 +02:00
Ms2ger
aea359ec17 Bug 558313 - Remove ipc/chromium/src/base/third_party/nspr for great justice; r=ted 2012-06-06 09:24:55 +02:00
Ms2ger
5f583c504f Bug 758669 - Don't use int32 in JSHistogram_Add; r=taras 2012-06-06 09:22:24 +02:00
Ms2ger
b036a6ed71 Bug 758670 - Use stdint types instead of stdin ones in dom; r=mounir 2012-06-06 09:22:06 +02:00
Ms2ger
3666f0c55c Bug 758861 - Don't redefine stdin types in basictypes.h; r=bsmedberg 2012-06-06 09:21:50 +02:00
Jason Duell
5a4546914d Bug 747215: Ensure redirect pathways always call both OnStart/OnStopRequest. r=biesi 2012-06-05 23:59:05 -07:00
Jason Duell
2e8ee258a4 Bug 761932: Ensure OnStartRequest called in bug 738484 codepaths. r=mcmanus 2012-06-05 23:54:20 -07:00
Makoto Kato
4b31fdecaa Bug 761912 - add VS11 debug dll to trace malloc. r=dbaron 2012-06-06 14:45:45 +09:00
Ehsan Akhgari
5682d40581 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
14d4122730 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
5a2f552641 Bug 747388 - Remove .part files on dl-failed on Android. r=mfinkle 2012-06-05 21:06:04 -07:00
Scott Johnson
c1eb117478 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
6c704020bd 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
797d753fce 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
bdc2b4bb58 Merge m-c to m-i 2012-06-06 15:13:51 +12:00
Brad Lassey
3c13cc7973 backing out bug 755070 for potential talos panning regression 2012-06-05 22:55:18 -04:00
L. David Baron
27336e662d 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
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Michael Wu
f2cadf4895 Bug 761808 - Fix OMX plugin build on OSX, r=doublec 2012-06-05 19:30:50 -04:00
Jonathan Griffin
36e0617209 Bug 759885 - Add support for running mochitest-plain on B2G emulators, r=jmaher, DONTBUILD because NPOTB 2012-06-05 15:17:26 -07:00
Mark Finkle
97a0230af4 Bug 744850 - java.lang.IllegalArgumentException: Receiver not registered (ignore the crash) r=kats 2012-06-05 13:44:35 -04:00
Geoff Lankow
bdded9af3d Merge m-i to m-c 2012-06-06 00:49:26 +12:00
Shu-yu Guo
9a24e0dd57 Support chained assignments in definite property analysis, bug 759978. r=bhackett 2012-06-05 00:36:25 -07:00
Nicholas Nethercote
a17b560818 Bug 761504 - Remove FunctionBoxQueue. r=luke.
--HG--
extra : rebase_source : a29c928103bac3a22897ace27b7b47a1350adf4d
2012-06-04 23:08:10 -07:00
Kyle Huey
511c23f364 Bug 752468: Remove some code accidentally reintroduced in Bug 751999. r=jst 2012-06-04 20:39:21 -07:00
Brian Hackett
8c7ce13920 Watch for script JIT handle invalidation after MakeJITScript, bug 759719. r=dvander 2012-06-04 19:51:57 -07:00
Phil Ringnalda
3f534fee74 Merge mozilla-central to mozilla-inbound 2012-06-04 19:09:19 -07:00
Boris Zbarsky
bdb4852e6b Bug 742151. Fix the error reporting in the WebIDL parser to list correct line numbers. r=khuey
There are two changes here.  One is to pass tracking=True to our parser.  This makes it properly track positions
of all productions, not just of lexer tokens.  The second is to properly count up our newlines in the lex data,
since the lexer seems to report the line number of the start of the lex data, which is always 1 in our case.
2012-06-04 21:30:03 -04:00
Boris Zbarsky
3fe02376e3 Bug 760749. Make interface type constructor args work in WebIDL bindings. r=khuey 2012-06-04 21:30:00 -04:00
Peter Van der Beken
c2751f6c3e Fix for bug 743666 (Add back deprecated XHR.onuploadprogress). r=bzbarsky 2012-06-04 21:29:56 -04:00
Brad Lassey
0e76ba5434 backout bug 755070 2012-06-04 20:15:37 -04:00
Terrence Cole
7adf24f6fa Bug 760709 - Move E4X specific tests to a separated test directory; r=jorendorff
--HG--
rename : js/src/jit-test/tests/basic/bug557168-1.js => js/src/jit-test/tests/e4x/bug557168-1.js
rename : js/src/jit-test/tests/basic/bug557168-2.js => js/src/jit-test/tests/e4x/bug557168-2.js
rename : js/src/jit-test/tests/basic/bug557168-3.js => js/src/jit-test/tests/e4x/bug557168-3.js
rename : js/src/jit-test/tests/basic/bug557168.js => js/src/jit-test/tests/e4x/bug557168.js
rename : js/src/jit-test/tests/basic/bug569843.js => js/src/jit-test/tests/e4x/bug569843.js
rename : js/src/jit-test/tests/basic/bug574280.js => js/src/jit-test/tests/e4x/bug574280.js
rename : js/src/jit-test/tests/basic/bug596502-version.js => js/src/jit-test/tests/e4x/bug596502-version.js
rename : js/src/jit-test/tests/basic/bug605200.js => js/src/jit-test/tests/e4x/bug605200.js
rename : js/src/jit-test/tests/basic/bug613151.js => js/src/jit-test/tests/e4x/bug613151.js
rename : js/src/jit-test/tests/basic/bug632206.js => js/src/jit-test/tests/e4x/bug632206.js
rename : js/src/jit-test/tests/basic/bug651966.js => js/src/jit-test/tests/e4x/bug651966.js
rename : js/src/jit-test/tests/basic/bug665812.js => js/src/jit-test/tests/e4x/bug665812.js
rename : js/src/jit-test/tests/basic/bug672153.js => js/src/jit-test/tests/e4x/bug672153.js
rename : js/src/jit-test/tests/basic/bug700799.js => js/src/jit-test/tests/e4x/bug700799.js
rename : js/src/jit-test/tests/basic/bug716713.js => js/src/jit-test/tests/e4x/bug716713.js
rename : js/src/jit-test/tests/basic/bug731724.js => js/src/jit-test/tests/e4x/bug731724.js
rename : js/src/jit-test/tests/basic/bug731745.js => js/src/jit-test/tests/e4x/bug731745.js
rename : js/src/jit-test/tests/basic/bug737251.js => js/src/jit-test/tests/e4x/bug737251.js
rename : js/src/jit-test/tests/basic/bug753885-1.js => js/src/jit-test/tests/e4x/bug753885-1.js
rename : js/src/jit-test/tests/basic/bug753885-2.js => js/src/jit-test/tests/e4x/bug753885-2.js
rename : js/src/jit-test/tests/arguments/e4x-descendants-with-arguments.js => js/src/jit-test/tests/e4x/e4x-descendants-with-arguments.js
rename : js/src/jit-test/tests/basic/testXMLPropertyNames.js => js/src/jit-test/tests/e4x/testXMLPropertyNames.js
2012-06-04 15:32:10 -07:00
Brian Nicholson
f01a240992 Bug 762691 - Use single AndroidHttpClient for all favicon requests. r=mfinkle 2012-06-07 17:24:03 -07:00
Brian Nicholson
e58699720e Bug 744479 - Only attempt to load favicons for HTTP/HTTPS. r=mfinkle 2012-06-07 17:20:38 -07:00
Brian Nicholson
8fc6d81900 Bug 760218 - Fix favicons not appearing for undefined size. r=margaret 2012-06-07 17:19:34 -07:00
Brian Nicholson
5cf1aae5e2 Bug 756735 - Synchronize accesses to mLoadTasks in Favicons. r=blassey 2012-06-07 17:18:32 -07:00
Brian Nicholson
9f5d4d6a4c Bug 752245 - Increase maximum HTTP connection limit. r=mfinkle 2012-06-07 17:17:15 -07:00
Justin Lebar
b081595203 Backed out changeset 840a820e589c (bug 762049)
--HG--
rename : dom/browser-element/mochitest/test_browserElement_NoAttr.html => dom/browser-element/mochitest/test_browserFrame1.html
rename : dom/browser-element/mochitest/test_browserElement_NoPref.html => dom/browser-element/mochitest/test_browserFrame2.html
rename : dom/browser-element/mochitest/test_browserElement_NoWhitelist.html => dom/browser-element/mochitest/test_browserFrame3.html
2012-06-07 20:04:31 -04:00