Commit Graph

511 Commits

Author SHA1 Message Date
Nathan Froyd
926af47803 Bug 798573 - remove prtypes.h #includes in dom/; r=ehsan 2012-10-05 17:28:24 -04:00
Georg Fritzsche
271a5bce66 Bug 791798 - topcrash in mozilla::plugins::parent::_releaseobject because of incremental GC: we're creating a new wrapper before teardown which races with the release event. r=bsmedberg 2012-10-01 19:53:35 +02:00
Masatoshi Kimura
5637d27654 Bug 797385 - Part 2: Remove ibm864 usage. r=smontagu 2012-10-10 06:32:37 -04:00
Robert O'Callahan
a08f9690e9 Bug 798607. Ensure GetContentsScaleFactor is 1.0 on all non-Mac platforms. r=smichaud 2012-10-08 23:36:06 +13:00
Georg Fritzsche
d4a9e6ad67 Bug 750480 - Workaround for empty Java applets hanging with click-to-play. r=bsmedberg 2012-10-03 17:49:04 +02:00
Jacek Caban
9e6e56ba3a 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
Andrew Quartey
106c5d6f24 Bug 792581 - part 5: Replace LL_CMP macro with standard comparison. r=ehsan 2012-10-03 10:13:19 -04:00
Andrew Quartey
6745ad3f2c Bug 792581 - part 3: Replace LL_NE macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Andrew Quartey
79f41a48bd Bug 792581 - part 2: Replace LL_EQ macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Andrew Quartey
9eed719a44 Bug 792581 - part 1: Replace LL_IS_ZERO macro with standard relation. r=ehsan 2012-10-03 10:13:18 -04:00
Josh Aas
747ae561cc Bug 797100: Replace internal usage of nsIPluginInstanceOwner with nsPluginInstanceOwner. r=jst 2012-10-02 22:43:18 -04:00
Steven Michaud
c109a6325b Bug 785667 - Make plugins work with HiDPI mode on the Mac. r=bgirard 2012-10-02 14:48:05 -05:00
Alexander Surkov
ff53cbaba5 Bug 785047 - force disable oop when JAWS is running, r=joshmoz 2012-10-02 22:24:51 +09:00
Patrick McManus
f6050df8f3 bug 769764 - followup fix error check and whitespace r=josh 2012-09-30 21:29:42 -04:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Matt Woodrow
5a14809d04 Bug 539356 - Part 9f - Compute the invalid area of the layer tree and pass this to the widget. r=roc 2012-08-29 17:47:18 +12:00
Matt Woodrow
958ce7d98d Bug 539356 - Part 9c - Remove old invalidation code. r=bz 2012-08-29 17:39:31 +12:00
Patrick McManus
b0eb649bd8 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Ed Morley
c863356300 Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE 2012-09-27 16:34:46 +01:00
Matt Woodrow
c73c0db2f1 Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt 2012-08-29 17:38:58 +12:00
Karl Tomlinson
73e1d73bd2 b=788399 always use async drawing for OOP windowless plugins r=bsmedberg
--HG--
extra : transplant_source : d%B9m%A5%DB%A7%128g%B8%1C%1D%EC1%DE%BD%F8%E8b%A1
2012-09-27 12:22:51 +12:00
Bill McCloskey
2e75082f62 Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett) 2012-09-03 16:42:17 -07:00
Santtu Lakkala
b336a299a5 Bug 790198 - Cleanup local JNI references in Android plugins r=snorp 2012-09-11 05:19:00 -04:00
Mike Hommey
fb05de0176 Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt 2012-09-25 14:47:18 +02:00
Ms2ger
1e7015f897 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
d1bb662c3c Bug 792343 - Enable FAIL_ON_WARNINGS in some more of dom/ (second batch); r=mounir 2012-09-20 09:55:36 +02:00
Karl Tomlinson
2eadd9d983 b=777946 remove no-op code remaining from size change invalidation r=roc
--HG--
extra : transplant_source : %92%E0%C3d%25BA%BC%EC%22%B5%B2%83%FFW%11%DC%03V%2C
2012-09-18 15:16:33 +12:00
James Willcox
48979f1e8e Bug 778442 - Cache the plugin size for ANPWindow::visibleRect r=blassey 2012-09-18 14:52:15 -04:00
Timothy Nikkel
a357c47d9d Bug 788436. In the mac plugin code if the event model changes we may need to add/remove our scroll position listener. r=josh 2012-09-17 20:00:29 -05:00
Ryan VanderMeulen
f842b649ba Backout e5289d3dce71 and f9a587042ea0 (bug 788436) due to OSX bustage. 2012-09-17 20:20:08 -04:00
Timothy Nikkel
96d445b800 Bug 788436. Bustage followup. r=me 2012-09-17 19:07:26 -05:00
Timothy Nikkel
49db70b49a Bug 788436. In the mac plugin code if the event model changes we may need to add/remove our scroll position listener. r=josh 2012-09-17 18:43:08 -05:00
Ed Morley
946a13d148 Backout 6d71ff5b4b36 (bug 347307), 75a3c47a3fe7 (bug 507578), 828f91de7143 (bug 769764) for near permaorange OS X 10.8 leaks 2012-09-17 16:54:09 +01:00
Ed Morley
6a83e3de8d Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs 2012-09-17 14:17:02 +01:00
Karl Tomlinson
c7bd6a555f b=777946 remove no-op code remaining from size change invalidation r=roc
--HG--
extra : transplant_source : %DF%8D8%3AuG%80%2B%A8%DFFm%C8%28%1F%C7A%DB.J
2012-09-17 18:50:25 +12:00
Patrick McManus
cafe3619a5 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Ed Morley
1525bc6440 Backout 3182f9d08c2d (bug 347307), 2a30593cca79 (bug 507578), b87b27f5a417 (bug 769764) for m-oth permaorange in browser_463205.js 2012-09-13 22:42:29 +01:00
Patrick McManus
22205a5249 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-13 15:22:56 -04:00
James Willcox
a06590001d Bug 786248 - Followup to add a small comment 2012-09-12 10:20:27 -04:00
James Willcox
e78b363462 Bug 786248 - Always invert Flash video on Honeycomb r=blassey 2012-09-12 10:17:22 -04:00
James Willcox
40f4ac5682 Bug 750217 - Don't schedule plugin timers if the plugin isn't running r=josh
--HG--
extra : rebase_source : 9eb8316c48705b01c72b46dab993439f37a5607b
2012-09-11 10:24:25 -04:00
James Willcox
e4374bc2d0 Bug 778442 - Add some null guards in nsPluginInstanceOwner::GetVisibleRect r=blassey
--HG--
extra : rebase_source : 314d6defe42a0908f071eb7ca78393470b854f05
2012-09-11 10:20:44 -04:00
John Schoenick
2fceac1bc6 Bug 786650 - Abort load of channel-having plugins without frames at the appropriate point (second attempt). r=josh 2012-09-10 13:30:45 -07:00
Ehsan Akhgari
68e34da122 Backout changeset ebd274828b7f (bug 791378) because it seems like the channel created is associated with a load context 2012-09-19 15:56:08 -04:00
Ehsan Akhgari
71751b8fbc Bug 791378 - nsPluginHost::NewPluginURLStream needs to take the privacy information into account when creating a channel on behalf of a plugin; r=bzbarsky 2012-09-19 14:30:25 -04:00
Mounir Lamouri
4a90f2279e Bug 787534 - Remove Portrait and Landscape special ScreenOrientation values. r=jlebar 2012-09-19 17:28:16 +01:00
John Schoenick
7d6435590f Backout 827807082790 (bug 786650) for causing bug 789033 2012-09-06 19:03:22 -07:00
Ehsan Akhgari
65c5e19c37 Bug 579517 follow-up: Remove NSPR types that crept in
--HG--
extra : rebase_source : 3fc28d51fcb5c63e417b0fe2b90fb6e1eb0cac63
2012-09-06 10:11:28 -04:00
Makoto Kato
c28c020a8f Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
John Schoenick
6c657c7493 Backout a6f040934c99 (Bug 548133) for reftest orange 2012-09-05 14:58:17 -07:00
John Schoenick
8c4372a650 Bug 786650 - Abort load of channel-having plugins without frames at the appropriate point. r=josh 2012-09-05 14:02:07 -07:00
John Schoenick
89dd8205be Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-09-05 14:02:06 -07:00
Randell Jesup
eedf93a21d Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Justin Dolske
6f87e1d46b Bug 747300 - Add mimetype info to nsIPluginTag. r=josh 2012-08-24 12:04:15 -07:00
Josh Aas
402428750a Bug 598401: Remove support for the Quickdraw NPAPI drawing model. r=smichaud 2012-08-30 15:10:55 -04:00
Landry Breuil
038741989a Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Georg Fritzsche
adcfeeead9 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02:00
Yury
f71d14e548 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-25 17:18:44 -04:00
Benjamin Smedberg
b8603666c1 Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

CLOSED TREE
2012-08-24 13:08:15 -04:00
Yury
b3e51b2f82 Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-24 16:18:16 -04:00
Benjamin Smedberg
583084b3a2 Revert bug 776208 for semi-consistent failures:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Test 1a, the overlay about: content is expected
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | an unexpected uncaught JS exception reported through window.onerror - TypeError: Components.classes is undefined at jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml:38
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: jar:file:///c:/talos-slave/test/build/firefox/omni.ja!/chrome/toolkit/content/global/about.xhtml
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/base/content/test/browser_pluginplaypreview.js | Found an unexpected tab at the end of test run: chrome://mochitests/content/browser/browser/base/content/test/plugin_test.html

--HG--
extra : rebase_source : e000988677d466b4796c5b2a51968f586743e6db
2012-08-24 13:08:15 -04:00
Yury
51f5276dad Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret sr=joshmoz
--HG--
extra : rebase_source : f9b13bbda1318dbdaa71b04b3e04736655e65081
2012-08-23 17:11:51 -04:00
Luke Wagner
94264a0bc8 Bug 625199 - s/JSAutoEnterCompartment/JSAutoCompartment/ and make it infallible (r=bholley)
--HG--
extra : rebase_source : 12acf2288285f5caefd7fecea8207de3a47eab5b
2012-08-21 18:42:53 -07:00
KO Myung-Hun
47865c4b22 Bug 773958 - Define NP_CALLBACK as NP_LOADDS for a calling convention consistency. r=josh 2012-08-23 06:18:45 -04:00
Ehsan Akhgari
0fd9123eac 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
Benjamin Smedberg
25de92431b Bug 700583 - Null-check our way out of crashes on both mobile and desktop in pr_FindSymbolInLib caused by plugin code where the plugin fails to load correctly, r=josh 2012-08-21 14:38:51 -04:00
Matt Woodrow
7591d1ef12 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
Nicolas Silva
047b99ba78 Bug 782372 - Splits ImageLayers.h into ImageLayers.h ImageContainer.h and ImageTypes.h, r=bgirard 2012-08-19 15:33:25 -04:00
Ryan VanderMeulen
25940ee99c Merge the last PGO-green inbound changeset to m-c. 2012-08-18 19:10:45 -04:00
Kyle Huey
806819677e Bug 773435: Remove some extraneous nsIImageLoadingContent includes. r=jlebar 2012-08-18 12:15:04 -07:00
Ed Morley
55d147cb39 Backout 6943b37c68cc (bug 751809) for bug 783723 2012-08-18 14:11:13 +01:00
Georg Fritzsche
ad56b701a7 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02:00
James Willcox
24e33f1004 Bug 776334 - Don't double free shared texture handles for Flash on Android r=blassey 2012-08-16 12:48:35 -04:00
James Willcox
e482af5c0a Bug 781542 - Don't require a layer invalidation for Flash video on Android r=blassey 2012-08-16 12:47:22 -04:00
Aryeh Gregor
3d7810428b Bug 782605 - Make nsNPAPIPluginInstance::SetCached infallible; r=roc 2012-08-14 12:10:42 +03:00
Neil Deakin
279f4c393a Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Aryeh Gregor
1091dc5149 Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
Aryeh Gregor
0923bf00ef Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Ms2ger
deec9a1e06 Bug 781058 - Part a: Fix -Werror=int-to-pointer-cast in nsPluginNativeWindowGtk2; r=mounir 2012-08-09 09:20:18 +02:00
Ms2ger
5cd10c6422 Merge m-c to m-i. 2012-08-07 10:30:48 +02:00
Ms2ger
a45a0051cf Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Josh Aas
75eebb8639 Bug 780489: Fix some compiler warnings in plugin and mac code. r=smichaud 2012-08-07 00:09:23 -04:00
John Schoenick
b47165349e Bug 745030 - Refactor nsObjectLoadingContent loading paths. r=josh,sr=jst 2012-08-06 13:48:25 -07:00
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
4e998b1d36 Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00
Mike Hommey
17fb6cad2d Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 08:48:56 +02:00
Bill McCloskey
46c421ce9e Bug 779849 - Fix NPAPI wrapping (r=bholley) 2012-08-03 12:41:49 -07:00
Makoto Kato
46f2aae141 Bug 779408 - error: cannot convert 'std::nullptr_t' to 'mozilla::gl::SharedTextureHandle {aka unsigned int} on gcc 4.6 in NDK r8b. f=ayg r=roc 2012-08-02 13:25:10 +09:00
Eric Faust
012112cde8 Bug 752223 - Implement JS_NumberValue(), replacing JS_NewNumberValue(). (r=luke) 2012-08-01 17:59:47 -07:00
Martin Stransky
b4d0c5ac85 Bug 544088 - UseAsyncPainting() -> IsOOP(). r=joshmoz 2012-08-01 16:34:08 -04:00
Martin Stransky
92d961b051 Bug 544088 - Support Xt plugins OOP. r=karlt 2012-08-01 16:34:08 -04:00
Chris Peterson
1c88526bb9 Backout f6aff596b0ff (bug 779287). r=me
--HG--
extra : rebase_source : 38526eac16b3eef5fd0e006784fa61a3d37598f6
2012-08-01 13:01:35 -07:00
Chris Peterson
03e74fdba1 Bug 779287 - widget/android: Replace NULL with nullptr. r=mfinkle 2012-07-31 09:36:30 -07:00
Karl Tomlinson
efce7d7c15 b=778031 add FinishX to XSync less frequently and use it r=cjones
--HG--
extra : transplant_source : %BC%2C%80%F65%1DV%B7YVI%80%B2%FD%FE%F1%18G%06%26
2012-07-31 14:54:21 +12:00
Benoit Girard
d38270d473 Bug 724666 - Part 1: Refactor nsCoreAnimation support into azure QuartzSupport. r=jmuizelaar
--HG--
rename : gfx/thebes/nsIOSurface.h => gfx/2d/MacIOSurface.h
rename : gfx/thebes/nsCoreAnimationSupport.mm => gfx/2d/QuartzSupport.mm
2012-07-31 11:11:57 -04:00
Aryeh Gregor
a39a0af68b Bug 777292 - dom/plugins/: Fix incorrect conversions to nsresult; r=roc 2012-07-30 12:24:36 +03:00
Ehsan Akhgari
b40b21d633 Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Brian Hackett
ffc948bbbe Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin 2012-07-30 05:19:09 -06:00
Nicolas Silva
e2ab39fb96 Bug 773462 - Rename calls to ImageContainer::SetCurrentImage into ImageContainer::SetCurrentImageInTransaction when the method is used within a layer transaction. r=roc 2012-07-26 14:11:22 -04:00