Commit Graph

1797 Commits

Author SHA1 Message Date
Bobby Holley
2b4ebef499 Bug 865729 - Remove nsIJSContextStack from content/foo. r=gabor
We leave it in nsContentUtils.cpp, which we'll handle in a separate patch.
2013-04-29 11:16:17 -07:00
James Willcox
204700bea4 Bug 858292 - Preserve drawing buffer when using SkiaGL r=gwright
--HG--
extra : rebase_source : a3dc5c425039c77b536812be5517f27d3f7b86f1
2013-04-29 10:00:32 -04:00
Masatoshi Kimura
3eb7da21d5 Bug 859024 - Remove the MSVC exemption for FAIL_ON_WARNINGS in content/canvas/src. r=jmuizelaar 2013-04-28 07:10:36 +09:00
Ryan VanderMeulen
80f2de9da8 Merge m-c to inbound.
--HG--
rename : mobile/android/base/resources/layout-large-v11/browser_toolbar_menu.xml => mobile/android/base/resources/layout-large-v11/browser_toolbar.xml
2013-04-26 16:46:46 -04:00
Ryan VanderMeulen
4209a6c698 Merge m-c to birch. 2013-04-26 13:00:21 -04:00
Ryan VanderMeulen
6f0cba2d2f Merge birch to m-c. 2013-04-26 08:00:07 -04:00
Andreas Gal
0b43c61021 Bug 865929 - Add pref to limit the size of the canvas image cache r=jlebar,jdm a=tef+ 2013-04-26 07:16:12 -07:00
Justin Lebar
7908e05f22 Bug 844323 - Part 2 (The Main Event): Move ProcesPriorityManager to the main process. r=bent,khuey 2013-04-25 20:53:26 -04:00
Justin Lebar
0e0722d49d Bug 844323 - Prelude part 3: Change ProcessPriorityManager's export directory. r=khuey
It was mozilla/dom/ipc/ before, but this changes it to mozilla/, which matches the class's namespace.
2013-04-25 20:53:26 -04:00
Boris Zbarsky
f75142b01d Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger 2013-04-25 12:29:54 -04:00
Boris Zbarsky
a0ac3184fd Bug 864727 part 4. Pass a handle for the scope object to all the various Wrap*Object stuff in BindingUtils. r=ms2ger
Note: The JS::Rooted in CGWrapWithCacheMethod is just there until we start passing a handle to Wrap().
2013-04-25 12:29:53 -04:00
David Zbarsky
8a6a055fec Bug 856472: Fix includes and WrapObject r=me 2013-04-26 10:55:56 -04:00
David Zbarsky
1cc5ec0a23 Bug 856472: Wrappercache CanvasGradient r=bz 2013-04-26 10:55:56 -04:00
David Zbarsky
57b47b7ab9 Bug 856472: Convert CanvasGradient to WebIDL r=bz 2013-04-26 10:55:54 -04:00
David Zbarsky
22996e681b 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
500db280e5 Bug 856472: Wrappercache CanvasPattern r=bz 2013-04-26 10:55:37 -04:00
David Zbarsky
3aaed3d194 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky
2f3b40471f 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
a80e3021bb Merge m-c to inbound. 2013-04-26 08:00:50 -04:00
Aryeh Gregor
e78504c9a9 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Ryan VanderMeulen
56d3c0eeeb Backed out changeset ccdc2beb09ae (bug 865929) for mochitest and crashtest crashes.
CLOSED TREE
2013-04-25 22:13:14 -04:00
Andreas Gal
8e4bacef81 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
46761bd564 Finish backout of part of bug 856472 2013-04-22 02:04:53 -04:00
David Zbarsky
5da37bce1e Backout 5e84af960621 for being wrong 2013-04-22 02:02:39 -04:00
David Zbarsky
478f402ed9 Backout 3e7970330a3e for being wrong 2013-04-22 02:01:36 -04:00
David Zbarsky
2bc2cd98b5 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
Benoit Jacob
739e05767c Bug 863821 - Remove useless 'var' keywords in WebGL mochitest - r=jgilbert 2013-04-20 10:22:49 -04:00
David Zbarsky
417758e921 Bug 856472: Convert CanvasPattern to WebIDL r=bz 2013-04-19 04:49:22 -04:00
David Zbarsky
214362a43b 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
23316e885d 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
6213f509af 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
8bf0b104e4 Bug 862520 - Disable quickCheckAPI-B2.html on Windows XP. r=jgilbert 2013-04-18 07:40:08 -04:00
Mike Shal
24b4056720 Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Nicholas Nethercote
500e72cfdf 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
ebda306fd2 Bug 826740 - Part f: Move HTMLCanvasElement to Paris bindings; r=khuey 2013-04-13 09:05:51 +02:00
Joshua Cranmer
ce365a42ff 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
efa80a2822 Bug 859617. Make WebGLContext's primary nsISupports its canonical nsISupports. r=khuey 2013-04-09 12:26:36 -04:00
matekm
b83d2641b1 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
f5e3aadf0b Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a 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
5663b98bc5 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
b2ea02f402 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
0940cffd4b 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
ea1d9b8ba7 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Andrea Marchesini
df61512cc4 Bug 847370 - HTMLMediaElement - crossOrigin vs crossorigin, r=bz 2013-03-19 16:18:29 +01:00
Andrea Marchesini
16ff5dbc19 Bug 841493 - Convert HTMLVideoElement to WebIDL, r=Ms2ger 2013-03-19 13:28:34 +01:00
Andrea Marchesini
c15b6499e8 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
02d1d31696 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Jeff Walden
59e9a3888e 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
000d820503 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
3d694a85c0 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
2eb7c496cb Bug 818246 - Part 7: Move XPIDL_MODULE to moz.build; rs=gps 2013-03-11 22:00:00 -07:00
Gregory Szorc
629b5d86c6 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
05a0bb6ef8 Bug 845486 - webgl conformance crashes frequently on ubuntu VMs. r=jgilbert 2013-03-07 12:22:55 -05:00
Matt Brubeck
2acc60f7a6 Back out 4b9f83fccf6b (bug 847714) for webgl test crashes 2013-03-06 21:26:15 -08:00
Jeff Gilbert
cc3b3bd022 Bug 847714 - Halve drawing buffer sizes until resize succeeds - r=bjacob 2013-03-06 17:36:59 -08:00
Daniel Holbert
accc46f11d 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
7693df618d Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz 2013-03-12 08:03:47 +09:00
George Wright
956f0960a4 [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
cf9ea7fc4f Bug 847716 - bindAttribLocation for /_?webgl_.*/ should generate INVALID_OPERATION - r=bjacob 2013-03-05 13:36:06 -08:00
Jeff Gilbert
ba31d85ba5 Bug 845368 - Generic vertex attribs should have a size of 4 - r=bjacob 2013-03-04 16:44:32 -08:00
Jeff Gilbert
7f79074ea8 Bug 845636 - WebGL uniform1i should generate INVALID_VALUE for invalid texture units - r=bjacob 2013-03-04 16:44:31 -08:00
Jeff Gilbert
a74b6b9a5e Bug 845482 - Init scissor box values on offscreen context init - r=bjacob 2013-03-04 16:44:31 -08:00
Jeff Walden
72eca3f9c1 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Jeff Muizelaar
29baeb7340 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
27c42e83c6 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
16f0413b0c 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
fee2be3026 Bug 784841 - Part 18g: Convert /content; r=glandium 2013-02-25 12:47:19 -08:00
Bob Clary
016263e4bb 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
076b7bfcfa Bug 843711 - Fix up new |Components| culprits in test suite. r=mccr8 2013-02-25 10:43:03 -08:00
Jonathan Kew
fbc635408f 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
696d7f50c0 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
f834152cbb 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
78f00c0f31 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
23a70898de Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert
197c718e7b 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
b891b80fa0 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
2187525c49 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Jonathan Kew
2ec999237c bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc 2013-02-19 21:46:27 +00:00
L. David Baron
5ef4421fa5 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
36453999ea bug 841436 - remove nolonger needed qi from nsIDocShell to nsIDocShellTreeItem r=bz 2013-02-12 17:02:51 -05:00
Robert O'Callahan
1ffa96c238 Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-12 17:56:28 +13:00
Phil Ringnalda
02dc61c4b7 Back out 1b98c119cbfb (bug 8203709) for bustage
CLOSED TREE
2013-02-09 07:15:43 -08:00
Robert O'Callahan
b60912d30d Bug 8203709. Handle failure to create a snapshot surface in GetImageDataArray. r=mattwoodrow 2013-02-10 00:28:18 +13:00
Jonathan Kew
a49eecd900 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
22f02abca1 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
5a741d790b Bug 827106 - turn on ANGLE GLSL array index clamping - r=jgilbert 2013-02-05 20:53:41 -05:00
Ehsan Akhgari
030fcd23f1 Bug 837235 - Fix builds with --disable-webgl; r=bjacob 2013-02-01 15:42:15 -05:00
Mounir Lamouri
9ad0959156 Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger 2013-01-31 23:11:49 +00:00
Boris Zbarsky
e53ffbf3f0 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
e15be64167 Back out bug 824589 (rev 22695cac3896) on suspicion of Ts regression 2013-01-29 17:18:06 -05:00
Boris Zbarsky
24d3443115 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
5c96864023 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
6b04dce1cc 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
b9f919744f Bug 832576 - Fix perf regression in WebGL uniform setters - r=jgilbert 2013-01-25 13:40:38 -05:00
L. David Baron
466cba5c52 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
c69ab47faf Bug 832576 - Fix perf regression in WebGL uniform setters - r=jgilbert 2013-01-25 13:40:38 -05:00
Andrew Halberstadt
c7a85c20ae Bug 834382 - Disable failing b2g emulator crashtests, r=jgriffin 2013-01-24 15:07:07 -05:00
Benoit Jacob
148beba756 Bug 801158 - Fix unexpected-pass on WinXP post ANGLE update - no review, bustage fix 2013-01-24 12:20:56 -05:00
Milan Sreckovic
246bd7a470 Bug 803568: Check for Cairo surface creation failure. r=bas 2013-01-17 14:38:38 +01:00