Commit Graph

984 Commits

Author SHA1 Message Date
sspitzer%netscape.com
80a791c8d0 fix for #104929. some minor optimizations to nsStdURL.cpp.
use PL_strchr() instead of PL_strstr() when possible.

switch from PR_smprintf() to += and AppendInt(), to avoid the malloc and free.

r=sfraser, sr=darin
2001-10-16 00:29:28 +00:00
darin%netscape.com
a3486db352 fixes bug 103979 "Crash if autoconfig proxies prefs enabled by the default"
r=gagan,dougt sr=rpotts
2001-10-15 22:26:19 +00:00
dbaron%fas.harvard.edu
353353a47e Reduce string copying in nsLoadGroup::GetName. b=102386 r=jag sr=darin 2001-10-11 01:09:18 +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
bnesse%netscape.com
b7ed11b5b3 Fix for bugscape bug 7630, crash at www.barbie.com. Added check to kick out of loop if end of string reached. r=peterlubczynski, sr=darin. 2001-10-10 22:56:07 +00:00
dougt%netscape.com
2288ffb528 fixes 89097. Adds pref observer to IOService. r=me, sr=darin, patch submitted by tingley@sundell.net 2001-10-08 22:27:14 +00:00
darin%netscape.com
836a737b32 fixes bug 103043 "nsSocketTransport should only fire OnStatus when status
changes" r=bbaetz, sr=mscott
2001-10-08 22:17:25 +00:00
andreas.otte%primus-online.de
2502cf69ae fix bug 32895 [Converting \ to / in urls on windows only (was: RFC 2396 $2.4.3 non-compliance?)] We no longer convert \ to / inside the core urlparser on windows only. Conversion from filepath to url still does. r=dougt@netscape.com sr=darin@netscape.com 2001-10-06 12:08:44 +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
bbaetz%cs.mcgill.ca
f7b29a552d Bug 78148. Reorg directory viewer backend to allow file and gopher to use
the html view as well. (This is currently disabled for file because of
i18n issues)

Should also fix dirviewer bugs 38014, 68651, 72724, 78474, and part
of 83881.

r/sr=darin, dougt
2001-10-03 00:43:30 +00:00
akkana%netscape.com
4ccf4d7c00 97677: Check whether a link exists. r=cmanske,sr=darinf 2001-10-03 00:40:10 +00:00
akkana%netscape.com
67955a3ef0 97677: Check whether a link exists. r=cmanske,sr=darinf 2001-10-03 00:21:34 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +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
andreas.otte%primus-online.de
d3a221e32e fix bug 99081 [ExtractPortFrom sometimes finds ports that are not there] again, this time we were not finding enough ports. Now we are checking for ? and # as additional delimiters. r=dougt@netscape.com, sr=darin@netscape.com 2001-09-28 10:57:06 +00:00
cmanske%netscape.com
62e1f70c25 Fixed nsIOService::ResolveRelativePath problem when basePath ends in '/', b=97682, r=andreas.otte@primus-online.de, sr=dougt 2001-09-26 19:34:11 +00:00
dbaron%fas.harvard.edu
83d354d00f Add PR-logging and assertions used to find bug 94979. r=bbaetz rs=darin, dougt 2001-09-26 05:21:12 +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
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com
62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +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
511821a823 fix bug 99081 [ExtractPortFrom sometimes finds ports that are not there] ExtractPortFrom trys to parse the portnumber from url-strings and sometimes it found ports that are none like messageids of news urls, r=dougt@netscape.com, sr=darin@netscape.com 2001-09-14 05:38:51 +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
alecf%netscape.com
8bf5905937 add REQUIRES support to jpeg, sun-java, db, etc.. b=98371 r=cls 2001-09-10 20:48:38 +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
dougt%netscape.com
f72e52e830 Merge ServiceManager and ComponentManager. Bug 96457. r=dp@netscape.com, sr=wat
erson@netscape.com
2001-09-06 21:13:11 +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
57714b728f fixes bug 83526 "http should use fewer connections per server per page"
r=bbaetz sr=dougt,blizzard
2001-09-04 23:02:26 +00:00
cmanske%netscape.com
281f3b2927 Fixed getting fileBaseName and fileExtension parts of nsIOService::ExtactUrlPart(), b=97679, r=dougt, sr=darin, a=bizzard for drivers 2001-08-31 21:37:30 +00:00
darin%netscape.com
c75f83945e fixes bug 93924 "PAC - dnsResolve should have one-element cache"
patch=tingley@sundell.net r=bbaetz, sr=darin, a=roc+moz
2001-08-30 01:35:26 +00:00
darin%netscape.com
15640fb118 fixes bug 47041 "Unable to unregister an HTTP Notify listener"
r=bbaetz, sr=dougt, a=roc+moz
2001-08-24 22:27:06 +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
darin%netscape.com
7eb22d9b85 fixes bug 94811 "leaking sockets; nsISocketTransport::IsAlive not implemented reliably"
r=wtc, sr=dougt
2001-08-22 00:24:26 +00:00
stephend%netscape.com
6c8931326a Attempt to fix rjesup's bustage. a=sheriff 2001-08-21 22:43:47 +00:00
rjesup%wgate.com
0fbfbfe4ce bug 96289: mURLParsers cache wasn't. r=gagan@netscape.com,
sr=dougt@netscape.com
2001-08-21 21:49:04 +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
andreas.otte%primus-online.de
96f6859891 fix bug 84409 [Incorrect request for page components if main page URL contains ";" character] Implementing param support according to RFC 2396, r=dougt, sr=rpotts 2001-08-21 20:35:01 +00:00
dbaron%fas.harvard.edu
113ad642ae Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +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
rjesup%wgate.com
7fc3166007 Fix for evil win32 compiler to unhork build. sr=hyatt@netscape.com 2001-08-17 04:46:35 +00:00
rjesup%wgate.com
7f6ee800b1 Checkin for buig 92641. Cuts 1000ish allocations from startup; doesn't dup schem as often. r=dougt@netscape.com sr=hyatt@netscape.com 2001-08-17 04:01:38 +00:00
cathleen%netscape.com
be72d98064 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
dougt%netscape.com
7d73da2c7b optimization for nsDownloader. 92804. r=pavlov, sr=darin@netscape.com 2001-08-17 00:17:52 +00:00