Commit Graph

1914 Commits

Author SHA1 Message Date
Bas Schouten
3cbce0cdb6 Bug 587320: Use proper paint counts on D2D due to dual pass rendering. r=joedrew 2010-08-16 09:15:03 +02:00
Martin Stránský
47126da4d8 Bug 574354 - Disable OOP for plugins wrapped by nspluginwrapper. r=josh 2010-08-15 11:10:15 +02:00
Daniel Holbert
6c91434310 Bug 584841 patch 12: Rename variables & methods to use 'image' terminology instead of 'container'. r=bholley a=blocking 2010-08-13 21:09:51 -07:00
Daniel Holbert
2beeaed444 Bug 584841 patch 11: Move remaining imagelib-private methods from imgIContainer interface to Image abstract class. r=bholley sr=vlad a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
54b9eeb916 Bug 584841 patch 10: Give imgStatusTracker an Image* instead of imgIContainer*. r=bholley a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
ef4b0b88ba Bug 584841 patch 9: Move RasterImage-specific methods from imgIContainer interface to RasterImage class. r=bholley sr=vlad a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
9575c46247 Bug 584841 patch 8: Add method imgIContainer::GetImageType to distinguish Raster vs Vector Images. r=bholley sr=vlad a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
7bdd38e74d Bug 584841 patch 7: Rename imgContainer source files. r=bholley a=blocking
--HG--
rename : modules/libpr0n/src/imgContainer.cpp => modules/libpr0n/src/RasterImage.cpp
rename : modules/libpr0n/src/imgContainer.h => modules/libpr0n/src/RasterImage.h
2010-08-13 21:09:49 -07:00
Daniel Holbert
5dae469d66 Bug 584841 patch 6: Fix whitespace from imgContainer class rename. r=bholley a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
bf34a05c14 Bug 584841 patch 5: Rename imgContainer class to mozilla::imagelib::RasterImage. r=bholley a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
c562101036 Bug 584841 patch 4: Rename imgDiscardTracker source files. r=bholley a=blocking
--HG--
rename : modules/libpr0n/src/imgDiscardTracker.cpp => modules/libpr0n/src/DiscardTracker.cpp
rename : modules/libpr0n/src/imgDiscardTracker.h => modules/libpr0n/src/DiscardTracker.h
2010-08-13 21:09:49 -07:00
Daniel Holbert
9dfa690f63 Bug 584841 patch 3: Rename imgDiscardTracker class to mozilla::imagelib::DiscardTracker. r=bholley a=blocking 2010-08-13 21:09:49 -07:00
Daniel Holbert
fad731edb0 Bug 584841 patch 2: Use Image pointers in place of imgContainer pointers in a few places. r=bholley a=blocking 2010-08-13 21:09:48 -07:00
Daniel Holbert
615dfd73de Bug 584841 patch 1: Create mozilla::imagelib::Image abstract class. r=bholley a=blocking 2010-08-13 21:09:48 -07:00
Daniel Holbert
5b754a5516 Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
Daniel Holbert
548c074147 Bug 582004 part 1: Make imgStatusTracker::*FrameChanged take a const aDirtyRect argument. r=joe a=blocking 2010-08-13 21:09:48 -07:00
Bobby Holley
bb3ebd274f Bug 586566: Fold nsIconDecoder into decoders/bmp. r=dholbert a=blocking
--HG--
rename : modules/libpr0n/decoders/icon/nsIconDecoder.cpp => modules/libpr0n/decoders/bmp/nsIconDecoder.cpp
rename : modules/libpr0n/decoders/icon/nsIconDecoder.h => modules/libpr0n/decoders/bmp/nsIconDecoder.h
2010-08-13 21:09:48 -07:00
Robert Sayre
f80324a33f Merge tracemonkey to mozilla-central. 2010-08-13 12:45:44 -07:00
Robert Sayre
ff3fd8aeaf Merge mozilla-central to tracemonkey. 2010-08-12 10:12:04 -07:00
Bobby Holley
f82f638ea9 Bug 583825 - Progressive decoding/display of images no longer works; r=joe a=blocking
Since really we want to send OnStartContainer once per-proxy, it doesn't make the most sense to have such handling be done in imgRequest and imgStatusTracker. This patch moves all that into imgRequestProxy, and fixes the bug.
2010-08-12 11:59:37 -04:00
Joe Drew
c52fae20f3 Bug 583028 - Hold on to a runnable while it's outstanding, and add proxies for it to notify when it does get run. This makes us delay onload less. r=bholley a=blocking 2010-08-12 11:59:28 -04:00
Robert Sayre
4aa91b82ce Merge merge. 2010-08-10 17:00:09 -07:00
David Mandelin
ac09edcf6c Bug 585501: innerize window before using it as a scope chain in NPN_Evaluate, r=mrbkap 2010-08-10 16:11:32 -07:00
Benedict Hsieh
4be16266ab Bug 535077 - Fixes hang caused by failure to execute sync launch r=cjones a=blocking2.0 2010-08-10 14:14:10 -07:00
Robert O'Callahan
f8dc984ede Backing out bug 584282 and bug 537890 2010-08-14 02:35:06 +12:00
Markus Stange
94f1a7ca57 Bug 572680 - Make image drawing use the new gfxDrawable interface. r=joe 2010-08-13 15:30:27 +02:00
Markus Stange
ac97761cb7 Bug 572680 - Create gfxUtils::DrawPixelSnapped and make imgFrame use it. r=joe 2010-08-13 15:30:02 +02:00
Ted Mielczarek
aa0350cc68 bug 573290, bug 583591 - disable crashreporter xpcshell tests on Linux again until we can figure out why they're failing 2010-08-13 08:28:15 -04:00
Josh Aas
45db82ea6b Backed out changeset 452db8c688ba, bug 578868. 2010-08-13 04:23:13 -04:00
Josh Aas
f87c958485 Bug 578868: Only load plugin libraries into the main process when absolutely necessary. r=benwa sr=bsmedberg 2010-08-13 02:42:42 -04:00
Byron Milligan
4dfda2d6d2 Bug 193911. Increase the disk cache size from 50 megs to 250 megs. This will show a significant increase in talos numbers, and it will thus look like a cpu usage regression since all of talos now fits in the cache. r=cbiesinger@gmail.com, sr=bzbarsky@mit.edu, a=jst@mozilla.org 2010-08-12 16:19:59 -07:00
Makoto Kato ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
9438e86b4d Use a known failure condition that more closely matches when the tests fail (when we use handwritten SSE2 assembly in the JPEG code), so that they don't produce unexpected pass results on 64-bit Windows. (Bug 582850) r=joedrew / dbaron a2.0=tests 2010-08-11 12:32:53 -07:00
L. David Baron
abd263a648 Backed out changeset fef97fa21915 (bug 584582) for causing compilation failures on Windows. 2010-08-11 12:25:55 -07:00
Ted Mielczarek
96fa6e482e bug 584582 - XP_TTOA not null terminating strings on Linux. r=bsmedberg, a=blocking
--HG--
extra : rebase_source : 17a3fc38dc225906301ebb61a24bf3252634af92
2010-08-11 10:57:44 -04:00
Ted Mielczarek
62d2cf73fb bug 584582 - XP_TTOA not null terminating strings on Linux. r=bsmedberg, a=blocking 2010-08-11 10:57:44 -04:00
Michael Wu
7359d4a911 Bug 556644 - 5. Enumerate prefs in the omnijar, r=bsmedberg a=blocking2.0 2010-08-11 18:10:11 -07:00
L. David Baron
2d948cf4d9 Mark known random assertion due to bug 585394. 2010-08-07 19:21:44 -07:00
Vladimir Vukicevic
eb17125496 b=584815; enable WebGL shader validation and remove obsolete texture API; r=bjacob 2010-08-06 22:10:38 -07:00
Shawn Wilsher
e172a0bb3a Backed out changeset 1302220623fd because it needs to land with 0b3af3fef0fd, which I just backed out on a CLOSED TREE. 2010-08-06 11:19:52 -07:00
Shawn Wilsher
63d60d3263 Bug 580790 - Connection::initialize can access preferences off of the main thread
Makes things go boom when preferences are accessed off of the main thread.
r=dwitte
sr=bsmedberg
a=blocking2.0
2010-08-06 10:27:58 -07:00
Josh Aas
80c7aced07 Bug 584143 - Crashes when streams are open and a plugin instance is closed at/under nsNPAPIPluginInstance::Stop, r=bsmedberg 2010-08-09 14:38:43 -04:00
Neil Deakin
cd970262b2 Bug 577316, add preference to allow form elements to be focused when clicked, r=smaug 2010-08-09 12:15:47 -04:00
Benjamin Smedberg
ccb16680db Merge bug 579178 to mozilla-central. reviews by Mossop/khuey/jwalden/ted 2010-08-09 10:04:10 -04:00
Benjamin Smedberg
c622433f07 Merge mozilla-central into single-chrome-manifest. 2010-08-04 14:23:04 -04:00
Benjamin Smedberg
a46c0d7aca Fix omnijar from bug 579178 - move the manifest ziploader code into xpcom/components, and don't load the same JAR a bunch of times.
--HG--
rename : modules/libjar/nsManifestZIPLoader.cpp => xpcom/components/nsManifestZIPLoader.cpp
rename : modules/libjar/nsManifestZIPLoader.h => xpcom/components/nsManifestZIPLoader.h
2010-08-04 14:09:21 -04:00
Benjamin Smedberg
1f62db83d4 Bug 579178 part A - Code changes to add a "manifest" directive to read sub-manifests and read only the root chrome.manifest file, instead of enumerating components/*.manifest and chrome/*.manifest. Review comments by Mossop to be addressed in a followup commit. 2010-07-22 10:31:29 -04:00
Glenn Randers-Pehrson
9def47a86c Bug 564792 - Update libpng to version 1.4.3. r=joe 2010-07-22 09:00:30 +02:00
Brad Lassey
da3bcb01d0 bug 576997 - Need to upgrade in-tree FreeType to 2.4.0 once it has been released r=bsmedberg b=2.0+ 2010-07-21 12:59:38 -04:00
Steven Michaud
a54789cbe5 Bug 577967 - Crash [@ NSAddImage ] on startup on 2.0 branch. r=josh 2010-07-21 11:27:13 -05:00
Dave Townsend
e503e5893d Disable plugin crash submission tests on all Linux for bug 583591. rs=khuey 2010-08-02 18:02:20 -07:00
Justin Lebar
6544506912 Bug 561076 - Pref callback changes severely slow down reftest and shutdown.
--HG--
extra : rebase_source : bf83192c89f953772d8dbfb530e18402e181a139
2010-07-31 10:17:49 -07:00
Josh Aas
76e341467b Bug 583506: Remove remaining support for blackwood java from plugins module. r/a=jst 2010-08-02 16:31:31 -04:00
Robert O'Callahan
91595e761f Bug 580160. Test plugin needs to invalidate itself if its size changes. r=josh 2010-08-02 15:07:07 +12:00
Bobby Holley
ccbe5fc67b Bug 579122 - imgRequestProxy race condition can fire 2 OnStartDecodes in a row.r=joe 2010-08-02 15:44:49 -04:00
Daniel Holbert
c63155e8f1 (no bug, comment-only) Fix typo in comment with the condensed version of imgContainer's CID. 2010-08-05 07:53:43 -07:00
Bjarne
100caa546d Bug 546606 - Make redirect API async - part 2; r=honzab.moz,cbiesinger,bjarne,jst sr=jst 2010-08-04 22:15:55 -04:00
Josh Aas
8effb77703 Fix a problem in which we fail to load an enabled plugin just because a disabled plugin is a MIME handler for the same MIME type. b=581848 r=jst 2010-08-04 15:16:12 -04:00
Robert O'Callahan
8e26cbaebe Bug 537890. Part 1: Add nsIWidget::GetDPI and nsIWidget::GetDefaultScale and use them to set up device contexts. r=vlad,sr=dbaron 2010-08-13 21:57:48 +12:00
Josh Aas
7c2ba6e19d Bug 542971, bug 577985: Includes a number of plugin module memory mgmt fixes. Remove/replace nsPluginInstanceTag (instance tags), stop storing the plugin library and function table twice. r=jst 2010-07-19 22:11:26 -04:00
Chris Jones
d37c23f270 Bug 578262: Clean up style in and remove build warnings from new-ishly merged e10s code. r=bsmedberg
--HG--
rename : dom/ipc/ContentProcessChild.cpp => dom/ipc/ContentChild.cpp
rename : dom/ipc/ContentProcessChild.h => dom/ipc/ContentChild.h
rename : dom/ipc/ContentProcessParent.cpp => dom/ipc/ContentParent.cpp
rename : dom/ipc/ContentProcessParent.h => dom/ipc/ContentParent.h
rename : dom/ipc/ContentProcessProcess.cpp => dom/ipc/ContentProcess.cpp
rename : dom/ipc/ContentProcessProcess.h => dom/ipc/ContentProcess.h
rename : dom/ipc/PIFrameEmbedding.ipdl => dom/ipc/PBrowser.ipdl
rename : dom/ipc/PContentProcess.ipdl => dom/ipc/PContent.ipdl
2010-07-19 13:33:33 -05:00
Josh Aas
4e23705cc3 Bug 579516: Patch contains a number of fixes to nsPluginStreamListenerPeer memory management. Also moves storage of the stream array for cache lookups to the plugin instance rather than the instance tag. Also stops adding streams to the cached list that shouldn't be there. r=benwa 2010-07-17 19:47:29 -04:00
Josh Aas
106040179d Improve memory mgmt and reduce COM pointer type usage in plugin stream code. b=578913 r=benwa (re-landing, did not cause Ts Shutdown regression) 2010-07-16 15:55:54 -04:00
Josh Aas
a3aefb5e98 Backed out changeset 764bb4ae886c, bug 578913, it may be at fault for a Ts Shutdown regression. 2010-07-16 13:25:01 -04:00
Josh Aas
41ff002705 Improve memory mgmt and reduce COM pointer type usage in plugin stream code. b=578913 r=benwa 2010-07-15 22:30:07 -04:00
Robert O'Callahan
7f603b4ac1 Bug 564991. Part 37: Add test plugin API to make the plugin invalidate itself during each paint. r=josh 2010-07-16 09:08:11 +12:00
timeless@mozdev.org
8ad4980739 Bug 577230 nsJPEGEncoder::mImageBufferReadPoint will be initialized after nsJPEGEncoder::mFinished
r=jmuizelaar

--HG--
extra : rebase_source : 4749619bdf1ffad836353da6d22a9f37377d8080
2010-07-07 12:38:40 +03:00
timeless@mozdev.org
9868ec7503 Bug 577992 warning: unused variable ‘isSentinel’ in imgDiscardTracker::Reset
r=bholley

--HG--
extra : rebase_source : 790bb046a21e45ca79c23cfc522cf89430467f8b
2010-07-15 15:55:04 +03:00
Dão Gottwald
844a6ea7d9 remove bogus test for bug 521495 2010-07-15 11:35:33 +02:00
Nils Maier
bc6be3b7e3 Bug 521495 - moz-icon:// protocol does not work with SVG icons. r=joe
--HG--
extra : rebase_source : 4db9f6f86c2a2811d2b21dc28a4ede4216f4e705
2010-07-15 10:14:11 +02:00
Vladimir Vukicevic
79bbb0f9ca b=571172; import and use ANGLE GLSL ES shader validator (disabled by default for now); r=joe 2010-07-14 20:52:34 -07:00
Blake Kaplan
3ca0e8e3e3 Fix bustage from bug 578392 (r=sayrer on the bustage fix). 2010-07-14 17:39:22 -07:00
Blake Kaplan
febd9cf0bc Bug 578392 - Don't assume things about comparing non-nsISupports pointers. r=bsmedberg 2010-07-14 16:06:17 -07:00
Bobby Holley
1bd914f84a Added some checks for the random orange in bug 578591.r=joe 2010-07-14 13:53:01 -04:00
Robert Sayre
4ed4f1f76a merge tracemonkey to mozilla-central. 2010-07-14 06:00:32 -07:00
Robert Sayre
38029f43fa Merge mozilla-central to tracemonkey. 2010-07-12 20:42:21 -07:00
Josh Aas
f53cb167f3 Fix mStreamListeners incorrectly initialized to nsnull. Also remove a bad comment. b=577982 2010-07-12 16:22:51 -04:00
Robert Sayre
951426beed Merge mozilla-central to tracemonkey. 2010-07-11 16:23:48 -07:00
timeless@mozdev.org
a2ec57da57 Bug 577229 nsPNGEncoder::mImageBufferReadPoint will be initialized after nsPNGEncoder::mFinished
r=jmuizelaar

--HG--
extra : rebase_source : 20c5eb547b819fde0bdd915f7dc1f9a154e9ea57
2010-07-07 12:35:29 +03:00
Makoto Kato
613f3559d8 Bug 574095 - crash loading test plugin on 64-bit win7 tests in /layout/generic/crashtests/505912-1.html , /tests/layout/generic/test/test_plugin_clipping.xhtml [@ _SetWindowLongPtr() | nsPluginNativeWindowWin::SubclassAndAssociateWindow]. r=joshmoz 2010-07-12 13:49:12 +09:00
deadfones@gmail.com
1e52c216e2 Bug 478398 - Don't hard code get_discard_timer_ms, use a pref instead.r=joe 2010-07-11 21:51:52 -04:00
Bobby Holley
b3dbd599a1 Bug 553982 - myvidoop.com login broken on trunk.r=joe 2010-07-11 21:11:03 -04:00
Bobby Holley
0d93ccdb3d Bug 576621 - clearing cache does NOT clear cached images.r=joe,gavin 2010-07-11 21:01:53 -04:00
Robert Sayre
1ae649adc3 Merge mozilla-central to tracemonkey. 2010-07-06 11:05:39 -07:00
Daniel Holbert
987e1c5c55 Bug 276431 helper-patch: Make args to imgIContainer::Draw const. r=joe 2010-07-05 13:49:05 -07:00
Saint Wesonga
e7a357dcaf Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Robert Sayre
70fc03b113 Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
Mitchell Field
eb1e793da7 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg
d6805bcab6 Bug 576492 - Load default preferences from extension defaults, r=Mossop 2010-07-02 12:45:20 -04:00
Josh Aas
74d7a05a98 Move nsPluginStreamListenerPeer to its own files, clean up the plugin host. b=578447 r=benwa 2010-07-13 16:48:00 -04:00
Josh Aas
d581ec02fb Move nsNPAPIPluginStreamListener implementation to its own file. b=578383 r=jst 2010-07-13 14:42:03 -04:00
Bobby Holley
4fa9fdbc7e Tests for bug 478398, as well as for a few others, now that we have a discard timer pref.r=joe 2010-07-13 13:30:39 -04:00
Josh Aas
1b1a81fc4a Remove nsPluginCacheListener, it is unused. b=578285 r=benwa 2010-07-13 02:58:30 -04:00
Benjamin Smedberg
0b4de441c4 Bug 568691 - Fix MOZ_OMNIJAR registration, r=mwu
--HG--
rename : modules/libjar/nsXPTZipLoader.cpp => modules/libjar/nsManifestZIPLoader.cpp
rename : modules/libjar/nsXPTZipLoader.h => modules/libjar/nsManifestZIPLoader.h
rename : xpcom/reflect/xptinfo/public/nsIXPTLoader.idl => xpcom/components/nsIManifestLoader.idl
2010-07-02 09:53:19 -04:00
Dão Gottwald
9b15b69a1b Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Chris Jones
7dc26b1584 Bug 576680: Initialize |rv| so that valgrind doesn't complain (though it's technically unnecessary) and add a helper function to cut some LoC. r=dwitte 2010-07-02 22:03:18 -05:00
Jesse Ruderman
14ecbf3e68 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Robert Sayre
d580edd975 Merge mozilla-central to tracemonkey. 2010-07-31 14:19:27 -07:00
Bobby Holley
7c0c7249a2 Bug 578591 and bug 579139 - Disable test_bug435296.html and test_bug478398.html due to intermittent orange. r=lumpy 2010-07-31 14:39:06 -04:00
L. David Baron
c06c57f6e6 Fix bustage from bug 570329 with s/windowsWidget/winWidget/g. 2010-07-30 20:50:52 -07:00