42 Commits

Author SHA1 Message Date
timeless%mozdev.org
b53b26a75e Bug 378692 warning C4099: 'OnLinkClickEvent' : type name first seen using 'struct' now seen using 'class'
r=bz sr=bz


git-svn-id: svn://10.0.0.236/trunk@224986 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 03:13:57 +00:00
jwatt%jwatt.org
c08a026ac8 Fixing bug 334587. Unify event handling for links and fix various XLink bugs. r=olli.pettay@gmail.com, r=dbaron@mozilla.com, sr=bugmail@sicking.cc
git-svn-id: svn://10.0.0.236/trunk@217719 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 10:53:59 +00:00
darin%meer.net
42edf059cf landing patch for bug 326273 "Implement nsIThreadManager" (Mac portions by Mark Mentovai) with reviews from bienvenu, bsmedberg, bzbarsky, josh, roc, and ssieb
git-svn-id: svn://10.0.0.236/trunk@196254 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-10 17:30:15 +00:00
cbiesinger%web.de
25ded6512e Bug 321504 Remove unneeded uses of nsIDocumentLoader
r+sr=bz


git-svn-id: svn://10.0.0.236/trunk@186591 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-26 16:45:59 +00:00
bzbarsky%mit.edu
92886c33d1 Remove utterly unused member. No bug, r=biesi, sr=lxr search
git-svn-id: svn://10.0.0.236/trunk@169410 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-18 18:49:11 +00:00
bzbarsky%mit.edu
e272c87dda Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@167223 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-03 22:51:17 +00:00
bzbarsky%mit.edu
90a640bdff Make docshell inherit from docloader; clean up related code, move toward
eliminating the nsIWebShell, nsIWebShellContainer, nsIDocumentLoader
interfaces and clarifying the other docshell-related interfaces.
r=darin, biesi, sr=jst


git-svn-id: svn://10.0.0.236/trunk@166435 18797224-902f-48f8-a5cc-f745e15eee43
2004-12-08 17:32:06 +00:00
jst%mozilla.jstenback.com
809b317cb3 Fixing bug 252326. Fixing some popup blocker problems. Making sure only trusted events get mark trusted, and only allow popups while processing trusted (initiated by the user) events. Patch by trev@gtchat.de and jst@mozilla.org, r=bzbarsky@mit.edu, rs=brendan@mozilla.org, bryner@biranryner.com
git-svn-id: svn://10.0.0.236/trunk@161765 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-04 19:28:46 +00:00
jst%mozilla.jstenback.com
472233cafb Fixing regression bug 246923. Bring back to life the fix for bug 13871, and improve on the fix for bug 246448. r=dveditz@cruzio.com, sr=darin@meer.net
git-svn-id: svn://10.0.0.236/trunk@158368 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 17:42:31 +00:00
jst%mozilla.jstenback.com
1f25d963d2 Fixing bug 246448. Prevent loading of content into a frame from a origin different than the one owning the frame. r=dveditz@cruzio.com, sr=brendan@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@157903 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-15 08:28:52 +00:00
gerv%gerv.net
98831918fc Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155044 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-17 21:52:36 +00:00
bzbarsky%mit.edu
d05edb9f6b Change GetHrefUTF8 to GetHrefURI to make sure that we don't lose track of the
origin charset.  Bug 166996, r=dbaron,darin sr=jst


git-svn-id: svn://10.0.0.236/trunk@144331 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-01 02:59:54 +00:00
bzbarsky%mit.edu
f6b3b3afb9 Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst
git-svn-id: svn://10.0.0.236/trunk@134133 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-20 00:44:26 +00:00
dbaron%fas.harvard.edu
cc3fa44321 Prevent docloader leaks by making mDocLoader an nsCOMPtr. b=170024 r=peterv sr=jst
git-svn-id: svn://10.0.0.236/trunk@130310 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 00:35:51 +00:00
alecf%netscape.com
627a8e0aac ok, hopefully the last attempt to fix bug 12493, normalizing URLs for global history
this time cache the most common URI objects for links that appear on a webpage - http, https, ftp
r=radha, sr=darin


git-svn-id: svn://10.0.0.236/trunk@127407 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-15 22:21:40 +00:00
alecf%netscape.com
feeeaa6162 fix for bug 12493 - layout should canonicalize urls before asking global history for visited status
r=radha, sr=darin


git-svn-id: svn://10.0.0.236/trunk@126549 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 23:51:42 +00:00
mjudge%netscape.com
2210006d15 r=akkana sr=sfrasier 125146 a=asa This patch will make the embedding API's a better friend to all. It eliminates the use of multibyte strings in command names and also allows for simple command to not require the nsICommandParams interface to be filled.
git-svn-id: svn://10.0.0.236/trunk@125242 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 22:04:13 +00:00
dougt%netscape.com
d6cc711878 Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756
git-svn-id: svn://10.0.0.236/trunk@121534 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-15 18:55:21 +00:00
darin%netscape.com
4c9f13c694 cleaning up documentation, marking some interfaces frozen, and splitting
up some interfaces into separate IDL files (b=124465)
reviewed by dougt and bbaetz


git-svn-id: svn://10.0.0.236/trunk@120681 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-03 07:49:43 +00:00
dbaron%fas.harvard.edu
8a6d46ad56 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117341 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:42:00 +00:00
jkeiser%netscape.com
9ed7ccc48f Prevent double submission of forms (bug 72906). r=darin@netscape.com, r=alexsavulov@netscape.com, sr=alecf@netscape.com, a=asa
git-svn-id: svn://10.0.0.236/trunk@116468 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 06:08:56 +00:00
mjudge%netscape.com
40f7d1b02e 115922 embedding work. no changes should be observed in current product this will only affect the embedded effort. This moves the command handler stuff from content xul to embedding/components/commandhandler. a=judd r=saari built on mac/windows/gmake with this we will be able to finish removing editorshell from the app and have a true embedded editor.akkana will pick this up after me and finish the embedding work.
git-svn-id: svn://10.0.0.236/trunk@113507 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 05:13:56 +00:00
locka%iol.ie
dbfc30244c Removed huge chunks of dead webshell and cleaned up a few references to it elsewhere in the code. b=113970 r=valeski@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@111568 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 13:01:38 +00:00
locka%iol.ie
8693f97742 Fix removes const keyword from the out param of nsIWebShell::GetURL and fixes a memory leak in viewer when it calls this method. b=102413 r=jaggernaut@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@104815 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 20:08:30 +00:00
shanjian%netscape.com
468203fe10 #99666 page is displayed as blank in certain situation
r=harishd, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@103407 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-21 02:38:37 +00:00
rpotts%netscape.com
c308f45fce bug #84749. (r=nisheeth, sr=jst). Document unload() events fired *after* the current URI had been changed - this allowed JS to track where the user was going next...
git-svn-id: svn://10.0.0.236/trunk@99429 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 20:17:38 +00:00
danm%netscape.com
34c3029cab place clicked-link events on the current active queue, rather than the one that was active at the time of the webshell's creation. bug 71222 r=hyatt,rpotts a=asa
git-svn-id: svn://10.0.0.236/trunk@97382 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-19 00:28:10 +00:00
valeski%netscape.com
c93bb536ef sr=rpotts. cookie/wallet r=morse, xmlTerm r=saravn@mozdev.org, mailnews r=mscott, activeX r=adamlock, everything else covered by the sr from rpotts. 15345. These changes remove nsIDocumentLoaderObserver.idl from the build, and all of it's implementations and registrations have been moved over to nsIWebProgressListener.idl and nsIWebProgress.idl respectively. there are two (78762, 78760) mailnews printing bugs that I overturned *before* landing this. I've run this code through the mail-news and browser smoketests among other tests outlined in the patch description attatched to the bug.
git-svn-id: svn://10.0.0.236/trunk@93943 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-04 20:15:38 +00:00
locka%iol.ie
947a371485 NO CODE CHANGES. Corrected incorrect indentation. b=66434
git-svn-id: svn://10.0.0.236/trunk@93270 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 13:04:22 +00:00
locka%iol.ie
07b11f5afe NO CODE CHANGES. Headers reformatted to remove ugly 2/3/4 tab/space indentation mess. b=66434
git-svn-id: svn://10.0.0.236/trunk@93269 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-27 13:03:17 +00:00
sfraser%netscape.com
55a3a4f35d Fix for 74143, change nsIController to use DOMStrings. sr=hyatt, r=kin
git-svn-id: svn://10.0.0.236/trunk@91375 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 23:48:03 +00:00
dougt%netscape.com
175245e2de 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


git-svn-id: svn://10.0.0.236/trunk@87587 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-21 20:38:08 +00:00
disttsc%bart.nl
03f69c5003 Back out dougt's channel changes
git-svn-id: svn://10.0.0.236/trunk@86793 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 03:14:23 +00:00
dougt%netscape.com
7af79c83df 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


git-svn-id: svn://10.0.0.236/trunk@86717 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-10 00:16:26 +00:00
rpotts%netscape.com
227a3f4981 bug #15345 (sr=mscott). Replaced nsIDocumentLoaderObserver with nsIWebProgressListener... Also some whitespace cleanup :-)
git-svn-id: svn://10.0.0.236/trunk@83916 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-20 23:18:03 +00:00
pinkerton%netscape.com
c4efcd5971 fix bustage. nsAReadableString& needs to be const.
git-svn-id: svn://10.0.0.236/trunk@82693 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 21:29:13 +00:00
pinkerton%netscape.com
52af1d855a Implemented nsIClipboardCommands by calling through to the appropriate controller. r=sfraser,a=hyatt. bug#46867
git-svn-id: svn://10.0.0.236/trunk@82685 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-16 20:08:48 +00:00
valeski%netscape.com
d726ac51c3 50188. removing webshell leak detection special macros. now we'll spew data in debug builds only
git-svn-id: svn://10.0.0.236/trunk@78777 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:06:52 +00:00
edburns%acm.org
f4ed6ebe07 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.


git-svn-id: svn://10.0.0.236/trunk@78153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 19:03:56 +00:00
dbaron%fas.harvard.edu
38b11b0554 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
git-svn-id: svn://10.0.0.236/trunk@74961 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 23:17:53 +00:00
jdunn%netscape.com
ab359db843 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.


git-svn-id: svn://10.0.0.236/trunk@74459 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 13:36:35 +00:00
valeski%netscape.com
37012edc37 45723. r=rpotts. webshell-docshell consolodation changes.
git-svn-id: svn://10.0.0.236/trunk@74406 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:13:07 +00:00