Mike Shal
24b4056720
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04: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
Masatoshi Kimura
2ca51c4f79
Bug 858224 - Remove most MSVC exemptions for FAIL_ON_WARNINGS. r=ted feedback=dholbert
2013-04-07 13:45:34 +09:00
David Zbarsky
dd55a87c18
Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 2 r=Ms2ger
2013-04-05 20:44:26 -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
Andrea Marchesini
716d484c78
Bug 825196 - Rename nsHTMLInputElement to HTMLInputElement. r=Ms2ger
...
--HG--
rename : content/html/content/src/nsHTMLInputElement.cpp => content/html/content/src/HTMLInputElement.cpp
rename : content/html/content/src/nsHTMLInputElement.h => content/html/content/src/HTMLInputElement.h
2013-03-28 15:41:32 -04:00
Mike Shal
ea1d9b8ba7
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
David Zbarsky
3dbafb9767
Bug 846908 - Move functions from nsISMILAnimationElement to SVGAnimationElement r=birtles
2013-03-18 23:18:45 -04:00
Olli Pettay
8f72caeb73
Bug 822399 - Make Event to use Paris bindings, r=peterv
2013-03-09 13:34:29 +02:00
Seth Fowler
85222ec900
Bug 846861 - Always update the moving average in nsSMILAnimationController::WillRefresh. r=dholbert
...
CLOSED TREE
--HG--
extra : amend_source : fb2d68d45f8f3e82a268b17092f311abe0e60384
2013-03-04 14:05:23 -08:00
David Zbarsky
c596ef885a
[Bug 847110] Fix up includes in layout/style r=dbaron
2013-03-02 19:31:48 -05:00
Gregory Szorc
fee2be3026
Bug 784841 - Part 18g: Convert /content; r=glandium
2013-02-25 12:47:19 -08:00
David Zbarsky
0a767db57e
Bug 833446: Remove nsIDOMSVGAnimationElement r=peterv
2013-02-02 15:23:11 -05:00
Mounir Lamouri
9ad0959156
Bug 833012 - Remove "nsContentUtils.h" inclusion from Element.h. r=Ms2ger
2013-01-31 23:11:49 +00:00
Robert Longson
29fca736fc
Bug 738551 - transforms should only be animated with animateTransform. r=dholbert
2013-01-27 21:34:14 +00:00
Ehsan Akhgari
741a6001ba
Bug 833190 - Disable PGO on svg; a=me
2013-01-21 23:00:29 -05:00
Trevor Saunders
b98e34aed0
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Mats Palmgren
d5826be6d7
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Chris Peterson
f456453bfd
Bug 829685 - Remove #include "prtypes.h" from some files that no longer use PR types. r=ehsan
2013-01-10 08:19:36 -08:00
David Zbarsky
d96279163f
Bug 824898: Convert SVG animation classes to WebIDL r=bz
2013-01-06 04:32:03 -05:00
Masatoshi Kimura
ecc812a3c0
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Cameron McCormack
3a091090a1
Bug 793617 - Implement mask-type property. r=dbaron,longsonr
2012-12-21 11:15:22 +11:00
Masayuki Nakano
ca0e8000e0
Bug 813445 part.14 Make dom::EventListenerFlags for nsEventListenerManager r=smaug
2012-12-16 10:26:05 +09:00
Masayuki Nakano
2c9891bdd2
Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug
2012-12-16 10:26:03 +09:00
Jeff Walden
e0523203c9
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Nicholas Cameron
95efdb86e0
Bug 814921; don't flush styles if there are no active animations. r=dholbert
...
--HG--
extra : rebase_source : 3823bf6985313a8bc3cfb7e54a4d733d828acdb4
2012-12-12 10:12:47 +13:00
L. David Baron
4b115c0f94
Bug 813373, patch 2: Remove pres context member from ValueWrapper. r=dholbert
2012-11-20 11:55:14 -08:00
L. David Baron
142c957b38
Bug 813373, patch 1: Remove pres context parameters from nsStyleAnimation::UncomputeValue. r=dholbert
2012-11-20 11:55:14 -08:00
Benoit Jacob
5a8b82a1cb
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Boris Zbarsky
fa61227956
Bug 811449 part 8. Get rid of nsGenericElement. r=peterv
2012-11-14 14:10:08 -08:00
Abhishek Potnis
2abf651a08
Bug 795504: Remove usages of PR_STATIC_CALLBACK from the tree; r=ehsan
2012-10-08 21:45:12 +05:30
Kyle Huey
1ccfbe810b
Bug 760331: Coalesce data for inline style across nodes. r=bz
...
This patch enables sharing of an nsAttrValue's MiscContainer between nodes for style rules. MiscContainers of type eCSSStyleRule are now refcounted (with some clever struct packing to ensure that the amount of memory allocated for MiscContainer remains unchanged on 32 and 64 bit). This infrastructure can be used to share most MiscContainer types in the future if we find advantages to sharing other types than just eCSSStyleRuley. A cache mapping strings to MiscContainers has been added to nsHTMLCSSStyleSheet. MiscContainers can be shared between nsAttrValues when one nsAttrValue is SetTo another nsAttrValue or when there is a cache hit in this cache. This patch also adds the ability to tell a style rule that it belongs to an nsHTMLCSSStyleSheet, with appropriate accessor functions to separate that from the existing case of belonging to an nsCSSStyleSheet.
The primary use case is to reduce memory use for pages that have lots of inline style attributes with the same value. This can happen easily with large pages that are automatically generated. An (admittedly pathological) testcase in Bug 686975 sees over 250 MB of memory savings with this change. Reusing the same MiscContainer for multiple nodes saves the overhead of maintaining separate copies of the string containing the serialized value of the style attribute and of creating separate style rules for each node. Eliminating duplicate style rules enables further savings in layout through style context sharing. The testcase sees the amount of memory used by style contexts go from over 250 MB to 10 KB.
Because the cache is based on the text value of the style attribute, it will not handle attributes that have different text values but are parsed into identical style rules. We also do not attempt to share MiscContainers when the node's base URI differs from the document URI. The effect of these limitations is expected to be low.
2012-09-30 09:40:24 -07:00
Isaac Aggrey
a53c93b026
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Isaac Aggrey
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Isaac Aggrey
84680bfb39
Bug 789847 - Remove PR_CALLBACK usage from tree
2012-09-25 11:18:38 -05:00
Rafael Ávila de Espíndola
d1faececd2
Bug 790285 - avoid nullptr -> false conversions. r=ehsan.
2012-09-11 14:00:37 -04:00
Boris Zbarsky
a562efcb37
Bug 767931. Make drawWindow and asyncDrawXULElement ChromeOnly. r=roc
2012-09-07 01:29:47 -04:00
Daniel Holbert
b537d68146
Bug 786111: Prevent recursive calls to nsSMILAnimationController::DoSample(). r=birtles sr=roc
2012-08-28 22:32:56 -07:00
Daniel Holbert
f462257c18
Bug 786503: mark nsSMILInstanceTime::mVisited as mutable. r=birtles
2012-08-28 22:27:53 -07:00
Ehsan Akhgari
2962d2eed1
Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
...
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04: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
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Aryeh Gregor
5662d18449
Bug 780469 - Reduce unnecessary includes in some content/ header files; r=bz
2012-08-06 15:02:08 +03:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Aryeh Gregor
afc1681fc9
Bug 563659 part 3 - Make Element inherit from FragmentOrElement; r=bz
2012-06-27 16:01:55 +03:00
David Zbarsky
bde306fdca
Bug 755084 Part 2: Perform CSS animations of transform and opacity on the compositor r=roc, dbaron
2012-07-31 10:28:21 -07:00
Mark Finkle
a4d33f44cf
Backout 169ff207ed19, a34baed70c1b, f9ccdd490bd7, 39550ed860e6, 2194a2dd66b2, 908eb2e26843, a76e0a267f26 due to mobile viewport bustage (bug 778580)
2012-07-30 14:36:12 -04:00