Commit Graph

120 Commits

Author SHA1 Message Date
Michael Layzell
f20336e5e1 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Tom Klein
7579b60c17 Bug 1092125 - part 2 - add non-scaling-stroke support to SVGLineElement::GetGeometryBounds. r=jwatt 2015-09-02 20:10:00 +02:00
Tom Klein
67a6154671 Bug 1092125 - Part 1 - Add non-scaling-stroke support to nsSVGPathGeometryElement::GetGeometryBounds (except line). r=jwatt 2015-09-01 06:17:00 +02:00
Masayuki Nakano
496fd6384d Bug 895274 part.114 Rename NS_SVG_ZOOM to eSVGZoom r=smaug 2015-09-07 23:55:52 +09:00
Masayuki Nakano
736665e7cb Bug 895274 part.112 Rename NS_SVG_SCROLL to eSVGScroll r=smaug 2015-09-07 23:55:52 +09:00
Masayuki Nakano
bc04e07473 Bug 895274 part.109 Rename NS_SVG_LOAD to eSVGLoad r=smaug 2015-09-07 23:55:51 +09:00
Wes Kocher
45f5ae8270 Backed out 2 changesets (bug 1035091)
a=backout

Backed out changeset 1fc07bdd9aa8 (bug 1035091)
Backed out changeset f6e98029d1cb (bug 1035091)
2015-09-03 11:41:39 -07:00
Zack Weinberg
d89a3bcc67 Bug 1035091 part 1: change CSS parser and loader APIs to distinguish UA, user, and author sheets instead of just UA vs everyone else. r=heycam 2015-09-02 13:52:49 -04:00
Nigel Babu
40a4e91de9 Backed out changeset 1f22cefbef23 (bug 1092125) for M3 bustage on CLOSED TREE 2015-09-02 11:34:47 +05:30
Nigel Babu
d0e1a05afc Backed out changeset 4a68226609c8 (bug 1092125) for M3 bustage on CLOSED TREE 2015-09-02 11:34:34 +05:30
Tom Klein
430f20046e Bug 1092125 - Part 2: Add non-scaling-stroke support to SVGLineElement::GetGeometryBounds. r=jwatt 2015-08-19 14:48:00 -04:00
Tom Klein
61df98d485 Bug 1092125 - Part 1: Add non-scaling-stroke support to nsSVGPathGeometryElement::GetGeometryBounds (except line). r=jwatt 2015-09-01 06:17:00 -04:00
Nicholas Nethercote
69d088e45f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Daniel Holbert
9d2b2e6429 Bug 1196339 - Drop bogus (& unused) extra arg from SVGSVGElement::SetZoomAndPan() error-reporting statement. r=mccr8 2015-08-19 11:39:00 -04:00
Masayuki Nakano
451161e458 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
Nathan Froyd
a64621d002 Bug 968923 - fix bogus assert in nsSVGElement.cpp; r=heycam
Landing this on a CLOSED TREE
2015-08-11 00:24:27 -04:00
Cameron McCormack
b9bbca8eef Bug 968923 - part 3d - record use counter information from the CSS parser; r=dbaron 2015-06-03 15:21:24 -04:00
Aryeh Gregor
d23d38648e Bug 1179451 - Part 4: Don't pass nsRefPtr&& to functions that want raw pointers. r=froydnj 2015-08-13 15:22:48 +03:00
Aryeh Gregor
2aab280bb3 Bug 874842 - Return Event instead of nsIDOMEvent 2015-08-12 14:39:31 +03:00
Birunthan Mohanathas
e1f0334d06 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Robert O'Callahan
b3e6c8c4ff Bug 1184842. Preparse class attribute values in Element::BeforeSetAttr. r=peterv 2015-08-01 17:46:15 +12:00
Robert O'Callahan
d10c4321ce Bug 1184842. Add aNewValue to nsIMutationObserver::AttributeWillChange. r=peterv 2015-07-25 18:05:19 +12:00
Robert O'Callahan
d3cac53133 Bug 1184842. Allow BeforeSetAttr to preparse aValue. r=peterv
We will pass the preparsed value into AttributeWillChange.
2015-08-01 17:14:06 +12:00
Robert O'Callahan
d67ff5c3b6 Bug 1184842. Pass aOldValue to all mutation observers. r=peterv 2015-07-25 18:01:19 +12:00
Robert O'Callahan
4c4dbbd99b Bug 1184842. Make SetAttrAndNotify use the real old value instead of aOldValue when possible. r=bz 2015-07-25 17:57:13 +12:00
Robert O'Callahan
6c3f05a930 Bug 1184842. Change nsAttrAndChildArray::SetAndTakeAttr to nsAttrAndChildArray::SetAndSwapAttr. r=peterv 2015-07-22 14:09:41 +12:00
Tom Klein
a6e15ed1a1 Bug 1187770 - work around draw targets that don't display zero-length lines. r=longsonr 2015-08-01 10:09:00 +02:00
Eric Rahm
0919852b15 Bug 1180048 - Switch warning about having a zero length axis to a LAYOUT_WARNING. r=dholbert 2015-07-29 16:06:14 -07:00
Nicholas Nethercote
242308999c Bug 1188745 - Rename nsTArray::SizeOfExcludingThis() as ShallowSizeOfExcludingThis(). r=froydnj.
This makes it clearer that, unlike how SizeOf*() functions usually work, this
doesn't measure any children hanging off the array.

And do likewise for nsTObserverArray.
2015-07-28 23:24:24 -07:00
Boris Zbarsky
21fbb68e4c Bug 1177819. Replace the warning about anon content being passed into frame construction with an assert plus whitelisting of the known-OK cases. r=dholbert 2015-07-23 11:51:09 -04:00
Tom Klein
9386518350 Bug 892372 - update both orient type and angle when the svg marker orient attribute is changed. r=heycam 2015-07-13 08:08:00 +02:00
Birunthan Mohanathas
47ed3a3675 Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
The bulk of this commit was generated by running:

  run-clang-tidy.py \
    -checks='-*,llvm-namespace-comment' \
    -header-filter=^/.../mozilla-central/.* \
    -fix
2015-07-13 08:25:42 -07:00
Birunthan Mohanathas
2bc72dd990 Bug 1179282 - Use nsTArray::Assign instead of the assignment operator in dom/svg/. r=dholbert 2015-07-07 11:27:03 -07:00
Dragana Damjanovic
e3003eee82 Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell 2015-07-06 07:55:00 +02:00
Nathan Froyd
8780083336 Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
This conversion was done with the script:

  find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
    egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
    xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
                 -e 's/TemporaryRef</already_AddRefed</g'

Manual fixups were performed in the following instances:

- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
  into already_AddRefed.

- The following files had explicit Move() calls added to make up for the lack
  of a copy constructor on already_AddRefed:

  dom/base/ImageEncoder.cpp
  dom/media/MediaTaskQueue.{h,cpp}
  dom/media/webaudio/PannerNode.cpp

- A redundant overload for MediaTaskQueue::Dispatch was deleted.

- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.

- Comments, using declarations, and forward declarations relating to
  TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
  already_AddRefed.
2015-06-17 10:00:52 -04:00
Tom Klein
b677572bb9 Bug 1178159 - Ignore stroke-linecap:"square" on circle and ellipse. r=longsonr 2015-06-29 20:19:00 +02:00
Cameron McCormack
1d5151d479 Bug 1169514 - Part 2: Move noframes rules from the preferences style sheet to a cached UA style sheet. r=jwatt 2015-06-16 11:34:47 +10:00
Cameron McCormack
734cedb81b Bug 1169514 - Part 1: Move noscript rule from the preference style sheet to a cached UA style sheet. r=jwatt 2015-06-16 11:34:47 +10:00
Cameron McCormack
8bf841f8d9 Bug 1169525 - Add the on-demand SVG style sheets when a foreignObject is encountered within a single style update. r=jwatt 2015-06-16 11:34:47 +10:00
Birunthan Mohanathas
cdc698bf0f Bug 968520 - Add mozilla::fallible to more FallibleTArray::InsertElementsAt calls. r=froydnj 2015-06-09 17:27:35 -07:00
Daniel Holbert
d6cec08423 Bug 1168903 part 2: Use Move() instead of nsSMILValue::Swap() to populate outparams from temp variables in SMIL functions. r=birtles 2015-05-29 13:10:41 -07:00
Birunthan Mohanathas
084be39cfd Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Birunthan Mohanathas
7dbeb7a0eb Bug 968520 - Add mozilla::fallible to FallibleTArray::InsertElementAt calls. r=froydnj 2015-05-28 11:07:43 -07:00
Birunthan Mohanathas
bb87a082bc Bug 968520 - Use FallibleTArray::TruncateLength instead of SetLength where possible. r=froydnj
This preemptively fixes the upcoming -Wunused-result warnings due to unchecked
SetLength calls.
2015-05-28 11:07:43 -07:00
David Major
a4b51f53a5 Bug 1167189: Add an infallible version of nsContentUtils::GetNodeTextContent. r=jst 2015-05-22 14:16:20 -04:00
Birunthan Mohanathas
94248c294c Bug 1166544 - Use ReplaceElementAt instead of Clear and InsertElementAt in SVGMotionSMILType::Add. r=dholbert 2015-05-20 16:20:50 +01:00
Birunthan Mohanathas
5eb99d3e43 Bug 1166544 - Assume successful InsertElementAt calls in DOMSVG*List::MaybeInsertNullInAnimValListAt. r=dholbert 2015-05-20 16:20:42 +01:00
Birunthan Mohanathas
6e9dd1acd5 Bug 1166544 - Surroud FallibleTArray functions that are known to succeed with MOZ_ALWAYS_TRUE in dom/{smil,svg}/. r=dholbert 2015-05-20 16:20:39 +01:00
Cameron McCormack
2f9a594dfb Bug 968923 - part 2 - change MappedAttrParser to store a nsSVGElement directly, instead of its nsIPrincipal; r=smaug
We'll need access to the element, and to its OwnerDoc, once we hook up
use counters.
2015-02-05 12:32:14 -05:00
Nathan Froyd
bb51644dac Bug 1160485 - remove implicit conversion from RefPtr<T> to TemporaryRef<T>; r=ehsan
Having this implicit conversion means that we can silently do extra
refcounting when it's completely unnecessary.  It's also an obstacle to
making RefPtr more nsRefPtr-like, so let's get rid of it.
2015-05-01 09:14:16 -04:00