Mike Hommey
b077d9624d
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Ryan VanderMeulen
74f80ff51c
Merge inbound to m-c. a=merge
...
CLOSED TREE
2015-02-10 16:03:15 -05:00
Steven Michaud
46ad522230
Bug 1129267 - Fix by backing out patch for bug 1118615. r=mstange
2015-02-09 12:10:33 -06:00
Nicholas Nethercote
242708cf72
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
d3826daa16
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
d34f0301b8
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
...
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
Steven Michaud
dfd77a0897
Bug 1118615 - Flash hangs in HiDPI mode on OS X running peopleroulette app, fix comments. r=fix-comments
2015-01-21 14:45:05 -06:00
Steven Michaud
a25a7a3cb8
Bug 1118615 - Flash hangs displaying a camera/microphone access dialog in HiDPI mode, workaround. r=mstange
2015-01-16 12:16:44 -06:00
Jim Chen
db34c64f29
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
Botond Ballo
870235958c
Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
...
--HG--
extra : source : a1ac7acfcf14207706eca29be3a20c576c8fae06
2014-11-26 18:13:49 -05:00
Benjamin Smedberg
6ddc077746
Bug 1108035 - Add a preference that allows us to disable Flash protected mode from within Firefox. We do this by hooking CreateFileW and replacing the Flash config file with our own. r=aklotz
...
--HG--
extra : rebase_source : 929cb9acf53f7aa761d202b660dbfc39020bac74
2014-12-12 10:19:06 -05:00
Jim Mathies
57bb068631
Bug 874167 - Enable java plugins with e10s on Windows. r=billm
2014-12-12 12:24:24 -06:00
Josh Aas
f9e3926e19
Bug 1092630: Get rid of native widgets for OS X NPAPI plugins, make things work much better under e10s. Patch by Josh Aas, Markus Stange, Steven Michaud, David Parks. r=smichaud/jst/josh (more reviews pending)
2014-12-11 08:44:07 -06:00
Boris Zbarsky
e25768cbf9
Bug 1095660 part 5. Change nsJSUtils::EvaluateString to take an explicit scope chain. r=bholley
2014-11-12 17:04:29 -05:00
Bill McCloskey
69446aded5
Bug 641685 - Start plugins from the chrome process in e10s (r=bsmedberg)
...
This patch has a few side effects:
1. Plugins in the chrome process are "mirrored" to all content processes,
although this mirroring is currently imperfect (bug 1090576
)
2. Plugins are no longer sorted by modification date in nsPluginHost.
3. Plugin exceptions are no longer propagated to JS code. They are ignored.
2014-10-29 08:05:36 -07:00
Chris Peterson
0a433c81f2
Bug 1081010 - Part 2: Fix -Wswitch warnings in dom/plugins and enable -Werror=switch warning-as-error. r=bsmedberg
2014-10-08 21:28:00 -07:00
Robert O'Callahan
3a81f050e7
Bug 1072528. Part 1: Remove plugin-related code. r=bsmedberg
2014-09-24 16:35:00 -04:00
John Schoenick
1cceafe5ea
Bug 1062469 - Don't leak pluginLib in nsNPAPIPlugin error path. r=bsmedberg
2014-09-03 11:55:30 -07:00
John Schoenick
2b708d8e97
Bug 1062469 - Remove obsolete OOM check in nsNPAPIPlugin. r=bsmedberg
2014-09-03 11:55:30 -07:00
John Schoenick
9fde860649
Bug 1062469 - Trailing whitespace plague in nsNPAPIPlugin. r=bsmedberg
2014-09-03 11:55:30 -07:00
Bobby Holley
e70ddb7476
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00
Ryan VanderMeulen
30ae466592
Backed out changesets 5b1a3161f614, 17a9673ed782, and a9b8c346d295 (bug 1052052) for B2G non-unified bustage.
2014-08-14 17:23:10 -04:00
Bobby Holley
3e4d70a655
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 12:54:34 -07:00
Bob Owen
99761ed48b
Bug 1042798 - Use an AutoEntryScript in nsNPAPIPlugin _evaluate as we are about to run script and need to ensure the correct JSContext* gets pushed. r=bholley
2014-07-28 09:27:23 +01:00
Jan de Mooij
2a7ce8f885
Bug 1034689
part 2 - Add AssignJSFlatString and use it. r=bz,terrence
2014-07-12 09:43:06 +02:00
Bob Owen
e7ac0d1af4
Bug 1029494 Part 5: Replace AutoPushJSContext in nsNPAPIPlugin _getpluginelement. r=bholley
2014-06-26 12:08:49 +01:00
Emilio Pozuelo Monfort
c04804c9dc
Bug 624422 - Force OOP plugins on GTK3. r=karlt
2014-05-01 13:25:34 +02:00
snigdha
9cc482da68
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-04-01 08:29:25 -04:00
Jon Coppeard
fb6ccb11db
Bug 959787 - Handlify JS_ExecuteScript and JS::Evaluate APIs r=terrence r=bz
2014-04-01 11:34:39 +01:00
Bob Owen
8488284f48
Bug 978042 - Part 6: AutoPushJSContext in nsNPAPIPlugin.cpp _evaluate. r=bholley
2014-03-09 18:35:52 +00:00
Kyle Huey
fe6c4e28d6
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
Ryan VanderMeulen
0d7b59001e
Backed out changeset 6f05267b4afc (bug 798033) for Android bustage.
2014-03-05 09:55:52 -05:00
snigdha
a441998156
Bug 798033 - Headers should generally not do "using namespace" at file scope. r=jib, r=jmathies, r=rjesup, r=ekr, r=ncameron, r=blassey
2014-03-05 08:47:45 -05:00
Ehsan Akhgari
d91d200572
Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg
2014-02-10 17:57:01 -05:00
Tom Schuster
e70cfb587b
Bug 961490 - Some cleaner rooting in NPAPI _eval. r=terrence,bsmedberg
2014-01-23 20:49:40 +01:00
Ehsan Akhgari
1b83407ce9
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
3440613a39
Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
...
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Jacek Caban
0159728ca5
Bug 944427 - Fixed char16_t/wchar_t mismatch in dom/ r=bsmedberg
2013-12-04 13:19:38 +01:00
Ben Kelly
4de61de388
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
36c7d139c0
Bug 913985: Part 5 - Refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Ryan VanderMeulen
2c440594a5
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)
--HG--
rename : build/annotationProcessors/AnnotationInfo.java => build/annotationProcessors/MethodWithAnnotationInfo.java
rename : build/annotationProcessors/utils/AlphabeticAnnotatableEntityComparator.java => build/annotationProcessors/utils/AlphabeticMethodComparator.java
rename : build/annotationProcessors/utils/GeneratableElementIterator.java => build/annotationProcessors/utils/GeneratableEntryPointIterator.java
rename : mobile/android/base/mozglue/generatorannotations/WrapElementForJNI.java => mobile/android/base/mozglue/GeneratableAndroidBridgeTarget.java
rename : mobile/android/base/mozglue/generatorannotations/OptionalGeneratedParameter.java => mobile/android/base/mozglue/OptionalGeneratedParameter.java
2013-11-19 10:56:09 -05:00
Chris Kitching
c4e86cb63e
Bug 913985 - Part 5: refactor the Bridge to use the generated code. r=kats
2013-11-12 10:41:01 -08:00
Birunthan Mohanathas
214bd6ec96
Bug 784739 - Switch from NULL to nullptr in dom/plugins/base/; r=ehsan
...
--HG--
extra : rebase_source : 827cf2bb75601a723a64593fca5c0cf6632c959c
2013-10-23 16:34:30 -04:00
Masatoshi Kimura
571b0da3ca
Bug 925599 - Introduce version test functions using VerifyVersionInfo(). r=bbondy
2013-10-19 03:14:31 +09:00
Martin Stransky
158c3250f0
Bug 914607 - Remove MOZ_WIDGET_GTK2. r=karlt
2013-09-23 09:21:35 -04:00
Ehsan Akhgari
c88ae238ac
Bug 917299 - Remove some dead code in content/ and dom/; r=bzbarsky
2013-09-17 12:49:07 -04:00
John Schoenick
00aecfde81
Bug 860490 - Mark _pluginthreadasynccall calls as safe to re-enter gecko. r=bsmedberg,roc
2013-07-30 13:24:18 -07:00
Bobby Holley
98a0425f0f
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
b82a7849fb
Bug 884061 - Part 4: Remove nsAtomicRefcnt.h, r=jlebar
...
--HG--
extra : rebase_source : ce24ab345baa48104328e3c101b7266a31e81870
2013-07-11 15:21:45 -05:00
Gabor Krizsanits
76bbeec56b
Bug 864335 - Remove GetScriptGlobalObject. r=mrbkap
2013-06-21 16:25:20 +02:00
Brad Lassey
50fd8cc611
bug 876270 - crash in mozilla::plugins::parent::_getvalue r=snorp
2013-05-28 12:49:04 -04:00
Bobby Holley
42f8d15991
Bug 873698 - Remove JS_GetGlobalObject from plugins. r=gabor
2013-05-22 15:42:44 -06:00
Bobby Holley
f2943090bd
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
cdde50556c
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
dbe1f3da32
Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley
2013-05-20 08:44:18 -04:00
David Zbarsky
bf7a4693fd
Bug 868312 - Rooting fixes for dom r=bz
2013-05-14 16:25:32 -07:00
David Zbarsky
8e335194cb
Backed out changeset 3b73e9c7a5d0 for orange
2013-05-14 01:00:11 -07:00
David Zbarsky
90f74823e7
Bug 868312 - Rooting fixes for dom r=bz
2013-05-14 00:15:53 -07:00
David Zbarsky
480bf64980
Bug 868312 - Rooting fixes for dom r=bz
2013-05-10 14:22:21 -04:00
Makoto Kato
eada8e34f0
Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan
2013-05-08 12:40:12 +09:00
Sankha Narayan Guria
754efdf384
Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley
2013-05-06 09:04:17 -04:00
David Zbarsky
b7033dea1a
Bug 868312: Various dom rooting fixes r=bz
2013-05-04 03:52:57 -04:00
Bobby Holley
7e45dcce35
Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor
2013-04-29 11:16:18 -07:00
Nicolas Silva
a1ee3bf807
Bug 863324 - Rename PLayers into PLayerTransaction, r=jrmuizel
...
--HG--
rename : gfx/layers/ipc/ShadowLayersChild.cpp => gfx/layers/ipc/LayerTransactionChild.cpp
rename : gfx/layers/ipc/ShadowLayersChild.h => gfx/layers/ipc/LayerTransactionChild.h
rename : gfx/layers/ipc/ShadowLayersParent.cpp => gfx/layers/ipc/LayerTransactionParent.cpp
rename : gfx/layers/ipc/ShadowLayersParent.h => gfx/layers/ipc/LayerTransactionParent.h
rename : gfx/layers/ipc/PLayers.ipdl => gfx/layers/ipc/PLayerTransaction.ipdl
2013-04-24 14:42:40 -04:00
Benjamin Smedberg
108e062a3e
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
cfe137c733
Bug 860438 - Straightforward cases. r=gabor
2013-04-18 11:36:03 -04:00
Stephen Pohl
dff180a146
Bug 860429 - Make NPPVJavascriptPushCallerBool a no-op. r=bsmedberg
2013-04-11 07:48:10 -04:00
Jose Cortes
7b76878f61
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
...
--HG--
extra : rebase_source : 2757a7ab265153fa4c769a69a4947b9258e4413e
2013-04-02 16:05:37 -07:00
Johnny Stenback
f6a0f19796
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
116352d107
Bug 849198 - Merge nsPluginSafety.h into nsNPAPIPluginInstance.h r=roc
...
--HG--
extra : rebase_source : b5e71211edce0b30f92033010d47b9a303f2c3bf
2013-03-12 11:34:07 +01:00
James Willcox
961bcd2b47
Bug 837114 - Don't leak Flash shared objects while private browsing on Android r=bsmedberg
...
--HG--
extra : rebase_source : 68a58f6338d375093f5908a8c13fef7888c24462
2013-03-04 13:18:20 -05:00
Benoit Girard
52171e309d
Bug 673440 - add support for NPNVSupportsCompositingCoreAnimationPluginsBool. r=josh
2011-07-31 13:37:06 -04:00
Robert O'Callahan
03283f8b15
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.
--HG--
rename : toolkit/modules/Timer.jsm => browser/devtools/shared/Browser.jsm
rename : toolkit/modules/tests/xpcshell/test_timer.js => browser/devtools/shared/test/browser_browser_basic.js
rename : build/mach_bootstrap.py => mach
extra : rebase_source : b83c1d09313bff62357eaa931eced0f72f838493
2013-02-28 00:50:27 +13:00
Ed Morley
260d9da13c
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
5d1fd00ffe
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.
--HG--
extra : rebase_source : 0730f41c9158c868ed4ffcba74ff77abbfebc2cd
2013-02-28 00:50:27 +13:00
Bobby Holley
7b9176007d
Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap
2013-02-26 11:04:13 -08:00
James Willcox
3989b37208
Bug 800838 - Guard against invalid NPP when unscheduling plugin timers on Android r=blassey
2013-01-23 09:16:26 -05:00
Bobby Holley
9fce3b092f
Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz
2013-01-16 18:50:27 -08:00
Bobby Holley
5515799556
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
a14609b21a
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
fbf5889d74
Bug 814247 - Add auth cache jars for separate apps. r=mayhemer
2012-12-05 02:33:20 -05:00
Ed Morley
c9fbc69d96
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
f3cffe3040
Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg
2012-12-05 02:33:20 -05:00
Ed Morley
04df34db2b
Backout 4faa85ebbbf7 (bug 814247) for build bustage on a CLOSED TREE
2012-12-19 20:20:30 +00:00
Josh Matthews
709ee1417f
Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg
2012-12-05 02:33:20 -05:00
Bobby Holley
be465ba470
Bug 820666 - Tag XBL script for <field> elements and child scripts. r=jorendorff
2012-12-12 17:09:37 -08:00
Robert O'Callahan
bff2be0517
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
...
--HG--
extra : rebase_source : 2ddabda92acc1364d3c24cf20f7d45896ac09849
2012-12-07 12:58:14 +13:00
Josh Matthews
2b9102e38b
Bug 722850 - Part 4: Make plugins provide the channel of the owning document when manipulating cookies. r=bsmedberg
2012-11-16 16:40:22 +00:00
Ed Morley
fd965f5f0b
Backout 7a0fe388a24b, 2a9fbd15cad4, 320c1567e431 & d907ac7bf669 (bug 722850) for xpcshell & browser-chrome failures
2012-11-16 14:18:41 +00:00
Josh Matthews
f9972cffe7
Bug 722850 - Part 4: Make plugins provide the channel of the owning document when manipulating cookies. r=bsmedberg
2012-11-16 12:32:57 +00:00
Josh Matthews
7fec23aef0
Bug 769283 - Add a separate HTTP auth cache for private channels. r=mayhemer
2012-10-29 16:20:03 -04:00
Josh Aas
1f16e46c3e
Bug 598397: Remove support for Carbon NPAPI. r=smichaud
2012-10-15 08:38:34 -04:00
Nathan Froyd
dd427057c4
Bug 798573 - remove prtypes.h #includes in dom/; r=ehsan
2012-10-05 17:28:24 -04:00
Jacek Caban
227413bab8
Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (dom/plugins part) r=joshmoz
...
--HG--
extra : rebase_source : c62bc730aa7c1d4f8c00c41b3e5d21b1a6f59604
2012-10-04 10:31:37 +02:00
Josh Aas
5c8036aa52
Bug 797100: Replace internal usage of nsIPluginInstanceOwner with nsPluginInstanceOwner. r=jst
2012-10-02 22:43:18 -04:00
Steven Michaud
144130a844
Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard
2012-10-02 14:48:05 -05:00
Alexander Surkov
faae05f1a0
Bug 785047 - force disable oop when JAWS is running, r=joshmoz
2012-10-02 22:24:51 +09:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Santtu Lakkala
96053589c9
Bug 790198 - Cleanup local JNI references in Android plugins r=snorp
2012-09-11 05:19:00 -04:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00