Chris Jones
a20ac7326a
Bug 535687: Fix regression in forwarding NPN_InvalidateRect() for OOPP on linux. r=bent
2010-01-04 15:46:34 -06:00
Makoto Kato
86412ece0c
Bug 535495 - build break test plugin on x64 due to changeset 9c16bf14545c. r=josh
2010-01-01 23:00:18 +09:00
Taras Glek
89e73935db
Bug 537398 - Fix copyright headers in libjar r=reed
...
--HG--
extra : rebase_source : 22b2082bcf17534346f833e36e3b4f9d80659782
2009-12-31 11:27:22 -08:00
Taras Glek
bba0d1d004
Bug 536911: fix null dereference topcash r=alfredkayser
...
--HG--
extra : rebase_source : 60f760586ac33354e98e48015cecc4762b3d181a
2009-12-31 10:10:20 -08:00
Dão Gottwald
023f0431f3
Fix test_painting.html bustage on Win and OS X from changeset 4f5630e68d04
2009-12-31 11:11:17 +01:00
Karl Tomlinson
b3ef40a9ee
bug 535687 is not fixed yet so mark todo for mochitest-ipcplugins
...
--HG--
extra : rebase_source : ff6a13dc4dfbbac62071328bc9202eb2f9169d99
2009-12-31 20:32:51 +13:00
Karl Tomlinson
0794ab1863
test windowless invalidation (b=535687) and expose events with clips (b=445707)
...
--HG--
extra : rebase_source : 4befde6a6635d53f60e628b74576cc1dcb1fe1c2
2009-12-31 16:20:51 +13:00
Karl Tomlinson
cf708b8138
b=537301 add sanity checks on expose event rectangle and use for drawmode=solid r=roc
...
--HG--
extra : rebase_source : f2ccccc0d7e16c17f70048b856cf08c4ed20c774
2009-12-31 16:19:30 +13:00
Michael Wu
27fd1e717b
Bug 273025 - "bad logic results in potential leak xor crash based on flow" (Improve GetURL/PostURL code, v4 (2/2)) [r+sr=jst]
2009-12-27 14:26:00 -06:00
Jacek Caban
f4e35e2c70
Bug 535872 - Make nptest_windows.cpp compile on new mingw, r=roc
2009-12-29 14:21:49 -05:00
Benjamin Smedberg
a4e17b427f
Fix the test for bug 535298 - because plugin instantiation is asynchronous, we are crashing the plugin process after we meant to, which leads to a JS error and a hung test
2009-12-22 10:38:42 -05:00
Benjamin Smedberg
47b4c82551
Test for bug 535298, crashes which occur during NPP_New or NPP_Destroy
2009-12-21 12:37:32 -05:00
Benjamin Smedberg
2d48c3e186
Re-enable test_crashing.html on the electrolysis branch to see how random/reproducible it is.
2009-12-17 13:11:49 -05:00
Oleg Romashin
bd7430f326
b=532627; nsPluginHostImpl::WritePluginInfo should call PR_Sync before PR_Close, r=jst
2009-12-23 13:58:54 +02:00
John J. Barton
f06b671c7d
Bug 508562. Make it possible to not have js strict warnings in debug builds. r=bzbarsky, sr=jst
2009-12-22 19:52:13 -05:00
Blake Kaplan
b03049c0f2
Bug 535641 - Move this declaration around. r=jst
2009-12-22 16:54:06 -05:00
Metal Sonic
4c1b34d634
Bug 507387 - fix copyright holder; Mozilla Corporation -> Mozilla Foundation. r=gerv.
2009-12-21 21:50:30 +00:00
Josh Aas
ac8d51b495
Improve plugin instance stopped/started state management. b=535660 r=roc
2009-12-17 21:09:22 -05:00
Josh Aas
76e1222110
Stop storing xpconnect status in the plugin tag, it isn't used any more. b=535502 r=roc
2009-12-17 12:22:46 -05:00
Benjamin Smedberg
e431d632a4
Disable test_crashing.html because it may be causing hangs still and I have little confidence in it yet.
2009-12-16 22:09:42 -05:00
Benjamin Smedberg
211d3738cb
Merge mozilla-central to electrolysis.
2009-12-16 19:02:20 -05:00
Josh Aas
df4585ba38
Fix plugin host so that idle event timer can QI correctly and make the callback. b=535357 r=smichaud
2009-12-16 15:54:16 -05:00
Benjamin Smedberg
e9b0ccabad
Bug 532751 - Notify the nsNPAPIPlugin and the related nsNPAPIPluginInstances when a plugin crashes so that reloading will create a new plugin process, r=josh
2009-12-16 15:08:45 -05:00
Benjamin Smedberg
234f5858ff
Followup to review comment for bug 534866: don't set fCallbacks.size twice on MacOSX.
2009-12-16 09:10:30 -05:00
Benjamin Smedberg
ffeebc91f0
Merge mozilla-central into electrolysis
2009-12-16 08:38:42 -05:00
Josh Aas
a2cdef8b23
Separate plugin tag code from the plugin host. b=533371 r=jst
2009-12-16 08:16:42 -05:00
Benjamin Smedberg
097c85cae3
Bug 534866 - Fix Java and WMP plugins on Windows by initialize NPPluginFuncs.size before calling NP_Initialize, regression from bug 516509 which landed with the e10s merge, a=blocker-regression r?pending from josh
2009-12-15 21:24:26 -05:00
Benjamin Smedberg
daab3b8125
Merge mozilla-central into electrolysis.
2009-12-15 20:31:04 -05:00
Josh Aas
733399cc7e
Windows bustage fix, b=533371
2009-12-15 20:21:57 -05:00
Robert O'Callahan
23ff629cce
Backing out test for bug 533371 to try to fix leaks
2009-12-16 12:54:59 +13:00
Robert O'Callahan
b39fa0417b
Backed out changeset 682926ebca13
2009-12-16 12:54:30 +13:00
Josh Aas
11a169cbb4
Separate plugin tag code from the plugin host. b=533371 r=jst
2009-12-15 17:47:22 -05:00
Neil Rashbrook
1bd6140306
Bug 533355 nsPrefBranch fails to correctly clean up some stale weak references r=bsmedberg
2009-12-15 21:44:48 +00:00
Josh Aas
3b4141f69a
Back out bug 533371 due to Windows bustage.
2009-12-15 22:16:04 -05:00
Josh Aas
df154de1eb
Backed out changeset cbb4f67c6b68
2009-12-15 22:15:39 -05:00
Josh Aas
1417c53753
Backed out changeset 892d3eb10151
2009-12-15 22:14:48 -05:00
Josh Aas
514a6c5e9d
Greatly reduce the number of timers firing when multiple Carbon plugin instances are active on Mac OS X. Should reduce CPU usage. Make all instances use the same (at most two) timers for idle events. b=519598 r=roc
2009-12-15 15:44:52 -05:00
Josh Aas
4f86d84cb3
Add a plugin test that sets and then gets a cookie. b=530980 r=roc
2009-12-15 15:14:03 -05:00
Jim Mathies
23118539a9
Bug 531860 - plugin-alpha-zindex ref test fails with oopp enabled. r=jmuizelaar.
2009-12-14 18:27:25 -06:00
Josh Aas
e4ef56c1b9
Unset the plugin instance on the plugin instance owner if the instance fails to initialize. b=533030 r=jst
2009-12-15 15:28:12 -05:00
Benjamin Smedberg
6cdd11fcd4
test_crashing.html had windows-style line endings.
2009-12-14 09:14:28 -05:00
Benjamin Smedberg
999be86ac2
Merge mozilla-central into electrolysis.
2009-12-14 08:01:18 -05:00
Benjamin Smedberg
422b4b28d2
Merge mozilla-central into electrolysis. One code change was required: in nsDocShell::CreateStaticClone I replaced EnsureDocShell with MaybeCreateDocShell.
2009-12-12 13:38:25 -05:00
Ben Turner
6e20a64631
Backing out changesets ed8d3323a50d, 3930bbdffdd5, 36e32abd2cc8, f4bcfc703ff9, 21051d997076, and 49f489315dd9 at the request of bsmedberg.
2009-12-11 12:48:37 -08:00
Jonathan Griffin
fb84e3c42c
Bug 533482. Let plugin crashtest notify testrunner that no leak log is expected when the plugin process is deliberately crashed. r=bsmedberg
2009-12-09 10:51:38 -08:00
Benjamin Smedberg
fa1b90bc0c
Comment out the crash test until we can fix the leaking nsPluginHost as well as tell the test harness that it's ok that the crashing plugin process didn't print leak information.
2009-12-05 13:53:12 -05:00
Chris Jones
93211d4751
rename conflicting crash() symbol that's breaking the mac build
2009-12-04 23:15:18 -06:00
Benjamin Smedberg
cb534efdff
Oh snap! nsPluginTag.mEntryPoint became a nsCOMPtr in a merge and ended up being double-released. Victory is mine!
2009-12-04 23:27:32 -05:00
Benjamin Smedberg
8613b91908
Add a .crash() method to the testplugin, and test that crashing throws exceptions in the parent.
2009-12-03 15:33:25 -05:00
Benjamin Smedberg
3e06063b78
!MOZ_IPC build bustage from bug 532751
...
--HG--
extra : rebase_source : a0b3a3318d3cd3d03fb034ae4d9fd5ab6cb9454a
2009-12-04 13:53:59 -05:00
Benjamin Smedberg
6e3d83cf38
Bug 532751 - Stop cacheing the nsNPAPIPlugin when it crashes, so that refreshing the page immediately reloads the plugin, r=bent pending r?joshmoz
2009-12-04 13:24:57 -05:00
Benjamin Smedberg
487e2582f8
Bug 532700 - nsNPAPIPluginInstance can outlive its nsNPAPIPlugin, sr=jst pending r=josh
2009-12-03 15:33:27 -05:00
Benjamin Smedberg
767eb11cb4
Merge mozilla-central into electrolysis
2009-12-04 11:28:50 -05:00
Benjamin Smedberg
13786e8a04
Bug 532605 - _write conflicts with symbols in the MSVC runtime. Remove all vestiges of PR_BEGIN_EXTERN_C from nsNPAPIPlugin.{h,cpp}, so that these functions are given C++ mangled names in the namespace we actually declared for them.
2009-12-03 09:17:49 -05:00
Taras Glek
55534754ff
Bug 531231 - "Incorrect mmap cleanup" [r=alfredkayser]
2009-12-03 01:25:39 -06:00
Ben Turner
ce1bd10179
Don't let plugin return a null window object and NPERR_NO_ERROR, r=jst.
2009-12-01 15:08:16 -08:00
Ben Turner
b17063546e
Bug 526401 - Fixup handling of null NPP. r=bsmedberg.
2009-12-01 13:27:13 -08:00
Josh Aas
783c445e79
Fixing bug 520639. Make plugin library unloading independent of the lifetime of nsPluginTag objects. Patch and reviews by jst@mozilla.com and joshmoz@gmail.com, a=blocking1.9.2+
2009-12-02 21:14:13 -08:00
Benjamin Smedberg
9911c2f99d
Merge mozilla-central into Electrolysis
2009-11-30 12:59:43 -05:00
Justin Dolske
0cfb131c4b
Bug 531703 - Minimize disk space usage on Windows CE. r+a=vladimir
2009-12-14 22:28:40 -08:00
Johnny Stenback
c9d4899294
Fix for bug 531290 (Firefox 3.6b4 [@ PL_strlen | nsNPAPIPluginInstance::Initialize(nsIPluginInstanceOwner*, char const*) ] during npietab.dll initialization [@nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const&) | xul.dll@0x9cc3c3 ]). r=josh, a=blocking1.9.2+.
2009-11-30 11:11:20 +01:00
Benjamin Smedberg
f7eb5c27ab
Bug 530894 - Clean up TODOs in the plugin stream remoting: if NPN_{Get,Post}URLNotify fail, clean up the actor properly. Also deal with null postdata, which currently causes significant problems for the in-process case (NPN_PostURLNotify succeeds, but NPP_URLNotify is never called). r=bent
2009-11-25 09:26:01 -05:00
Josh Aas
a4b1dd24fa
Fix a bug that prevents NPAPI plugins from retrieving cookies. b=526462 r=roc
2009-11-25 02:40:46 -05:00
Benjamin Smedberg
7a581148bc
Merge mozilla-central into Electrolysis.
2009-11-24 10:06:03 -05:00
Josh Aas
e535f8aad7
Forgot null checks for NPN_MemAlloc in patch for bug 530138. NPOB.
2009-11-23 14:08:41 -05:00
Josh Aas
f949685c4d
Bug 530138, npruntime sample plugin not using NPN_MemAlloc when it should. NPOB.
2009-11-23 13:57:27 -05:00
Benjamin Smedberg
bda0f732bc
Don't crash if NP_Initialize failed remotely: PluginLibrary::NP_Initialize returns an nsresult, not a NPError; nsNPAPIPlugin::CreatePlugin fails but still sets the outparam; nsPluginHost doesn't properly rv-check nsNPAPIPlugin::CreatePlugin, which causes us to think the bad plugin is actually good. I hate stupid failure chains!
2009-11-20 10:34:20 -05:00
Chris Jones
9a696edbf3
bug 530007: fix crashing edge cases in the hope of getting better diagnostics about failed tests
2009-11-20 02:23:07 -06:00
Benjamin Smedberg
737515b2c8
Merge mozilla-central into electrolysis.
2009-11-19 12:41:46 -05:00
Joe Drew
85d1acb47f
Bug 529732 - Disable gif crashtests until we remove the NS_ABORT_IF_FALSE that fires on them.
2009-11-19 00:49:10 -05:00
Joe Drew
e1b521e0a5
Bug 523528 and Bug 526452 - crashtests.
...
--HG--
extra : rebase_source : dff3ae65f1deb1a411af59ef98b590dba17f46a0
2009-11-18 18:20:31 -05:00
Joe Drew
8310499982
Bug 523528 - Handle compositing frame initialization failure properly. r=jrmuizel
...
--HG--
extra : rebase_source : dc7fe8226424e5a0622bd97fadcbbd6124d4a1f6
2009-11-18 18:20:27 -05:00
Makoto Kato
30d873946f
Bug 526452 - imgContainer::ClearFrame() should handle failure to lockImage/null surfaces. r=jrmuizel
...
--HG--
extra : rebase_source : 013117f751f87ab9bbe087793d044bba1b6f02da
2009-11-18 18:20:24 -05:00
Benjamin Smedberg
453514dea2
Bug 523769 - Don't call into plugin hooks (specifically NPObject.deallocate) while mid-GC, r=jst+mrbkap
2009-11-17 14:51:46 -05:00
Henri Sivonen
41bfb374eb
Bug 502568 - HTML5 parser should flush occasionally when loading pure text. r=bnewman.
...
--HG--
extra : rebase_source : f1de8b7729f1570bf859578bf04192a4c5b6df05
2009-11-17 10:52:30 +02:00
Jim Mathies
1e83668bfe
Bug 520607 - Remove use of "ntlm" auth module and replace with use of "sys-ntlm". r=wtc, cbiesinger. sr=bz.
2009-11-19 16:12:43 -06:00
Joe Drew
d3fe87f97f
Bug 529732 - Remove bogus NS_ABORT_IF_FALSE and reenable tests. r=jrmuizel
2009-11-19 01:09:28 -05:00
Ben Turner
cafe07f11b
Bug 525792 - 'Fix leaks running mochitests'.
2009-11-12 14:16:54 -08:00
Benjamin Smedberg
957e2b5042
The test plugin over-retains its scriptable object: NPN_CreateObject returns a retained object, so there's no need to retain it again. This shouldn't fix the leak but it does expose the bug bent just fixed.
2009-11-11 23:46:56 -05:00
Benjamin Smedberg
17cf638aac
Merge mozilla-central into electrolysis.
2009-11-11 12:35:42 -05:00
Ben Turner
401a6884be
Fix silly bugs
2009-11-09 17:30:02 -08:00
Olli Pettay
2f4c5ea761
Bug 487667 - Clone documents for printing, r=roc+jst+joe+dbaron
...
--HG--
extra : rebase_source : dbab242066ba97c0d7f34a2fb701a1c465f26ec4
2009-12-10 20:02:13 -08:00
Benjamin Smedberg
281b9fd4a8
Merge from mozilla-central.
2009-11-06 09:54:28 -05:00
Jae-Seong Lee-Russo
1003f2dad8
Bug 521191 - xpcshell-tests: some unit tests fail with the '-S' option ('strict' & 'werror' on). r=smontagu,dtownsend,mano
...
--HG--
extra : rebase_source : c5e0853fc64557f699d78c67f2907f6b48958563
2009-11-06 08:34:57 +01:00
Benjamin Smedberg
8fad57cfea
Disable the NPN_SetException tests for the time being until the e10s bug is fixed.
2009-11-04 13:11:20 -05:00
Chris Jones
f1358e3105
bug 525792: fix leaking PluginModules, call NP_Shutdown() on plugins. minor, no r=
2009-11-03 15:37:07 -06:00
Reed Loden
325b9a9083
Revert accidentally committed change. Not my day, apparently. :(
2009-11-10 23:41:46 -06:00
Reed Loden
2d64c217b5
Another follow-up to bug 527784: just use resource:/// across the board because xpcshell doesn't implement resource://app/ like toolkit's nsXREDirProvider does.
2009-11-10 23:39:13 -06:00
Glenn Randers-Pehrson
051d876b20
Bug 504805 - "Update libpng to version 1.2.40" [rs=joe]
2009-11-10 19:39:31 -06:00
Benjamin Smedberg
eba77abeb6
Merge mozilla-central into e10s.
2009-10-28 11:32:00 -04:00
Josh Aas
39b3aac40a
Allow multiple types of OOP plugins to load. b=516509 r=cjones
2009-10-27 15:51:12 -04:00
Chris Jones
e5481210f2
Merge mozilla-central to pick up unit test fixes
2009-10-22 20:33:36 -05:00
Daniel Holbert
49b7752b81
Bug 482402: Enable "svg.smil.enabled" pref by default (enabling SMIL in nightly builds). r=roc
2009-10-22 15:51:23 -07:00
Ben Turner
c650170292
Don't let people get the order of includes wrong in this horrifying patchwork of chromium and mozilla types
2009-10-21 16:01:16 -07:00
Jeff Muizelaar
186c457ded
Add a test for gif comment parsing.
2009-10-21 13:31:04 -04:00
Alfred Kayser
94b107fca0
[Bug 523065] libjar: use malloc instead of calloc for zlib. r=tglek
2009-10-21 11:58:49 +02:00
Benjamin Smedberg
15de24f35e
Merge mozilla-central to electrolysis.
2009-10-20 12:08:28 -04:00
Ginn Chen
8c25058d62
Bug 516665 disorted images with moz-icon://*?size=dialog r=bobbyholley
2009-10-20 14:01:12 +08:00
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
Justin Dolske
0e45efff40
Bug 533665 - Avoid the need to build NSPR for L10N repacks. r=robert.bugzilla a192=beltzner
2009-12-09 14:59:37 -08: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
Bobby Holley
a1133f18cd
Bug 516334: Track image decode notifications to send correct notifications to late-coming consumers (Tp4 orange fix). r=joe
2009-12-14 10:35:47 +00:00
Jonathan Kew
6cabc4d1a6
Bug 531363: test flags correctly in jpeg decoder. r=bholley
2009-12-14 10:35:46 +00:00
Glenn Randers-Pehrson
3f588b2770
Bug 529683 - Code cleanup needed in PNG decoder, r=joe
2009-12-03 18:41:00 -08:00
Jacek Caban
4b876512bd
Bug 531300 - Link failure in testplugin on mingw, r=roc
2009-12-13 09:44:15 -08:00
Jae-Seong Lee-Russo
1d5da93973
Bug 530389 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /modules/plugin/, r=joshmoz
2009-12-13 09:32:10 -08:00
Jae-Seong Lee-Russo
59cc6f0180
Bug 530409 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /modules/libjar/, r=tglek
2009-12-13 09:32:10 -08: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