Commit Graph

1142 Commits

Author SHA1 Message Date
Karl Tomlinson
1ace324248 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
Karl Tomlinson
41345d8ef3 b=788399 remove dead NPNVariable code r=bsmedberg
--HG--
extra : transplant_source : %7B%C1%0B%FBC%16%F0%15%B6%99%2C%D7%D4%C3%DD%B2n%A8%A8%CC
2012-09-27 12:22:41 +12:00
Bill McCloskey
f13e8e29d9 Bug 787856 - Convert JS_GetPrototype to support lazy protos (r=bhackett) 2012-09-03 16:42:17 -07:00
Santtu Lakkala
71db9bf014 Bug 790198 - Cleanup local JNI references in Android plugins r=snorp 2012-09-11 05:19:00 -04:00
Mike Hommey
213365fb63 Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt 2012-09-25 14:47:18 +02:00
Ted Mielczarek
072f55125f bug 705047 - re-enable OOP crashreporter tests on mac. r=philor 2012-09-20 10:50:21 -04:00
Georg Fritzsche
7fcae06fbb Bug 788512 - Add dumps for Flash processes to the modified plugin hang report. r=bsmedberg 2012-09-11 17:21:26 +02:00
Georg Fritzsche
0b48ef3fc4 Bug 791215 - Test for plugin hang submission. r=ted 2012-09-21 19:38:37 +02:00
Ms2ger
5b4f3272e0 Merge PGO-green changeset from m-i to m-c. 2012-09-20 11:51:47 +02:00
Ms2ger
70856e2961 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
03f8b47044 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
Karl Tomlinson
a984124d85 reftest for bug 777946 r=roc
--HG--
extra : transplant_source : -%F70%922y%A0H%9E%F9%1D%20%A2%96u%D3%2A%0F%B5%1E
2012-09-18 10:15:35 +12:00
James Willcox
3e22df7999 Bug 778442 - Cache the plugin size for ANPWindow::visibleRect r=blassey 2012-09-18 14:52:15 -04:00
Timothy Nikkel
1962c84ef6 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
166d6e97ce Backout e5289d3dce71 and f9a587042ea0 (bug 788436) due to OSX bustage. 2012-09-17 20:20:08 -04:00
Timothy Nikkel
1ccaccb0ca Bug 788436. Bustage followup. r=me 2012-09-17 19:07:26 -05:00
Timothy Nikkel
bcffe90e94 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
51dcc7dff7 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
d8eec8e75e Backout 7f86b28171a2 (bug 787853) & e18fdb9a8e12, ba47dac3cf97, e3fdcf7ed7f2, 992ee4c72c87 (bug 777946) for intermittent linux M4 ABORTs 2012-09-17 14:17:02 +01:00
Ms2ger
d44653555d Merge m-c to m-i. 2012-09-17 12:08:58 +02:00
Ms2ger
10ec580e54 Bug 787933 - Stop using stdin types in IPC code; r=bsmedberg+cjones sr=cjones 2012-09-17 10:37:20 +02:00
Patrick McManus
cd31dfef08 bug 769764 move proxy resolution to separate thread and remove sync api r=biesi sr=josh 2012-09-14 16:27:46 -04:00
Karl Tomlinson
a7700efae5 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
Karl Tomlinson
3f52f70c45 reftest for bug 777946 r=roc
--HG--
extra : transplant_source : %5C%A9i%A5%D9B%12%5B%3E%E7%96%85%AF%A6WN%29%D6%F9n
2012-09-06 16:57:21 +12:00
Ed Morley
2ee5369324 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
183e115253 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
0a6bb5084d Bug 786248 - Followup to add a small comment 2012-09-12 10:20:27 -04:00
James Willcox
f425513cfb Bug 786248 - Always invert Flash video on Honeycomb r=blassey 2012-09-12 10:17:22 -04:00
James Willcox
3952e4dcec 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
664b2e5d55 Bug 778442 - Add some null guards in nsPluginInstanceOwner::GetVisibleRect r=blassey
--HG--
extra : rebase_source : 314d6defe42a0908f071eb7ca78393470b854f05
2012-09-11 10:20:44 -04:00
SADINENI RAVI CHANDRA
f38dfb3765 Bug 654618: Fix signed/unsigned comparison warnings in nptest.cpp. r=bsmedberg 2012-09-10 23:53:04 -07:00
Georg Fritzsche
40a04e4be6 Bug 784145 - When submitting hang reports, submit the browser report as a field of the plugin report instead of as a completely separate report. r=ted 2012-09-08 19:20:59 +02:00
John Schoenick
25a7ca435a 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
5707fa7f63 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
ea0c1ccb96 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
38cc3be56e Bug 787534 - Remove Portrait and Landscape special ScreenOrientation values. r=jlebar 2012-09-19 17:28:16 +01:00
John Schoenick
5713bd3dc2 Backout 827807082790 (bug 786650) for causing bug 789033 2012-09-06 19:03:22 -07:00
Jan Beich
cd507f028e Bug 787730 - Don't assume NULL to be a character; r=ehsan 2012-09-06 12:53:00 -04:00
Ehsan Akhgari
51966b80a6 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
507b76f776 Bug 784912 - nsIStreamListener.onDataAvailable should handle 64-bit offset. r=honza 2012-09-06 11:41:02 +09:00
John Schoenick
f25d874531 Backout a6f040934c99 (Bug 548133) for reftest orange 2012-09-05 14:58:17 -07:00
John Schoenick
4af1b4f3b9 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
58eddd29c3 Bug 548133 - Remove special handling for object 'pluginurl' param. r=dolske,josh 2012-09-05 14:02:06 -07:00
Mike Hommey
35cf4e5266 Bug 784262 - Use generic install/copy rule in rules.mk. r=ted 2012-08-29 08:55:57 +02:00
Mike Hommey
68052c3774 Bug 785269 - Replace a few DEPTH and relativesrcdir. r=ted,r=callek 2012-09-05 16:42:09 +02:00
Phil Ringnalda
f284fdc546 Bug 705047 followup, the || and or keys are right next to each other 2012-09-03 23:42:34 -07:00
Phil Ringnalda
35230b345c Bug 705047 - Disable the plugin crash notification tests that fail on 10.7 on 10.8 too, where they fail too
--HG--
extra : rebase_source : 6a6810ce9ae266cd4a5471f89ec40cefb433505d
2012-08-29 21:33:34 -07:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Marco Castelluccio
06e9980fa6 Bug 778029 - Fix distorted windowless flash with X11 GL layers. r=BenWa 2012-09-01 11:35:56 -04:00
Justin Dolske
d75cb0fe0b Bug 747300 - Add mimetype info to nsIPluginTag. r=josh 2012-08-24 12:04:15 -07:00
Josh Aas
d7572b6aef Bug 598401: Remove support for the Quickdraw NPAPI drawing model. r=smichaud 2012-08-30 15:10:55 -04:00
Landry Breuil
d4d6157146 Bug 785738 Part 3: use PRTime instead of int64_t where appropriate; r=ehsan 2012-08-30 09:10:35 +02:00
Jan Beich
bc7e2ec0c7 Bug 753046 - Apply libc++ fixes after OS_BSD changes. r=cjones 2012-08-28 23:17:07 +02:00
Martin Husemann
15d5f62603 Bug 753046 - Add IPC support for BSDs, dom/plugins/ipc part. r=cjones 2012-08-28 23:16:13 +02:00
Rafael Ávila de Espíndola
fa9b9c167a Bug 786148 - s/IPC/ipc/. r=ted.
This makes our builds a bit more reproducible. Without it when processing

#include "IPC/IPCMessageUtils.h

we end up in

#include "ShadowLayers.h"

which in the final XUL translates into the symbol (run nm -a to see it):

 - 00 0000   SOL ../../../../gfx/layers/IPC/ShadowLayers.h

now when some file in gfx/layers/ipc does

#include "ShadowLayres.h"

the file found is the local one with the lowercase directory name and we end up
with

 - 00 0000   SOL ../../../../gfx/layers/ipc/ShadowLayers.h

--HG--
extra : rebase_source : 96c68f6a3448eedaa280039960df911a9c707cac
2012-08-28 08:41:04 -04:00
Georg Fritzsche
2ff77751e7 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02:00
Bob Clary
4b000d6aa2 bug 681704 - disable js1_5/extensions/toLocaleFormat-02.js on Windows Debug builds due to CRT Assert, r=dmandelin. 2012-08-26 22:51:14 -07:00
Yury
390e1cb5ac Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-25 17:18:44 -04:00
Benjamin Smedberg
a844435618 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
820281ab5d Bug 776208 - Plugin preview overlay. r=johns,jaws,margaret, sr=joshmoz 2012-08-24 16:18:16 -04:00
Benjamin Smedberg
d8f80b82e5 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
9044c64c6a 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
ce71e55555 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
51dedabac3 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
2962d2eed1 Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
8c296bbcd4 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
Ed Morley
cdee31c862 Merge mozilla-central to mozilla-inbound 2012-08-21 21:16:49 +01:00
Benjamin Smedberg
93e7481564 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
David Zbarsky
b27894f902 Bug 784004 - Don't include Layers.h everywhere Part 3 r=nical 2012-08-21 00:06:46 -04:00
Georg Fritzsche
148f87b1c8 Bug 781124 - Report CPU usage for hung flash processes. r=bsmedberg 2012-08-09 12:36:30 +02:00
Georg Fritzsche
d4c52b352e Bug 781133 - Fix locale specific numbers in hung plugin CPU usage reporting. r=bsmedberg 2012-08-09 11:04:27 +02:00
Karl Tomlinson
c45040f5fe b=780059 tidy up API for FindVisualAndDepth r=mattwoodrow
--HG--
extra : rebase_source : c6022bd51aad41b7439531e7c3db1725aabda5e7
2012-08-20 16:20:37 +12:00
Matt Woodrow
430eb94bb3 Bug 782372 - Fix clang build. r=nical 2012-08-20 14:39:10 +12:00
Nicolas Silva
54dd2bf57f 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
3aa72db6f7 Merge the last PGO-green inbound changeset to m-c. 2012-08-18 19:10:45 -04:00
Kyle Huey
af66c5b779 Bug 773435: Remove some extraneous nsIImageLoadingContent includes. r=jlebar 2012-08-18 12:15:04 -07:00
Ed Morley
bcf1b25e7a Backout 6943b37c68cc (bug 751809) for bug 783723 2012-08-18 14:11:13 +01:00
Karl Tomlinson
bf312c647a b=782185 use extend_pad when compositing image layers even for Quartz and X11 r=roc
--HG--
extra : transplant_source : %F7%24N%7E%E0y%C4%2C%D4%9B%DB%83B_Ai6%A1%7E%91
2012-08-14 23:47:49 +12:00
Georg Fritzsche
9037e4a2d2 Bug 751809 - Fix OSX focus issue with click-to-play. r=josh 2012-08-10 20:28:34 +02:00
James Willcox
207589fa83 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
a11f3a245f 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
849cb9958b Bug 782605 - Make nsNPAPIPluginInstance::SetCached infallible; r=roc 2012-08-14 12:10:42 +03:00
Ben Turner
81d9415df5 Bug 781256 - 'Share FileDescriptors across processes in preparation for OS-level sandbox'. r=khuey+cjones.
--HG--
rename : netwerk/base/public/nsIIPCSerializable.idl => netwerk/base/public/nsIIPCSerializableObsolete.idl
extra : transplant_source : %EB%18%9D%E6%B1%C6%26%A2%16%F3%85g%1A%25%B1%8E%A1%E72e
2012-08-16 00:02:32 -04:00
Neil Deakin
b9bd1357f1 Bug 743975 - remove the event handler argument to widget creation methods, r=tn 2012-08-15 14:53:09 -04:00
Aryeh Gregor
4c54d98fcb Bug 782252 - Change named constants to correct types; r=ehsan 2012-08-07 18:11:35 +03:00
David Keeler
c9b632ded8 Bug 749257 - Improve test plugin. r=josh, r=bsmedberg 2012-08-13 10:40:15 -07:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Matt Woodrow
a1302317de Bug 733323 - Remove references to plugin surfaces when the plugin is destroyed. r=roc 2012-08-13 22:11:30 +12:00
Benoit Jacob
475355ed85 Bug 781545 - Fix PluginInstanceParent.cpp build with GCC 4.6 - r=bsmedberg 2012-08-09 11:44:35 -04:00
Benoit Jacob
dc96d22f2e Backed out changeset c69b5af20a85 because Ms2ger already fixed it on m-c and this would only give a merge conflict 2012-08-09 11:58:40 -04:00
Benoit Jacob
33d24be6f4 Bug 781545 - Fix PluginInstanceParent.cpp build with GCC 4.6 - r=bsmedberg 2012-08-09 11:44:35 -04:00
Ms2ger
ec10c5ef78 Bug 781058 - Part b: Fix -Werror=int-to-pointer-cast in PluginInstanceParent; r=mounir 2012-08-09 09:20:23 +02:00
Ms2ger
ea10822364 Bug 781058 - Part a: Fix -Werror=int-to-pointer-cast in nsPluginNativeWindowGtk2; r=mounir 2012-08-09 09:20:18 +02:00
Aryeh Gregor
18faac3070 Bug 743573 - Followup: Fix build warnings in gcc 4.6.3; r=Ms2ger 2012-08-07 11:37:54 +02:00
Ms2ger
aad4f39f58 Merge m-c to m-i. 2012-08-07 10:30:48 +02:00
Ms2ger
c861fd0028 Bug 743573 - Fix a number of build warnings in dom/; r=mounir 2012-08-07 09:06:29 +02:00
Josh Aas
46c8d29b7a Bug 780489: Fix some compiler warnings in plugin and mac code. r=smichaud 2012-08-07 00:09:23 -04:00
John Schoenick
49352588c2 Bug 745030 - Refactor nsObjectLoadingContent loading paths. r=josh,sr=jst 2012-08-06 13:48:25 -07:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Mike Hommey
be451c22dc Backout changeset 2ef51674316a (bug 774032 bonus) for various Mochitest bustages on a CLOSED TREE 2012-08-04 10:38:41 +02:00