49 Commits

Author SHA1 Message Date
pavlov%netscape.com
a0feb91521 changes all usages of NS_NewTimer to CreateInstance
git-svn-id: svn://10.0.0.236/trunk@70249 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:49:35 +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
warren%netscape.com
d100457780 Bug 21556: Making linux be thread-safe. Making tons of classes implement threadsafe AddRef/Release. a=jar
git-svn-id: svn://10.0.0.236/trunk@62243 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-05 21:26:01 +00:00
mkaply%us.ibm.com
bc38f9abb8 # 25555
r= warren@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@61869 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-29 15:40:42 +00:00
sdagley%netscape.com
21c87ff63d 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.
git-svn-id: svn://10.0.0.236/trunk@59014 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 04:00:28 +00:00
sspitzer%netscape.com
6ea685bfe7 fix warnings.
git-svn-id: svn://10.0.0.236/trunk@56588 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-29 00:20:10 +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
dougt%netscape.com
0c53e29d87 fix for 18078. r=mstoltz,warren
git-svn-id: svn://10.0.0.236/trunk@54648 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-30 00:32:43 +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
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
gagan%netscape.com
34d286f60f Last of the leftover files... that didn't include the API change.
git-svn-id: svn://10.0.0.236/trunk@52716 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-03 09:33:03 +00:00
dp%netscape.com
8a02a9884b Removing extra release happening on a service. NS_WITH_SERVICE() will
take care of this release.


git-svn-id: svn://10.0.0.236/trunk@52426 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-01 21:57:14 +00:00
gagan%netscape.com
b3785299ff 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
git-svn-id: svn://10.0.0.236/trunk@50588 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-13 10:24:12 +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
valeski%netscape.com
285283e32e 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
git-svn-id: svn://10.0.0.236/trunk@49618 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-01 23:32:12 +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
warren%netscape.com
0216c948bf Adding includes for nsIThreadPool.h and nsIRunnable.h in anticipation of idl files.
git-svn-id: svn://10.0.0.236/trunk@47564 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-15 09:49:18 +00:00
warren%netscape.com
de60d2685c 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.
git-svn-id: svn://10.0.0.236/trunk@46637 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-09 22:05:05 +00:00
warren%netscape.com
f42f069d47 Ported to the new nsPipe2 implementation.
git-svn-id: svn://10.0.0.236/trunk@44808 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-27 10:33:37 +00:00
gordon%netscape.com
a116a12a03 This is just a NECKO test app. Updating to work on Mac.
git-svn-id: svn://10.0.0.236/trunk@43309 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-13 22:18:34 +00:00
warren%netscape.com
781dcf6d17 Added NS_ERROR_UNKNOWN_PROTOCOL, and changed dns error to NS_ERROR_UNKNOWN_HOST.
git-svn-id: svn://10.0.0.236/trunk@41583 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 04:17:23 +00:00
warren%netscape.com
f1dfc48c58 Changed around load group insertion/removal to happen on mozilla thread.
git-svn-id: svn://10.0.0.236/trunk@40266 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 08:46:33 +00:00
warren%netscape.com
84a03567fa Big changes for Necko load groups. Things are much happier now. Now images work (on pages, but not in chrome).
git-svn-id: svn://10.0.0.236/trunk@39678 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-16 11:14:36 +00:00
gagan%netscape.com
44ca4005ac Fixes for the libcookie.so problem (thanks to Andreas for the patch) and then some additional fixes for warnings and such.
git-svn-id: svn://10.0.0.236/trunk@39044 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-13 02:37:08 +00:00
rpotts%netscape.com
521c8ba536 Added a -sync flag for testing sync streams with the socket transport...
git-svn-id: svn://10.0.0.236/trunk@39000 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-12 06:22:39 +00:00
warren%netscape.com
3df124d5df 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.
git-svn-id: svn://10.0.0.236/trunk@38979 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-11 02:43:37 +00:00
warren%netscape.com
74ffc2347a Changed uses of nsIBufferInputStream::Fill to nsIBuffer::Write.
git-svn-id: svn://10.0.0.236/trunk@38962 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-10 11:26:59 +00:00
warren%netscape.com
f165677628 Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
git-svn-id: svn://10.0.0.236/trunk@38659 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-07 08:08:40 +00:00
mcafee%netscape.com
f8d7609d39 Fixing linux bustage, rv needs declaration.
git-svn-id: svn://10.0.0.236/trunk@38252 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 05:50:56 +00:00
rpotts%netscape.com
9bc0eb68e4 Got the TestSocketTransport test working again after removing the nsIEventQueue argument to AsyncRead and AsyncWrite...
git-svn-id: svn://10.0.0.236/trunk@38235 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 04:14:28 +00:00
warren%netscape.com
8b1231e0ae Renamed OnStartBinding/OnStopBinding to OnStartRequest/OnStopRequest (removing the redundant ones from necko). Numerous necko fixes. Necko now using nsIPrompt interface instead of nsINetSupport.
git-svn-id: svn://10.0.0.236/trunk@37754 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-01 19:30:20 +00:00
valeski%netscape.com
68d11ccc79 change all GetIID() calls to nsCOMTypeInfo<foo>::GetIID() calls
git-svn-id: svn://10.0.0.236/trunk@37543 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 20:20:17 +00:00
valeski%netscape.com
863f107e7f nsIChannel api change. you no longer have to supply an nsIEventQueue when calling an AsyncRead|Write() method.
git-svn-id: svn://10.0.0.236/trunk@37308 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 01:52:30 +00:00
mscott%netscape.com
0688db31b1 nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream.
git-svn-id: svn://10.0.0.236/trunk@37221 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-28 20:37:10 +00:00
andreas.otte%primus-online.de
3182d63b9e fixing for new AutoRegistration
git-svn-id: svn://10.0.0.236/trunk@36290 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-22 18:24:02 +00:00
rpotts%netscape.com
35f66382a7 Fixed a bug due to nsIBufferInputStreams... GetLength(...) does *not* necessarily return the total amount of data in the stream (only the contiguous amount).
git-svn-id: svn://10.0.0.236/trunk@35899 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-19 09:42:59 +00:00
warren%netscape.com
0a96edf3cb Removed file transport, now consolidated with file channel. Various buffer(stream) cleanup.
git-svn-id: svn://10.0.0.236/trunk@35370 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-15 05:18:40 +00:00
rpotts%netscape.com
75b59e64ac 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...
git-svn-id: svn://10.0.0.236/trunk@35281 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-14 23:42:12 +00:00
andreas.otte%primus-online.de
891f537f8e conversion to wstring / PRUnichar
some cosmetics to various Makefiles


git-svn-id: svn://10.0.0.236/trunk@34798 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 15:50:14 +00:00
rpotts%netscape.com
822b809174 changed some printf around...
git-svn-id: svn://10.0.0.236/trunk@34786 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 08:36:40 +00:00
warren%netscape.com
f1300adcbe Added range offsets to open stream methods.
git-svn-id: svn://10.0.0.236/trunk@34733 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-11 01:37:43 +00:00
warren%netscape.com
d9b1c6a72f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams.
git-svn-id: svn://10.0.0.236/trunk@34249 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:57:32 +00:00
andreas.otte%primus-online.de
3cd96278fb use new HandleEvent method of EventQueue
git-svn-id: svn://10.0.0.236/trunk@34197 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 12:24:10 +00:00
warren%netscape.com
a42da99b5a New IDL interfaces.
git-svn-id: svn://10.0.0.236/trunk@34087 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:33:30 +00:00
rpotts%netscape.com
3b85ba970a Fixed up uninitialized variable... Oops
git-svn-id: svn://10.0.0.236/trunk@33982 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 07:12:56 +00:00
rpotts%netscape.com
0a0088d3c7 Added PLEvent pump for unix...
git-svn-id: svn://10.0.0.236/trunk@33734 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 09:03:45 +00:00
rpotts%netscape.com
168f5cc214 Added support for testing Sync transport access and Suspending and resuming transports...
git-svn-id: svn://10.0.0.236/trunk@33507 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 05:45:23 +00:00
andreas.otte%primus-online.de
637e77f2d7 removed manual registration
git-svn-id: svn://10.0.0.236/trunk@33417 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-02 11:29:26 +00:00
rpotts%netscape.com
ae34b7b8b8 Added a new test for the socket transport...
git-svn-id: svn://10.0.0.236/trunk@33292 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-31 05:18:19 +00:00