Commit Graph

1011 Commits

Author SHA1 Message Date
Edwin Flores
2922d048e5 Bug 790072 - Fix crash when using -moz-objectFill property outside SVG glyphs r=roc 2012-09-19 17:03:25 +12:00
Peter Van der Beken
d21c8a19b6 Fix for bug 788532 (Add the new DOM bindings API to DOM lists). r=bz.
--HG--
extra : rebase_source : 18e21a786b6a9cc2aeada52ba5ca3a2614cb596b
2012-09-05 22:49:53 +02:00
Arnaud Sourioux
b20a9a4654 Bug 733186: Annotate ~1000 methods with MOZ_OVERRIDE in /layout r=dholbert r=dbaron 2012-09-14 09:10:08 -07:00
David Anderson
37976f8d18 Merge from mozilla-central. 2012-09-10 12:16:38 -07:00
David Anderson
cb5e844dd9 Merge from mozilla-central. 2012-09-06 18:28:59 -07:00
David Anderson
7b70ee195a Merge from mozilla-central.
--HG--
rename : js/jsd/jsd_scpt.c => js/jsd/jsd_scpt.cpp
rename : js/jsd/jsd_stak.c => js/jsd/jsd_stak.cpp
rename : js/jsd/jsd_val.c => js/jsd/jsd_val.cpp
2012-09-05 16:18:11 -07:00
David Anderson
59aad86af4 Merge from mozilla-central.
--HG--
rename : js/src/sharkctl.cpp => js/src/devtools/sharkctl.cpp
rename : js/src/sharkctl.h => js/src/devtools/sharkctl.h
rename : js/src/MemoryMetrics.cpp => js/src/jsmemorymetrics.cpp
2012-08-29 17:57:37 -07:00
David Anderson
9e81520770 Merge from mozilla-central.
--HG--
rename : content/base/public/nsIFrameMessageManager.idl => content/base/public/nsIMessageManager.idl
2012-08-29 17:51:24 -07:00
David Anderson
fd50a14c90 Merge from mozilla-central. 2012-08-22 16:09:24 -07:00
David Anderson
f3d3148ca7 Merge from mozilla-central. 2012-08-21 15:59:12 -07:00
David Anderson
5d981ba8fe Merge from mozilla-central. 2012-08-16 14:04:20 -07:00
David Anderson
f29decd8b9 Merge from mozilla-central. 2012-08-15 14:22:26 -07:00
David Anderson
0e509b2165 Merge from mozilla-central. 2012-08-13 13:40:42 -07:00
David Anderson
da15732de3 Merge from mozilla-central. 2012-08-10 14:50:20 -07:00
David Anderson
88429440a3 Merge from mozilla-central. 2012-08-08 15:09:49 -07:00
Ehsan Akhgari
8c296bbcd4 Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
This patch was generated by a script.  Here's the source of the script for
future reference:

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 "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t

convert PRIntn int
convert PRUintn unsigned

convert PRSize size_t

convert PROffset32 int32_t
convert PROffset64 int64_t

convert PRPtrdiff ptrdiff_t

convert PRFloat64 double
2012-08-22 11:56:38 -04:00
David Anderson
9f806b608d Merge from mozilla-central. 2012-08-07 15:13:28 -07:00
David Anderson
02b557e2ee Merge from mozilla-central.
--HG--
rename : layout/base/nsFrameTraversal.cpp => layout/base/nsFrameIterator.cpp
rename : layout/base/nsFrameTraversal.h => layout/base/nsFrameIterator.h
rename : browser/modules/WebappsInstaller.jsm => toolkit/webapps/WebappsInstaller.jsm
2012-08-06 12:44:06 -07:00
David Anderson
20b1197753 Merge from mozilla-central. 2012-08-03 18:58:30 -07:00
Ehsan Akhgari
51966b80a6 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Edwin Flores
2446d8504c Bug 719286 - Make SVG glyphs play nice with displaylist code r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
b4fd081edd Bug 719286 - Use -moz-objectValue keywords in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
e086b38fb4 Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to SVG *-opacity fields in SVG glyphs r=roc 2012-09-06 16:58:47 +12:00
Edwin Flores
0300bf0a15 Bug 719286 - Add support for -moz-objectFillOpacity and -moz-objectStrokeOpacity to CSS parser for SVG glyphs r=dbaron 2012-09-06 16:58:46 +12:00
Edwin Flores
0dd30d4b22 Bug 719286 - Setup gfxTextObjectPaint wrapper for SVG glyphs to inherit outer text object paint r=roc 2012-09-06 16:58:46 +12:00
Edwin Flores
87a3a3e8e0 Bug 719286 - Add new gfxTextObjectPaint paint wrapper for use with SVG glyphs r=roc 2012-09-06 16:58:46 +12:00
Edwin Flores
cac293e907 Bug 719286 - Add support for objectfill and objectstroke values to CSS parser r=dbaron 2012-09-06 16:58:46 +12:00
Cameron McCormack
9bd836efaa Bug 655877 - Part 39: Get bounding boxes of SVG text using new text frames correctly. r=jwatt 2012-08-10 21:13:44 +10:00
Cameron McCormack
f75b7c3ad3 Bug 655877 - Part 30: Allow PathExtentsToMaxStrokeExtents to work with nsTextFrames. r=jwatt 2012-08-10 21:13:44 +10:00
Cameron McCormack
9e66557827 Bug 655877 - Part 1: Move some path drawing functions from nsSVGGeometryFrame to nsSVGUtils. r=jwatt 2012-08-10 21:13:43 +10:00
Cameron McCormack
200bb52dcf Bug 655877 - Part 24: Add UA style sheet rule to inherit unicode-bidi on <text> to its anonymous block child. r=jwatt 2012-08-10 17:09:55 +10:00
Cameron McCormack
3239edd752 Bug 655877 - Part 22: Add function for getting the 'is SVG text using CSS frames' pref. r=jwatt
--HG--
extra : rebase_source : 781039f078c347146299e66eef57b515fdc843a0
2012-08-08 21:46:06 +10:00
David Anderson
2e20aecd2c Merge.
--HG--
rename : content/base/src/nsGenericElement.h => content/base/public/FragmentOrElement.h
rename : content/base/src/nsGenericElement.cpp => content/base/src/FragmentOrElement.cpp
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-08-01 11:30:00 -07:00
Sergey Glushchenko
cc3eef8d15 Bug 776429: Unify scattered M_PI definitions into mfbt/Constants.h r=dRdR 2012-08-06 13:32:11 -07:00
Robert Longson
220527a3f5 Bug 619964 - Implement FillPaint and StrokePaint filter sources. r=jwatt 2012-08-05 20:10:21 +01:00
Robert Longson
22644f28a0 Bug 773467 - Make SVG patterns ignore their patternContentUnits attribute when their viewBox attribute is set. r=jwatt
--HG--
rename : layout/reftests/svg/viewBox-and-pattern-01.svg => layout/reftests/svg/viewBox-and-pattern-02.svg
rename : layout/reftests/svg/viewBox-and-pattern-01.svg => layout/reftests/svg/viewBox-and-pattern-03.svg
2012-07-31 11:17:11 +01:00
Jonathan Watt
1ab579a114 Bug 768351 - "ABORT: Passed bad frame" with mask pointing at data: URL. r=roc.
--HG--
extra : rebase_source : ec2c0dd2b216a818cbe4c9526e198afb18f08c13
2012-07-30 20:14:18 +01:00
Jonathan Watt
2fd507a189 Bug 776337 - "ASSERTION: Should not use nsSVGIntegrationUtils on this SVG frame". r=longsonr.
--HG--
extra : rebase_source : b72f0311607b5d4ae0fa28939a53728566b4bfd9
2012-07-31 00:20:06 +01:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Cameron McCormack
bd1f97f84e Bug 655877 - Part 8: Ignore letter-spacing in SVG text frames. r=roc 2012-08-02 21:38:47 +10:00
Robert Longson
95a5b2af99 Bug 757751 - attribute updates on non-rendered svg elements result in an abort. r=jwatt 2012-08-15 12:58:06 +01:00
Cameron McCormack
dd3bc76051 No bug - Comment fix now that InvalidateAndScheduleBoundsUpdate has been renamed to InvalidateAndScheduleReflowSVG. DONTBUILD 2012-08-27 17:51:48 +10:00
David Zbarsky
fa3cb43e08 Bug 778519 - Don't include Layers.h everywhere Part 2 r=cjones 2012-07-30 17:42:26 -07:00
Matt Brubeck
68ff1a9598 Back out 7ac323ff812e (bug 768351) because crashtests/768351.svg fails with an unexpected assertion 2012-07-30 15:09:22 -07:00
Jonathan Watt
b398a6b14b Bug 768351 - "ABORT: Passed bad frame" with mask pointing at data: URL. r=roc. 2012-07-30 20:14:18 +01:00
Aryeh Gregor
2e7996f8d1 Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Jonathan Watt
63d0422ab7 Bug 776747 - Talos Regression :( SVG, Opacity Row Major increase 4.54%. r=roc. 2012-07-30 01:35:26 +01:00
Robert Longson
e24aff5d55 Bug 777476 - text bounding boxes should ignore whitespace-only nodes when whitespace compression suppresses them. r=jwatt 2012-07-27 09:07:32 +01:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Jonathan Watt
525d643063 Bug 780963 - Make UpdateOverflow() on filter primitive frames a no-op. r=roc. 2012-08-14 10:04:24 +01:00
Cameron McCormack
96cc1a05d6 Bug 655877 - Part 38: Ignore the non-SVG frames when propagating SVG changes through a tree. r=longsonr 2012-08-23 11:23:23 +10:00
Jonathan Watt
450c028ef3 Bug 767056 - Stop calling nsLayoutUtils::PostRestyleEvent during reflow to avoid infinite loop. r=roc.
--HG--
extra : rebase_source : c397431c824e2d1f624765636320129201209b60
2012-08-31 15:30:18 +01:00
Jonathan Watt
f2670afaf9 Bug 786736 - Initialize nsSVGOuterSVGFrame::mFullZoom to the full-zoom value in the ctor. r=roc. 2012-08-30 09:55:22 +01:00
Robert Longson
8be243633b Bug 780880 - patternTransforms that involve rotation do not work properly. r=dholbert
--HG--
rename : layout/reftests/svg/pattern-scale-01a.svg => layout/reftests/svg/pattern-scale-01c.svg
2012-08-09 09:17:05 +01:00
Robert Longson
39422274cf Bug 786216 - Fix evenodd fill-rule. r=jwatt 2012-08-28 15:47:01 +01:00
Jonathan Watt
612e8f441c Bug 780963 crashtest. r=roc. 2012-08-16 11:54:48 +01:00
Mats Palmgren
cbc105ed2e Bug 776327 - Subtract the start index from the length to get remaining characters of this fragment. r=jwatt 2012-07-25 16:04:23 +02:00
Jonathan Watt
fd7b224818 Bug 767726 - Kill nsISVGChildFrame::DO_NOT_NOTIFY_RENDERING_OBSERVERS. r=longsonr.
--HG--
extra : rebase_source : 3242d29a2251c767dc055a9a7d15ce76e27ac2f2
2012-07-23 12:00:43 +01:00
Jonathan Watt
3a0065fa08 Bug 707960 - Remove the covered region hack added in bug 614732. r=longsonr.
--HG--
extra : rebase_source : 0b2147bed77e20ba1a1afa635a1aa95e23f41051
2012-07-23 12:00:40 +01:00
Aryeh Gregor
0c8f5adf50 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Jonathan Watt
c9b718fe8c Bug 773595 - Have nsSVGPatternFrame::GetPatternMatrix use the correct attribute. r=longsonr.
--HG--
extra : rebase_source : b261c4e5cda1971ea6877790d97d056e05361373
2012-07-21 20:16:35 -04:00
Jonathan Watt
1adb494274 Bug 776250 - Rename nsISVGChildFrame::UpdateBounds to nsISVGChildFrame::ReflowSVG to make it easier for non-SVG devs to understand the SVG code. r=roc.
--HG--
extra : rebase_source : 9c2d8f3d76dab1a842d6cc5607a13a49703061d6
2012-07-21 20:01:44 -04:00
Jonathan Watt
72f6dee60e Remove unused variable to fix build bustage. no bug. r=me.
--HG--
extra : rebase_source : d0540d8aa9e57358d44a68692fa15172bd7ecefc
2012-07-20 15:12:26 -04:00
Jonathan Watt
2d338f4adf Bug 614732 - Implement display list based painting and hit-testing for SVG. r=roc.
--HG--
extra : rebase_source : 77e55885fbbf428008f5be787ddeb7e561c0d9bd
2012-07-20 14:12:29 -04:00
Jonathan Watt
ea69f808d8 Bug 614723 - Make sure SVG frames that shouldn't directly display don't create display list items. r=roc.
--HG--
extra : rebase_source : 0b3c9aca661798ea45b6b0ee3b7d0d24fdf2e736
2012-07-20 12:41:29 -04:00
Jonathan Watt
730505154e Bug 775735 - When filters/markers change, update the overflow rect/bounds of referencing frames. r=roc. 2012-07-20 00:54:20 -04:00
Jonathan Watt
24e8391ab6 Bug 775304 - Don't visit the descendant frames for the nsChangeHint_UpdateEffects hint. r=roc, r=dbaron.
--HG--
extra : rebase_source : 11996bd6194d62f98eba81d5e3a13d29eaacd62b
2012-07-19 15:44:04 -04:00
Brian Birtles
f909c43c9b Bug 765107 - Fix transformed filter drawing with Azure; r=bas
--HG--
extra : rebase_source : bfd4a2a16cbae25db180aed7c84991374a41730b
2012-07-18 15:15:17 -04:00
Jonathan Watt
c3f031f6c2 Bug 773450 - Lines don't show up in some Google Maps directions. r=roc. 2012-07-17 15:44:39 -04:00
Matt Woodrow
0794dcd107 Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-07-17 13:03:51 -04:00
Jonathan Watt
66f1cdb4bc Bug 539356 - Part 4 - Reinstate the foreignObject registering code so that bug 605265 doesn't slow down SVG in general. r=mattwoodrow 2012-07-17 13:03:51 -04:00
Jonathan Watt
2b3ab947be Bug 774095 - Make sure that we call nsSVGEffects::UpdateEffects() on frames that are added after the first reflow. r=dholbert. 2012-07-15 20:42:50 -04:00
Jonathan Watt
5eb5be7a4a Bug 774087 - Mark SVG filter primitive frame classes as NS_STATE_SVG_NONDISPLAY_CHILD. r=dholbert. 2012-07-15 20:42:50 -04:00
Rafael Ávila de Espíndola
146cefa4ff Bug 774039 - remove unused field. r=roc. 2012-07-15 00:18:50 -04:00
Jonathan Watt
12da01f415 Bug 769970 - Get SVG patterns working under HTML elements with CSS transforms applied. r=roc. 2012-07-14 00:18:38 +01:00
Jonathan Watt
d75d54a064 Bug 772017, part 2 - Have the visual overflow rect for SVG frames include non-rendering stroke when 'pointer-events' demands it. r=roc. 2012-07-11 12:25:27 +01:00
Jonathan Watt
3ee0f53b6a Bug 772406 - Make nsSVGGlyphFrame::UpdateBounds reuse GetBBoxContribution. r=roc. 2012-07-11 00:01:50 +01:00
Jonathan Watt
c3b907a2f9 Bug 772246 - nsSVGUtils::GetPostFilterVisualOverflowRect should not offset the returned rect by the frame's position. r=roc. 2012-07-10 13:09:08 +01:00
Jonathan Watt
66bcbc10a0 Bug 771042, part 1 - Fix invalidation of animateMotion. r=birtles. 2012-07-09 18:41:12 +01:00
Jonathan Watt
b9eddde6f6 Bug 772017 - Have the visual overflow rect for SVG frames include 'none' stroke when 'pointer-events' demands it. r=roc. 2012-07-09 12:55:16 +01:00
Cameron McCormack
d6201ab092 Bug 771879 - Minor code formatting tweaks. r=roc 2012-07-09 11:09:50 +10:00
Jonathan Watt
f410406b60 Bug 769742 - Account for nsSVGOuterSVGFrames' border/padding offset by giving nsSVGOuterSVGFrame an anonymous child to wrap its real children. r=roc. 2012-07-09 02:04:56 +01:00
Jonathan Watt
09ff7e2e99 Bug 771935 - SVGs that are larger than the browser content area should scroll. r=roc. 2012-07-09 01:55:34 +01:00
Jonathan Watt
5047eaf363 Bug 771795 - Stop over-invalidating SVG. r=heycam. 2012-07-08 08:29:57 +02:00
Jonathan Watt
965d0f2932 Bug 769645 - Use nsDisplayClip to do the content box clipping for nsSVGOuterSVGFrame. r=roc. 2012-07-06 16:44:50 +02:00
Jonathan Watt
5f7de4432c Bug 769612 - Move the SVGAutoRenderState::SetPaintingToWindow() call to nsDisplayOuterSVG::Paint and kill nsSVGOuterSVGFrame::Paint. r=dholbert. 2012-07-05 17:18:03 +02:00
Jonathan Watt
dcf0c3dfc1 Bug 769514 - Kill the Mac bitmap fallback code in nsSVGOuterSVGFrame. r=roc. 2012-07-05 17:18:03 +02:00
Ehsan Akhgari
2b300e2946 Backout changeset 3a41b53f8ada (bug 539356) because of performance and correctness regressions 2012-07-03 20:30:11 -04:00
Ehsan Akhgari
7ca323fbe6 Backout changeset eea5704272d0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:28:32 -04:00
Ehsan Akhgari
6ef72aef93 Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions 2012-07-03 20:24:55 -04:00
Jonathan Watt
6133aa3f77 Bug 769902 - Avoid unnecessary precision issues in nsSVGUtils::ObjectSpace. r=longsonr. 2012-06-30 21:21:31 +01:00
Jonathan Watt
6d5640d6dd Bug 767734 - Give GetCanvasTM knowledge of what the request is for so it can do the right thing when SVG display lists are enabled. r=longsonr. 2012-06-30 12:20:46 +01:00
Jonathan Watt
b442e8c474 Bug 732819 - "ASSERTION: don't think me need this any more" with font-size: 0. r=roc. 2012-06-30 12:20:46 +01:00
Matt Woodrow
1f0dbc7c74 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-06-30 15:06:11 +12:00
Matt Woodrow
f535bd8833 Bug 539356 - Part 5 - Change SVG effects painting to use a LayerManager transaction. r=roc 2012-06-30 15:06:10 +12:00
Jonathan Watt
826dae8019 Bug 539356 - Part 4 - Reinstate the foreignObject registering code so that bug 605265 doesn't slow down SVG in general. r=mattwoodrow 2012-06-30 15:06:09 +12:00
Jonathan Watt
18d907d671 Bug 769103 - Get SVG masks working for HTML elements under CSS transforms. r=roc. 2012-06-28 23:59:05 +01:00
Jonathan Watt
2fff05d6ed Bug 769306 - Move more code from nsSVGOuterSVGFrame::Paint to nsDisplaySVG::Paint. r=dholbert. 2012-06-28 20:51:31 +01:00
Jonathan Watt
513ddf221e Bug 769242 - Rename nsDisplaySVG to nsDisplayOuterSVG in preparation for adding other SVG display list item types. r=dholbert. 2012-06-28 20:51:20 +01:00