142 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
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
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
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
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
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
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
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
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
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
bbaetz%cs.mcgill.ca
478af40f6f Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT


git-svn-id: svn://10.0.0.236/trunk@110384 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 07:59:31 +00:00
bzbarsky%mit.edu
6c8e4bb64d Make the helper app dialog report the correct mime type after we've
tried to use extensions to guess the type.  Bug 78943, r=law, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@110323 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 01:02:26 +00:00
pete%alphanumerica.com
d5c04f174e b=77933, r=ccarlen, sr=jst
nsIFile::CreateUnique() has unused parameter

removed unused parameter
/**
    WARNING commercial tree has one hit for this API change
 */
--pete


git-svn-id: svn://10.0.0.236/trunk@110040 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-07 23:06:51 +00:00
law%netscape.com
039d50e5c0 Bug 88287; use the new GetDataSourceBlocking method to ensure we get the same data source as prefs is using; r=sgehani, sr=mscott
git-svn-id: svn://10.0.0.236/trunk@109811 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-06 04:07:26 +00:00
bzbarsky%mit.edu
5c31397853 Bug 109236, take 2, now that mcp has been changed. r=law, sr=mscott.
git-svn-id: svn://10.0.0.236/trunk@109325 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 04:37:21 +00:00
bzbarsky%mit.edu
065a782ee4 backing this out. need to get some build magic on the mac first. :(
git-svn-id: svn://10.0.0.236/trunk@109303 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 01:10:10 +00:00
bzbarsky%mit.edu
a8c5407a66 Make the mime service do extension --> type matching based on the
information the user has entered in helper app prefs.  Bug 109236,
r=law, sr=mscott


git-svn-id: svn://10.0.0.236/trunk@109285 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 00:14:14 +00:00
bzbarsky%mit.edu
6509f7fe33 fix possible memory leak when adding mime info objects to mime cache.
Bug 109130, r=law, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@109024 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-27 21:21:34 +00:00
bzbarsky%mit.edu
5209f5c632 Look in our predefined extension/type list for common extensions like
.bin.  Bug 87403, r=law, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@108337 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-17 02:13:33 +00:00
bzbarsky%mit.edu
89020f859e Fix crash for ftp:// and file:// urls that have no useful extension and
binary data.  r=bbaetz, sr=mscott, a=asa


git-svn-id: svn://10.0.0.236/trunk@107681 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-08 19:05:22 +00:00
hyatt%netscape.com
f908dd5b01 Fix for 18502, Christian Biesinger's BMP decoder and my ICO decoder. r/sr=pavlov,jband
git-svn-id: svn://10.0.0.236/trunk@107234 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 07:10:51 +00:00