Commit Graph

7644 Commits

Author SHA1 Message Date
Daniel Holbert
9213c30fc6 Bug 584841 patch 1: Create mozilla::imagelib::Image abstract class. r=bholley a=blocking 2010-08-13 21:09:48 -07:00
Daniel Holbert
2c2ed663ed 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
e442231dd0 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
0cf63d8593 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
84ab1bce0c Merge tracemonkey to mozilla-central. 2010-08-13 12:45:44 -07:00
Robert Sayre
2c5d9c7f92 Merge mozilla-central to tracemonkey. 2010-08-12 10:12:04 -07:00
Bobby Holley
ceac0c4556 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
0cb2a190c5 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
812d5aaf6a Merge merge. 2010-08-10 17:00:09 -07:00
David Mandelin
a2d3b9fe05 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
06c7038301 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
25324c072d Backing out bug 584282 and bug 537890 2010-08-14 02:35:06 +12:00
Markus Stange
c0e4ac43e7 Bug 572680 - Make image drawing use the new gfxDrawable interface. r=joe 2010-08-13 15:30:27 +02:00
Markus Stange
cd5be97592 Bug 572680 - Create gfxUtils::DrawPixelSnapped and make imgFrame use it. r=joe 2010-08-13 15:30:02 +02:00
Ted Mielczarek
0661c42acb 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
eb65c35fef Backed out changeset 452db8c688ba, bug 578868. 2010-08-13 04:23:13 -04:00
Josh Aas
e8f9c53806 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
3f3b52d409 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)
957a9b78be 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
2416326121 Backed out changeset fef97fa21915 (bug 584582) for causing compilation failures on Windows. 2010-08-11 12:25:55 -07:00
Ted Mielczarek
76e6ca6946 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
5dd2127073 bug 584582 - XP_TTOA not null terminating strings on Linux. r=bsmedberg, a=blocking 2010-08-11 10:57:44 -04:00
Michael Wu
766b3cbce1 Bug 556644 - 5. Enumerate prefs in the omnijar, r=bsmedberg a=blocking2.0 2010-08-11 18:10:11 -07:00
L. David Baron
6115b1c973 Mark known random assertion due to bug 585394. 2010-08-07 19:21:44 -07:00
Vladimir Vukicevic
cd7ca8d0fe b=584815; enable WebGL shader validation and remove obsolete texture API; r=bjacob 2010-08-06 22:10:38 -07:00
Shawn Wilsher
eaf126ab41 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
0ddeef5779 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
00479ccb44 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
c4ca33a0c8 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
7c3e8bf65e Merge bug 579178 to mozilla-central. reviews by Mossop/khuey/jwalden/ted 2010-08-09 10:04:10 -04:00
Benjamin Smedberg
9e2bdfd15c Merge mozilla-central into single-chrome-manifest. 2010-08-04 14:23:04 -04:00
Benjamin Smedberg
0503e044c7 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
319f11fc9c 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
26458c12ef Bug 564792 - Update libpng to version 1.4.3. r=joe 2010-07-22 09:00:30 +02:00
Brad Lassey
17864e61eb 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
f3b2471ebf Bug 577967 - Crash [@ NSAddImage ] on startup on 2.0 branch. r=josh 2010-07-21 11:27:13 -05:00
Dave Townsend
ca2c8d238a Disable plugin crash submission tests on all Linux for bug 583591. rs=khuey 2010-08-02 18:02:20 -07:00
Justin Lebar
89ed3b80bb 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
930aa1296a 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
bb197a6e72 Bug 580160. Test plugin needs to invalidate itself if its size changes. r=josh 2010-08-02 15:07:07 +12:00
Bobby Holley
529ab4bb98 Bug 579122 - imgRequestProxy race condition can fire 2 OnStartDecodes in a row.r=joe 2010-08-02 15:44:49 -04:00
Daniel Holbert
73dbfa4600 (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
ed732b9f7f 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
52a0d495b7 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
9114a20c25 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
6ee6e0f0e7 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
613ff7284a 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
9a8a73ee06 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
9d110a0600 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
ff84c50aad 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
ee2aabe5e5 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
0970406293 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
c32cacc40f 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
429854f1ec 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
c7d6319911 remove bogus test for bug 521495 2010-07-15 11:35:33 +02:00
Nils Maier
9051d6a92c 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
59836b1055 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
cd9ea8da1b Fix bustage from bug 578392 (r=sayrer on the bustage fix). 2010-07-14 17:39:22 -07:00
Blake Kaplan
1cf4f29f63 Bug 578392 - Don't assume things about comparing non-nsISupports pointers. r=bsmedberg 2010-07-14 16:06:17 -07:00
Bobby Holley
1a25380c15 Added some checks for the random orange in bug 578591.r=joe 2010-07-14 13:53:01 -04:00
Robert Sayre
e3ad7b484c merge tracemonkey to mozilla-central. 2010-07-14 06:00:32 -07:00
Robert Sayre
dd51c79fca Merge mozilla-central to tracemonkey. 2010-07-12 20:42:21 -07:00
Josh Aas
6989f1220a Fix mStreamListeners incorrectly initialized to nsnull. Also remove a bad comment. b=577982 2010-07-12 16:22:51 -04:00
Robert Sayre
86b530a417 Merge mozilla-central to tracemonkey. 2010-07-11 16:23:48 -07:00
timeless@mozdev.org
ecdf6abded 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
ca4131be55 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
2cbd236609 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
80dbbc7df5 Bug 553982 - myvidoop.com login broken on trunk.r=joe 2010-07-11 21:11:03 -04:00
Bobby Holley
57fe00ab9a Bug 576621 - clearing cache does NOT clear cached images.r=joe,gavin 2010-07-11 21:01:53 -04:00
Robert Sayre
f94d6c3608 Merge mozilla-central to tracemonkey. 2010-07-06 11:05:39 -07:00
Daniel Holbert
ec22b5aebb Bug 276431 helper-patch: Make args to imgIContainer::Draw const. r=joe 2010-07-05 13:49:05 -07:00
Saint Wesonga
4bd9280674 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Robert Sayre
2fd899ed0f Merge mozilla-central to tracemonkey. 2010-07-02 17:25:52 -07:00
Mitchell Field
d0f35f6883 Remove @status FROZEN and @status UNDER_REVIEW. r=bsmedberg
--HG--
extra : rebase_source : 7fab31a6b7898e05ff828482390846cc9ce2854d
2010-07-02 10:27:06 -04:00
Benjamin Smedberg
116342b0a1 Bug 576492 - Load default preferences from extension defaults, r=Mossop 2010-07-02 12:45:20 -04:00
Josh Aas
7cd34cf663 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
91d27b3dc6 Move nsNPAPIPluginStreamListener implementation to its own file. b=578383 r=jst 2010-07-13 14:42:03 -04:00
Bobby Holley
4d8ef3bd3e 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
fada1b3fd6 Remove nsPluginCacheListener, it is unused. b=578285 r=benwa 2010-07-13 02:58:30 -04:00
Benjamin Smedberg
a18bc5814e 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
b2124655df Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga
8952503f91 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Chris Jones
04bd8e72a3 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
3aa2e3fa71 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Robert Sayre
61a58b84de Merge mozilla-central to tracemonkey. 2010-07-31 14:19:27 -07:00
Bobby Holley
a9fbb7d491 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
7d7660f740 Fix bustage from bug 570329 with s/windowsWidget/winWidget/g. 2010-07-30 20:50:52 -07:00
L. David Baron
b0ac8dc333 Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Justin Lebar
af87370a53 Backed out changeset d9717604f007 2010-07-30 11:36:18 -07:00
Justin Lebar
a8e04423d1 Bug 561076 - Use a hashtable to speed up nsContentUtils::UnregisterPrefCallback. r=bzbarsky a=blocking2.0
--HG--
extra : rebase_source : 753885fe23666d392cea378b2d911a754df7ef58
2010-07-30 10:22:57 -07:00
Makoto Kato
ea3c3d0b50 Bug 578588 - Test suite may not work correctly on Win64 because navigator.platform is Win64. r=sayrer, a=Test Only 2010-07-30 17:18:45 +09:00
Josh Aas
129ac218c6 Bug 583019: Remove unused library management code from the plugin host. r=benwa 2010-07-29 17:53:48 -04:00
Chris Jones
9753a8ad8f Bug 582486: Don't read an unused pref when unregistering from the category manager. r=josh 2010-07-29 14:15:13 -05:00
Robert Sayre
802a358676 Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Joe Drew
f815830de5 Bug 572520: step 9, test asynchronous notification for regular loads and channel loads on static, animated, and 404 images. r=jrmuizel,bholley 2010-07-28 14:52:59 -07:00
Joe Drew
a0faca38f1 Bug 572520: step 8, make LoadImage and LoadImageWithChannel scriptable so they are testable from js unit tests. r=jrmuizel sr=vlad 2010-07-28 14:52:50 -07:00
Joe Drew
5bea9d29a9 Bug 572520: step 7.1, Add some logging to imgStatusTracker. r=bholley 2010-07-28 14:52:34 -07:00
Joe Drew
e37030595b Bug 572520: step 7, delay otherwise-synchronous notifications, and send them asynchronously later. r=jrmuizel,bholley sr=bz 2010-07-28 14:52:14 -07:00
Robert Sayre
ca1f1776fe Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Bobby Holley
0c0db8d51f Bug 580669 - Mac Menu icon crash with enabled image discarding.r=joe 2010-07-26 16:45:15 -04:00