Commit Graph

2486 Commits

Author SHA1 Message Date
L. David Baron
8ea27a6080 By default, disable MozAfterPaint for content. (Bug 608030) r=roc a=blocking2.0:betaN+ 2011-01-24 16:23:08 -08:00
Robert O'Callahan
b4d3c9dfc6 Bug 620991 - test_windowed_invalidate.html runs after mochitest shutdown, trips assertion / JS_Assert; r=ehsan a=NPOTB 2011-01-24 17:16:39 -05:00
Daniel Holbert
9cd70e1bf6 Bug 627858: Use AutoSaveRestore objects in SVGDrawingCallback::operator(), rather than manually saving & restoring gfxContext state. r=jwatt a=roc 2011-01-24 10:32:34 -08:00
L. David Baron
97a3f60be3 Backout changeset 3248feddc867 (bug 608030). 2011-01-23 22:00:04 -08:00
Ehsan Akhgari
0404c89826 Merge backout; a=bustage 2011-01-24 00:10:12 -05:00
Ehsan Akhgari
7fa15139c1 Backed out changeset afe951130c65 because of test failure 2011-01-24 00:10:02 -05:00
Ehsan Akhgari
8756940e1c merge landing; a=... 2011-01-23 23:31:52 -05:00
Max Stepin
9be21cad7f Bug 222176 - Animated GIF loops 1 time too many (additional patch); r,a=joe 2011-01-23 23:29:32 -05:00
Robert O'Callahan
2a0a7fad75 Bug 620991 - test_windowed_invalidate.html runs after mochitest shutdown, trips assertion / JS_Assert; r=ehsan a=NPOTB 2011-01-23 23:27:18 -05:00
L. David Baron
0ac20ad07d By default, disable MozAfterPaint for content. (Bug 608030) r=roc a=blocking2.0:betaN+ 2011-01-23 20:21:40 -08:00
Jacek Caban
b9153f99b1 Bug 627213 - nptest.rc doesn't compile with windres r=jfkthame a=test-only 2011-01-22 12:58:23 +00:00
Jacek Caban
c846db75fb Bug 611984 - Compilation failure on mingw in modules/libjar after bug 598416 landing r=tglek a=benjamin 2011-01-22 12:56:28 +00:00
Max Stepin
29190cb208 Bug 222176 - Animated GIF loops 1 time too many; r=bholly,joe a=joe 2011-01-21 15:18:01 -05:00
John Daggett
a1b47791ac Bug 602792. Use GDI for font table loading to avoid excessive dwrite I/O. r=bas, a=blocker 2011-01-22 01:44:32 +09:00
Josh Aas
239a2a4f95 Bug 610015: Implement updated Cocoa NPAPI text input spec. Part of this patch written by Steven Michaud. r=josh r=smichaud a=blocking2.0betaN+ 2011-01-20 20:08:11 -05:00
Ryan VanderMeulen
e7f3ef6be5 Bug 586130 - Warning C4099 fixes (libpr0n). r=joedrew a=bsmedberg 2011-01-20 19:49:09 -08:00
Alon Zakai
1c7050355d Bug 610417 - Optimize eviction in bfcache. r=smaug a=blocking-fennec 2011-01-19 11:57:36 -08:00
Phil Ringnalda
a23587b471 Bug 620991 - disable test_visibility.html on Windows, in hopes that it will stop the apparent test_windowed_invalidate.html errors after shutdown, and stop letting a potentially unrelated leak sneak in under cover of those errors, a=test 2011-01-18 20:45:57 -08:00
Josh Aas
5a9d57a6d9 Bug 623695: Sync to npapi-headers rev 34. r=dwitte a=josh 2011-01-18 21:32:35 -05:00
Josh Aas
f9f8b1058b Fix line endings in PluginPRLibrary.cpp (Windows -> UNIX), no bug. a=josh DONTBUILD 2011-01-18 15:05:30 -05:00
Chris Leary
6805a382ac Merge tracemonkey to mozilla-central. (a=blockers) 2011-01-18 11:19:21 -08:00
Jonathan Kew
ed55ace99d bug 607121 and bug 626180 - add sample non-Latin text to the test plugin description, to verify that we manage encodings properly. r+a=bsmedberg 2011-01-18 18:27:26 +00:00
Jonathan Kew
4ab69a9708 bug 626180 - partial backout of bug 607121 (undo encoding-munging from changeset 3f8bee2e48a7) which broke non-ASCII plugin info. r+a=bsmedberg 2011-01-18 18:26:19 +00:00
Luke Wagner
b6dbb22d1d Bug 595278 - Make sure the context outlives the request in NPAPI _evaluate (r=jst) 2011-01-12 10:57:06 -08:00
Chris Leary
b5d79c6a75 Merge mozilla-central and tracemonkey. (a=blockers) 2011-01-14 09:29:15 -08:00
Chris Leary
3d7d7e57a8 Merge mozilla-central into tracemonkey. 2011-01-14 01:45:33 -08:00
Josh Aas
aac95a679d Bug 625164: Fix bug in which we send the wrong URL to OOP plugins via NPP_URLRedirectNotify. r=dwitte a=blocking2.0betaN+ 2011-01-13 17:52:15 -08:00
Ted Mielczarek
01276d8831 bug 620974 - Add Breakpad processor code to binary test component to allow testing minidump contents. r=bsmedberg a=testonly
--HG--
extra : rebase_source : ba728fe297e9ce066438719b839e07deb38b1dd5
2011-01-12 14:14:15 -05:00
Chris Leary
887da71fad Merge mozilla-central into tracemonkey. 2011-01-12 00:07:40 -08:00
Andreas Gal
108bc95880 Add API to enable/disable per-compartment GCs (bug 624229, r=shaver). 2011-01-09 22:57:21 -08:00
Jeff Muizelaar
11c0641ff9 Bug 623446. Turn the layer acceleration prefs into a tri-state. r=joe,a=b
This removes:
 layers.accelerate-all
 layers.accelerate-none

and adds:
 layers.acceleration.disabled
 layers.acceleration.force-enabled

This is closer to what D2D does.
2011-01-11 17:01:37 -05:00
Jonathan Kew
2cb0c69426 bug 607121 - convert plugin info strings from windows-1252 to unicode. r=jmathies a=roc 2011-01-11 11:17:01 +00:00
Jacek Caban
c980e050a6 Bug 614631 - Macros for SEH exception depending on compiler configuration r+a=benjamin 2011-01-11 10:16:59 +00:00
timeless@mozdev.org
610550a597 Bug 620898 warning ... will be initialized after mWindowId in Image and imgRequest. r=joe a=joe 2011-01-10 21:59:58 -08:00
Daniel Holbert
15a7fae4e1 Bug 623945: Null-check animationController before using it, in SVGDocumentWrapper::StartAnimation/StopAnimation. r=roc a=joe 2011-01-10 21:58:00 -08:00
Ehsan Akhgari
0b74bfc720 Merge backout; a=beta9 CLOSED TREE 2011-01-10 19:40:56 -05:00
Ehsan Akhgari
44af14c4ca Backed out changeset d2856d5970b6 (bug 619487) because of bug 624514 2011-01-10 19:40:29 -05:00
Dan Witte
af4f48c099 Bug 580790 - Connection::initialize can access preferences off of the main thread. r=sdwilsh, sr=bsmedberg, a=betaN+ 2011-01-05 16:32:31 -08:00
Patrick McManus
4016cea6b9 bug 623921: Out of an abundance of caution back out feature: 592284 - HTTP Syn Retry r=honzab a=backout 2011-01-07 11:11:22 -05:00
Josh Aas
8ddaa855bc Bug 611296: Fix bug that caused the Quicktime plugin to fail to load for some Mac OS X users. Don't require that the MIME plist locale match the current locale. r=sgreenlay a=blocking2.0betaN+ 2011-01-07 07:47:41 -05:00
Josh Aas
54af1ba72c Bug 623638: Fix crash in plugin stream code by adding back a NULL check. r=jst a=blocking2.0beta9+ 2011-01-07 07:51:36 -05:00
Chris Jones
68df72ea72 Test for bug 616441. a=b 2011-01-05 22:54:47 -06:00
Chris Jones
85d09be020 Bug 616414: Notify content processes when a pref has been cleared. r=dwitte 2011-01-05 22:54:47 -06:00
Doug Turner
235415e850 Bug 613551 - JSGC_MAX_MALLOC_BYTES is too large on mobile. Pref change. [r=jst] a=blocking-fennec
--HG--
extra : rebase_source : 91601ad63a7b29966ce3ad8e944a712bf1e93bb1
2011-01-05 15:11:14 -08:00
timeless@mozdev.org
5d6d929c9e Bug 619797 - imgRequest::Init should manage observer more carefully, r+a=joedrew 2011-01-09 09:48:00 -08:00
Robert O'Callahan
84866f15c4 Bug 601064. Fix tests (and test this bug). a=tests 2011-01-04 16:56:09 +13:00
Boris Zbarsky
55e25aaf58 Bug 625256. Make the DOM timeout clamp a pref, but enforce that it's nonnegative. r=jst, a=jst 2011-01-14 21:14:41 -05:00
Phil Ringnalda
29b4aeecce Disable test_xulbrowser_plugin_visibility.xul on Windows. (Bug 625651) r=roc a=tests 2011-01-14 16:42:49 -08:00
timeless@mozdev.org
21e1e178d2 Bug 584969 Remove references to nsIFileSpec from the "supported" set in nsIPrefBranch
r=dveditz a=bsmedberg
2011-01-05 14:11:56 -08:00
Josh Aas
a29aeee94a Bug 475991: Tests for NPAPI redirect handling. r=dwitte a=blocking2.0betaN+ 2011-01-05 14:46:42 -05:00
Josh Aas
874361668d Bug 475991: Extend NPAPI to allow plugins to participate in redirect handling. r=bsmedberg a=blocking2.0betaN+ 2011-01-05 14:44:21 -05:00
Chris Leary
1d3c0638b7 Merge mozilla-central into tracemonkey. 2011-01-04 10:51:14 -08:00
Robert O'Callahan
534f3f6418 Backing out 3883e79e5a9a and 0653a37b7230 (bug 601064) due to test failures, a=backout 2011-01-04 17:48:11 +13:00
Robert O'Callahan
3d63fb9b64 Bug 601064. Fix tests (and test this bug). 2011-01-04 16:56:09 +13:00
Doug Turner
9d720ff78a Bug 607860 - remove navigator.mozNotification from Firefox desktop. r=jst/jonas a=betaN+ 2011-01-03 16:37:01 -08:00
Robert O'Callahan
635ece94a9 Bug 621260. Don't run StopPluginInstance multiple times on the same instance. Also, let StopPluginInstance do the call to instance->Stop(). r+a=josh 2010-12-20 14:37:43 +13:00
Vladimir Vukicevic
0285a9d935 b=578877, reenable WebGL on Linux; r=vlad,a=b 2010-12-27 12:05:01 -08:00
Taras Glek
ffc42c44ee Don't do IO in nsPluginsDir::IsPluginFile on Mac r+a=josh 2010-12-27 11:15:15 -08:00
Jacek Caban
d83e8cb533 Bug 620668 - spike in crashes [@ nsAString_internal::IsEmpty() ] bustage fix r+a=bustage-fix 2010-12-26 22:51:06 +00:00
Robert O'Callahan
47439ff0e8 Bug 620668 - spike in crashes [@ nsAString_internal::IsEmpty() ] r=joshmoz a=blocking:beta9+ 2010-12-26 22:36:33 +00:00
timeless@mozdev.org
decad3427b Bug 620297 crash [@ nsPluginHost::SetUpPluginInstance] if !aOwner, r+a=josh 2010-12-20 01:13:00 -08:00
Chris Leary
272d457a20 Merge mozilla-central to tracemonkey. 2010-12-29 19:25:04 -05:00
Vladimir Vukicevic
89eb608706 b=622184; implement webgl colour conversion/premultiplication semantics; r=joe, a=b 2011-01-12 17:45:13 -08:00
Makoto Kato
d0748609ac Bug 620140 - Bug 616271 causes CanLoadPlugin returns failure when plugin path is non-ASCII. r=joshmoz a=blocking-beta9+ 2010-12-20 12:52:03 +09:00
Robert O'Callahan
e835ebeb75 Backing out part 5 of bug 617152. a=blocking 2010-12-24 15:15:11 +13:00
Robert O'Callahan
5509213034 Backing out ade671d15514 2010-12-24 15:14:04 +13:00
Rob Campbell
f22fbb6193 Bug 475991 - Extend the NPAPI to allow plugins to participate in redirects - fix line endings; r=rcampbell, a=test-fix; DONTBUILD 2010-12-23 12:30:44 -04:00
Robert O'Callahan
7faddbb34c Bug 617152. Part 5: nsPluginHost::StopPluginInstance should skip plugin instances that are already destroyed (e.g. because the plugin was disabled). r=josh 2010-12-20 14:37:43 +13:00
Daniel Holbert
f7c70c8531 Bug 272288 Patch 3: Evaluate whether we should start animating, when SVG-as-image document finishes loading. r=roc a=roc 2010-12-19 16:45:29 -08:00
Daniel Holbert
ebf2a2f077 Bug 272288 Patch 2: Store override preserveAspectRatio values in property table on image document's root node, when painting <svg> image element. r=roc a=roc
--HG--
rename : layout/reftests/svg/image/blueRect10x10.svg => layout/reftests/svg/image/blueRect10x10-viewBox.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-svg.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-svg.svg
2010-12-19 16:45:29 -08:00
Robert O'Callahan
863afc3119 Bug 617718. Don't process invalidates if we're stopping. r=bsmedberg a=bsmedberg 2010-12-21 15:03:00 -08:00
Taras Glek
0ea07d11c6 Bug 620114 - File size of pluginreg.dat increases steadily r=josh a=blocking-betaN 2010-12-20 15:38:10 -08:00
Scott Greenlay
e748997ab8 Bug 616271 - missing bool bits r=taras a=blocking-betaN 2010-12-20 15:38:04 -08:00
Daniel Holbert
dae760be62 Bug 615423: Add null-check to SVGDocumentWrapper::StartAnimation, to fix shutdown crash. r=roc a=blocking-final 2010-12-20 10:44:05 -08:00
Mihai Sucan
6af7fd5fc9 Bug 603706 - Need a way to track the originating window for all nsIConsoleMessages; r=joe,bzbarsky, a=blocking2.0 2010-12-20 12:21:59 -04:00
Matthew Gregan
fc868e4d64 Bug 584259 - Add support for StereoMode element. r=roc a=roc 2010-11-03 12:43:29 +13:00
Patrick McManus
dd0c0a9a27 Bug 613977 - Intermittent invalid certificate error prompt (partial) r=honzab a=blocking-beta9
Bug 614677 - Connection is reset message appears intermittently
Bug 614950 - Connections stall occasionally after 592284 landed

A couple of follow-on changes to 592284 rolled together to prevent
diff conflicts

1] Set the securitycallback information for unused speculative
connections in the connection manager to be the new cloned connection
rather than the one they originated on. (613977)

2] When adding unused speculative connections to the connection
manager, due so with a short timeout (<= 5 seconds) as some servers
get grumpy if they haven't seen a request in that time. Most will
close the connection, but some will just sit there quietly and RST
things when the connection is used - so if you don't use the
connection quickly don't use it at all. This is probably a L4 load
balancer issue, actually. Mozillazine illustrates the
problem. Connections are made in bursts anyhow, so the reuse optimization is
likely still quite useful. (614677 and 614950)

3] mark every connection in the connection manager persistent
conneciton pool as "reused". This allows the transaction to be
restarted if a RST is recvd upon sending the requests (see #2) - with
the conservative timeout this is now a rare event, but still possible
so recovery is the right thing to do. (614677 and 614950)

4] obtain an nshttpconnection object from the connection manager,
subject to the max connection constraints, at the same time as
starting the backup conneciton. If we defer that until recycling time
the exceeded limits of the SocketService can cause problems for other
connections.

also re-enables the syn retry feature by default.

r+ honzab
2010-12-16 08:50:36 -05:00
Shawn Wilsher
ade39d2c6a Merge mozilla-central to Places. 2010-12-13 15:08:04 -08:00
Shawn Wilsher
5f893d748b Merge mozilla-central into Places. 2010-12-07 15:06:32 -08:00
Steven Michaud
afd3294490 Bug 594482 - Java applets broken with content policies. r=josh,bsmedberg a=blocking2.0BetaN+ 2010-12-07 15:18:50 -06:00
Daniel Holbert
e8adc001f2 Bug 614392 patch 2: Update concrete imgIContainer::GetType() implementations with NS_IMETHOD_(). r=joe sr=bz a=blocking-beta9+ 2010-12-07 10:40:28 -08:00
Daniel Holbert
0ade119807 Bug 614392: Use [noscript, notxpcom] instead of "%{C++" for convenience method imgIContainer::GetType. r=joe sr=bz a=blocking-beta9+ 2010-12-07 10:38:21 -08:00
Shawn Wilsher
2ed7d826a8 Merge mozilla-central into Places 2010-12-06 09:48:54 -08:00
Shawn Wilsher
9cdab945a8 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Marco Bonardo
c9b0f25d0f Fix a broken permission due to a bug in merging execute permission on Windows. a=bustage 2010-11-18 22:21:22 +01:00
Shawn Wilsher
abacada9dc Merge mozilla-central into Places 2010-11-17 10:55:34 -08:00
Daniel Holbert
cca5a43b65 Bug 610796 followup: Fix non-libxul build issue from main patch, by using a virtual function call to a helper method. (Revert this changeset once we drop support for non-libxul builds). r=roc a=blocking-final+ 2010-11-16 15:19:21 -08:00
Daniel Holbert
d55cd7386a Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert
c8a54bc253 Backed out changeset 5a5ead36d721 (bug 610796) due to non-libxul-build bustage 2010-11-16 11:24:04 -08:00
Daniel Holbert
ff2dff48de Bug 610796: In SVG-as-an-image helper-documents, clear rendering observer lists at xpcom shutdown time. r=roc a=blocking-final+ 2010-11-16 10:35:59 -08:00
Daniel Holbert
3a7978ffc3 Bug 610491: Preemptively stop SVG animations in SVG-as-an-image in OnStartRequest. r=roc a=roc 2010-11-16 10:35:59 -08:00
Ryan VanderMeulen
b3c91154cb Bug 578546 - Fix more MSVC warning spam by removing unneeded declarations. r=cjones a=benjamin 2010-11-16 10:21:53 +01:00
Mounir Lamouri
829dd41312 Bug 595062 - Trying to fix intermittent mochitest-ipcplugins failureas in test_cocoa_focus.html. r=jst a=tests 2010-11-15 23:56:55 +01:00
Scott Greenlay
40ed798210 Bug 611197 - Force pluginreg.dat refresh to propagate fix for Quicktime pdf display bug, r=josh, a=beta8+ 2010-11-15 14:21:50 -08:00
Scott Greenlay
9bf5461ab4 Bug 611136 - Support WebPluginTypeEnabled key in com.apple.quicktime.plugin.preferences.plist, r=josh, a=betaN+ 2010-11-15 14:21:18 -08:00
Neil Rashbrook
91b12103bb Bug 608958 Omnijar doesn't load preference files in reverse alphabetical order r=dwitte a=bsmedberg 2010-11-10 08:20:52 +00:00
Daniel Holbert
e507b06630 Bug 610748: Stop SVGDocumentWrapper from trying to unregister as a shutdown observer (and spamming a failure warning) *during* shutdown. r=roc a=roc 2010-11-09 21:50:29 -08:00
Josh Aas
3e01275064 Bug 610238: Sync to npapi-headers rev 31. r=bsmedberg a=blocking2.0betaN+ 2010-11-09 10:26:44 -05:00
Walter Meinl
48d1e8997b Bug 577011 - [OS/2] make _declspec unconditionally default symbol export r=daveryeo@telus.net a=benjamin
--HG--
extra : rebase_source : f73a926174bd7905f177b2e914492e42b90ac8c0
2010-11-09 11:13:03 +01:00
Taras Glek
da127e365a Bug 610040 - OOM abort under nsBufferedStream::Init. r=dtownsend
--HG--
extra : rebase_source : 52ef8d0c9333d75e5e67e2ca042131159102b15f
2010-11-09 11:12:46 +01:00
Chris Jones
703c658a1c Bug 562424: Switch IPDL interfaces to infallible TArray. r=bent a=blocking 2010-11-08 20:49:00 -06:00
Chris Jones
28d67e6217 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Chris Jones
fb1d02f4d7 Test for bug 598862. r=karlt a=blocking 2010-11-08 20:48:59 -06:00
Ehsan Akhgari
ffa07f5b9a Bug 603679 - Fix a regression causing the Shockwave plugin to fail to load; r=bsmedberg a=blocking-beta8+ 2010-11-04 14:45:51 -04:00
Daniel Holbert
24d6b4c874 Bug 609814: Unregister SVGDocumentWrapper as XPCOM shutdown observer when we're done with it. r=roc a=blocking-final 2010-11-08 09:45:18 -08:00
Steven Michaud
a1ca2869fa Bug 601182 - Mochitest for this bug. r=josh a=test 2010-11-15 15:23:51 -06:00
Benjamin Smedberg
217e5c109d Disable test_positioning.html from bug 611206 because even though it passes locally, something about the test setup is different on tinderbox: perhaps the outer mochitest window is moving, causing the coordinates to be incorrect. a=bustage 2010-11-15 13:06:11 -05:00
Benjamin Smedberg
738a37d48b Bustage fix from typo in merge fixup from bug 611652, revision fc492fc14c67 a=bustage 2010-11-15 09:56:38 -05:00
Benjamin Smedberg
542fdd7b82 Bug 611652 - NPN_Construct doesn't work on JS functions, only on plugin-provided objects. Fix this by using JS_New to set up the construction class and prototype correctly, r=jst 2010-11-15 09:41:19 -05:00
Benjamin Smedberg
a95396d2ef Bug 611206 - Send the plugin information about mouse position changes when we scroll, even when we don't need to repaint the plugin, r=karlt 2010-11-15 09:41:18 -05:00
Karl Tomlinson
e378df1b89 Bug 610646 - Fix typo that caused 100% CPU hang running crashtest 598862.html in non-OOPP builds. a=test 2010-11-14 19:26:36 +01:00
Simon Montagu
b3b2d6b236 Make the 'More Encodings' submenus non-localizable. Bug 610638, r=emk, a=bsmedberg 2010-11-14 16:41:43 +02:00
Brad Lassey
e3016420db bug 608896 - update in-tree freetype from 2.4.1 to 2.4.3 r=stuart a=blocking-fennec 2010-11-11 17:30:52 -05:00
Brad Lassey
6ba1c57f92 bug 609114 - use freetype's configure script configure its build rather than hard coding the makefile r=ted a=blocking-fennec 2010-11-03 08:50:53 -04:00
Ehsan Akhgari
eda812475f Bug 610556 - Linker errors on shared builds with NS_SetDllDirectory; r=khuey a=bsmedberg
--HG--
rename : toolkit/xre/nsSetDllDirectory.cpp => xpcom/base/nsSetDllDirectory.cpp
rename : toolkit/xre/nsSetDllDirectory.h => xpcom/base/nsSetDllDirectory.h
2010-11-09 21:02:09 -05:00
Matt Woodrow
0a67be7b51 Bug 605057 - Add gfxASurface::GetAsImageSurface to convert generic surfaces into image surfaces without copies (if possible). r=roc a=b 2010-11-11 15:31:22 -05:00
Taras Glek
94cfa6f633 Bug 595924: API change to go with Bug 598416 to fix crash r=mwu a=blocking2.0-betaN 2010-11-11 12:13:57 -08:00
Taras Glek
d614df95fd Bug 598416: add try/catch in places in nsZipReader.cpp that access mmaped memory directly r=bsmedberg a=blocking2.0-betaN 2010-11-11 12:13:48 -08:00
Phil Ringnalda
4b5b8b75af Bug 608657 - Remove misplaced and unused "network.hosts.(pop|smtp)_server" prefs, r=bienvenu, a=bsmedberg 2010-10-31 17:56:16 -07:00
Benjamin Smedberg
c1f3d96e91 Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.

This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg
bf439a6ea1 Fix test_xulbrowser_plugin_visibility to be more robust and use fewer magic timeouts, review note from bug 583109 comment 52. 2010-11-10 08:35:46 -05:00
Benjamin Smedberg
316a7c0dee Address review comments for the test in bug 583109 by polling for visibility changes in the plugins. 2010-11-09 11:41:59 -05:00
Benjamin Smedberg
a028dfd6da Bug 607958 - Opacity rounding of 0.5 is different when using a layer and painting directly. Use a value of 0.8 which divides evenly into 255 to avoid rounding differences. Bug 602200 did not fix this rounding difference. r=roc 2010-11-08 14:40:11 -05:00
Benjamin Smedberg
2aaeb2d246 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg
010fbdcb07 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Jory A. Pratt
ee9165f0b2 Bug 591145 - Remove configure checks for encoders. r=khuey a=bsmedberg 2010-11-05 18:23:05 +01:00
Jory A. Pratt
221b49a484 Bug 591145 - Remove option to not clobber when changing encoder. r=khuey a=bsmedberg 2010-11-05 18:22:56 +01:00
Benjamin Smedberg
d19fb0dfce With async plugin painting, crashtest 522512 is no longer valid (and the condition which caused it is entirely gone). Remove it. 2010-11-05 10:52:41 -04:00
Benjamin Smedberg
cfe4308ade Test for bug 583109 - Add an .isVisible() method to the testplugin. test_visibility.html checks whether a visibility: hidden plugin suspends and resumes painting properly. test_xulbrowser_plugin_visibility.xul tests whether switching tabs properly suspends and resumes plugin painting. r-pending=karlt 2010-11-05 10:43:14 -04:00
Benjamin Smedberg
b5c8de3824 Bug 606285 and Bug 583109 - Send the "visible" notification when painting with async layers, so that when a plugin goes from invisible to visible it starts sending asynchronous paints. Suspend sending surface updates for asynchronous plugins when they are invisible, and set the empty clipRect so that the plugin knows that drawing is suspended per the new API. Assume that plugins are visible again when a Paint or BuildLayer call is received. r-pending=karlt 2010-11-05 10:40:55 -04:00
Jim Mathies
c0b0832655 Bug 570249 - Plugin container shutdown via hang detector results in a disabled browser window when modal plugin dialogs are active. r=bsmedberg, a=final. 2010-11-05 10:18:07 -05:00
Benjamin Smedberg
b5700735c7 Followup to bug 596451 part E (cset 37188e297b07) - double-pass painting is still used for in-process plugins, so fix the test expectations accordingly. 2010-10-28 12:57:33 -04:00
Benjamin Smedberg
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -04:00
Benjamin Smedberg
f8d5bcfbda Fix testplugin painting issues from bug 596451 part J - when doing non-solid painting, paint to x/y, not 0/0. 2010-10-28 09:17:35 -04:00
Benjamin Smedberg
175c51b9e9 Bug 596451 part J - Fix our test plugin to paint without using GDI functions which overwrite the opacity incorrectly, r=jmathies 2010-10-27 16:56:34 -04:00
Benjamin Smedberg
151a8aa808 Bug 596451 part H - Make our quirk of silverlight transparent by default active in the plugin process, to match the logic in nsNPAPIPluginInstance. This makes the Microsoft Surface website paint correctly. r=jimm 2010-10-27 09:13:53 -04:00
Benjamin Smedberg
c26e61f8d5 Bug 596451 part E - Implement transparency using DIBs with builtin transparency. Flash at least does this correctly, and since nobody else really uses windowless transparency, this is going to be the Way It Is. r-pending=jimm/karlt 2010-10-27 09:03:09 -04:00
Robert Sayre
31161f8735 Merge tracemonkey to mozilla-central. 2010-10-26 20:49:22 -04:00
Robert Sayre
7ce5faeded Merge mozilla-central to tracemonkey. 2010-10-26 14:16:43 -04:00
Benjamin Smedberg
ae4a853966 Bug 596451 part D - Hook up asynchronous plugin painting on Windows. This part allows opaque plugins to paint correctly. r=jmathies 2010-10-25 13:57:13 -04:00
Andreas Gal
de49671a75 Merge from mozilla-central. 2010-10-22 19:46:37 -07:00
Benjamin Smedberg
135698e22c Merge mozilla-central with the asynchronous plugins painting branch. 2010-10-13 10:45:01 -04:00
Bill McCloskey
58582215b9 Bug 580468 - Use loop profiling to decide whether to use TM or JM (second try) (r=dmandelin) 2010-10-21 09:36:39 -07:00
Igor Bukanov
8cd1bfa94d bug 604831 - fixing GC trigger factor setup. r=anygregor 2010-10-19 12:11:09 +02:00
Bill McCloskey
507ea140a2 Backed out changeset 55597c32701d 2010-10-19 17:40:53 -07:00
Bill McCloskey
7583dc9166 Bug 580468 - Use loop profiling to decide whether to use TM or JM (r=dmandelin) 2010-10-19 16:23:05 -07:00
Blake Kaplan
29e85b9844 Merge mozilla-central into tracemonkey 2010-10-13 17:54:54 -07:00
Johnny Stenback
ab55d2919b Bug 580128 - Make nsJSNPRuntime compartment safe (r=gal). 2010-10-10 15:50:08 -07:00
Ben Turner
d21a4b0755 Bug 580128. Fix plugin stream test to work with the new wrappers. r=jst@mozilla.org 2010-10-10 15:39:14 -07:00
Benjamin Smedberg
c03b5d13c1 Merge mozilla-central into asynchronous plugins branch. 2010-10-01 13:54:43 -04:00
Scott Greenlay
bfc806a99a Bug 478823: Fix memory leak that can result from reloading the plugin list. r=josh r=jst a=blocking2.0b8+ 2010-10-13 11:50:35 -04:00
Blake Kaplan
d8815d1675 Bug 580128 - Fix compartment warnings by entering. r=gal/peterv/jst/mrbkap/jorendorff (and written by all of us too). 2010-09-22 17:34:20 -07:00
Chris Jones
c3ee27307f Bug 607123: Skip this test if we don't have the test plugin, otherwise it'll time out. r=roc a=test-only 2010-10-26 11:57:46 -05:00
Benjamin Smedberg
f176e663d6 Bug 596451 part B - UseAsyncPainting really shouldn't need to dig very far or use an outparam, r=romaxa 2010-09-21 17:10:45 -04:00
Joe Drew
4adc5baad4 Bug 580405 - Turn on OpenGL accelerated layer composition by default on OS X. r=vlad a=b 2010-09-21 14:41:13 -04:00
Joel Maher
77d017bea1 Bug 597056. Firefox browser-chrome tests are ending up in Fennec. ifdef them away for mobile builds. r=mfinkle. a=sayrer 2010-09-29 14:21:09 -04:00
Doug Turner
5be151e2c2 Bug 600110 - Preference follow up tests. r=dwitte a=blocking-fennec
--HG--
extra : rebase_source : a610abed0ceab997b4dfdfb9132bd90bfeba985f
2010-09-28 10:07:23 -07:00
Doug Turner
d845537c4d Bug 600110 - Pref follow up patch. Remove dead code, fix observers. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : dd0861639f346b0c0f6103c25586f6136aa125f3
2010-09-28 10:02:37 -07:00
Doug Turner
ad19f9f833 Bug 589905 - Remote preferences test cases. r=dwitte, a=blocking-fennec
--HG--
extra : rebase_source : 54bf57ab0fadd2adf7b4b5cacbde8be3c6260e61
2010-09-27 14:23:35 -07:00
Doug Turner
f96b653ce0 Bug 589905 - Cache remote-preferences to improve performance. r=dwitte. a=blocking-fennec
--HG--
extra : rebase_source : 327ae1b240a0535c2ec61eb3bce15df302d83987
2010-09-27 14:23:35 -07:00
Scott Greenlay
92c12ef9d7 Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-27 16:42:43 -04:00
Daniel Holbert
b4e3fd237e Bug 599497: Notify the SVG-as-image helper doc's parser of stop request before calling ContinueInterruptedParsing, to keep it from hanging when there's no data left. r=jst a=blocking-beta-7 2010-09-25 10:51:37 -07:00
Josh Aas
54d8736551 Back out patch for 596762, running the test plugin out-of-process on 64-bit Mac OS X is exposing a bug that causes a lot of intermittent orange. a=josh 2010-09-24 15:08:30 -04:00
Jesse Ruderman
89e3edd9bd Bug 584582 - Remove asserts-if() now that the bug is fixed 2010-09-24 11:22:42 -07:00
Josh Aas
e8cb9a73bd Bug 599086 and bug 599391: Disable tests that are now intermittent orange because we put the Mac OS X test plugin out of process. a=josh 2010-09-24 13:04:25 -04:00
Josh Aas
bafb76988d Bug 599378: Disabled test_hanging.html on Mac OS X for now. a=josh 2010-09-24 12:32:23 -04:00
Scott Greenlay
9ab1f355f5 Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-24 10:32:02 -04:00
Josh Aas
7f5edbad1d Merge backout of bug 596762. a=josh 2010-09-23 16:06:36 -04:00
Josh Aas
a2b531c127 Backed out changeset 401db5db054a, bug 596762. Too much orange, again. a=josh 2010-09-23 16:06:13 -04:00
Josh Aas
843e210522 Bug 599076: Disable test_crashing.html on Mac OS X for now. Bustage fix. a=josh 2010-09-23 15:43:56 -04:00
Scott Greenlay
4d41c8ea82 Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-23 13:21:55 -04:00
Mounir Lamouri
cc33a99998 Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Bas Schouten
5a7235d59a Bug 546514 - Part 5: Allow turning on D3D10 layers through a pref. r=vlad a=vlad 2010-10-01 00:53:53 +02:00
Scott Greenlay
2b1aed9232 Bug 564485: Support "WebPluginMIMETypesFilename" for getting plugin MIME types on Mac OS X. r=josh a=blocking-betaN+ 2010-10-25 13:56:46 -04:00
Gervase Markham
893729b692 Bug 597030 - Add .il to IDN whitelist. a=beltzner. 2010-10-25 15:11:48 +01:00
Gervase Markham
f394dc0a4f Bug 580161 - Add .<Qatar> to IDN whitelist. a=beltzner. 2010-10-25 15:11:27 +01:00
Oleg Romashin
ed7c4c467b Bug 598112 fix 552512 reftest. r=joshmoz a=blocking2.0 2010-09-21 11:03:19 -07:00
Oleg Romashin
42bbe5a57c Bug 598112 - UseAsyncPainting, always return FALSE becuase plugin mRunning == FALSE. r=roc a=blocking2.0 2010-09-20 21:16:37 -07:00
Doug Turner
21dd89698d Backing out Bug 598112. This caused perma orange on 597742. a=me 2010-09-20 23:24:18 -07:00
Doug Turner
49d8611636 Bug 598112 - UseAsyncPainting, always return FALSE becuase plugin mRunning == FALSE. r=roc a=npodb 2010-09-20 21:16:37 -07:00
Josh Aas
4c5979b1bf Backed out changeset c06ef0414fee, bug 596762. a=me 2010-09-20 22:13:13 -04:00
Scott Greenlay
c18a02206e Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-20 20:21:55 -04:00
Josh Aas
97b5457fe2 Convert test to UNIX line endings. r=me a=me 2010-09-20 20:18:17 -04:00
Michael Wu
ab382b96b8 Bug 597702 - Make zip opening path more robust, r=taras a=blocking2.0 2010-09-20 12:58:40 -07:00
Henri Sivonen
6496c8e253 Bug 593046 - Do not read a pref in nsJapaneseToUnicode. r=smontagu, a=blocking2.0-final.
--HG--
extra : rebase_source : ac58c8390571cd0a0b62f85dc985c3d8902a8dac
2010-09-06 10:41:26 +03:00
Wan-Teh Chang
02ebcf3aae Bug 573137: Revert a change to zutil.h in changeset fb3a132de4ec.
The availability of vsnprintf in recent versions of MSVC has been
addressed in zlib 1.2.3.5 (8 Jan 2010).  r=n/a a=blocking2.0:final
2010-09-18 17:59:41 -07:00
Wan-Teh Chang
5e3aad7ed1 Bug 573137: Upgrade to zlib 1.2.5. The patch is contributed
by Daniel Jeter II <djeter@ripleycable.net>.  r=wtc,joedrew.
a=joedrew and blocking2.0:final
2010-09-18 17:17:37 -07:00
Wan-Teh Chang
fcdc044eab Bug 573137: Remove zlib docs and man page.
r=joedrew (see bug 573137 comment 21) a=NPOTB
2010-09-18 12:38:43 -07:00
Robert O'Callahan
ede8b01991 Bug 594774. Tests for this bug. r=dbaron a=blocking 2010-09-17 12:09:09 -07:00
Robert Sayre
ba8adf47b3 Merge mozilla-central to tracemonkey. 2010-10-08 21:56:00 -04:00
Robert Sayre
012db2a6ae Merge mozilla-central to tracemonkey. 2010-10-06 18:48:56 -07:00
Robert Sayre
19a4f7ab74 Merge mozilla-central to tracemonkey. 2010-10-05 13:30:17 -07:00
Oleg Romashin
90150a79e4 Bug 599202 - Add support NPP_ImageDraw API for Maemo6. r=dougt a=npodb
--HG--
extra : rebase_source : 8486484c5c2bd25a1e1b63859a62bf41787e7004
2010-10-05 09:15:49 +03:00
Luke Wagner
5eeb7d4ff7 Bug 587914 - js::Valueify in static data constructors causes runtime initialization (r=igor)
--HG--
extra : rebase_source : 09f2d8b620985eff96468ef7875cab8751a93d18
2010-10-01 17:53:08 -07:00
Ehsan Akhgari
d678ca7e0d Bug 286382 - Don't load DLLs from the current directory; r=bsmedberg a=blocking-betaN+ 2010-09-28 20:33:43 -04:00
Oleg Romashin
a02cd4afb2 Bug 599476 - windowless plugins in object elements with data (e.g. certain Flash pages) are not painted. r=karlt a=beta7 2010-10-02 09:00:45 -07:00
Daniel Holbert
0ab9d147fb Bug 543864 patch 2: Make VectorImage::GetWidth & GetHeight return 0 in case of errors. r=roc a=roc 2010-10-06 15:18:52 -07:00
Julian Seward
79013f2e5c Bug 543864 patch 1: Make RasterImage::GetWidth & GetHeight return 0 in case of errors. r=roc a=roc 2010-10-06 15:18:52 -07:00
Daniel Holbert
ea89a8f156 Bug 601470: Promote GetSourceDataSize & GetDecodedDataSize from RasterImage to Image superclass, and add implementations for VectorImage. r=joe a=joe
--HG--
rename : layout/reftests/svg/image/lime100x100.svg => modules/libpr0n/test/mochitest/lime100x100.svg
2010-10-06 08:37:12 -07:00
Boris Zbarsky
ebd7c067e3 Bug 484992 and bug 604420. Don't start a new network request when instantiating the plug-in for <object>s. r=josh, a=blocker 2010-10-22 21:16:29 -04:00