Robert O'Callahan
e5e3b3660e
Bug 829557. Part 1: When calling into plugin code, identify situations where it is safe (or unsafe) to reenter Gecko from plugin code. r=bsmedberg
...
When Gecko is reentered from unsafe call sites, we allow the reentry, but we
suppress execution of the refresh driver to minimize the danger.
In this patch, we treat all sites as unsafe.
2013-02-28 00:50:27 +13:00
Timothy Nikkel
3649bd47b4
Bug 833823. We need to register for plugin updates even if we don't have a widget. r=mats
...
Also add a weak frame check here since we could destroy the frame. This problem existed before this patch, so we are fixing two things here.
2013-02-28 13:16:03 -06:00
Ed Morley
cc47d0ca78
Backed out changeset f73b7b8d1a2d (bug 829557) for failing to compile on Windows on a CLOSED TREE
2013-02-27 12:50:30 +00:00
Robert O'Callahan
9b4faa088f
Bug 829557. Part 1: When calling into plugin code, identify situations where it is safe (or unsafe) to reenter Gecko from plugin code. r=bsmedberg
...
When Gecko is reentered from unsafe call sites, we allow the reentry, but we
suppress execution of the refresh driver to minimize the danger.
In this patch, we treat all sites as unsafe.
2013-02-28 00:50:27 +13:00
L. David Baron
ca6c366dc6
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Robert O'Callahan
b18cd55753
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
2013-02-15 00:12:27 +13:00
Robert O'Callahan
3ac2cf9858
Bug 840902. Part 1: Stop checking the results of various display list methods. r=mattwoodrow
2013-02-15 00:08:08 +13:00
Mats Palmgren
7532b4e736
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
Masatoshi Kimura
8f4f4688ee
Bug 829388 - Remove unused functions and macros from nsCoord.h. r=roc
2013-01-11 20:37:52 +09:00
Robert O'Callahan
67b24645e1
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
2013-01-05 16:12:24 +13:00
Phil Ringnalda
f40517090e
Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
...
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b20214218e
Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
2013-01-05 16:12:24 +13:00
Robert O'Callahan
ae130ef998
Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
...
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.
2013-01-04 02:23:11 +13:00
Nicholas Nethercote
84a7ba7d6a
Bug 824397 - Use NS_ENSURE_{TRUE,FALSE,SUCCESS}_VOID(foo) instead of NS_ENSURE_{TRUE,FALSE,SUCCESS}(foo, ). r=derf.
2012-12-23 20:45:57 -08:00
Alexander Surkov
4bbcb97ef6
Bug 810572, part 3 - merge Accessible::AccessibleTypes with AccTypes, r=tbsaude
2012-12-18 14:22:26 +09:00
Alexander Surkov
7b6a8051eb
Bug 810572, part2 - remove 'Accessible' postfix from AccTypes constants, r=tbsaunde, sr=roc
2012-12-12 19:04:12 +09:00
Robert O'Callahan
01279f64b3
Bug 801842. Treat windowless plugins in popups as always visible, since we don't compute proper geometry for them. r=tnikkel
2012-11-28 02:18:39 +13:00
Nicholas Cameron
69dc9e7134
Bug 812908; add a debug pref for forcing active layers; r=roc
2012-11-23 12:29:05 +13:00
Ehsan Akhgari
ce141d03d3
Bug 810355 - Convert nsDidReflowStatus into an enum class; r=dholbert
2012-11-13 22:47:33 -08:00
Robert O'Callahan
720b619edf
Bug 811173. Part 2: Add other cases for nsDisplayItems that snap their bounds. r=mattwoodrow
2012-11-13 11:56:47 -08:00
Karl Tomlinson
35fe6395f1
b=807925 revert to calling GetImageContainer() before NotifyPaintWaiter() to check for null instance first r=roc
2012-11-08 10:15:27 +13:00
Karl Tomlinson
9d947cec0f
b=797568 only GetImageContainer in BuildLayer if the container will be used r=roc
2012-10-31 15:54:06 +13:00
Karl Tomlinson
ef9e8835a0
b=797568 don't try to get non-existant ImageContainer with in-process Mac plugins r=BenWa
2012-10-31 15:54:05 +13:00
Karl Tomlinson
179db6e56a
b=797568 remove obsolete nsObjectFrame::GetImageContainer() r=roc
2012-10-31 15:53:37 +13:00
Nathan Froyd
cb4c9c2a0d
Bug 806618 - rewrite PR_NewLogModule calls to not generate static initializers; r=ehsan
2012-10-29 19:32:10 -04:00
Steven Michaud
881c04e390
bug 794038 pt 3 - plugins support for resolution change. r=bgirard
2012-10-16 20:41:21 +01:00
Trevor Saunders
ef05b16386
bug 542039 - accessible object types r=surkov, roc
2012-09-28 17:53:44 -04:00
Josh Aas
9198e7804c
Bug 598397: Remove support for Carbon NPAPI. r=smichaud
2012-10-15 08:38:34 -04:00
David Zbarsky
c1fd29e7bc
Bug 799407: Turn on FAIL_ON_WARNINGS under layout/generic r=roc
2012-10-14 21:28:23 -04:00
David Zbarsky
7117b82dce
Bug 799407: Fix warnings under layout/generic, r=roc
2012-10-14 16:56:03 -04:00
Robert O'Callahan
4c4c6fc1c3
Bug 626245. Part 4: Compute plugin widget geometry updates via the refresh driver's painting, and defer actual widget updates until we've just composited the window. r=mats
...
Updating plugin widget geometry every time we paint means we don't have to
explicitly request plugin geometry updates.
This patch stops us from flushing plugin geometry changes in
FlushPendingNotifications(Flush_Layout). There are too many Flush_Layouts and
flushing plugin geometry changes on them produces frequent
desynchronization of the plugin geometry with the rendered window contents.
There is some Web compatibility risk there --- it means we have to change
our tests, for one thing --- but hopefully it's OK.
2012-10-07 02:03:23 +13:00
David Zbarsky
be5735e6c2
Backed out changeset 3884ab03451d (bug Bug 799407) because new warnings have
...
been added.
2012-10-13 14:49:35 -04:00
David Zbarsky
db694a5027
Bug 799407: Fix warnings under layout/generic, r=roc
2012-10-13 14:31:19 -04:00
Trevor Saunders
53e4e1f193
bug 798595 - remove useless prmem.h includes r=ehsan
2012-10-04 02:14:06 -04:00
David Zbarsky
b22e7c6a8e
[Bug 799407] Fix build warnings in layout r=roc
2012-10-10 01:00:05 -04:00
Steven Michaud
207a80cc98
Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard
2012-10-02 14:48:05 -05:00
Isaac Aggrey
990e90e88a
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Matt Woodrow
db116030ba
Bug 539356 - Part 9e - FrameLayerBuilder changes for display list invalidation. r=roc
...
* * *
imported patch move-by-correctly
2012-08-29 17:47:15 +12:00
Matt Woodrow
e813da3696
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Ed Morley
ed4fe023b5
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
24eaff95c9
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Karl Tomlinson
9b45664629
b=777946 use SetScaleToSize image layers even for non-XP_WIN plugins r=BenWa
2012-09-18 15:16:33 +12:00
Ed Morley
bc7eac1c76
Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs
2012-09-17 14:17:02 +01:00
Matt Woodrow
1efdc4e5f4
Bug 788044 - Make inactive layer subtrees relative to the ContainerLayer, not the reference frame. r=roc
2012-09-17 10:25:33 +12:00
Karl Tomlinson
2a8ef077e1
b=777946 use SetScaleToSize image layers even for non-XP_WIN plugins r=BenWa
2012-09-17 17:20:10 +12:00
Robert O'Callahan
f6fc141707
Bug 787089. Rip out mUpdatePluginGeometryForFrame optimization. It's not known to be a significant win, and creates problems when prescontext ancestor chains are broken; the complexity probably isn't worthwhile. Also, soon (or now) we can rework plugin bounds computation to be use the display list built for rendering. r=matspal
2012-09-05 22:30:10 +12:00
Ehsan Akhgari
243c878d26
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 Zbarsky
b3df96766a
Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical
2012-08-21 00:06:46 -04:00
Nicolas Silva
e0905a590a
Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard
2012-08-19 15:33:25 -04:00
Chris Pearce
4f8ac34fe1
Bug 775965 - Store root pres context used to register plugins on nsObjectFrame. r=roc
2012-08-17 16:25:19 +12:00