Commit Graph

2432 Commits

Author SHA1 Message Date
matt%netscape.com
d60a0695d0 fix for bug 44036
r=pav
2000-09-14 04:52:50 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
edburns%acm.org
61f79884f1 a=brendan,av
r=av
bug=50811

This bug fix was suggested by Stanley Ho <stanley.ho@eng.sun.com>.

Stanley proposed we overload the meaning of the nsIPluginStreamListener
argument to nsIPluginManager::{GetURL,PostURL}() so that it also may
implement an interface for reading headers.  Thus, the browser could QI
the plugin's nsIPluginStreamListener instance to this headers reading
interface and send the plugin the headers from the response.

I have implemented Stanley's above proposal.  I have defined a new
interface, nsIHTTPHeaderListener.idl with one method:

  /**

   * Called for each HTTP Response header.

   * NOTE: You must copy the values of the params.

   */

  void newResponseHeader(in string headerName, in string headerValue);

To affect this fix, I have added a new private method

nsPluginStreamListenerPeer::
ReadHeadersFromChannelAndPostToListener(nsIHTTPChannel *httpChannel,
                                        nsIHTTPHeaderListener *listener)

Then, modified nsPluginStreamListenerPeer::OnDataAvailable() to call
this method BEFORE reading the content data.  However, this fix makes
two important assumptions I would like to check out:

   * Assumption

   * By the time nsPluginStreamListenerPeer::OnDataAvailable() gets
   * called, all the headers have been read.

       * Assumption:

       * The return value from nsIHTTPHeader->{GetFieldName,GetValue}()
       * must be freed.

The following files are included in this fix:

A modules/plugin/public/nsIHTTPHeaderListener.idl
A modules/plugin/public/makefile.win
A modules/plugin/public/Makefile.in
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
2000-09-13 07:09:38 +00:00
edburns%acm.org
b090a933d7 a=brendan,av
r=av
bug=50811

Should include "nsISupports.idl" not "nsPluginDefs.idl".
2000-09-13 07:07:18 +00:00
scc%mozilla.org
c115faa444 bug #50811, a=brendan, on behalf of edburns@sun.com 2000-09-13 06:45:33 +00:00
edburns%acm.org
a96a90e3d9 a=brendan,av
r=av
bug=50811

This bug fix was suggested by Stanley Ho <stanley.ho@eng.sun.com>.

Stanley proposed we overload the meaning of the nsIPluginStreamListener
argument to nsIPluginManager::{GetURL,PostURL}() so that it also may
implement an interface for reading headers.  Thus, the browser could QI
the plugin's nsIPluginStreamListener instance to this headers reading
interface and send the plugin the headers from the response.

I have implemented Stanley's above proposal.  I have defined a new
interface, nsIHTTPHeaderListener.idl with one method:

  /**

   * Called for each HTTP Response header.

   * NOTE: You must copy the values of the params.

   */

  void newResponseHeader(in string headerName, in string headerValue);

To affect this fix, I have added a new private method

nsPluginStreamListenerPeer::
ReadHeadersFromChannelAndPostToListener(nsIHTTPChannel *httpChannel,
                                        nsIHTTPHeaderListener *listener)

Then, modified nsPluginStreamListenerPeer::OnDataAvailable() to call
this method BEFORE reading the content data.  However, this fix makes
two important assumptions I would like to check out:

   * Assumption

   * By the time nsPluginStreamListenerPeer::OnDataAvailable() gets
   * called, all the headers have been read.

       * Assumption:

       * The return value from nsIHTTPHeader->{GetFieldName,GetValue}()
       * must be freed.

The following files are included in this fix:

A modules/plugin/public/nsIHTTPHeaderListener.idl
A modules/plugin/public/makefile.win
A modules/plugin/public/Makefile.in
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
2000-09-13 06:40:57 +00:00
scc%mozilla.org
f75af5e15f if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 02:48:08 +00:00
cls%seawood.org
9e2e8ba282 Change MDDEPDIR to fix a VPATH issue in srcdir builds. 2000-09-12 23:37:16 +00:00
ruslan%netscape.com
d905b23b6b proxy.ssl.connect pref should be always set to true; a=gagan 2000-09-12 21:42:54 +00:00
jeff.dyer%compilercompany.com
3c7bf12fc8 FALSE -> PR_FALSE 2000-09-12 12:44:48 +00:00
jeff.dyer%compilercompany.com
ed96265c80 FALSE -> PR_FALSE 2000-09-12 12:22:52 +00:00
jeff.dyer%compilercompany.com
29b8d72406 b=45692 r=edburns a=brendan: Enable liveconnect security. 2000-09-12 11:47:42 +00:00
warren%netscape.com
f1e20aeb6c Fixed error code. 2000-09-12 05:11:11 +00:00
dimator%netscape.com
42480de5f0 Changing default collect address book maximum from 200 to 700 cards. r=putterman 2000-09-12 01:53:20 +00:00
cls%seawood.org
50cf95135d OS_ARCH does not set release numbers 2000-09-11 08:08:24 +00:00
cls%seawood.org
f9ef19da28 Remove unneeded dep that's breaking old gnu makes 2000-09-11 06:26:48 +00:00
cls%seawood.org
6d3cf6985a Fixing problem of standalone compoennts always building on every build pass. Adding objs.mk files to give better dependency handling. Bug #49937 2000-09-11 04:13:16 +00:00
cls%seawood.org
a03d3c155b Make the ifdef match the comment here as well 2000-09-11 01:22:45 +00:00
ccarlen%netscape.com
68500bd674 Fix for Win95 machines which don't have APP_DATA dir r=racham 2000-09-09 15:31:27 +00:00
rich.burridge%sun.com
939ff071ff Fix to enable XPInstall to build/run on the Solaris platform.
r=sgehani@netscape.com  a=brendan@mozilla.org
BugId: #43080.
2000-09-09 14:18:48 +00:00
edburns%acm.org
757fe3cde1 r=av
a=waterson
bug=51919

This fix makes it so nsIPluginManager::PostURL() works correctly in the
case of a null target and non-null streamListener.

The fix was to add parameters to NewPluginURLStream() for headers and
post data:

   NS_IMETHOD
-  NewPluginURLStream(const nsString& aURL, nsIPluginInstance *aInstance, nsIPluginStreamListener *aListener);
+  NewPluginURLStream(const nsString& aURL, nsIPluginInstance *aInstance,
+                     nsIPluginStreamListener *aListener,
+                     void *aPostData = nsnull, PRUint32 aPostDataLen = 0,
+                     const char *aHeadersData = nsnull,
+                     PRUint32 aHeadersDataLen = 0);

And to add a new method to correctly send the headers to the channel:

+  NS_IMETHOD
+  AddHeadersToChannel(const char *aHeadersData, PRUint32 aHeadersDataLen,
+                      nsIChannel *aGenericChannel);

Files in this fix:

M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginHostImpl.h
2000-09-08 23:58:36 +00:00
dimator%netscape.com
29df80422c Adding aging to collected address book. bug 46343. r=mscott 2000-09-08 22:56:08 +00:00
jband%netscape.com
2730e37efd warren's fix for the new/free mismatch undid kin's fix for the same problem. Also fix an off by one in the backwards 'for' loop. r=warren 2000-09-08 09:36:35 +00:00
warren%netscape.com
161e98314b Bug 50844. Fixed mismatched memory free. 2000-09-08 04:39:17 +00:00
sfraser%netscape.com
830db60916 Fix build for kandrot. Export NR_RegSetBufferSize from libreg. 2000-09-08 03:52:11 +00:00
kandrot%netscape.com
ec8f5ceddd Fix for bug #46709. Missed this file in checkin.
r=rayw
2000-09-08 02:44:13 +00:00
kandrot%netscape.com
5899bf563d Fix for bug #46709.
Allows buffer size of registry to change.

r=rayw
2000-09-08 01:53:15 +00:00
kandrot%netscape.com
e89ce829b0 Fix for bug #46709
Allows registry buffer size to be modified.  Increases buffer size during
initial start up, then decreases size.

r=rayw
2000-09-08 01:51:45 +00:00
mscott%netscape.com
81b816da2e Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
2000-09-08 00:24:13 +00:00
radha%netscape.com
e3853c347c Fix for bug # 43871. Pref to disable/enable autocomplete. r=ducarroz. 2000-09-07 21:19:36 +00:00
kin%netscape.com
872a42a450 Fix for bug #50927: UMR and FMM: nsJARChannel::GetContentType().
Added check for NULL mJAREntry and we now free filename with 'delete'.
r=warren@netscape.com
2000-09-07 19:31:10 +00:00
morse%netscape.com
f1dd1c89b4 bug 51338, cookie nag box not modal, r=mstoltz 2000-09-07 07:00:36 +00:00
tor%cs.brown.edu
027dad8637 Output console warning if chrome images are abusing alpha (8-bit
channel to represent binary alpha or fully opaque 1-bit alpha).
r=bryner, a=brendan.
2000-09-06 04:42:38 +00:00
pnunn%netscape.com
31041e63eb bug#50778: not a fix, but ifdef code to switch "pin chrome" on&off. 2000-09-06 00:23:46 +00:00
cata%netscape.com
a0b88e8a8c Fix for bug #47341 r=ftang a=ftang. 2000-09-05 23:54:59 +00:00
mcafee%netscape.com
fbb88528fa Removing unused pref (51246). r=pavlov 2000-09-05 23:03:39 +00:00
rpallath%eng.sun.com
14da8d77d9 Reviewed by Ed Burns
Added MOZ_DEBUG flags and include stmts. to copy dll's to bin/components
dir.
2000-09-05 20:58:42 +00:00
rpallath%eng.sun.com
a73b3fd4fb Reviewed by Ed Burns
Check for OS type and accordingly reflect  mozilla executable name
2000-09-05 20:57:20 +00:00
edburns%acm.org
8ee33dddde This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.
2000-09-05 19:03:56 +00:00
tor%cs.brown.edu
41fda0bc4e Bug 46700 - use 1-bit alpha if tRNS chunk indicates binary alpha.
r=newt@pobox.com, a=brendan@mozilla.org.
2000-09-05 18:47:43 +00:00
dbaron%fas.harvard.edu
01f01c4890 Fixing scc's typo to fix harpoon orange, etc. r=scc 2000-09-04 01:19:36 +00:00
scc%mozilla.org
daa61fe5b5 we think the fix is in to support the original form, so back to the original form we go 2000-09-04 00:50:50 +00:00
scc%mozilla.org
90c34a3a99 and here we are, back to square one. 2000-09-03 08:25:02 +00:00
scc%mozilla.org
be4ff1fbf1 fix speedracer bustage 2000-09-03 05:54:31 +00:00
scc%mozilla.org
aa10bae8a2 I'll try anything, now 2000-09-03 03:25:42 +00:00
scc%mozilla.org
2accda54de OK, nothing has worked yet. It's time to roll out the big guns: |NS_READABLE_CAST| 2000-09-03 02:50:18 +00:00
scc%mozilla.org
15c68c67b7 hack to fix pravda and speedracer bustage 2000-09-03 01:38:38 +00:00
scc%mozilla.org
3093bd5ab5 hack to fix pravda bustage 2000-09-03 00:25:42 +00:00
akkana%netscape.com
783035aa7e 50935: make multiline paste into single line text control switchable. r=mjudge 2000-09-01 21:12:43 +00:00
jst%netscape.com
c9ef287bd5 Fixing assertion on startup. r=vidur 2000-09-01 19:07:15 +00:00