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

2609 Коммитов

Автор SHA1 Сообщение Дата
Josh Aas 5c0719ee6f Improve memory mgmt and reduce COM pointer type usage in plugin stream code. b=578913 r=benwa (re-landing, did not cause Ts Shutdown regression) 2010-07-16 15:55:54 -04:00
Josh Aas 84a6c7d7e8 Backed out changeset 764bb4ae886c, bug 578913, it may be at fault for a Ts Shutdown regression. 2010-07-16 13:25:01 -04:00
Josh Aas 5d2b2437ae Improve memory mgmt and reduce COM pointer type usage in plugin stream code. b=578913 r=benwa 2010-07-15 22:30:07 -04:00
Robert O'Callahan 9c297da773 Bug 564991. Part 37: Add test plugin API to make the plugin invalidate itself during each paint. r=josh 2010-07-16 09:08:11 +12:00
Robert Sayre 8a20018d7a merge tracemonkey to mozilla-central. 2010-07-14 06:00:32 -07:00
Josh Aas 5bc839073d Move nsPluginStreamListenerPeer to its own files, clean up the plugin host. b=578447 r=benwa 2010-07-13 16:48:00 -04:00
Josh Aas 994cdd4530 Move nsNPAPIPluginStreamListener implementation to its own file. b=578383 r=jst 2010-07-13 14:42:03 -04:00
Josh Aas 1ba0f35dd7 Remove nsPluginCacheListener, it is unused. b=578285 r=benwa 2010-07-13 02:58:30 -04:00
Benjamin Smedberg cdf1dbd459 Bug 582012 - register identifiers in the ID maps when they are created by the browser, so that a plugin never sees two identifiers for the same string/integer, r=bent 2010-07-28 13:20:33 -04:00
Steven Michaud d5f5560ef8 Bug 577967 - Crash [@ NSAddImage ] on startup on 2.0 branch. r=josh 2010-07-21 11:27:13 -05:00
Chris Jones 97a500c1b9 Temporarily disable plugin crash submission tests. See bug 573290 2010-07-01 20:01:09 -05:00
Benjamin Smedberg 94ef4d2ac3 Merge mozilla-central to the bug 568691 branch.
--HG--
rename : gfx/public/nsITheme.h => gfx/src/nsITheme.h
2010-06-30 14:23:23 -04:00
Ted Mielczarek 677df6df49 bug 574357 followup, don't run the new test on platforms where we don't build crashreporter. Should also fix bug 574118. r=bsmedberg 2010-06-30 11:10:46 -04:00
Ted Mielczarek 6b1c15948b bug 574357 - Plugin crash reports are submitted with Throttleable=0. r=dolske
--HG--
rename : modules/plugin/test/mochitest/test_crash_notify_no_report.xul => modules/plugin/test/mochitest/test_crash_submit.xul
2010-06-30 10:29:05 -04:00
Justin Dolske d559bf005f Backed out changeset e112f68bc941 (bug 574357) due to test failures. 2010-06-29 22:45:30 -07:00
Ted Mielczarek b98c629748 bug 574357 - Plugin crash reports are submitted with Throttleable=0. r=dolske
--HG--
rename : modules/plugin/test/mochitest/test_crash_notify_no_report.xul => modules/plugin/test/mochitest/test_crash_submit.xul
2010-06-29 19:34:39 -04:00
Benjamin Smedberg 0ddcb8539b Bug 574457 - Back out the functional changes from revision 0327e126ea24, bug 569644, because of 100ms (20%) Ts regression on Linux/Mac. This leaves the nsIContentUtils helper function, but restores the plugin host category entry munging. 2010-06-29 16:56:13 -04:00
Benjamin Smedberg b54a384bb8 Merge mozilla-central into the branch for bug 568691, including fixup of the new jetpack binary module. 2010-06-25 19:41:09 -04:00
Benjamin Smedberg f56445a420 Merge mozilla-central into the static-xpcom-registration branch. 2010-06-23 17:26:25 -04:00
Benjamin Smedberg cae1800556 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Chris Jones 6a7afab683 Bug 572295: Add X11Util.h for X11 toolkits. r=karlt,joedrew 2010-06-21 15:35:49 -05:00
Benjamin Smedberg 5b338a8304 Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Benjamin Smedberg 89038557e0 Bug 569644 - Query the plugin host directly when searching for MIME types, rather than using Gecko-Content-Viewer category manager registration, r=bz 2010-06-10 12:42:16 -04:00
Josh Aas 0f98656cd2 Sync NPAPI headers to npapi-headers repository r27. b=571538 r=jst r=mstange 2010-06-15 15:34:32 -04:00
Benedict Hsieh 6a3aead4b2 Bug 570980 - intermittent failure in test_fullpage.html | An error occurred - frameLoaded is not definedfixes race in plugin mochitest. r=bz 2010-06-11 12:02:44 -07:00
Josh Aas d2da161f93 Add support for Cocoa NPAPI complex text input. This patch contains a TSM-based implementation for 32-bit builds, and an NSInputContext-based implementation for 64-bit builds. b=512886 r=smichaud sr=jst 2010-06-09 20:56:17 -04:00
Mats Palmgren 9424435536 Null-check frame (which is needed when bounds width/height is zero) and clamp negative values to zero. b=570884 r=josh 2010-06-09 21:07:41 +02:00
Josh Aas 337e9b5e22 Merge of backout for 8e2ff18bc67e, bug 554524 2010-06-09 01:26:01 -04:00
Josh Aas 852e012340 Backed out changeset 8e2ff18bc67e 2010-06-09 01:25:11 -04:00
Benoit Girard 6c5f81357a Implement InvalidatingCoreAnimation Drawing Model. b=559211 r=josh 2010-06-09 00:11:48 -04:00
Josh Aas 61e82c3cc8 Improve nsNPAPIPluginInstance's stream management. r=jst 2010-06-08 23:28:40 -04:00
Jeff Walden 1d0194191d Bug 518663 - ES5: Object.getOwnPropertyNames. r=jorendorff 2009-09-24 14:33:14 -07:00
Robert Sayre 2d1b88ef3a Merge mozilla-central to tracemonkey.
--HG--
rename : dom/indexedDB/IDBCursorRequest.cpp => dom/indexedDB/IDBCursor.cpp
rename : dom/indexedDB/IDBCursorRequest.h => dom/indexedDB/IDBCursor.h
2010-06-30 11:54:20 -07:00
Robert Sayre 5a5b2a801f Merge mozilla-central to tracemonkey. 2010-06-21 18:01:14 -07:00
Luke Wagner 1581c6693c Bug 565157 - typed JS_AddRoot (r=igor) 2010-06-07 17:05:02 -07:00
Josh Aas 6465ddc1cf Don't build demo Linux printing plugin by default. b=573945 r=jst 2010-06-25 10:47:35 -04:00
Ms2ger@gmail.com dad7dafec7 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Josh Aas 2efcd392e3 Improve stream listener management for plugin instances. b=554524 r=jst 2010-07-09 11:16:47 -07:00
Brad Lassey 5fafb9472d bug 577347 - testplugin doesn't build for android r=joshmoz 2010-07-09 10:57:10 -07:00
Jim Mathies ccb0a89d91 merge backout. 2010-06-02 17:18:04 -05:00
Jim Mathies 2b57386151 Bug 518915 - revert comment changes, 'clipRect' is not valid on all platforms. No bug. 2010-06-02 17:16:11 -05:00
timeless@mozdev.org a21bf76d8b Bug 563200 fix deprecated conversion and comparison between signed and unsigned in testplugin/nptest.cpp. r=jst
--HG--
extra : rebase_source : 79958d664a02ad215198770a0c979b21ba3fca24
2010-05-23 15:32:42 -07:00
Oleg Romashin ac7d9da0e9 Bug 566845 - Make desktop flash plugin works on Fennec QT. r=dougt. 2010-05-21 13:19:57 -04:00
Ben Turner b1f60c4da8 Bug 560974 - 'Firefox 3.6.4 Crash [@ mozilla::plugins::PluginScriptableObjectParent::GetPropertyHelper]'. r=jst. 2010-05-17 15:18:48 -07:00
Josh Aas adf28b76cd Disable plugin mochitest "test_crashing2.html" due to intermittent orange. b=566049 CLOSED TREE 2010-05-17 15:21:46 -04:00
Josh Aas 0ef54ae027 Remove default plugins. b=533891 r=dolske sr=jst 2010-05-14 13:08:12 -04:00
Mitchell Field 895792930a Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Josh Aas 7f3469e08f Backed out changeset 558df3e5b094 due to talos master issue. 2010-05-13 15:56:19 -04:00
Josh Aas 038447fb31 Remove default plugins. b=533891 r=dolske sr=jst 2010-05-13 14:54:26 -04:00
Michael Kohler c00ff9684a Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Josh Aas be38e11f0c Check NPAPI plugin architecture on Windows so we don't list or attempt to load binaries of the wrong arch. b=551471 r=jmathies 2010-05-12 14:13:09 -04:00
Neil Rashbrook 0eda7c5f79 Bug 564068 Test plugin should always use the NPN allocator r=jst 2010-05-11 10:46:38 +01:00
Neil Rashbrook 61308548ca Bug 564070 Remove unnecessary string clone r=jst 2010-05-11 10:45:15 +01:00
Phil Ringnalda 10c510f343 Backed out changeset e074757a15aa (bug 533891) due to xpcshell orange after a clobber 2010-05-10 21:38:56 -07:00
Josh Aas f5fc67e49a Remove default plugins. b=533891 r=dolske sr=jst 2010-05-10 20:21:31 -04:00
Benjamin Smedberg 8af2f56849 Test for bug 564861 - Make sure that integer identifiers work correctly when running OOPP 2010-05-10 17:11:31 -04:00
Benjamin Smedberg 7eaa24c56f Test for bug 564607 - Firefox crashes when an OOPP plugin implements NPClass.enumerate 2010-05-10 17:11:14 -04:00
Josh Aas 9723e11c95 Sync Mozilla's NPAPI headers to npapi-headers r12. b=563448 sr=jst 2010-05-06 01:13:11 -04:00
Josh Aas 99fd8ad2db Backed out changeset 955501353745 2010-05-05 15:58:41 -04:00
Josh Aas a8d685b98a Sync Mozilla's NPAPI headers to npapi-headers r10. b=563448 sr=jst 2010-05-05 15:46:32 -04:00
Peter Van der Beken 1122c69800 Part 1 of fix for bug 560273 (Stop using DOM tearoffs from quickstubs) - add nsINode::GetBaseURI. r=sicking.
--HG--
extra : rebase_source : 5a07f12d9d13d92b796fd5f2cb182b069c3f87bf
2010-04-19 17:40:15 +02:00
Karl Tomlinson bb6a3ccf67 b=518915 remove incorrect comment about clipRect "Used by MAC only" r=josh
--HG--
extra : rebase_source : 008b54b52b8e4e40cf3295c759389494f1cbcfd2
2009-10-14 15:40:44 +13:00
Karl Tomlinson b32b50b220 b=521940 don't paint the plugin socket window to avoid flicker on load r=roc
--HG--
extra : rebase_source : 9a0f5cf10ecd3c939e6f13c14c9bcd88ace5d457
2009-10-14 15:38:31 +13:00
Karl Tomlinson fed2da8bdd b=521872 fix up expose event handling in sample unix print plugin r=gavin
--HG--
extra : rebase_source : b25466a231799cc0f87fdd930b13897a3f7e9b93
2009-10-14 15:35:47 +13:00
Karl Tomlinson a0a8437ae1 b=520107 test plugin should not use gdk_window_foreign_new to lookup pixmap r=roc
--HG--
extra : rebase_source : 2d815c7a9ebda774d8913c518317b96cbbf60ac3
2009-10-05 14:07:38 +13:00
Jonathan Griffin d6f6c88fc1 Bug 518940. Remove Date test to fix orange
--HG--
extra : rebase_source : 440da08b5813f48e250a5a2c8708f6724e7666cf
2009-10-13 14:05:56 -07:00
Jonathan Griffin bf0fb4c2e8 Bug 518940. Fix intermittent orange. 2009-10-12 14:35:21 -07:00
Jonathan Griffin c7b47616ba Bug 518940. Add tests for NPN_InvokeDefault. r=bsmedberg 2009-10-12 10:38:11 -07:00
Rich Walsh d141344aac [OS/2] Bug 516274 - fix plugin focus issues, r=pweilbacher 2009-10-12 11:10:38 +02:00
Jonathan Griffin 02399ead8f Bug 521329. Fix linux compiler warnings in test plugin. 2009-10-08 15:37:08 -07:00
Jonathan Griffin 89986066a5 Bug 517078. Move 'using namespace' out of header files, per comment from roc.
--HG--
extra : rebase_source : a67c25de3a53131df3e7dd68c0ae4209f496ea58
2009-10-07 16:48:31 -07:00
Jonathan Griffin 5fc4e4ae95 Bug 518940. Tests for NPN_Invoke. 2009-10-07 10:27:37 -07:00
Chris Jones 666647a63e Merge backout 2009-10-02 18:09:39 -05:00
Chris Jones 6f1c8167d4 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Jonathan Griffin 35580c6703 Bug 517078. Add plugin stream tests for NPP_ functions returning errors. 2009-10-02 15:18:25 -07:00
Blair McBride 1961f27d40 Bug 514327 - Detect outdated plugins and offer upgrade path. ui-r=beltzner, r=dtownsend,josh 2009-10-02 13:26:04 +02:00
Chris Jones 2515107a6f bug 441324: implement infallible ::operator new(), malloc() and friends. make |new Foo()| infallible, but leave |malloc()| fallible for the time being. r=blassey sr=bsmedberg,vlad 2009-10-01 21:50:09 -05:00
Robert O'Callahan b6f4b4c4b7 Bug 508495. Let CSS borders and padding apply to plugin elements, and fix layout, painting and event handling to work with them. r=dbaron
--HG--
extra : rebase_source : c42240c5a88dc05579b658f8cc29ff289422986b
2009-09-11 13:44:20 +12:00
Robert O'Callahan de2044c22e Bug 509693. Make Windows test plugin in windowed mode have a child widget, and add API so we can check that that child widget is in the right place. r=josh
--HG--
extra : rebase_source : ad7de0da07561499e68229503945713c2f390aa1
2009-09-24 21:35:17 +12:00
Dão Gottwald 932ba917f4 Backed out changeset 1052ee218ba6 2010-05-02 14:19:54 +02:00
timeless@mozdev.org ae1f456232 Bug 556309 getError with STRINGZ_TO_NPVARIANT macro evaluates argument (strdup) more than once
r=jst
2010-05-02 12:48:48 +02:00
Karl Tomlinson 0c0d61b2d6 Test for bugs 539138 and 561308
--HG--
extra : rebase_source : dc21594a77c8ecb91801cf4bc322491fcf00d8b1
2010-04-29 23:02:52 +12:00
Mitchell Field 3d1b2b634a Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Karl Tomlinson 066e78f913 test for bug 540114
--HG--
extra : rebase_source : eea4efe6cd81312c2d7e8894d8662e24868132b8
2010-04-29 09:03:34 +12:00
Karl Tomlinson 4d0ccea88f b=561770 soft fail with todo if the plugin doesn't crash at precisely the right time
--HG--
extra : rebase_source : e035ef1b8c4e40354704c173977c08855081f90c
2010-04-29 08:53:12 +12:00
Mats Palmgren 52f1f485d3 Invert CSS transforms for the mouse event coordinate sent to the plugin. Original fix by Victor <vik@dhtmlx.com>. b=539565 r=josh 2010-04-27 18:15:02 +02:00
Benjamin Smedberg 5fea59ae03 Bug 559425 - Don't assert if a plugin tries to call NPRuntime methods on a plugin in a document that has already navigated away, r=jst 2010-04-27 09:54:37 -04:00
timeless@mozdev.org 2906ef00d9 Bug 559349 - nsNPAPIPluginInstance::ScheduleTimer leaks newTimer when do_CreateInstance fails, r=jst
--HG--
extra : rebase_source : 7766f8a1a3eadcb2e034741d5624d1347fd1edca
2010-04-14 09:03:00 -07:00
Josh Aas 7302b1173d 64-bit Windows NPAPI fix, change wParam and lParam types to uintptr_t. b=560298 sr=roc a=#developers 2010-04-25 19:55:17 -04:00
Josh Aas 845d55cbfa Focus event fixes for Cocoa NPAPI. b=559758 r=roc a=#developers 2010-04-25 16:58:03 -04:00
Julian Seward 1349fdb25f Bug 557209. Initialize 'name' so we don't use it unintialized if GetPluginName fails. r=joshmoz 2010-04-23 14:55:22 +12:00
Rich Walsh a771296b05 Bug 553882 - [OS/2] Plugin-related coding errors. r=wuno 2010-04-22 14:58:49 +02:00
Josh Aas 8599cdf6ad Don't run Flash 10.1 out of process on Mac OS X if machine has an Intel GMA9XX GPU. b=559441 r=bgirard 2010-04-21 19:57:22 -04:00
Josh Aas 9fa9cdcdee Add support for NPCocoaEventWindowFocusChanged. b=555290 r=roc 2010-04-21 02:21:46 -04:00
Oleg Romashin 2fa9633518 Bug 464966 - Add NPAPI Plugin support for Mozilla Qt. r=karlt
--HG--
extra : rebase_source : d86430f750bbedde12e779f0073369a3b05b2427
2010-04-20 21:49:34 +03:00
Chris Jones ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E) a1e2d48349 test for bug 550026
--HG--
extra : rebase_source : 4fde8da0a361a36da3540c9295762b4b744d1e5c
2010-04-21 15:33:14 +12:00
Karl Tomlinson 90f6790452 correct title
--HG--
extra : rebase_source : e2208a02660bd5255933840fe3c051cc4110b6b6
2010-04-21 15:01:56 +12:00
Benjamin Smedberg 978cb2eb48 Test for bug 560213 - heap corruption accessing new properties of a crashed plugin
--HG--
extra : rebase_source : 96ef81257c3b23ddf50daa9df85cae54559fe86a
2010-04-19 10:35:51 -04:00
David Baron 263fc34154 Bug 502301 - fix C++0x narrowing conversion inside {} compilation errors [r=benjamin] 2010-04-20 10:41:21 +02:00
Benoit Girard 3369fbedd0 Backed out changeset 44ee6030f4b2 2010-04-19 02:57:22 -04:00