Commit Graph

607 Commits

Author SHA1 Message Date
valeski%netscape.com
16f4c69e16 15345 removal of nsIDocumentLoaderObserver.idl 2001-05-04 20:15:02 +00:00
law%netscape.com
84dff39fa8 Backing out this fix; it causes us to crash and burn if we encounter a url with .xul extension but content-type text/xul instead of application/vnd.mozilla.xul+xml; will fix that tomorrow 2001-05-04 10:26:56 +00:00
law%netscape.com
8d683afc36 c/true/PR_TRUE/ to fix ports bustage 2001-05-04 02:45:37 +00:00
dmose%netscape.com
3315a11881 Fixing MOZ_TRACK_MODULE_DEPS build bustage (eg senna tinderbox) by REQUIREing domMakefile.in 2001-05-04 01:43:56 +00:00
dbaron%fas.harvard.edu
6a2edb4985 Fix MOZ_TRACK_MODULE_DEPS (senna tinderbox) bustage by adding mozucth to REQUIRES. 2001-05-03 23:10:07 +00:00
law%netscape.com
d56b479417 Bug 52454; fix lots of external app service bugs and enable new helper app dlg; r=pchen@netscape.com, sr=mscott@netscape.com 2001-05-03 21:24:36 +00:00
cls%seawood.org
00f28396a9 Set EXPORT_LIBRARY=1 in all pertinent Makefile.ins. Allows us to build the final link list as we traverse the tree. Bug #46775 2001-04-28 19:48:12 +00:00
valeski%netscape.com
43115132fb fixing build bustage 2001-04-27 22:35:13 +00:00
rpotts%netscape.com
a7c30069fd Reverting to rev 1.72 2001-04-27 22:17:30 +00:00
rpotts%netscape.com
c8d6a0dd32 Reverting to rev 1.12 2001-04-27 22:17:14 +00:00
rpotts%netscape.com
259fce8009 fix for bugs #55867, 63529, 26295, 63247 (r=darin, valeski) 2001-04-27 21:05:52 +00:00
heikki%netscape.com
4095a51dde Bugs 65848 and 75031, support for application/xml and application/xhtml+xml mime types. This also fixes almost all of content to use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2. r=harishd, valeski (mime types), sr=vidur. 2001-04-26 19:33:12 +00:00
waterson%netscape.com
89b4865d92 Bug 76286. Bullet-proof code that uses mDocumentRequest; add assert-botch to catch cases where first request is not LOAD_DOCUMENT_URI. r=darin, sr=mscott, a=chofmann. 2001-04-19 19:51:29 +00:00
pchen%netscape.com
1624c3a8ac bug 49758, r=alecf, sr=sfraser, implement hasProtocolHandler method which calls Internet Config to look for protocol handler. Returns NS_ERROR_NOT_AVAILABLE if the app signature of the protocol handler is the same as the running application utilizing this code 2001-04-16 20:16:51 +00:00
pchen%netscape.com
5739a1c18e bug 49758, r=alecf, sr=sfraser, fix protocal misspelling 2001-04-16 20:16:49 +00:00
pchen%netscape.com
bb513f39f4 bug 49758, r=alecf, sr=sfraser, implement nsOSHelperAppService::ExternalProtocolHandlerExists() and implement nsOSHelperAppService::LoadURL() for mac 2001-04-16 20:16:41 +00:00
darin%netscape.com
9deb4986e3 Patch to finalize necko loadFlags and fix HTTP validation correctness w.r.t.
cache validation preferences and browsing via history.  r=gagan,gordon.
Fixes several bugs that I would mention here if bugzilla weren't down ;-)
2001-04-14 02:02:19 +00:00
waterson%netscape.com
33a1dec9ba Fix bustage better. 2001-04-13 03:19:29 +00:00
waterson%netscape.com
20db5d0468 Fix bustage. 2001-04-13 03:18:01 +00:00
waterson%netscape.com
a0a55358af Bug 75623, and part of bug 75576. Make sure we only fire OnStartRequest() once. Also, the doc loader should handle nsIRequests that aren't nsIChannel objects; this fix cleans that up. r=pavlov, sr=mscott 2001-04-13 02:32:02 +00:00
mscott%netscape.com
8a34b6891b Bug #74783 --> don't read the mac file creator and type values from our hard coded table of content types. Always use the values from internet config. r=sspitzer sr=sfraser 2001-04-13 00:44:55 +00:00
mscott%netscape.com
d43ed03fe4 Bug #74783 --> never get the mac creator and file type from our hard coded list of content types. Always get them from internet config. Mac only change. r=sspitzer sr=sfraser 2001-04-13 00:43:52 +00:00
shaver%mozilla.org
a0daa1645d 75152: Remove GetVersionNumber stub in favour of upcoming, less-invasive
preloader strategy. r=jag, sr=attinasi.
2001-04-11 14:23:13 +00:00
pavlov%netscape.com
5906063c28 fixing build bustage 2001-04-10 07:10:30 +00:00
darin%netscape.com
00a7e27ee6 Necko API changes, bug 74221. r=valeski, sr=rpotts. 2001-04-10 06:01:08 +00:00
law%netscape.com
4a2ebf26ca Bug 52454; new helper app dialog; this is under development and not built/used yet 2001-04-10 02:15:22 +00:00
disttsc%bart.nl
72cea9bb38 Clean up MODULE/REQUIRES, bug=73353, r=cls 2001-04-08 08:33:11 +00:00
dprice%netscape.com
8c0b9eaf97 65845 - new order files 2001-04-05 06:02:32 +00:00
rickg%netscape.com
169a621d42 preloader update. r=peterl, sr=attinasi 2001-04-03 22:58:59 +00:00
locka%iol.ie
082e014189 Updated GetTarget so windows are created if the named target cannot be found and for _new & _blank targets. b=72491, sr=mscott 2001-04-03 21:56:02 +00:00
ducarroz%netscape.com
8b1622ee10 Fix for bug 70222. Add an API to retreive file mapping flags. R=varada, SR=bienvenu 2001-04-03 21:08:51 +00:00
rpotts%netscape.com
b714e61819 bug #73244 (r=darin, sr=mscott). The DocLoader cannot assume that an nsIRequest is necessarily an nsIChannel... 2001-03-29 00:12:49 +00:00
alecf%netscape.com
fcaf601272 fix for bug 73640 - make uri loader support "true" weak references so we can implement them from JavaScript
sr=mscott
r=jag
2001-03-28 18:09:03 +00:00
brade%netscape.com
64c93b9006 part of fix for bug #19329 (more internet config apis); r=pchen; sr=sfraser 2001-03-28 13:56:19 +00:00
mkaply%us.ibm.com
4ed544fdd7 #73620
r=jband, sr=brendan
Fix some places where we used casts instead of CALLBACKs
2001-03-27 22:59:33 +00:00
cls%seawood.org
979c006ff6 Change netwerk/mime to use MODULE=mimetype to remove avoid confusion with mailnews/mime . Update necessary REQUIRES.
Bug #68381 r=jag
2001-03-26 23:40:28 +00:00
disttsc%bart.nl
f595ed19f3 Clean up REQUIRES lines. r=cls 2001-03-25 22:59:27 +00:00
valeski%netscape.com
169a5140b5 r=rpotts. comment changes only. 48726. adding status to idl files of api rev. ifaces. 2001-03-24 00:22:18 +00:00
alecf%netscape.com
01b6ed44fd no bug - just reworking nsIURIContentListener to be more easily implemented in JS - does not affect any C++ interface signatures
sr=mscott
2001-03-21 19:21:34 +00:00
timeless%mac.com
e76ccfd647 fix Bug 70989 Clean up lots of "shadows" and other common warnings
r=peterv, jst, ducarroz, edburns. sr=jst, shaver
2001-03-21 05:32:22 +00:00
pinkerton%netscape.com
73dec429d6 fix up case differences since sometimes osX seems to care. 2001-03-19 21:30:51 +00:00
colin%theblakes.com
9d7ac4a3c6 Remove the O_TRUNC when we open a newly created file (its not needed and
produces undesirable side effects on OpenVMS).
b=68255 r=sspitzer sr=mscott a=leaf
2001-03-14 02:57:47 +00:00
dprice%netscape.com
edb387e49c 71057 sr=waterson new order files. NOT PART OF THE REGULAR BUILD 2001-03-13 10:47:37 +00:00
dougt%netscape.com
c74c36c85e Minor build changes per API review. Now nsIFileURL and nsIFileChannel have their own IDL file which means that if you were using either of these two interfaces, you need to include a new include file. r=valeski@netscape.com 2001-03-12 22:41:28 +00:00
disttsc%bart.nl
8b43034cef Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc
2001-03-08 08:05:05 +00:00
darin%netscape.com
4f9a9b0114 Fixes bug 66181. Content-Disposition with attachment=filename did not accept
a quoted-string as the filename.  r=gagan, sr=mscott.
2001-03-03 02:20:28 +00:00
disttsc%bart.nl
277181c660 Preparation of removing nsCString::GetBuffer. Landing everything but the actual commenting out of nsCString::GetBuffer. bug=64016, r=timeless, sr=scc 2001-03-02 09:26:57 +00:00
dprice%netscape.com
199c935b04 # 65845 sr=waterson, new order files will greatly reduce the number of link warnings. 2001-02-27 04:38:19 +00:00
disttsc%bart.nl
a6f2f5861a Mass REQUIRES update to synch up with string lib and xul changes in an attempt to fix senna bustage. r=jst, sr=cls 2001-02-22 09:35:51 +00:00
dougt%netscape.com
128f95aa9b 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
2001-02-21 20:38:08 +00:00
pinkerton%netscape.com
d465909997 carbon changes. r=pink/sdagley/beard. a=sfraser. 2001-02-13 21:48:26 +00:00
dprice%netscape.com
997fb091c7 65845 first cut of the order files 2001-02-13 02:48:02 +00:00
disttsc%bart.nl
3d2d80d536 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com
1b9ca82439 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
2001-02-10 00:16:26 +00:00
ducarroz%netscape.com
ee26174ac1 Part of fix for bug 45225. I forget to rename the class nsAppleFileDecoder before the initial checkin. SR=mscott 2001-02-07 06:44:07 +00:00
mscott%netscape.com
7d14d6aaaa Bug #63193 --> the external protocol handler should only return a url or a new channel if we really do
have an external app that can handle the url. otherwise return NS_ERROR_UNKNOWN_PROTOCOL so we'll throw up an alert
dialog later on.
sr=sspizter
2001-02-07 05:24:27 +00:00
mscott%netscape.com
e809387e51 Bug #63193 --> register our default protocol handler
sr=rpotts
2001-02-07 04:23:34 +00:00
ducarroz%netscape.com
7369375bea Part of fix for bug 45225. Need to move part of appledouble decoder to uriLoader. SR=mscott 2001-02-07 04:10:41 +00:00
ducarroz%netscape.com
ed8387535f First Checked In. 2001-02-07 04:09:11 +00:00
mscott%netscape.com
2019b92f07 Bug #67598 --> we no longer need to invoke the ucth dialog here.
sr=sspitzer
2001-02-07 02:44:09 +00:00
mscott%netscape.com
4db17fe50b Bug #67598 --> remove CanHandleContent and DoContent
as this code has been reconsolidated in the base class for
all to use. For everyone, if the mime type is unknown or octet,
then try to guess a content type by file extension in doContent.
Also, if we can't find a mime type, create a new one for all platforms
so we don't need to bring up the ucth dialog.

sr=sspitzer
2001-02-07 02:43:18 +00:00
mscott%netscape.com
368ec71975 bug #63193 --> add nsExternalProtocolHandler to the unix build 2001-02-07 02:03:55 +00:00
mscott%netscape.com
8037bcf476 Bug #63193 --> add classid for external protocol handler
sr=rpotts
2001-02-07 02:00:09 +00:00
mscott%netscape.com
f0f94c5b25 add new extprotocolhandler file to the windows build 2001-02-07 01:58:58 +00:00
mscott%netscape.com
7acbc39ac7 Bug #63193 --> add these two new files for a default protocol handler which will kick urls out to the OS
sr=rpotts
2001-02-07 01:21:58 +00:00
mscott%netscape.com
eb1aab9e34 remove obsolete files that are no longer part of the build from the repository. 2001-02-06 23:08:19 +00:00
mscott%netscape.com
9c7e28ce40 don't build this obsolete directory. 2001-02-06 04:40:32 +00:00
mkaply%us.ibm.com
8952c7bf94 OS/2 and other ports breakage 2001-02-05 14:11:15 +00:00
locka%iol.ie
4a5b9f3e40 Added js linker dependency. sr=mscott@netscape.com b=41241 2001-02-05 11:31:27 +00:00
locka%iol.ie
06506207df Added code to create a new window for _blank, _new targets before URI loader tries to push content into it and fails. sr=mscott@netscape.com b=41241 2001-02-05 10:50:33 +00:00
locka%iol.ie
2170634159 Added linker dependency to js engine, sr=mscott@netscape.com, b=41241 2001-02-05 10:46:24 +00:00
mkaply%us.ibm.com
42b41d6a2b OK, seriously, we fixed the TB to handle this now 2001-02-01 18:32:15 +00:00
valeski%netscape.com
10230f80ff r=ccarlen, sr=rpotts. 65925. making webprogress implementation store weak refs to listeners. 2001-01-31 21:02:08 +00:00
mkaply%us.ibm.com
3cfa363ee6 OK, I give up. We even tested this on the TB itself. Why doesn't it work? 2001-01-29 23:34:21 +00:00
mscott%netscape.com
d0c9883513 Back out changes I added for implementing a launch and reveal method on nsIExternalProtocolService.
I've decided to move that functionality over to nsILocaFile where it makes more sense.
2001-01-29 21:35:12 +00:00
mkaply%us.ibm.com
65d4cb49ce #65880
r=cls
Taking this back out - it was a TB problem
2001-01-29 20:49:35 +00:00
mkaply%us.ibm.com
623699bfc4 Stupid OS/2 VPATH problems breaking Os/2 build 2001-01-27 19:24:27 +00:00
mkaply%us.ibm.com
01551e02b6 #65880
r=cls
Enable OBJDIR builds for OS/2
2001-01-27 15:36:41 +00:00
mscott%netscape.com
18202292e5 back out a piece of code that was not meant to be checked in and was not reviewed. 2001-01-25 07:00:06 +00:00
mscott%netscape.com
9329f79447 Bug #63346 --> implement open and open folder APIs for windows
sr=sspitzer
2001-01-25 06:48:47 +00:00
mscott%netscape.com
3f7ff536cc Bug #66323 --> always show the progress dialog even if
we are already done with the download. Break apart
SaveTodisk and LaunchWithTempFile into to separate
methods. never try to really open or save to disk
until we are sure we've brought up the progress window.

Bug #61947 --> pass in the initial time when we started the download via getDownloadInfo so
the progress dialog can use this information.

sr=sspitzer
2001-01-25 06:48:16 +00:00
mscott%netscape.com
d6bd863761 Bug #63346 --> add open and open folder APIs for the OS.
Bug #61947 --> pass in the initial time
when we started the download via getDownloadInfo so
the progress dialog can use this information.
2001-01-25 06:47:12 +00:00
mscott%netscape.com
5af7d75623 clean up some rv error code handling
sr=sspitzer
2001-01-23 22:35:54 +00:00
mscott%netscape.com
983bd36373 Bug #65515 --> if we can't create a mime info from the registry, then create a new
entry for this mime type.
Bug #57364 --> look up content type to file extension mappings using the windows mime registry.
Bug #65872 --> if we get a content type of unknown or octet, try to ignore that content type
and extract the extension from the url and looking that up to see if we can get a better
content type.
sr=sspitzer
2001-01-19 07:43:26 +00:00
mkaply%us.ibm.com
91ea2fd585 #65732
r=cls
Make SHORT_LIBNAMEs (used by OS/2 only) match Windows DLL names
2001-01-18 15:53:33 +00:00
mkaply%us.ibm.com
dca31efd5c r=mkaply, a=blizzard
Bring OS/2 helpers up to current level
2001-01-16 00:09:58 +00:00
pchen%netscape.com
5cd2c54979 Fix #62939. r=pinkerton, sr=sfraser. Return error when no match in IC database. Fixes DL of QT5 beta from apple.com (where they had a warning not to use Netscape 6) 2001-01-05 00:44:16 +00:00
rpotts%netscape.com
3228f83073 bug #62955 - Dialog boxes are the wrong size. 2000-12-23 06:07:38 +00:00
mscott%netscape.com
ee60df101f Bug #59827 --> pass the redirect flag up via a OnStatechange if we get a redirect. Also set the is document
flag if the original channel matches mDocumentChannel.
sr=rpotts
2000-12-19 22:07:58 +00:00
mscott%netscape.com
ac8cc6c8b1 Bug 57347 --> add a null ptr check to prevent a crash.
patch contributed by waterson
r=brendan
sr=mscott
2000-12-18 21:46:35 +00:00
rpotts%netscape.com
359b761343 bug #46866. Added a read-only DOMWindow attribute to nsIWebProgress. 2000-12-14 23:26:35 +00:00
mscott%netscape.com
51c10d8d69 Bug #60069 --> checking this patch in for Sergey Lunegov (lsv@sparc.spb.su)
make sure the mime action is initialized with the right action.
sr=mscott
2000-11-22 19:48:49 +00:00
cls%seawood.org
66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
mscott%netscape.com
fb0491626c Bug #58774 --> salt the temp file name we generate when downloading external content
r=sspitzer,
sr=alecf
2000-11-02 01:27:12 +00:00
mscott%netscape.com
b9944d7bfa Bug #56938 --> get the document channel from the docloader
and force any Refresh urls back through the original window
context that initiated the helper app download. This solves
the problem where the user clicks on a link to download
content (either to disk or to a helper app) and that document
contains both a redirect for the actual content and a REFRESH
header which is used to point at a page the content provider
wants to see after the download is complete.

sr=rpotts, r=sspizter
2000-11-01 08:06:19 +00:00
mscott%netscape.com
94e52d3266 Bug #56938 --> add a method for retrieving the doc loader's
document channel.
r=sspitzer, sr=rpotts
2000-11-01 08:04:49 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
0735771512 Removed extra 0 arg 2000-10-27 23:21:30 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mscott%netscape.com
f5614e7782 Bug #56934 --> properly determine the status for on end document load. We used to
use the status of the last request processed in loading the document to determine
success or failure. That's incorrect. Instead, test to see if the load group is being
canceled. If it is, use that as the status for the entire document. Otherwise, ignore
the status for the last request and instead use the status for the main document
(the default load channel).
sr=rpotts, r=sspitzer
2000-10-26 06:34:20 +00:00