Aaron Klotz
a431206af7
Bug 1460022: Part 7 - Update plugin code to work with revised DLL interceptor interface; r=handyman
2018-06-27 11:50:50 -06:00
shindli
3ffa44b530
Backed out 13 changesets (bug 1460022) for bustages in :/build/build/src/mozglue/tests/interceptor/TestDllInterceptor.cpp(113) on a CLOSED TREE
...
Backed out changeset b798c3689bbf (bug 1460022)
Backed out changeset c3b3b854affd (bug 1460022)
Backed out changeset ecb1b6fd3134 (bug 1460022)
Backed out changeset 91fed649dd5a (bug 1460022)
Backed out changeset be7032cddad2 (bug 1460022)
Backed out changeset d4a036b976e6 (bug 1460022)
Backed out changeset 5f3dfde41e38 (bug 1460022)
Backed out changeset a16486a6f685 (bug 1460022)
Backed out changeset 69eacc5c3ab8 (bug 1460022)
Backed out changeset 34aa7c29b31e (bug 1460022)
Backed out changeset 00b20c0a7637 (bug 1460022)
Backed out changeset b8e8aea4a01f (bug 1460022)
Backed out changeset 15822d9848d8 (bug 1460022)
2018-07-04 03:37:11 +03:00
Aaron Klotz
49b5268d97
Bug 1460022: Part 7 - Update plugin code to work with revised DLL interceptor interface; r=handyman
2018-06-27 11:50:50 -06:00
shindli
3c15ba6c22
Backed out 13 changesets (bug 1460022) for bustages in builds/worker/workspace/build/src/dom/plugins/ipc/FunctionHook.h 💯 24 on a CLOSED TREE
...
Backed out changeset 0734142a3f35 (bug 1460022)
Backed out changeset 18fbfa7ca685 (bug 1460022)
Backed out changeset 2df129bd5692 (bug 1460022)
Backed out changeset 02a7ed68933f (bug 1460022)
Backed out changeset 221137d1c2de (bug 1460022)
Backed out changeset 9cb0b7a15402 (bug 1460022)
Backed out changeset 18f8f85c0307 (bug 1460022)
Backed out changeset 867a1351efff (bug 1460022)
Backed out changeset 933e0b698f8e (bug 1460022)
Backed out changeset 09da660071e1 (bug 1460022)
Backed out changeset 8bb5142d3f53 (bug 1460022)
Backed out changeset 0ddf581bdaac (bug 1460022)
Backed out changeset 1cd5f9b4a6af (bug 1460022)
2018-07-04 02:49:24 +03:00
Aaron Klotz
d7876724e5
Bug 1460022: Part 7 - Update plugin code to work with revised DLL interceptor interface; r=handyman
2018-06-27 11:50:50 -06:00
Kyle Machulis
ceb4bf3e68
Bug 1350940 - Label Runnables in dom/plugins; r=bsmedberg
...
MozReview-Commit-ID: DCxeZUj6CEd
2017-03-27 13:35:25 -07:00
Ting-Yu Chou
6aeec55e50
Bug 1322465 part 3 - Use explicit/MOZ_IMPLICIT for the unary constructors in dom/. r=Ehsan
...
MozReview-Commit-ID: GV26INAj3k2
2016-12-16 15:49:53 +08:00
Chris Peterson
efd3e4ebdc
Bug 1317111 - Remove RealPlayer plugin quirk handling. r=mats
2016-11-16 13:44:24 -08:00
Carsten "Tomcat" Book
e8b977693f
Backed out changeset af3eb6a8e0ae (bug 1317111)
2016-11-16 14:50:42 +01:00
Chris Peterson
bac206e3d0
Bug 1317111 - Remove RealPlayer plugin quirk handling. r=mats
...
Delayed stop was only used for RealPlayer and forced reentry was only used by delayed stop (nsStopPluginRunnable).
2016-11-14 22:06:53 -08:00
Chris Peterson
f365e34835
Bug 1317109 - Remove Acrobat plugin quirk handling. r=jimm
2016-11-14 23:37:44 -08:00
Jonathan Watt
9c5b8de022
Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky
2016-06-07 21:10:18 +01:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Birunthan Mohanathas
e95885610b
Bug 1217307 - Remove some unnecessary null checks in rest of dom/. r=njn
2015-11-19 09:13:49 +02: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
Masayuki Nakano
2354eef563
Bug 895274 part.18 Rename NS_PLUGIN_ACTIVATE to ePluginActivate r=smaug
2015-08-29 08:58:28 +09:00
Juan Gomez
89035d527e
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -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
John Schoenick
66f0317645
Bug 1061967 part 2 - Bonus whitespace cleanup. r=bsmedberg
2015-01-30 10:54:19 -05:00
John Schoenick
8be13dbd8b
Bug 1061967 part 1 - Move checking for special-cased plugin types to a central spot. r=bsmedberg
2015-01-30 10:54:19 -05:00
Jim Mathies
a7cd038fe3
Bug 669200 - nsPluginNativeWindow(Gtk/Win) support for content process plugins. Involves disabling some obsolete code and fixing helper calls like CallSetWindow, which no longer have access to native resources. r=blassey
2014-11-12 14:59:20 -06: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
Masayuki Nakano
8c4ece5434
Bug 920377 part.30 Get rid of nsGUIEvent r=roc
2013-10-02 12:46:03 +09:00
Masayuki Nakano
c23797df63
Bug 912956 part.18 Remove nsGUIEvent.h r=roc
2013-09-25 20:21:22 +09:00
Jacek Caban
fecceb176c
Bug 849198 - Merge nsPluginSafety.h into nsNPAPIPluginInstance.h r=roc
2013-03-12 11:34:07 +01: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
Jacek Caban
b82bb752f7
Bug 797316 - Fix -Werror=conversion-null errors in Windows-only code (dom/plugins part) r=joshmoz
2012-10-04 10:31:37 +02: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
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Jim Mathies
35eb8fcaca
Bug 723133 - Protect against recursive calls in nsPluginNativeWindowWin's PluginWndProc. r=bsmedberg
2012-07-02 12:15:17 -05:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Justin Lebar
df6d195f29
Bug 742491 - Use a thread-safe DLL patcher on Windows, when possible. r=glandium
2012-04-10 15:52:56 -04:00
Jim Mathies
b9b940dd8c
Bug 691801 - Fix for nsPluginNativeWindowWin.cpp: 'return' : truncation from 'nsresult' to 'bool'. r=josh
2012-02-08 11:14:43 -06:00
Josh Aas
bbe816bfa8
Bug 690459: Remove usage of PR_TRUE and PR_FALSE from base plugin code. r=jst
2011-09-30 02:02:59 -04:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Jim Mathies
9f3c98440a
Bug 654891 - warning C4509: nonstandard extension used: 'PluginWindowEvent::Run' uses SEH and 'inst' has destructor; r=bsmedberg
2011-09-18 00:58:37 +01:00
Makoto Kato
062ecf8a87
Bug 681924: Plugin container should not hook functions multiple times. no-r, landing as a bustage fix.
2011-09-02 10:22:02 -04:00
Makoto Kato
92a0bf2cba
Bug 606473 - Enable plugin hooks once WindowsDllInterceptor supports 64-bit. r=bsmedberg
2011-07-28 19:06:56 +09:00
Josh Aas
fdde0fa13b
Bug 637253: Remove nsIPluginInstance interface. r=bsmedberg
2011-05-17 21:48:34 -04:00
Ed Morley
ce72bb6d59
Bug 654504 - Remove WinCE code from dom/plugins/base/; r=josh
2011-05-08 19:45:56 +02:00
Jacek Caban
19a96ad62b
Bug 643772 - dom/plugins can't compile on mingw due to implicit function pointer to void* casts r=benjamin
2011-05-02 12:34:14 +00:00
Benjamin Smedberg
8f6641e796
Bug 649558 - Move modules/plugin/base to dom/plugins/base, r=josh
2011-04-26 17:38:43 -04:00