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

458 Коммитов

Автор SHA1 Сообщение Дата
jst%netscape.com 48f217780d Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org 2002-01-24 09:20:51 +00:00
danm%netscape.com 422edc1a46 set docshell current URI after creating a synchronous about:blank Frankendocument. bug 104361 r=brendan,jst 2002-01-24 03:38:53 +00:00
bzbarsky%mit.edu 224730fe27 Make "Open in new Window" and "Open in new Tab" set referrer correctly.
Bug 48902, r=doron, sr=hyatt
2002-01-24 02:35:16 +00:00
bryner%netscape.com 57781b3e9a Part of fix for bug 91184, checked in on the 0.9.4 branch but forgot to check it in on the trunk. r=saari, sr=hyatt. 2002-01-24 01:17:04 +00:00
cathleen%netscape.com c2d19ad82a converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp 2002-01-12 03:18:55 +00:00
darin%netscape.com 4f7b1f6db4 fixes bug 112564 "Cache-Control: no-cache should not affect back/forward
buttons" r=dougt, sr=brendan
2002-01-09 04:18:48 +00:00
darin%netscape.com 4d9b5b9033 backing out the part of the patch for bug 54349 that caused the leak
regression bug 118726.
2002-01-08 20:52:30 +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
darin%netscape.com 4b227494a5 fixes bug 54349 "stylesheet do not load when in another HTTP auth realm (sometimes)"
patch=badami@netscape.com
r/sr=darin,rpotts
2002-01-08 05:18:08 +00:00
danm%netscape.com 0ff779267a implement/support nsIEmbeddingSiteWindow2 (and its blur method). bug 57841 r=bryner,rpotts 2002-01-05 02:22:45 +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
rjesup%wgate.com 2212861db9 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +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
danm%netscape.com 0a51b6b067 move focus unsuppression in SetupNewViewer until after the viewer has been initialized. also add an assertion should we ever again get into a lazy document creation infinite loop. bugs 106820, 110856. r=bryner,hyatt 2001-12-11 02:41:22 +00:00
attinasi%netscape.com 1b529bd913 Prevent crash when IFRAME is reframed during layout. bug=108105 r=dbaron sr=jst 2001-12-07 00:02:03 +00:00
alecf%netscape.com c75ffc4505 fix for bug 79707
code by ccarlen, sr=alecf, r=valeski
simple null-check so that embeddors don't have to implement nsIBrowserHistory
2001-12-04 01:42:01 +00:00
locka%iol.ie 1a872d5c16 Add code to nullify pointers and do extra checks to catch docshell crashes most likely caused by bad weak references. b=67721 r=rpotts@netscape.com sr=mscott@netscape.com 2001-12-03 12:42:49 +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
jst%netscape.com fa7a08b777 nsDependentString(nsnull) is illegal and asserts. sr=rpotts@netscape.com 2001-11-28 06:09:40 +00:00
radha%netscape.com 89c2d43cf6 Fix for bug # 99638. r=darin sr=rpotts. Use nsIMultiPartChannel to access
htttpChannel that is part of a multipartChannel.
2001-11-27 23:14:15 +00:00
radha%netscape.com 389ca5a708 Fix for bug # 106994. - Remove redundant code in nsDocShell to acquire handle to SH in the root docshell r=adamlock sr=rpotts 2001-11-20 20:14:02 +00:00
locka%iol.ie 5561da19ee Restore old URI space trimming code to avoid potential regression. bug 110081 r=pchen@netscape.com sr=ben@netscape.com 2001-11-19 21:48:31 +00:00
locka%iol.ie ffa500ddc4 Fix for assertions happening on every new docshell. b=110685 r=brade@netscape.com sr=darin@netscape.com 2001-11-19 21:39:40 +00:00
alecf%netscape.com 12bb7e7da4 fix for bug 102043 - hide redirected URLs after adding them to global history
r=radha, sr=rpotts
2001-11-19 20:22:14 +00:00
timeless%mac.com dfa8594725 Bugzilla Bug 110080 change !NS_SUCCEEDED(status) to NS_FAILED(status)
s/!NS_SUCCEEDED/NS_FAILED/g;s/!NS_FAILED/NS_SUCCEEDED/g;
r=dougt sr=hewitt
2001-11-19 06:45:00 +00:00
pchen%netscape.com 64f77eda85 bug 110081, patch=adamlock, r=pchen, sr=ben, harden docshell against empty URLs 2001-11-18 07:45:14 +00:00
danm%netscape.com 873663c564 plug leak of docshell. bug 110410 code=dbaron r=jst,me 2001-11-17 05:19:10 +00:00
danm%netscape.com 1ccff90432 hook up CreateAboutBlankContentViewer. bug 88229 r=jst,rpotts 2001-11-16 02:15:31 +00:00
locka%iol.ie 59293134d1 Add error message when user tries to load a malformed url instead of silently ignoring it. b=89118 r=ccarlen@netscape.com sr=rpotts@netscape.com 2001-11-14 13:26:43 +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
radha%netscape.com 4121680bfe Fix for bug # 108041. Session history misbehaves when _top is replaced after a series of subframe navigations. r=adamlock sr=rpotts. 2001-11-06 23:56:45 +00:00
locka%iol.ie 0fbe8a5759 Add fixup for view-source: URLs. b=78810 r=bzbarsky@mit.edu sr=blizzard@mozilla.org 2001-11-06 22:55:30 +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
danm%netscape.com 46e1db7271 initial (disabled) cut at creating about:blank documents synchronously. part of bug 88229 r=hyatt,rpotts 2001-11-06 01:24:39 +00:00
radha%netscape.com 3489a83331 Fix for bug # 103850. DocShell sets wrong cache key while loading pages with postdata. r=adamlock sr=darin
CVS: ----------------------------------------------------------------------
2001-11-01 22:21:31 +00:00
mkaply%us.ibm.com 30e51725aa #88100
r=simon@softel.co.il, sr=blizzard
Hookup Bidi preferences
2001-11-01 05:40:35 +00:00
rpotts%netscape.com 5e626fd436 bug #99627 (r=valeski@netscape.com, sr=mscott@netscpae.com). Freeze the nsIURIContentListener interface... 2001-10-27 02:52:39 +00:00
radha%netscape.com e833d177d8 Fix for bug # 103978. Problems with back/forward at cnn.com, mainly due to expired subframes and clicking back/forward fast. r=adamlock sr=rpotts 2001-10-26 19:04:11 +00:00
bryner%netscape.com bbbbd6f9e3 Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt. 2001-10-22 22:43:52 +00:00
locka%iol.ie 7b38117f01 New NameEquals method on nsIDocShellTreeItem to reduce unnecessary strdup'ing as FindChildWithName walks through its children looking for a matching item. b=102576 r=radha@netscape.com sr=rpotts@netscape.com 2001-10-20 11:42:35 +00:00
radha%netscape.com b881df6674 Fix for bug #101682. history.back() history.go(-1) misbehave on repeated usage and does notrestore scrollbar position. r=mcafee, sr=alecf 2001-10-19 21:28:57 +00:00
darin%netscape.com 0abdf1472a fixes bug 104181 "SH should not store layout state if server sends Cache-control: no-cache"
r=radha, sr=rpotts
2001-10-13 01:03:59 +00:00
radha%netscape.com 34b6623d41 Fox for bug 96230. Back button does not preserve scroll bar positions on local files and ftp directory listings. r=adamlock sr=darin. 2001-10-11 18:50:05 +00:00
dbaron%fas.harvard.edu 765eb60417 Reduce construction of (expensive) nsAutoString objects at performance hotspots. r=jag sr=waterson b=102756 2001-10-10 05:00:36 +00:00
radha%netscape.com 42dfc0b5a1 fix for bug # 99305. 'Back is overjumping pages'. Expired subframes cause
error in behavior of back/forward buttons. r=valeski sr=darin
2001-10-09 20:51:38 +00:00
sfraser%netscape.com d0eabddbdd Fix for blocker bug 103036 -- crash when opening prefs dialog in Mac classic skin. Bullet-proof nsDocShell::FocusAvailable() against recursion, and fix the XBL to set focus later on. r=adamlock, sr=hyatt 2001-10-05 00:05:15 +00:00
radha%netscape.com a86430cb2e Fix for bug # 96163. Bypass history load causes disorientation with page titles. r=valeski. sr=alecf 2001-10-01 19:47:50 +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
darin%netscape.com aca4fb226a fixes bug 101832 "back/forward buttons should use LOAD_NORMAL + VALIDATE_NEVER"
r=gagan, sr=rpotts
2001-09-27 00:03:26 +00:00
radha%netscape.com e8fbbea2db Fix for bug 89309. Reload on a post resut simply rerenders the page without taking user's permission to repost the data to the server. r=darin sr=rpotts 2001-09-26 19:33:14 +00:00
ccarlen%netscape.com cd8f50de5b Bug 96543 - Make nsWebBrowserFind default to searching in all frames. r=valeski/sr=sfraser 2001-09-26 14:07:35 +00:00
radha%netscape.com 3885f1b3ea Fix for bug 92824. Update index in SH after onStartLoad() is called for the page. r=adamlock sr=rpotts 2001-09-22 00:12:41 +00:00
radha%netscape.com f505518f8e Removing a printf statement that I mistakenly included in the previous checkin. Got permission
from leaf to checkin this fix  with out  r and sr comments.
2001-09-10 22:47:17 +00:00
radha%netscape.com 4df8637d13 Fix for bug 79063 r=rpotts sr=darin 2001-09-07 22:06:08 +00:00
rpotts%netscape.com 824ba6e3e6 bug #98469 (r=pavlov, sr=jst). Using the _content window target sometimes fails... 2001-09-06 05:31:14 +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
radha%netscape.com d0dcfb41fe Fix for bug # 94926. assert in nsDocShell::SetTitle() r=adamlock sr=rpotts a=asa 2001-08-24 20:03:24 +00:00
radha%netscape.com 6dee4d93ae Fox for bug # 90098 and 83684 r=valeski sr=rpotts a=asa 2001-08-23 21:56:38 +00:00
shanjian%netscape.com 6cc30353c3 #45187 Inherit character coding does not work in <a href= xxxx target="new">
r = rpotts, sr=waterson, a=tor
2001-08-23 04:24:25 +00:00
bryner%netscape.com d812ad1b51 Bug 92210 - Window steals focus if you switch to another app during "Transferring data from...". r=saari, sr=hyatt. 2001-08-21 21:18:45 +00:00
locka%iol.ie ab90ed5e9a Fix for anchors that try and load content into a docshell that has already been destroyed. b=94229 r=ccarlen@netscape.com sr=rpotts@netscape.com 2001-08-21 00:50:26 +00:00
radha%netscape.com 0b9e389330 Fix for bug # 86752. LOAD_FLAGS_BYPASS_HISTORY does not work. r=adamlock sr=rpotts 2001-08-16 23:49:50 +00:00
shanjian%netscape.com 3cc8a9d941 #92473 Overwrite character set does not work inside Text and Textarea.
r = radha, sr=blizzard
2001-08-16 00:33:58 +00:00
kin%netscape.com dc06ecde71 Fix for blocker bugs 95243 (Crash when typing in body of mail compose window)
and 95297 (session history doesn't restore scroll position and form controls).
Fix backs out bryner@netscape.com's patch for bug 92210.

a=jj@netscape.com
2001-08-15 20:41:20 +00:00
rpotts%netscape.com da2959ee05 bug #94205. Adding flags to nsIWebNavigation::Stop(). 2001-08-14 04:46:20 +00:00
bryner%netscape.com 0f468c9c71 Bug 92210 - Browser window steals focus if you switch to another window during "Transferring data from..." state. r=saari, sr=hyatt. 2001-08-13 23:48:16 +00:00
radha%netscape.com 0965e834dc Fix for topEmbed bug 93027 r=pollmann sr=darin 2001-08-10 14:43:03 +00:00
dbaron%fas.harvard.edu 29ad3fe6bc Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into new Destroy method so it happens at the end of paint suppression. Also clean up nsDocumentViewer.cpp a bit. b=80203,89626 r=hyatt sr=waterson 2001-08-01 03:15:50 +00:00
dbaron%fas.harvard.edu 6bb80eba8e Backing out changes for 80203 and 89626 to fix blocker 92325 and probably also blocker 92443. 2001-07-26 20:53:21 +00:00
jaggernaut%netscape.com c14d9c09a1 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu 08b178d117 Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into EndObservingDocument so it happens at the end of paint suppression. b=80203,89626 r=hyatt sr=waterson 2001-07-25 04:30:59 +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
mscott%netscape.com 2d87c75b52 Bug #89628 --> don't create a session history entry if there is no session history for this docshell chain.
Fixes the problem where the mailnews message pane was suddenly getting the scroll bar state remembered across messages.
(checking in for radha)
r=valeski
sr=mscott
2001-07-13 04:53:58 +00:00
mstoltz%netscape.com 9895dac0f9 Better fix for JS URL/session history exploit 88167 - JS URLs in session
history have no access to the current page. Other forms of loading (bookmarks,
URL bar, links) remain as they were. r=jesse, sr=jst.
2001-07-03 05:27:22 +00:00
radha%netscape.com 68e4002dba Fix for bugzilla bug 86330 r=adamock sr=rpotts. Bug with SH in frames with targets 2001-07-03 00:00:12 +00:00
mstoltz%netscape.com 7caf537e2a Bug 88167 - javascript URLs should never inherit the system principal or a
signed/privileged principal. r=bbaetz, sr=jst.
2001-07-02 06:39:29 +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
dbaron%fas.harvard.edu 0e4464da17 Fix gcc 2.7.2.3 bustage by changing |EqualsWithConversion| to |Equals|. 2001-06-29 18:28:39 +00:00
bryner%uiuc.edu 8cfe74d6bb Bug 82123 -- enable embeddors to alter the focus traversal so that the document itself receives focus first instead of last. r=saari, adamlock, sr=jst, a=chofmann. 2001-06-26 01:19:11 +00:00
jaggernaut%netscape.com 810785e95c Bug 83394: Tabindex attribute not working properly in mfcembed app''.
Fixes problems with tabbing from the document to elements with the index attribute set in both mfcembed and the regular browser app.

patch by bryner, r=jag, sr=hyatt, a=chofmann
2001-06-22 07:25:28 +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
peterlubczynski%netscape.com b4eb259e84 More ^M bustage 2001-06-21 02:07:25 +00:00
peterlubczynski%netscape.com 9738b838a4 Fix for title bar not updating for full page plugins bug 59749 r=av sr=attinasi a=choffman 2001-06-21 01:04:29 +00:00
dbaron%fas.harvard.edu 688519fb0c Fix bad getters on nsIDocument and nsIScriptContext to use out params rather than return |AddRef|ed pointers. b=81289 r=jaggernaut sr=jst a=asa 2001-06-20 03:27:48 +00:00
bryner%uiuc.edu c92699fcd9 Bug 70484 - browser window would go keydead when clicking a link inside a FRAME which loaded a new document into the top-level content area. r=saari, sr=hyatt, a=asa. 2001-06-19 23:31:25 +00:00
bryner%uiuc.edu fbfd52fb26 Bug 77913 - tab focus not cycling around in dialogs. r=jag, sr=jst, a=blizzard. 2001-06-19 05:35:24 +00:00
blizzard%redhat.com efcd148780 Fix blocker bug #85703. Crashes on popup windows. r=adamlock,sr=tor,a=asa 2001-06-14 17:42:16 +00:00
saari%netscape.com 6f356bc138 fix for 84560, intially focused url bar key bindings are broken. a=blizzard, r=jag, sr=hyatt 2001-06-14 03:49:07 +00:00
jaggernaut%netscape.com 0ef5580b0d Bug 77307: ``%27 codes after url redirection'', r=rpotts, sr=shaver, a=asa@mozilla.org
Bug 79582: ``content refresh with non-digit chars before ; not parsed "correctly"'', r=rpotts, sr=ben, a=asa@mozilla.org
2001-06-11 22:05:59 +00:00
dougt%netscape.com 9174af6517 Fixes bug 83401. r=gagan, darin, sr=vidur, a=blizzard. Add port blacklisting to necko 2001-06-06 00:10:09 +00:00
mstoltz%netscape.com 00ba04ac0e bug 77485 - exploit inserting a function into another window using targeted
javascript URL links. Two-part fix: moving the call to GetCurrentDocumentOwner
in nsDocShell::LoadInternal to before the target docshell is called, and
changing nsScriptSecurityManager::GetFunctionObjectPrincipal to only get
the principal from the function object's scope chain if the function object's
principal is the system principal. r=jst, sr=vidur, a=asa.
2001-05-30 02:22:22 +00:00
saari%netscape.com 7060dcb678 fix for 82710, r=me, sr=hyatt, a=mcafee (blocker) make sure we set the focused element to null after the viewer is totoally torn down, and after we've suppressed focus 2001-05-29 23:26:50 +00:00
radha%netscape.com 3101aa799f Fix for bug # 82236. r=valeski sr=alecf a=blizzard(drivers@mozilla.org) 2001-05-29 22:45:57 +00:00
rpotts%netscape.com ecddec3d5f bug #81937 (r=valeski, sr=mscott, a=selmer) multipart/x-mixed-replace content was not being retargetted correctly... 2001-05-29 22:10:50 +00:00
danm%netscape.com 7bf2349983 reorganize SetFocus to be less likely to bail early on errors; more likely to default to focusing the whole window. and strip the extraneous braces rods added to my previous fix for this bug :) bug 50881 gets slapped down one more time. r=bryner,hyatt a=asa 2001-05-25 21:15:46 +00:00
roc+%cs.cmu.edu 2b539be4dd Fix for bug 77507. Set default background color correctly. Warn if it isn't set correctly. r=waterson,sr=attinasi,a=blizzard 2001-05-25 15:00:51 +00:00
nisheeth%netscape.com d5b20e8bb4 Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content. 2001-05-25 08:49:03 +00:00