tbogard%aol.net
4fa2b86414
Changed the C++ includes to the equivalent of nsIURI and nsIStreamListener IDL versions. I couldn't find them earlier. Thanks to andreas.otte@primus-online.de for pointing the availability of them out to me.
1999-11-06 19:11:09 +00:00
tbogard%aol.net
9c3c5bfea2
Changed the some of the forward declared interfaces to be includes of the idl files. This makes the usages of these interfaces easier. Also put in the C++ includes for the nasty dumb interfaces nsIURI and nsIStreamListener which haven't found their homes in IDL yet.
1999-11-06 03:58:15 +00:00
dmose%mozilla.org
8535dda53e
updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:43:54 +00:00
dmose%mozilla.org
42fc94a6ec
updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
1999-11-06 03:40:37 +00:00
mscott%netscape.com
bacf6681a2
(not part of the build)
...
GetProtcocolHandler needs to pass in the uri we are trying to open so the
listener can pick an appropriate p.h. based on the protocol of the uri. (if
they so choose).
1999-11-05 23:26:16 +00:00
mscott%netscape.com
3d9164b725
(not part of the build)
...
1) add OpenURIVia support.
2) reimplent DispatchContent so we ask the listener if it can handle the content. Then when (if) we find
a content listener that can handle it, call DoContent.
3) if we can't find a content listener, go to the registry and try to find a registered content handler.
This part isn't finished as eventually i need to be going to the category manager instead of forming
the progid for the content handler myself.
1999-11-05 23:06:16 +00:00
mscott%netscape.com
3301907ba6
Add OpenURIVia which takes a static IP address.
...
(not part of the build)
1999-11-05 23:03:58 +00:00
mscott%netscape.com
69b683ebe5
(not part of build)
...
Add notion of CanHandleContent. This is supposed to be a light weight method for the implementor
such that the uri loader can ask right off the top if the listener can handle a particular content
type. If it can, then later on, the uir loader may call DoContent to actually handle it.
1999-11-05 22:54:53 +00:00
mscott%netscape.com
4f78c74a75
add a new line at the end of the file
...
(not part of the seamonkey build)
1999-11-05 22:53:21 +00:00
mscott%netscape.com
c5c728a09b
(not part of the seamonkey build!)
...
remove CanHandleConent. I don't think we need this. Also remove notion of getting a parent
content handler. This doesn't make sense anymore for how I'm defining a content handler.
Added progid prefix for content handler.
1999-11-05 22:52:35 +00:00
mscott%netscape.com
8824e33e62
(not part of the seamonkey build)
...
define and implement nsDocumentOpenInfo. Implement uri loader::OpenURI. This is the first pass at
my implementation it isn't complete and it doesn't use the registry for getting
protocol handlers and content handlers yet...but it's a start
1999-11-05 06:01:40 +00:00
mscott%netscape.com
af661431f1
(not part of the seamonkey build)
...
include nsISupportsUtils.h
1999-11-05 06:01:05 +00:00
mscott%netscape.com
d3a550ac00
(not part of the seamonkey build!)
...
expanded OpenURI interface to take all the required arguments we need in order to really open the uri.
This includes adding the command, window target, event sink getter, load group and channel context.
Added dispatchContent method which is used by the doc open info's to talk back to the uri loader.
DispatchContent takes an opened channel and the uri content listener.
1999-11-05 06:00:36 +00:00
mscott%netscape.com
de22561cc7
(not part of the seamonkey build!)
...
doContent now returns a boolean called abortProcess. if the listener wants to handle the content without
returning a stream listener, i.e. it wants the uri loader to stop doing anything else with this content,
then it returns true for abort process.
1999-11-05 05:59:42 +00:00
mscott%netscape.com
78817dde5c
(not part of the seamonkey build!!)
...
no longer need nsURILoaderCIDs.h
1999-11-03 03:55:39 +00:00
mscott%netscape.com
7766dd4d2f
(not part of the seamonkey build!!!!)
...
name change of nsURIDispatcher to nsIURILoader
1999-11-03 03:53:33 +00:00
tbogard%aol.net
d53012d480
Changed URIDispatcher to URILoader throughout.
1999-11-02 19:36:43 +00:00
mscott%netscape.com
fc6f3d118b
Add cvsignore file for uriloader\build
1999-11-02 19:21:49 +00:00
mscott%netscape.com
b3928b6511
(not part of the build!)
...
add .cvsignore file
1999-11-02 19:21:01 +00:00
mscott%netscape.com
27c12573bc
this directory is not part of the build!!!
...
add .cvsignore file
1999-11-02 19:18:04 +00:00
mscott%netscape.com
59d4a97719
this directory isn't part of the build!!!!
...
add a Makefile for uriloader\build
1999-11-02 19:09:50 +00:00
mscott%netscape.com
5af50d2b71
(This directory isn't part of the build!!)
...
Add a Makefile for the uriloader base directory.
1999-11-02 19:09:15 +00:00
mscott%netscape.com
4b86b103f6
(not part of the seamonkey build)
...
top level Makefile for uriloader
1999-11-01 19:56:25 +00:00
mscott%netscape.com
6fc27c2696
not part of the seamonkey build
...
add makefile for the uriloader\build directory.
1999-11-01 19:52:49 +00:00
mscott%netscape.com
9afcbe0d6b
not part of the seamonkey build
...
add CID header file and uri loader module class.
1999-11-01 19:52:25 +00:00
mscott%netscape.com
bf2b7b1fa9
not part of the seamonkey build.
...
add top level makefile.win for uriloader.
1999-11-01 19:51:45 +00:00
mscott%netscape.com
003b427868
not part of the seamonkey build
...
remove class id and progid from the interface
1999-11-01 19:51:05 +00:00
mscott%netscape.com
e8633fd853
(not part of the seamonkey build!)
...
export nsURIDispatcher.h
1999-11-01 19:49:09 +00:00
mscott%netscape.com
3484bf2344
first created.
1999-10-29 21:49:19 +00:00
mscott%netscape.com
6d59c5d592
Moving URI dispatching code into its new home in mozilla\uriloader. I'll be removing
...
the existing files that I put in netwerk very soon.
1999-10-29 21:46:18 +00:00
bienvenu%netscape.com
212c946904
add accessor for load group on doc loader r=rpotts
1999-10-27 04:44:42 +00:00
rpotts%netscape.com
d8d872c4b0
bug #15560 . Changed the LoadGroup to fire notifications via PLEvents to stop reenterency.
1999-10-19 19:42:55 +00:00
gagan%netscape.com
8d3080bc29
Removed an unneccesary include statement. No bug number.
1999-10-13 10:28:10 +00:00
rpotts%netscape.com
c2038977cf
Removed dead code inside of #if 0 blocks...
1999-10-06 21:43:21 +00:00
warren%netscape.com
d4f45caf5a
Added AsyncOpen to nsIChannel for URL dispatching. Added ContentLength to InputStreamChannel. (r=rpotts,valeski)
1999-10-06 08:26:01 +00:00
kipp%netscape.com
ae138fb1ee
Work around a flaw in the doc-loader not handling a RemoveObserver call during an observer notification
1999-10-05 23:57:20 +00:00
rpotts%netscape.com
248e31bd70
bug #15341 and bug #15344 . Use the documentloader observer instead of a stream observer.
1999-10-05 04:04:16 +00:00
rpotts%netscape.com
c924d68b90
bug #14457 . Getting the webcrawler working again for QA...
1999-09-22 22:58:29 +00:00
scc%netscape.com
feee7fb939
take action to prevent re-entering the destructor
1999-09-21 21:10:22 +00:00
mscott%netscape.com
f4d75a8c84
The doc loader should release the underlying channel once the channel issues a OnStopRequest. This allows the
...
channel to go away after we load the url instead of making it stick around until the next url comes in (that's
when we used to get rid of the previous channel).
r=rpotts.
1999-09-21 05:36:49 +00:00
bienvenu%netscape.com
3b77a14a9a
fix listener leak r+a=mscott,valeski
1999-09-20 21:10:46 +00:00
warren%netscape.com
1c51d9a00b
Fixed warnings.
1999-09-20 20:57:21 +00:00
mccabe%netscape.com
39e5fe6519
Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
...
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage. Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes. (This could mean blackwood; sorry, guys!)
Many thanks to Alec Flett (alecf@netscape.com ) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu ) and Mike Shaver (shaver@mozilla.org ) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.
Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
rpotts%netscape.com
3bb0c7a102
DocLoader cleanup... Also trying to get the notifications correct :-)
1999-09-17 07:56:03 +00:00
vidur%netscape.com
384c09eb30
Document referrer propagation through webshell and docloader.
1999-09-17 04:26:02 +00:00
warren%netscape.com
48cf4685a9
Factored file transport service out of file: protocol.
1999-09-16 01:16:22 +00:00
vidur%netscape.com
b7d78b67ae
Fixed circular references. nsDocLoader now supports weak references to it. Init() method moves out of constructor. nsDocLoader now has Destroy() method to start breakdown process.
1999-09-09 23:53:55 +00:00
mscott%netscape.com
9a2e367e96
LoadDocument and LoadSubDocument now take an nsIURI instead of a unicode string. This is part of a webshell optimization
...
to cut down on the number of nsIURI objects which we currently create in order to run a url in the webshell.
1999-09-08 03:58:57 +00:00
mscott%netscape.com
05b68c4102
If the to content type is message/rfc822 then we need to call into the stream converter service to find an appropriate
...
converter.
1999-09-05 19:54:28 +00:00
valeski%netscape.com
03b9d2d6cb
changed nsCOMTypeInfo<> template to NS_GET_IID macro
1999-09-03 23:51:14 +00:00
kipp%netscape.com
a99f5ec06a
Use nsAutoString instead of nsString for temps
1999-09-02 18:13:07 +00:00
valeski%netscape.com
495413a62e
added a context param to the stream converter service
1999-09-02 02:18:28 +00:00
beard%netscape.com
13d317565d
fixed a memory leak (was leaking the strdup("?"), landed stream converter stuff on Mac.
1999-09-01 21:50:32 +00:00
danm%netscape.com
227237a9c8
removing groady hack from rev 3.140, unnecessary since yesterday's changes in security (caps)
1999-09-01 20:26:04 +00:00
danm%netscape.com
5c43dbc2ce
temporary groady hack to fix breakage in NS_OpenURI
1999-08-31 06:49:26 +00:00
rickg%netscape.com
b7ed202275
enlarged the buffer size used for logging
1999-08-30 05:54:37 +00:00
valeski%netscape.com
bcadc45307
added stream converter functionality to the doc loader. also initialize/register the multipartmixedreplace stream converter in the webshell
1999-08-29 14:31:08 +00:00
sspitzer%netscape.com
6bea9e87eb
fix warning
1999-08-28 17:32:51 +00:00
rpotts%netscape.com
3ed5c99db2
M9 BRANCH landing...
1999-08-26 22:45:55 +00:00
mccabe%netscape.com
3d4917b628
Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
...
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
mccabe%netscape.com
2290033202
NS_DECL_NSIFOO spam for nsIRequest, nsIChannel, nsIStreamListener, nsIStreamObserver, all from netwerk/
...
convert manual interface method declarations in implementation class to NS_DECL_NSIFOO macro.
1999-08-22 13:26:18 +00:00
nisheeth%netscape.com
9e5e191a16
Fix for bug 7401. We now print out error messages for failed url loads.
1999-08-06 21:54:25 +00:00
rpotts%netscape.com
6a5e493ee7
Removed an *extra* release of the PostData stream... This was causing random crashes...
1999-08-06 21:38:09 +00:00
valeski%netscape.com
493ae6bd9e
api change to nsIWebShell and nsIDocumentLoaderObserver. I've replaced all the old method delarations with the new versions. We now pass 'nsresult' types into the On*() methods instead of PRInt32. The PRInt32 arg type was causing data loss.
...
I also checked in a fix for bug 10848 (which prompted the api change), and 10549 (these changes were in nsWebShell.cpp).
1999-08-05 01:28:30 +00:00
gagan%netscape.com
d550f5831d
POST requests for HTTP work now! Go file bugs using apprunner now...
1999-08-04 15:06:51 +00:00
mcafee%netscape.com
451c4afcee
Converting to stream implementation of HTTP posting, this obsoletes nsIPostData and nsIPostToServer. a=warren
1999-08-03 20:51:41 +00:00
valeski%netscape.com
47c693b1e3
factored repeated mime type retrieval implementations into mime mapping service methods
1999-08-01 16:42:25 +00:00
warren%netscape.com
af95e38fc8
Reverted yesterday's change to solve the timing/perf measurement problem. Now I think the main problem was caused by the fact that redirects weren't getting inserted into the group, causing the load to terminate prematurely. That's now solved in the http protocol code.
1999-07-31 06:33:50 +00:00
warren%netscape.com
6b3a89d3bc
Fixes for the 'timing' problem, where load time is reported incorrectly. Things seem to work now, except the very first load.
1999-07-30 07:50:35 +00:00
warren%netscape.com
b21ffb563b
Clean up of nsDocumentBindInfo::OnStopRequest. Debug error messages for necko failure.
1999-07-30 04:20:34 +00:00
warren%netscape.com
e6ca89c1bb
Fixed UMR / refcounting problem (purify).
1999-07-28 04:02:07 +00:00
valeski%netscape.com
20de55f858
necko - had to turn off www.*.com trick until we can identify dns failures
1999-07-21 16:41:07 +00:00
valeski%netscape.com
97080d487c
necko www.*.com trick
1999-07-21 14:54:45 +00:00
warren%netscape.com
7bcb94a320
Changed around load group insertion/removal to happen on mozilla thread.
1999-07-20 08:46:33 +00:00
beard%netscape.com
fad627620a
added <iostream.h>
1999-07-17 01:58:38 +00:00
sspitzer%netscape.com
6556418b3b
warren blew away my DEBUG_pnunn changes. Adding it back.
1999-07-17 01:51:27 +00:00
valeski%netscape.com
b26d6ed824
changed mime map service to use nsHashtabel
1999-07-16 21:56:54 +00:00
warren%netscape.com
c5684bf4d7
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
sspitzer%netscape.com
d312fd533a
wrap with DEBUG_pnunn. pnunn owns bug #8244 . the rest of us don't need to see this message a billion times a day.
1999-07-13 23:57:47 +00:00
valeski%netscape.com
ffbce16be3
adding warning comment
1999-07-13 23:39:31 +00:00
sspitzer%netscape.com
41c776abc0
only spit out this on debug builds.
1999-07-13 19:06:22 +00:00
warren%netscape.com
fcd36cebd4
Added outer param to NewLoadGroup.
1999-07-10 11:27:05 +00:00
warren%netscape.com
0cd57746e8
Necko stuff for dealing with load groups when opening URLs.
1999-07-09 21:18:47 +00:00
gagan%netscape.com
3037f684ff
Fixed warnings on Linux because of missing virtual keyword on destructors.
1999-07-08 00:50:02 +00:00
warren%netscape.com
9efa754f74
Added channel argument to nsIStreamObserver/nsIStreamListener/nsIProgressEventSink methods.
1999-07-07 08:08:40 +00:00
valeski%netscape.com
95f1ec8192
added newlines
1999-07-06 14:37:24 +00:00
warren%netscape.com
0b1dedd43f
Fixed GetContentType error handling for necko.
1999-07-03 05:49:12 +00:00
valeski%netscape.com
03cc0639f2
adding mime type resolver module.
1999-07-02 20:08:27 +00:00
warren%netscape.com
8462929dda
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
troy%netscape.com
c12c5044a2
Removed some assignment of nsnull to nsCOMPtr obejects that was hitting
...
an assert
1999-06-30 04:13:21 +00:00
valeski%netscape.com
2cb7f0ca72
yanked the hardcoded content type
1999-06-29 23:25:17 +00:00
valeski%netscape.com
9381d90062
NECKO - nsWebShell: we were getting a unichar string back from GetBuffer(); changed it to ToNewCString(). nsDocLoader: trying to get a regular url to load.
1999-06-29 21:48:35 +00:00
valeski%netscape.com
3889dddb60
removing extraneous nsIEventQueue stuff
1999-06-29 01:55:35 +00:00
warren%netscape.com
28d53ce097
Necko cleanup.
1999-06-29 00:37:14 +00:00
valeski%netscape.com
5621f3c7b4
optimized build fix.
1999-06-28 22:50:14 +00:00
mscott%netscape.com
19e27ea0e4
necko change: nsIStreamListener::OnDataAvailable now takes a nsIInputStream instead of a nsIBufferInputStream.
1999-06-28 20:43:28 +00:00
valeski%netscape.com
34a671540b
necko builds
1999-06-28 14:02:28 +00:00
warren%netscape.com
f5e1196f42
Last of the necko ifdefs. Now we link with necko.
1999-06-28 10:35:57 +00:00
warren%netscape.com
41b5fcddad
Changed URLGroup to LoadGroup
1999-06-25 02:31:51 +00:00
warren%netscape.com
23864df5e3
Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too.
1999-06-23 03:29:44 +00:00