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

691 Коммитов

Автор SHA1 Сообщение Дата
darin%netscape.com df61007f8a fixes bug 45421 "Offline: No feedback when browsing to an uncached URL in
offline mode" r=adamlock sr=rpotts
2002-09-15 23:40:43 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
alecf%netscape.com 31933d3221 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
2002-08-15 22:21:40 +00:00
alecf%netscape.com b562624cd3 back myself out to see if I caused the pageload times to go up
I'm sure its me :(
2002-08-15 01:44:51 +00:00
alecf%netscape.com edc333be15 really fix bug 12493 - sr=darin, r=radha
move the check for mIOService into its own check
2002-08-14 22:43:05 +00:00
alecf%netscape.com 1102b2ae34 fix for bug 12493 - layout should canonicalize urls before asking global history for visited status
r=radha, sr=darin
2002-08-06 23:51:42 +00:00
nhotta%netscape.com 64aeed153c Change nsJSProtocolHandler to listen to originCharset to apply conversion if necessary,
also changed the callers to set originCharset,
bug 137182, r=caillon, sr=jst, a=asa.
2002-07-23 23:28:28 +00:00
mjudge%netscape.com 543b9c1e7e 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. 2002-07-15 22:04:13 +00:00
locka%iol.ie 7f1d4a9b29 Support for error pages. b=28586 r=radha@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org 2002-07-11 20:59:03 +00:00
locka%iol.ie 9e12df7886 Use proper weak refs over raw pointers to hold parent URI listeners. b=144887 r=radha@netscape.com sr=alecf@netscape.com 2002-07-09 21:30:13 +00:00
locka%iol.ie d201147e5d Reinstate keyword fixup code to fix regression. b=143080 r=valeski@netscape.com sr=rpotts@netscape.com 2002-05-17 01:58:45 +00:00
jst%netscape.com 21ff37f2ef Checking in the fix for bug 52334 for the third time. This time it should stick! Making iframe's load their document even if they're not displayed. r=jkeiser@netscape.com, sr=rpotts@netscape.com. 2002-04-17 04:17:16 +00:00
timeless%mac.com 2f543f9a66 http://bonsai.mozilla.org/cvsquery.cgi?module=SeaMonkeyAll&branch=HEAD&cvsroot=/cvsroot&date=explicit&mindate=1017959940&maxdate=1017960540&who=jst%25netscape.com&generateBackoutCVSCommands=1
Backing out the fix for bug 52334

approved by sheriff (karnaze) and cathleen
2002-04-05 05:42:10 +00:00
jst%netscape.com 0a42ceaaf0 Checking in the fix for bug 52334 again now that the linux crash and the scrollwheel crash has been fixed. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 22:42:19 +00:00
jst%netscape.com 96d1e84dc6 Backing out latest checkins due to them not working on linux and other unix systems with broken compilers. 2002-04-04 07:31:16 +00:00
jst%netscape.com af0cf0c5e7 Fixing bug 52334. Making iframe's load their document even if they are not displayed. r=jkeiser@netscae.com, sr=rpotts@netscape.com, a=asa@mozilla.org 2002-04-04 02:09:19 +00:00
locka%iol.ie 577ef1fd66 Prevent www. & .com fixup for link clicks and in frames & iframes. b=34943 r=radha@netscape.com sr=rpotts@netscape.com a=asa@mozilla.org a=jaimejr@netscape.com (adt) 2002-04-03 11:04:30 +00:00
jkeiser%netscape.com 2a48aeccff Handle errors better from DocShell loading (fixes a crash) (bug 132023), r=sicking@bigfoot.com, sr=darin@netscape.com, a=asa 2002-03-27 05:45:17 +00:00
dbaron%fas.harvard.edu ecaca063e4 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 21:42:00 +00:00
darin%netscape.com fe7a202461 remove annoying "unknown error" dialog. b=131399, r=dougt, sr=bienvenu, a=asa 2002-03-19 00:06:31 +00:00
darin%netscape.com 2f57636c54 fixes orangeness on tinderboxen, b=63878. 2002-03-15 02:27:02 +00:00
darin%netscape.com ef78e3e841 fixes bug 63878 "Implement alert for 'document contains no data' (was Going
to lexmark.com does nothing, but www.lexmark works [Connection reset by peer]"
r=adamlock, sr=rpotts, a=asa
2002-03-14 20:24:15 +00:00
jkeiser%netscape.com 5ae5965757 Prevent double submission of forms (bug 72906). r=darin@netscape.com, r=alexsavulov@netscape.com, sr=alecf@netscape.com, a=asa 2002-03-13 06:08:56 +00:00
darin%netscape.com 026dda9f95 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa 2002-03-06 07:48:55 +00:00
morse%netscape.com b26cb82e9b bug 107579, infrastructure for detecting 3rd-party cookies, r=darin,rpotts, sr=devitz 2002-03-02 01:26:49 +00:00
mjudge%netscape.com 0444ffda5b 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. 2002-02-02 05:13:56 +00:00
darin%netscape.com bc15fb1904 fixes bug 42898 "iDNS support"
r=nhotta, sr=brendan
2002-01-16 03:23:23 +00:00
locka%iol.ie d7a72cd6c8 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 2002-01-08 13:01:38 +00:00
shanjian%netscape.com f76c0c6f15 #112793 fine tune frame charset mechanism
Besides charset, document now records charset source as well.
nsCharsetSource was replaced by PRInt32.
Some code relocation in nsHTMLDocument.cpp
r=yokoyama sr=waterson
2001-12-26 03:17:59 +00:00
locka%iol.ie 81da213c69 Moved fixup out of nsWebShell and into nsDefaultURIFixup. b=109309 r=ccarlen@netscape.com sr=rpotts@netscape.com 2001-12-19 15:58:58 +00:00
jaggernaut%netscape.com 6ab111155d Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
darin%netscape.com 9ce3ac583e fixes bug 47617 "Connection to https needs to tell user to install PSM if w/o"
r=gagan, sr=mscott
2001-12-11 23:01:08 +00:00
darin%netscape.com 45989119b4 fixes bug 83471 "Redirection loops"
r=bbaetz@cs.mcgill.ca
sr=rpotts@netscape.com
2001-12-08 00:23:04 +00:00
rpotts%netscape.com a33a19e3d1 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes... 2001-11-30 22:35:33 +00:00
darin%netscape.com 98a39fa92e patch for bug 107789 "deprecate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts
2001-11-14 06:45:27 +00:00
bzbarsky%mit.edu 0dce65ed23 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
blizzard%redhat.com 798f3859c5 back out darin's fix for bug #107789 since it caused blocker #108637. 2001-11-06 16:32:52 +00:00
darin%netscape.com 803d882528 fixes bug 107789 "depracate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts
2001-11-06 02:50:42 +00:00
jaggernaut%netscape.com 5a37c44786 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 07:43:56 +00:00
locka%iol.ie 6acb83c43b 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 2001-10-08 20:08:30 +00:00
radha%netscape.com 1dfc88f486 Fix for bug # 100993. Freeze nsIHistoryEntry.idl and nsISHistory.idl according to the
embedding freezing guidelines. r=chak sr=alec
2001-10-01 20:15:06 +00:00
jaggernaut%netscape.com fdc4078bc4 Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc 2001-09-29 08:28:41 +00:00
gerv%gerv.net f385eb981a Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089. 2001-09-28 20:14:13 +00:00
radha%netscape.com 5e77a7b9d3 Fix for bug 92824. Update index in SH after onStartLoad() gets called for the page 2001-09-22 00:10:58 +00:00
shanjian%netscape.com a62e4f129a #99666 page is displayed as blank in certain situation
r=harishd, sr=rpotts
2001-09-21 02:38:37 +00:00
gerv%gerv.net 2a80f3fea9 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org da68f3ed78 bug #98089: ripped new license 2001-09-19 22:39:41 +00:00
valeski%netscape.com ac33036169 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway. 2001-09-05 21:28:38 +00:00
dougt%netscape.com f78284509b Upload Channel API changes. Bug 29839. r=darin@Netscape.com, sr=rpotts@netscape.com.
Also fixes bug 63408, not alerting when file-not-found. r/sr same as above
2001-09-05 03:52:26 +00:00
rpotts%netscape.com da2959ee05 bug #94205. Adding flags to nsIWebNavigation::Stop(). 2001-08-14 04:46:20 +00:00
rpotts%netscape.com 2dd72db7a8 bug #91165. Better patch (trunk only) for fixing selectAll within framesets for embedding 2001-08-09 09:24:26 +00:00
rpotts%netscape.com bef12d04e9 bug #91165 - selectAll does not work for frames (embedding only). (r=nisheeth, r=valeski). 2001-08-08 04:28:11 +00:00
yokoyama%netscape.com 312cf66461 Bug 60178
Before calling browserChrome->SetStatus()
if mailtourl then UnEscape from utf-8.
if not,then UnEscape from doc charset
/r=ftang, /sr=blizzard
2001-07-24 22:37:40 +00:00
rpotts%netscape.com 914543da03 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... 2001-07-17 20:17:38 +00:00
dbaron%fas.harvard.edu bf82abfd11 Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
ftang%netscape.com 75c2a9ddb9 fix bug 87413. r=shanjian sr=sfraser
backout shanjian's check in which cuase infinite loop while
auto detect is turn on and got different result from meta tag
2001-07-02 22:36:08 +00:00
jaggernaut%netscape.com 03ab87e4a1 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)
2001-06-30 11:02:25 +00:00
yokoyama%netscape.com 0a7fde6bc3 Bug 82244
backout old patch
r= radha sr=rpotts
2001-06-29 22:12:14 +00:00
ftang%netscape.com 177850761e check in for rpotts bug#82244
when we do meta charset reload, load it from cache by using the same load flag history using.
author=rpotts r=radha/adamlock sr=vidur a=chofmann
2001-06-22 00:54:27 +00:00
danm%netscape.com 3b1e815f2a 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 2001-06-19 00:28:10 +00:00
jst%netscape.com f72e19a2c3 scc checking in from jst's account. bug #75220: sr=jst, rs=brendan. renaming |nsPromiseC?Concatenation| to |nsDependentC?Concatenation|; |nsPromiseC?Substring| to |nsDependentC?Substring|; |nsLiteralC?String| and |nsLocalC?String| to |nsDependentC?String|, as these new names better reflect clients obligations to instances. 2001-05-19 11:27:30 +00:00
shanjian%netscape.com 78ee251eed #78229 meta charset does not work when autodection find first
r=ftang, sr=attinasi
2001-05-17 18:28:53 +00:00
chak%netscape.com d7144f007d Fix for 64270 - crash on window.close when another window is referenced
r=jst,rpotts, sr=rpotts
2001-05-14 14:53:03 +00:00
rpotts%netscape.com f3e719c2c1 bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 02:16:27 +00:00
darin%netscape.com c18fe7ef56 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:05:08 +00:00
dr%netscape.com 0b8398d67b fix for 78010 (implement nsIClipboardHelper). r=pavlov, pinkerton, hewitt, sr=hyatt 2001-05-10 02:35:00 +00:00
jst%netscape.com adf1d8320a Landing the XPCDOM_20010329_BRANCH branch, changes mostly done by jband@netscape.com and jst@netscape.com, also some changes done by shaver@mozilla.org, peterv@netscape.com and markh@activestate.com. r= and sr= by vidur@netscape.com, jband@netscape.com, jst@netscpae.com, danm@netscape.com, hyatt@netscape.com, shaver@mozilla.org, dbradley@netscape.com, rpotts@netscape.com. 2001-05-08 16:46:42 +00:00
valeski%netscape.com 58072871cc 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. 2001-05-04 20:15:38 +00:00
scc%mozilla.org e40df0d961 bug #75504; sr=jband. simple fixes correcting where people inappropriately applied |getter_AddRefs| 2001-05-03 10:09:59 +00:00
radha%netscape.com dc7aa1527e Fix for bug # 55055 r=adamlock sr=rpotts Save CacheKey in SH 2001-04-13 22:20:33 +00:00
blakeross%telocity.com 6573419a09 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt 2001-04-05 19:53:13 +00:00
sfraser%netscape.com 687359c2ed Fix for 74143, change nsIController to use DOMStrings. sr=hyatt, r=kin 2001-04-04 23:48:03 +00:00
scc%mozilla.org c355507eda landing string branch; see bug #73786 2001-04-02 19:40:52 +00:00
radha%netscape.com e478b779f3 Fixes related to bug # 71756 r=rpotts, valeski 2001-03-28 03:35:38 +00:00
alecf%netscape.com b19d9da9b5 fix for 71511 - clean up nsIGlobalHistory even further by refactoring setTitle i
nto nsIBrowserHistory, cleaning up extra addPage() parameters, and fixing all co
nsumers
r=valeski, sr=shaver
2001-03-13 06:19:40 +00:00
disttsc%bart.nl aebc676048 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
dbaron%fas.harvard.edu d5d3c5f67d Fix bad vi modeline that caused text to wrap at 2 characters. r=gagan (Comment changes only.) 2001-03-04 19:43:55 +00:00
disttsc%bart.nl 043186b34e 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
radha%netscape.com a1571db287 Fix for bug # 69713. Get rid of unused SH_IN_FRAMES #defines. r=timeless, adamlock 2001-02-23 00:05:54 +00:00
dougt%netscape.com eab041f43f 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
disttsc%bart.nl 76fbedadc5 Back out dougt's channel changes 2001-02-12 03:14:23 +00:00
dougt%netscape.com 69415757ab 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
dbaron%fas.harvard.edu 9430a92e06 Clean up easily fixed unnecessary includes and exports of implementation header files in layout. b=63766 r=jst@netscape.com sr=buster@netscape.com 2000-12-30 19:22:22 +00:00
rpotts%netscape.com 0aea5c0955 bug #63529. Added a null-pointer check in nsWebShell::OnStateChange(...) 2000-12-22 21:47:26 +00:00
pinkerton%netscape.com 2ba8f7d189 clean up interface, per directions. adding copyLinkLocation(), and specifying semantics of selectNone() wrt insertion point location. Implemented selectNone(). r=saari/a=hyatt. bug#s 46867, 63001 2000-12-22 01:13:46 +00:00
rpotts%netscape.com d4fb846074 bug #15345 (sr=mscott). Replaced nsIDocumentLoaderObserver with nsIWebProgressListener... Also some whitespace cleanup :-) 2000-12-20 23:18:03 +00:00
dbaron%fas.harvard.edu 2eea32ae2b Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:21:51 +00:00
pinkerton%netscape.com 53c89d5ecc fix bustage. nsAReadableString& needs to be const. 2000-11-16 21:29:13 +00:00
pinkerton%netscape.com 2b2922bf95 Implemented nsIClipboardCommands by calling through to the appropriate controller. r=sfraser,a=hyatt. bug#46867 2000-11-16 20:08:48 +00:00
warren%netscape.com 4189314fdb 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 d1d8e969d3 problem with gNumberOfWebShells -- moved into DEBUG 2000-10-28 04:09:10 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
anthonyd%netscape.com 308190d048 fix for bug # 55750
Crash opening "new composer window" to bogus location, after "this type of page can't be edited" dialog
r=sfraser
sr=kin
sr=rpotts
2000-10-13 05:06:02 +00:00
radha%netscape.com 7c5fabdb0b Fix for bugscape bug # 1644. keywords work eventhough the pref for it is turned off.
r=valeski a=mscott
2000-09-27 21:27:35 +00:00
locka%iol.ie 69fd02310b Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
sspitzer%netscape.com b58f45fa3c part of the fix for #46888. after cancelling a news message, you can't
select another message.  fix by naving@netscape.com.  r=sspitzer,a=mscott
also a couple bullet proofing fixes to prevent crashes.
2000-09-19 22:40:52 +00:00
mjudge%netscape.com a2fa9edcb5 small but pervasive change to make nsIDOMSelection an xpidl interface. also broke it into 2 interfaces, nsISelection and nsISelectionPrivate. moved nsIDOMSelectionListener also to xpidl. these new idl files live in layout/base/public. r=sfraser, r=anthonyd bug 48575 2000-09-14 11:45:01 +00:00
rayw%netscape.com 6cc70ebd6c Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
valeski%netscape.com 5158f9f336 50188. removing webshell leak detection special macros. now we'll spew data in debug builds only 2000-09-11 22:06:52 +00:00
bryner%uiuc.edu 61a91792ea Removing extraneous text before comment. r=blizzard. 2000-09-11 14:33:45 +00:00
locka%iol.ie 61057373cc Added decl of kSimplURICID. b=37416, r=valeski 2000-09-11 14:09:54 +00:00
locka%iol.ie 571e9acb02 Added decl of kSimplURICID. b=37416, r=valeski 2000-09-11 13:29:22 +00:00
locka%iol.ie e8bf6587e7 Add notification to embedders when an unrecognized URI is clicked on before discarding it. b=37416, r=valeski 2000-09-11 12:38:54 +00:00
rpotts%netscape.com 17ea903430 bug #37434. Added an attribute to nsIDocShellLoadInfo to indicate whether the active document should be stopped immediately... 2000-09-10 06:00:46 +00:00
rpotts%netscape.com 5f344b74c7 bug #37434. Stop() is now called on the content viewer, before the old document is destroyed. This allows the old document to release some stuff :-) 2000-09-08 00:29:13 +00:00
rpotts%netscape.com 49552edbbe Moved the firing of the OnLoad event from WebShell into DocumentViewer... 2000-09-06 09:11:38 +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
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 c52f68cce4 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +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
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
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
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 3f6c274d00 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:13:07 +00:00
ruslan%netscape.com 84dfd2d63a WIP on 40449, a/r=gagan 2000-07-07 22:02:47 +00:00
radha%netscape.com 072cf93bb0 Enabling feature "Session History in frameset pages". bug # 36547. Reviewer for this checkin
as well as several previous checkins related to this bug is rpotts.
2000-07-04 18:51:14 +00:00
radha%netscape.com 5b8603911e More code for feature 36547. CODE NOT PART OF THE BUILD. Will provide reviewer when
feature is enabled.
2000-06-29 21:48:18 +00:00
radha%netscape.com e1fc2c5789 More checkins for feature bug 36547. CODE NOT PART OF THE BUILD. reviewer will be provided
when feature is enabled.
2000-06-23 23:54:30 +00:00
mscott%netscape.com 0098abd512 Bug #10802 --> expose load types to load info class so callers can set the load type
this is needed to implement things like open attachment so we can make the doc shell
think a user click happened when it talks to the uriloader.

I removed two boolean fields which were representing two load types. Simplified the api by allowing you
to pass in any of our load types.
r=valeski
2000-06-22 07:22:23 +00:00
rpotts%netscape.com 6371dad16a DocShell cleanup. Removed the implementation of the unused nsIDocSHell::SetDocument() method and moved the implementation responsibility to the nsIContentViewer 2000-06-22 05:38:07 +00:00
nhotta%netscape.com 50952a7582 Changed to apply UTF-8 to UCS2 conversion before assigning the string to nsString, bug 42873, r=cata. 2000-06-21 23:26:36 +00:00
rpotts%netscape.com 49c54755fc Reworked the nsIWebProgress interfaces and implementation... 2000-06-19 05:54:37 +00:00
mstoltz%netscape.com a62193e278 Fix for bug 31818. Dogfood. r=brendan 2000-06-13 23:56:30 +00:00
mscott%netscape.com 9f23d7b393 Bug #40160 --> fix annoying assertion in on end document load for cases where the url doesn't have a host
r=rpotts
2000-06-07 23:13:12 +00:00
locka%iol.ie daa15f8e9e Put pointer test around smprintf to prevent crash for invalid IMG links.
b=40094,r=adamlock,approved valeski
2000-06-05 22:21:37 +00:00
joki%netscape.com 7389ef527f Fixes for bug 38269. Fixes crash during page rewrite in focus, reset, submit and location change in onunload. r:mjudge 2000-05-26 00:26:54 +00:00
hyatt%netscape.com 5bed7dc4bd fix for making skins script-safe. r=scc 2000-05-19 04:48:43 +00:00
valeski%netscape.com 9f17bf7994 38695. r=alecf. i18n network error strings 2000-05-18 21:52:23 +00:00
heikki%citec.fi f6b99f8941 Enable show=new for simple XLink. Works at least when the link is clicked, does not seem to work with actuate=onLoad. Bug 15086. 2000-05-17 05:43:14 +00:00
warren%netscape.com 4d1711e5f8 Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse 2000-05-16 05:35:23 +00:00
nisheeth%netscape.com fa1d77063b 1) Added support for loading an XML document "out of band" from script and manipulating it via dom interfaces.
2) Fixed compile errors in XSL glue code that happened after the recent nsString landing by scc.
3) Added a check for a null URI before de-referencing it in nsCodeBasePrincipal.cpp.
2000-05-01 06:58:53 +00:00
attinasi%netscape.com d3f0962648 Removed the rest of the PERF_METRICS stuff that was removed when the WebShell changes were landed (the code is now in the Viewer itself). 2000-04-29 00:07:40 +00:00
mjudge%netscape.com 48f046e6b3 ender lite checkin. 2000-04-27 07:37:12 +00:00
mscott%netscape.com 25c459a125 Bug #33156 --> webshell no longer implements nsIProgressEventSink, the doc loader does.
it's getting smaller! *yeah*
2000-04-22 23:19:40 +00:00
tbogard%aol.net 854058cbf9 Removed some old ifdef 0 code. Removed some unused variables. Some cleanup to OnStart and OnEndDocumentLoad to get ready to move them over to the progress interface code. 2000-04-21 23:31:41 +00:00
waterson%netscape.com d04c3f01e5 Back out changes my changes to nsILinkHandler because of performance problems. 2000-04-18 04:34:20 +00:00
scc%netscape.com ac217fbced making string conversions explicit 2000-04-17 11:24:01 +00:00
tbogard%aol.net 2063c94ae0 DocShell is now handling all the loading and navigation. The new session history is now being used in place of the old. 2000-04-16 11:18:41 +00:00
waterson%netscape.com 93951f3bd4 Bug 12493. Change nsILinkHandler interface to take an nsIURI object instead of a string. This allows necko to canonify URIs before passing them back to global history. r=travis,pierre 2000-04-13 19:55:47 +00:00
tbogard%aol.net 18b2ff8d87 Moved the implementation of nsIRefreshURI into the docShell. When the webShell is getting destructed make sure we call Destroy. 2000-04-13 03:11:25 +00:00
tbogard%aol.net a2006c7257 WebShell no longer creates the plugin host. nsObjectFrame now gets it from the service manager instead of trying to get it from the webshell. 2000-04-13 02:56:05 +00:00
tbogard%aol.net 5906ab7f7b Put the GetInterface for the uriContentListener into an ifndef for DOCSHELL_LOAD so when DOCSHELL_LOADING is turned on, we get the right handler. 2000-04-12 10:00:04 +00:00
tbogard%aol.net bc35af6d14 Removed the file fixup and completely rely on docShell fro Creating the uri. 2000-04-12 09:46:40 +00:00
tbogard%aol.net 26ccc8a82f Removed nsIWebShellContainer methods that are no longer part of the interface. Removed convertFileToURL and convertURLToFileCharset as the implementation in docShell is now relied upon. LoadURL now largely relies on docShell's CreateFixupURI to get a uri. No longer call nsIWebShellContainer::BeginLoadURL or EndLoadURL as the nsIWebProgressListener interface provides all these needed listeners. No longer call nsIWebShellContainer::WillLoadURL as the uriLoader code provides the ability to cancel or stop a load from happening. DoLoadURL now relies on the implementation in docShell for talking to the uriloader. Fixed a bug with nsWebShell::GoTo pointed out by Conrad. 2000-04-11 23:52:28 +00:00
mscott%netscape.com 8777c84eb5 backing out my bug fix because it appears to have broken the page cycler.
thanks to sspitzer for helping me figure this out.
2000-04-07 21:36:09 +00:00
mscott%netscape.com b171246cb6 Bug #34769 --> don't set the refferer as the original url on the channel in the webshell.
r=warren
a=leaf
2000-04-07 19:25:42 +00:00
tbogard%aol.net b3add04b33 Removed some old code that was ifdefed out. Removed the isMail test in webshell as that path is no longer being hit due to the fact that "mailto" does succeed in creating a nsIURI. Changed InternalLoadURI due to changes in the docshell parameter list. 2000-04-04 00:03:11 +00:00