Tom Schuster
49e7e375f6
Bug 961490 - Some cleaner rooting in NPAPI _eval. r=terrence,bsmedberg
2014-01-23 20:49:40 +01:00
Ehsan Akhgari
68bfe70f09
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Birunthan Mohanathas
88a0348924
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
2013-12-08 21:52:54 -05:00
Jacek Caban
62a166fdfc
Bug 944427 - Fixed char16_t/wchar_t mismatch in dom/ r=bsmedberg
2013-12-04 13:19:38 +01:00
Ben Kelly
7bd04bd92e
Bug 932418: Don't create and throw away prompt when setting cookie string. r=bz
2013-12-02 12:47:57 -05:00
Chris Kitching
69fdb42135
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Ryan VanderMeulen
4501219603
Backed out 7 changesets (bug 913985) for intermittent Android crashes.
...
Backed out changeset 53513a959cf0 (bug 913985)
Backed out changeset d23d1e678417 (bug 913985)
Backed out changeset a9c9187b4f4a (bug 913985)
Backed out changeset c6b02e4a3e35 (bug 913985)
Backed out changeset 895dae322e3c (bug 913985)
Backed out changeset 3d97e6a53313 (bug 913985)
Backed out changeset 892bb017f8ba (bug 913985)
2013-11-19 10:56:09 -05:00
Chris Kitching
e115439e46
Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Birunthan Mohanathas
1e93f27a06
Bug 784739 - Switch from NULL to nullptr in dom/plugins/base/; r=ehsan
2013-10-23 16:34:30 -04:00
Masatoshi Kimura
78cf6a13fe
Bug 925599 - Introduce version test functions using VerifyVersionInfo(). r=bbondy
2013-10-19 03:14:31 +09:00
Martin Stransky
9dde4832c0
Bug 914607 - Remove MOZ_WIDGET_GTK2. r=karlt
2013-09-23 09:21:35 -04:00
Ehsan Akhgari
d5362ca175
Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky
2013-09-17 12:49:07 -04:00
John Schoenick
11e0b7e632
Bug 860490 - Mark _pluginthreadasynccall calls as safe to re-enter gecko. r=bsmedberg,roc
2013-07-30 13:24:18 -07:00
Bobby Holley
0df174a07e
Bug 899245 - Rename JS_GetGlobalForScopeChain to JS::CurrentGlobalOrNull. r=luke
...
This was done with perl/grep.
2013-07-29 16:45:27 -07:00
Joshua Cranmer
9d0f9fd9af
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
2013-07-11 15:21:45 -05:00
Gabor Krizsanits
9d5f7191e2
Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap
2013-06-21 16:25:20 +02:00
Brad Lassey
41efcc4689
bug 876270 - crash in mozilla::plugins::parent::_getvalue r=snorp
2013-05-28 12:49:04 -04:00
Bobby Holley
e165009bf2
Bug 873698 - Remove JS_GetGlobalObject from plugins. r=gabor
2013-05-22 15:42:44 -06:00
Bobby Holley
c9c266aea9
Bug 868130 - Remove the lion's share of JSAutoRequests in gecko. r=gabor
...
There are still a handful that either are used with other runtimes, or that
happen very early/late in cx the lifetime of various things where it doesn't
necessarily make sense to have a cx on the stack. This should definitely ensure
that we're not doing double-duty with the nsCxPusher change, though.
2013-05-22 10:05:28 -06:00
Bobby Holley
c3247a55cf
Bug 868130 - Include nsCxPusher.h everywhere we need it, and stop including it from nsContentUtils.h. r=gabor
2013-05-22 10:05:26 -06:00
Boris Zbarsky
d0259d836d
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
David Zbarsky
d1e4e2d914
Bug 868312 - Rooting fixes for dom r=bz
2013-05-14 16:25:32 -07:00
David Zbarsky
c9e89d461d
Backed out changeset 3b73e9c7a5d0 for orange
2013-05-14 01:00:11 -07:00
David Zbarsky
d43213e6a5
Bug 868312 - Rooting fixes for dom r=bz
2013-05-14 00:15:53 -07:00
David Zbarsky
82142be8bc
Bug 868312 - Rooting fixes for dom r=bz
2013-05-10 14:22:21 -04:00
Makoto Kato
efb7bf25b2
Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan
2013-05-08 12:40:12 +09:00
Sankha Narayan Guria
b4a935c1df
Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
2013-05-06 09:04:17 -04:00
David Zbarsky
a4d5e39056
Bug 868312: Various dom rooting fixes r=bz
2013-05-04 03:52:57 -04:00
Bobby Holley
18bc49a336
Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor
2013-04-29 11:16:18 -07:00
Nicolas Silva
ee77840a7b
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
2013-04-24 14:42:40 -04:00
Benjamin Smedberg
25966491eb
Bug 418615 - Neuter the code which tries to reframe existing plugin instances when navigator.plugins.refresh(true) is called. Instead, only scan for new plugins, unload unused plugins. The DOM code will continue to refresh the current page which calls navigator.plugins.refresh(true). r=jschoenick sr=bz
2013-04-23 16:02:12 -04:00
Bobby Holley
2c59799176
Bug 860438 - Straightforward cases. r=gabor
2013-04-18 11:36:03 -04:00
Stephen Pohl
fec5ae042d
Bug 860429 - Make NPPVJavascriptPushCallerBool a no-op. r=bsmedberg
2013-04-11 07:48:10 -04:00
Jose Cortes
a961d823b8
Bug 842186 - Replace use of jsval with JS::Value in h and cpp files in the dom/bindings/ dom/plugins/ dom/src/ dom/activities/ directories. r=jwalden
2013-04-02 16:05:37 -07: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
Benoit Girard
ebb6c44887
Bug 673440 - add support for NPNVSupportsCompositingCoreAnimationPluginsBool. r=josh
2011-07-31 13:37:06 -04: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
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
Bobby Holley
edbaddcb05
Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap
2013-02-26 11:04:13 -08: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
Bobby Holley
1712c18669
Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz
2013-01-16 18:50:27 -08:00
Bobby Holley
12a948d258
Bug 824864 - Rename EvaluateStringWithValue to EvaluateString. r=bz
...
Now that there's only one of them, we can get rid of the silly suffix. \o/
2013-01-16 18:50:26 -08:00
Bobby Holley
5c46589e4c
Bug 824864 - Improve the API for EvaluateStringWithValue. r=bz
...
There are a few changes we make here:
1 - Having callers pass JS::CompileOptions directly.
2 - Removing aUndefined, which makes no sense and is unused by consumers.
3 - Making aScopeObject and aRetValue non-optional, via references.
3 - Adding an argument to optionally coerce the return value to a string.
Coercing jsvals to strings is the reason we currently have two nearly-identical
functions, EvaluateString and EvaluateStringWithValue, since the coercion can
trigger arbitrary script and thus needs to be bracketed by all the junk that
nsJSContext does. However, if callers can be guaranteed that the return value
will be a bonafide string, then they can easily extract the string themselves
if they so desire. This will allow us to combine the two functions.
2013-01-16 18:50:26 -08:00
Josh Matthews
3c2753816d
Bug 814247 - Add auth cache jars for separate apps. r=mayhemer
2012-12-05 02:33:20 -05:00
Ed Morley
859dd33a28
Backout 3bcd9a5a33a2 (bug 814247), d9546d42054c & 8b6edf9f6b87 (bug 814638) for failures in test_bug814638.xul and also crashes on a CLOSED TREE
2012-12-19 23:46:07 +00:00
Josh Matthews
2d88328b90
Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg
2012-12-05 02:33:20 -05:00
Ed Morley
40b70b540e
Backout 4faa85ebbbf7 (bug 814247) for build bustage on a CLOSED TREE
2012-12-19 20:20:30 +00:00