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

826 Коммитов

Автор SHA1 Сообщение Дата
edburns%acm.org 2e20bb7f8b r=dbaron
Fix bustage on AIX s/true/PR_TRUE

bug 49522.
2000-09-05 21:35:59 +00:00
edburns%acm.org 7b7a548b33 This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.
2000-09-05 19:03:56 +00:00
mscott%netscape.com 33920f5701 Bug #32387,47365--> reset the load type when we get a redirected url so it gets added to
session history properly.
Only call OnLoadingSite if we actually create a content viewer for this page...
r=radha
2000-09-01 22:35:05 +00:00
mscott%netscape.com d08376e7af Bug #32387,47365, 46331, 46338, 23734 --> reset the load type when we get a redirected url so it gets added to
session history properly. Only add to session history if the url resulted in document being
loaded.
r=radha
2000-09-01 22:34:19 +00:00
radha%netscape.com d74ced9377 partial fix for 49498. r=nisheeth. 2000-09-01 21:29:48 +00:00
vidur%netscape.com 4a41eee18d Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
mstoltz%netscape.com 584d022386 Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur 2000-08-31 05:53:32 +00:00
locka%iol.ie 096eab673c currentURI property removed from nsIDocShell. currentURI property changed to return nsIURI on nsIWebNavigation. b=46847, r=valeski, a=valeski 2000-08-30 11:32:30 +00:00
dp%netscape.com bd4a085e67 bug 41950 Getting correct url to get updated on redirect r=mscott 2000-08-29 03:28:30 +00:00
akkana%netscape.com 9f7d296467 23485: make it possible for urlbar to go to urls spanning multiple lines. r=jfrancis 2000-08-28 22:15:03 +00:00
mscott%netscape.com abe52a17bf Bug #44253 --> if a docshell doesn't have a parent content listener then change
the default for IsPreferred to return the value of CanHandle. This makes it
easier for content developers to use browser and iframe tags since they don't
have to implement nsIURIContentListener explicilty to get correct
loading behavior.
r=valeski
2000-08-26 02:52:09 +00:00
locka%iol.ie c52f68cce4 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
mscott%netscape.com 056b55e497 Bug #27048 --> implement nsIHTTPEventSink
r=valeski
2000-08-25 01:46:00 +00:00
ruslan%netscape.com b0cd0ad40f Fix string buffer overrun - 50148 2000-08-24 22:15:32 +00:00
jst%netscape.com b3a4ade60d DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
scc%mozilla.org 4f2c82d5e5 fixing code that relied on implicit string construction 2000-08-19 22:35:49 +00:00
radha%netscape.com 40bb85612b Fix for bug # 47148. r=rpotts 2000-08-18 18:33:12 +00:00
jst%netscape.com 784188db21 Fixing nsbeta3+ bug 46190. Clicking on links that point to anchors with whitespace in them wasn't working... r=pollmann@netscape.com 2000-08-18 07:31:40 +00:00
av%netscape.com 4cf6d6eb7a Fixing 46490, r=sean, r=waterson, r=valeski, a=adamlock 2000-08-17 19:16:39 +00:00
hyatt%netscape.com 12eec21109 Fix for 32661, r=brendan 2000-08-16 23:57:03 +00:00
mstoltz%netscape.com 23306a4e04 Fixed 37702 and 47670. r=vidur 2000-08-09 20:08:54 +00:00
mscott%netscape.com 4964e2508e Bug #1642 --> don't run JS urls with the default browser (effects shrimp only)
r=prass
2000-08-09 02:30:58 +00:00
saari%netscape.com 00ad136b80 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
cata%netscape.com e6fcb678dd Fix for bug #37543, a=ftang, r=nhotta. 2000-08-05 00:07:03 +00:00
blizzard%redhat.com 3b792891c5 documentation change only 2000-08-03 15:02:42 +00:00
radha%netscape.com 8f507a0d3a fixes related to bug # 18321. Checking in branch fixes to the trunk. r=nisheeth 2000-08-02 21:49:26 +00:00
warren%netscape.com 4967b0a7cc Getting jar files in shape. Mostly works on unix, status bar missing (not in build yet). 2000-08-02 06:48:45 +00:00
jst%netscape.com 8432933db3 (Merging nsbeta2 checkin to the tip) Fixing nsbeta2+ bug 28572, the docshell was fireing the script unload handler too early in some cases and in some other cases the unload handler was fired even if the document wasn't unloaded. r=nisheeth, a=nisheeth. 2000-07-28 05:55:54 +00:00
dbaron%fas.harvard.edu a394eeee27 Improve performance of testing for visited links CSS selector matching by reducing string conversion and by caching the state of the link on the link element. r=waterson b=25963 2000-07-27 23:17:53 +00:00
warren%netscape.com 7ac7233df8 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
mscott%netscape.com 859bcd8cc5 Bug #45226 --> fix security hole in keywords by only allowing keyword searches if the url was an http (or https) url.
Currently other urls (like imap, news, ftp, etc) would end up getting sent to the keyword server if we weren't able to
connect to the host specified in the url.
r=valeski
2000-07-24 20:14:53 +00:00
jst%netscape.com 4801b5ce24 Fixing nsbeta2+ bug 45019, images didn't show up on document that were fully created with document.open(): document.write();... r=nisheet&rpotts 2000-07-21 23:44:38 +00:00
pinkerton%netscape.com 332c5f46df First Checked In. 2000-07-20 07:17:32 +00:00
jdunn%netscape.com 9ca8ea98cc Fixing hpux bustage.
The define needed in the header file, doesn't get set till after the
header file is included.
Also added newline to headerfile at the end for hpux.
2000-07-19 13:36:35 +00:00
valeski%netscape.com 55f8928669 moving the docshell lib to the components dir and macro'izing some decls. 45723 2000-07-19 02:57:05 +00:00
valeski%netscape.com 3f6c274d00 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:13:07 +00:00
radha%netscape.com 04359c52e2 Possible fix for 45297. r=pollmann 2000-07-18 22:24:27 +00:00
radha%netscape.com 5d23e24e89 Fix for bug # 37324 r=rpotts 2000-07-18 21:55:37 +00:00
radha%netscape.com 02abccd564 Fallout from previous checkin for bug # 45520. r=pollmann 2000-07-17 20:12:27 +00:00
radha%netscape.com ed5566df5c Fix for 45297 r=pollmann 2000-07-14 22:42:33 +00:00
andreas.otte%primus-online.de 0ffa52a5a4 fix for bug 42342 [[regression] Text before ':' in URL is interpreted as protocol], we now try the www...com trick instead, not much better, but in alignment with our current fixup strategy, r=valeski@netscape.com, a=waterson@mozilla.org 2000-07-14 22:21:52 +00:00
radha%netscape.com 61b8519570 fix for 44963.crash in SH while clicking in the throbber. r=rpotts@netscape.com 2000-07-14 21:06:20 +00:00
vidur%netscape.com 924aceef9e Fix for bug 44608. Added nsIDocShellTreeOwner::ExitModalLoop() and nsIWebBrowserChrome::ExitModalEventLoop(). r=rpotts,a=valeski 2000-07-12 23:56:14 +00:00
dougt%netscape.com c422448137 bug 40750.
Adding followSymlink flag to nsILocalFile.
Adjusting callers.
windows shortcut optimizations.
r=blizzard@mozilla.org.
a=brendan@mozilla.org
2000-07-12 23:31:31 +00:00
mscott%netscape.com e571227d06 Fix for Bug #41707 --> JS and data urls were not getting an owner set on them when they were entered from the urlbar. this
prevented them from getting executed properly. For now, we'll inherit the owner of the current document in these
two cases.
r=mstoltz
2000-07-12 05:06:28 +00:00
valeski%netscape.com bb06f79747 r=mscott, 42505. somehow a switch enum was dropped from a previous checkin. 2000-07-11 15:00:59 +00:00
mscott%netscape.com be66c761b2 Bug #45047 --> accept plain/text content type by default.
r=alecf
2000-07-11 05:09:42 +00:00
rpotts%netscape.com 9eca8cab59 More session history cleanup... Reorganizing the code and removing SH_IN_FRAMES ifdefs... (r=radha) 2000-07-08 05:17:49 +00:00
ruslan%netscape.com 84dfd2d63a WIP on 40449, a/r=gagan 2000-07-07 22:02:47 +00:00
mscott%netscape.com b5e1a4e647 Bug #44568 -> don't fall out and not open the url if we failed to set the load
attributes on a channel. This broke mailto urls because the mailto channel
is just a stub and doesn't implement this method.
r=valeski
2000-07-07 21:43:16 +00:00