66 Commits

Author SHA1 Message Date
valeski%netscape.com
308822e8ed making urlinfo threadsafe for test harness a=granrose
git-svn-id: svn://10.0.0.236/trunk@73082 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-23 18:49:07 +00:00
valeski%netscape.com
5297878f1d 42767. AsyncOpen (dead code) removal.
git-svn-id: svn://10.0.0.236/trunk@72393 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-16 14:59:30 +00:00
pavlov%netscape.com
4af9c6adc5 string api changes r=scc
git-svn-id: svn://10.0.0.236/trunk@67088 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 05:40:45 +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
gagan%netscape.com
1ac8d11436 New event sink changes for the test case.
git-svn-id: svn://10.0.0.236/trunk@62359 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-08 00:35:24 +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
jdunn%netscape.com
7fe5ff0d54 Fix slamm's warnings of shadowing previous variables.
r= rhp@netscape.com
r= warren@netscape.com
r= rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57481 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-12 00:54: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
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
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
cls%seawood.org
3e1a9ca95a Removed unused NECKO ifdefs.
a=leaf


git-svn-id: svn://10.0.0.236/trunk@52607 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-02 23:34:03 +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
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
dp%netscape.com
a4303afba6 Fixed build bustage caused by undefined min()
git-svn-id: svn://10.0.0.236/trunk@49817 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 06:28:17 +00:00
rpotts%netscape.com
2c951d67c1 Fixed up broken test case while investigating bug #14181...
git-svn-id: svn://10.0.0.236/trunk@49806 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-05 05:02:56 +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
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
rpotts%netscape.com
d42454f6bb ug #8443. Added GetCharset to nsIHTTPChannel
git-svn-id: svn://10.0.0.236/trunk@45300 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-31 04:46:05 +00:00
rickg%netscape.com
989fb2991c converted an instance to nsCString and replaced deprecated nsString call
git-svn-id: svn://10.0.0.236/trunk@45068 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-29 17:42:34 +00:00
rpotts%netscape.com
c1eed107d9 M9 BRANCH landing...
git-svn-id: svn://10.0.0.236/trunk@44701 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-26 22:45:55 +00:00
rpotts%netscape.com
b3ffea8ae0 Added code to dump all headers in the OnHeadersAvailable() notification.
git-svn-id: svn://10.0.0.236/trunk@42288 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-05 08:29:36 +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
valeski%netscape.com
193d66c13d added dns failure check to output
git-svn-id: svn://10.0.0.236/trunk@41573 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 02:35:12 +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
97bf796713 Added HTTP Status to printout.
git-svn-id: svn://10.0.0.236/trunk@39554 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-15 22:57:50 +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
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
rpotts%netscape.com
98da6633f5 Changes to build without NECKO defined...
git-svn-id: svn://10.0.0.236/trunk@38236 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-03 04:14:44 +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
a68346bb7e necko bustage
git-svn-id: svn://10.0.0.236/trunk@37546 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 20:48:49 +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
93b0dbd87b changed our nsISupports::GetIID() calls over to nsCOMTypeInfo<foo>::GetIID().
git-svn-id: svn://10.0.0.236/trunk@37538 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 20:00:19 +00:00
rpotts%netscape.com
e031e3202a replaced a call to nsIHTTPChannel::GetResponseHeader(...) with a call to nsIChannel::GetContentType(...)
git-svn-id: svn://10.0.0.236/trunk@37519 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-30 06:05:10 +00:00
rpotts%netscape.com
7d8178e2cb Fixed up a divide by zero bug...
git-svn-id: svn://10.0.0.236/trunk@37376 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 06:54:05 +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
rpotts%netscape.com
c041266e4e Fix to avoid those nasty divide by zero errors :-)
git-svn-id: svn://10.0.0.236/trunk@37124 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-27 11:14:35 +00:00
rpotts%netscape.com
2e4e19dafc Added support for loading a bunch of URLs from a file which is specified on the command-line...
git-svn-id: svn://10.0.0.236/trunk@37123 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-27 11:02:40 +00:00
rpotts%netscape.com
2ab4cbd6f4 Added a -verbose flag in preparation for batching URLs from a file...
git-svn-id: svn://10.0.0.236/trunk@36845 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 07:52:12 +00:00
rpotts%netscape.com
a125f0a621 Fixed bug where extra garbage was being read from the stream...
git-svn-id: svn://10.0.0.236/trunk@36835 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-25 06:28:58 +00:00
valeski%netscape.com
4973b3ef25 not in main pull - added cookie test stuff
git-svn-id: svn://10.0.0.236/trunk@36736 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-24 21:41:19 +00:00
rpotts%netscape.com
281800d7e2 Oops... Forgot to check this in... Allow multiple URLs to be processed before exiting the app.
git-svn-id: svn://10.0.0.236/trunk@36572 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 19:27:44 +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
f5545d55c1 I'm beginning to rework this test to handle multiple URL loads... This is WIP :-)
git-svn-id: svn://10.0.0.236/trunk@35784 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 07:46:00 +00:00
warren%netscape.com
b955f8f621 Added missing addref
git-svn-id: svn://10.0.0.236/trunk@35766 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-17 03:38:49 +00:00