Commit Graph

818 Commits

Author SHA1 Message Date
alecf%netscape.com
82e08a59fe oops, remove this chrome line - for REQUIRES builds only 2001-09-21 14:28:26 +00:00
racham%netscape.com
1498018c58 Fixing bug 100404. Backing out changes made to xpcom that caused dependency on chrome component. AccountManager in mailnews need to be fixed as explained in bug 100483 to solve the problem in a better way. 2001-09-19 07:43:41 +00:00
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jband%netscape.com
5fa841a6c4 unbust XPCOM_STANDALONE. bug 66759. These days xpcom relies on nsIChromeRegistry.h too. Gak! r=dougt sr=brendan. 2001-09-18 21:43:46 +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
mkaply%us.ibm.com
37c8ec32dd myotonic REQUIRES bustage I think 2001-09-15 13:00:17 +00:00
racham%netscape.com
2b71c485c2 Fixing bugscape bug 4198. This fix allows ISPs add signature files to the user accounts. Adding changes to AppFileLocationProvider to get to messenger defaults. 2001-09-15 07:53:54 +00:00
dbaron%fas.harvard.edu
dcd9a0a54f Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag sr=alecf b=45797 2001-09-10 19:54:27 +00:00
alecf%netscape.com
c20ca03a02 dumb
CVS :nd string makefile updates for 98371 r=cls----------------------------------------------------------------------
2001-09-06 03:56:35 +00:00
dougt%netscape.com
472c18ab02 Trival change to fix 58792 submitted by jkobal@us.ibm.com 2001-09-05 03:51:38 +00:00
sfraser%netscape.com
be60c97334 Bug 62110 - initialize rv in nsLocalFile::SetPersistentDescriptor. Fixes multiple folders bug in mail on Mac OS X, and probably other bugs as well. r=pinkerton, sr=mscott, a=dbaron 2001-08-28 01:57:20 +00:00
mkaply%us.ibm.com
21d26d1cae #95651
r=mkaply, timeless a=blizzard
OS/2 only - code from Javier Pedemonte - fix Launch/Reveal behavior for Os/2
2001-08-22 04:33:17 +00:00
dbradley%netscape.com
d823328c42 Bug 93792: This is the part to make passing nsID by value illegal in xpidl without notxpcom, see bug for a better explanation. sr=brendan, r=jband 2001-08-22 01:04:26 +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
darin%netscape.com
500cf3e2a6 fixes bug 92563 "Bad comment in nsIInputStream?" r/sr=jst 2001-08-21 06:49:46 +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
cathleen%netscape.com
be72d98064 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
cls%seawood.org
80edcd8228 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 04:18:27 +00:00
ccarlen%netscape.com
738d8b1edd Bug 90686 - Can't migrate profiles under MacOS X. Make Mac_PreferencesDirectory return the prefs dir of the classic environment under OS X so we can find 4.x profile info. r=sdagley/sr=sfraser. 2001-08-09 13:12:10 +00:00
brendan%mozilla.org
49c0102cdf Restore scriptable nsIClassInfo.classID but add fast/C++-only classIDNoAlloc; define and use nsIClassInfo::EAGER_CLASSINFO in caps (93792, sr=waterson&jst). 2001-08-07 03:59:29 +00:00
pinkerton%netscape.com
7023f82c01 Working around dynamic linker restrictions on hp/macosx. r=dbaron/sr=brendan.
bug# 93479
2001-08-03 20:54:25 +00:00
pete%alphanumerica.com
61a82b2d59 Fix for nsLocalFile::CopyTo not fully implemented on Unix.
r=ccarlen, sr=brendan, b=53474

--pete
2001-08-03 03:42:04 +00:00
pete%alphanumerica.com
299a281e21 Fix for broken AppendRelativePath on unix. r=jag, sr=brendan b=55406.
Note, this method will be going away soon.

--pete
2001-08-03 03:26:26 +00:00
brendan%mozilla.org
88d548212c Try to placate the HP-UX compiler by keeping gFastLoadService_'s decl before any uses in a template class. 2001-07-31 23:23:38 +00:00
brendan%mozilla.org
a80cd5bfe0 Danm's fix for Mac CodeWarrior C++ glitch, and a cosmetic sneak-fix. 2001-07-31 22:22:36 +00:00
dbaron%fas.harvard.edu
82ae0d644e Fixing HP bustage. For the record, the error message was: Undeclared variable 'mRawPtr'. A variable with the same name exists in a template base class, but is not visible according to the Standard lookup rules (See [temp.dep], 14.6.2(3) in the C++ Standard). You can make it visible by writing 'this->mRawPtr'. 2001-07-31 21:23:58 +00:00
dbaron%fas.harvard.edu
069feea3b5 Fix OS/2 and BeOS bustage from fastload landing. 2001-07-31 20:34:37 +00:00
brendan%mozilla.org
dbd7fed5b1 FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
pete%alphanumerica.com
f020dcc1cd Fix for nsIFile delete conflicts with JS reserved name b=37406, r=dougt, sr=jst
Renamed all Delete methods to Remove.

--pete
2001-07-24 18:38:25 +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
kandrot%netscape.com
4b1cdae4e6 Adding default string in Normalize to allow Purify to run under Solaris. r=kandrot@netscape.com, sr=scc@mozilla.org 2001-07-09 23:42:00 +00:00
mkaply%us.ibm.com
07ac9d2406 Beos build bustage - 82205 2001-06-30 20:26:40 +00:00
pete%alphanumerica.com
98341fcf19 Fix for nsIFile IsSpecial. r=dougt sr=jst b=82205
Checking this in for tenthumbs.

--pete
2001-06-30 13:30:32 +00:00
jaggernaut%netscape.com
5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
pete%alphanumerica.com
45ad96b478 Fix for nsIFile GetTarget method.
r=dougt sr=jst b=88032

--pete
2001-06-29 17:43:59 +00:00
scc%mozilla.org
a5e83cef5a fixing ports bustage 2001-06-29 17:39:25 +00:00
pete%alphanumerica.com
d11372133c Fix for broken nsIFile method IsSymlink
b=81927 r=blizzard sr=jst

--pete
2001-06-28 12:03:47 +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
pete%alphanumerica.com
cc3862d93c Fix for mPath string corruption when nsIFile parent is called and the
file is a top level dir such as /tmp

b=84738 r=dougt sr=jst

--pete
2001-06-27 12:29:45 +00:00
mkaply%us.ibm.com
f6ce43102b senna bustage 2001-06-22 03:13:45 +00:00
mkaply%us.ibm.com
1ed35daf79 Fix OS/2 breakage. We have an nsLocalFile too. 2001-06-22 02:57:07 +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
syd%netscape.com
62bb35349f Fix for 85986. If we find a shortcut and we are not resolving it, it is ok to
return we found it. r=dougt, sr=mscott, a=drivers
2001-06-19 03:17:20 +00:00
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
scc%mozilla.org
a8fb409c6e bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process. 2001-06-17 05:23:38 +00:00