Граф коммитов

2412 Коммитов

Автор SHA1 Сообщение Дата
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
pnunn%netscape.com 2007593a30 bug#13718: add hooks for natural dimensions of image. pnunn. r:cmanske, kmmcclusk 2000-09-01 01:13:28 +00:00
pnunn%netscape.com 218ec39c93 bug#50614: leak fix. pnunn. r:bruce 2000-09-01 01:09:30 +00:00
brendan%mozilla.org d965b821ed Use lazy JS class init to save memory and cycles; also expand tabs per Emacs modeline (46703, r=blizzard@mozilla.org). 2000-08-31 02:59:59 +00:00
jst%netscape.com ca738093f5 Fixing nsbeta3+ bug 48213 and most of bug 48161. Finally removing the temporary DOM Level 2 debugging code, cleaning out some unused code and making getAttribute and setAttribute on HTML elemensts case insensitive. r=vidur@netscape.com, waterson@netscape.com 2000-08-31 00:36:31 +00:00
slamm%netscape.com 859734620a Sidebar customize dialog: More panels link (47585). r=mcafee 2000-08-30 23:41:17 +00:00
cls%seawood.org 11e77d89f5 Build fixes for BeOS. Thanks to Dan Moore <pergamon@68k.org> for the patch. 2000-08-30 07:21:31 +00:00
racham%netscape.com 8e5937715a Fixing bug 6464. Moving Users50 and registry location on windows to Application Data folder. r=dveditz, ccarlen 2000-08-29 23:44:53 +00:00
cata%netscape.com 1b3d97c7f4 Fix for bug #38645 a=ftang, r=nhotta. 2000-08-29 23:22:09 +00:00
matt%netscape.com 20ec8f9da1 adding default search pref
http://bugzilla.mozilla.org/show_bug.cgi?id=44036
r=mcafee
2000-08-29 00:30:10 +00:00
vidur%netscape.com a6fa8885ba Fix for bug 43902. The DOM glue now streamlines the Get/SetProperty methods for the window class. Window.location and title and document.title are now part of the idlc interfaces, rather than special-cased. r=jst@netscape.com 2000-08-29 00:14:23 +00:00
pnunn%netscape.com 49f49491dd bug#48546: animation loop load attributes. pnunn 2000-08-28 23:44:29 +00:00
pnunn%netscape.com d4913b4196 bug#48546: animation loop load atttributes. pnunn 2000-08-28 23:43:10 +00:00
pnunn%netscape.com 38c369709f bug#46704: chkin for syd. r: pnunn. keep single frame chrome in imgcache. 2000-08-26 18:18:25 +00:00
pnunn%netscape.com e554398398 bug#46704: chkin for syd. r:pnunn. keep single frame chrome in imgcache. 2000-08-26 18:17:25 +00:00
pnunn%netscape.com 4923c349c0 bug#46704: chkin for syd. r:pnunn. Keep single frame chrome in imgcache. 2000-08-26 18:16:02 +00:00
locka%iol.ie ecebe2ac21 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
sgehani%netscape.com 8b7c694896 Rename libzlib -> libz complying with standard zlib naming convention.
[nsbeta3+ b=49735; r=sobotka@axess.com]
2000-08-25 08:32:19 +00:00
bryner%uiuc.edu 4435ee5968 Turning off ctrl+mousewheel text zooming by default. It's not properly
synced up with the text size menu, and feedback seems to indicate that
it's extraneous and/or prone to accidental firing.  I would like to rework
this at some point, but getting it off the beta3+ radar for now.  Bug
45647.
2000-08-25 05:59:11 +00:00
dprice%netscape.com 5a7dbae537 Making the protocol handler threadsafe for win2K happiness 2000-08-25 04:56:01 +00:00
warren%netscape.com b68033c805 Changed to not add to load group on OpenInputStream 2000-08-24 22:35:46 +00:00