Alastor Wu
eb69386b37
Bug 1228564 - part 1 : revert the changeset of bug 1190040. r=baku.
2015-12-24 17:17:30 +08:00
Kyle Machulis
5207dff8f6
Bug 1221448 - Leak instead of crashing on off-main-thread NPAPI _releaseobject; r=jandem r=jst r=bsmedberg
2015-12-09 07:59:39 -08:00
David Anderson
4686122c82
Revive NPAPI async drawing: stub code. (bug 1217665 part 1, r=aklotz)
2015-12-02 11:31:16 -08:00
Jan de Mooij
af31342c5b
Bug 1125423 part 1 - Attach WindowProxies to globals instead of using innerObject/outerObject hooks. r=bz,luke
2015-11-06 19:03:51 +01:00
Chris Peterson
8590cf3850
Bug 1217726 - Fix -Wimplicit-fallthrough warnings in dom/plugins. r=jimm
...
dom/plugins/base/nsNPAPIPlugin.cpp:1974:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/plugins/base/nsNPAPIPlugin.cpp:2200:3 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
dom/plugins/ipc/PluginInstanceChild.cpp:507:5 [-Wimplicit-fallthrough] unannotated fall-through between switch labels
2015-10-06 21:20:20 -07:00
Nathan Froyd
4e6d8f6705
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Andrea Marchesini
a2dadd1e73
Bug 1211511 - AudioChannelAgent::NotifyStartedPlaying and NotifyStoppedPlaying should use the same level of playback notification, r=roc
2015-10-07 20:06:47 +01:00
Aaron Klotz
c473d5659d
Bug 1194488: Whitelist specific plugins for async init; r=jimm
2015-08-31 17:04:25 -06:00
Benjamin Smedberg
51ddd45d98
Bug 1200361 - Back out parts of bug 1194780 so that Android can still run plugins in-process, but no other platforms will. r=jimm
2015-08-31 16:51:19 -04:00
Jan de Mooij
1b3084243c
Bug 1140616 - Crash when _releaseobject is called on the wrong thread. r=bsmedberg
2015-08-25 13:11:41 +02:00
Benjamin Smedberg
9ec0dae82a
Bug 1090864 part A - remove nsNPAPIPlugin::RunPluginOOP and unused code paths, r=jimm
2015-08-14 13:22:06 -04:00
Chris Peterson
e5897880d7
Bug 554171 - Add plugin thread checks to functions that must only be called on the main thread. r=jimm
2015-07-17 00:17:09 -07:00
Chris Peterson
899c73c86e
Bug 1194955 - Fix -Wunreachable-code warnings in dom/ipc and dom/plugins. r=jimm
2015-05-31 19:39:16 -07:00
Ehsan Akhgari
3b3c24f689
Bug 1190040 - Part 2: Teach the audio channel service how to not notify audio-playback, and do that when a media element has no audio track; r=padenot
2015-08-06 10:26:27 -04:00
Andrea Marchesini
9deb1d22c3
Bug 1167690 - Part 2: Integrate plugins which support the NPAPI audio extensions with the Audio Channel Service; r=BenWa
2015-07-29 08:26:42 -04:00
Benoit Girard
597fda6c6e
Bug 1167690 - Part 1: Hook up NPPVpluginIsPlayingAudio to the plugin process; r=josh
2015-07-29 08:26:40 -04:00
Boris Zbarsky
2a2c0c82aa
Bug 1181619. Make sure we've entered a microtask before we call nsJSUtils::EvaluateString, and put those microtasks outside the relevant AutoEntryScripts so we report any possible exceptions before doing the microtask checkpoint. r=bholley
2015-07-09 02:41:43 -04:00
Emanuel Hoogeveen
b30abdc582
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Juan Gomez
89035d527e
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Andrew McCreight
ad1470555c
Bug 958641 - De-holder nsIXPConnect::WrapNative. r=gabor
2015-07-01 11:17:17 -07:00
Terrence Cole
88f9bc5932
Bug 1178581 - Interning does not and should not imply infinite lifetime; r=sfink
2015-06-30 07:58:31 -07:00
Ryan VanderMeulen
7aba9d7002
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Chris Peterson
8c77629af9
Bug 554186 - Part 1: Unimplement NPN_Status API. r=josh
2015-06-13 22:50:03 -07:00
Boris Zbarsky
bb95d810cc
Bug 1174486 part 4. Stop reporting exceptions in nsJSUtils::EvaluateString and have its consumers use AutoJSAPIs that take ownership of error reporting instead. r=bholley
2015-06-15 20:11:06 -04:00
Andrew Comminos
48322430f2
Bug 1167720 - Fix invalid window ID provided to GTK3 plugin container children. r=karlt
2015-05-27 12:03:00 -04:00
Eric Rahm
5b59cf4e0b
Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj
2015-05-21 13:22:04 -07:00
Mike Hommey
4d93988786
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Jim Blandy
f94dd3b1df
Bug 1152577: Add 'aReason' argument to AutoEntryScript constructor, and provide plausible names for its instantiations. r=bholley
2015-04-08 21:23:48 -04:00
Mike Hommey
338d086ead
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
3322287d49
Merge inbound to m-c. a=merge
...
CLOSED TREE
2015-02-10 16:03:15 -05:00
Steven Michaud
32fbb0965d
Bug 1129267 - Fix by backing out patch for bug 1118615. r=mstange
2015-02-09 12:10:33 -06:00
Nicholas Nethercote
0247de46d8
Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
2015-02-09 14:34:50 -08:00
Andrew McCreight
e048a7df33
Back out Bug 1127201 (part 2) for various problems.
2015-02-06 15:04:32 -08:00
Nicholas Nethercote
40ab0270d5
Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
2015-02-04 20:05:36 -08:00
Steven Michaud
2ef6065cf5
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
d0aeab7de5
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
60b2a7d4b1
Bug 1116589 - Use templated JNI classes in generated bindings; r=snorp
2015-01-09 19:33:57 -05:00
Botond Ballo
1500be66e4
Bug 1073081 - Fix -Wunused-result, -Wunused-variable, and -Wunused-but-set-variable warnings. r=ehsan
2014-11-26 18:13:49 -05:00
Benjamin Smedberg
c5bf7a3d77
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
2014-12-12 10:19:06 -05:00
Jim Mathies
7f927ec914
Bug 874167 - Enable java plugins with e10s on Windows. r=billm
2014-12-12 12:24:24 -06:00
Josh Aas
974e19a35e
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
f1881a7198
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
7061e6eaa0
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
46dd65d1e0
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
864665b3b1
Bug 1072528. Part 1: Remove plugin-related code. r=bsmedberg
2014-09-24 16:35:00 -04:00
John Schoenick
af692ed5f7
Bug 1062469 - Don't leak pluginLib in nsNPAPIPlugin error path. r=bsmedberg
2014-09-03 11:55:30 -07:00
John Schoenick
7e3da9d103
Bug 1062469 - Remove obsolete OOM check in nsNPAPIPlugin. r=bsmedberg
2014-09-03 11:55:30 -07:00
John Schoenick
3d1eb6cf7f
Bug 1062469 - Trailing whitespace plague in nsNPAPIPlugin. r=bsmedberg
2014-09-03 11:55:30 -07:00
Bobby Holley
b2b763cb29
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00