Commit Graph

775 Commits

Author SHA1 Message Date
Benedict Hsieh
d2e9c8e620 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
dc18091697 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
1a73791960 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
091f1a3ee9 Merge of backout for 8e2ff18bc67e, bug 554524 2010-06-09 01:26:01 -04:00
Josh Aas
7d5bba7e58 Backed out changeset 8e2ff18bc67e 2010-06-09 01:25:11 -04:00
Benoit Girard
22930b5f78 Implement InvalidatingCoreAnimation Drawing Model. b=559211 r=josh 2010-06-09 00:11:48 -04:00
Josh Aas
1a4c1a7bba Improve nsNPAPIPluginInstance's stream management. r=jst 2010-06-08 23:28:40 -04:00
Jeff Walden
52312bac03 Bug 518663 - ES5: Object.getOwnPropertyNames. r=jorendorff 2009-09-24 14:33:14 -07:00
Robert Sayre
27b5a3b6fb 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
690a859635 Merge mozilla-central to tracemonkey. 2010-06-21 18:01:14 -07:00
Luke Wagner
f032df96b4 Bug 565157 - typed JS_AddRoot (r=igor) 2010-06-07 17:05:02 -07:00
Josh Aas
aaabe325da Don't build demo Linux printing plugin by default. b=573945 r=jst 2010-06-25 10:47:35 -04:00
Ms2ger@gmail.com
a4005e2fd1 Bug 538362 - rename nsIDocument::GetPrimaryShell to nsIDocument::GetShell. r=smaug 2010-06-25 15:59:57 +02:00
Josh Aas
83ec99695c Improve stream listener management for plugin instances. b=554524 r=jst 2010-07-09 11:16:47 -07:00
Brad Lassey
adeecd8bf0 bug 577347 - testplugin doesn't build for android r=joshmoz 2010-07-09 10:57:10 -07:00
Jim Mathies
2d302c9199 merge backout. 2010-06-02 17:18:04 -05:00
Jim Mathies
36d1eefef2 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
50835b5fc6 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
04bd2dcac2 Bug 566845 - Make desktop flash plugin works on Fennec QT. r=dougt. 2010-05-21 13:19:57 -04:00
Ben Turner
ca2b5ab87c Bug 560974 - 'Firefox 3.6.4 Crash [@ mozilla::plugins::PluginScriptableObjectParent::GetPropertyHelper]'. r=jst. 2010-05-17 15:18:48 -07:00
Josh Aas
75eaabfc1a Disable plugin mochitest "test_crashing2.html" due to intermittent orange. b=566049 CLOSED TREE 2010-05-17 15:21:46 -04:00
Josh Aas
ed50cb5b07 Remove default plugins. b=533891 r=dolske sr=jst 2010-05-14 13:08:12 -04:00
Mitchell Field
6ad77bd6db 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
9213b9561a Backed out changeset 558df3e5b094 due to talos master issue. 2010-05-13 15:56:19 -04:00
Josh Aas
eb08772da3 Remove default plugins. b=533891 r=dolske sr=jst 2010-05-13 14:54:26 -04:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Josh Aas
ce62913a4e 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
b4742c094a Bug 564068 Test plugin should always use the NPN allocator r=jst 2010-05-11 10:46:38 +01:00
Neil Rashbrook
580eca6489 Bug 564070 Remove unnecessary string clone r=jst 2010-05-11 10:45:15 +01:00
Phil Ringnalda
fa9669c2e2 Backed out changeset e074757a15aa (bug 533891) due to xpcshell orange after a clobber 2010-05-10 21:38:56 -07:00
Josh Aas
a987bef855 Remove default plugins. b=533891 r=dolske sr=jst 2010-05-10 20:21:31 -04:00
Benjamin Smedberg
795fd0f90e Test for bug 564861 - Make sure that integer identifiers work correctly when running OOPP 2010-05-10 17:11:31 -04:00
Benjamin Smedberg
1f9b4b6218 Test for bug 564607 - Firefox crashes when an OOPP plugin implements NPClass.enumerate 2010-05-10 17:11:14 -04:00
Josh Aas
c36a394282 Sync Mozilla's NPAPI headers to npapi-headers r12. b=563448 sr=jst 2010-05-06 01:13:11 -04:00
Josh Aas
8ecc9116c4 Backed out changeset 955501353745 2010-05-05 15:58:41 -04:00
Josh Aas
6af09c6805 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
abd7f913e0 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
8366722865 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
0d378950db 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
c4adb45760 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
b05b6c05b4 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
504750b2f6 Bug 518940. Remove Date test to fix orange
--HG--
extra : rebase_source : 440da08b5813f48e250a5a2c8708f6724e7666cf
2009-10-13 14:05:56 -07:00
Jonathan Griffin
52e5523e7a Bug 518940. Fix intermittent orange. 2009-10-12 14:35:21 -07:00
Jonathan Griffin
03d93c22ae Bug 518940. Add tests for NPN_InvokeDefault. r=bsmedberg 2009-10-12 10:38:11 -07:00
Rich Walsh
bdab68be3d [OS/2] Bug 516274 - fix plugin focus issues, r=pweilbacher 2009-10-12 11:10:38 +02:00
Jonathan Griffin
089ca4c346 Bug 521329. Fix linux compiler warnings in test plugin. 2009-10-08 15:37:08 -07:00
Jonathan Griffin
3b1bf36d73 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
ac074f565d Bug 518940. Tests for NPN_Invoke. 2009-10-07 10:27:37 -07:00
Chris Jones
d215e057fe Merge backout 2009-10-02 18:09:39 -05:00
Chris Jones
08de77b6a4 Backed out changeset 8cbc47eee659 2009-10-02 18:09:08 -05:00
Jonathan Griffin
6b906c1857 Bug 517078. Add plugin stream tests for NPP_ functions returning errors. 2009-10-02 15:18:25 -07:00
Blair McBride
9cdc2ead10 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
3e5fef214c 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
0661a95762 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
69525d5240 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
d31de13158 Backed out changeset 1052ee218ba6 2010-05-02 14:19:54 +02:00
timeless@mozdev.org
001cce67ca 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
bc3ea8f041 Test for bugs 539138 and 561308
--HG--
extra : rebase_source : dc21594a77c8ecb91801cf4bc322491fcf00d8b1
2010-04-29 23:02:52 +12:00
Mitchell Field
9818f00bf2 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
5dcbbe499b test for bug 540114
--HG--
extra : rebase_source : eea4efe6cd81312c2d7e8894d8662e24868132b8
2010-04-29 09:03:34 +12:00
Karl Tomlinson
abb056b156 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
9fdc4d1c16 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
78a942261e 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
ab5979bb55 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
0cf3e8a260 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
483533a0ce Focus event fixes for Cocoa NPAPI. b=559758 r=roc a=#developers 2010-04-25 16:58:03 -04:00
Julian Seward
bf72f64e2d 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
c2505df35a Bug 553882 - [OS/2] Plugin-related coding errors. r=wuno 2010-04-22 14:58:49 +02:00
Josh Aas
5d898ba9aa 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
e57fb03f84 Add support for NPCocoaEventWindowFocusChanged. b=555290 r=roc 2010-04-21 02:21:46 -04:00
Oleg Romashin
8563022a30 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)
98a40f8684 test for bug 550026
--HG--
extra : rebase_source : 4fde8da0a361a36da3540c9295762b4b744d1e5c
2010-04-21 15:33:14 +12:00
Karl Tomlinson
db2ed92c3d correct title
--HG--
extra : rebase_source : e2208a02660bd5255933840fe3c051cc4110b6b6
2010-04-21 15:01:56 +12:00
Benjamin Smedberg
6d3497ef39 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
945430ee19 Bug 502301 - fix C++0x narrowing conversion inside {} compilation errors [r=benjamin] 2010-04-20 10:41:21 +02:00
Benoit Girard
046173124b Backed out changeset 44ee6030f4b2 2010-04-19 02:57:22 -04:00
Benoit Girard
b6d069f2c9 Bug 555281 - Implement Core Animation NPAPI Drawing Model for OOPP. r=joe,josh,cjones
--HG--
extra : rebase_source : 29f581f60c6db0e8945a5121cf2d7007b10a7433
2010-04-18 19:46:33 -04:00
Mike Hommey
f5658f3e9d Bug 550668: nsIPluginTag should expose fullpath 2010-04-16 10:10:00 -07:00
Josh Aas
4e291e29b0 64-bit Mac OS X bustage fix. b=555274 2010-04-14 19:33:50 -04:00
Josh Aas
3271b451f7 Make Mac OS X test plugin more flexible about negotiating an event model. Allow it to negotiate the Cocoa event model when necessary (out of process, for example). b=555274 r=cjones 2010-04-14 19:02:25 -04:00
Benjamin Smedberg
7a02b32b00 Bug 558390 followup, non-Windows build bustage and removal of unnecessary call/hacks for functions which aren't stdcall, r=josh 2010-04-13 12:32:10 -04:00
Benjamin Smedberg
cdb73bccd1 Bug 558390 - Quake Live crashes because it implements NP_Initialize using cdecl, instead of the correct stdcall. Force the calling function to use a frame pointer so that the stack pointer gets reset correctly before we return, r=jrmuizelaar, landing in mozilla-central for bake time pending review from josh or jst
--HG--
extra : rebase_source : dc32598b3ba1ad665b33146d298e01f64b58ef49
2010-04-13 12:10:00 -04:00
Jim Mathies
7707aba969 Bug 558434 - Winless, transparent, silverlight doesn't display correctly. r=josh. 2010-04-12 16:37:28 -05:00
Benjamin Smedberg
1fd3247596 Bug 558397 - Some PDF files don't open when loaded full-page because the nsNPAPIPluginStreamListenerPeer.mURI isn't initialized in that case, r?josh
--HG--
extra : rebase_source : 948a8ef46319d5107247493d6ed158c6c0608f6c
2010-04-12 14:40:38 -04:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Josh Aas
08dbdff9f4 Back out patch from bug 554524 due to crashes. 2010-04-09 11:08:55 -04:00
Justin Dolske
f72ceb215b Bug 544597 - Remap plugin names to a more readable form for plugin-crashed UI. r=gavin, r=jst 2010-04-08 00:45:00 -07:00
Chris Jones
582cc49f92 Bug 557125: Don't use the STL wrappers in testplugin, it's not Gecko code. r=bsmedberg 2010-04-08 13:05:03 -05:00
Ehsan Akhgari
995faa7109 Bug 555289 - Plugin crashed UI should be RTL in RTL locales (Further fixes + tests); r=dao,dbaron 2010-04-07 19:35:09 -04:00
Josh Aas
590f620d5b Fix 64-bit Mac OS X build bustage. b=543405 2010-04-08 05:54:11 -04:00
Ben Turner
3bc6840df2 Bug 556849 - '[OOPP] Reduce unnecessary HasProperty calls for plugin scriptable objects'. r=jst+josh+bsmedberg. 2010-04-07 17:16:19 -07:00
Josh Aas
127a0bc746 Improve plugin loading code, make it more efficient and easier to understand. Allow Mac OS X plugins to modify their NPAPI function table. b=543405 r=jst 2010-04-07 18:14:54 -04:00
Ben Turner
3816aaa018 Backed out changeset 0ed675647700 for failing tests 2010-04-07 15:01:23 -07:00
Ben Turner
7197e38d9d Bug 556849 - '[OOPP] Reduce unnecessary HasProperty calls for plugin scriptable objects'. r=jst+josh+bsmedberg. 2010-04-07 13:55:10 -07:00
Josh Aas
51c1f31f5c Improve nsNPAPIPluginInstance's stream management. Streams shouldn't keep strong references to their instances. Replace ugly linked list storage. b=554524 r=jst 2010-04-07 16:30:32 -04:00
Josh Aas
1880c25884 Test plugin should always draw with Core Text on Mac OS X. b=557521 r=bgirard 2010-04-07 15:31:31 -04:00
Ginn Chen
e6c5ace83f Bug 552622 Failed to build mochitest on Solaris r=ted.mielczarek 2010-04-07 14:17:51 +08:00
Robert Sayre
5927f9eed6 Merge tracemonkey to mozilla-central. 2010-04-05 13:17:29 -04:00
Benoit Girard
442232c869 Put Flash 10.1+ and JavaPlugin2 out-of-process by default on Mac OS X. b=556092 r=josh 2010-04-05 11:25:59 -04:00
Robert Sayre
744599315f Merge mozilla-central to tracemonkey. 2010-04-04 14:15:05 -04:00