gecko-dev/modules/libjar
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
..
macbuild bug 63451. Adding nsIJAR.idl to mac project file 2001-02-23 02:31:14 +00:00
standalone Land STATIC_BUILD_20010612_BRANCH, which supports building mozilla with components statically linked into the executable, as well as 'meta modules' that combine components into uber-DLLs. 2001-06-20 20:21:49 +00:00
test 72717 - die Blue, die!, r=dveditz, sr=hyatt 2001-04-11 03:32:24 +00:00
.cvsignore
Makefile.in Changes to allow packaging of statically-linked build (87213). r=cathleen, sr=waterson, a=blizzard 2001-07-26 03:18:42 +00:00
makefile.win fixed bug 87004, for win static build, changed libjar and xpinstall to be 2001-07-19 22:43:14 +00:00
MANIFEST
MANIFEST_IDL bug 63451 - moved signature verification functions from nsIZipReader to nsIJAR. r=sgehani, sr=shaver 2001-02-23 00:15:04 +00:00
nsIJAR.idl bug 63451 - moved signature verification functions from nsIZipReader to nsIJAR. r=sgehani, sr=shaver 2001-02-23 00:15:04 +00:00
nsIJARChannel.idl Got Gayatri's JAR protocol working. (not in build yet) 1999-11-07 21:55:12 +00:00
nsIJARFactory.h Converting to use nsIModule macro. r=dp. 2000-01-03 23:20:25 +00:00
nsIJARProtocolHandler.idl Bug 24764. Cache of opened jar files. r=waterson 2000-05-25 08:32:09 +00:00
nsIJARURI.idl FASTLOAD_20010703_BRANCH landing, r=dbaron, sr=shaver. 2001-07-31 19:05:34 +00:00
nsIZip.idl Lowercased method names for idl. 2000-02-04 12:16:33 +00:00
nsIZipReader.idl bug 63451 - moved signature verification functions from nsIZipReader to nsIJAR. r=sgehani, sr=shaver 2001-02-23 00:15:04 +00:00
nsJAR.cpp - Better failure codes from nsXULPrototypeScript::Deserialize. 2001-08-17 09:52:55 +00:00
nsJAR.h 72495 redux: last references to xp_regexp.h, r=bryner, sr=blizzard 2001-03-24 18:54:13 +00:00
nsJARChannel.cpp - Better failure codes from nsXULPrototypeScript::Deserialize. 2001-08-17 09:52:55 +00:00
nsJARChannel.h - Better failure codes from nsXULPrototypeScript::Deserialize. 2001-08-17 09:52:55 +00:00
nsJARFactory.cpp Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
nsJARInputStream.cpp - Better failure codes from nsXULPrototypeScript::Deserialize. 2001-08-17 09:52:55 +00:00
nsJARInputStream.h Fix 72551 speed up zip archive opening. r=ssu,sr=waterson 2001-04-03 06:35:13 +00:00
nsJARProtocolHandler.cpp - Better failure codes from nsXULPrototypeScript::Deserialize. 2001-08-17 09:52:55 +00:00
nsJARProtocolHandler.h Bug 24764. Cache of opened jar files. r=waterson 2000-05-25 08:32:09 +00:00
nsJARProtocolModule.cpp Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
nsJARURI.cpp - Better failure codes from nsXULPrototypeScript::Deserialize. 2001-08-17 09:52:55 +00:00
nsJARURI.h - Better failure codes from nsXULPrototypeScript::Deserialize. 2001-08-17 09:52:55 +00:00
nsWildCard.cpp 72495: libjar/"regexp" cleanup (r=dveditz,sr=brendan) 2001-03-21 04:08:12 +00:00
nsWildCard.h 72495: libjar/"regexp" cleanup (r=dveditz,sr=brendan) 2001-03-21 04:08:12 +00:00
nsZipArchive.cpp Fix 72551 speed up zip archive opening. r=ssu,sr=waterson 2001-04-03 06:35:13 +00:00
nsZipArchive.h Fix 72551 speed up zip archive opening. r=ssu,sr=waterson 2001-04-03 06:35:13 +00:00
objs.mk bug 63451 - moved signature verification functions from nsIZipReader to nsIJAR. r=sgehani, sr=shaver 2001-02-23 00:15:04 +00:00
win32.order 65845 - new order files 2001-04-05 06:02:32 +00:00
zipfile.h Add ZIP_TestArchive support for CRC32 verification of all or individual items. 2000-12-27 07:05:55 +00:00
zipstruct.h updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
zipstub.h Fix 72551 speed up zip archive opening. r=ssu,sr=waterson 2001-04-03 06:35:13 +00:00