Commit Graph

379 Commits

Author SHA1 Message Date
timeless%mac.com
c4d44ab97c Bug 119051 duplicate symbol breaks win32 static build
create and use nsIIOService::getQueryAttributeValue
r=dbradley sr=darin
2002-01-16 05:07:31 +00:00
jst%netscape.com
4497685b25 Fixing bug 64248. Making the loading of external scripts pass the referrer to the server when requesting the script. r=gagan@netscape.com, sr=darin@netscape.com 2002-01-08 06:32:36 +00:00
gerv%gerv.net
827832d0fc Updating licenses to tri-license. 2001-12-22 09:15:51 +00:00
alecf%netscape.com
51f6a6fcc0 bug 100212 - add new APIs to nsIOService to do URL parsing/conversion of nsIFiles
r=dougt, sr=darin
2001-12-19 00:55:42 +00:00
darin%netscape.com
c739c5639b fixes bug 114286 "No way to determine if a http request was a 304 or not."
r=pavlov, sr=mscott
2001-12-14 22:53:13 +00:00
darin%netscape.com
94012c9c3c fixes bug 83471 "Redirection loops"
r=bbaetz@cs.mcgill.ca
sr=rpotts@netscape.com
2001-12-08 00:23:04 +00:00
darin%netscape.com
b639381424 fixes bug 15320 "Forms/Necko: Temp file (formpost) left after file upload"
r=dougt, sr=mscott
2001-12-07 00:40:55 +00:00
radha%netscape.com
758ef65b09 add nsIMultipartChannel to makefiles for bug 99638. r=darin sr=rpotts 2001-11-27 23:12:16 +00:00
radha%netscape.com
3a93f268fe Initial checkin for bug 99638. 2001-11-27 23:04:18 +00:00
seawood%netscape.com
7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jst%netscape.com
833790a9a7 Fixing bug 109182. Don't allocate a string buffer every time NS_NewURI(nsIURI**, const nsAReadableString&) is called. r=dbaron@fas.harvard.edu, sr=darin@netscape.com 2001-11-16 08:23:28 +00:00
darin%netscape.com
36a44ba4ac landing standard url rewrite (bug 103916)
r=andreas.otte@debitel.net, sr=brendan,alecf
2001-11-16 02:09:13 +00:00
dougt%netscape.com
20e863fb43 Moving nsISimpleEnumerator interface to new idl file. 99136, r=alecf@netscape.com sr=rpotts@netscape.com 2001-10-30 22:07:28 +00:00
morse%netscape.com
f49e54f0fc bug 47437, nscookie.cpp is duplicationg URL parsing logic, c=andreas.otte, r=morse, sr=alecf 2001-10-19 02:28:06 +00:00
darin%netscape.com
82e1e81ee2 fixes bug 102743 "Crash pressing Back or Forward on O'Reilly website"
r=gagan, sr=rpotts
2001-10-18 10:37:04 +00:00
morse%netscape.com
6d80e066db backing out fix for bug 47437 due to memory leak 2001-10-11 00:40:07 +00:00
morse%netscape.com
4de4cff5b4 bug 47437, nsCookie.cpp is duplicating URL parsing logic, c=andreas.otte, r=morse, sr=alecf 2001-10-10 23:16:03 +00:00
darin%netscape.com
d8ee6b5e0f code changes for bug 42898 "iDNS support"
patch=william.tan@i-dns.net r=gordon sr=darin,brendan a=asa
2001-10-05 07:50:21 +00:00
akkana%netscape.com
67955a3ef0 97677: Check whether a link exists. r=cmanske,sr=darinf 2001-10-03 00:21:34 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
darin%netscape.com
47cd548d67 fixes bug 97997 "easyweb.tdcanadatrust.com does not display" r=bbaetz, sr=dougt 2001-09-21 03:59:02 +00:00
andreas.otte%primus-online.de
36bc63e942 fix bug 97983 [ExtractUrlPart allows no access to the directory part of the url] This patch introduces a new bitmask url_Path that allows accessing the whole path, moved url_Directory from path access to it's original meaning accessing the directory portion of the url. Also fixed some start/endposition calculations, r=dougt@netscape.com,sr=darin@netscape.com 2001-09-14 05:47:54 +00:00
andreas.otte%primus-online.de
9e81eaca3a fix bug 97988 [contractid of nsAuthURLParser same as of nsNoAuthURLParser] seems to be a simple cut and paste error now corrected, r=dougt@netscape.com, sr=darin@netscape.com 2001-09-13 07:42:22 +00:00
darin%netscape.com
5a2d9f0d2d checking bbaetz's patch for bug 89500 "SOCKS: only http|https re-directted in (post Mozilla 0.9.2)"
patch=bbaetz, r=dougt, sr=darin
2001-09-13 02:21:05 +00:00
andreas.otte%primus-online.de
8271ce3a1d fix bug 94796 [code cleanup in nsURLHelper.cpp] remove nsURLEscape/nsURLUnescape from nsURLHelper and replace all usage with nsStdEscape/nsStdUnescape, r=ccarlen@netscape.com, sr=dougt@netscape.com 2001-09-08 12:47:05 +00:00
valeski%netscape.com
93959d48cc r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
dougt%netscape.com
06b25f0cc2 adding nsIUploadChannel to the build. r=darin, sr=rpotts 2001-09-05 03:32:23 +00:00
darin%netscape.com
78b6a836ba fixes bug 95981 "Changes in background images on pages do not show on reload"
r/sr=rpotts,dougt a=roc+moz
2001-08-24 22:24:10 +00:00
darin%netscape.com
b95283c439 backing out my patch for bug 95981 to fix blocker bug 96480 2001-08-23 18:58:25 +00:00
darin%netscape.com
a57a8ea189 fixes bug 95981 "Changes in background images on pages do not show on reload"
r=pavlov, sr=dougt
2001-08-22 00:46:08 +00:00
brendan%mozilla.org
6d895baf1d Bit checkin for bug 68045, r/sr=waterson&shaver, second attempt. It all works
for me on optimized and debug gcc2.96, rh7.1.

- Better failure codes from nsXULPrototypeScript::Deserialize.

- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Reader must close after the Writer or Updater,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-21 20:51:34 +00:00
blizzard%redhat.com
b0f8b91746 Back out brendan's checkin to try and get linux starting up again. 2001-08-17 19:45:11 +00:00
brendan%mozilla.org
b00819c93c - Better failure codes from nsXULPrototypeScript::Deserialize.
- Call nsXULDocument::AbortFastLoads after nsXULPrototypeScript::Serialize
  failure, instead of just nulling the FastLoad service's output stream.

- Expose nsXULDocument::AbortFastLoads via nsIXULPrototypeCache, for use from
  nsChromeProtocolHandler.cpp.  AbortFastLoads flushes the XUL cache now, for
  good measure.

- The needless "Current" adjective in nsIFastLoadService attribute and method
  names is no more.

- Add a do_GetFastLoadService() helper, to use CID instead of contractid, and
  to let the compiler consolidate the static inline CID.

- Add "nglayout.debug.checksum_xul_fastload_file" pref so people can do without
  the checksum verification step when reading a FastLoad file.

- Verify the FastLoad file checksum, by default.  Also, cache it in the FastLoad
  service so we don't recompute it when re-opening the FastLoad file as mailnews
  and other top-levels start up.  Fill the checksum cache in EndFastLoad, when
  the last pseudo-concurrent top-level finishes loading.

  My hope to compute the checksum while writing the FastLoad file ran afoul of
  misordered writes.  The old code to checksum the in-memory nsFastLoadHeader
  also was broken on little endian platforms.  Now all checksumming is done via
  a separate read pass over the complete file, save for the header's checksum
  field, which is summed as if it contained zero.

- Track and check FastLoad file dependencies.  This required groveling with a
  bunch of Necko interfaces in nsChromeProtocolHandler::NewChannel -- read it
  and weep.  Dependency checking, as well as checksum access and computation,
  use better-factored nsIFastLoad{File,Read,Write}Control interfaces.

- nsBufferedStream::Seek wasn't flushing the buffer when seeking backward
  within the buffer, but it must, because mCursor bounds the amount to write
  if the buffer contains the end of file.

- Add an unbufferedStream readonly attribute to nsIStreamBufferAccess, so we
  don't have to screw around with the bufferying layer when checksumming. Also
  implement nsIStreamBufferAccess in nsBufferedOutputStream.

- nsISeekableOutputStream was bogus, based on a bad state I had put the
  nsBufferedOutputStream code in on its way from being completely broken when
  you seek backwards outside of the buffer.  Removing this interface required
  using nsIFastLoadFileIO in nsFastLoadFileWriter, and it also required careful
  ordering of Close calls (the Writer or Updater must close after the Reader,
  so that the Reader's underlying, unbuffered input stream can be read by
  nsFastLoadFileWriter::Close to compute the checksum.

- Miscellaneous tab/indentation, comment typo, bracing, if( => if ( style,
  nsnull vs. 0, useless variable elimination, tortured control flow,
  AutoString instead of String, and gratuitous ; after nsISupportsUtils.h
  macro call cleanups.
2001-08-17 09:52:55 +00:00
bbaetz%cs.mcgill.ca
b5669c78c0 Bug 92006: Send connection: close to proxies when persistant conections are disabled.
Bug 94038: Wrong hostname in the status bar used when proxy-keepalive is enabled.

r=gagan, sr=darin on both patches
2001-08-10 22:04:51 +00:00
bbaetz%cs.mcgill.ca
fcb0a0b4af This should be scriptable. r/sr=darin. 2001-08-10 01:11:04 +00:00
darin%netscape.com
937676eb44 cleaned up some comments and indentation 2001-08-08 10:03:29 +00:00
andreas.otte%primus-online.de
6917b5d061 bug 40670 [URL: resolution of protocol:/path] checking in the groundwork to have an easy fix if we ever decide to support these kind of deprecated relative urls. For that a new attribute URIType is added to nsIProtocolHandler and its implementations to store some protocol/scheme dependend information to have enough information to allow correct parsing. r=darin@netscape.com sr=rpotts@netscape.com 2001-08-07 20:42:57 +00:00
serge%netscape.com
b5c917a8b5 bug 79246 PAC: reload of PAC file fails; submitted by tingley@sundell.net, r=serge, sr=darin 2001-08-04 01:53:49 +00:00
ddrinan%netscape.com
18974de8f4 Bug 85720 - domestic DES 56-bit cipher pref. r=ssaux,sr=blizzard 2001-08-02 23:46:30 +00:00
brendan%mozilla.org
dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
gordon%netscape.com
82c4c53fbd Fix for bug 86474 and bug 79983. Truncate files used by nsFileTransport
and eliminate trailing garbage from updated cache files. r=gagan, sr=darin
2001-07-25 00:40:42 +00:00
bbaetz%cs.mcgill.ca
1e315ce34b Bug 86109. Pass "gopher" into the port-safety function for consistency, and
remove the default parameter. r=jesse, sr=dougt
2001-07-18 23:48:21 +00:00
dbaron%fas.harvard.edu
aa4fec2b67 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
bzbarsky%mit.edu
6587a3431e Add an nILineInputStream interface, a ReadLine() helper function, and an
implementation of this interface by nsFileInputStream.  Bug 81165,
r=dougt, sr=darin
2001-06-28 03:19:51 +00:00
dougt%netscape.com
758f79ff72 Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.
2001-06-21 22:02:47 +00:00
dougt%netscape.com
e0c4831d10 Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko 2001-06-06 00:10:09 +00:00
sgehani%netscape.com
44bb9f39f3 Remove extra whitespace after "nsIPasswordManager.idl \" 2001-06-05 12:37:01 +00:00
sgehani%netscape.com
c2dd4cf85f Fix unix bustage: remove whitespace after "nsIPasswordManager.idl \" 2001-06-05 12:34:54 +00:00
sgehani%netscape.com
ca316912d6 Stop building nsIPasswordManager.idl in extensions/wallet and start building it in netwerk/base. b = 76095 r = morse sr = sfraser a = drivers 2001-06-05 11:43:40 +00:00
ducarroz%netscape.com
18073f24cc Fix for bug 81751. Add define for mime type multipart/x-mixed-replace and multipart/byteranges. Also export nsIFileStreams.idl on Mac. R=varada, SR=mscott, A=asa 2001-06-04 22:59:22 +00:00