Commit Graph

104 Commits

Author SHA1 Message Date
warren@netscape.com
dc6e48adee Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
valeski@netscape.com
eead77aaf5 missed an arg. 2000-06-16 15:02:14 +00:00
valeski@netscape.com
030cf54f04 42767. AsyncOpen (dead code) removal. 2000-06-16 14:59:30 +00:00
dougt@netscape.com
0ec74dadbd correcting invalid port number. They should be -1, not zero. 2000-05-20 00:19:24 +00:00
dougt@netscape.com
797fb8f15c Fix for 31164, possibly 35658, and prep work for 31174.
1) Passing the proxy hostname and port to the underlying socket
   and changing all users that appeared in lxr.

2) (psm-glue) registering with the cache manager to allow local loopback so that
   psm will work with a proxy.

3) (psm-glue) Storing proxy information in psmSocketInfo.

most reviewed by gagan@netscape.com.
2000-05-19 22:56:12 +00:00
pavlov@netscape.com
2d15c3f4b4 changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
warren@netscape.com
a2fb078809 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. 2000-03-29 03:58:50 +00:00
warren@netscape.com
90e6ffd47b Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar 2000-03-05 21:26:01 +00:00
mkaply@us.ibm.com
5c09f8cd0c # 25555
r= warren@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef
2000-02-29 15:40:42 +00:00
sdagley@netscape.com
e00c367de0 Fix #25042. Moving PR_Init_Log proto from prlog.h to pprio.h as it is an internal function that normally doesn't belong in the NSPR public interfaces but the Mac needs it. Changes actually from wtc, sdagley just reviewed them and is checking them in. 2000-01-28 04:00:28 +00:00
sspitzer@netscape.com
72a3d2dfc5 fix warnings. 1999-12-29 00:20:10 +00:00
warren@netscape.com
60e1533d80 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
dougt@netscape.com
15861e6442 fix for 18078. r=mstoltz,warren 1999-11-30 00:32:43 +00:00
warren@netscape.com
d781c103fb Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
dmose@mozilla.org
796280940b updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
gagan@netscape.com
dc4fac078f Last of the leftover files... that didn't include the API change. 1999-11-03 09:33:03 +00:00
dp@netscape.com
a7c995415a Removing extra release happening on a service. NS_WITH_SERVICE() will
take care of this release.
1999-11-01 21:57:14 +00:00
gagan@netscape.com
fe7b4a18cd Fix for bug # 10333. Made webshell a progress event sink as well so that now it redirects all progress messages from necko land to the appropriate docloader observer. The hack to delete strings which are being received in the status messages is a work around the current limitation of the proxy event code. When bug # 16273 is fixed that delete wont be necessary. In fixing this I also noticed that the nsFileTransport wasn't using the proxy events and was incorrectly firing status messages directly onto the UI thread. Fixed that as well. r=rpotts,warren 1999-10-13 10:24:12 +00:00
warren@netscape.com
285120e9f2 Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski) 1999-10-06 08:26:01 +00:00
valeski@netscape.com
872d65d425 15300 r=warren. Changed NS_NewThread api to default to PR_UNJOINABLE_THREAD, also added new NS_NewThread() function so you don't have to combine the runnable w/ thread creation. added threads to xpcom init so you can create them w/ the com mgr. 15298 r=gagan, FTP threads are now synched w/ ftp handler shutdown, removed extraneous buffer work, added ftp authentication, and ftp channel content length 1999-10-01 23:32:12 +00:00
warren@netscape.com
f62f5c3027 Factored file transport service out of file: protocol. 1999-09-16 01:16:22 +00:00
warren@netscape.com
ac2b52462a Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files. 1999-09-15 09:49:18 +00:00
warren@netscape.com
c051b946f8 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
warren@netscape.com
df52fff52c Ported to the new nsPipe2 implementation. 1999-08-27 10:33:37 +00:00
gordon@netscape.com
0cbbf3283d This is just a NECKO test app. Updating to work on Mac. 1999-08-13 22:18:34 +00:00
warren@netscape.com
11778189fd Added NS_ERROR_UNKNOWN_PROTOCOL, and changed dns error to NS_ERROR_UNKNOWN_HOST. 1999-07-30 04:17:23 +00:00
warren@netscape.com
ccfdb6afee Changed around load group insertion/removal to happen on mozilla thread. 1999-07-20 08:46:33 +00:00
warren@netscape.com
61a33642b8 Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome). 1999-07-16 11:14:36 +00:00
gagan@netscape.com
5e7d8049c8 Fixes for the libcookie.so problem (thanks to Andreas for the patch) and then some additional fixes for warnings and such. 1999-07-13 02:37:08 +00:00
rpotts@netscape.com
273925f170 Added a -sync flag for testing sync streams with the socket transport... 1999-07-12 06:22:39 +00:00
warren@netscape.com
e3e427bf7e Fixed http loading in viewer. Wrong channel was being passes to doc loader's stream listener by http. Also added ifdef to easily remove Fill change. 1999-07-11 02:43:37 +00:00
warren@netscape.com
1dceb783a6 Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write. 1999-07-10 11:26:59 +00:00
warren@netscape.com
489c1d2df9 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods. 1999-07-07 08:08:40 +00:00
mcafee@netscape.com
a2da412bcd Fixing linux bustage, rv needs declaration. 1999-07-03 05:50:56 +00:00
rpotts@netscape.com
aee0af8ccf Got the TestSocketTransport test working again after removing the nsIEventQueue argument to AsyncRead and AsyncWrite... 1999-07-03 04:14:28 +00:00
warren@netscape.com
1496c3eec1 Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport. 1999-07-01 19:30:20 +00:00
valeski@netscape.com
2ac7459a2d change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls 1999-06-30 20:20:17 +00:00
valeski@netscape.com
379d1b5a82 nsIChannel api change. you no longer have to supply an nsIEventQueue when calling an AsyncRead|Write() method. 1999-06-29 01:52:30 +00:00
mscott@netscape.com
b8fa1a696b nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream. 1999-06-28 20:37:10 +00:00
andreas.otte@primus-online.de
3a0b2617c4 fixing for new AutoRegistration 1999-06-22 18:24:02 +00:00
rpotts@netscape.com
848aff2ede Fixed a bug due to nsIBufferInputStreams... GetLength(...) does *not* necessarily return the total amount of data in the stream (only the contiguous amount). 1999-06-19 09:42:59 +00:00
warren@netscape.com
5bf684e0c2 Removed file transport, now consolidated with file channel. Various buffer(stream) cleanup. 1999-06-15 05:18:40 +00:00
rpotts@netscape.com
44c97bf623 Changed printf(...) to puts(...) in OnDataAvailable(...) calls. This allows % characters to be present in the output stream without crashing the test app... Added call to AsyncRead(... )in Testprotocols.cpp to get http working again... 1999-06-14 23:42:12 +00:00
andreas.otte@primus-online.de
d6c5416225 conversion to wstring / PRUnichar
some cosmetics to various Makefiles
1999-06-11 15:50:14 +00:00
rpotts@netscape.com
498ec9f2ac changed some printf around... 1999-06-11 08:36:40 +00:00
warren@netscape.com
4d299d62ae Added range offsets to open stream methods. 1999-06-11 01:37:43 +00:00
warren@netscape.com
835f1bb281 Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams. 1999-06-08 20:57:32 +00:00
andreas.otte@primus-online.de
1d91a81f2f use new HandleEvent method of EventQueue 1999-06-08 12:24:10 +00:00
warren@netscape.com
0db129ed26 New IDL interfaces. 1999-06-07 21:33:30 +00:00
rpotts@netscape.com
78bbd7e0c5 Fixed up uninitialized variable... Oops 1999-06-07 07:12:56 +00:00