Commit Graph

2040 Commits

Author SHA1 Message Date
Robert Longson
d077e99f2c Bug 940381 (part 2) - Simplify test loading now that SMIL is always enabled. r=dholbert 2013-12-02 11:19:13 +00:00
Robert Longson
f9c6841198 Bug 940381 - Try to make mochitest loading more robust. r=dholbert 2013-12-02 11:16:19 +00:00
William Chen
ad649152bc Bug 929885 - Implement web components ShadowRoot style sheet behavior. r=mrbkap 2013-12-02 02:26:12 -08:00
Ms2ger
9d06a0c27f Merge mozilla-inbound to mozilla-central. 2013-11-29 09:54:12 +01:00
Ms2ger
f90b2bde84 Bug 925887 - Part a: move some mochitests in content/ to manifests; r=jst 2013-11-28 15:03:16 +01:00
Markus Stange
b1fa2b9e41 Bug 944383 - Pass around SourceSurfaces instead of gfxASurfaces for feImage input images. r=jwatt 2013-11-28 15:38:43 +01:00
Markus Stange
522437055c Bug 924103 - Use Moz2D for SVG filter rendering. r=roc 2013-11-27 12:25:29 +01:00
Daniel Holbert
e126ed26eb Bug 653571 followup: Fix typo in code comment for SVGPathDataAndInfo::IsIdentity. DONTBUILD because comment-only. 2013-11-26 11:36:40 -08:00
Birunthan Mohanathas
138ac62d4d Bug 943446 - Rename SVGPathDataAndOwner to SVGPathDataAndInfo for consistency. r=dholbert 2013-11-26 14:30:18 -05:00
Birunthan Mohanathas
1f7fe699e1 Bug 653571 - Add IsIdentity() function to SVG{Length,Point}ListAndInfo. r=dholbert 2013-11-26 14:29:10 -05:00
Robert Longson
1b917abd1b Bug 937614 - simplify nsSMILParserUtils. r=dholbert 2013-11-25 19:46:20 +00:00
Olli Pettay
365a141f9b Bug 847763, add a way to prevent an iframe to take focus, (pref'ed off by default), r=jst
--HG--
extra : rebase_source : b2539bd99aebec59bc1d540e0502e1a5693f25ba
2013-11-20 00:21:16 +02:00
Boris Zbarsky
02ebdf4ae8 Bug 933193 part 2. Implement nsINode::GetElementById and make SVGSVGElement use it. r=smaug 2013-11-01 15:39:24 -04:00
Mike Hommey
2812d11fce Bug 939632 - Remove LIBRARY_NAME for leaf libraries. r=gps
Landing on a CLOSED TREE.
2013-11-19 11:50:54 +09:00
Mike Hommey
e06d795c71 Bug 939074 - Remove most LIBXUL_LIBRARY. rs=gps 2013-11-19 11:48:10 +09:00
Mike Hommey
e80e877ab7 Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
Mike Hommey
ffe0380912 Bug 935881 - Use FINAL_LIBRARY for all (fake) libraries that end up linked in a single other library. r=gps 2013-11-19 11:47:14 +09:00
Jonathan Watt
449658efa0 Bug 889736, part 6 - Stop setting the svg.text.css-frames.enabled pref. r=heycam 2013-11-18 14:29:53 +00:00
Jonathan Watt
3e9c738eb3 Bug 889736, part 4 - Remove nsSVGTextContainerFrame. r=heycam 2013-11-18 14:29:53 +00:00
Jonathan Watt
99e5777279 Bug 889736, part 2 - Remove nsSVGTextPathFrame. r=heycam 2013-11-18 14:29:52 +00:00
Jonathan Watt
937d3e90f6 Bug 939534 - Follow-up to the follow-up to address review comments to address orange that caused (mark tests fuzzy). r=me 2013-11-18 11:17:09 +00:00
Jonathan Watt
ecc7b724b3 Bug 938388 - Convert all remaining code for calculating path lengths and position at an offset along a path in content/svg to Moz2D (kill off all uses of gfxPath). r=dholbert 2013-11-18 01:29:06 +00:00
Jonathan Watt
986088b126 Bug 930577 - Convert much of the SVG code for calculating path lengths and position at an offset along a path to Moz2D. r=heycam 2013-11-18 01:29:06 +00:00
Bas Schouten
0b523bd06b Bug 937994 - Part 2: Mark some tests fuzzy, and change the discontinuity side of joins they expect. r=dholbert 2013-11-18 01:29:05 +00:00
Jonathan Watt
dc9a078082 Bug 937994 - Make the SMIL animateMotion code use a Moz2D PathBuilder instead of gfxContext. r=dholbert 2013-11-18 01:29:05 +00:00
Ehsan Akhgari
dd99c7a892 Bug 938864 - Build layout/svg in unified mode; blanket-r=glandium 2013-11-14 21:48:52 -05:00
Ehsan Akhgari
dab5894743 Bug 937908 - Build content SVG code in unified mode; r=jwatt 2013-11-17 10:59:45 -05:00
Robert Longson
77ae409cc0 Bug 938569 - Path fails to render, with comma between move command and implied line command. r=dholbert 2013-11-16 09:51:39 +00:00
Ms2ger
b63b756490 Bug 931404 - Move LOCAL_INCLUDES to moz.build in content/; r=gps 2013-11-11 09:04:06 +01:00
Ms2ger
63ae23599e Bug 928741 - Stop using PR_STATIC_ASSERT in content; r=jst 2013-11-11 09:03:59 +01:00
Jonathan Watt
bfc390bc61 Bug 934156 - Make the SVG elements' BuildPath methods return nullptr when the element is disabled. r=dholbert 2013-11-06 10:05:18 +00:00
Matt Woodrow
41ad83dd75 Bug 922942 - Add some fuzz to some SVG path measurement tests since D2D doesn't return exact results. r=roc
--HG--
extra : rebase_source : 2cef979ae0a6f88f42c660c43f8fb2588c2e6b45
2013-11-04 14:51:55 +13:00
Matt Woodrow
e0cf27c36e Bug 922942 - Change test_pointer-events-2 to not use overlapping stokes since they're not consistently rendered by our backends. r=jwatt
--HG--
extra : rebase_source : 15762e5a24663c1e46d8823ee2c14567573da339
2013-11-04 14:47:19 +13:00
Jonathan Watt
121dda43b7 Bug 932761 - Implement Moz2D path builders for all of the SVG element types. r=dholbert 2013-11-02 11:10:38 +00:00
Jonathan Watt
1fe28e78df Bug 932091 - Convert SVGBBox.mBBox to Moz2D. r=dholbert 2013-11-01 11:04:01 +00:00
Robert Longson
2a9ecaa6e6 Bug 929011 - Simplify path and transform parsing. r=dholbert 2013-10-29 17:15:39 +00:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Jonathan Watt
53c543a800 Bug 930468 - Add a Moz2D version of SVGPathData::ConstructPath. r=heycam, r=Bas 2013-10-24 17:50:27 +02:00
Ed Morley
0b37883d59 Backed out changeset 075fc0110d9f (bug 930468) 2013-10-24 18:44:52 +01:00
Jonathan Watt
40b70fbe5f Bug 930468 - Add a Moz2D version of SVGPathData::ConstructPath. r=heycam, r=Bas 2013-10-24 17:50:27 +02:00
Jonathan Watt
7d64ab0ea3 Bug 930455 - Convert nsSVGArcConverter to Moz2D. r=heycam 2013-10-24 14:46:38 +02:00
Jonathan Watt
4377d14f29 Bug 930443 - Convert SVGPathSegUtils to Moz2D. r=heycam 2013-10-24 14:46:38 +02:00
Brian O'Keefe
9c9d71fddb Bug 928709 - Convert chromium-config.mk to mozbuild, r=mshal 2013-10-02 13:17:55 -04:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Birunthan Mohanathas
a058382a85 Bug 784739 - Switch from NULL to nullptr in content/; r=ehsan
--HG--
extra : rebase_source : 9237726507e8002479616a98a82646a763932507
2013-10-23 16:34:10 -04:00
Kyle Huey
9ab68d6b69 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-23 07:32:04 +08:00
Jonathan Watt
d801a6b3fa Bug 929001 - Stop SVGEllipseElement from changing the current matrix between emittion and drawing of its path. r=dholbert 2013-10-22 23:45:52 +02:00
Seth Fowler
f3ffa0c710 Bug 764299 (Part 2) - Add a temporary surface cache to imagelib. r=dholbert 2013-10-22 13:37:59 +02:00
Seth Fowler
5e6d1f8386 Bug 764299 (Part 1) - Add hashing to SVGImageContext. r=dholbert 2013-10-22 13:37:57 +02:00
Kannan Vijayan
809746b013 Backout 5a0801040b54, 5bedd82346b4, 4d8068fd3271, and bc31e05eddb8 for b2g build breakage. CLOSED TREE. 2013-10-21 14:39:33 -04:00
Seth Fowler
4076d6db32 Bug 764299 (Part 2) - Add a temporary surface cache to imagelib. r=dholbert 2013-10-21 18:10:43 +02:00
Seth Fowler
c10fe9ad6f Bug 764299 (Part 1) - Add hashing to SVGImageContext. r=dholbert 2013-10-21 18:10:40 +02:00
Ehsan Akhgari
4dc6e14d21 Bug 928054 - Remove the prtypes.h #include from SVGPathSegUtils.h; rs=bsmedberg
--HG--
extra : rebase_source : 874584d4f67570dcfd2fd120a89688cbd29b4330
2013-10-18 20:34:57 -04:00
Matt Woodrow
806a534a20 Bug 926258 - Remove gfxFlattenedPath as it doesn't match the abstraction we want for Moz2D. r=roc 2013-10-15 16:23:21 +13:00
Ryan VanderMeulen
9abde8f9b2 Backed out 2 changesets (bug 915757, bug 919885) for frequent Android Armv6 mochitest-8 crashes.
Backed out changeset 04610078280c (bug 915757)
Backed out changeset db9190b3ce60 (bug 919885)
2013-10-14 14:38:54 -04:00
Kyle Huey
e2f7b57b3e Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 19:58:25 +08:00
Phil Ringnalda
5c6d197b06 Backed out 2 changesets (bug 915757, bug 919885) for xpcshell bustage
Backed out changeset 5d17d90b838d (bug 915757)
Backed out changeset 91495d3a91c8 (bug 919885)
2013-10-13 21:59:58 -07:00
Kyle Huey
ebb9068971 Bug 915757: Split GetListenerManager into two functions for more const-correctness. r=smaug 2013-10-14 11:10:44 +08:00
Ehsan Akhgari
eff9a278ad Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Robert Longson
7c5b6ad83d Bug 922593 - Prevent signed integer overflows calculating gaussian blurs. r=roc 2013-10-07 14:59:41 +01:00
Ehsan Akhgari
7bb8ab1a35 Bug 923151 - Part 2: Don't #include nsIDocument.h in mozilla/dom/Element.h; r=jst
--HG--
extra : rebase_source : 8c5f5429574313a1304eb2779cdb6b5702e4094d
2013-10-02 16:09:18 -04:00
Ehsan Akhgari
bf34a5f2f0 Bug 922933 - Don't #include nsIDocument.h in nsIContent.h; r=jst
--HG--
extra : rebase_source : 51f56fa27604224eacc2ba384bb826c49f4f917f
2013-10-02 07:40:07 -04:00
Masayuki Nakano
a4221a463f Bug 920377 part.30 Get rid of nsGUIEvent r=roc 2013-10-02 12:46:03 +09:00
Robert O'Callahan
20613a55bc Bug 916520. Rename nsClientRect(List) to mozilla::dom::DOMRect(List). r=khuey
--HG--
rename : content/html/content/src/nsClientRect.cpp => content/base/src/DOMRect.cpp
rename : content/html/content/src/nsClientRect.h => content/base/src/DOMRect.h
rename : dom/webidl/ClientRect.webidl => dom/webidl/DOMRect.webidl
rename : dom/webidl/ClientRectList.webidl => dom/webidl/DOMRectList.webidl
extra : rebase_source : ebe27ef21b38f7df5065f37b971508b740c8cf3c
2013-09-20 22:21:03 +12:00
Ehsan Akhgari
77b5078c36 Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Robert Longson
3f45013a54 Bug 919319 - Simplify number parsing. r=dholbert 2013-10-01 08:50:40 +01:00
Cameron McCormack
772ea83a2c Bug 921456 - Remove unused nsSVGElement::GetPresentationAttribute prototype. r=longsonr 2013-09-27 23:53:04 +10:00
Robert Longson
a9cb23d3ec Bug 919900 - Correct bounding box calculations for empty text elements with svg.text.css-frames.enabled. r=heycam 2013-09-26 13:42:15 +01:00
Masayuki Nakano
f90a5b1125 Bug 912956 part.18 Remove nsGUIEvent.h r=roc 2013-09-25 20:21:22 +09:00
Benoit Jacob
55d6cf1e20 Bug 913872 - Take nested enums out of gfxASurface - 1/3 : automatic changes - r=jrmuizel
Generated by these regexes:

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(ImageFormat\|SurfaceType\|ContentType\|MemoryLocation\)[0-9A-Za-z_]*\)/gfx\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/gfx[A-Za-z0-9_]*Surface\:\:[a-z]*\(\(CONTENT_\|MEMORY_\)[0-9A-Za-z_]*\)/GFX_\1/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(CONTENT_COLOR\|CONTENT_ALPHA\|CONTENT_COLOR_ALPHA\|CONTENT_SENTINEL\|MEMORY_IN_PROCESS_HEAP\|MEMORY_IN_PROCESS_NONHEAP\|MEMORY_OUT_OF_PROCESS\)\($\|[^A-Za-z0-9_]\)/\1GFX_\2\3/g'

find . -name '*.h' -o -name '*.cpp' -o -name '*.mm' | grep -v '\.hg' | grep -v '^\.\/obj' | xargs sed -i 's/\(^\|[^A-Za-z0-9_]\)\(ImageFormatARGB32\|ImageFormatRGB24\|ImageFormatA8\|ImageFormatA1\|ImageFormatRGB16_565\|ImageFormatUnknown\|SurfaceTypeImage\|SurfaceTypePDF\|SurfaceTypePS\|SurfaceTypeXlib\|SurfaceTypeXcb\|SurfaceTypeGlitz\|SurfaceTypeQuartz\|SurfaceTypeWin32\|SurfaceTypeBeOS\|SurfaceTypeDirectFB\|SurfaceTypeSVG\|SurfaceTypeOS2\|SurfaceTypeWin32Printing\|SurfaceTypeQuartzImage\|SurfaceTypeScript\|SurfaceTypeQPainter\|SurfaceTypeRecording\|SurfaceTypeVG\|SurfaceTypeGL\|SurfaceTypeDRM\|SurfaceTypeTee\|SurfaceTypeXML\|SurfaceTypeSkia\|SurfaceTypeSubsurface\|SurfaceTypeD2D\|SurfaceTypeMax\)\($\|[^A-Za-z0-9_]\)/\1gfx\2\3/g'
2013-09-24 16:45:13 -04:00
Masayuki Nakano
3254722540 Bug 912956 part.9 Rename nsMutationEvent.h to mozilla/MutationEvent.h r=smaug
--HG--
rename : content/events/public/nsMutationEvent.h => content/events/public/MutationEvent.h
2013-09-24 19:04:16 +09:00
Masayuki Nakano
0fbfe07d7e Bug 912956 part.2 Rename nsEvent.h to mozilla/EventForwards.h and sort out it r=roc
--HG--
rename : widget/nsEvent.h => widget/EventForwards.h
2013-09-24 19:04:14 +09:00
Ehsan Akhgari
7233ba7103 Bug 918923 - Part 2: Switch to #including nsString.h in code using the internal strings API; r=bsmedberg 2013-09-23 13:25:00 -04:00
Mike Hommey
fdcd66734e Bug 917622 - Use INSTALL_TARGETS for mochitests. r=gps 2013-09-19 07:39:58 +09:00
Trevor Saunders
02da83010c bug 915566 - rm Makefiles in content/ r=ted 2013-09-12 03:52:58 -04:00
Martijn Wargers
4d7138739f Bug 916086 - Remove some more enablePrivilege calls. r=jmaher
CLOSED TREE

--HG--
rename : layout/base/tests/test_bug458898.html => layout/base/tests/chrome/test_bug458898.html
2013-09-16 22:12:29 +02:00
Ehsan Akhgari
c88ae238ac Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky 2013-09-17 12:49:07 -04:00
Robert Longson
ef82e312fc Bug 785140 - Correct SVG whitespace handling in various spots. r=smaug,dholbert 2013-09-17 13:52:39 +01:00
David Zbarsky
ad3a9ad842 Bug 912555 - DOMSVGPathSeg and subclasses don't need to inherit nsISupports r=Ms2ger 2013-09-10 19:03:57 -04:00
Daniel Holbert
b4026d4cf2 Bug 911451: Refactor nsStringBuffer-to-nsString code into a helper-method, and invoke it instead of nsCheapString in one other place. r=dbaron
--HG--
rename : layout/reftests/svg/smil/mapped-attr-long-url-1.svg => layout/reftests/svg/smil/mapped-attr-long-url-2.svg
2013-09-10 10:03:28 -07:00
Robert O'Callahan
03e7828db2 Bug 910989. Remove nsTHashtable::Init, fallible allocation, and MT hashtables. r=ehsan,bsmedberg
--HG--
extra : rebase_source : 0787130b1814c74bfb38dc178de94022f0b2e64e
2013-09-02 20:41:57 +12:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Robert Longson
f25370e210 Bug 906601 - filter processing memory allocation should be fallible. r=jwatt 2013-09-04 22:14:10 +01:00
Ehsan Akhgari
0b8da1bcce Bug 911263 - Remove some unneeded nsIFrame.h #includes; r=mats 2013-08-30 17:17:07 -04:00
Daniel Holbert
b69ee7db46 Bug 904158 - When creating a string for the SMIL-animated value of a mapped SVG attribute, use NS_strlen to get the StringBuffer's logical length, instead of using nsCheapString and the allocated length. r=dbaron 2013-08-29 11:39:56 -04:00
Brian O'Keefe
d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Boris Zbarsky
7393f81fff Bug 908530 part 2. Fix all the places that are bootlegging things (esp nsIURI) via xpcpublic.h. r=khuey 2013-08-23 22:42:40 -04:00
Kyle Huey
52234568d4 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Ms2ger
913bab58b0 Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
6d473220dc Bug 883284 - Part b: Move LIBXUL_LIBRARY into moz.build (a-c); r=joey 2013-08-22 08:55:59 +02:00
Ms2ger
4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Daniel Holbert
d9aaafc1b8 Bug 907565: Remove redundant (unused) copy of nsISVGPoint.cpp. r=dzbarsky 2013-08-20 22:10:43 -07:00
Ehsan Akhgari
f9b077c0c8 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
Olli Pettay
05d99e99a0 Bug 887241, Use strings, not atoms, for worker events, r=khuey
--HG--
extra : rebase_source : 3e294b1bde05a127db0a9fa1c31c48e9a514e11d
2013-08-16 13:06:24 +03:00
Robert Longson
e7b91e5bc0 Bug 905151 - eChildToUserSpace transform wrong for inner svg elements. r=jwatt 2013-08-15 11:49:06 +01:00
Nathan Froyd
a0834ca614 Bug 903543 - eliminate static constructors for SMIL type singletons; r=dholbert
Add MOZ_CONSTEXPR to the constructors to inform the compiler the constructors
can be folded away.  Remove protected/private destructors so that static
destructors don't have to be registered with static constructors.
2013-08-12 10:13:34 -04:00
Brian O'Keefe
61565e4086 Bug 896177 - Remove useless config.mk includes; r=gps 2013-07-17 16:06:53 -04:00
Ms2ger
1a5ae526d9 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
Ms2ger
682a633069 Bug 901269 - Part b: Stop including nsContentUtils.h in Element.h; r=jlebar 2013-08-14 08:55:46 +02:00
Ehsan Akhgari
0bef5b7609 Bug 904121 - Do not include nsIMemory in nsMemory.h; r=vlad
--HG--
extra : rebase_source : b525ab299eeefdd39f6e919c8a0c6407f9bac209
2013-08-12 17:44:56 -04:00