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
Phil Ringnalda
dcb070e8f7
Back out 00fc7e525678 (bug 803543) for debug Mac build bustage
...
CLOSED TREE
2013-08-09 18:51:22 -07:00
David Zbarsky
8415f9eb69
[Bug 901289] Remove nsIDOMLinkStyle r=Ms2ger
2013-08-09 21:17:52 -04:00
Nathan Froyd
af19be5428
Bug 903543 - eliminate static constructors from SMIL types (and destructors, in opt builds); r=dholbert
2013-08-09 14:08:31 -04:00
Trevor Saunders
99d8dc50c9
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Nathan Froyd
0a89277437
Bug 901947 - part 1 - don't null-check |new X| in content/; r=smaug
2013-08-08 13:55:20 -04:00
David Zbarsky
9b8bb85a9c
Bug 902732: Merge nsILink and dom::Link r=bz
2013-08-08 01:26:32 -04:00
Robert Longson
a740e6b76c
Bug 835048 - ownerElement should return null rather than throwing for invalid content. r=jwatt
2013-08-07 18:40:52 +01:00
Robert Longson
e78ae213cd
Bug 898915 - Fix Axis() is not valid abort. r=dholbert
2013-08-07 17:59:08 +01:00
Daniel Holbert
d239205a09
(no bug) Fix typo in documentation for SVGLengthListAndInfo::CanZeroPadList(). no review, DONTBUILD because comment-only
2013-08-05 13:48:04 -04:00
Ms2ger
50634577d5
Merge m-c to inbound.
2013-08-02 11:07:57 +02:00
Ms2ger
9803a2ddf3
Bug 897540 - Reduce includes in nsDeviceContext.h; r=roc
2013-08-02 09:04:22 +02:00
Mike Hommey
2e729aa83d
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Martijn Wargers
2b32beaaad
Bug 899939 - Fix some tests that still use prefBranch instead of SpecialPowers.pushPrefEnv. r=jmaher
2013-07-31 11:30:54 +02:00
Ehsan Akhgari
2824b29025
Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
...
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:
# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.cc" \
-o -iname "*.mm" \) | \
xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
modules/libmar/src/mar_private.h \
modules/libmar/src/mar.h
# assert_replacer.py
#!/usr/bin/python
import sys
import re
pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")
def replaceInPlace(fname):
print fname
f = open(fname, "rw+")
lines = f.readlines()
for i in range(0, len(lines)):
while True:
index = re.search(pattern, lines[i])
if index != None:
index = index.start()
lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
for j in range(i + 1, len(lines)):
if lines[j].find(" ", index) == index:
lines[j] = lines[j][0:index] + lines[j][index+4:]
else:
break
else:
break
f.seek(0, 0)
f.truncate()
f.write("".join(lines))
f.close()
argc = len(sys.argv)
for i in range(1, argc):
replaceInPlace(sys.argv[i])
--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Ehsan Akhgari
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Cameron McCormack
fdb36cc83d
Bug 895285 - Handle viewBox="" setting optimization correctly. r=jwatt
2013-07-24 14:48:12 +10:00
Cameron McCormack
ad284632b7
Bug 896159 - Expose textLength and lengthAdjust on SVGTextPathElements. r=jwatt
2013-07-24 10:01:35 +10:00
David Zbarsky
1466d5fd4f
Bug 888685: SVGAnimatedLengthList shouldn't inherit nsISupports r=Ms2ger
2013-07-23 01:34:18 -07:00
David Zbarsky
1c217aae2d
Bug 888685: SVGAnimatedRect shouldn't inherit nsISupports r=Ms2ger
2013-07-23 01:34:17 -07:00
David Zbarsky
25658dc89f
Bug 892853 - Remove some xpidl for SVG r=Ms2ger
2013-07-17 23:54:09 -07:00
Brian O'Keefe
f4815f2203
Bug 883502 - Part 1: Move 'chromium_config.mk' includes after rules.mk. r=gps
2013-07-04 08:28:43 -04:00
Cameron McCormack
b05fa0ae0b
Bug 893484 - Set second last polygon marker type before appending last one. r=jwatt
2013-07-15 19:50:09 +10:00
Jonathan Watt
b3855202dd
Bug 880544 - Fix leak in DOMSVGPointList. r=dzbarksy
2013-07-12 11:25:27 +01:00
Jonathan Watt
c5b68c1e5a
Bug 880544 - Fix leak in DOMSVGPathSegList. r=dzbarksy
2013-07-12 11:25:26 +01:00
Jonathan Watt
c2a7752d69
Bug 880544 - Fix leak in DOMSVGNumberList. r=dzbarksy
2013-07-12 11:25:26 +01:00
Jonathan Watt
5040fbd69c
Bug 880544 - Fix leak in DOMSVGLengthList. r=dzbarksy
2013-07-12 11:25:26 +01:00
Jonathan Watt
b07d71c941
Bug 880544 - Fix leak in DOMSVGTransformList. r=dzbarksy
2013-07-12 11:25:25 +01:00
Cameron McCormack
aab2e6c2f0
Bug 890782 - Part 2: Make NS_STATE_SVG_NONDISPLAY_CHILD a global state bit and rename it. r=jwatt
2013-07-12 17:13:07 +10:00
Cameron McCormack
a1c5d8d92b
Bug 879659 - Followup for unused variable error.
2013-07-12 17:11:30 +10:00
Cameron McCormack
e5b78f3048
Bug 879659 - Part 3: Implement <marker orient="auto-start-reverse">. r=longsonr
2013-07-12 16:39:38 +10:00
Cameron McCormack
646cffaae0
Bug 879659 - Part 2: Refactor SVG marker handling to support more types of markers in the future. r=longsonr
2013-07-12 16:39:38 +10:00
Cameron McCormack
7173027b02
Bug 879659 - Add a pref for SVG 2 marker improvements. r=longsonr
2013-07-12 16:39:38 +10:00
Trevor Saunders
f33ade0d68
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
Masatoshi Kimura
58b9f38453
Bug 892460 - Add MOZ_FINAL to a bunch of node classes. r=bz
2013-07-12 06:26:54 +09:00
Boris Zbarsky
50841552c2
Bug 883889. Call SetIsDOMBinding() in the nsINode constructor, and remove it from all the subclasses. r=peterv
...
This patch leaves the call in the Attr constructor, because we plan to make Attr not inherit from nsINode.
2013-07-11 11:58:29 -04:00
Ms2ger
3de3cc24fb
Bug 890695 - Use MOZ_THIS_IN_INITIALIZER_LIST in content/; r=mounir
2013-07-10 11:56:47 +02:00
Ms2ger
6efec5035f
Bug 888366 - Part a: Remove dead DOMCI_DATA uses and SVGRect classinfo; r=peterv
2013-07-10 11:55:16 +02:00
Cameron McCormack
7145c3dd08
Bug 569722 - Implement textLength and lengthAdjust on SVG text elements. r=longsonr
2013-07-07 17:27:51 +10:00
David Zbarsky
d917b292bc
Bug 888685: SVGAnimatedLength shouldn't inherit nsISupports r=Ms2ger
2013-07-05 11:57:35 -07:00
David Zbarsky
de6fcf5fcc
Bug 888685: SVGAnimatedAngle shouldn't inherit nsISupports r=Ms2ger
2013-07-05 11:57:35 -07:00
David Zbarsky
2cf302a666
Bug 888685: SVGAngle shouldn't inherit nsISupports r=Ms2ger
2013-07-05 11:57:35 -07:00
David Zbarsky
6f6773ecc3
Bug 888685: SVGAnimatedBoolean shouldn't inherit nsISupports r=Ms2ger
2013-07-05 11:57:35 -07:00
Masatoshi Kimura
1a9e38cc24
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-04 00:56:26 +09:00
Robert Longson
0c55559813
Bug 889329 - Implement deselectAll(). r=cam,sr=roc
2013-07-03 08:41:53 +01:00
Ryan VanderMeulen
1d99822149
Backed out changeset d155557b651c (bug 888323) for bustage.
...
CLOSED TREE
2013-07-02 14:15:39 -04:00
Masatoshi Kimura
c9b73ddb89
Bug 888323 - Stop including prtime.h in nsrootidl.idl. r=ehsan
2013-07-03 02:08:01 +09:00
Ms2ger
01f068a6e1
Bug 886289 - Move SVGAnimatedNumber to WebIDL; r=dzbarsky
2013-07-01 09:03:04 +02:00
Ms2ger
5ba35c354d
Bug 886270 - Move SVGAnimatedInteger to WebIDL; r=dzbarsky
2013-07-01 09:02:56 +02:00
Ms2ger
fa9bb545c0
Bug 886247 - Move SVGAnimatedEnumeration to WebIDL; r=dzbarsky
2013-07-01 09:02:46 +02:00
Robert Longson
35db2a3e66
Bug 829085 - Fix hit testing when vector-effect=non-scaling-stroke is used. r=dholbert
2013-06-26 13:31:06 +01:00
Cameron McCormack
a091acd9d2
Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc
2013-06-25 16:01:38 +10:00
Ed Morley
702726731f
Backed out changeset d7c237784ce9 (bug 886230) for B2G mochitest-9 failures in test_bug582181-1.html
2013-06-25 13:45:09 +01:00
Cameron McCormack
994ad89b82
Bug 886230 - Don't paint SVG text under DrawWindow(..., DRAWWINDOW_DO_NOT_FLUSH) when frames are dirty. r=roc
2013-06-25 16:01:38 +10:00