Граф коммитов

1974 Коммитов

Автор SHA1 Сообщение Дата
David Zbarsky 4a3500d5bc Bug 856472: Wrappercache CanvasGradient r=bz 2013-04-26 10:55:56 -04:00
David Zbarsky 7a28fe1f0b Bug 856472: Convert CanvasGradient to WebIDL r=bz 2013-04-26 10:55:54 -04:00
David Zbarsky 7d24e70cd9 Bug 856472: Move CanvasGradient to its own file r=bz
--HG--
rename : content/canvas/src/CanvasRenderingContext2D.h => content/canvas/src/CanvasGradient.h
2013-04-26 10:55:37 -04:00
David Zbarsky 6ea0ae0156 Bug 856472: Wrappercache CanvasPattern r=bz 2013-04-26 10:55:37 -04:00
David Zbarsky 842496f8c2 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky a06a0d3c7f Bug 856472: Move CanvasPattern to its own file r=bz
--HG--
rename : content/canvas/src/CanvasRenderingContext2D.h => content/canvas/src/CanvasPattern.h
2013-04-19 04:49:22 -04:00
Ryan VanderMeulen f87a720181 Merge m-c to inbound. 2013-04-26 08:00:50 -04:00
Aryeh Gregor f0404a303a Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Ryan VanderMeulen 8365dff9bb Backed out changeset ccdc2beb09ae (bug 865929) for mochitest and crashtest crashes.
CLOSED TREE
2013-04-25 22:13:14 -04:00
Andreas Gal 9b21b209bb Canvas image cache isn't hooked up to memory pressure purging, and needs a size limit (bug 865929, r=jlebar, a=tef+). 2013-04-25 17:48:59 -07:00
David Zbarsky bacb5d18a6 Finish backout of part of bug 856472 2013-04-22 02:04:53 -04:00
David Zbarsky c0eaaf48ac Backout 5e84af960621 for being wrong 2013-04-22 02:02:39 -04:00
David Zbarsky a37e4f4223 Backout 3e7970330a3e for being wrong 2013-04-22 02:01:36 -04:00
David Zbarsky 9e176d3804 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
Benoit Jacob 0cdf32fdf5 Bug 863821 - Remove useless 'var' keywords in WebGL mochitest - r=jgilbert 2013-04-20 10:22:49 -04:00
David Zbarsky e53f8be330 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky 2ca5944510 Bug 856472: Move CanvasPattern to its own file r=bz
--HG--
rename : content/canvas/src/CanvasRenderingContext2D.h => content/canvas/src/CanvasPattern.h
2013-04-19 04:49:22 -04:00
David Zbarsky 617294231c Bug 856472: Convert TextMetrics to WebIDL r=bz
* * *
Bug 857439 Part 4: Fix MediaStreamList wrapping r=bz
2013-04-19 04:49:22 -04:00
David Zbarsky 584f4fffa7 Bug 856472: Move TextMetrics to its own file r=bz
--HG--
rename : content/canvas/src/CanvasRenderingContext2D.cpp => content/canvas/src/TextMetrics.h
2013-04-19 04:49:21 -04:00
Benoit Jacob 856ff05efe Bug 862520 - Disable quickCheckAPI-B2.html on Windows XP. r=jgilbert 2013-04-18 07:40:08 -04:00
Mike Shal df7deac25b Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Nicholas Nethercote 1c97315e22 Bug 859657 (part 2) - Remove nsIMemoryMultiReporter.explicitNonHeap because it's more trouble than it's worth; also remove the "explicit" single reporter. r=jlebar.
--HG--
extra : rebase_source : a146536a3dd0043082bcb1c26d980c4c6d4c0730
2013-04-11 20:52:32 -07:00
Ms2ger 1da020b54f Bug 826740 - Part f: Move HTMLCanvasElement to Paris bindings; r=khuey 2013-04-13 09:05:51 +02:00
Joshua Cranmer 1eb62b3971 Bug 856108 - Port static analyses to clang, part 2a: use MOZ_STACK_CLASS in content. r=bz 2013-04-11 22:20:09 -05:00
Boris Zbarsky ece48b6e32 Bug 859617. Make WebGLContext's primary nsISupports its canonical nsISupports. r=khuey 2013-04-09 12:26:36 -04:00
matekm c262c00c9c Bug 784739 - Switch from NULL to nullptr in content/; r=ehsan
--HG--
extra : rebase_source : cfdb682506acc14ec811e21ae42f067950e1ff0c
2013-04-02 21:14:24 -04:00
Kyle Machulis 72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis 43628a7867 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis 334c0800cf Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Jose Cortes 514397fab0 Bug 842186 - Update use of jsval with JS::Value in cpp and h files in the content/xul/ content/canvas/ content/xslt/ and content/xbl/ directories. r=jwalden
--HG--
extra : rebase_source : fc2809818c2601d0b58f503968d579d09de98ea9
2013-03-22 22:05:20 -07:00
George Wright b48b6ce203 Bug 849253 - Make SkiaGL a build-time option independent of Skia, and disable it on PPC[64] r=mattwoodrow 2013-03-13 19:29:47 -04:00
Mike Shal 7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Andrea Marchesini 6d30f2ccbf Bug 847370 - HTMLMediaElement - crossOrigin vs crossorigin, r=bz 2013-03-19 16:18:29 +01:00
Andrea Marchesini e85da75cfc Bug 841493 - Convert HTMLVideoElement to WebIDL, r=Ms2ger 2013-03-19 13:28:34 +01:00
Andrea Marchesini a7e3b326ad Bug 841493 - Rename nsHTMLVideoElement to HTMLVideoElement, r=Ms2ger
--HG--
rename : content/html/content/public/nsHTMLVideoElement.h => content/html/content/public/HTMLVideoElement.h
rename : content/html/content/src/nsHTMLVideoElement.cpp => content/html/content/src/HTMLVideoElement.cpp
2013-03-19 13:27:35 +01:00
Gregory Szorc 7d09ff18e0 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Jeff Walden b30b4197e6 Bug 847480 - Convert DeprecatedAbs uses that can relatively obviously be changd to Abs, to Abs. r=Ms2ger 2013-03-05 15:43:53 -08:00
Jeff Walden 5ec763f216 Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger 2013-03-05 15:43:30 -08:00
Gregory Szorc de55b5242b Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Mike Shal cd4191e248 Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc c865547d94 Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Joel Maher 1241701d72 Bug 845486 - webgl conformance crashes frequently on ubuntu VMs. r=jgilbert 2013-03-07 12:22:55 -05:00
Matt Brubeck 7c48541fa7 Back out 4b9f83fccf6b (bug 847714) for webgl test crashes 2013-03-06 21:26:15 -08:00
Jeff Gilbert 90a55f136a Bug 847714 - Halve drawing buffer sizes until resize succeeds - r=bjacob 2013-03-06 17:36:59 -08:00
Daniel Holbert 56c48afacf Bug 843719: Reorder params in Margin constructors and SizeTo() methods to match CSS's top,right,bottom,left ordering. r=seth 2013-03-06 00:05:55 -08:00
Masatoshi Kimura 23ba391ec1 Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
George Wright ceb8b0a733 [PATCH 8/9] Bug 751418 - Plumb through GL-backed CanvasLayers for Skia/GL r=mattwoodrow
From ac18dd134e69cc734dc6a9e16498e43207de4e9a Mon Sep 17 00:00:00 2001
---
 content/canvas/src/CanvasRenderingContext2D.cpp | 42 +++++++++++++++++++++++--
 content/canvas/src/CanvasRenderingContext2D.h   |  5 +++
 gfx/2d/2D.h                                     |  8 +++++
 gfx/2d/Factory.cpp                              | 10 ++++++
 gfx/thebes/gfxPlatform.cpp                      | 34 ++++++++++++++++++++
 gfx/thebes/gfxPlatform.h                        | 12 +++++++
 6 files changed, 109 insertions(+), 2 deletions(-)
2012-11-30 18:58:00 -05:00
Jeff Gilbert a60b2656c2 Bug 847716 - bindAttribLocation for /_?webgl_.*/ should generate INVALID_OPERATION - r=bjacob 2013-03-05 13:36:06 -08:00
Jeff Gilbert b39cac4769 Bug 845368 - Generic vertex attribs should have a size of 4 - r=bjacob 2013-03-04 16:44:32 -08:00
Jeff Gilbert ba0297075f Bug 845636 - WebGL uniform1i should generate INVALID_VALUE for invalid texture units - r=bjacob 2013-03-04 16:44:31 -08:00
Jeff Gilbert df010bad60 Bug 845482 - Init scissor box values on offscreen context init - r=bjacob 2013-03-04 16:44:31 -08:00
Jeff Walden 1871e9f3f8 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Jeff Muizelaar f447974c5f 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 e1b210ddf6 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 45faa95b04 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 72ed2beb7b Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
Bob Clary 5b3f258822 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 07f2fa5d3f Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Jonathan Kew c7d00f4305 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 3be2d3e58b 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 e10f2399f6 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 3c4c057a91 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 2f50db2b9c Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert adefde2afe 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 dcb992f562 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 6e032aab6c Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Jonathan Kew 9cd7d9f8bb bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc 2013-02-19 21:46:27 +00:00
L. David Baron c5b9eee040 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 c4d231052a bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Robert O'Callahan 5f549df09b Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-12 17:56:28 +13:00
Phil Ringnalda a567c335fc Back out 1b98c119cbfb (bug 8203709) for bustage
CLOSED TREE
2013-02-09 07:15:43 -08:00
Robert O'Callahan bcbd213cc7 Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-10 00:28:18 +13:00
Jonathan Kew c651d057a4 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 a19d1387a1 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 730fcd3b1a Bug 827106 - turn on ANGLE GLSL array index clamping - r=jgilbert 2013-02-05 20:53:41 -05:00
Ehsan Akhgari 2c3e399404 Bug 837235 - Fix builds with --disable-webgl; r=bjacob 2013-02-01 15:42:15 -05:00
Mounir Lamouri a96b05d0c8 Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger 2013-01-31 23:11:49 +00:00
Boris Zbarsky 9b45ffdc77 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 f17cd371b2 Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky 1d5a36a375 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 869a63000b 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 7766f6b4e8 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 e071c4e3f0 Bug 832576 - Fix perf regression in WebGL uniform setters - r=jgilbert 2013-01-25 13:40:38 -05:00
L. David Baron ab97cf0e00 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 b4eec88979 Bug 832576 - Fix perf regression in WebGL uniform setters - r=jgilbert 2013-01-25 13:40:38 -05:00
Andrew Halberstadt be375ad0bc Bug 834382 - Disable failing b2g emulator crashtests, r=jgriffin 2013-01-24 15:07:07 -05:00
Benoit Jacob 1432a9eacd Bug 801158 - Fix unexpected-pass on WinXP post ANGLE update - no review, bustage fix 2013-01-24 12:20:56 -05:00
Milan Sreckovic b06cb735a4 Bug 803568: Check for Cairo surface creation failure. r=bas 2013-01-17 14:38:38 +01:00
Rik Cabanier 3a85a98855 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 83bcbe0d6b bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8 2013-01-12 07:40:33 -05:00
Mats Palmgren b7ae90666d 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 e7d64e972a 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 de411b5fd0 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 221179f50b Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin 2013-01-03 15:35:01 -05:00
Jeff Gilbert a2d3db5098 Bug 826546 - Delay WebGL reftest completion until subsequent rAF - r=vlad 2013-01-10 12:17:44 -08:00
Steve Fink 85a04227fb 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 5299472bdb 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 748cc87b0d 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 6fd2b159a2 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 100ae41c83 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 4222259458 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
Ehsan Akhgari c0e76d61c8 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
Chris Jones 3b5768770c Bug 823610: Make discarding GL contexts of foreground pages on memory pressure pref-able, and pref off for b2g. r=jgilbert,jlebar 2013-01-03 15:39:25 -08:00
Trevor Saunders 09f3b656b4 bug 825419 - outparamdel nsIDocShell::GetPresShell() r=smaug 2012-12-28 20:56:42 -05:00
Ehsan Akhgari 8cc491fe91 Bug 825527 - Part 5: Turn on the WebIDL bindings for HTMLImageElement; r=bzbarsky 2013-01-02 12:28:14 -05:00
Ehsan Akhgari fd6ad89073 Bug 825527 - Part 3: Move HTMLImageElement to WebIDL bindings; r=bzbarsky 2012-12-31 13:48:55 -05:00
Ehsan Akhgari 4f58470032 Bug 825527 - Part 2: Rename nsHTMLImageElement to mozilla::dom::HTMLImageElement; r=bzbarsky
--HG--
rename : content/html/content/src/nsHTMLImageElement.cpp => content/html/content/src/HTMLImageElement.cpp
rename : content/html/content/src/nsHTMLImageElement.h => content/html/content/src/HTMLImageElement.h
2012-12-31 12:25:46 -05:00
Masatoshi Kimura 9a4812e054 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Nicholas Nethercote b7723e3c58 Bug 819819 (part 2) - Remove |name| from NS_MEMORY_REPORTER_MALLOC_SIZEOF_FUN. r=jlebar.
--HG--
rename : dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing_perwindowpb.html => dom/tests/mochitest/localstorage/test_localStorageQuotaPrivateBrowsing.html
rename : toolkit/components/places/tests/browser/browser_favicon_privatebrowsing_perwindowpb.js => toolkit/components/places/tests/browser/browser_favicon_privatebrowsing.js
extra : rebase_source : 557cc60522970ce7eea3b006d357284d9b4694c4
2012-12-23 16:59:51 -08:00
Neil Rashbrook 41d5c4cd99 Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron 2012-12-22 20:40:37 +00:00
Masatoshi Kimura 4b5034efa3 Bug 804834 - Part 1: Fix tests depending on E4X for-each in content JS. r=waldo 2012-12-21 20:47:52 +09:00
Justin Lebar 35400e8fa9 Bug 815473 - Follow-up: Remove now-undefined methods from CanvasRenderingContext2D.h. r=me 2012-12-19 18:03:11 -05:00
Jeff Gilbert fd4db7f78f Bug 822114 - Save and restore bound tex unit in DeleteTexture - r=bjacob 2012-12-18 19:23:03 -08:00
Ed Morley 13a8878f0f Backout 966b04dba626 (bug 822114) for failing to build on any platform 2012-12-19 01:22:45 +00:00
Jeff Gilbert a543572f69 Bug 822114 - Save and restore bound tex unit in DeleteTexture - r=bjacob 2012-12-18 16:47:03 -08:00
Joe Drew 77c26d6ed3 Bug 813124 - Test for multiple clip paths. r=jrmuizel 2012-12-18 11:37:14 -05:00
Joe Drew 41f93a6a52 Bug 815648 - Test. r=bas 2012-12-18 11:37:14 -05:00
Joe Drew 2e929c4769 Bug 815648 - Correctly detect when we're going to use a shadow so we can measure the text's extents correctly. r=roc 2012-12-18 11:37:14 -05:00
Benoit Jacob abf9028e93 Bug 814455 - skip all intermittently failing glsl tests on android - r=jgilbert 2012-12-18 09:37:24 -05:00
Jeff Gilbert db09531eff Bug 821191 - Switch recent files from accidental windows line endings to unix line endings - r=bjacob 2012-12-17 17:58:44 -08:00
William Chen c3b4bdb077 Bug 820544 - Prefix WebIDL dictionary native member names to avoid C++ keywords. r=bz 2012-12-17 13:44:04 -08:00
Benoit Jacob 7b44505aa0 Bug 822404 - Shouldn't use WANT_NEW_SURFACE when uploading DOM elements to WebGL textures - r=jgilbert 2012-12-17 16:59:51 -05:00
Tobias Schneider c489bb4344 Bug 803124 - Rename mozIsPointInStroke to IsPointInStroke. r=jmuizelaar
--HG--
rename : content/canvas/test/test_mozIsPointInStroke.html => content/canvas/test/test_isPointInStroke.html
2012-11-22 14:37:42 +01:00
Ting-Yuan Huang daa4759375 Bug 815473 - Replace runtime computed sUnpremultiplyTable/sPremultiplyTable with constants. r=roc 2012-12-16 19:20:01 -05:00
Ed Morley fbf6fab8e8 Backout 67d84be0cc83 (bug 820544) for bustage 2012-12-14 16:58:51 +00:00
William Chen 45b4ea581a Bug 820544 - Prefix webidl dictionary native members names to avoid C++ keywords. r=bz 2012-12-11 16:05:46 -08:00
Joel Maher 71ee41c14a Bug 820649 - disable 4 crashtests on Android so we can run C1 again. r=gbrown 2012-12-13 06:31:55 -05:00
Rik Cabanier 4622958974 Bug 748433 - Test: Add tests for canvas blending. r=jrmuizel 2012-12-12 21:28:18 +01:00
Rik Cabanier e415179e91 Bug 748433: Adds support for blending to the canvas globalCompositeOperator. r=jrmuizel 2012-12-12 21:28:17 +01:00
Benoit Jacob a239d2030b Bug 805814 - turn on packing restrictions in WebGL shaders - r=jgilbert 2012-12-11 16:57:30 -05:00
Benoit Jacob e1e4bb7a0f Bug 814716 - correct the way that we tweak max sizes - r=jgilbert 2012-12-11 16:57:30 -05:00
Benoit Jacob 651dac2917 Bug 814407 - reattach textures when a texture image is replaced - r=jgilbert 2012-12-11 16:57:30 -05:00
Saurabh Anand 6ddf84f8ef Bug 816173 - Split out WebGLFramebuffer into separate files 2012-12-09 17:28:41 +05:30
Saurabh Anand 26718645dc Bug 817186 - Split out WebGLUniformLocation into separate files, r=bjacob 2012-12-09 04:32:29 +05:30
Saurabh Anand a5e8e36119 Bug 817785 - Split out WebGLProgram into separate files 2012-12-09 02:11:02 +05:30
Benoit Jacob 406c738bbd Bug 818766 - disable by default losing WebGL contexts on heap-minimize, add a pref for it - r=jgilbert 2012-12-07 21:00:42 -05:00
Benoit Jacob 3a3fa8c5ca Bug 814455 - install skipped_tests_android.txt - r=jgilbert 2012-12-07 21:00:42 -05:00
Saurabh Anand bdc9e873b9 Backed out changeset 5725e73685e9 (bug 817785) 2012-12-07 14:00:15 +05:30
Saurabh Anand f02cf911b0 Backed out changeset e7108bad8aa2 (bug 817186) 2012-12-07 13:57:49 +05:30
Saurabh Anand 83865228f8 Bug 817186 - Split out WebGLUniformLocation into separate files 2012-12-07 13:44:43 +05:30
Saurabh Anand 0cb0397bf4 Bug 817785 - Split out WebGLProgram into separate files 2012-12-07 04:09:32 +05:30
Saurabh Anand 0b00ddf594 Backed out changeset cdb687853418 (bug 817785) 2012-12-07 02:55:02 +05:30
Saurabh Anand 67862a37db Bug 817785 - Split out WebGLProgram into separate files 2012-12-07 02:07:16 +05:30
Nicholas Cameron c2dfb4b0e2 Bug 789933. test for writing text across Azure backends. r=Bas 2012-12-06 10:55:13 +13:00
Saurabh Anand af8f5cc809 Bug 815921 - Split out WebGLTexture into separate files, r=bjacob 2012-12-04 05:43:47 +05:30
Benoit Jacob 19a74123c6 Bug 814455 - disable WebGL test glsl-function.html on android - r=jgilbert 2012-12-05 14:28:19 -05:00
Mats Palmgren 924e59e0d0 Bug 817574 - Replace NS_ABS with std::abs. r=roc 2012-12-04 13:33:33 +01:00
Saurabh Anand a497698936 Bug 816181 - Split out WebGLShader into separate files - r=bjacob 2012-12-03 18:40:23 +05:30
Saurabh Anand f5c8d6a9a8 Bug 816168 - Split out WebGLRenderbuffer into separate files - r=bjacob 2012-12-03 23:57:25 +05:30
Saurabh Anand aa956a32ef Bug 816176 - Move WebGLShaderPrecisionFormat to a separate header; r=bjacob 2012-12-02 15:58:21 +05:30
Benoit Jacob b7633de200 Bug 816187 - make WebIDL accept nullable dictionary retvals; let getContextAttributes's retval be nullable - r=bz 2012-11-30 18:30:05 -05:00
Nicholas Cameron 4bc0865dbd Bug 800658; turn the tests back on. r=bjacob 2012-11-30 08:38:29 +13:00
Nicholas Cameron 0eeb99dd36 Bug 800658. remove aCommitTransform. r=bas 2012-11-30 08:37:49 +13:00
Eric Wong 7930cc7a2b Bug 815915 - Split out WebGLVertexAttribData into a separate header. r=bjacob 2012-11-28 22:04:26 -08:00
Ehsan Akhgari cf0638b6a7 Merge mozilla-central into mozilla-inbound 2012-11-28 09:43:30 -05:00
Olli Pettay c806b877ae Bug 811206, Fix JSHolder drop handling, part 3 (fixes), r=mccr8,khuey
--HG--
extra : rebase_source : 7b2726d2aa7f5764a3c4cb750e5a735728069687
2012-11-28 03:37:57 +02:00
Jeff Muizelaar 170ff8fe08 Bug 813851 - Clear path when creating a path builder. r=bas,ncameron 2012-11-23 14:02:36 -05:00
Benoit Jacob 478e9dc583 Bug 813528 - WebGLElementArrayCache about:memory should not pass array.Elements() to MallocSizeOf - r=jgilbert 2012-11-22 13:53:11 -05:00
Benoit Jacob d9fa996926 Bug 810943 - add ability to skip webgl pages on Android by listing them in a text file, skipped_tests_android.txt - r=jgilbert 2012-11-22 13:53:11 -05:00
Benoit Jacob 37a26121ee Bug 814407 - check for null buffer data in readpixels (should never happen, but apparently does) - r=jgilbert 2012-11-22 13:53:11 -05:00
Nicholas Cameron b5abc3ce0b Bug 814149. Fix GetCanvas. r=bz 2012-11-22 10:55:36 +13:00
Erick Dransch 2b007959af Bug 801499 - Move WebGLBuffer to a separate file. r=bjacob 2012-11-20 16:38:20 -05:00
Boris Zbarsky 5b51825485 Bug 812789. Remove some dead code for converting jsvals to Matrix objects. r=nrc 2012-11-20 11:36:06 -05:00
Boris Zbarsky e48fc2d4b3 Bug 767933 part 5. Remove no longer needed FloatValidate calls from canvas code. r=bas 2012-11-27 15:32:05 -05:00
Boris Zbarsky 127a0152d5 Bug 767933 part 4. Make 'float' and 'double' types throw on non-finite values. r=khuey,ehsan,bas 2012-11-27 15:32:05 -05:00
Jeff Gilbert 65163d097a Bug 812121 - Allow drawArrays/Elements without vertex attrib arrays - r=bjacob 2012-11-19 07:49:51 -08:00
Nathan Froyd f2ce7fc7a2 Bug 812156 - fix GCC 4.4 compile error with qualified enum values in CanvasRenderingContext2D.cpp; r=Ms2ger 2012-11-15 09:16:04 -05:00
Bobby Holley 4376a9b5d5 Bug 811152 - Decxify various DOM methods. r=me 2012-11-15 11:54:34 -08:00
Benoit Jacob b6f330e523 Bug 806279 - reverting this file to Unix line endings - no review, bustage 2012-11-15 04:30:54 -05:00
Benoit Jacob 986ee1a065 Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8 2012-11-15 02:32:40 -05:00
Benoit Jacob c7e85cba96 Bug 806279 - CC macros refactoring: part 5: sample porting: content/canvas - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Benoit Jacob 6d7beedec6 Bug 806279 - CC macros refactoring: part 1: implement type-generic CC UNLINK/TRAVERSE macros - r=mccr8,smaug 2012-11-15 02:32:39 -05:00
Boris Zbarsky 05ba9f02c1 Bug 811449 part 8. Get rid of nsGenericElement. r=peterv 2012-11-14 14:10:08 -08:00
Jeff Muizelaar b99305a6b0 Bug 811836. Fast path eCSSUnit_Color colors when parsing colors in canvas. r=dholbert
This will avoid doing extra work/flushing layout in the common case.

--HG--
extra : rebase_source : 95df23c3e6a5118ec4964336465a6554705b99dd
2012-11-14 12:46:26 -08:00
Peter Van der Beken 0a5f44ada8 Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 842b9397d2b050f880c44d3366bcc838e6615fd5
2012-11-11 00:30:15 +01:00
Bobby Holley 7c36e30523 Bug 800915 - Remove the cx parameter and simplify various APIs. r=sfink,bz
If callers want to throw, it's now their responsibility.
2012-11-14 09:56:26 -08:00
Ed Morley 35b84cb08f Backout 54c4f2ff78e3 (bug 807075) for Windows compilation errors 2012-11-14 16:45:28 +00:00
Peter Van der Beken f19ca9b71f Fix for bug 807075 (New DOM binding APIs for HTMLElement). r=bz.
--HG--
extra : rebase_source : 9afce481cd0a5c8a1014c8c9b0aad7d6665aaa82
2012-11-11 00:30:15 +01:00
Nicholas Cameron b3a448668a Bug 800556; test for mozDashOffset errors; r=Ms2ger
--HG--
extra : rebase_source : 834c2d1c426a8f33b66ee60e3fef912d652d5f59
2012-11-13 21:39:37 -08:00
Nicholas Cameron e907939a76 Bug 800556; remove nsIDOMCanvasRenderingContext2D; r=Ms2ger,sr=bz
--HG--
extra : rebase_source : 461ff127a453116f3364f4ba1e414cc527f195bd
2012-11-13 16:35:36 -08:00
Paul Adenot c841ebfda0 Bug 786331 - WebGL tests that use a video can loop indefinitely. r=bjacob 2012-11-13 16:47:59 -08:00
Benoit Jacob 99e1db7ebc Bug 800612 - actually increase WebGL element array test repetitions, patch didnt apply cleanly - r=jgilbert 2012-11-09 20:49:15 -05:00
Benoit Jacob 0e7092f9e5 Bug 806094 - Remove USE_ANGLE - r=jgilbert 2012-11-09 17:04:43 -05:00
Benoit Jacob 5508716943 Bug 806091 - Don't export WebGL headers - r=jgilbert 2012-11-09 17:04:41 -05:00
Benoit Jacob e1c227422c Bug 802778 - validate level parameter in copyTexImage2D - r=jgilbert 2012-11-09 16:48:54 -05:00
Benoit Jacob d9f248ccf8 Bug 800612 - 2/2 - Enable compiled code tests in content/canvas - r=ted
--HG--
rename : content/canvas/test/compiled/Makefile.in => content/canvas/compiledtest/Makefile.in
rename : content/canvas/test/compiled/TestWebGLElementArrayCache.cpp => content/canvas/compiledtest/TestWebGLElementArrayCache.cpp
2012-11-09 16:42:23 -05:00
Benoit Jacob 4cda827e62 Bug 800612 - 1/2 - fix WebGLElementArrayCache bug and increase test repetitions to catch this bug - r=jgilbert 2012-11-09 16:42:21 -05:00
Tobias Schneider 4e7558b2c4 Bug 803124 - Implement mozIsPointInStroke. r=jmuizelaar 2012-10-29 16:54:53 +01:00
Jeff Walden 24e7854e4d Bug 803439 - Add removeFrom() that takes a list and asserts the element is initially present in it. r=jlebar
--HG--
extra : rebase_source : c2aad35774a71167f97f940fb416735862b78950
2012-10-23 17:43:23 -07:00
Ehsan Akhgari 0f7dbe062a Merge mozilla-central into mozilla-inbound 2012-11-04 11:09:45 -05:00
Ms2ger c8f9049d6f Bug 808305 - Pass a gfx::Rect instead of a gfxRect in InvalidateCanvasContent; r=Bas 2012-11-04 09:05:25 +01:00
Ms2ger b0eeaab6f2 Bug 629876 - Throw when drawImage's sw/sh arguments are zero; r=bz 2012-11-04 09:00:06 +01:00
Erick Dransch 8a0ed325e5 bug 801986 - restore renderbuffer attachments on detach when necessary; r=bjacob 2012-10-31 15:11:40 -04:00
Jonathan Kew 3b3c053bb3 bug 808288 - render missing glyphs as hexboxes in <canvas> text. r=bas 2012-11-04 10:51:03 +00:00
Ed Morley 37f767edf7 Backout 5eec0a5b76ff, 64e143317082 & f356d9b2524c (bug 808288) for reftest failures 2012-11-04 00:53:06 +00:00
Jonathan Kew 160f118d31 bug 808288 - part 3 - draw missing-glyph hexboxes for <canvas> text, similar to missing glyphs in HTML text. r=bas 2012-11-03 23:01:33 +00:00
Jonathan Kew 599cd3c204 bug 808288 - part 2 - render the font's .notdef glyph for missing glyphs in <canvas>. r=bas 2012-11-03 23:01:33 +00:00
Jonathan Kew b75343b5e7 bug 808288 - part 1 - leave missing glyphs blank in <canvas> text, rather than rendering arbitrary (incorrect) glyphs. r=bas 2012-11-03 23:01:32 +00:00
Anthony Jones f3be2a4899 Bug 802658 - Part 2: Apply matrix transform to text bounds; r=Bas 2012-10-28 21:52:21 +01:00
Anthony Jones d1f890704e Bug 802658 - Part 1: Whitespace fixes 2012-10-28 21:51:43 +01:00