Commit Graph

377 Commits

Author SHA1 Message Date
gagan%netscape.com
3bcf4f269a Fix for bug 100595. Resetting cursor after buffer has been prepended with the boundary string. r/sr=darin/dougt 2001-10-31 23:51:38 +00:00
dbaron%fas.harvard.edu
02f3a2d769 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
jaggernaut%netscape.com
06f4e59853 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-24 23:47:43 +00:00
bbaetz%cs.mcgill.ca
c5c3815b49 Bug 103737 - reenable "go up a directory" stuff which got accidentally
removed during my rewrite.
Bug 106114 - Don't assume that ftp directory listing dates are in GMT;
rather just leave them in the server's timezone.

Both r=dougt, sr=darin
2001-10-23 00:56:41 +00:00
bbaetz%cs.mcgill.ca
a90541510b Bug 82439 - html direcotry listings not localisable. r=sfraser, sr=darin 2001-10-19 03:03:30 +00:00
dbaron%fas.harvard.edu
0ceaca6f0d Correct incorrect bustage fix that was causing some odd text substitutions in mail messages. r=jag sr=alecf, hyatt b=104693 2001-10-18 03:21:31 +00:00
dbaron%fas.harvard.edu
8e7bfa3204 Fix Sun WS 5.0 bustage by moving conditional deeper into expression. b=100214 2001-10-13 04:25:23 +00:00
alecf%netscape.com
904452ef41 convert from nsCRT::strn?cmp to Compare() for bug 100214 r=jag, sr=sfraser 2001-10-13 00:12:02 +00:00
mscott%netscape.com
8868d2d972 Bug #96784 --> avoid infinite recursion in the bin hex decoder when the data fork gives us back
macbinhex content as the content type.
sr=darin/sspitzer
2001-10-10 00:37:29 +00:00
bbaetz%cs.mcgill.ca
4b4f4d08b9 Make fieldType be public - HPUX build bustage fix. 2001-10-03 01:55:10 +00:00
bbaetz%cs.mcgill.ca
1414a72b84 Why do we have two versions of nsCRT::strncmp, one taking a signed int,
the other an unsigned int? And why does the mac code barf on this?

Bustage fix.
2001-10-03 01:47:46 +00:00
bbaetz%cs.mcgill.ca
9f5f237872 Bustage fix - how did this build for someone else on windows? 2001-10-03 01:18:58 +00:00
bbaetz%cs.mcgill.ca
f7b29a552d Bug 78148. Reorg directory viewer backend to allow file and gopher to use
the html view as well. (This is currently disabled for file because of
i18n issues)

Should also fix dirviewer bugs 38014, 68651, 72724, 78474, and part
of 83881.

r/sr=darin, dougt
2001-10-03 00:43:30 +00:00
bbaetz%cs.mcgill.ca
584595884a Bug 78148. Reorg directory viewer backend to allow file and gopher to use
the html view as well. (This is currently disabled for file because of
i18n issues)

Should also fix dirviewer bugs 38014, 68651, 72724, 78474, and part
of 83881.
2001-10-03 00:26:29 +00:00
jaggernaut%netscape.com
ca6197295f Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net
4e12e44b2f Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
alecf%netscape.com
e1b4cb426d arrghh...missed this file 100214 sr=sfraser, r=jag 2001-09-26 20:59:25 +00:00
alecf%netscape.com
b570b3627a beginning of bug 100214 - eliminate encoding-insensitive nsCRT::str*cmp uses by properly converting to unicode. r=jag, sr=sfraser 2001-09-26 20:26:14 +00:00
mkaply%us.ibm.com
6b8dce37dc Bustage strnstr is wrong 2001-09-20 14:51:00 +00:00
mkaply%us.ibm.com
122eebad59 #99503
r=dougt, sr=darinr
XP support for FTP to OS/2 servers
2001-09-20 14:16:14 +00:00
jaggernaut%netscape.com
d1a7bfa843 One module per line for REQUIRES. r=/sr=alecf 2001-09-18 22:01:13 +00:00
jaggernaut%netscape.com
dc40187223 Bug 73353: splitting the modules on the REQUIRES lines in Makefile.in across multiple lines to more clearly show the changes made. sr=alecf 2001-09-18 13:41:47 +00:00
alecf%netscape.com
8bf5905937 add REQUIRES support to jpeg, sun-java, db, etc.. b=98371 r=cls 2001-09-10 20:48:38 +00:00
jaggernaut%netscape.com
3b3680c17e Bug 98153: Remove SubsumeStr. r=dbaron, sr=scc 2001-09-05 10:46:45 +00:00
mscott%netscape.com
72b986d4f0 Bug #97835 --> don't linkify words with @ signs in them unless they have a '.' somewhere after the space.
r=varada
sr=sspitzer
a=asa
2001-09-01 00:57:07 +00:00
cls%seawood.org
94fe7404df Update REQUIRES so that we do not accidentally build using the system headers of jpeg,zlib,png,mng when we are supposed to be building using the Mozilla copies of these libraries.
Bug #97386 r=mcafee a=dbaron
2001-08-29 03:29:44 +00:00
darin%netscape.com
bc1e628d2c fixes bug 83465 "response with empty content-type opens helper dialog (telocity dsl modem/router)"
r=bbaetz, sr=mscott
2001-08-07 01:23:54 +00:00
darin%netscape.com
ff6f9e69d0 Fixes bug 92438 "http 0.9 rendered as content-type: text/plain with Java applets"
patch=cahagn_o@epita.fr, r=bbaetz, sr=darin
2001-08-02 00:54:30 +00:00
dougt%netscape.com
46dc9b0d8e fixes 86358, 86418. Duplicate code elimination. submitted by drepper@cygnus.com (Ulrich Drepper). r=dmose@netscape.com, sr=dougt@netscape.com 2001-08-01 02:04:53 +00:00
jaggernaut%netscape.com
e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
jat%princeton.edu
cd4cfb1792 Fixes bug 75177. r=bbeatz, sr=dougt, patch by: darin. 2001-07-23 21:47:02 +00:00
mscott%netscape.com
ce9a86a96e Bug #81352 --> fix a crash in SetContentType by checking for an emtpy xpidl string.
r/sr=sspitzer
2001-07-11 00:38:44 +00:00
dougt%netscape.com
b6d76a8c7e Fixes a problem when the data ends in a header. 85529, r=valeski, sr=rpotts 2001-07-05 21:30:47 +00:00
dougt%netscape.com
f765826fdf Fixes 85529. r=valeski@netscape.com, sr=rpotts@netscape.com 2001-07-05 17:35:20 +00:00
dougt%netscape.com
089f8f1338 Fix for some servers that send "Range" instead of "Content-Range". r=peterl, sr=rpotts bug 85547. 2001-07-04 15:59:47 +00:00
blizzard%redhat.com
21552e4390 bug #87534. multipart/mixed handler doesn't parse content-type handler properly. r=dougt, sr=darin 2001-07-02 19:35:48 +00:00
leaf%mozilla.org
cb976acc61 merging zlib 1.1.3 from 0.9.2 branch to trunk, a=chofmann, bug 86323 2001-06-30 23:38:09 +00:00
jaggernaut%netscape.com
5a6317b8a5 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
locka%iol.ie
6eccc9e3fc Added null pointer check to prevent crash when stream converter is missing. b=83336 r=rpotts@netscape.com sr=darin@netscape.com 2001-06-28 11:53:17 +00:00
cls%seawood.org
f9b3c9195c Updating REQUIRES. Fixing senna bustage 2001-06-28 06:34:07 +00:00
sspitzer%netscape.com
7adbc5bde2 got the bin hex decoder to build on linux. patch by mscott. r/sr=sspitzer 2001-06-28 01:06:46 +00:00
mscott%netscape.com
498d0fc72f Bug #81352 --> add a bin hex stream converter decoder for windows and unix.
the decoder currently just extracts the data fork from the incoming stream.
r=ducarroz
sr=sspitzer
2001-06-28 01:02:42 +00:00
ducarroz%netscape.com
b08e5efce9 Fix for bug 84065. Add an AppleFileDecoder into the stream converters and modify save/save all attachment in order to be able to select the decoder when dealing with an apple double attachment. R=mscott, SR=sspitzer, A=asa@mozilla.org 2001-06-25 22:11:43 +00:00
dougt%netscape.com
32793f6a0c Fixes 84444 & 84441. r=gagan@netscape.com, sr=darin@netscape.com, a=chofmann 2001-06-21 22:06:19 +00:00
cls%seawood.org
bf5fb48486 Replaced NO_SHARED_LIB & NO_STATIC_LIB with BUILD_SHARED_LIBS, BUILD_STATIC_LIBS, FORCE_STATIC_LIB & FORCE_SHARED_LIB. Added FORCE_USE_PIC.
Changes allow us to have a finer control over which parts of the tree are built with PIC.  Part of the static build branch landing.
Bug #46775 r=mcafee a=leaf
2001-06-18 22:10:38 +00:00
scc%mozilla.org
a8fb409c6e bug #85271: sr=waterson, r={beard, jag, dbaron}, a=asa. Eliminate features of |nsXPIDLC?String| that keep it out of the string hierarchy (i.e., using assigment to rebind ownership, static |Copy| members, and |getter_Shares|), fixing some leaks in the process. 2001-06-17 05:23:38 +00:00
mscott%netscape.com
d72f0f6303 Bug #83241 --> sniff for image types in the unknown decoder. This allows mozilla to properly layout local files
called "test" that are really images (test.jpg, or test.gif). The sniffing code is cloned directly from libpr0n.

r/sr=rpotts
a=blizzard
2001-06-13 21:24:11 +00:00
rpotts%netscape.com
5b394a26a3 bug #81937 (r=valeski, sr=mscott, a=selmer) multipart/x-mixed-replace content was not being retargetted correctly... 2001-05-29 22:10:50 +00:00
blizzard%redhat.com
01ce2273cd Fix crasher bug #82003. Mozilla would crash when viewing some multipart pages. Make sure that we call free on the right variable. r=gagan, rs=darin 2001-05-22 14:44:28 +00:00
dougt%netscape.com
c9cd9ca9aa Fix for 81384. Add multipart/byterange support to the multipart/mixed stream converter. At somepoint we should rename this file. r=valeski@netscape.com, sr=darin@Netscape.com 2001-05-18 22:22:15 +00:00
rpotts%netscape.com
8834b9d8bb bug #71498 and bug #37001 (r=dougt). These patches fix an assert that was erronously being called and prevent the UnknownDecoder from being called recursively when an error occurs. 2001-05-18 21:02:01 +00:00
darin%netscape.com
199c44a737 Http branch landing: changes to netwerk/ (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:04:09 +00:00
kandrot%netscape.com
afdac97c93 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775. 2001-05-05 05:33:37 +00:00
cls%seawood.org
d62bacf705 Remove unneeded LOST_SYM_LIBS defines. 2001-04-30 01:13:22 +00:00
dougt%netscape.com
19774f7f6c fixes 77969. Adds PRE tag. r=dougt, sr=darin@netscape.com 2001-04-27 21:38:44 +00:00
dougt%netscape.com
eb9e49ff48 fixed 77823. r=gagan@netscape.com, sr=darin@netscape.com 2001-04-27 01:51:28 +00:00
timeless%mac.com
43e5aeb64d fix Bugzilla Bug 76426 All your control paths should belong to us.
r=valeski, sr=darin, a=asa
2001-04-19 19:43:43 +00:00
timeless%mac.com
46b177e406 fix Bugzilla Bug 75853 CR and LF are naked ifdefs
r=dveditz, sr=scc
2001-04-18 05:59:43 +00:00
mscott%netscape.com
f3e032f0f5 Bug #68237 --> fix array bounds read in ::ScanTXT
r=benb
sr=sspitzer
2001-04-18 04:08:25 +00:00
valeski%netscape.com
6cd03e0901 sr=vidur, r=dbaron. fixing leak and updating hashtables to newer, better, versions. 75337 2001-04-16 21:11:20 +00:00
darin%netscape.com
9deb4986e3 Patch to finalize necko loadFlags and fix HTTP validation correctness w.r.t.
cache validation preferences and browsing via history.  r=gagan,gordon.
Fixes several bugs that I would mention here if bugzilla weren't down ;-)
2001-04-14 02:02:19 +00:00
anatoliya%netscape.com
efc11b2fd5 bug-4596 r=jelwell, suresh sr=kin 2001-04-13 04:13:10 +00:00
darin%netscape.com
00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
anatoliya%netscape.com
4910c2740a New smileys bug-4013 r=andreww sr=hewitt 2001-04-07 05:49:24 +00:00
cls%seawood.org
979c006ff6 Change netwerk/mime to use MODULE=mimetype to remove avoid confusion with mailnews/mime . Update necessary REQUIRES.
Bug #68381 r=jag
2001-03-26 23:40:28 +00:00
dougt%netscape.com
3d34591986 Fix to prevent ODA from firing if there is no data. b71498, r=valeski@netscape.com, sr=darin@netscape.com 2001-03-26 23:32:19 +00:00
disttsc%bart.nl
f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
disttsc%bart.nl
385f89696c Bug 60952: nsMimeTypes.h has wrong type for APPLICATION_HTTP_INDEX, author=Bradley Baetz <bbaetz@cs.mcgill.ca>, r=blake, sr=darin
Bug 68651, nsFtpConnectionThread should use NS_LITERAL_STRING, author=Bradley Baetz <bbaetz@cs.mcgill.ca>, r=jag, sr=dougt
2001-03-24 22:57:35 +00:00
disttsc%bart.nl
497249a5e8 Move nsCString from |operator char*()| to |get()| and |NS_CONST_CAST| where needed. bug=53057, r=dmose, sr=shaver 2001-03-20 05:37:56 +00:00
syd%netscape.com
bcbf97737e Fix for:
http://bugzilla.mozilla.org/show_bug.cgi?id=68229

r=andreww, sr=sfraser. checking in for anatoliya
2001-03-14 07:33:46 +00:00
blakeross%telocity.com
808aba4ffa Fix 49334: gopher support, minor restructuring of directory viewer. necko: r=darin,dougt sr=rpotts other: r=waterson,mstoltz,jag sr=alecf
Fix 70404: assertions for datetime and finger. r=dougt, sr=rpotts

Both patches by Bradley Baetz (bbaetz@cs.mcgill.ca)
2001-03-14 02:51:01 +00:00
cls%seawood.org
b348ba5890 Fix line ending problems caused by using inferior platforms to checkin. Working on Irix bustage 2001-03-13 02:20:55 +00:00
valeski%netscape.com
aec997a897 sr=rpotts, r=gagan. 70743. switching over to new extensible URI::SchemeIs() api. and changing existing implementations over to new api. also modified nsHTTP and nsHTTPS handlers a bit to make things cleaner. 2001-03-13 02:01:07 +00:00
disttsc%bart.nl
c16472211e Part of string clean-up bug 70143, move last three #includes of "nsString2.h" over to "nsString.h". r=bryner, sr=scc 2001-03-12 23:17:18 +00:00
dougt%netscape.com
02921f234e Adds a '..' to children directories. r=dougt@netscape.com 2001-03-12 22:57:34 +00:00
valeski%netscape.com
ec271e8e9c r=blizzard, sr=alecf. 71258. we were returning the wrong end of the converter list. also updating the test converter to be a little smarter. 2001-03-10 18:18:36 +00:00
valeski%netscape.com
44570a6c2d 64804. r=dougt. fixing long broken stream converter chaining. 2001-03-08 00:41:53 +00:00
dougt%netscape.com
80614d95ae Fixes 64795 - Allows viewing FTP without the treewidget. r=valeski@netscape.com, sr=waterson@netscape.com 2001-03-06 02:14:42 +00:00
valeski%netscape.com
b7b9777ef9 sr=rpotts. 61160. allowing buffering if we haven't started a sub response yet. 2001-03-03 00:59:42 +00:00
disttsc%bart.nl
277181c660 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
dougt%netscape.com
f3ae3e7ba0 NOT PART BUILD BUILD YET. Checking in indexed to html converter 2001-03-01 07:22:19 +00:00
dougt%netscape.com
1e0d9b7877 fixes 66873. fixes WFTPD incompatibility. r=gagan, sr=mscott 2001-03-01 00:23:36 +00:00
valeski%netscape.com
343585ffe8 sr=rpotts. 39987. handling broken servers which don't provide a boundary token in the first block. also protecting against stray parsing which can result in crashes. 2001-02-27 12:33:12 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dougt%netscape.com
128f95aa9b Relanding Necko Changes.
Revising nsIChannel to allow for overlapped i/o. This consists of three parts:

1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols). The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com
1b9ca82439 Revising nsIChannel to allow for overlapped i/o. This consists of three parts:
1. Factoring nsIChannel into a protocol specific part, the nsIChannel, and a socket specific, the nsITransport.
2. Derive the nsIChannel from a nsIRequest.
2. Changes the notification system from necko and the URILoader to pass the nsIRequest interface instead of nsIChannel interface.

This goal stems from wanting to be able to have active AsyncRead and AsyncWrite operations on nsSocketTransport.
This is desired because it would greatly simplify the task of maintaining persistent/reusable socket connections
for FTP, HTTP, and Imap (and potentially other protocols).  The problem with the existing nsIChannel interface is
that it does not allow one to selectively suspend just one of the read or write operations while keeping the other active.

The full details of the change on written up in the netlib newsgroup.

r=darin@netscape.com
sr=rpotts@netscape.com
2001-02-10 00:16:26 +00:00
mozilla.BenB%bucksch.org
3010e0e287 65488: Small speed improvements. Obviously intended by mscott, but not actually taken advantage of, till now. sr=mscott, r=dougt. 2001-02-05 10:25:00 +00:00
gagan%netscape.com
79713bc4c2 Optimization for scheme comparison of URIs. See bug 66577 for details. r=darin, sr=brendan@mozilla.org 2001-01-31 01:33:03 +00:00
cls%seawood.org
66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
alecf%netscape.com
fea851d3d1 #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz a=self
2000-11-17 03:45:13 +00:00
darin%netscape.com
2578f4f795 Fixes bug 59661. Occurances of uninitialized variables... r=gagan, sr=mscott. 2000-11-15 22:21:46 +00:00
morse%netscape.com
7a35ab0fd7 bug 55731, files on disk need explicit html suffix, r=valeski, a=gagan, sr=mscott 2000-10-29 01:57:24 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
nhotta%netscape.com
8e39c30f3c Changed not to call the localized date format function but instead calls PR_FormatTimeUSEnglish()
so later it can be parsed by PR_ParseTimeString() correctly,
bug 30994, r=rjc,sr=mscott.
2000-10-24 21:53:12 +00:00
mscott%netscape.com
1906e8a12d Bug #54381 --> add <BODY> tag to the unknown decoder's attempt to figure out
if content is html or not.
r=gagan, sr=rpotts
2000-10-11 22:53:18 +00:00
rayw%netscape.com
3cd14f5878 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
rayw%netscape.com
0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
mozilla.BenB%bucksch.org
180bef7f8a 52042: "Escape" classes inserted by our TXT recognizer(s) by prepending "moz-"
39771: * -> <b> (not <strong>), / -> <i> (not <em>)
18427, Step 1: Add |class=moz-text-html | to wrapping <div>, so users can add rules specific to HTML msgs to their user stylesheets (e.g. to ignore certain formatting). r=rhp
Updating msg body UA stylesheets
r=a=alecf
2000-09-13 02:11:00 +00:00