Граф коммитов

396 Коммитов

Автор SHA1 Сообщение Дата
mscott%netscape.com fbaaa22895 Bug #30157 --> add the ability to launch urls using OS default protocol handlers. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Initial interface for interacting with an OS specific external protocol handler.
2000-06-18 22:04:28 +00:00
mscott%netscape.com 8742fb7bae Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Mac specific implementation of the helper app service. Note: this is incomplete...I have added FIX ME comments
in all the places where we need Mac specific information for interacting with internet config.
2000-06-18 19:54:37 +00:00
mscott%netscape.com 294934553a Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Use the 4.x windows registry information in an effort to figure out the correct file extension
for a particular content type. This is necessary because we need the file extension to figure out
which helper app to use, not the content type.

Pass the file extension to be associated with this content type to the external content handler when
we create it.
2000-06-18 01:14:23 +00:00
mscott%netscape.com 033d002228 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Pass in the file extension (determined by the content type) that we want to use when generating the name
of the temp file for saving the data for the helper application.
2000-06-18 01:13:04 +00:00
mscott%netscape.com adb222feb1 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Add external application implementation.
Add windows registry sniffying code to find the right external helper application for a given file extension.
Add windows registry code for launching the application.
2000-06-17 23:06:23 +00:00
mscott%netscape.com 0397d16a80 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Add support for nsPIExternalAppLauncher. Call back to the OS app service to launch the app once we are done
saving the file to a temp file.
2000-06-17 23:04:53 +00:00
mscott%netscape.com a49f7b7be2 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Add a private interface to be shared between the os specific helper app service and the external app handler
for launching an app.
2000-06-17 23:03:24 +00:00
mscott%netscape.com 6a1489732e Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

properly implement saving the data to a temp file.
2000-06-17 19:53:44 +00:00
mscott%netscape.com 0c5b76fe97 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

fix some method signature problems.
2000-06-17 03:02:08 +00:00
mscott%netscape.com 2465ee7f3f Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

Add code to actually store the incoming data into a temp file.
2000-06-17 02:34:44 +00:00
mscott%netscape.com 2408a62e64 Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.

initialize an external app handler with an nsIFile which represents the app.
2000-06-17 02:34:24 +00:00
mscott%netscape.com 8e93dbd8cb Bug #38374 --> more updates for external helper application support. (NOT PART OF THE BUILD)
code review will come when this is done and gets turned on.
2000-06-17 00:06:26 +00:00
mscott%netscape.com f51d776b01 Bug #38374 --> foundation for helper app architecture.
Not part of the build yet. review will come when this is ready to go.
2000-06-16 21:35:13 +00:00
mscott%netscape.com ceefda9021 Bug #38374 --> foundation for helper app architecture. Windows specific implementation of the
helper app service.
Not part of the build yet. review will come when this is ready to go.
2000-06-16 21:34:35 +00:00
mscott%netscape.com dd5ce2dd58 Bug #40116 --> check to see if the channel was canceled before
propogating calls to the content listener...
r=valeski
2000-06-16 21:21:04 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
rpotts%netscape.com 62822b5dda bug #29178. Do not show a blank document when a HTTP server returns a status 204 - No Content 2000-05-25 05:12:58 +00:00
sfraser%netscape.com 4c714fca1f Fix access paths for faster opening 2000-05-17 06:13:58 +00:00
pollmann%netscape.com 01e6f26d4b Bug 32898: Fix crash when targetting new window. r=rpotts 2000-05-11 01:33:25 +00:00
ruslan%netscape.com 3ed8b3dc94 Prevent infinite loop in OnStop in case when Cancel is issued 2000-05-10 02:05:54 +00:00
rpotts%netscape.com cc7abfb7ba Removed nsLoadCookie and made nsDocLoader implement nsIInterfaceRequestor directly... 2000-05-07 02:01:10 +00:00
mscott%netscape.com 38900201f3 add thread safey addref and release macros to docloader. 2000-05-04 21:34:50 +00:00
davidm%netscape.com c05d968c8d First Checked In. 2000-05-03 02:51:51 +00:00
mccabe%netscape.com b46e6e7a8c change several IDL parameters to be unsigned, to work better with length_is, size_is. Preperatory to requiring unsigned in xpidl, fixing 13413 2000-04-28 10:51:52 +00:00
pavlov%netscape.com 03d4675682 string api changes r=scc 2000-04-25 05:40:45 +00:00
mscott%netscape.com 3fa3bc107a need to fake a onprogress change for the parent
docloader...Fix viewer crash by returning aChannel instead of the
doc channel.
2000-04-25 01:45:37 +00:00
tbogard%aol.net 8ad0294517 Added new flag for a timed out net connection. 2000-04-24 05:03:49 +00:00
cls%seawood.org 33edc21c9c General cleanup of the shared library rules.
Quick fix for bug #36844.
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk.  Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).
2000-04-23 17:48:04 +00:00
mscott%netscape.com d80491ff3b help support the doc loader using the web progress listener. 2000-04-22 23:17:11 +00:00
mscott%netscape.com bb5271913c Bug #33156 --> implment onChildStatusChanged AND progress notifications for the doc loader
through the web progress interfaces. In order to implement progress, the doc loader now implements
nsIProgressEventSink and receives events directly from the channels.
2000-04-22 23:16:31 +00:00
warren%netscape.com 8929701aaa Bug 34217. Making js protocol not clear window when it returns no result. 2000-04-21 05:18:15 +00:00
mccabe%netscape.com aa82cfca15 Ignore some generated Makefiles 2000-04-20 01:08:17 +00:00
davidm%netscape.com 699af3fa09 Replace nsString with nsCString. Add routines for setting the ext froma comma delimenated list 2000-04-19 04:45:30 +00:00
mscott%netscape.com bc0039a474 Bug #36221 --> throbber never stops when loading a frameset doc.
I was signaling the stop notification via a OnchildStatus in this scenario. We should always signal the start
and stop of documents as a status change even if a child is originating the change.
2000-04-18 21:39:09 +00:00
mscott%netscape.com 5180b02b91 Bug #36218 --> fix ftp! We were unable to open the unknown content handler because we couldn't get
the dom window from the original docshell. I changed it to make this possible.
2000-04-18 20:41:38 +00:00
tonyr%fbdesigns.com 5479b98dec Got rid of the shared library reference. No longer needed. 2000-04-16 15:47:35 +00:00
cls%seawood.org 6bb7a2691f The extprotocol subproject does not actually build under unix. A bug in the way we handle SHARED_LIBRARY_LIBS is the only reason the tinderboxes didn't go red with the previous checkin. 2000-04-16 08:42:25 +00:00
tonyr%fbdesigns.com 238c161a97 Added the extprotocol subproject 2000-04-16 00:08:40 +00:00
tonyr%fbdesigns.com e444e53af7 Added the extprotocol subdir 2000-04-15 18:36:11 +00:00
tonyr%fbdesigns.com a142e4be22 Fix up the unix makefiles so it actually builds 2000-04-15 16:51:51 +00:00
scc%netscape.com e097771f06 making string conversions explicit 2000-04-15 07:05:34 +00:00
tonyr%fbdesigns.com b438de70ba Updated makefiles to almost work. 2000-04-14 14:37:23 +00:00
mscott%netscape.com 2cd0333d85 Pass in the right channel into the web progress listener. 2000-04-14 03:28:23 +00:00
tonyr%fbdesigns.com b5ac76fa4c First Checked In. 2000-04-14 03:04:08 +00:00
tbogard%aol.net 33b3f6e837 Removed the viewSource member and the GetStringForCommand as it is no longer used. 2000-04-11 23:52:37 +00:00
davidm%netscape.com 8b9369403e 31054 'TEXT' file which contains non ASCII does not open correctly 2000-04-05 03:03:50 +00:00
cls%seawood.org 372343f97f Fix for EXTRA_DSO_LIBS in rules.mk
OS/2 Makefile.in changes (Patch 4a).  Bug #34106
2000-04-04 07:37:50 +00:00
cls%seawood.org 57978e5c23 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
tbogard%aol.net 8939dda080 Changed the Status flags to be transition flags rather than flat current state. This makes it easier to implement a listener. Otherwise you are forced to cache the last status and then determine transitions based on the deltas. 2000-04-04 02:45:32 +00:00
mscott%netscape.com d7d27f9f48 Bug #34321,34350 --> be sure to set the web progress listener on the doc loader
before every load.
r=travis
2000-04-03 22:41:26 +00:00
mscott%netscape.com f81f9e1d31 Bug #33156 --> the doc loader now implements nsIWebProgress and makes basic notifications to a registered
nsIWebProgressListener.

Right now, the only methods that are hooked up are signaling when the doc loader is busy loading a document and
when it is done loading a document.
2000-04-03 02:26:05 +00:00
scc%netscape.com 2986371863 making string conversions explicit 2000-04-02 09:15:46 +00:00
scc%netscape.com 66f25aff37 making string conversions explicit 2000-04-02 08:34:55 +00:00
valeski%netscape.com e258827764 29858. special case a */* content type returned from the server. we want to treat it as unknown and ask the user what to do. 2000-03-30 22:24:07 +00:00
jim_nance%yahoo.com 005e33f06e Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
tbogard%aol.net 3841cb4ac4 Updated the documentation to clearly state the parameters of OnChildProgressChange. 2000-03-29 10:14:59 +00:00
warren%netscape.com d60b12b153 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
scc%netscape.com ee0efef2a2 small changes to clients of string converting APIs 2000-03-26 08:05:46 +00:00
rickg%netscape.com 4fa6b38b7d removing references to nsString internals 2000-03-26 07:55:46 +00:00
tbogard%aol.net 4e7bd3d0c3 Removed the cookie from AddProgressListener and RemoveProgressListener because frankly that parameter was dumb. :) 2000-03-26 04:51:38 +00:00
tbogard%aol.net 6a3b8a83b9 Added a new method onLocationChange that is called when the location of the watched window changes. 2000-03-25 01:00:04 +00:00
mscott%netscape.com 59ddfad16f Bug #28776,28569 --> add method for clearing out the parent doc loader
now that we don't leak the global doc loader, there are times when it gets destroyed b4 it's children during
the shutdown process.
r=sspitzer
2000-03-24 05:45:31 +00:00
tbogard%aol.net 00671fb6d3 Added a new method to nsIURIContentListener to allow the windowContext listener to get a crack at cancelling a new load that is about to occur. 2000-03-24 00:23:40 +00:00
ftang%netscape.com 979a0eb034 change the interface and pass nsISupport* for document instead of PRInt32 so we won't drop
data on 64-bits machine. r=harishd
2000-03-23 00:53:53 +00:00
danm%netscape.com 560a990b17 adding webProgress interfaces for Travis 2000-03-13 00:24:28 +00:00
tbogard%aol.net a340f07ca8 HandleUnknownContentType is no longer part of the nsIDocumentLoaderObserver interface. 2000-03-11 01:24:29 +00:00
mscott%netscape.com 1bb75e24b4 Bug #30553 --> new windows with window targets were getting the target associated with the
chrome window instead of with the content window. And the window sizes were coming from the
	       hidden window instead of the parent window the url originated from.
r=travis
a=jevering
2000-03-09 08:17:40 +00:00
warren%netscape.com 7e37f4f478 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
tbogard%aol.net 03a312018b Adding the new webProgress interfaces to the build. a=jevering. 2000-03-02 03:03:32 +00:00
tbogard%aol.net 726dfc094b First cut at new webProgress interfaces. Not yet connected to the build. 2000-03-02 02:24:57 +00:00
tbogard%aol.net 115cf8b371 URILoader now will invoke the unkown content handler when the DoContent call fails. This clears the way for the new docShell creation of the content viewer code to land. I'm actually checking this in for mcott. b=13374 r=me a=jevering 2000-02-29 21:33:23 +00:00
mscott%netscape.com 1eab9b52ea Bug #27419 --> if uri load had a window target name and a window
with that name didn't exist yet, we weren't creating a new window,
instead we were loading it in the current window. Now we properly
fall through to the create new content handler case.
r=travis
a=phil
2000-02-19 02:05:52 +00:00
mscott%netscape.com 0e2e8de464 Bug #17468 --> if you pass a window target of _new, we weren't creating a new window. We do now.
r=travis
2000-02-16 07:10:42 +00:00
mscott%netscape.com 12a6084748 Fixes Bug #27419 and various other uri re-targeting bugs. The uri loader now properly implements retargeting.
Allow the load cookie to support nsWeakReference.
r=travis,mscott (we co-authored it).
2000-02-15 04:04:34 +00:00
tbogard%aol.net 14821f13a1 Added a Stop method to allow stopping a load that has been requested. r=hyatt 2000-02-14 10:12:55 +00:00
scc%netscape.com 5e041e830f Pro5 update 2000-02-07 23:06:04 +00:00
mscott%netscape.com d468643d79 More prepation for docshell landing. Add a IsPreferred method to nsIURIContentListener and use the Ispreferred
method when the load type is user click to find the preferred registered window for handling the content

r=travis
2000-02-04 08:43:34 +00:00
neeti%netscape.com ca2851f847 Returning the correct error value instead of NS_OK, from OnStartRequest() and OnStopRequest().r=rpotts 2000-02-04 01:54:47 +00:00
brade%netscape.com b174bf571d fix access paths for move to CW5 (bug #25949) 2000-02-02 22:45:39 +00:00
mscott%netscape.com 372cc28a15 fix solaris breakage..include nsIChannel.h when using a nsCOMPtr. =) 2000-01-29 08:32:03 +00:00
mscott%netscape.com 88bacad00a export nsIDocumentLoader.idl nsIDocumentLoaderObserver.idl 2000-01-29 06:13:58 +00:00
mscott%netscape.com 63129f34e6 build nsDocLoader 2000-01-29 06:13:39 +00:00
mscott%netscape.com 29c6f0145d build nsdocLoader 2000-01-29 06:03:01 +00:00
mscott%netscape.com 6e7a275b77 Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
add get content listener parent and load cookie attributes to nsIURIContentListener
Bug #21173 --> set the redirected flag on the channel if we are going to redirect the url. Add load cookie
support.
build nsDocLoader in the uriloader.
r=travis
2000-01-29 06:02:36 +00:00
mscott%netscape.com 7dd9082279 (NOT Part of the build yet!!)
Refacting of doc loader into the uri loader
r=travis
2000-01-29 04:41:04 +00:00
mscott%netscape.com 289eba7e8b Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
These files aren't part of the build yet.
r=travis
2000-01-29 04:26:29 +00:00
valeski%netscape.com 1c585fb146 r=rhp. Further extension of the nsIMIMEService. 2000-01-25 02:40:16 +00:00
valeski%netscape.com 57c6e1294b r=rhp. nsIMIMEInfo and nsIMIMEService have been revamped (there's one more small iteration coming tomorrow). nsIMIMEInfo has been extended and the service has been multi indexed using file extensions *and* the MIME type as keys. 2000-01-24 15:41:03 +00:00
norris%netscape.com e753eaa792 Files:
caps/include/nsScriptSecurityManager.h
	caps/src/nsScriptSecurityManager.cpp
	modules/libpref/src/init/all.js
Fix
24565 nsScriptSecurityManager::GetSecurityLevel() is a performance
24567 re-write DOM glue security checks to avoid NS_WITH_SERVICE()
r=waterson

Files:
	dom/src/base/nsGlobalWindow.cpp
	layout/base/src/nsDocument.cpp
	layout/base/src/nsGenericElement.cpp
Fix assertion failure for 1-character property names.


Files:
	dom/src/jsurl/nsJSProtocolHandler.cpp
	webshell/src/nsDocLoader.cpp
Fix 18653 "javascript:" URLs cross windows problems (probably regressi
r=nisheeth

Files:
	layout/events/src/nsEventListenerManager.cpp
Fix
23834 document.onkeypress allows sniffing keystrokes
24152 document.onclick shows links from other window
r=joki
2000-01-23 04:23:14 +00:00
mscott%netscape.com 974bf03258 Bug #24174 --> when clicking on a mailto ur, we were bringing up the compose window and
the unknown content handler dialog. we should only be bringing up the compose window =)
r=sspitzer
2000-01-17 22:21:25 +00:00
mscott%netscape.com 466ba23665 loading a uri takes the channel instead of the uri. The caller
must create the channel before call openuri.
r=rpotts.
2000-01-17 19:56:31 +00:00
mscott%netscape.com 38a68c5995 loading a uri takes the channel instead of the uri. This allows us to remove
several fields from OpenURI interface and allows us to remove the private
post data interface. Now the nsIURILoader interface doesn't need to take
all of the arguments necessary to create a channel.
r=rpotts.
2000-01-17 19:55:27 +00:00
rpotts%netscape.com b410e59d5f bug #23055 (r=warren). Added LOAD_DOCUMENT_URI load attribute for the DocLoader to distinguish doc URIs 2000-01-15 06:12:54 +00:00
mscott%netscape.com 42b21237d8 Short term hack...allow the uri loading to proceed even if we don't have a load group. eventually we should try to
create a loadgroup for the caller.
2000-01-09 23:45:36 +00:00
rpotts%netscape.com da0b15064e Changed URI loader to properly handle stream decoders (ie. mixed-replace) 2000-01-05 04:44:27 +00:00
rpotts%netscape.com e4d36a4fca Removed obsolete arguments from nsIDocumentLoaderObserver OnEndDocumentLoad and OnStartURLLoad. 1999-12-29 07:32:59 +00:00
rpotts%netscape.com aac5b48a2f Removed obsolete method nsIDocumentLoader::LoadOpenedDocument. 1999-12-29 05:10:21 +00:00
rpotts%netscape.com e6395f9b31 DocLoader reorg...Removed the implementations of LoadDocument(...), LoadOpenedDocument(...) and the nsDocumentBindInfo. 1999-12-28 23:22:26 +00:00
rpotts%netscape.com c4324a3078 tweaked the way stream converters are applied to make multipart/x-mixed-replace work without the DocLoader... 1999-12-28 09:20:05 +00:00
rpotts%netscape.com 77c5b0f08c Starting to integrate the DocLoader and URI loader... Removed the Channel listener and the need for nsDocumentBindInfo objects. Now all URI loading is done by the URI loader. 1999-12-28 09:16:15 +00:00