184 Commits

Author SHA1 Message Date
warren%netscape.com
7cefc01f95 Factoring stream i/o operations into nsIStreamIO interface.
git-svn-id: svn://10.0.0.236/trunk@65799 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 09:20:50 +00:00
warren%netscape.com
f9056257c8 Adding code to remove entries from free list when recycled.
git-svn-id: svn://10.0.0.236/trunk@65690 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 09:48:30 +00:00
warren%netscape.com
e6ef4a1f7b Moved nsXPIDLString.h out of ifdef for optimized builds.
git-svn-id: svn://10.0.0.236/trunk@65684 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 08:25:32 +00:00
warren%netscape.com
22161b7197 Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code.
git-svn-id: svn://10.0.0.236/trunk@65680 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 07:58:24 +00:00
mstoltz%netscape.com
6477be8ebe Fixed crash when calling nsJARInputStream from nsJARChannel.
git-svn-id: svn://10.0.0.236/trunk@65235 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-05 00:12:20 +00:00
warren%netscape.com
4437d501e0 Making nsJARDownloadObserver have thread-safe addref/release.
git-svn-id: svn://10.0.0.236/trunk@65174 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 08:34:37 +00:00
warren%netscape.com
b059aabd61 Fixed uninitialized variable.
git-svn-id: svn://10.0.0.236/trunk@65163 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 07:11:30 +00:00
warren%netscape.com
408d590cf3 Fix to make download observer not crash.
git-svn-id: svn://10.0.0.236/trunk@65153 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 05:56:11 +00:00
cls%seawood.org
a26020ddae Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287
git-svn-id: svn://10.0.0.236/trunk@65143 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-04 04:46:38 +00:00
sgehani%netscape.com
fc606df338 Fix libjar runtime bustage on the Mac.
b = 33656


git-svn-id: svn://10.0.0.236/trunk@64593 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 09:52:32 +00:00
warren%netscape.com
da349eb24e Bug 28269. jar file cache should open local files in place
git-svn-id: svn://10.0.0.236/trunk@64591 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 08:13:50 +00:00
warren%netscape.com
abaea32d2a Fixed sig of LoadEntry
git-svn-id: svn://10.0.0.236/trunk@64590 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 08:09:45 +00:00
warren%netscape.com
fe40326e73 Fixing bugs in jar input streams for jar: protocol.
git-svn-id: svn://10.0.0.236/trunk@64584 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 07:41:37 +00:00
warren%netscape.com
e8a3ec30ae Making jar: protocol work in general, and OpenInputStream in particular.
git-svn-id: svn://10.0.0.236/trunk@64583 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-30 07:39:31 +00:00
warren%netscape.com
ea4fe0d132 Fixed nsCOMPtr problem in ?: statement.
git-svn-id: svn://10.0.0.236/trunk@64451 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 04:38:38 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
jdunn%netscape.com
b20ae88f6e just adding a newline at the end for hpux
git-svn-id: svn://10.0.0.236/trunk@64328 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 05:06:01 +00:00
sgehani%netscape.com
f6fec96c61 Restoring file dates at install time.
b = 5107
r = dbragg


git-svn-id: svn://10.0.0.236/trunk@64306 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 03:38:06 +00:00
rickg%netscape.com
7840169464 removed reference to nsString2
git-svn-id: svn://10.0.0.236/trunk@64198 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 23:30:52 +00:00
mstoltz%netscape.com
8247c131cf removed files: mozilla/modules/libjar/nsJARStubs.cpp
git-svn-id: svn://10.0.0.236/trunk@63544 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:23:39 +00:00
norris%netscape.com
d39122eaa9 Added signed script support in Mozilla. bug=7270 r=norris (this is mstoltz's checkin)
git-svn-id: svn://10.0.0.236/trunk@63543 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:21:28 +00:00
norris%netscape.com
dfa2be9fb0 Added aggregate principal support. r=norris. (This is mstoltz's checkin)
git-svn-id: svn://10.0.0.236/trunk@63541 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-21 04:17:37 +00:00
dougt%netscape.com
9c2acfa2d6 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren.
git-svn-id: svn://10.0.0.236/trunk@63319 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:06:32 +00:00
dveditz%netscape.com
edcadba758 fixes bug 29414, all files installed read-only on Win32, r=sgehani
git-svn-id: svn://10.0.0.236/trunk@61778 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 07:22:23 +00:00
sgehani%netscape.com
769633af5b Restore file mode for Win32/Unix when installing.
b = 9148
r = dveditz
a = jar


git-svn-id: svn://10.0.0.236/trunk@61385 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-21 20:19:16 +00:00
buster%netscape.com
1ed97296d7 fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@60686 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 03:41:45 +00:00
mstoltz%netscape.com
eb1d039627 Changed GetOwner() to read owner from underlying nsJAR rather than saving it locally. SetOwner() now does nothing. bug=7270 r=norris
git-svn-id: svn://10.0.0.236/trunk@60680 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 01:59:09 +00:00
mstoltz%netscape.com
4ed4e15d17 Crasher fixes and optimizations to jar signature verification. bug=7270 r=norris
git-svn-id: svn://10.0.0.236/trunk@60679 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-14 01:57:01 +00:00
valeski%netscape.com
8e0a440cc5 getting the rest of necko to use the mimetypes file. also added protection for UA string setup
git-svn-id: svn://10.0.0.236/trunk@60201 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-09 05:04:52 +00:00
scc%netscape.com
dcee2e659d Pro5 update
git-svn-id: svn://10.0.0.236/trunk@60002 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-07 23:06:04 +00:00
davidm%netscape.com
0feda92252 Bug 25949 update access paths for codewarrior update.
git-svn-id: svn://10.0.0.236/trunk@59928 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-06 04:38:30 +00:00
warren%netscape.com
1bbe787cb6 Lowercased method names for idl.
git-svn-id: svn://10.0.0.236/trunk@59766 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 12:16:33 +00:00
valeski%netscape.com
867f16ef2b URL Parsing and implementation rewrite landing. Andreas Otte was generous enough to contribute these changes
git-svn-id: svn://10.0.0.236/trunk@59615 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 03:44:22 +00:00
mstoltz%netscape.com
f04f70c879 Fixed crashing bug in nsJAR.cpp - was dereferencing unallocated pointer. r=norris
git-svn-id: svn://10.0.0.236/trunk@59467 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 01:58:37 +00:00
mstoltz%netscape.com
db277f364e Added call to nsJAR::ParseManifest, needed for signed scripts. bug=7270 r=norris.
git-svn-id: svn://10.0.0.236/trunk@59460 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 01:30:12 +00:00
mstoltz%netscape.com
0bfd5a4808 Fixing hoarkage by adding an include statement. r=norris
git-svn-id: svn://10.0.0.236/trunk@59329 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:35:46 +00:00
warren%netscape.com
1df8c04009 Fix for downloaded jar files, and for pulling jars out of the cache. r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@59311 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:43:09 +00:00
sdagley%netscape.com
10468e8a31 Fixing Mac build bustage. For some unknown @#$%^ reason strdup was defined in the LibjarPrefix headers which was generally a bad idea. Moved the code to an #ifdef XP_MAC block in nsZipArchive.cpp so libjar.mcp _and_ MIW.mcp project build again. Why this ever worked I don't know, I just hacked at it until I could get it building again cause it's Friday night and I wanna go home. r=mstoltz
git-svn-id: svn://10.0.0.236/trunk@59151 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 04:16:36 +00:00
mstoltz%netscape.com
a54c2d94fa Fixing Mac breakage caused by extraneous newlines.
git-svn-id: svn://10.0.0.236/trunk@59148 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 03:24:30 +00:00
mstoltz%netscape.com
d4d5e38b63 nsJARChannel now gets its owner from the underlying nsJAR, for the correct security level. bug=7270 r=norris
git-svn-id: svn://10.0.0.236/trunk@59133 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:06:15 +00:00
mstoltz%netscape.com
cbd5ead858 Implementation of JAR manifest parser, part of signature verification for signed scripts. bug=7270 r=norris
git-svn-id: svn://10.0.0.236/trunk@59132 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:03:57 +00:00
warren%netscape.com
e9ed17a69b Fixed error case to return error.
git-svn-id: svn://10.0.0.236/trunk@58912 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 09:21:00 +00:00
warren%netscape.com
a3e49a01bd Fixes to make jar: protocol actually be able to visit html files packaged in zip files. Resolves relative links now, although doesn't handle going to # anchors in html pages properly yet. Good enough for chrome work.
git-svn-id: svn://10.0.0.236/trunk@58909 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 08:57:14 +00:00
ssu%netscape.com
16e7ca6d4c A few problems with nsJar:
1.  When opening a file via the OpenArchiveWithFileDesc() you can not
    delete the file descriptor.
2.  Mode was wrong for the extract routine.


git-svn-id: svn://10.0.0.236/trunk@58618 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-25 20:41:47 +00:00
dougt%netscape.com
714da09a59 Landing nsIFile.
git-svn-id: svn://10.0.0.236/trunk@58490 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 21:28:28 +00:00
bryner%uiuc.edu
738509aa57 Fixing linux build bustage. r=pavlov.
git-svn-id: svn://10.0.0.236/trunk@58461 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 04:45:54 +00:00
warren%netscape.com
2a407c901f Added code to cancel/suspend/resume jar channels. Bug #24338
git-svn-id: svn://10.0.0.236/trunk@58460 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-24 03:54:20 +00:00
gayatrib%netscape.com
d5ed53991c Added code to check for existence of a jar file in the cache before downloading it. r=warren
git-svn-id: svn://10.0.0.236/trunk@58232 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 07:20:31 +00:00
sspitzer%netscape.com
24fd826e2a backing out andreas and warren
git-svn-id: svn://10.0.0.236/trunk@57840 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 22:01:56 +00:00
warren%netscape.com
41d0793ce9 Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren
git-svn-id: svn://10.0.0.236/trunk@57808 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 08:50:03 +00:00