Commit Graph

1484 Commits

Author SHA1 Message Date
Steven Michaud
64dbfdb0b6 Bug 542068 - Wrong coordinates set on synthesized plugin events. r=josh 2010-03-02 10:59:01 -06:00
Bas Schouten
10b251fa8d Bug 534787: Properly flush and markdirty image surfaces on Locking/Unlocking image data. r=jrmuizel 2010-03-02 02:04:30 +01:00
Benjamin Smedberg
b3d0b9cadd Merge backout of bug 548217 because of topcrash bug 549112 2010-02-27 17:40:03 -05:00
Benjamin Smedberg
0b629a5939 Backed out changeset f829f942873d - bug 548217 because of topcrash bug 549112 2010-02-27 17:36:54 -05:00
Benjamin Smedberg
958042217d Bug 548217 - Make NP_SEEK streams work properly: they shouldn't crash if NPN_RequestRead is called after all the stream data is delivered, and they should call NPP_DestroyStream when NPN_DestroyStream is called, but not before. To this end, the classes nsPluginStreamInfo and nsPluginStreamListenerPeer have been unified: the nsNPAPIPluginStreamListener holds the stream listener peer alive so that additional range requests can be made on it. In addition the nsNPAPIPluginStreamListener holds *itself* alive for NP_SEEK streams, and only calls releases itself/calls CleanUpStream when the plugin explicitly calls NPN_DestroyStream or when the associated plugin instance is being destroyed. r=josh/jst 2010-02-23 21:58:27 -05:00
Jonathan Kew
a77a681fe4 Bug 548177 - remove ATSUI text rendering code. r=jdaggett 2010-02-26 06:20:38 -08:00
Bas Schouten
e3160db84b Bug 527707: Correction from rev 0e1c0b71bf13. Incorrect line came along. 2010-02-25 22:42:27 -08:00
Bas Schouten
dcdb088a10 Bug 527707: Add Direct2D and DirectWrite backend integration to thebes and widget. Preffed off by default r=jrmuizel r=jmathies r=jfkthame 2010-02-25 22:36:07 -08:00
Bas Schouten
09cdfdc786 Bug 545513: Flush surfaces and mark them dirty at the correct points. r=jrmuizel 2010-02-25 10:14:30 -08:00
Benjamin Smedberg
429147b570 Bug 532208: Test for large streams 2010-02-26 13:07:58 -06:00
Benjamin Smedberg
1976dbb0b7 Merge backout of bug 548217 2010-02-25 03:59:05 -08:00
Benjamin Smedberg
7985a1dcb1 Backed out changeset 77dc38d8196e - bug 548217 because even though this patch is correct, it exposes a bug in the OOPP code which got backed out. 2010-02-25 03:57:57 -08:00
Benjamin Smedberg
4a49a68e09 1;2cBug 548217 - Make NP_SEEK streams work properly: they shouldn't crash if NPN_RequestRead is called after all the stream data is delivered, and they should call NPP_DestroyStream when NPN_DestroyStream is called, but not before. To this end, the classes nsPluginStreamInfo and nsPluginStreamListenerPeer have been unified: the nsNPAPIPluginStreamListener holds the stream listener peer alive so that additional range requests can be made on it. In addition the nsNPAPIPluginStreamListener holds *itself* alive for NP_SEEK streams, and only calls releases itself/calls CleanUpStream when the plugin explicitly calls NPN_DestroyStream or when the associated plugin instance is being destroyed. r=josh
--HG--
extra : rebase_source : fba343acbfcaa785c7405552d42f4558424b485c
2010-02-23 21:58:27 -05:00
Ben Turner
fa9f8c3513 Fix #warning, msvc doesn't have that.
--HG--
extra : rebase_source : 06b12ba7cb87045261a1bb042a654cac4d573bd1
2010-02-16 13:04:16 -08:00
Chris Jones
d3f03a7d84 Bug 544945: Mochitest of clipboard interaction that forces the plugin subprocess into a nested event loop on gtk2 platforms. r=karlt
--HG--
extra : rebase_source : f9fb43d4bf4c3991bbdf30f6d999d315ee7a2407
2010-02-16 12:44:26 -06:00
Jonas Sicking
28396b7d9c Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Jonas Sicking
aecb30c8cf Bug 544698 part 1: Move value processing from submission code to elements. Decomtaminate. Kill a few dead functions. r=jst 2010-02-24 21:58:16 -08:00
Benjamin Smedberg
a884a24043 Bug 547894 - Allow null in NPN_GetStringIdentifier(s) to fix a topcrash with the divx plugin, r=bent 2010-02-24 16:34:17 -05:00
Shawn Wilsher
541e2d0c5d Merge for back out of changeset bb9e847a02c8 (bug 193911) due to performance regressions. 2010-02-23 17:13:00 -08:00
Shawn Wilsher
e350020303 Backed out changeset bb9e847a02c8 (bug 193911) due to performance regressions. 2010-02-23 17:12:33 -08:00
Steve Chapel
57829ccc4f Bug 193911 - Increase default disk cache size. r=biesi, sr=bz 2010-02-23 10:04:30 +01:00
Benjamin Smedberg
d33edc0f10 Bug 543802 - blacklist common Xt plugins on Linux (VLC and Acrobat) so they are in-process, until we implement OOPP for Xt plugins, r=karlt 2010-02-20 10:27:58 -05:00
Nickolay Ponomarev
ac179ae81b bug 546629 - fix a wrong comment in the npruntime sample plugin code, r=joshmoz 2010-02-22 16:18:17 +03:00
Mike Hommey
a71ad7f6dc Bug 535990: Null check at PL_DHashTableOperate to avoid crashing r=bsmedberg 2010-02-20 08:55:34 -05:00
Martin Stransky
b3a1889d8e Bug 528900: Null check at _[pop|push]popupsenabledstate to avoid crashing r=jst 2010-02-20 08:53:10 -05:00
Brad Lassey
23156d33b8 Winmo bustage fix from bug 545080 r=dougt 2010-02-20 00:53:38 -05:00
Benjamin Smedberg
171347def1 Followup to bug 545080, convert additional functions to the explicit "W" variants so that even when we're not building with -DUNICODE we always use unicode paths, r=Thunderbird bustage 2010-02-19 15:31:28 -05:00
Benjamin Smedberg
a408137a65 Bug 545080 and bug 537344 - When UNICODE is defined in modules/plugin/base/src, we follow codepaths that aren't right, and the fields of nsPluginInfo are double-converted to UTF8, which is bad, r=josh 2010-02-13 16:59:39 -05:00
Chris Cooper
797fff5d7f Bug535369 - Compile bsdiff for host OS rather than target - r=ted.mielczarek 2010-02-19 11:58:45 -05:00
Karl Tomlinson
0cd7c3af25 b=540114 process reparent requests before removing the X error handler r=cjones 2010-02-18 11:05:24 +13:00
Karl Tomlinson
048a190877 b=540114 reparent foreign children of the socket window before it gets destroyed r=cjones 2010-02-16 10:40:46 +13:00
Benjamin Smedberg
256648ae37 Bug 543977 - NPClass.invoke should be optional when a class just wants to implement NPClass.invokedefault, r=jst
--HG--
extra : rebase_source : 2e1fb9896bcbf12bc6d2772c02a1cc9557efe6eb
2010-02-17 13:30:54 -05:00
Benjamin Smedberg
29f2801f1e Actually run test_GCrace.html from bug 542263 which was committed in revision e9d8b376d014. The missing Makefile change is due to a bad transplant which I didn't notice :-( r=bent
--HG--
extra : rebase_source : 0057b1362919a34460ba3c72afd990952ad53d25
2010-02-17 13:30:37 -05:00
Chris Cooper
f0d6758d41 Bug 535369 - Backed out changeset 20d2d6abd4a2, will wait for tree to stabilize 2010-02-12 15:51:13 -05:00
Chris Cooper
e6131b512a Bug 535369 - Fix bsdiff/libbz2 linking for builds compiled with CROSS_COMPILE - r=ted 2010-02-12 15:47:45 -05:00
Christian Biesinger
9d47066edd bug 531801 Enable caching of all SSL content to disk
r=bz

--HG--
extra : rebase_source : 80227d2c25b1aba9f8c2feb48181686bbda6f412
2010-02-12 18:03:12 +01:00
Karl Tomlinson
a4cd333dde b=543901 only call NPPluginFuncs::getvalue when non-NULL and remove NPP_GetValue NPPVpluginWindowBool NPPVpluginTransparentBool r=cjones 2010-02-04 13:02:48 +13:00
Chris Jones
efa51c360c Bug 544345: Mochitest of plugin hangs. r=bsmedberg
--HG--
extra : transplant_source : %0F%8A%10%CC%7C%A3%1C%F3%A1%05%B0%0D%AA%7EH%A6%29%23%EE%85
2010-02-11 14:32:19 -06:00
Chris Jones
c3c2e2f00c Bug 544345: Kill plugins if they exceed the hang timeout. r=bsmedberg
--HG--
extra : transplant_source : K%BBb%8Dq%C8%26O%7Cj%10%0B%EE%05j%3C%0F%CA%C3%3A
2010-02-11 14:32:18 -06:00
Brandon Sterne
29c6c96c84 Bug 452093 - [r=bzbarsky r=joe] 2010-02-11 15:59:00 -06:00
Oleg Romashin
afd6f98795 bug 544193 - Qt version for plugins embedding functionality required. r=mozbugz. 2010-02-10 22:48:20 +02:00
Benjamin Smedberg
109798179d Followup to bug 543086 - PBBUILD isn't set until you include config.mk, use PBBUILD_BIN instead 2010-02-10 12:40:53 -05:00
Ted Mielczarek
7534f6eb66 Bug 541446 - sort out details of where OOP minidumps should wind up. r=benjamin
--HG--
rename : modules/plugin/test/mochitest/test_crash_notify.xul => modules/plugin/test/mochitest/test_crash_notify_no_report.xul
2010-02-09 17:05:31 -08:00
Ted Mielczarek
d40733d453 Bug 541076 - add minidump id and plugin name to PluginCrashed event. p=ted+dolske, r=jst, r=ted 2010-02-09 17:05:31 -08:00
Doug Turner
c5fb72ab64 Bug 543976 - Clean up Maemo defines. r=ted 2010-02-09 11:02:11 -08:00
Boris Zbarsky
8ee09a16e0 Bug 543086. Don't try to build the default plug-in on mac if we don't have pbbuild. It'll just fail. r=ted 2010-02-09 12:09:06 -05:00
Josh Aas
c04a923d42 Fix our plugin library loading code so that it works in 64-bit builds. 64-bit NSPR does not support bundle loading. b=544579 r=smichaud 2010-02-08 13:22:25 -06:00
Josh Aas
e0d1ee7974 More complete plugin architecture check for Mac OS X. Support 64-bit-only plugins and stop assuming that any universal binary plugin has the correct architecture. Fixes bug 544433 and bug 544437. r=smichaud 2010-02-06 23:29:58 -06:00
Josh Aas
20a6128dae Make all scriptable methods in nsIPluginHost appear before the C++ code. b=542712 r=jst 2010-02-06 16:07:13 -06:00
Zack Weinberg
e628f0c656 Bug 543101: (Test-only change) When comparing filesystem timestamps to zip-file timestamps in zipwriter tests, truncate both values to second precision. r=dtownsend. CLOSED TREE 2010-02-05 11:22:39 -08:00
Benjamin Smedberg
151a3c2903 Bug 544016 - If two plugins are available for a MIME type, prefer the enabled one to the disabled/blocklisted one, r=josh
--HG--
extra : rebase_source : 8c4382719dd8886634a8f89a85d89af1e96f6c4d
2010-02-03 16:52:07 -05:00
Benjamin Smedberg
936c70b8c5 Testcase for bug 542263 - crash at NPObjWrapper_NewResolve or various other places
--HG--
extra : rebase_source : 92a3bc42926934ec4f077657d4c519809fa71df0
2010-02-03 09:09:16 -05:00
Daniel Holbert
7f88cb2313 Backed out changeset 8006ad2d0c06 (tests for bug 542263), since its test 'test_GCrace.html' failed on OSX in its first cycle. 2010-02-02 18:57:15 -08:00
Benjamin Smedberg
49079e3a39 Testcase for bug 542263 - crash at NPObjWrapper_NewResolve or various other places 2010-02-02 17:18:41 -08:00
Benjamin Smedberg
6db43fb19a revert changeset f61e06c31086 (bug 542971) since it caused bug 543376. 2010-02-02 17:18:37 -08:00
Benjamin Smedberg
fb8f40b46e Bug 542248 - ASSERTION: Shouldn't return null and NPERR_NO_ERROR (and then crash) navigation from one silverlight page to another, r=josh 2010-02-02 09:46:25 -05:00
Justin Lebar
e730a1afc6 Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Ben Turner
dac5a3fee3 Bug 542915 - 'Protect DelayedReleaseGCCallback from reentering and double-freeing NPObjects' r=jst+josh.
--HG--
extra : transplant_source : %5B%C1%C3QH%22%22%24%9D%A2%CE%E9%907%941%8F%F5%07%19
2010-02-01 12:35:48 -08:00
Josh Aas
4a93f5fe9f Clean up a bunch of things in nsNPAPIPlugin. b=543339 2010-01-31 16:41:26 -05:00
Daniel Holbert
2d27756ba3 merge after backing out c7a04be6904 on suspicion of causing bug 543034 2010-01-29 18:56:08 -08:00
Daniel Holbert
46ba50b0cb Backed out changeset dc7a04be6904 on suspicion of causing bug 543034. 2010-01-29 18:50:46 -08:00
Daniel Holbert
32a1fb0c00 Bug 542959: Add 'const' to NP_GetMIMEDescription's parameter, to fix "deprecated conversion from string constant to ‘char*’" warning. r=cjones 2010-01-29 12:18:50 -08:00
Josh Aas
46d060dccd Get rid of nsPluginInstanceTag. Clarifies the plugin object hierarchy and makes it easier to get from one object to another. We avoid unnecessary null checks and strong references due to clarified lifetimes dependencies between objects. Makes all of this code less error-prone. b=542971 r=jst 2010-01-29 14:42:54 -05:00
Jesse Ruderman
42a85b7235 Remove duplicated, out-of-date reftest.list instructions 2010-01-29 03:25:48 -08:00
Henri Sivonen
6835111d7b Bug 539215 - Chunk long tree op queue flushes into multiple runnables in the HTML5 parser. r=bnewman.
--HG--
extra : rebase_source : 31f125d0e833aaea2c1bd4755c16d5e7fd5f2e83
2010-01-14 15:58:27 +02:00
Ben Turner
33a8aae576 Bug 542337 - '[OOPP] hang in test_plugin_clipping2.xhtml' Followup fix, r=roc.
--HG--
extra : transplant_source : ._%92%D6%40%FE%1E%92%01%11%7F%BA%2A%EF%24Y%84%DC6%0E
2010-01-28 12:23:07 -08:00
Ben Turner
453fbad6ed Bug 542337 - '[OOPP] hang in test_plugin_clipping2.xhtml' r=jimm. 2010-01-28 11:32:41 -08:00
Justin Lebar
a827ba17fc Bug 500328 - Implement History.pushState(), History.replaceState() methods. r=smaug, r=zpao, sr=sicking 2009-09-01 09:45:05 -07:00
Benjamin Smedberg
4245b947f3 Bug 539063 - Implement a whitelist/blacklist for OOPP, r=josh 2010-01-28 10:31:53 -05:00
Daniel Holbert
345647b7b2 Bug 541828 followup: Convert "sizeof" result to signed integer, to fix signed-vs-unsigned build warning in nsZipArchive. r=tglek 2010-01-28 01:52:35 -08:00
Oleg Romashin
2d419b5929 Bug 534644 - implement Qt ipc/chromium backend, first part. r=benjamin, r=jones.chris.g 2010-01-28 07:22:41 +02:00
Chris Jones
c22de50bdf Bug 542356: Initialize the NPError outparam passed to NPP_New() so that plugins must set it to NPERR_NO_ERROR (and so as to work around a valgrind UMR false-positive for OOPP). r=joshmoz 2010-01-27 17:45:34 -06:00
Benjamin Smedberg
f55c3f38ef When calling a null function pointer, breakpad apparently skips a frame. In order for intentionalCrash() to appear in the minidump, try dereferencing a null pointer instead.
--HG--
extra : transplant_source : %C4et%5B3%B1%163N%84%FF%04%BB%0AC%8E%A7%0AzX
2010-01-27 11:31:03 -05:00
Benjamin Smedberg
05f44c363f Rename Crash() to IntentionalCrash() so that automation can grep for it. Make it non-static, and add trailing instructions to it so that it isn't inlined nor tail-called away in crash reports.
--HG--
extra : transplant_source : %D7R%95%D1%FD%14%F3%F0V%033%0BQ%3F%9E%AB%E4%A7%A7J
2010-01-25 17:26:23 -05:00
Benjamin Smedberg
ce6c755ed6 Bug 541707 - semi-random failures in test_crashing2.html, probably due to interminism in the crash/crashreport/reload sequence
--HG--
extra : rebase_source : eaa6c45f5383e14b7d64dc71bc84c91256144864
2010-01-27 08:49:36 -05:00
Jim Mathies
757c1b3d63 Bug 540052 - [OOPP] Test failure in test_plugin_focus.html. r=bent.
--HG--
extra : rebase_source : bdb40f27e098519ecd71abd75a80e8e612f888f8
2010-01-26 15:40:15 -06:00
Josh Aas
2e7df95914 Get rid of nsPluginInstanceTagList. Make this code easier to deal with and less error-prone. b=535643 r=jst 2010-01-26 20:30:58 -05:00
Gavin Sharp
937dce11b7 Bug 189378: add pref to disable plugins in the browser, r=josh
--HG--
extra : rebase_source : 7f70e2585d6b2840fa801969e5af50c5e81caca8
2009-10-05 05:00:57 -04:00
Jonathan Griffin
fe5929b77f Bug 539755. Fix tests to use 'basic' instead of 'http' for the scheme parameter. 2010-01-26 09:22:49 -08:00
Jonathan Griffin
5040e737a1 Bug 518924. Fix memory leak in NPAPI async callback test and re-enable 2010-01-25 12:20:30 -08:00
Alfred Kayser
b1dfdbc219 Bug 541828: crash in BuildFileList (r=tglek) 2010-01-25 10:21:49 +01:00
Taras Glek
e255b8b9e3 Bug 537165: Don't hold on to OS file handles in JARs r=ak 2010-01-23 11:40:21 -05:00
Phil Ringnalda
574c919e99 Bug 518924 - disable mochitests, since one of them is leaking every Md6 run on Windows and Linux 2010-01-22 22:16:16 -08:00
Jonathan Griffin
d736eba473 Bug 518924. Add tests for NPAPI timers and async callbacks. r=bsmedberg 2010-01-22 17:13:26 -08:00
Andrew Shilliday
6bbf5d3015 bug 500983 - "Use System Proxy Settings" should be default for new profiles. r=bzbarsky 2009-08-05 09:33:00 -04:00
Jonathan Griffin
ce90ed0a0d Test for bug 539755, NPN_GetAuthenticationInfo
--HG--
extra : transplant_source : %1E%F7%C1%BF0%14Ul%0Ex%ABJ%0A%B9Z%0CX4%02%98
2010-01-21 14:35:03 -05:00
Benjamin Smedberg
915969ff29 Bug 541155 - test_loadflags.html doesn't reset prefs properly (manifests as a failure in modules/plugin/test/test_cookies.html), r=dwitte
--HG--
extra : transplant_source : VM%EB%A5.b%EC%CB1%1FGB%C2%A0%0E%C4%60%B0r4
2010-01-21 14:11:49 -05:00
Benjamin Smedberg
bb04a0052e Remove the result-initialization from e9c045ce1618 which shouldn't be needed, bug 540776 fixed this the correct way.
--HG--
extra : transplant_source : %E1%B4%D8%1E%84%8C%8F%A5%3A%E8%C7%FB%17%F2%DA%05%DDE%B6%21
2010-01-20 14:08:42 -05:00
Sid Stamm
32f5ce7b68 bug 515433: CSP Core patch by sstamm and bsterne, r=mrbkap, sr=jst 2010-01-21 10:41:24 -08:00
Michal Novotny
a107124c97 Bug 525741 - two JAR tests fail if modification date of their files is on day daylight saving time starts or ends and after time change. r=dtownsend,tglek 2009-12-16 00:01:08 +01:00
Saint Wesonga
c5d2e640b0 Bug 538816 - Fix typos in "basic" SDK sample plugin. r=josh 2010-01-21 13:16:51 +01:00
Josh Aas
811332f5a6 Fix default plugin drawing on Mac OS X. No bug. r=smichaud 2010-01-20 18:59:38 -05:00
Benjamin Smedberg
83a5e9f243 Followup to bug 530980 - Make the setCookie() method initialize its return value 2010-01-19 17:34:10 -05:00
Josh Aas
dd2c892251 Add a plugin test that sets and then gets a cookie. b=530980 r=roc 2010-01-19 15:45:21 -05:00
Jim Mathies
c816891a55 Bug 539955 - [OOPP] unit test failure in test_plugin_mouse_coords.html. r=bsmedberg.
--HG--
extra : transplant_source : o%008%29%A0%96%60%E1W%7D%1A%C7e%BDJ%B2D%EE%1D%E2
2010-01-15 16:02:01 -06:00
Ben Turner
471d1a3e1b Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind.
--HG--
extra : transplant_source : %F8%7C%B6%C49%24%9A%E0%96%EA%10%E9%C7%C0%EF%EA%D6%7FT%9A
2010-01-15 12:35:57 -08:00
Peter Van der Beken
076d23ead6 Backout 76cdc8296409 and 9baa220b27c0 (Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor') to try fo fix orange. 2010-01-19 13:00:58 +01:00
Makoto Kato
a0bc68ebf2 Bug 539378 - Remove MOZ_BITS macro from tree. r=ted 2010-01-19 14:12:09 +09:00
Ben Turner
37ff4409a5 Bug 521377 - 'NPRuntime: Segfault when NPP_GetValue_NPPVpluginScriptableNPObject returns a null actor'. r=bsmedberg+valgrind. 2010-01-15 12:35:57 -08:00
Marco Bonardo
6b690f6d99 Bug 520165 - Part9 (libpref): fix dependancies, r=mano 2010-01-15 17:40:22 +01:00