315 Commits

Author SHA1 Message Date
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
blakeross%telocity.com
7727611568 Fixing a bad reversion from dl mgr. r/sr/a unchanged.
git-svn-id: svn://10.0.0.236/trunk@116770 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 01:50:31 +00:00
blakeross%telocity.com
d9dc573025 102477 - turn on Download Manager (take 3). r=law sr=ben a=dbaron die=cvs
git-svn-id: svn://10.0.0.236/trunk@116759 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:41:01 +00:00
blakeross%telocity.com
d04901b698 Something is wrong with my tree...
git-svn-id: svn://10.0.0.236/trunk@116757 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:21:30 +00:00
blakeross%telocity.com
ea2c1fdf93 102477 - Turn on download manager, take 2. r=law sr=ben a=dbaron
git-svn-id: svn://10.0.0.236/trunk@116756 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 21:18:26 +00:00
blakeross%telocity.com
6853e69586 Backing out...saving for a rainy day...
git-svn-id: svn://10.0.0.236/trunk@116742 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 07:23:42 +00:00
blakeross%telocity.com
3ddac82ba7 102477 - Turning on download manager. r=law sr=ben a=dbaron
git-svn-id: svn://10.0.0.236/trunk@116732 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-17 04:52:34 +00:00
bzbarsky%mit.edu
a2499e184f Do not apply content decoding if the url ends in .gz or .zip. The
content-encoding battle never ends...  Bug 128199, r=law, sr=darin,
a=asa


git-svn-id: svn://10.0.0.236/trunk@116510 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-14 00:51:28 +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
darin%netscape.com
0a6f86bc0a hopefully fixes OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@115945 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 09:42:39 +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
bzbarsky%mit.edu
392f726bc8 fix regression of bug 124741. r=law, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115853 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:35:56 +00:00
bzbarsky%mit.edu
c164f1d423 Fix compiler warnings. Bug 127592, r=hwaara, sr=shaver, a=asa
git-svn-id: svn://10.0.0.236/trunk@115851 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-05 22:33:54 +00:00
alecf%netscape.com
8755908f04 bug 127091 - big string cleanup, removing old APIs
- removing Assign/AppendWithConversion for single-characters
- removing unused StripChars
- removing ReplaceChar[s] for non-matching chars
- removing CompressSet
- removing nsCString::Find/FindCharInSet/RFind for unichar strings
- removing lots of EqualsWithConversion
r=dp, sr=jag
a=asa


git-svn-id: svn://10.0.0.236/trunk@115750 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-04 23:18:21 +00:00
bzbarsky%mit.edu
b1cc9ed8d8 Decode by default when saving, except for types on a "ban list". Bugs
69306, 120033, 121001, r=law, sr=darin, a=roc+moz


git-svn-id: svn://10.0.0.236/trunk@115392 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 00:43:46 +00:00
law%netscape.com
e16d1d46e6 Bug 27609; change exthandler to use new progress dialog and properly report i/o errors; r=bzbarsky, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@115101 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 08:00:29 +00:00
jst%netscape.com
0604f64bed Checking in Boris Zbarsky's <bzbarsky@mit.edu> fix for bug 117269. Making mozilla not invent silly file extensions when saving files. r=law@netscape.com, rs=jaggernaut@netscape.com, jst@netscape.com
git-svn-id: svn://10.0.0.236/trunk@115098 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 07:50:52 +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
ducarroz%netscape.com
8acba62b90 Fix for bug 100591. We need to replace illegal characters in file name before trying to use it during a file save. R=cavin, law, SR=alecf, mscott
git-svn-id: svn://10.0.0.236/trunk@114244 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:57:39 +00:00
timeless%mac.com
30f1ba30c9 Bug 124895 Improper definition of NS_PROMPTSERVICE_CID
r=danm sr=alecf


git-svn-id: svn://10.0.0.236/trunk@114238 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 03:32:14 +00:00
bzbarsky%mit.edu
bb7de755f9 Make it possible to save files of types for which we have mimeinfos but
no extensions.  Bug 68801, r=law, sr=jag


git-svn-id: svn://10.0.0.236/trunk@114236 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 02:22:39 +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
ffecf7f104 Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
bzbarsky%mit.edu
84bf45c17f Make parts of multipart streams expose content-disposition. Bug 123043,
r=law, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@113743 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:39:04 +00:00
bzbarsky%mit.edu
c33a4dabe3 Fix helper apps not starting when the filename in the url is empty.
Also turn off caching of mime infos since we have no way to invalidate
this cache yet.  Bug 121644, r=law, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@113742 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-06 03:35:31 +00:00
darin%netscape.com
3ddd33baaa final patch for bug 109179 "replace nsStdEscape with NS_EscapeURL"
r=dougt, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@113669 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 03:08:15 +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
law%netscape.com
905119f6b5 Bug 107088; don't set any group/world permissions on temp file; r=bzbarsky, sr=darin
git-svn-id: svn://10.0.0.236/trunk@113466 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 00:06:12 +00:00
alecf%netscape.com
f7ee18f044 one more part of fix for bug 107575, including the much coveted whitespace
remove aIgnoreCase parameter from all nsString and nsCString consumers
sr=jag, r=shaver


git-svn-id: svn://10.0.0.236/trunk@113390 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 01:53:09 +00:00
mkaply%us.ibm.com
e91a3a7744 No bug - fix some tabs that were really bugging me
git-svn-id: svn://10.0.0.236/trunk@113352 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 20:31:59 +00:00
bzbarsky%mit.edu
ea2ee4e526 Check that the uri actually has an extension before trying to
GetTypeFromExtension.  Bug 122742, r=timeless, sr=darin.


git-svn-id: svn://10.0.0.236/trunk@113350 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 20:12:53 +00:00
alecf%netscape.com
4331ed65d3 First part of fix for bug 107575 - remove nsString::FindChar because there is already an nsAString::FindChar, and remove the "ignore case" option in RFindChar
r=dougt, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113200 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 06:04:29 +00:00
cathleen%netscape.com
dd8ebc5bd1 eliminate nsCRT::zero() to use memset to zero instead, bug 118135, r=dp sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113183 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:55:57 +00:00
bzbarsky%mit.edu
470ea1917e Make sure we lowercase types/extensions before putting them in the
datasource and that we lowercase types/extensions before comparing to
the datasource.  Bug 114462, r=law, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@113178 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:34:15 +00:00
mscott%netscape.com
9a9af58f44 Bug #43689 --> expose the suggested file name
r=law
sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@112882 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 22:05:16 +00:00
bzbarsky%mit.edu
a040e4e057 Make content-disposition parsing more forgiving. Fixes bug 121509 and a
few existing evang bugs.  r=law, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@112657 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-24 05:14:49 +00:00
bzbarsky%mit.edu
67d58a4b94 Bug 90633. Use the URL extension for the temp file we pass to helpers
if it matches the extension list in the mime info.  r=law, sr=mscott.


git-svn-id: svn://10.0.0.236/trunk@112298 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 04:28:06 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
sdagley%netscape.com
ab21e79f51 Change to fix for #60203 - continue to delete temp files on exit of Mozilla app on platforms other than Mac per mscott's request. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@111967 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 20:51:09 +00:00
sdagley%netscape.com
fd182171b1 Fix #60203 and #100460 - change name of downloaded files from the salted name to original name when download finishes and no longer delete temp files passed off to helper apps. Based on patch from Terence Tan. r=pinkerton,sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@111956 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 19:51:57 +00:00
bzbarsky%mit.edu
c43b7ba2cf Make ".xbl" files get detected as text/xml. bug 117839, r=law, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@111629 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 02:21:57 +00:00
alecf%netscape.com
3261839ac2 Rest of tree-wide cleanup for bug 100212 - switch last consumers of nsIFile.URL r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@111624 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 02:08:01 +00:00
pinkerton%netscape.com
27311e50b1 Change unsigned char* param to ConstStr255Param to make mach-o happier
r=sdagley/sr=blake. bug 118197.


git-svn-id: svn://10.0.0.236/trunk@111493 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 15:44:08 +00:00
ccarlen%netscape.com
021c9dac7f Bug 100828 - nsLocalFileMac reworking. r=rjc@netscape.com/sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111488 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-07 14:35:04 +00:00
mscott%netscape.com
41ff49cff8 Bug #114961 --> checking in for bzbarsky@mit.edu, add a null ptr check to avoid some unnecessary assertions
r/sr=mscott


git-svn-id: svn://10.0.0.236/trunk@110759 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:56:05 +00:00
timeless%mac.com
233ffd6cff Bug 115594 Support .CUR files patch by cbiesinger@web.de r=pavlov sr=tor
git-svn-id: svn://10.0.0.236/trunk@110712 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 13:40:06 +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
tor%cs.brown.edu
07b40ad301 Bug 66976 - turn on libpr0n MNG decoder. r=pavlov, sr=brendan.
Mac build patch by conrad, r=pinkerton, sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@110639 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 22:07:03 +00:00
jaggernaut%netscape.com
576ec93128 Bug 113228: Replace ns{C}String::To{Upper,Lower}Case with global versions. r=bzbarsky, sr=jst
git-svn-id: svn://10.0.0.236/trunk@110611 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-17 07:14:49 +00:00
ducarroz%netscape.com
5756ca119a Fix for bug 111305. Check for null ptr before using it. Don't truncate and initialize a nsString with a length of -1, that cause the whole app to freeze. R=damn, SR=mscott, A=asa
git-svn-id: svn://10.0.0.236/trunk@110445 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 01:18:16 +00:00