Commit Graph

2258 Commits

Author SHA1 Message Date
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
Daniel Holbert
3c294d2cc5 Bug 589558, patch 1: Implement VectorImage::GetFrame & CopyFrame, using Draw. r=joe a=blocking-betaN+ 2010-10-12 12:00:30 -07:00
Honza Bambas
1809d63cca Bug 595525 - Double data deletion in streamTest (nptest.cpp), test_streamNotify.html, r=josh, a=blocking:betaN+ 2010-10-11 21:41:11 +02:00
Robert O'Callahan
b6a55af831 Fixing test errors, a=me 2010-10-11 15:35:47 +13:00
Robert O'Callahan
2456df20bd Bug 596491. Part 2: Add test to ensure that we don't ask a plugin to paint just because we scrolled it. r=josh 2010-10-11 13:58:21 +13:00
Tom Brinkman
ceef26ba74 Bug 576437 - CreateOffscreenSurface should not silently translate ImageFormat24 into ImageFormat16_565. r=joe a=blocking2.0 2010-09-16 14:34:53 -07:00
Benjamin Smedberg
9e96779894 Bug 556698 - test_twostreams intermittent failure, reorder the test so the script always loads before the iframes which might race with it. a=test-only 2010-09-16 21:26:08 -07:00
Josh Aas
d16bd1cc51 Backed out changeset 080a38bd09c5, bug 596762, a=bustage 2010-09-16 15:40:49 -07:00
Scott Greenlay
f1225a7550 Bug 596762: Allow specification of differing IPC preferences for each architecture in a universal binary. r=josh a=blocking-b7 2010-09-16 14:05:11 -07:00
Vladimir Vukicevic
94dd68a9be b=596720; enable WebGL by default; r=shaver, a=b7 2010-09-16 11:02:57 -07:00
Josh Aas
526f55239a Bug 590057: Add support for loading plugins of a different architecture than the host browser on Mac OS X. r=cjones a=blocking-b7 2010-09-15 23:09:19 -07:00
Josh Aas
8be8eb73f5 Bug 596434: Don't require a PRLibrary when making a decision about whether or not to put a plugin out of process. r=jst a=blocking-b7 2010-09-15 21:57:13 -07:00
Bas Schouten
32d2b7094e Bug 596494 - Part 2: Refactor render mode functionality to allow UpdateRenderMode. r=jrmuizel 2010-09-15 22:16:09 +00:00
Byron Milligan
1a24c21c2d Bug 559942 - RE-LAND- Heuristic to pick default HTTP cache size. r=dwitte, gavin, ui=limi, a=blocks-beta7 2010-09-15 11:42:38 -07:00
Ehsan Akhgari
573b8e92f3 Merge backout a=orange 2010-09-15 12:28:49 -04:00
Ehsan Akhgari
666a59371c Back out bug 594774 because of reftest failures and crashtest assertions 2010-09-15 12:28:29 -04:00
Gervase Markham
ed8c9853d7 Bug 595865 - numerous updates to the IDN TLD whitelist. a=beltzner. 2010-09-15 17:06:55 +01:00
Oleg Romashin
27fa97f1ea Bug 556487 - Disable layers for non-ipc API. r=roc a=blocking2.0 2010-09-15 09:02:47 -07:00
Robert O'Callahan
832fbcb619 Bug 594774. Test a=blocking-beta6+ 2010-09-15 11:30:27 -04:00
Boris Zbarsky
7b0a48122f Bug 578890. Stop leaking shutdown observers from prefbranches. r=bsmedberg 2010-11-04 16:06:05 -04:00
Chris Jones
6b660e608b Like bug 607123, disable tests that are bogus without the test plugin. rs=roc a=test-only 2010-11-03 14:37:16 -05:00
Mounir Lamouri
abf118e3a7 Fix intermittent failures in test_cocoa_focus.html. r=jst a=tests 2010-11-03 00:48:45 +01:00
Mounir Lamouri
69515390a1 Bug 595062 - Fix Intermittent mochitest-ipcplugins failures in test_cocoa_focus.html. r=jst a=tests 2010-10-29 21:50:27 +02:00