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

4713 Коммитов

Автор SHA1 Сообщение Дата
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
timeless%mac.com 728471dfeb Bugzilla Bug 24515 Cant build XPCOM standalone
Bugzilla Bug 88747 nsCRT::atoi should be removed or fixed
Whoops, i contributed to xpcom standalone not working
patch by jband, r=dbaron, sr=brendan

This makes nsCRT::atoi in standalone assert and functionally NOP
2001-08-21 19:36:07 +00:00
dp%netscape.com 3b887dad3f adapting to CreateInstancebyContractID() perf improvement 2001-08-21 19:07:26 +00:00
dbradley%netscape.com d5008db8dd Bug 44989: the memory allocated via g_malloc() should be freed via g_free(). sr=blizzard, r=jst 2001-08-21 12:33:28 +00:00
dbradley%netscape.com c7afe77c82 Bug 83591: XPIDL does not store the file length in the header in XPT Files. sr=scc, r=jband 2001-08-21 12:29:34 +00:00
jst%netscape.com e7ee086f77 Fixing bug 95871. Making it possible to put null pointers in nsISupportArrays. r=pavlov@netscape.com, sr=waterson@netscape.com 2001-08-21 08:51:19 +00:00
darin%netscape.com 500cf3e2a6 fixes bug 92563 "Bad comment in nsIInputStream?" r/sr=jst 2001-08-21 06:49:46 +00:00
jband%netscape.com 51fd255e6e bug 65727. Make it an error to not have XP_WIN defined if you are compiling on Win32. Too many people with their own build projects stumble into this hole. r=valeski sr=scc (turns out this was reviewed months ago and I neglected to check it in. My bad) 2001-08-21 01:59:55 +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
waterson%netscape.com 76c2f631f2 Bug 93100. Change NS_DECL_NSGETMODULE to be table driven so we can get at module ctor & dtor callbacks. Update meta-module and static-module stuff for this change, fix meta-module to not register stuff twice. r=cls,leaf 2001-08-21 01:47:31 +00:00
waterson%netscape.com b2442974aa Bug 93100. Change NS_DECL_NSGETMODULE to be table driven so we can get at module ctor & dtor callbacks. Update meta-module and static-module stuff for this change, fix meta-module to not register stuff twice. r=cls,leaf 2001-08-21 00:55:20 +00:00
dbaron%fas.harvard.edu a2213222f4 Add CallGetInterface. b=92602 r=jag sr=scc 2001-08-18 14:15:07 +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
waterson%netscape.com edb76e0c37 modify mac project files for MOZ_TIMELINE tool, bug 78793 2001-08-17 02:04:20 +00:00
cathleen%netscape.com be72d98064 enable MOZ_TIMELINE tool, bug 78793, r=rogc, sr=waterson 2001-08-17 02:03:34 +00:00
dbradley%netscape.com 65c9d77819 Bug 90366: XPIDL-Generated code produces preprocessor warnings, removed use of ##. sr=scc, r=jband,jst 2001-08-16 13:40:51 +00:00
waterson%netscape.com 6eebace45b Bug 95296. Use nsCRT::HashCode() instead of bad lossy slow hash routine. sr=brendan 2001-08-16 03:24:45 +00:00
cls%seawood.org 4011aa29d9 Replace previous 64-bit safe checkin with one that maintains the proper output of nsTraceRefcnt.
Bug #20860 r=dbaron sr=brendan
2001-08-15 03:30:39 +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
cls%seawood.org 611a76fc9d Adding NS_PTR_TO_INT32 & NS_INT32_TO_PTR macros to do safe pointer casting on 64-bit platforms.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 04:14:47 +00:00
dbradley%netscape.com b77edf6fe1 Bug 84498: xpidl_process_idl may return uninitialized value. r=beard, sr=scc 2001-08-10 13:52:21 +00:00
dbradley%netscape.com 4c2371ce49 Bug 82284: Change puts a clearer error message on zero length files. r=dbradley, r=beard, sr=scc, patch by jband 2001-08-10 13:47:45 +00:00
dbradley%netscape.com 440f0ebe55 Fix for bug 42608: portability fixes for dec, problems with assert macros r=dbradley, sr=jst, patch by jband 2001-08-10 01:06:14 +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
jaggernaut%netscape.com 7f2d9f66c8 Bug 94235: add NS_COM to declaration of nsPrintfCString. r=/sr= jst,scc 2001-08-09 09:27:47 +00:00
waterson%netscape.com 8d21caeac8 Bug 94267. Clean up nsVoidArray::GrowArrayBy(), fixing a couple of crashers. r=rjesup, sr=brendan 2001-08-09 01:11:18 +00:00
waterson%netscape.com 18feb35a92 Fix mac bustage. 2001-08-07 06:27:42 +00:00
waterson%netscape.com ec45d8212e Bug 90545. nsVoidArray and nsSupportsArray cleanup. Patch submitted by rjesup@wgate.com, r=jst, sr=waterson. 2001-08-07 06:23:40 +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
waterson%netscape.com 9abf7984af Bug 71248. Convert content, layout, parser, and uconv to generic modules so that they can be linked into a meta-module. r=cathleen, sr=brendan 2001-08-07 02:55:54 +00:00
dbradley%netscape.com 56978e5af7 Fix for bug 24965. This makes multiple attributes in same declaration an error in XPIDL. sr=scc, r=rginda 2001-08-06 20:42:53 +00:00
vidur%netscape.com c8aff8704f Temporary fix for bug 92859. Components can now be registered with the generic module macros to have class info, but not be instantiable via the component manager. Currently, the class object of such components are created eagerly at module initialization time. A future fix might create them lazily. r/sr=jband, jst 2001-08-06 07:05:22 +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
waterson%netscape.com c8136527c4 First checked in. Submitted by dp <dpsuresh@netscape.net>. r=dveditz, sr=waterson 2001-08-02 20:26:25 +00:00
dbaron%fas.harvard.edu 2b8d7b6266 Add test for gcc 2.7.x on Linux, which requires CFRONT_STYLE_THIS_ADJUST. r=waterson sr=shaver b=88397 2001-08-02 02:02:06 +00:00
brendan%mozilla.org e7bc717e12 Fix ownership initializer merge botch (93079, dbaron's patch, sr=shaver, r=me). 2001-08-01 22:34:42 +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 c0c8e1ad28 Adding nsIFastLoadFileControl.idl to project. Change emailed from Zach, to fix fastload branch landing bustage. 2001-07-31 20:57:47 +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
mkaply%us.ibm.com 9465aa7f97 #88290
r=mkaply, a=blizzard
Code from Javier Pedemonte and Jeff Jones - rewrite of xptcinvoke to  be more efficient
2001-07-25 04:07:05 +00:00
mkaply%us.ibm.com 602ec7443d OS/2 only - EMX break - this code should be VACPP only 2001-07-25 03:53:41 +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
jaggernaut%netscape.com cb0faab070 Bug 73353: clean up the REQUIRES lines in Makefiles. 2001-07-23 22:36:12 +00:00