Commit Graph

116 Commits

Author SHA1 Message Date
Doug Turner
7767c0773f Bug 906072 - Remove Maemo port. r=romaxa, r=ted, r=johns 2013-08-25 16:56:53 -07:00
Ms2ger
24f9ba0400 Bug 904178 - Part f: Remove some includes from nsPIDOMWindow.h; r=mounir 2013-08-22 08:30:55 +02:00
Joshua Cranmer
46b6048262 Bug 884061 - Part 3f: Use NS_DECL_THREADSAFE_ISUPPORTS in dom/, r=smaug,dhylands. 2013-07-18 21:21:20 -05:00
Gabor Krizsanits
9d5f7191e2 Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap 2013-06-21 16:25:20 +02:00
Benjamin Smedberg
885ffdf469 Bug 875454 - Rework handling of per-site plugin permissions in objectloadingcontent such that users can disable or enable plugins per-site no matter what their "global" permission is (currently only plugins marked click-to-activate globally honor per-site overrides). Also change the pageInfo UI such that "use default" is separate from the explicit click-to-play setting. r=jschoenick/jaws 2013-06-11 10:58:43 -04:00
Makoto Kato
efb7bf25b2 Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan 2013-05-08 12:40:12 +09:00
Aryeh Gregor
6714817176 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Jeff Gilbert
9287f01d60 Bug 863477 - Use SurfaceCaps::Any() for CreateOffscreen for GLContexts for NPAPI plugins. r=cpeterson 2013-04-25 09:35:50 -07:00
Joshua Cranmer
747c2be2bc Bug 856108 - Port static analyses to clang, part 2b: use MOZ_STACK_CLASS in dom. r=Ms2ger 2013-04-11 22:20:18 -05:00
Johnny Stenback
e41a6bd869 Fixing bug 781310. Change nsPluginHost::GetInst() to return already_AddRefed<nsPluginHost> to make it harder to write leaky code. r=jschoenick@mozilla.com 2013-03-20 11:29:00 -07:00
Jacek Caban
fecceb176c Bug 849198 - Merge nsPluginSafety.h into nsNPAPIPluginInstance.h r=roc 2013-03-12 11:34:07 +01:00
James Willcox
980c7b3840 Bug 837114 - Don't leak Flash shared objects while private browsing on Android r=bsmedberg 2013-03-04 13:18:20 -05:00
Robert O'Callahan
6deb776bba Bug 829557. Part 2: Allow plugin code to reenter Gecko safely while while the plugin is processing an input event. r=bsmedberg
When nsPluginInstanceOwner passes input events to the plugin instance,
it's safe to reenter Gecko from plugin code and do anything, even
arbitrary script execution.
2013-02-28 00:50:28 +13:00
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
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
Ed Morley
606f9faaaf Backed out changeset 622b744e5df9 (bug 829557) 2013-02-27 12:49:32 +00:00
Robert O'Callahan
d78efc9174 Bug 829557. Part 2: Allow plugin code to reenter Gecko safely while while the plugin is processing an input event. r=bsmedberg
When nsPluginInstanceOwner passes input events to the plugin instance,
it's safe to reenter Gecko from plugin code and do anything, even
arbitrary script execution.
2013-02-28 00:50:28 +13: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
Jeff Gilbert
46195df92b Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Ed Morley
3077eb4cca Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert
a79294f4c5 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Ryan VanderMeulen
608b6e27e4 Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE. 2013-02-20 10:01:20 -05:00
Jeff Gilbert
00c4965862 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Jeff Muizelaar
2a71bbf1e8 Bug 835533. Avoid adding an ambiguous TextureInfo type. r=snorp
TextureInfo conflicts with TextureInfo from the layers refactor.
It's not used in many places so just avoid the typedef
2013-01-29 11:24:04 -05:00
James Willcox
8287dabf11 Bug 800838 - Guard against invalid NPP when unscheduling plugin timers on Android r=blassey 2013-01-23 09:16:26 -05:00
James Willcox
98a6bb545f Bug 800838 - remove unnecessary delay when unscheduling plugin timers r=blassey 2012-12-17 10:05:49 -05:00
Jeff Walden
8a6657de57 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
James Willcox
4edc061421 Bug 820905 - backout ea1643fd4285 2012-12-13 14:23:07 -05:00
Kartikaya Gupta
b38d78a11f Bug 780831 - Guard against plugin code leaking refs in the JNI local ref table. r=snorp 2012-12-13 00:32:17 -05:00
James Willcox
47f806cfae Bug 800838 - Remove unnecessary delay when unscheduling plugin timers on Android r=blassey 2012-12-10 10:00:44 -05:00
Robert O'Callahan
68341e4a9e Bug 785348. Part 1: Track when we've called into plugin code. While we're in plugin code, never run the refresh driver. r=mats 2012-12-07 12:58:14 +13:00
Ms2ger
89d6d9d8b1 Bug 810668 - Fix some gcc4.6 build warnings; r=bz 2012-12-02 09:54:55 +01:00
Kartikaya Gupta
23edda227f Bug 814418 - Fix some warnings about unused variables. r=ehsan 2012-11-30 11:06:37 -05:00
Jeff Gilbert
8c33e2cc5d Bug 811958 - Fix and move ShateType type - r=bgirard 2012-11-26 14:23:27 -08:00
Jeff Gilbert
a35a38f6c7 Backed out csets 807f2c3df974, 1637c39b4ed6, ec29e09a270e (bug 811958) for burning android 2012-11-26 13:48:20 -08:00
Jeff Gilbert
534b58bc55 Bug 811958 - Fix and move ShareType type - r=bgirard 2012-11-26 12:51:57 -08:00
David Keeler
97b94d74c8 bug 811375 - decouple nsIPluginTag::clicktoplay from click-to-play blocklisting r=joshmoz 2012-11-19 14:03:24 -08:00
Matt Joras
909b0a4093 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Ryan VanderMeulen
ee28986d89 Backed out changeset 5054c2552a30 (bug 798033) for b2g bustage. 2012-11-10 11:52:15 -05:00
Matt Joras
07b8c503c4 Bug 798033 - Removes 'using namespace' from dom headers - r=khuey 2012-11-10 10:45:52 -05:00
Steven Michaud
881c04e390 bug 794038 pt 3 - plugins support for resolution change. r=bgirard 2012-10-16 20:41:21 +01:00
Georg Fritzsche
f97c4a9bd1 Bug 750480 - Workaround for empty Java applets hanging with click-to-play. r=bsmedberg 2012-10-03 17:49:04 +02:00
Josh Aas
677edac3b7 Bug 797100: Replace internal usage of nsIPluginInstanceOwner with nsPluginInstanceOwner. r=jst 2012-10-02 22:43:18 -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
Karl Tomlinson
e2d970fe24 b=788399 always use async drawing for OOP windowless plugins r=bsmedberg 2012-09-27 12:22:51 +12:00
James Willcox
1a03f74149 Bug 750217 - Don't schedule plugin timers if the plugin isn't running r=josh 2012-09-11 10:24:25 -04: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
James Willcox
aa986bfc86 Bug 776334 - Don't double free shared texture handles for Flash on Android r=blassey 2012-08-16 12:48:35 -04:00
James Willcox
5cae8d2ab1 Bug 781542 - Don't require a layer invalidation for Flash video on Android r=blassey 2012-08-16 12:47:22 -04:00
Aryeh Gregor
5b01f29a20 Bug 782605 - Make nsNPAPIPluginInstance::SetCached infallible; r=roc 2012-08-14 12:10:42 +03:00