728 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
068756d821 Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
(i.e. where the string is a literal).  Bug 104159, r=jag, sr=alecf


git-svn-id: svn://10.0.0.236/trunk@107987 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-14 01:33:42 +00:00
radha%netscape.com
9c70ff699d Fix for bug # 108041. Session history misbehaves when _top is replaced after a series of subframe navigations. r=adamlock sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@107512 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 23:56:45 +00:00
locka%iol.ie
1151308cf0 Add fixup for view-source: URLs. b=78810 r=bzbarsky@mit.edu sr=blizzard@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@107488 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 22:55:30 +00:00
blizzard%redhat.com
9b6794d44c back out darin's fix for bug #107789 since it caused blocker #108637.
git-svn-id: svn://10.0.0.236/trunk@107466 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 16:32:52 +00:00
darin%netscape.com
902546fa1d fixes bug 107789 "depracate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@107421 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 02:50:42 +00:00
danm%netscape.com
17ff11d2db initial (disabled) cut at creating about:blank documents synchronously. part of bug 88229 r=hyatt,rpotts
git-svn-id: svn://10.0.0.236/trunk@107393 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:24:39 +00:00
radha%netscape.com
adc5d6c010 Fix for bug # 103850. DocShell sets wrong cache key while loading pages with postdata. r=adamlock sr=darin
CVS: ----------------------------------------------------------------------


git-svn-id: svn://10.0.0.236/trunk@106995 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 22:21:31 +00:00
mkaply%us.ibm.com
9c733170f9 #88100
r=simon@softel.co.il, sr=blizzard
Hookup Bidi preferences


git-svn-id: svn://10.0.0.236/trunk@106930 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 05:40:35 +00:00
rpotts%netscape.com
9c186d4664 bug #99627 (r=valeski@netscape.com, sr=mscott@netscpae.com). Freeze the nsIURIContentListener interface...
git-svn-id: svn://10.0.0.236/trunk@106446 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 02:52:39 +00:00
radha%netscape.com
1120ee9abe 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
git-svn-id: svn://10.0.0.236/trunk@106379 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 19:04:11 +00:00
bryner%netscape.com
73a2cc7db6 Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@105981 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:43:52 +00:00
locka%iol.ie
c66ddad77e 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
git-svn-id: svn://10.0.0.236/trunk@105881 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-20 11:42:35 +00:00
radha%netscape.com
b9befe5a2d Fix for bug #101682. history.back() history.go(-1) misbehave on repeated usage and does notrestore scrollbar position. r=mcafee, sr=alecf
git-svn-id: svn://10.0.0.236/trunk@105822 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 21:28:57 +00:00
darin%netscape.com
d394a62ae4 fixes bug 104181 "SH should not store layout state if server sends Cache-control: no-cache"
r=radha, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@105333 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 01:03:59 +00:00
radha%netscape.com
1ec126b727 Fox for bug 96230. Back button does not preserve scroll bar positions on local files and ftp directory listings. r=adamlock sr=darin.
git-svn-id: svn://10.0.0.236/trunk@105182 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 18:50:05 +00:00
dbaron%fas.harvard.edu
1399c2e2d6 Reduce construction of (expensive) nsAutoString objects at performance hotspots. r=jag sr=waterson b=102756
git-svn-id: svn://10.0.0.236/trunk@105013 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-10 05:00:36 +00:00
radha%netscape.com
59d2c1e453 fix for bug # 99305. 'Back is overjumping pages'. Expired subframes cause
error in behavior of back/forward buttons. r=valeski sr=darin


git-svn-id: svn://10.0.0.236/trunk@104936 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 20:51:38 +00:00
sfraser%netscape.com
db971d9c23 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
git-svn-id: svn://10.0.0.236/trunk@104603 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-05 00:05:15 +00:00
radha%netscape.com
3698b8f5c2 Fix for bug # 96163. Bypass history load causes disorientation with page titles. r=valeski. sr=alecf
git-svn-id: svn://10.0.0.236/trunk@104333 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 19:47:50 +00:00
jaggernaut%netscape.com
51e0dc7a6c 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
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00
darin%netscape.com
6d77edd2ab fixes bug 101832 "back/forward buttons should use LOAD_NORMAL + VALIDATE_NEVER"
r=gagan, sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@103888 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-27 00:03:26 +00:00
radha%netscape.com
d4d61c67af 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
git-svn-id: svn://10.0.0.236/trunk@103846 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 19:33:14 +00:00
ccarlen%netscape.com
6a9c29eb52 Bug 96543 - Make nsWebBrowserFind default to searching in all frames. r=valeski/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@103840 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 14:07:35 +00:00
radha%netscape.com
f57ce1c3c0 Fix for bug 92824. Update index in SH after onStartLoad() is called for the page. r=adamlock sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@103498 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-22 00:12:41 +00:00
radha%netscape.com
009b995541 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.


git-svn-id: svn://10.0.0.236/trunk@102686 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-10 22:47:17 +00:00
radha%netscape.com
cb733e6f90 Fix for bug 79063 r=rpotts sr=darin
git-svn-id: svn://10.0.0.236/trunk@102551 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-07 22:06:08 +00:00
rpotts%netscape.com
32390b41d3 bug #98469 (r=pavlov, sr=jst). Using the _content window target sometimes fails...
git-svn-id: svn://10.0.0.236/trunk@102388 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-06 05:31:14 +00:00
dougt%netscape.com
8e801f7f38 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


git-svn-id: svn://10.0.0.236/trunk@102265 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:52:26 +00:00
radha%netscape.com
328c8aa401 Fix for bug # 94926. assert in nsDocShell::SetTitle() r=adamlock sr=rpotts a=asa
git-svn-id: svn://10.0.0.236/trunk@101769 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 20:03:24 +00:00
radha%netscape.com
7c3783e94d Fox for bug # 90098 and 83684 r=valeski sr=rpotts a=asa
git-svn-id: svn://10.0.0.236/trunk@101731 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 21:56:38 +00:00
shanjian%netscape.com
e8bca10914 #45187 Inherit character coding does not work in <a href= xxxx target="new">
r = rpotts, sr=waterson, a=tor


git-svn-id: svn://10.0.0.236/trunk@101688 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-23 04:24:25 +00:00
bryner%netscape.com
efb03cfbd3 Bug 92210 - Window steals focus if you switch to another app during "Transferring data from...". r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@101548 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 21:18:45 +00:00
locka%iol.ie
ecfed0d85b 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
git-svn-id: svn://10.0.0.236/trunk@101446 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 00:50:26 +00:00
radha%netscape.com
269f09ea02 Fix for bug # 86752. LOAD_FLAGS_BYPASS_HISTORY does not work. r=adamlock sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@101238 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 23:49:50 +00:00
shanjian%netscape.com
ba3583e6ab #92473 Overwrite character set does not work inside Text and Textarea.
r = radha, sr=blizzard


git-svn-id: svn://10.0.0.236/trunk@101156 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 00:33:58 +00:00
kin%netscape.com
f3b876d855 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


git-svn-id: svn://10.0.0.236/trunk@101124 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-15 20:41:20 +00:00
rpotts%netscape.com
92ac833e09 bug #94205. Adding flags to nsIWebNavigation::Stop().
git-svn-id: svn://10.0.0.236/trunk@101001 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 04:46:20 +00:00
bryner%netscape.com
33ab3fb7c8 Bug 92210 - Browser window steals focus if you switch to another window during "Transferring data from..." state. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@100949 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-13 23:48:16 +00:00
radha%netscape.com
d1310750e7 Fix for topEmbed bug 93027 r=pollmann sr=darin
git-svn-id: svn://10.0.0.236/trunk@100756 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-10 14:43:03 +00:00
dbaron%fas.harvard.edu
2acd95d9aa 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
git-svn-id: svn://10.0.0.236/trunk@100081 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 03:15:50 +00:00
dbaron%fas.harvard.edu
899cd312b2 Backing out changes for 80203 and 89626 to fix blocker 92325 and probably also blocker 92443.
git-svn-id: svn://10.0.0.236/trunk@99950 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-26 20:53:21 +00:00
jaggernaut%netscape.com
2b3b3b2586 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa
git-svn-id: svn://10.0.0.236/trunk@99906 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu
502a5c94aa 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
git-svn-id: svn://10.0.0.236/trunk@99882 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 04:30:59 +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
mscott%netscape.com
7124231a9c 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


git-svn-id: svn://10.0.0.236/trunk@99159 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-13 04:53:58 +00:00
mstoltz%netscape.com
31defe0b01 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.


git-svn-id: svn://10.0.0.236/trunk@98536 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-03 05:27:22 +00:00
radha%netscape.com
b5ffdd96d0 Fix for bugzilla bug 86330 r=adamock sr=rpotts. Bug with SH in frames with targets
git-svn-id: svn://10.0.0.236/trunk@98497 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-03 00:00:12 +00:00
mstoltz%netscape.com
85cb13c471 Bug 88167 - javascript URLs should never inherit the system principal or a
signed/privileged principal. r=bbaetz, sr=jst.


git-svn-id: svn://10.0.0.236/trunk@98443 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-02 06:39:29 +00:00
jaggernaut%netscape.com
51b17b5bf0 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 :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +00:00
yokoyama%netscape.com
d4ecaf45af Bug 82244
backout old patch
r= radha sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@98310 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 22:12:14 +00:00