Граф коммитов

272 Коммитов

Автор SHA1 Сообщение Дата
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
Josh Aas b5fd385545 Bug 598401: Remove support for the Quickdraw NPAPI drawing model. r=smichaud 2012-08-30 15:10:55 -04:00
Ehsan Akhgari e368dc9c85 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 0722990c72 Bug 782605 - Make nsNPAPIPluginInstance::SetCached infallible; r=roc 2012-08-14 12:10:42 +03:00
Aryeh Gregor 719dcb2097 Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Ms2ger 94bf1722ed Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Aryeh Gregor 24ee8099d6 Bug 777292 - dom/plugins/: Fix incorrect conversions to nsresult; r=roc 2012-07-30 12:24:36 +03:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brian R. Bondy 21c143f097 Bug 774140 - Remove code duplication for IsVistaOrLater. r=bsmedberg 2012-07-25 10:23:26 -04:00
Aryeh Gregor 65eef91085 Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan 2012-07-20 14:16:17 +03:00
Benjamin Smedberg e1307ad204 Bug 769721 - Minimal patch to force OOPP mode on for Windows Vista+ users, because Flash is not tested with the IPP configuration and has known bugs, r=josh 2012-07-03 17:04:45 -04:00
David Zbarsky d2ee12f6f9 Bug 763350 - Clean up some includes in content/ and dom/ r=smaug 2012-07-01 16:45:59 -07:00
Martin Stransky ac4d102d0d Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-27 20:15:32 -04:00
Ryan VanderMeulen 6f685e76ee Backout a07e9d98a7c6 (Bug 627699) due to build bustage. 2012-06-21 20:56:10 -04:00
Martin Stransky 03573fa79c Bug 627699 - Port GTK2 to GTK3, dom patch. r=karlt 2012-06-21 20:44:38 -04:00
Josh Aas dbf22cebd6 Bug 758227: NPAPI plugin stream decomtamination: nsIPluginStreamInfo. r=bsmedberg 2012-06-05 09:58:39 -04:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Josh Aas 62d2079eb1 Bug 240131: Clarify NPStream ownership. r=jst 2012-05-19 00:33:24 -04:00
Josh Aas f7c5afd9de Bug 755961: Plugin stream decomtamination (nsIPluginStreamListener). r=bsmedberg 2012-05-17 19:54:26 -04:00
Ms2ger a147767a14 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-05-05 11:00:05 +02:00
Ehsan Akhgari 439e8cf6e7 Bug 748752 - nsNPAPIPlugin check for private browsing value will not work; r=josh 2012-04-25 11:56:40 -04:00
Josh Matthews 41fef8988a Bug 722942 - Obtain private browsing status from document of plugin owner, and watch private mode transitions on a per-instance basis. r=josh 2012-04-24 00:49:25 -04:00
Ms2ger 77ca860259 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger 5a2d0a8476 Bug 741245 - Remove nsresult return value from nsXPConnect::GetSafeJSContext(); r=bholley 2012-04-14 15:05:01 +02:00
Daniel Holbert 139b2d17d4 Bug 743785: Remove no-longer-used variable 'javaIsEnabled' from nsNPAPIPlugin.cpp. r=josh 2012-04-09 13:36:23 -07:00
Masayuki Nakano 0ce6ee8924 Bug 668157 part.2 mozilla/dom should use mozilla::Preferences r=jst 2012-04-04 13:09:20 +09:00
Josh Aas 7517eb77e4 Bug 740217: Simplify plugin instance object creation. r=bsmedberg 2012-03-30 12:52:43 -04:00
Oleg Romashin 84a412fcae Bug 703155 - Port Mozilla Qt to Qt5. r=mark.finkle,mh+mozilla,dougt 2012-03-22 16:24:40 -07:00
Ginn Chen 29c2d84da6 Bug 731917 prevent plugins from corrupting the stack by making word-size stores to pointers to bool r=karlt 2012-03-02 14:17:26 +08:00
Bas Schouten 048a0c15c9 Bug 651192 - Part 4: Allow setting different drawing models across all platforms. r=roc 2012-02-16 04:24:38 +01:00
Bas Schouten 2f6f4e3404 Bug 651192 - Part 2: Update interface and stub implementors which don't have support. r=roc 2012-02-16 04:08:41 +01:00
Masatoshi Kimura 651eabedd7 Bug 699247 - Remove Win2K related code. r=jimm, sr=neil 2012-02-23 08:53:55 -06:00
Josh Aas 15f1a5735a Bug 729135: Fix virtual function warnings in core plugin code. r=bsmedberg 2012-02-22 00:19:27 -05:00
Ms2ger 841a2bda7d Bug 718287 - Remove plugins ForceRedraw functions; r=bz 2012-02-10 11:04:45 +01:00
James Willcox de86b5b89d Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Boris Zbarsky 641cc99143 Backed out changeset e57ddd9fdd5e (bug 721741) because it breaks Android builds. 2012-01-31 23:38:35 -05:00
James Willcox 8d27955326 Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Ed Morley 17bc951b28 Backout b87113ff33ff (bug 721741) for Android build failures 2012-01-31 16:19:00 +00:00
James Willcox ee323c2710 Bug 721741 - Add support for Flash on Android 4.0+ r=blassey 2012-01-31 09:40:58 -05:00
Doug Turner b7f10b6344 Bug 713803 - Rationalize JNI access accross android widget. r=blassey 2012-01-29 12:39:30 -08:00
Phil Ringnalda 47f54cc3f1 Back out 59d8d92f9f3c (bug 713803) for Android C1 permaorange 2012-01-29 00:49:02 -08:00
Doug Turner b5116372c8 Bug 713803 - Rationalize JNI access accross android widget. r=blassey 2012-01-28 22:38:02 -08:00
Bas Schouten 38f797fcf5 Bug 710511: Rename DrawingModel to ANPDrawingModel r=snorp 2012-01-17 23:45:06 +01:00
Ms2ger 776fd33214 Bug 332648 - Part e: Move AutoArrayRooter to jsapi.h; r=evilpie 2012-01-11 09:23:09 +01:00
Benoit Girard b854f5928c Bug 711564 - Disable ICA/CA Plug-in drawing model on 10.5 because of instability. r=smichaud
--HG--
extra : rebase_source : e204fd8058110d7fbefec1160013185dffc08132
2012-01-09 19:11:04 -05:00
Ms2ger ad06bbd6a9 Bug 709516 - Remove unused _tostring from nsNPAPIPlugin.cpp; r=josh a=removal 2011-12-14 10:13:36 +00:00
Ms2ger d8a3105318 Bug 698378 - Give nsIScriptContext::EvaluateStringWithValue a JSObject* scope parameter; r=peterv 2011-11-16 08:50:19 +01:00
Steven Michaud 9a9b627fcd Bug 700835 - Restore plugin caching to work around bad crash bug in latest Apple Java updates. r=josh 2011-11-11 19:10:31 -06:00
Michael Wu 5dd6a67845 Bug 694206 - Add Gonk (B2G) widget backend, r=cjones 2011-11-10 16:17:46 -08:00
Steven Michaud e7fcaffff2 Bug 687610 - QuickTime can't play media from the network cache when running OOP. r=bsmedberg 2011-10-19 09:46:24 -05:00
Jeff Walden b5e57820bf Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden d0532c3e95 Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail 2011-10-12 12:21:53 -07:00
Jeff Walden 0f30b277bf Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Brian Hackett c632b70b2b Remove jsobj.h from installed headers, bug 690943. r=luke 2011-10-04 07:06:54 -07:00