Commit Graph

1684 Commits

Author SHA1 Message Date
Jeff Walden
bf23cd54f1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Jeff Muizelaar
27d3fd60db Bug 842759. Add unprefixed versions of community approved webgl extensions. r=bjacob
--HG--
extra : rebase_source : 30687096604352e485c12514369ef5e651aaa4a5
2013-02-28 14:47:11 -05:00
Gregory Szorc
89d297a677 Merge mozilla-central into build-system
The 3 merged files had no conflicts and were manually verified to ensure
no incompatible changes crept in.
2013-02-27 21:02:02 -08:00
Gregory Szorc
faf262c4ee Merge mozilla-central into build-system
Only conflict was configure.in amd was due to context, not
changed lines themselves.
2013-02-25 22:09:18 -08:00
Gregory Szorc
aa0fed2e03 Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
Bob Clary
f7d6f983f5 Bug 845778 - Skip content/canvas/crashtests/789933-1.html (bug 833371), gfx/tests/crashtests/385228-1.svg, image/test/crashtests/694165-1.xhtml for Android, r=jmaher. 2013-02-27 06:52:05 -08:00
Bobby Holley
440bea3fd7 Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Jonathan Kew
7e3748fa6d bug 808288 - part 2 - render the font's .notdef glyph for missing glyphs in <canvas>. r=bas 2012-11-03 16:17:17 +00:00
Ms2ger
1714b75f0c Bug 844439 - Disable webgl-color-test.html reftests on B2G for R6 oranges on a CLOSED TREE. 2013-02-23 14:20:37 +01:00
Jeff Muizelaar
772e74677d Bustage fix for bug 716859. r=bjacob,joe CLOSED TREE
Don't try to pass the conformance tests if we've disabled webgl.
2013-02-21 17:44:10 -05:00
Jeff Gilbert
4ed4901299 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
c878d63b6a Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert
1da9dd6cd2 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
438b3ab061 Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE. 2013-02-20 10:01:20 -05:00
Jeff Gilbert
d348a03b58 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Jonathan Kew
4a6209493f bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc 2013-02-19 21:46:27 +00:00
L. David Baron
822b2ca3bc Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
Except for the changes in:
  layout/generic/nsIFrame.h (part)
  layout/style/nsComputedDOMStyle.h (all)
  layout/style/nsRuleNode.cpp (part)
  layout/style/nsStyleContext.cpp (part)
  layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Trevor Saunders
afab70f054 bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Robert O'Callahan
70ccb25043 Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-12 17:56:28 +13:00
Phil Ringnalda
cb79659a5f Back out 1b98c119cbfb (bug 8203709) for bustage
CLOSED TREE
2013-02-09 07:15:43 -08:00
Robert O'Callahan
af668db99e Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-10 00:28:18 +13:00
Jonathan Kew
7541722913 bug 837461 - backout parts 2 and 3 of bug 808288 because pdf.js may paint missing chars to canvas if it failed to load fonts, which looks really ugly; better to skip them for now. r=bas 2013-02-08 16:52:55 +00:00
Jonathan Kew
9c82787fd4 bug 808299 - scale missing-glyph hexbox digits depending on device resolution and zoom. r=roc 2013-02-07 00:19:46 +00:00
Benoit Jacob
d7fac8eb6b Bug 827106 - turn on ANGLE GLSL array index clamping - r=jgilbert 2013-02-05 20:53:41 -05:00
Ehsan Akhgari
9ae5104e2f Bug 837235 - Fix builds with --disable-webgl; r=bjacob 2013-02-01 15:42:15 -05:00
Mounir Lamouri
116e0cedd6 Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger 2013-01-31 23:11:49 +00:00
Boris Zbarsky
27b20c21af Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Boris Zbarsky
66e49b02aa Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky
8231be64a0 Bug 824589. Convert XULElement to WebIDL. r=peterv
The assertions in nsINode and nsWrapperCache are to eagerly catch
failures to override those methods.

The classinfo change for XULTreeBuilder is needed because one of those
is returned via an nsIXULTemplateBuilder attribute on XULElement.
Alternately, I could mark it notflattened in Bindings.conf, but Enn
said he prefers this anyway.

The change to the QI impl in BindingUtils is needed because when
XPConnect converts an IID from C++ to JS it makes is an nsJSID, not an
nsJSIID.  We've run into this before, sadly.

I removed "id" from nsIDOMXULElement because it's already on Element.
I suppose I could have left it there, but this seems cleaner.

The nsJSIID::HasInstance changes are needed to support XBL-implemented
interfaces.  Sadly, this does mean that if the underlying object QIs
to something but we didn't put those props on the WebIDL we'll end up
testing true for instanceof but not exposing the props.  I don't see
an obviously better way.  We should work on killing off uses of
"instanceof someinterface".

The browser.js change is needed to avoid throwing exceptions during
browser-chrome tests that are now getting reported because our
swapFrameLoaders is no longer an XPConnect method.
2013-01-29 12:51:55 -05:00
Robert O'Callahan
1485e59d6a Bug 832788. Part 1: Make double->float conversions explicit in CanvasRenderingContext2D.cpp. r=jrmuizel
--HG--
extra : rebase_source : 626dc74eae93bb6a0d9bbb69db9440f251150169
2013-01-29 14:39:47 +13:00
Joel Maher
be3b9f7a23 Bug 834814 - allow for webgl tests to support mesa llvm driver. r=bjacob
--HG--
rename : content/canvas/test/webgl/failing_tests_linux.txt => content/canvas/test/webgl/failing_tests_linux_nvidia.txt
2013-01-27 08:01:19 -05:00
Benoit Jacob
a462b143f4 Bug 832576 - Fix perf regression in WebGL uniform setters - r=jgilbert 2013-01-25 13:40:38 -05:00
L. David Baron
22795ca856 Backout ccf23b56150e (bug 832576) on a CLOSED TREE on the theory that maybe WebGL changes could have changed graphics state in a way that caused the Android reftest-4 failures on SVG gradient tests. 2013-01-25 18:18:34 -08:00
Benoit Jacob
4a0860fcfa Bug 832576 - Fix perf regression in WebGL uniform setters - r=jgilbert 2013-01-25 13:40:38 -05:00
Andrew Halberstadt
a466d10a02 Bug 834382 - Disable failing b2g emulator crashtests, r=jgriffin 2013-01-24 15:07:07 -05:00
Benoit Jacob
7d5637aa93 Bug 801158 - Fix unexpected-pass on WinXP post ANGLE update - no review, bustage fix 2013-01-24 12:20:56 -05:00
Milan Sreckovic
5cae08eb28 Bug 803568: Check for Cairo surface creation failure. r=bas 2013-01-17 14:38:38 +01:00
Rik Cabanier
6365d8055c Bug 827053 - Add support for winding in fill + clip + isPointInPath + tests the feature. r=bas 2013-01-16 21:55:43 -05:00
Trevor Saunders
9f0ad48b28 bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Nicholas Nethercote
dc051e917d Bug 829439 (part 1) - Add MemoryReporterBase class that promotes better encapsulation within nsIMemoryReporter sub-classes. r=jlebar.
--HG--
extra : rebase_source : 53a77ea456f2aedafe05954ceece7e64db743e66
2013-01-14 16:26:47 -08:00
Chris Peterson
34d009dfe8 Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan 2013-01-10 08:19:36 -08:00
Andrew Halberstadt
4a18b30019 Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Jeff Gilbert
b9f53ea543 Bug 826546 - Delay WebGL reftest completion until subsequent rAF - r=vlad 2013-01-10 12:17:44 -08:00
Steve Fink
d4f3bbc166 Bug 827225 - Avoid JS_GetArrayBufferViewType until safe to call. r=bz
--HG--
extra : rebase_source : 5ac40b7fc9567cc02ab2f2167f756348f1a44fd0
2013-01-07 15:12:06 -08:00
Steve Fink
08f99e5f1c Bug 827225 - Rename JS_GetTypedArrayType to JS_GetArrayBufferViewType, add TYPE_DATAVIEW. r=bz, sr=dmandelin
--HG--
extra : rebase_source : c5947273c5d517338ea1f468358511aa979b4959
2013-01-07 15:12:00 -08:00
Benoit Jacob
2a47c5ced4 Bug 825205 - Fix WebGL drawElements validation when the max allowable index wraps to zero in the index type - r=vladv 2013-01-05 21:05:10 -05:00
Benoit Jacob
79f8621585 Bug 825205 - WebGL drawElements: add unit test for the case where the max allowable index wrap to 0 in the index type - r=vladv 2013-01-05 21:05:08 -05:00
Ehsan Akhgari
f204022ad2 Bug 826602 - Rename nsHTMLCanvasElement to mozilla::dom::HTMLCanvasElement; r=bzbarsky
--HG--
rename : content/html/content/public/nsHTMLCanvasElement.h => content/html/content/public/HTMLCanvasElement.h
rename : content/html/content/src/nsHTMLCanvasElement.cpp => content/html/content/src/HTMLCanvasElement.cpp
2013-01-04 00:16:14 -05:00
Ehsan Akhgari
11b68a76e0 Backed out changeset bfb788e7ef51 (bug 826602) because of build failures
--HG--
rename : content/html/content/public/HTMLCanvasElement.h => content/html/content/public/nsHTMLCanvasElement.h
rename : content/html/content/src/HTMLCanvasElement.cpp => content/html/content/src/nsHTMLCanvasElement.cpp
2013-01-04 01:07:10 -05:00