Commit Graph

753 Commits

Author SHA1 Message Date
Boris Zbarsky
85b06d58a3 Bug 873735 part 2. Change nsIXPConnectJSObjectHolder::GetJSObject to return a JSObject*. r=bholley 2013-05-20 08:44:18 -04:00
David Keeler
a732d565d0 bug 866390 - add plugin.default.state pref r=bsmedberg 2013-05-15 13:30:40 -07:00
Ted Mielczarek
110919af49 bug 871712 - make MSVC PGO opt-in per-directory, and opt-in in the directories that matter. r=glandium 2013-05-16 09:33:26 -04:00
David Zbarsky
c0c90ea117 Bug 868312 - Rooting fixes for dom r=bz 2013-05-14 16:25:32 -07:00
David Zbarsky
26b3b1eb0d Backed out changeset 3b73e9c7a5d0 for orange 2013-05-14 01:00:11 -07:00
David Zbarsky
7d9610a584 Bug 868312 - Rooting fixes for dom r=bz 2013-05-14 00:15:53 -07:00
David Zbarsky
ae680f2b5f Bug 868312 - Rooting fixes for dom r=bz 2013-05-10 14:22:21 -04:00
Terrence Cole
cd1aec056b Bug 777548 - Make non-cc-participant tracing indirect; r=smaug,billm,jst 2013-03-28 13:37:22 -07:00
Makoto Kato
1b05ebca12 Bug 800220 - Part 3. Add null check to avoid strlen(nullptr). r=ehsan 2013-05-08 12:47:33 +09:00
Makoto Kato
80436162a3 Bug 800220 - Part 1. Replace PL_strlen with strlen. r=ehsan 2013-05-08 12:40:12 +09:00
Sumedh Shekhar
427e7549ee Bug 804742 - EnsureStringLength doesn't work. f=Ms2ger, r=ehsan 2013-05-08 00:52:52 +09:00
Sankha Narayan Guria
7f0c4baace Bug 867414 - Rename SafeAutoJSContext to AutoSafeJSContext. r=bholley 2013-05-06 09:04:17 -04:00
David Zbarsky
d4b3d0a59f Bug 868312: Various dom rooting fixes r=bz 2013-05-04 03:52:57 -04:00
Steve Fink
5637b7f42d Bug 866432 - Replace AutoValueRooter with JS::Rooted<JS::Value> in gecko. r=smaug
--HG--
extra : rebase_source : 0897fc8f3968619185b754e13ca6119cb1c0f46d
2013-04-26 21:08:15 -07:00
Terrence Cole
e417ffe01a Bug 860050 - Remove JSMutableHandleObject typedef; r=bz,jonco 2013-04-16 16:20:44 -07:00
Bobby Holley
8490fc8be1 Bug 865729 - Remove nsIJSContextStack from dom/foo. r=gabor 2013-04-29 11:16:18 -07:00
Aryeh Gregor
659b807986 Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger 2013-04-22 14:15:59 +03:00
Jeff Gilbert
1eda226668 Bug 863477 - Use SurfaceCaps::Any() for CreateOffscreen for GLContexts for NPAPI plugins. r=cpeterson 2013-04-25 09:35:50 -07:00
David Keeler
13412b2b0b bug 549697 - add click-to-play plugin UI to the addon manager r=unfocused r=jaws
--HG--
rename : browser/base/content/test/test_bug787619.html => browser/base/content/test/browser_bug787619.js
rename : browser/base/content/test/test_bug787619.html => browser/base/content/test/plugin_bug787619.html
2013-04-23 16:21:22 -07:00
Nicolas Silva
391cf268bb 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
John Schoenick
04af22695a Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-23 13:21:28 -07:00
Benjamin Smedberg
26319382a7 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
Ehsan Akhgari
8d3203e0f8 Backed out changeset fdaa0659fe13 (bug 863324) because of build bustage on a CLOSED TREE
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 18:12:15 -04:00
John Schoenick
9221431f8e Backout e3eaea876a18, 3aaf738a04d8, and 43d1b14e8920 (Bug 854082) for orange on a CLOSED TREE 2013-04-22 14:58:15 -07:00
Nicolas Silva
ab0ca9312a 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-22 22:51:11 -04:00
John Schoenick
6b517509a0 Bug 854082 - Cleanup plugin frame ownership, prevent losing our frame due to re-entrance. r=bsmedberg 2013-04-22 13:20:59 -07:00
Ryan VanderMeulen
25f1906153 Backed out changeset ddf944cc292d (bug 863324) for Android bustage on a CLOSED TREE.
--HG--
rename : gfx/layers/ipc/PLayerTransaction.ipdl => gfx/layers/ipc/PLayers.ipdl
rename : gfx/layers/ipc/LayerTransactionChild.cpp => gfx/layers/ipc/ShadowLayersChild.cpp
rename : gfx/layers/ipc/LayerTransactionChild.h => gfx/layers/ipc/ShadowLayersChild.h
rename : gfx/layers/ipc/LayerTransactionParent.cpp => gfx/layers/ipc/ShadowLayersParent.cpp
rename : gfx/layers/ipc/LayerTransactionParent.h => gfx/layers/ipc/ShadowLayersParent.h
2013-04-22 14:47:16 -04:00
Nicolas Silva
3b0ce69477 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-22 18:07:48 -04:00
David Zbarsky
204a17f3b2 [Bug 857884] Use dom::EventTarget more instead of nsIDOMEventTarget Part 7 r=Ms2ger 2013-04-21 21:25:28 -04:00
David Zbarsky
a8131c4c91 Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-19 18:18:32 -04:00
Bobby Holley
f7383de1b3 Bug 860438 - Remove plugin-specific cx pusher. r=bsmedberg
The old code does two little bits of special sauce that are worth mentioning:

1 - It calls OnWrapper{Created,Destroyed} to maintain the lifetime of the
    addref'd context stack pointer. But that whole thing is gone now.

2 - It calls ScriptEvaluated to potentially invoke termination functions in
    certain cases. nsCxPusher does this too, but with slightly different logic.
    In particular, nsCxPusher checks whether the given JSContext was already
    on the stack, whereas AutoCXPusher checked whether there was another cx on
    the stack above this one. As far as I can tell from my investigations of
    this stuff, this is all total voodoo, and I think it should probably be fine
    to just use an nsCxPusher here.

Also, termination functions are going away soon in bug 841312.
2013-04-18 11:36:04 -04:00
Bobby Holley
629d0d4121 Bug 860438 - Straightforward cases. r=gabor 2013-04-18 11:36:03 -04:00
Matt Woodrow
cadfb117ea Bug 844693 - Remove MacIOSurfaceImage::SetUpdateCallback. r=BenWa 2013-04-17 14:21:06 +12:00
Mike Shal
77cdb6567d Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey 2013-04-16 15:24:43 -04:00
Jeff Walden
f9d3bc73ed Bug 858677 - Fix up code not built by SpiderMonkey to use the newly-changed deletion signatures. r=bholley, r=billm 2013-04-05 21:22:55 -07:00
Joshua Cranmer
45e3447406 Bug 856108 - Port static analyses to clang, part 2b: use MOZ_STACK_CLASS in dom. r=Ms2ger 2013-04-11 22:20:18 -05:00
Jacek Szpot
514f40e52a Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-11 11:50:18 -07:00
Ryan VanderMeulen
3cd54220b2 Backed out changesets a550dadafa30 and 315f6b451d07 (bug 857884) for mochitest failures on a CLOSED TREE. 2013-04-11 13:59:02 -04:00
David Zbarsky
321358537b Bug 857884 - Use dom::EventTarget more in content/ and dom/ Part 4 r=Ms2ger 2013-04-11 12:24:47 -04:00
Stephen Pohl
78359678c7 Bug 860429 - Make NPPVJavascriptPushCallerBool a no-op. r=bsmedberg 2013-04-11 07:48:10 -04:00
David Keeler
8cef92685a bug 854467 - fix nsIPluginTag enabled state API r=bsmedberg r=unfocused 2013-03-27 14:06:43 -07:00
Ryan VanderMeulen
dcda86fbdf Backed out changeset 9983874bfa63 (bug 854467) for bustage on a CLOSED TREE. 2013-04-09 13:45:39 -04:00
David Keeler
c5435bfca8 bug 854467 - fix nsIPluginTag enabled state API r=bsmedberg r=unfocused 2013-03-27 14:06:43 -07:00
Georg Fritzsche
6f88a2a1c4 Bug 857589 - Bail out without warnings when no plugins registry key is present. r=bsmedberg 2013-04-03 16:24:03 +02:00
Ryan VanderMeulen
24a4c17eff Backed out changeset a85d21e394c0 (bug 854503) for bustage. 2013-04-06 14:37:33 -04:00
Jacek Szpot
8ce12e971c Bug 854503 - Rename JS unwrapping functions. r=bholley 2013-04-04 12:14:32 +02:00
Georg Fritzsche
26d6b994e6 Bug 758872 - Fix missing null-check for plugin instance. r=bsmedberg 2013-04-04 00:00:45 +02:00
Jose Cortes
21f2e0d958 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
Kyle Machulis
5aa83c3e11 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Aaron Klotz
a23a508328 Bug 836488: Add telemetry for plugin metadata load time. r=bsmedberg 2013-04-01 11:38:48 -06:00
Kyle Machulis
c79ccc0693 Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot 2013-03-29 15:12:58 -07:00
Kyle Machulis
a59d40f143 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Terrence Cole
9801ecf36c Bug 855145 - DeMACROize the JS tracing interfaces; r=billm,mccr8
--HG--
extra : rebase_source : 915c80052b4412f653033eb5fc4d4f96c5d49bd5
2013-03-26 15:10:34 -07:00
Benoit Girard
fc10a7cfe4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 6ea7c660764a4390cdd8dd91561fff1d7bad6035
2013-03-18 15:25:50 +01:00
Benoit Girard
9d12529d78 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : f76accc3d3dd86c75cb3e9750734f23ec9c29941
2013-03-16 00:47:02 -04:00
Georg Fritzsche
4022065ba0 Bug 853911 - Fix nsPluginHost usage in nsPluginTag. r=bsmedberg 2013-03-23 17:37:08 +01:00
Mike Shal
c2a9341a2e Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps 2013-03-21 08:41:00 -07:00
Georg Fritzsche
50953c28dc Bug 830267 - Persist plugin preferences outside of pluginreg.dat. r=bsmedberg 2013-02-15 22:00:25 +01:00
Johnny Stenback
f735d2b3ee 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
John Schoenick
1c38d16428 Bug 851378 - Avoid bogus assertion when trying to spawn disabled plugin. r=bsmedberg 2013-03-20 14:29:22 -07:00
John Schoenick
aa811f364c Bug 851378 - Notify owning content when we destroy plugins from under it. r=bsmedberg 2013-03-20 14:29:22 -07:00
John Schoenick
9035b2d85a Bug 851378 - Move removing the plugin prototype from objects to content. r=bsmedberg 2013-03-20 14:29:21 -07:00
Mike Shal
9680b82df6 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Ed Morley
b2109c458f Backed out changeset c75481a07302 (bug 851611) 2013-03-18 14:10:35 +00:00
Ed Morley
2b1775b4e9 Backed out changeset d195190adc48 (bug 851611)
--HG--
rename : tools/profiler/GeckoProfiler.h => tools/profiler/sampler.h
rename : tools/profiler/GeckoProfilerImpl.h => tools/profiler/sps_sampler.h
2013-03-18 14:10:30 +00:00
Benoit Girard
664cf994b4 Bug 851611 - Part 3: Rename headers. r=jrmuizel
--HG--
rename : tools/profiler/sampler.h => tools/profiler/GeckoProfiler.h
rename : tools/profiler/sps_sampler.h => tools/profiler/GeckoProfilerImpl.h
extra : rebase_source : 552fe1d3ff61d15b264aaf86f7c8cb4f4eff69d1
2013-03-18 14:41:02 +01:00
Benoit Girard
c4c6a0ddf5 Bug 851611 - Part 2: Update profiler calls. r=jrmuizel
--HG--
extra : rebase_source : 3032aaf7e50cdf9c350da688ec34e50a695fc7ca
2013-03-16 00:47:02 -04:00
Ms2ger
d52bebdeb3 Bug 845374 - Part s: Stop including nsTArray.h in nsContentUtils.h; r=khuey 2013-03-17 08:55:16 +01:00
Gregory Szorc
94e8454958 Merge mozilla-central into build-system
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Gregory Szorc
7bb3ee056b Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Jan Beich
787a07e571 Bug 848264 - Explicitly include <cstdlib> after bug 835542. r=Waldo 2013-03-06 13:06:24 -05:00
Jacek Caban
9ac25e6d6b Bug 849198 - Merge nsPluginSafety.h into nsNPAPIPluginInstance.h r=roc
--HG--
extra : rebase_source : b5e71211edce0b30f92033010d47b9a303f2c3bf
2013-03-12 11:34:07 +01:00
Boris Zbarsky
d647ed19aa Bug 827158 part 7. Make nsJSNPRuntime work with WebIDL objects. r=peterv 2013-03-04 14:08:23 -05:00
James Willcox
37ec83527b 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
5f237c58b3 Bug 673440 - add support for NPNVSupportsCompositingCoreAnimationPluginsBool. r=josh 2011-07-31 13:37:06 -04:00
James Willcox
fac471fc87 Bug 827254 - Guard against garbage plugin instance in ANPSystem::setPowerState r=blassey 2013-03-04 09:06:42 -05:00
Robert O'Callahan
13b1901dac Bug 829557. Part 2: Allow plugin code to reenter Gecko safely while while the plugin is processing an input event. r=bsmedberg
When nsPluginInstanceOwner passes input events to the plugin instance,
it's safe to reenter Gecko from plugin code and do anything, even
arbitrary script execution.

--HG--
extra : rebase_source : e07820e145ec1e639b241f02b8b439b45f6e5e8b
2013-02-28 00:50:28 +13:00
Robert O'Callahan
e170f559fb 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
Ms2ger
3813557cac Merge m-i to b-s. 2013-02-28 14:46:10 +01:00
Gregory Szorc
f0b7e3972c Merge mozilla-central into build-system
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ed Morley
10875eb001 Backed out changeset f73b7b8d1a2d (bug 829557) for failing to compile on Windows on a CLOSED TREE 2013-02-27 12:50:30 +00:00
Ed Morley
6251eca1f9 Backed out changeset 622b744e5df9 (bug 829557) 2013-02-27 12:49:32 +00:00
Gregory Szorc
e2966f651c Bug 784841 - Part 18k: Convert /dom; f=Ms2ger rs=khuey 2013-02-25 12:47:20 -08:00
Robert O'Callahan
87373f01cb Bug 829557. Part 2: Allow plugin code to reenter Gecko safely while while the plugin is processing an input event. r=bsmedberg
When nsPluginInstanceOwner passes input events to the plugin instance,
it's safe to reenter Gecko from plugin code and do anything, even
arbitrary script execution.

--HG--
extra : rebase_source : 815683c3027b906c4744495e8e1cfdb261e0c557
2013-02-28 00:50:28 +13:00
Robert O'Callahan
fc050e2c41 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
Boris Zbarsky
4f80dbdbcf Bug 844322. Make plug-in getters and setters JSPROP_SHARED so they don't get shadowed by expandos on the DOM nodes. r=jst 2013-02-24 22:40:42 -05:00
Masatoshi Kimura
62ce59892e Bug 841477 - Enable FAIL_ON_WARNINGS on MSVC in dom/plugins. r=benjamin 2013-02-28 07:44:52 +09:00
Bobby Holley
d1a3436036 Bug 834732 - Audit callers of GetNativeContext and use AutoPushJSContext where appropriate. r=mrbkap 2013-02-26 11:04:13 -08:00
Jeff Gilbert
4ed4901299 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 3fb4230127df8a265d930fb779bdc93e05626c8b
2013-02-13 15:26:24 -08:00
Ed Morley
c878d63b6a Backed out changeset 82747d694e7a (bug 716859) for android reftest-2 timeouts 2013-02-21 19:54:25 +00:00
Jeff Gilbert
1da9dd6cd2 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad
--HG--
extra : rebase_source : 5dad29809733a54a19cd3e5030498f00597d1dc8
2013-02-13 15:26:24 -08:00
Jim Chen
55cb584161 Bug 842687 - Use uint32 instead of bool for certain plug-in values; r=bsmedberg 2013-02-20 15:19:06 -05:00
Ryan VanderMeulen
438b3ab061 Backed out changeset b46c006a7696 (bug 716859) and changeset 6a14e4c15aa6 (bug 841836) for B2G test failures on a CLOSED TREE. 2013-02-20 10:01:20 -05:00
Jeff Gilbert
d348a03b58 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
Cykesiopka
6e648fb835 Bug 583566 - Remove old Java plugin scanning pref and related code. r=bsmedberg 2013-02-17 07:07:50 -05:00
David Keeler
5d46a20f81 bug 838290 - make nsIPluginHost.getPermissionStringForType more robust r=bsmedberg 2013-02-13 10:15:40 -08:00
Yury Delendik
0d6cb92088 Bug 839714 - Extend PlayPreview API. r=jschoenick, r=jwein 2013-02-14 15:38:41 -06:00
Ryan VanderMeulen
4ee86d7149 Backed out changeset 38c7d7a7f586 (bug 716859) for B2G reftest failures on a CLOSED TREE. 2013-02-13 21:39:07 -05:00
Jeff Gilbert
a781738c64 Bug 716859 - Streaming GLContext buffers (doublebuffering, etc) - r=bjacob,jrmuizel,vlad 2013-02-13 15:26:24 -08:00
James Willcox
566cf80474 Bug 839456 - Annotate crash reports with Flash version on Android r=bsmedberg 2013-02-12 15:33:38 -05:00
Georg Fritzsche
bb0d458554 Bug 752422 - Add null-check for plugin tag. r=bsmedberg 2013-02-12 19:03:25 +01:00
Masatoshi Kimura
092f34b54f Bug 839731 - Kill try-safe stuff. r=benjamin 2013-02-12 01:28:08 +09:00
Ryan VanderMeulen
6710d4e443 Backed out changeset 2861ef67390a (bug 837566) for Linux32 mochitest-other shutdown hangs. 2013-02-05 07:54:49 -05:00
Nicholas Nethercote
b6e73adcac Bug 837566 - Remove js_RemoveRoot. r=terrence. 2013-02-03 20:17:34 -08:00
Jeff Muizelaar
f996b83188 Bug 835533. Avoid adding an ambiguous TextureInfo type. r=snorp
TextureInfo conflicts with TextureInfo from the layers refactor.
It's not used in many places so just avoid the typedef

--HG--
extra : rebase_source : 2edffde4c50a228637a4f7ad29a354f406fa5f0c
2013-01-29 11:24:04 -05:00
James Willcox
8632939a2c Bug 768000 - Fix up the mutex handling in the prior patch r=blassey 2013-01-25 11:13:40 -05:00
James Willcox
208cbe223c Bug 768000 - Don't race when destroying plugin audio tracks on Android r=blassey
--HG--
extra : rebase_source : 5e15ec8e1132cbc862b3f7f69555432beb0b9169
2013-01-23 15:18:36 -05:00
Benjamin Smedberg
97abb84970 Bug 321958 - Remove dead code nsIPluginTagInfo.getTagText, r=josh 2013-01-23 10:11:53 -05:00
James Willcox
5a451d0261 Bug 800838 - Guard against invalid NPP when unscheduling plugin timers on Android r=blassey 2013-01-23 09:16:26 -05:00
Steve Fink
57a2c2471b Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence 2012-12-31 12:40:21 -08:00
Steve Fink
380ecf9335 Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!) 2013-01-18 13:20:21 -08:00
Steve Fink
01f8a5b4d8 Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Georg Fritzsche
cce012fd58 Bug 813245 - Sanity-check for mimetype count from pluginreg.dat. r=bsmedberg 2012-12-21 16:12:46 +01:00
Bobby Holley
fe9b482b3b Bug 824864 - Pass EvaluateString out-param as a pointer, not a reference. r=bz 2013-01-16 18:50:27 -08:00
Bobby Holley
89a6e0fc9e 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
1724ed7409 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
Mats Palmgren
6c53161814 Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan 2013-01-15 13:22:03 +01:00
Trevor Saunders
4c89efeea4 bug 825281 - remove nsISupportsArray from plugins r=bsmedberg 2012-12-12 02:56:25 -05:00
Robert O'Callahan
0b770fc749 Bug 826632. Part 5: nsViewManager methods do not need to be virtual and most of the ones that return nsresult don't need to. r=tnikkel
Also, just use GetRootView instead of GetRootViewImpl.

--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : c2417fdf6c5e4c94ca759ac12175a2d3a0de52e6
2013-01-05 16:13:05 +13:00
Robert O'Callahan
85884b1a4b Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : d00947c925b17f860fcdc0e12b1ec3cc31b7c630
2013-01-05 16:12:24 +13:00
Phil Ringnalda
408fbe5931 Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
74c41dab7c Bug 826632. Part 5: nsViewManager methods do not need to be virtual and most of the ones that return nsresult don't need to. r=tnikkel
Also, just use GetRootView instead of GetRootViewImpl.

--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 8dadf01e7cab20f6e0b9b3e95e767687445260c2
2013-01-05 16:13:05 +13:00
Robert O'Callahan
b56cdd701e Bug 826632. Part 1: Merge nsIViewManager into nsViewManager. r=tnikkel
--HG--
rename : view/public/nsIViewManager.h => view/public/nsViewManager.h
extra : rebase_source : 85587555e1f202809cd39fe899570644e6ca4eb3
2013-01-05 16:12:24 +13:00
David Keeler
c969101464 bug 820708 - refresh navigator.plugins when a plugin is enabled/disabled r=joshmoz 2012-12-20 16:53:21 -08:00
Karl Tomlinson
542cae9df7 b=814200 don't redirect embedder socket window resize requests to Xt client r=stransky
--HG--
extra : rebase_source : 936d2fb8dbed72c064b158a106dde582b091454b
2013-01-04 12:37:08 +13:00
Michal Novotny
b6628fb0c0 Bug 725993 - Remove usage of STORE_ON_DISK_AS_FILE flag in plugin code, r=joshmoz 2013-01-04 00:29:33 +01:00
Robert O'Callahan
f9b9491b81 Bug 825866. Part 8: Mass-rename of nsIView to nsView. r=tnikkel
This was autogenerated by basically replacing all occurrences of the word "nsIView" with nsView.

--HG--
rename : view/public/nsIView.h => view/public/nsView.h
2013-01-04 02:23:11 +13:00
Masatoshi Kimura
b5e27745c8 Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted 2013-01-03 00:56:38 +09:00
Neil Rashbrook
b87325632b Bug 818861 Shouldn't allow promising a flat string from a flat string r=dbaron 2012-12-22 20:40:37 +00:00
Georg Fritzsche
bffe1e647d Bug 823533 - Reject plugins with a different architecture in 32bit Mac builds. r=bsmedberg,smichaud 2012-12-20 21:30:19 +01:00
Josh Matthews
4e4a7167e0 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer 2012-12-05 02:33:20 -05:00
Ed Morley
b823df0685 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
36ed4c8e79 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Ed Morley
0c632ab2fc Backout 4faa85ebbbf7 (bug 814247) for build bustage on a CLOSED TREE 2012-12-19 20:20:30 +00:00
Josh Matthews
f27802d4e8 Bug 814247 - Add auth cache jars for separate apps. r=mayhemer,bsmedberg 2012-12-05 02:33:20 -05:00
Jim Mathies
10c1c2ce73 Bug 817881 - Move test plugin to dist/plugins, and touch up tests and test logic to support the change. r=glandium, dtownsend 2012-12-17 12:08:00 -06:00
James Willcox
8b0bdd7a65 Bug 809055 - Restore fullscreen plugins after document becomes active r=blassey 2012-12-17 10:05:59 -05:00
James Willcox
65e5a49652 Bug 821777 - Get some kind of version information into nsPluginTag for Flash on Android r=josh 2012-12-17 10:05:53 -05:00
James Willcox
a2497e5594 Bug 800838 - remove unnecessary delay when unscheduling plugin timers r=blassey 2012-12-17 10:05:49 -05:00
Masayuki Nakano
eb6b871bcb Bug 813445 part.1 Make widget::EventFlags and remove NS_EVENT_FLAG_TRUSTED r=roc+smaug, feedback=emk 2012-12-16 10:26:03 +09:00
Jeff Walden
7146c23e80 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
Daniel Holbert
109d7d5784 Bug 821843: Remove no-longer-used variable 'isJava' from nsPluginHost.cpp, to fix GCC 4.7 warning (treated as error in enable-warnings-as-errors builds). r=johns 2012-12-14 13:08:49 -08:00
John Schoenick
5cc487ae7e Bug 767638 - Rename InitializeEmbedded* plugin functions to just Initialize*. r=josh 2012-12-13 13:51:28 -08:00
John Schoenick
84b9c456d3 Bug 767638 - Greatly simplify loading full-page plugins. r=josh 2012-12-13 13:51:27 -08:00
John Schoenick
2acf626c29 Bug 767633 - Bonus - Clean up whitespace in nsPluginHost. r=josh 2012-12-13 13:51:26 -08:00
John Schoenick
124e66d091 Bug 767633 - Part 3 - Remove a ton of obsolete nsPluginHost code. r=josh 2012-12-13 13:51:23 -08:00
John Schoenick
97210f5ad6 Bug 767633 - Part 2 - nsObjectLoadingContent should handle all initial streams for plugins. r=josh 2012-12-13 13:51:23 -08:00
James Willcox
3eb7873fa3 Bug 820905 - backout ea1643fd4285
--HG--
extra : rebase_source : 50ddda21ab6942b6397366b9823b36df257b9482
2012-12-13 14:23:07 -05:00
Kartikaya Gupta
26f478aa7c Bug 780831 - Guard against plugin code leaking refs in the JNI local ref table. r=snorp 2012-12-13 00:32:17 -05:00
Bobby Holley
b9b954824f Bug 820666 - Tag XBL script for <field> elements and child scripts. r=jorendorff 2012-12-12 17:09:37 -08:00