Commit Graph

1261 Commits

Author SHA1 Message Date
Jonathan Griffin
861525d628 Bug 522791. Add basic tests for NPN_SetException.
--HG--
extra : rebase_source : 5d4f69cb5c54136775f0752713d055ad9f407c7a
2009-10-19 14:00:59 -07:00
Alfred Kayser
6e5b28c83d Bug 511754 - make nsZipItems point at ZipCentral references to mmapped jar area r=tglek 2009-10-17 17:54:54 +02:00
Jeff Muizelaar
673fac182d Bug 519589. Add some tests for GIF transparency.
This is the begining of the long needed GIF test suite.
2009-10-17 00:06:36 -04:00
Jonathan Griffin
d9912f5e30 Bug 518940. Amend NPN_InvokeDefault tests to include multiple-argument and no-argument tests.
--HG--
extra : rebase_source : 65df67027083f5474a3a82297b9a597b8458d06f
2009-10-16 15:29:15 -07:00
Jonathan Griffin
dee25456a7 Bug 522400. Fix a typo which prevented the invokedefault method on plugin-defined objects from being called. r+sr=jst 2009-10-16 10:27:33 -07:00
Benjamin Smedberg
fa058fc1f1 Merge mozilla-central to electrolysis to pick up bug 515436. 2009-10-12 10:51:38 -04:00
Rich Walsh
bdab68be3d [OS/2] Bug 516274 - fix plugin focus issues, r=pweilbacher 2009-10-12 11:10:38 +02:00
Ben Turner
80b478e8c5 Bug 516524 - Support NPRuntime across processes. r=bsmedberg. 2009-10-07 16:50:48 -07:00
Ben Turner
62534891fc Merge mozilla-central 2009-10-05 16:08:52 -07:00
Alfred Kayser
783a52e434 Bug 521227 - Remove the no longer needed zliballoc chunk optimizations. r=tglek
--HG--
extra : rebase_source : b128aefcb82852afa9c1641009e3f8fed146a70b
2009-10-09 14:30:45 +02:00
Jonathan Griffin
089ca4c346 Bug 521329. Fix linux compiler warnings in test plugin. 2009-10-08 15:37:08 -07:00
Alfred Kayser
5760afb9fe Bug 510844 - Remove memcpy()s for compressed jar reading. r=taras 2009-10-04 19:20:45 +02:00
Taras Glek
e2335c2699 bug 507288: move greprefs/*js into res/greprefs.js r=bsmedberg
cdiff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
2009-10-04 12:44:52 +02:00
Dão Gottwald
d83eea4025 Backed out changeset ddd79f809784 2009-10-04 12:44:27 +02:00
Dão Gottwald
1a1457de94 bug 507288: move greprefs/*js into res/greprefs.js r=bsmedberg
cdiff --git a/browser/installer/package-manifest.in b/browser/installer/package-manifest.in
2009-10-04 12:43:18 +02: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
Henri Sivonen
b099bfa49e Bug 482918 - Move HTML5 parsing off the main thread. r=bnewman.
--HG--
extra : rebase_source : 8d44fdc215e14ed8da34793c1f432bc2bc9f6e05
2009-09-25 20:11:02 +03:00
Chris Jones
0531f8f96b basic support for windowless X11 plugins. gfx not quite working yet 2009-09-24 21:03:59 -05:00
Ben Turner
29c6cc37ec Merge mozilla-central 2009-09-23 13:14:34 -07:00
Benjamin Smedberg
64a1193a12 Followup to bug 517078 - separate out the plugin tests so that each test is separate. This makes it easier to see what the test is doing, has fewer potential interactions between tests, and made it easier to debug Electrolysis. Reworked slightly and r=griffin
--HG--
extra : rebase_source : 8eaf51a366d7cd08db23a29f2d112351a46e4dc7
2009-09-23 09:49:49 -04:00
Serge Gautherie
f51ae8e7f5 Bug 517478 - signon.expireMasterPassword is obsolete and should be removed; (Bv1-TK) Remove obsolete default pref value
r=dolske
2009-09-23 16:34:17 +02:00
Rich Walsh
5c1a94f9fe [OS/2] Bug 517880 - Build Break following removal of nsplugindefs.h, r=pweilbacher 2009-09-22 15:49:26 +02:00
Benjamin Smedberg
8aab401dc1 Merge mozilla-central into electrolysis to pick up new plugin tests. 2009-09-21 10:57:57 -04:00
Zeev Tarantov
ea7a198dd0 Bug 482119 - Remove unused write_icc_profile. r=joe 2009-11-14 19:48:55 +01:00
Alex Pahotkin
b4be575bdb Bug 502933: importing the 7-zip library, r=bsmedberg 2009-11-13 15:03:30 -08:00
Doug Turner
16ce7d7c20 Bug 528429 - MOZ_COMPOSITED_PLUGINS should be disabled when building for Qt. r=vlad 2009-11-13 07:10:53 -08:00
Josh Aas
8c81f341a1 Stop loading plugins with the name pattern "npjava*.dll" on Windows - these are old Java DLLs that won't work in Gecko 1.9.2+. b=527543 r=jst 2009-11-13 04:37:25 -05:00
Joe Drew
7afe68f67c Bug 523528 - Crashes in imgFrame::Draw(). Handle failure to composite frames gracefully, instead of just asserting that it's impossible to get into a situation where we draw paletted frames. r=jrmuizel,vlad,ak 2009-11-12 18:18:40 -05:00
Joe Drew
eab2643889 Bug 497665 and Bug 514605 - Tests. 2009-11-12 18:00:31 -05:00
Joe Drew
2ece21a7fd Bug 514605 - Possible for concurrent reloads of images to return old/different results. r=vlad,jrmuizel
Only set the load ID when we're sure that the entry we're using is valid/going
to be valid. If we're validating an image over the network, we must only set
its load ID after we've validated it.
2009-11-12 18:00:30 -05:00
Joe Drew
48473b5b49 Bug 497665 - Images are downloaded multiple times if defined multiple times on force-reload. r=jrmuizel,vlad
Don't unconditionally remove from the cache if we're force-reloading. Instead,
refuse to validate images when we're force-reloading, unless we've already
validated them for this context.
2009-11-12 18:00:30 -05:00
Dave Townsend
8f787ba4fd Bug 471245: Unpacked extensions inadvertently enable plugins when reading chrome file at startup. r+sr=jst 2009-09-22 08:46:32 +01:00
Ben Turner
66a36315ce Merging mozilla-central once more to hopefully clear windows unit tests 2009-09-20 10:47:21 -07:00
Bobby Holley
26aa9ebc91 Bug 517091 - Don't do an expensive asynchronous RequestDecode() if there's already an active full decoder. r=joe 2009-09-19 12:33:00 -07:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Benjamin Smedberg
d44f878b56 Merge mozilla-central into Electrolysis. 2009-09-18 16:47:18 -04:00
Jonathan Griffin
9891311272 Bug 517078 part I: create mochitests for stream APIs in NPAPI 2009-09-18 10:08:08 -04:00
Alfred Kayser
24bde5cdae Bug 510874 - Replace ZIP error codes with the NS_ERROR_ codes 2009-10-08 16:24:22 +02:00
L. David Baron
04deabf021 Change NS_ABORT_IF_FALSE to NS_ASSERTION since the icon decoder causes it to fire quite a bit. (Bug 518704) 2009-10-07 20:22:42 -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
Alfred Kayser
526c4a4065 Bug 510878 - HG Remove nsJARDirectoryInputStream.cpp
--HG--
extra : rebase_source : e23f76a07a998d8a27ea253c2cfe7e07a3f4b268
2009-10-07 16:28:45 +02:00
Jonathan Griffin
ac074f565d Bug 518940. Tests for NPN_Invoke. 2009-10-07 10:27:37 -07:00
Robert O'Callahan
69e399486e Disable test_windowed_invalidate.html on non-Windows, since it's only needed for Windows and seems to be failing on GTK2 at least
--HG--
extra : rebase_source : dc4114dfddee4d8714f7d5c881356352791e6400
2009-11-04 09:17:50 +13:00
Mats Palmgren
62850abebd Corrupt prefs.js file not removed if backup file (invalidprefs.js) exists. b=495735 r=dietrich r=benjamin 2009-11-03 20:05:31 +01:00
timeless@mozdev.org
a57f8826c1 Bug 525980 Fix typos in npapi.h
r=joshmoz
2009-11-04 07:39:43 +13:00
Robert O'Callahan
3e0434e672 Bug 510082. Silverlight depends on NPN_InvalidateRect working even when the plugin is in windowed mode (although it should really just call Win32 APIs to invalidate its window), so make NPN_InvalidateRect work for windowed plugins. r=josh 2009-11-04 07:39:42 +13:00
Jeff Muizelaar
a28d4dd5a6 Add some tests that exercise bug 525326. r=joe 2009-11-02 13:15:09 -05:00
Jory A. Pratt
8abe24e659 Bug 506599 multiple inclusion of nptypes.h causes build error r=joshmoz 2009-11-02 17:41:36 +08:00
Justin Dolske
c80ef0b0f9 Bug 506798 - Unable to tag a bookmark through the star panel. r=vladimir 2009-10-30 16:13:41 -07:00
Jonathan Griffin
96ff9f6933 Bug 523216. Check for NULL message in NPN_SetException. r=joshmoz 2009-10-30 13:15:22 -07:00
Gijs Kruitbosch
41ba1acfa5 Back out bug 487059, fix tests and EM to cope, r=gavin,beltzner, bug 524995
--HG--
extra : rebase_source : d8414b8de165cf2fa534719c36416d82d21872c6
2009-10-29 14:44:10 +01:00
Michael Wu
d38ee96a91 Improve GetURL/PostURL code
Bug 273025 - bad logic results in potential leak xor crash based on flow; v4, (1/2)
r+sr=jst
2009-10-29 01:29:44 +01:00
Bobby Holley
ba376437d0 Bug 517543 - need a STATUS_DECODE_COMPLETE for imgIRequest.r=joe 2009-10-06 21:39:30 -07:00
Kyle Huey
f5610bb8c9 Mouse wheel scrolling broken with Katmouse enabled - bug 514927 r+a=roc 2009-10-07 00:19:04 -04: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
Oleg Romashin
786c8adad4 b=512884; nsStringGlue should be used in nsIPluginInstance.h; r+sr=jst 2009-09-18 05:35:49 -04:00
Vladimir Vukicevic
371933ca83 b=516213; Freshen WebGL implementation and enable on trunk (part 2); r=mwsteele,roc 2009-09-17 23:01:12 -07:00
Vladimir Vukicevic
191e11b68b b=517729; rename more canvas3d prefs to webgl; r=mwsteele 2009-09-20 12:05:23 -07:00
Markus Stange
55aca69596 Bug 482985 - add hidden pref for activity cursor. r=bz 2009-09-17 15:04:08 +02:00
Reed Loden
5172688f96 Bug 516971 - "Remove lcms from the tree" [r=bholley r=gerv] 2009-09-17 01:17:19 -05:00
Josh Aas
923b0e293c Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
Bobby Holley
ebbc4de5ce Bug 516335 - Calling lockImage multiple times for borderImage. r=joe 2009-09-15 18:33:14 -06:00
Bobby Holley
fa0a6faa59 Bug 516486 - mDiscardable should be immutable - use lockImage() instead for animated images. r=joe 2009-09-15 18:30:52 -06:00
Bobby Holley
05b4959846 Bug 516335 - Stopgap patch to disable failing assertion. r=bz 2009-09-15 00:09:22 -06:00
Bobby Holley
a33d570dcc orange fix - disabled the wrong test in f34cc41267d8. r=lumpy 2009-09-13 22:00:39 -06:00
Bobby Holley
39f194a2cb Bug 516311 - Disable decode-on-draw and discarding until we can figure out what's going on with perf. r=joe 2009-09-13 19:18:59 -06:00
Justin Dolske
916dc97c10 Bug 431950 - disable scary-but-harmless zlib trace warnings in debug builds. r=bholley 2009-09-13 13:26:31 -07:00
Bobby Holley
d6c1c80ee0 Bug 516265 - GIF Decoder doesn't send close notifications if it never gets a size. r=joe 2009-09-13 14:53:55 -04:00
Dão Gottwald
1d0820d47f Backed out changeset 40811b076d51 2009-09-13 17:36:23 +02:00
Taras Glek
ac8ba115d1 Bug 507288 - move greprefs/*js into res/greprefs.js and add that to toolkit.jar. r=benjamin 2009-09-13 15:52:24 +02:00
Dão Gottwald
d2a50b8639 Backed out experimental code from changeset 455f624cabca (CLOSED TREE) 2009-09-13 11:32:45 +02:00
Joe Drew
eb6ccf7482 Tell imgContainer to decode while/after loading, effectively disabling decode-on-draw. Test commit in a CLOSED TREE to check perf impliciations. 2009-09-12 22:41:50 -04:00
Bobby Holley
1d155c0cba Bug 435296 - Tests. r=dolske 2009-09-12 16:44:19 -06:00
Bobby Holley
a5ecb73f88 Bug 512435 - Tests. r=dolske 2009-09-12 16:44:19 -06:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Alfred Kayser
e9d19c5ee2 Bug 514776 - [r=joe sr=vlad] 2009-09-12 00:27:13 -05:00
Josh Aas
dd80aa5a05 Fix some spelling mistakes. No bug. 2009-11-10 00:16:05 -05:00
Josh Aas
d069d0092b Cocoa event model: 1) fix spurious NPP_SetWindow calls 2) propagate event model immediately. b=527115 r=smichaud r=roc 2009-11-09 22:58:48 -05:00
Robert O'Callahan
2705f0b286 Bug 501627. Take out unncessary and harmful surface size check. r=jrmuizelaar 2009-11-10 14:00:36 +13:00
Dão Gottwald
bea18b662b Bug 527417 - nsIPluginHost::getPluginTags aPluginCount out param should be optional. r=josh 2009-11-09 22:11:58 +01:00
Josh Aas
a80cc9a8b5 Add test for NPN_ConvertPoint, only enabled for Mac OS X for now. b=500406 r=roc 2009-11-09 13:19:26 -05:00
Taras Glek
7ff862491b Bug 525755 - crash [@ nsZipArchive::BuildFileList] using jar: with the file protocol without a '/' for the root of the filesystem. r=alfredkayser 2009-11-07 16:19:20 +01:00
Dave Townsend
5c06d159bb Bug 526651: Interfaces changed between the 1.9.2 branch and trunk with no IID rev. r=joe, r=mak77, r=myk 2009-11-06 14:33:17 -08:00
Bobby Holley
11bcc9cfff Bug 512269 - UUID rev that should have been in the last push.r=joe 2009-10-15 21:17:04 -07:00
Bobby Holley
1258825d19 Bug 512269 - imgIDecoder shouldn't use an nsIInputStream for input. r=joe 2009-10-15 19:54:44 -07:00
Alfred Kayser
6b7fae6459 Bug 519589 - Restore our handling of transparent pixels outside the colormap's bounds. r=joe 2009-10-15 21:37:39 -04:00
Robert O'Callahan
5220250e10 Disabling plugin test for bug 520436 to figure out test failures on Windows and Linux
--HG--
extra : rebase_source : a82298cc3463f744f7b577bcc16403a76eac1961
2009-10-15 17:56:24 +13:00
Robert O'Callahan
93541fb15e Bug 514974. Test plugin reads from instanceData just after freeing it. r=joshmoz
--HG--
extra : rebase_source : 21adecafa47b6a476e191df6d0db10909505f02c
2009-09-07 12:35:14 +12:00
Benjamin Smedberg
84f70d6422 Bug 510963 - NPN_GetValue(NPNVPluginElementNPObject) is broken, r=josh
--HG--
extra : rebase_source : e1242620d2adfee22a5c8ede076e4d43916e72d9
2009-09-10 14:11:30 -04:00
Josh Aas
193b0904be Remove unused member variable that should have gone away in bug 506985. r=smichaud 2009-09-08 12:36:19 -04:00
Alfred Kayser
a06970896c Bug 513738 - [r=JOEDREW!] 2009-09-04 20:47:11 -05:00
Walter Meinl
c61a75f84d Bug 507807 - Clean up linking on OS/2; clean plugins on trunk for real
r=Weilbacher
2009-09-05 00:29:13 +02:00
Benjamin Smedberg
008e309c7f Bug 513032 - remove empty conditionals in our makefiles, r=ted 2009-08-27 10:48:18 -07:00
Marco Bonardo
00515c1a06 Backed out changeset 3cab7a0c2c3d due to mochitest timeout. 2009-09-03 14:15:19 +02:00
Alfred Kayser
411a24dcdd Bug 510844 - "Remove memcpy()s for compressed jar reading" [r=tglek] 2009-09-01 14:47:00 -05:00