58 Commits

Author SHA1 Message Date
cls%seawood.org
88aedd461b 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


git-svn-id: svn://10.0.0.236/trunk@97363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 22:10:38 +00:00
dougt%netscape.com
4b7b8b12ca Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko
git-svn-id: svn://10.0.0.236/trunk@96470 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-06 00:10:09 +00:00
neeti%netscape.com
27c9aff84f patch for bug 78876 - null bytes badly interpreted in base64-encoded data: URI scheme. r=sspitzer, sr=valeski
git-svn-id: svn://10.0.0.236/trunk@94989 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-15 12:45:50 +00:00
kandrot%netscape.com
2f7e9262c9 Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775.
git-svn-id: svn://10.0.0.236/trunk@94028 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-05 05:33:37 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
disttsc%bart.nl
d30c2be76b Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc
git-svn-id: svn://10.0.0.236/trunk@88396 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-02 09:26:57 +00:00
disttsc%bart.nl
edc70961f6 Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls
git-svn-id: svn://10.0.0.236/trunk@87655 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-22 09:35:51 +00:00
dougt%netscape.com
175245e2de 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


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df 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


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
darin%netscape.com
73495dffa0 Bug 62566. nsIChannel::AsyncWrite interface revision and related cleanup.
r=dougt@netcape.com, sr=mscott@netscape.com.


git-svn-id: svn://10.0.0.236/trunk@85390 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 22:10:34 +00:00
sspitzer%netscape.com
396748a09c fix for #53792. sr=mscott. compute the length of the data correctly.
git-svn-id: svn://10.0.0.236/trunk@83062 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-29 21:20:29 +00:00
cls%seawood.org
6088dfbf6b Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@82785 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-20 07:16:06 +00:00
alecf%netscape.com
63a1f09a5d #45797 - fix consumers of NS_IMPL_ISUPPORTS
r=dveditz a=self


git-svn-id: svn://10.0.0.236/trunk@82723 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-17 03:45:13 +00:00
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
warren%netscape.com
f29b00bbe4 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan
git-svn-id: svn://10.0.0.236/trunk@76875 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:03:33 +00:00
warren%netscape.com
4d62e29749 Bug 46864 - Embedding needs a name attribute on nsIRequest.
git-svn-id: svn://10.0.0.236/trunk@76772 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-21 08:23:54 +00:00
valeski%netscape.com
23654db003 42767. AsyncOpen (dead code) removal.
git-svn-id: svn://10.0.0.236/trunk@72387 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:39:19 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
warren%netscape.com
d9314a9d34 Fix to make jar protocol not copy local files. Starting to get chrome to work with jars. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71415 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 23:39:45 +00:00
warren%netscape.com
06f5a41c27 Combined all necko dlls into two. Bug 17031.
git-svn-id: svn://10.0.0.236/trunk@68526 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-06 09:15:56 +00:00
valeski%netscape.com
c92e7d31c2 37200. text type data urls were having whitespace stripped out of them.
git-svn-id: svn://10.0.0.236/trunk@67369 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-27 03:55:20 +00:00
valeski%netscape.com
495b392d65 35439. data urls having trouble with data including spaces.
git-svn-id: svn://10.0.0.236/trunk@66285 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 13:39:59 +00:00
warren%netscape.com
22161b7197 Added nsIZipReaderCache. Removed nsIZipReader::ParseManifest. Got jar: protocol going for downloaded jars and input streams. Added assertions that Cancel is called with a failure code.
git-svn-id: svn://10.0.0.236/trunk@65680 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-12 07:58:24 +00:00
cls%seawood.org
4f597a9d40 Set SHORT_LIBNAME in cases that library name will exceed 8 chars for OS/2. Bug #34106 a=leaf
git-svn-id: svn://10.0.0.236/trunk@64874 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-01 10:18:48 +00:00
rickg%netscape.com
ea24edd773 removed reference to nsString2
git-svn-id: svn://10.0.0.236/trunk@64749 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-31 10:13:22 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
dougt%netscape.com
9c2acfa2d6 Adding GetSecurityInfo to the nsIChannel. bug 29646. r=warren.
git-svn-id: svn://10.0.0.236/trunk@63319 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 22:06:32 +00:00
valeski%netscape.com
fec59bd368 fixing base64 encoding usage bug
git-svn-id: svn://10.0.0.236/trunk@63078 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-15 23:20:38 +00:00
rpotts%netscape.com
50c3fad132 Made contentType a read/write attribute of nsIChannel
git-svn-id: svn://10.0.0.236/trunk@57178 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-08 06:26:04 +00:00
dougt%netscape.com
674a13e637 Converting to use nsIModule macro. r=dp,jud
git-svn-id: svn://10.0.0.236/trunk@56683 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-03 23:27:20 +00:00
ducarroz%netscape.com
2d6a83bc0f Fix for bug 21314. Let PL_Base64Decode do the right job. R=warren
git-svn-id: svn://10.0.0.236/trunk@55938 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-13 22:49:12 +00:00
norris%netscape.com
d129ce569d The data protocol doesn't seem to be working. The problem appears to be that a nsStdURL is used to hold the data URI.
Unfortunately, using nsStdURL parses the data URI so that a URI like "data:text/html,<html>hi</html>" gets parsed with a
host of "text". When the rest of the data URI processing calls GetSpec, it then gets "//text/html,<html>hi</html>", which
confuses the content type parsing so no data is displayed.

This checkin changes to use a nsSimpleURI instead.
r=valeski


git-svn-id: svn://10.0.0.236/trunk@55647 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-07 23:42:58 +00:00
warren%netscape.com
c7d8a4a439 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408
git-svn-id: svn://10.0.0.236/trunk@55285 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-04 10:01:32 +00:00
valeski%netscape.com
8d420bdb8c r=mcafee. 20464. we were crashing when data: urls were accessed. Now we're safe; for the time being that is :)
git-svn-id: svn://10.0.0.236/trunk@55089 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 22:02:30 +00:00
warren%netscape.com
51881fbcea Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms.
git-svn-id: svn://10.0.0.236/trunk@54722 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 04:50:42 +00:00
valeski%netscape.com
62802829e3 typo. we need to be allocating the size of the struct, not the pointer to the struct.
git-svn-id: svn://10.0.0.236/trunk@53896 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 20:05:15 +00:00
warren%netscape.com
cbcd671c5d Removed the nsICapabilities interface in favor of nsIInterfaceRequestor.
git-svn-id: svn://10.0.0.236/trunk@53856 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 07:36:41 +00:00
warren%netscape.com
d8627fe912 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott
git-svn-id: svn://10.0.0.236/trunk@53761 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 08:14:52 +00:00
jdunn%netscape.com
f0c83b3d5a Fixing all unresolved symbols on unix. The bug has the diff's
r dp@netscape.com (ramiro helped me with it)
# 18688


git-svn-id: svn://10.0.0.236/trunk@53637 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-16 06:02:31 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
warren%netscape.com
fa66ea22fe Structural changes for MakeAbsolute performance. bug#10736 r=valeski
git-svn-id: svn://10.0.0.236/trunk@52673 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 05:13:44 +00:00
warren%netscape.com
fe1c294273 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott
git-svn-id: svn://10.0.0.236/trunk@51839 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 09:16:24 +00:00
dveditz%netscape.com
30a83caa1d Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz
git-svn-id: svn://10.0.0.236/trunk@50322 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-10 01:32:59 +00:00
warren%netscape.com
30cf63de80 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski)
git-svn-id: svn://10.0.0.236/trunk@49968 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-06 08:26:01 +00:00
kipp%netscape.com
5cf27c7453 nuked
git-svn-id: svn://10.0.0.236/trunk@49488 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:38:19 +00:00
kipp%netscape.com
2210b03ee9 Converted from components to modules
git-svn-id: svn://10.0.0.236/trunk@49472 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 21:22:48 +00:00
kipp%netscape.com
e1ba63180f new
git-svn-id: svn://10.0.0.236/trunk@49389 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-30 01:53:31 +00:00
warren%netscape.com
556cf8505e Factored file transport service out of file: protocol.
git-svn-id: svn://10.0.0.236/trunk@47704 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-16 01:16:22 +00:00
valeski%netscape.com
ddb76a233d content types are now forced to lower case: 13609
git-svn-id: svn://10.0.0.236/trunk@47368 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-14 19:42:09 +00:00