Commit Graph

6775 Commits

Author SHA1 Message Date
Robert Sayre
6908c1f759 Bug 500304. Turn on chrome jit. r=brendan 2009-07-29 17:14:26 -04:00
Christian Biesinger
f8b424f36e Fix memory leaks from changeset dcda49ff1a26 - need to make sure that
the destructor gets called for the hashtable entries.

Also fixes a nit (AddRef() -> NS_ADDREF_THIS())

r+sr=bz
2009-07-28 19:46:04 +02:00
Christian Biesinger
3e4562bc01 Bug 487638 - status bar blames wrong resource when downloading slow responding resource
- Makes nsDocLoader store the last-sent status message for each request in the
corresponding nsRequestInfo, and keeps a flag to indicate whether the request
is done
- When a request finishes, it looks for a random request that is not done and
has a non-empty status, and if it finds one, sends that status message to the
listeners
- To make this all work, the patch also changes imagelib so that status and
state messages sent for images are sent with the imgIRequest as the request and
not the channel. This is necessary because the channel is not part of the
loadgroup for images, only the imgIRequest is.
- Make the BrowserStatusFilter always update its pending status message if it
  is dirty, even when that matches the currently displayed status message

r+sr=bz
2009-07-28 18:13:48 +02:00
Josh Aas
af9413f036 Document unscheduleAllTimers scriptable method added to test plugin. 2009-07-27 23:37:52 -04:00
Ryo Kawaguchi
091c57b039 Bug 506409: Merge Draw*ImageInternal methods into their Draw*Image callers, and fix a comment in imgIContainer.idl. patch=ryo r=roc 2009-07-27 16:48:13 -07:00
Matthew Noorenberghe
884dc445c7 Bug 370117 - form autocomplete should sort by frequency of use. r=dolske 2009-07-25 22:05:03 +02:00
Navin Lal
1cad5f2db8 Bug 74803 - Should make global data const where possible; const changes for nsmodulecomponentinfo; r=dbaron 2009-07-25 03:27:08 +02:00
Taras Glek
4cbbbfb168 bug 505784: nuke STANDALONE mode in libjar r=bsmedberg 2009-07-23 11:40:29 -07:00
timeless@mozdev.org
7637796805 Bug 500068 thundersomething addon constantly crashes tb 2.0.0.22 final (win32, winxp) [@ nsCharTraits<unsigned short>::length - nsPref::SetUnicharPref]
r=dveditz
2009-07-22 17:31:04 -05:00
Taras Glek
8824dfa739 Bug 505784: nuke STANDALONE mode in libjar r=bsmedberg 2009-07-22 14:43:10 -07:00
Joe Drew
99c29cce56 Bug 505474 - Restore tracking of whether we've finished decoding a given GIF frame, so we don't call EndImageFrame() twice for a single frame. r=vlad
Before bug 753 landed, we implicitly tracked whether we'd called
EndImageFrame() by setting mImageFrame to null inside EndImageFrame(). Once
we stopped doing that, we tried writing to memory that had already been freed.

(This memory is actually freed once we error out on the invalid GIF, but the
internal state-tracking mechanics made it so we never wrote to that memory
even though we have stale pointers to it. Unfortunately when we entered
EndImageFrame() a second time, that state tracking was invalid and we
attempted to write to the stale pointer.)

This patch introduces a tracking variable, mCurrentFrame, which is set to the
frame of the currently-decoding frame when we're in the middle of decoding
it, and -1 otherwise. This ensures we don't enter EndImageFrame() a second
time, restoring the functionality we had prior to bug 753.
2009-07-21 21:20:01 -07:00
Joe Drew
cdf4b6870f Bug 505473 - Fix alpha handling so we composite animated GIFs properly. r=vlad 2009-07-21 21:19:59 -07:00
Robert O'Callahan
a5233fd2a0 Bug 500910. GTK2 test plugin should take window shapes into account when computing the effective clip region. r=karlt 2009-07-22 12:44:50 +12:00
Rob Arnold
78c5a292a0 Bug 502711 - imgITools cannot decode images stored in JARs r=joe
--HG--
extra : rebase_source : 002851f48d458d7ab0a4bbf87fd79fc893c425cb
2009-07-21 15:57:25 -07:00
Martin Stránský
48eb31ace1 Bug 486482 - null deref [@ nsPluginNativeWindowGtk2::CreateXEmbedWindow ]. r=josh, sr=jst 2009-07-21 10:13:38 +02:00
Joe Drew
2aa59235f2 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Steven Michaud
c55209062c [OSX] Embedded plugins don't print - NPP_Print not called. b=191046 r=josh,kinetic 2009-07-20 17:10:36 -05:00
Vladimir Vukicevic
efa1efa106 Disable CMS on Windows CE 2009-07-17 16:05:04 -07:00
Justin Dolske
3337677d93 Bustage fix for bug 503138. 2009-07-16 18:55:01 -07:00
Vladimir Vukicevic
2d867ed629 b=503902; put back npapi DOM object access for WinCE; r=jst 2009-07-16 14:13:43 -07:00
Vladimir Vukicevic
b30edd4221 b=503138; choose different default sans-serif font for Windows CE; r=jdaggett 2009-07-16 14:13:38 -07:00
Ehsan Akhgari
0ea9820eec Bug 496292 - Support changing the Accept header via a preference; r=joedrew sr=bzbarsky 2009-07-15 11:52:40 +04:30
Peter Weilbacher
a1cd66b0cd Bug 503950: OS/2 bustage fix for bug 503377, p=wuno@lsvw, r=pweilbacher 2009-07-14 13:34:07 +02:00
Benjamin Smedberg
7cfb1933d5 Windows bustage fix for bug 503377 2009-07-13 12:57:32 -04:00
Benjamin Smedberg
6d5d93fae7 nsIPluginInstance.getMIMEType should be a [shared, const] parameter... it doesn't follow the normal XPCOM rules about allocating memory. r=josh sr=jst 2009-07-13 12:27:46 -04:00
Ginn Chen
f693307429 Bug 501889 _scheduletimer symbol not found on Solaris r=joshmoz sr=jst 2009-07-13 20:23:41 +08:00
Josh Aas
b95b463271 Remove mIsJavaPlugin variable in nsNPAPIPluginInstance, fix some comments. b=503809 sr=roc 2009-07-12 22:44:48 -04:00
Josh Aas
e3e6f70dd4 Get rid of GUItoMacEvent and nsPluginEventType. b=503133 sr=roc 2009-07-10 20:20:32 -04:00
Robert O'Callahan
95a6a24425 Backed out changeset 91a43fa9b0da
--HG--
extra : rebase_source : 00ee0eac778112a8aac3e19f1f114e8b8b34580c
2009-07-10 20:13:51 +12:00
Robert O'Callahan
c4ea1448d4 Bug 501295. The Win32 test plugin needs to compute an accurate clip region. r=jmathies 2009-07-10 14:03:00 +12:00
Robert O'Callahan
a5413c00db Bug 501295. pluginGetEdge should return coordinates relative to the window frame in the Win32 test plugin. Then we can enable test_plugin_position on Windows. r=jmathies 2009-07-10 14:03:00 +12:00
Robert O'Callahan
f3ad1dcb08 Bug 500910. GTK2 test plugin should take window shapes into account when computing the effective clip region. r=karlt 2009-07-10 14:02:58 +12:00
gyuyoung kim
c83c298365 Bug 456721 - Control GC frequency/a high water mark of Tracemonkey via about:config; r+sr=(brendan + mrbkap) 2009-07-09 14:16:26 +02:00
Josh Aas
8872098fcd Get rid of nsMIMEType type. b=503025 r/sr=jst 2009-07-08 23:25:20 -04:00
=Hiroyuki Ikezoe
1596ded746 bug 498845 - libbz2 can't use fdopen on windows ce r=bsmedberg 2009-07-08 11:49:47 -04:00
Josh Aas
be6ccc14d9 Remove some code that is no longer necessary for the Java plugin on AIX. b=498148 r/sr=jst 2009-07-07 21:01:38 -04:00
Josh Aas
b9c20b5769 nsIPlugin and nsIPluginHost should not inherit from nsIFactory. b=502886 r/sr=jst 2009-07-07 21:00:11 -04:00
Mark Finkle
523fca9cea Bug 500208: select element should update label when script changes selection, r=bzbarsky 2009-07-06 09:39:54 -04:00
Josh Aas
525b725f6e Plugin host cleanup. b=501996 r/sr=jst 2009-07-06 02:10:10 -04:00
Peter Van der Beken
88bc7e0eed Fix for bug 482788 (Lightweight DOM wrappers). r=jst, sr=mrbkap. 2009-05-12 22:20:42 +02:00
Robert O'Callahan
fa5c580553 Bug 499595. Win32 test plugin needs to double-buffer and look more like other platforms' test plugins. r=jmathies 2009-07-04 21:54:09 +12:00
Robert O'Callahan
cae225728f Bug 488620. GTK2 test plugin should not assume that ancestor X windows have associated GTK widgets. r=karlt 2009-07-04 21:47:15 +12:00
Josh Aas
20377c284e Remove XPCOM plugin code from nsPluginsDirUnix. b=502045 r/sr=jst 2009-07-03 09:53:00 -04:00
Mats Palmgren
c75c21f508 Backout bug 486349, due to regression bug 502135. 2009-07-03 13:48:52 +02:00
Josh Aas
0e7051a3d7 Comment and formatting cleanup for nsIPlugin. No bug. 2009-07-02 15:32:21 -04:00
Mats Palmgren
1cc06126e9 Make the nsPluginInstanceTag destructor non-recursive to avoid exhausting stack space. b=486349 r+sr=jst 2009-07-02 11:57:37 +02:00
Josh Aas
f46180b8cb Rename nsPluginHostImpl to nsPluginHost. No bug, discussed with jst.
--HG--
rename : modules/plugin/base/src/nsPluginHostImpl.cpp => modules/plugin/base/src/nsPluginHost.cpp
rename : modules/plugin/base/src/nsPluginHostImpl.h => modules/plugin/base/src/nsPluginHost.h
2009-07-02 01:48:08 -04:00
Josh Aas
74fc2cc535 Remove nsIPluginInstanceInternal, fold it into nsIPluginInstance. b=501786 r/sr=jst 2009-07-02 00:52:07 -04:00
Josh Aas
426cb69c6f Remove nsIPluginTagInfo2, fold it into nsIPluginTagInfo. b=501812 r/sr=jst 2009-07-01 20:54:18 -04:00
Makoto Kato
b637d1888a Bug 499460 - Build error in plugin code for Symbian emulator. r=josh, sr=jst 2009-07-02 03:15:22 +09:00