Commit Graph

343 Commits

Author SHA1 Message Date
ssu%netscape.com
00d1875007 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.
2000-01-25 20:41:47 +00:00
dougt%netscape.com
0b0346079c Landing nsIFile. 2000-01-24 21:28:28 +00:00
bryner%uiuc.edu
2cfcf03a92 Fixing linux build bustage. r=pavlov. 2000-01-24 04:45:54 +00:00
warren%netscape.com
f96cff45ad Added code to cancel/suspend/resume jar channels. Bug #24338 2000-01-24 03:54:20 +00:00
gayatrib%netscape.com
534335260b Added code to check for existence of a jar file in the cache before downloading it. r=warren 2000-01-19 07:20:31 +00:00
sspitzer%netscape.com
d8a5c41c93 backing out andreas and warren 2000-01-14 22:01:56 +00:00
warren%netscape.com
ea798addcb Changes from andreas.otte@primus-online.de for numerous URL parsing bugs. r=warren 2000-01-14 08:50:03 +00:00
pp%ludusdesign.com
698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
rpotts%netscape.com
023f2ff6e1 Made contentType a read/write attribute of nsIChannel 2000-01-08 06:26:04 +00:00
dougt%netscape.com
e4f7318547 fixing build bustage. 2000-01-04 01:55:03 +00:00
sgehani%netscape.com
30b26e740b Fix build butsage for dougt. 2000-01-04 01:53:13 +00:00
dougt%netscape.com
3f110c059f Fixing build bustage. 2000-01-04 01:10:33 +00:00
dougt%netscape.com
23c8e43b7a adding include of prio.h. I am not sure how this worked before. 2000-01-04 00:00:08 +00:00
dougt%netscape.com
2e7a8b1044 Adding newline to end of file to fix build bustage on unix. 2000-01-03 23:56:38 +00:00
dougt%netscape.com
e57d8fe707 Converting to use nsIModule macro. r=dp, jud. 2000-01-03 23:32:11 +00:00
dougt%netscape.com
2318e4a20c Including nsFileSpec.h directly. prep for nsIFile landing. 2000-01-03 23:31:09 +00:00
dougt%netscape.com
75e9bc8d48 Including nsFileSpec.h directly. This prep work for the nsIFile landing. 2000-01-03 23:28:35 +00:00
dougt%netscape.com
763d0f8810 Including nsFileSpec.h directly. This prep work for the nsIFile landing. 2000-01-03 23:21:36 +00:00
dougt%netscape.com
57f3febfe4 Converting to use nsIModule macro. r=dp. 2000-01-03 23:20:25 +00:00
sspitzer%netscape.com
f37e107774 fix warnings 1999-12-28 19:41:57 +00:00
valeski%netscape.com
2988398b46 nsJARProtocol.cpp 1999-12-07 06:58:55 +00:00
warren%netscape.com
6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
warren%netscape.com
b6282abafe Fix for downloaded jar files. Now they appear to work, except we aren't checking the cache to see if they already exist. r=gayatrib 1999-12-03 02:22:48 +00:00
warren%netscape.com
c17a380edc Fixed bug accessing jar entry. 1999-12-02 01:27:48 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
warren%netscape.com
a8eff9eb1f Added nsIInterfaceRequestor.h to keep nsCOMPtr happy. 1999-11-24 08:31:06 +00:00
warren%netscape.com
6b84e27c34 Added include for nsCOMPtr. 1999-11-24 07:40:54 +00:00
warren%netscape.com
59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
sgehani%netscape.com
73a40c9a94 Fixes bug 18887. Although the bug doesn't mention it this really is: CRC-32 checking is now fixed in libjar. [r=dveditz] 1999-11-17 05:40:00 +00:00
ssu%netscape.com
830101554e fixing bug #18683. fixing how libjar does crc checks. It didn't work for all cases, until now. r=sgehani 1999-11-16 05:43:44 +00:00
dveditz%netscape.com
7cfd752d34 added Bloaty instrumentation 1999-11-16 01:52:29 +00:00
sgehani%netscape.com
c1541c3769 Fixes for bug 18683. Libjar interfaces changed but the implementation didn't so XPInstall was horked. This fixes the runtime XP horkage. [r=dveditz]
Also, added deletion of extracted files if the CRC-32 doesn't match. Mapped 'PR_Delete' to 'remove' for STANDALONE. [r=mstoltz]
1999-11-13 00:44:56 +00:00
warren%netscape.com
4a274d01f1 Libjar cleanup. Added Close method. Bug#18273. r=mstoltz,gayatrib,dveditz 1999-11-12 06:13:13 +00:00
warren%netscape.com
925f33ebbc Switched to new nsIZipReader interface for Mac. 1999-11-12 06:12:14 +00:00
warren%netscape.com
1dec9a5ab3 Added 1999-11-12 05:58:46 +00:00
sgehani%netscape.com
4d95211698 Added CRC checking for every item we extract. Fixes bug 17511. [r=mstoltz] 1999-11-11 22:08:08 +00:00
erik%netscape.com
97a4edf14f This is just a local .cvsignore file. Doesn't affect build. 1999-11-11 18:15:49 +00:00
warren%netscape.com
fb7ad57ff3 Added 1999-11-11 05:21:38 +00:00
warren%netscape.com
8fe0bb36a6 Got Gayatri's JAR protocol working. (not in build yet) 1999-11-07 21:55:12 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
dmose%mozilla.org
5312eacf8c updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
warren%netscape.com
d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
mstoltz%netscape.com
1a3e4d06d0 Fixed windows breakage in standalone by adding a typedef 1999-11-03 00:41:20 +00:00
mstoltz%netscape.com
54b6d77584 Created helper class nsZipRead to hold read state information. That way
one nsJAR can support multiple input streams. r=norris
1999-11-02 23:46:09 +00:00
cls%seawood.org
a2f7e7231c Use #elif not #elseif 1999-11-02 22:36:59 +00:00
ssu%netscape.com
69202f5e38 fixing redness on mac tinderbox. #else if doesn't work. Changed it to #elseif 1999-11-02 21:50:07 +00:00
sgehani%netscape.com
96dca78493 Fixed bugs 10540, 9148. Libjar now reads teh central directory headers as opposed to the local file headers. This enables us to glean permissions informationand restore file mode upon extraction. A side-effect is the bug 10540 fix where the Install.Execute() API now works on Linux since we restore the execute bits in temporarily extracted files. [r=ssu] 1999-11-02 20:37:28 +00:00
tbogard%aol.net
10ded258a5 Changed NS_ENSURE_NOT to NS_ENSURE_FALSE to reflect API change. r=hyatt 1999-11-01 21:43:56 +00:00
warren%netscape.com
145f9f9dea Minor cleanup 1999-11-01 20:50:04 +00:00
sgehani%netscape.com
3715eaa957 Fixing static targets to be usable by MIW once again: removed new nsJARInputStream from the static targets. For real this time... 1999-10-30 22:18:31 +00:00
sgehani%netscape.com
24ea07ca57 Backed out change temporarily. 1999-10-30 22:03:46 +00:00
sgehani%netscape.com
0d281eb610 Fixing static targets to be usable by MIW once again: removed new nsJARInputStream from the statis targets. 1999-10-30 21:56:51 +00:00
sfraser%netscape.com
b69e416652 Ooops, maybe we do need one of those paths after all. r=floppy 1999-10-27 06:48:35 +00:00
sfraser%netscape.com
7ffbbb77c5 Another teeny project fix -- remove obsolete lib/xp paths in the two static targets (which are not built anyway). r=moose 1999-10-27 06:44:44 +00:00
mstoltz%netscape.com
efcdcfd4ad Fixed Windows breakage from converting const nsZIpItem* to nsZipItem*. r=dveditz 1999-10-26 20:45:21 +00:00
mstoltz%netscape.com
08143e312c Added GetInputStream function to nsJAR in order to extract files into memory rather than to disk. Created nsJARInputStream to carry this data. Most of the code for this change went into nsZipArchive, which now handles either file output or output to memory. bug=16077 r=dveditz 1999-10-26 19:43:26 +00:00
sgehani%netscape.com
6dcf3ee43a Fixes bug 17190: extract only core_*/* files to obtain the XPInstall engine run by the Install Wizard. [r=cathleen] 1999-10-26 02:08:56 +00:00
sfraser%netscape.com
3302fcff1a Removed an errant semicolon in a IID declaration. r=floppy moose 1999-10-21 03:45:20 +00:00
neeti%netscape.com
cf444aab7c Converted to use nsIModule to prepare for memory leaks fixing. Bug# 14034. r=dveditz 1999-10-07 03:39:36 +00:00
sfraser%netscape.com
ca1c595f2b Fixed access paths to remove lib/xp, and mozilla/include. xp_regexp.h is now exported, and found in dist. r=sdagley 1999-10-06 01:19:58 +00:00
beard%netscape.com
9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
kipp%netscape.com
a8d7d25d5d Converted from components to modules 1999-09-30 21:22:48 +00:00
kipp%netscape.com
8945b95dcc new 1999-09-30 01:53:31 +00:00
alecf%netscape.com
6c6a2d1877 don't need xplib anymore 1999-09-21 22:22:39 +00:00
andreas.otte%primus-online.de
094c80303a NOT ON BUILD: Add loadgroup parameter 1999-09-18 09:08:56 +00:00
valeski%netscape.com
9940aa8e82 NOT IN BUILD - adding boilerplate for jar protocol handler 1999-09-17 16:12:41 +00:00
briano%netscape.com
775e13bce8 General cleanup. 1999-09-14 02:51:42 +00:00
sspitzer%netscape.com
bf5525797b fix warnings for dbragg 1999-09-13 06:26:18 +00:00
sgehani%netscape.com
3636d103bb Fixing static targets that don't depend on regular expressions where nsWildCard.cpp was erroneously added. 1999-09-10 07:55:37 +00:00
mscott%netscape.com
016d356b09 Check in for alecf. Remove linkage against libxp. build nsWildCard.cpp 1999-09-09 05:29:42 +00:00
alecf%netscape.com
8e3e110c34 now uses local nsWildCard.cpp instead of xp_regexp.c 1999-09-09 05:21:06 +00:00
alecf%netscape.com
43f5929b0d libjar now uses a local wildcard copy 1999-09-09 05:19:46 +00:00
alecf%netscape.com
0d37978327 libjar's private copy of xp_regexp 1999-09-09 04:54:56 +00:00
dveditz%netscape.com
eff4c6bcca fixing mac bustage 1999-09-07 22:03:53 +00:00
alecf%netscape.com
c9289ef057 make libxp a static library, eliminate useless cruft, and link it into libjar
(it's the only one that uses libxp these days)
1999-09-03 23:50:11 +00:00
dveditz%netscape.com
368254f2fe fixing makefile weirdness 1999-09-01 01:30:04 +00:00
dveditz%netscape.com
8595145824 added blank lines for readability 1999-09-01 01:28:22 +00:00
cyeh%netscape.com
1729151e74 Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 01:24:51 +00:00
brendan%mozilla.org
89220e3a2e Conform mindlessly to other 'Register foo' component printfs. 1999-08-27 10:18:44 +00:00
briano%netscape.com
0546a72da3 Change the undef NETSCAPE to MOZILLA_CLIENT to fix Win and Mac. 1999-08-26 01:23:10 +00:00
dveditz%netscape.com
7dffabf8b6 backing out, briano has a different fix 1999-08-26 01:22:31 +00:00
dveditz%netscape.com
47cae9333b fixing Windows build bustage. Will not fix the mac 1999-08-26 01:17:07 +00:00
ramiro%netscape.com
7ee0e69965 Cleanup zlib cruft. 1999-08-25 14:39:53 +00:00
mccabe%netscape.com
d98f4dca1d First cut at removing manual declaration of interface methods in implementation classes and replacing with xpidl-generated NS_DECL_NSIFOO macro.
Hopefully this'll help turn the copy-n-paste tide towards using this macro.
1999-08-21 08:54:47 +00:00
sgehani%netscape.com
e592c76492 Added static lib targets (in prep for landing the Mac Install Wizard). 1999-08-10 23:45:46 +00:00
sgehani%netscape.com
c7877d612f First Checked In. 1999-08-10 23:44:53 +00:00
sgehani%netscape.com
b128b0fc9c Adding Mac support to STANDALONE libjar. 1999-08-10 23:06:44 +00:00
sgehani%netscape.com
e669e74fe5 Fixing Mac bustage in STANDALONE libjar. 1999-08-10 23:05:09 +00:00
ssu%netscape.com
caa2ec5cae added ifdef win32 to win32 standalone specific code 1999-08-09 23:01:03 +00:00
ssu%netscape.com
20b14e3b9e fixed blockage of windows process messages when inflating files. This affects only the standalone windows build. 1999-08-06 07:58:15 +00:00
ramiro%netscape.com
4de9a4b86d Fix for orange loonix tree. 1999-08-05 22:24:08 +00:00
ssu%netscape.com
58379d73fa fixed problem with PR_Seek() in standalone mode 1999-08-05 22:08:29 +00:00
sspitzer%netscape.com
018a336922 fix warning 1999-07-16 06:59:30 +00:00
dbragg%netscape.com
53ed5a01a8 Checked for null in memory allocation per bug #9852 1999-07-15 23:06:52 +00:00
sfraser%netscape.com
43f2f01dd9 Fix the access paths to IDL files 1999-07-15 23:03:22 +00:00
sfraser%netscape.com
ea9b9de31d Remove errant semicolons 1999-07-15 23:03:06 +00:00
sfraser%netscape.com
c2ce8196f3 First Checked In. 1999-07-15 23:02:50 +00:00
Jerry.Kirk%Nexwarecorp.com
723cb44c20 Needed to add $(ZLIB_LIBS) to fix link problem under Neutrino 1999-07-15 11:44:30 +00:00
dveditz%netscape.com
d3f47f37f5 makefile cleanups 1999-07-02 13:40:18 +00:00
ssu%netscape.com
e6edf1444c fixing bug #8454 and AddDirectory() function 1999-06-29 23:23:23 +00:00
sgehani%netscape.com
0f0cf4b928 Build libjar as a component on the Mac. 1999-06-29 02:22:13 +00:00
briano%netscape.com
57f1cda907 File was missing the required newline at the end of file. 1999-06-24 03:13:10 +00:00
sgehani%netscape.com
39167b36a2 1> Removed obsolete IID headers (now being generated from IDL).
2> Aletered Unix Makefile.in to make libjar a component.
1999-06-23 22:54:49 +00:00
sgehani%netscape.com
f608a515fb First Checked In. 1999-06-23 06:37:03 +00:00
sgehani%netscape.com
dbf800ebea Modification to the libjar XPCOM interface in order to use it with XPInstall; facilitating ressurection of XPInstall on Unix. 1999-06-23 06:16:28 +00:00
sspitzer%netscape.com
d1b8548b1e fix warnings. these classes have virtual functions but non-virtual destructors 1999-06-21 01:59:44 +00:00
ssu%netscape.com
d797377687 added define's to deal with building standalone 1999-06-20 02:38:14 +00:00
ssu%netscape.com
3b3892972e backed out previous checkin due to tree closure 1999-06-16 21:54:13 +00:00
ssu%netscape.com
744e12c6f7 ifdef'ed all calls to PR_Seek() for the standalone build 1999-06-16 21:47:58 +00:00
dveditz%netscape.com
3198743e2a use standard XPCOM macros 1999-06-16 06:49:42 +00:00
ssu%netscape.com
693c4f3f4d ifdef'ed call to PR_Seek() for the standalone build 1999-06-16 00:24:37 +00:00
ssu%netscape.com
805032a259 updated makefile to define USE_NON_MT_LIBS (use libc.lib) 1999-06-14 22:35:21 +00:00
ssu%netscape.com
2cb4ab9fec Fixing ShExp use (0 means true) 1999-06-10 01:58:06 +00:00
dbragg%netscape.com
49ea469e54 There was a lower case r in the macro OBJDIr for nsJARFactory.obj 1999-06-09 22:51:13 +00:00
mcmullen%netscape.com
4b0ff2c414 Patches for OpenVMS and conversions to nsQuickSort(). Thanks to Colin Blake and James Lewis Nance (resp) 1999-06-03 18:15:53 +00:00
jdunn%netscape.com
9b96cd4907 added newline at end of file. HP won't compile without it 1999-06-03 00:48:16 +00:00
dbragg%netscape.com
ee93afddb8 Re-added nsJAR.cpp and nsJARFactory.cpp to the CPPSRCS macro 1999-06-02 16:52:42 +00:00
dbragg%netscape.com
40b83d5c0d Re-added the nsJAR.obj and nsJARFactory.obj files to the OBJS macro. 1999-06-02 16:51:39 +00:00
dbragg%netscape.com
fe34d14c41 Change the implementation of AddRef and Release to use the macros NS_IMPL_ADDREF() and NS_IMPL_RELEASE() in nsJARFactory.cpp 1999-06-01 21:37:09 +00:00
dbragg%netscape.com
0af499845b removed the nsJAR.cpp and nsJARFactory.cpp from the CPPSRCS due to compile error that I need to investigate. 1999-06-01 21:31:29 +00:00
dbragg%netscape.com
c8f258ff5f backed out the nsJAR.cpp and nsJARFactory.cpp from CPPSRCS due to a change in XPCOM that caused it to not compile. 1999-06-01 21:22:27 +00:00
dbragg%netscape.com
cf506441ff Added nsJAR.cpp and nsJARFactory.cpp to the CPPSRCS macro 1999-06-01 21:17:12 +00:00
dbragg%netscape.com
4920b86642 removed export of nsIZipArchive.h since it doesn't exist 1999-06-01 21:15:47 +00:00
dbragg%netscape.com
472ec389c8 XPCOM interface files for libjar 1999-06-01 21:08:32 +00:00
dveditz%netscape.com
f04e687aa6 nsZipArchive.h 1999-05-19 04:48:19 +00:00
dveditz%netscape.com
7361fdede5 new file 1999-05-19 04:06:40 +00:00
dveditz%netscape.com
6476604581 allow multi-user finds 1999-05-19 03:21:03 +00:00
dveditz%netscape.com
af200e1fdb zip archive support 1999-04-28 00:34:30 +00:00
dougt%netscape.com
207a42587b dveditz change: Removing mkreg and using xp_regexp. Basically these are the same, but xp_regexp is shared. I had to add an included path to mozilla/included to make this work 1999-04-28 00:01:04 +00:00
briano%netscape.com
c934cc8737 Added a newline at the end of the file to make a couple of Unix builds happier. 1999-03-30 01:48:20 +00:00
mcafee%netscape.com
e7e4ae2cb4 Ignore generated files. 1999-03-27 09:22:27 +00:00
dougt%netscape.com
1507aaee65 Bug 4303. libjar should not be build as a component. 1999-03-26 20:49:52 +00:00
dougt%netscape.com
cc7a87c47c First Checked In. 1999-03-24 01:10:59 +00:00
dougt%netscape.com
74de82fd32 Updated makefile to use nspr version 3. 1999-03-22 06:10:59 +00:00
dougt%netscape.com
78a5a8496a ack. 1999-03-09 23:06:11 +00:00
dougt%netscape.com
9fdbef5858 Stripping additional access paths. 1999-03-09 21:03:39 +00:00
dougt%netscape.com
e0f45caba3 remove libutil references. 1999-03-09 20:58:29 +00:00
dougt%netscape.com
5bc84d5ecd First Checked In. 1999-03-09 20:57:17 +00:00
dougt%netscape.com
fa179ee346 Fixes compare from int to ptr. ANSI C++ does not like that. 1999-03-09 20:10:20 +00:00
dougt%netscape.com
e99f0d2166 First checkin of unix makefile. 1999-03-09 19:31:55 +00:00
dveditz%netscape.com
b867607040 initial libjar files, NOT PART OF BUILD 1999-03-09 02:13:56 +00:00