406 Commits

Author SHA1 Message Date
seawood%netscape.com
77e5bb115a Fixing win32 gmake builds lack of debugging information problem by working around a combination MSVC & cygwin make deficiencies:
* We must use the full path to the source file when calling MSVC so that debugging information shows up in the object files.
* Because of cygwin's use of /cygdrive when using full paths, we must use a cygwin-wrapper script in some cases to allow native win32 programs to use a fully qualified cygwin path.
* We have to call configure using the full path so that $(srcdir) contains the
full path in the Makefiles. The rules have been changed for win32 so that it
always use $(srcdir)/$*.{c,cpp} as the sourcefile name even when the file is in
the cwd.  This works around both the /cygdrive issue and the msvc's path info
optimization.
* We still use the wrapper when calling rc.exe & nsinstall.  nsinstall
frequently takes multiple args and is called all over the tree so changing each
calling site is going to be expensive.	(I'll have to check  the logs again but
I think the rc wrapping can go.)
* nspr & ldap still use the wrappers for all native win32 progs.  Neither nspr
nor ldap uses the acoutput-fast.pl script to speed up the substitution of
@srcdir@ into their Makefiles so, makefile substitution will break if we use
dos-paths.
* In the handful of directories where we copy srcfiles from another directory
in lieu of using VPATHs, we have to now copy those files to $(srcdir) so that
the default rules can find them.
Bug #141834 r=leaf,wtc,dmose,mcs


git-svn-id: svn://10.0.0.236/trunk@123439 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-17 17:07:17 +00:00
seawood%netscape.com
ef78f2bb05 Add --disable-installer configure option for embedding purposes.
Bug #145343 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@122391 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-31 00:39:07 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
timeless%mac.com
123f127341 Bug 87965 Can't expand chrome/*.jar files on ARM
fixing warnings caught by ayn2@cornell.edu
patch by jeroen.dobbelaere@acunia.com
r=timeless sr=jst


git-svn-id: svn://10.0.0.236/trunk@121347 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-12 17:29:30 +00:00
timeless%mac.com
cf3f4b0ae8 Bug 87965 Can't expand chrome/*.jar files on ARM
patch by jeroen.dobbelaere@acunia.com
r=dveditz sr=brendan


git-svn-id: svn://10.0.0.236/trunk@120697 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 14:50:46 +00:00
darin%netscape.com
824def02af fixes bug 129279 "nsIFile unicode/utf8/ascii task"
r=dougt sr=alecf


git-svn-id: svn://10.0.0.236/trunk@120092 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-27 05:33:09 +00:00
alecf%netscape.com
241daecc02 fix nmake builds
git-svn-id: svn://10.0.0.236/trunk@118165 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 23:51:11 +00:00
alecf%netscape.com
28f20a7e52 fix for bug 107289 sr=jband r=dougt a=asa
remove libjar dependency from xpcom
step 3: make libjar implement the new interface


git-svn-id: svn://10.0.0.236/trunk@118149 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-04 22:28:17 +00:00
darin%netscape.com
ac7b15ca02 fixes bug 116365 (second attempt) "[RFE] Cache partial documents; automatically
issue byte range requests" r=gagan sr=mscott,rpotts,brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@117526 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 23:33:19 +00:00
darin%netscape.com
67cf8f6205 backing out changes (for bug 116365) to fix btek page-loader crash.
git-svn-id: svn://10.0.0.236/trunk@117473 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 08:47:10 +00:00
darin%netscape.com
9df715a8b7 fixes bug 116365 "[RFE] Cache partial documents; automatically issue byte
range requests" r=gagan sr=mscott,rpotts,brendan a=asa


git-svn-id: svn://10.0.0.236/trunk@117469 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:54:07 +00:00
darin%netscape.com
6789f4665b fixes bug 132497 "prevent crash @nsJARChannel::GetContentLength"
r=dougt, sr=rpotts, a=asa


git-svn-id: svn://10.0.0.236/trunk@117102 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-21 23:24:53 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
dougt%netscape.com
4b3f2c6c6e Fixes part of the Txul regression. b=130524 r=dp@netscape.com sr=darin@netscape.com, a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@116671 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 00:43:44 +00:00
dougt%netscape.com
5aa996cd82 Fixes 127918. Mime Service was being accessed from a non-ui thread. This causes all kinds of problems. Found that content type is not needed while opening most stream io's. Removes content type result from nsIStreamIO::Open(). Added atrribute content type nsIStreamIO. Fixes callers. r=gordon@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org.
git-svn-id: svn://10.0.0.236/trunk@116447 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 00:34:54 +00:00
darin%netscape.com
3872488d18 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa


git-svn-id: svn://10.0.0.236/trunk@116359 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 00:59:06 +00:00
dp%netscape.com
36d368d794 making linux and mac compilers happy.
git-svn-id: svn://10.0.0.236/trunk@116341 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 21:09:12 +00:00
dp%netscape.com
68ad48b2a0 bug 116187 Using Arenas to cut down on small memory allocs happening
for the maintaining the zip manifest. r=dveditz/blythe, sr=alecf, a=shaver/asa


git-svn-id: svn://10.0.0.236/trunk@116337 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-11 20:18:35 +00:00
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
cathleen%netscape.com
6f09324ed7 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114939 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 16:01:45 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
a8d03c78ee Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114147 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 19:00:56 +00:00
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +00:00
dp%netscape.com
24dfb34dae bug 118061 Enabling nsRecyclingAllocator r=dveditz sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@112669 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 07:00:07 +00:00
timeless%mac.com
56d3168d3b Bug 117740 bad style in Cut calls in nsJARURI::SetSpec
r=redfive sr=jag


git-svn-id: svn://10.0.0.236/trunk@112333 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 07:31:45 +00:00
brade%netscape.com
157972cddd remove unused statics kIOServiceCID and kJARUriCID saving 32 bytes (bug 117927; rs=darin)
git-svn-id: svn://10.0.0.236/trunk@111668 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 14:32:21 +00:00
brade%netscape.com
30849ae9b9 remove unused static kZipReaderCID saving 16 bytes (bug 117927; rs=darin)
git-svn-id: svn://10.0.0.236/trunk@111667 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 14:31:27 +00:00
dp%netscape.com
d69c8b61af bug 115986 Thread safe zlib allocator. r=waterson, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@111347 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-04 05:46:48 +00:00
dp%netscape.com
e08908028c bug 116191 Making nsZipItem a member of nsJarInputStream rather than a
pointer. Saves a 16 byte allocation on per jar file read. r=darin, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@110962 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-21 05:57:39 +00:00
darin%netscape.com
96f22b6c0c fixes bug 115222 "jar protocol handler should be cached in the io service"
r=dp, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@110851 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 03:46:21 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +00:00
darin%netscape.com
16cf8358d3 fixes bug 115164 "nsJARURI::FormatSpec does more work than it needs to do"
r=dp, sr=jag


git-svn-id: svn://10.0.0.236/trunk@110547 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 20:34:07 +00:00
seawood%netscape.com
e3e5848fc7 Declaring callback functions appropriately.
Fixing OS/2 tinderbox bustage


git-svn-id: svn://10.0.0.236/trunk@110544 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 13:15:24 +00:00
dp%netscape.com
317e478e12 bug 113393 zlib allocator implementation. Eliminates about 1200+
allocations done by zlib by recycling previously allocated
memory. r=darin sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@110529 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-15 06:31:49 +00:00
darin%netscape.com
8c89b9d527 fixes bug 115129 "stream loader optimizations" r=gagan, sr=brendan,dveditz
git-svn-id: svn://10.0.0.236/trunk@110490 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 22:54:56 +00:00
ccarlen%netscape.com
4132901d1d Bug 98349 - Convert Mac build to CW7 and XML projects. Removing obsolete .mcp files. r=pink/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@110226 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 05:10:45 +00:00
ccarlen%netscape.com
ba7edd8a3b Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110172 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 20:42:22 +00:00
blythe%netscape.com
3139904ead fix linux build bustage that I caused with recent checkin
git-svn-id: svn://10.0.0.236/trunk@109953 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 02:08:57 +00:00
seawood%netscape.com
f60b40a46b Fixing typo & tindebrox bustage
git-svn-id: svn://10.0.0.236/trunk@109944 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:45:19 +00:00
blythe%netscape.com
9136ac3981 Fix bug 109157, nsZipArchive::BuildFileList footprint reduction
R=dp, SR=dveditz,alecf


git-svn-id: svn://10.0.0.236/trunk@109928 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 01:16:20 +00:00
darin%netscape.com
b0022a44a6 fixes bug 71005 "Memory leak in implementation of nsJARURI"
patch=badami@netscape.com
r=gordon@netscape.com
sr=darin@netscape.com


git-svn-id: svn://10.0.0.236/trunk@109780 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 01:20:33 +00:00
dp%netscape.com
e1b00fa978 bug 112312 Removing 32k-1 allocs when reading jar files. Saves a bunch
of time (about 10% on win2k) on startup. r=cathleen,dveditz sr=darin


git-svn-id: svn://10.0.0.236/trunk@109425 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-01 00:50:13 +00:00
dougt%netscape.com
16e560771a fixed bug 112345. JAR Channel does not cache mime service. r=neeti@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@109249 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 22:29:00 +00:00
dp%netscape.com
1544df4261 backing out previous change. Causes installer to fail with crc
errors.


git-svn-id: svn://10.0.0.236/trunk@109217 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-29 14:51:50 +00:00
dp%netscape.com
71ad48391f bug 112312 removing 32k allocs from libjar. darin&dp r=dbaron, sr=darin
git-svn-id: svn://10.0.0.236/trunk@109094 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-28 03:23:16 +00:00
timeless%mac.com
535b6f20f2 Bugzilla Bug 107823 change nsIFile
to use 'Modified' instead of 'Modification'
r=akkana sr=brendan


git-svn-id: svn://10.0.0.236/trunk@108891 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 08:05:05 +00:00
jband%netscape.com
26f6f3a656 trivial patch to avoid string assertions when entry is empty rs=jband
git-svn-id: svn://10.0.0.236/trunk@108828 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-22 23:32:49 +00:00