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

442 Коммитов

Автор SHA1 Сообщение Дата
locka%iol.ie a2785c5d51 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 1f0cc6e6b9 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes... 2001-11-30 22:35:33 +00:00
jst%netscape.com 9cc9e43e59 nsDependentString(nsnull) is illegal and asserts. sr=rpotts@netscape.com 2001-11-28 06:09:40 +00:00
radha%netscape.com 155b4d617d 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 a0d29b2978 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 a8f890f8dd 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 9d5587b92f 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 e404891446 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 060425ec59 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 b83f77d1c0 bug 110081, patch=adamlock, r=pchen, sr=ben, harden docshell against empty URLs 2001-11-18 07:45:14 +00:00
danm%netscape.com 9ec0e84cdd plug leak of docshell. bug 110410 code=dbaron r=jst,me 2001-11-17 05:19:10 +00:00
danm%netscape.com 66ce4b43e0 hook up CreateAboutBlankContentViewer. bug 88229 r=jst,rpotts 2001-11-16 02:15:31 +00:00
locka%iol.ie ce78ef8589 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 f6a4f1885b patch for bug 107789 "deprecate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts
2001-11-14 06:45:27 +00:00
bzbarsky%mit.edu f2ee8260a0 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 75ecea3381 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 26f0e8f362 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 2b59cc6379 back out darin's fix for bug #107789 since it caused blocker #108637. 2001-11-06 16:32:52 +00:00
darin%netscape.com 481e50ee9a fixes bug 107789 "depracate nsIRandomAccessStore (superceded by nsISeekableStream)"
r=dougt, sr=rpotts
2001-11-06 02:50:42 +00:00
danm%netscape.com 7aef9b6746 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 5ac1e9da9a 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 7517a0149b #88100
r=simon@softel.co.il, sr=blizzard
Hookup Bidi preferences
2001-11-01 05:40:35 +00:00
rpotts%netscape.com ae53430684 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 80e12b9a8c 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 03cd3c194e 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 49c4cc4076 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 105e4e1635 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 27e43f3dd8 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 4578cb2d5a 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 0b281a2ef6 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 8299010da4 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 aebb4423a9 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 966d323ac2 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 ca6197295f 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 be046a6ff8 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 6187a9e859 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 0041b4581a 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 3d1c5456ef 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 25f6374edd 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 1034cb6c92 Fix for bug 79063 r=rpotts sr=darin 2001-09-07 22:06:08 +00:00
rpotts%netscape.com 80d4f413a0 bug #98469 (r=pavlov, sr=jst). Using the _content window target sometimes fails... 2001-09-06 05:31:14 +00:00
dougt%netscape.com d5f58776bc 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 086f84cd3c 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 29aa2102b0 Fox for bug # 90098 and 83684 r=valeski sr=rpotts a=asa 2001-08-23 21:56:38 +00:00
shanjian%netscape.com 108f61c127 #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 d1b47d9b27 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 f8d27dba10 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 cd2004720f 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 cd26ab6678 #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 d1f0da0f52 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 33bbd6972c bug #94205. Adding flags to nsIWebNavigation::Stop(). 2001-08-14 04:46:20 +00:00
bryner%netscape.com 5842490a14 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 ef1b15b65b Fix for topEmbed bug 93027 r=pollmann sr=darin 2001-08-10 14:43:03 +00:00
dbaron%fas.harvard.edu 5c0b6349e6 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 0ab924e19b 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 e91f8a147e Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
dbaron%fas.harvard.edu 5948e0ab2d 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 c111544a91 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 8ab80a9d3e 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 b02c6f5516 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 cfa09a4678 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 1c50a2a718 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 5a6317b8a5 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 85371e742c Bug 82244
backout old patch
r= radha sr=rpotts
2001-06-29 22:12:14 +00:00
dbaron%fas.harvard.edu 9cfe266dc4 Fix gcc 2.7.2.3 bustage by changing |EqualsWithConversion| to |Equals|. 2001-06-29 18:28:39 +00:00
bryner%uiuc.edu 89a8648447 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 0ba2fa56e3 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 6e691349fd 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 e951282fd6 More ^M bustage 2001-06-21 02:07:25 +00:00
peterlubczynski%netscape.com 8bdfa059a9 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 9d35ed31a4 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 f6f70d2ed8 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 b31514c245 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 9fcc01a00a 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 5e97e47284 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 a2ef1b7f0d 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 e0c4831d10 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 d6e2839371 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 0b11af5980 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 553a99a133 Fix for bug # 82236. r=valeski sr=alecf a=blizzard(drivers@mozilla.org) 2001-05-29 22:45:57 +00:00
rpotts%netscape.com 5b394a26a3 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 5389a6bb30 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 8865fc53de 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 73edd4ea66 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
hwaara%chello.se c0eb6ccbfc Fix smoketest blocker. bug 82141. r=saari, sr=hyatt 2001-05-25 00:53:47 +00:00
rods%netscape.com 2945ee5e62 adding pane/frameset/frame/iframe navigation
Bug 24423 r=joki,saari a=hyatt
2001-05-22 23:52:17 +00:00
waterson%netscape.com 495d1e941d Bug 82073. Wallpaper over the crash until bryner can look at this. 2001-05-22 17:29:47 +00:00
simon%softel.co.il f6ff04ed3b Remove superfluous include from nsDocShell.cpp. Bug #81179 r=fabian sr=jst 2001-05-22 08:15:37 +00:00
valeski%netscape.com 7f26ff6952 r=ccarlen, sr=rpotts on the mozilla/docshell/* and mozilla/embedding/* mods (81263). embedding apps can now control whether or not images are loaded in a specific nsWebBrowser window. This is done via nsIWebBrowserSetup. shaver@mozilla.org provided a nsWebBrowserContentPolicy implementation which registers for, and responds to, nsIContentPolicy callbacks giving nsIContentPolicies an opportunity to cancel a load or the processing of an element. processing isn't hooked up yet, and some of the content policy types in the switch statement won't become relevant until further nsIContentPolicy hookup is done. Those cases are handled inside the docshell/webshell until the content policy hook-up is made. 2001-05-21 22:42:46 +00:00
bryner%uiuc.edu 58e8da390f Part of bug 31809 -- Don't allow the user to tab into the sidebar if it's collapsed. r=saari, sr=hyatt. 2001-05-21 22:27:49 +00:00
rpotts%netscape.com 44626befc1 another patch for bug #65777. This one removes the intermediate window that is created for mailto:// URLs that are explicitly target to a new window... 2001-05-21 06:50:51 +00:00
jst%netscape.com 77aeecc056 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
radha%netscape.com 30aeca6a33 Fix for bug 81229 r=valeski sr=rpotts 2001-05-18 21:43:29 +00:00
saari%netscape.com 37c7727d4e fix for bug 78427, r=dr, sr=hyatt. Fix for focus getting lost when clicking on a link from a page with an iframe, like cnn or washingtonpost.com. When the new page loads, it will now have correct focus, it won't be lost. 2001-05-18 08:58:17 +00:00
jst%netscape.com 96763b46ae Checking in serge@netscape.com's fix for bug 65777, this was a regression from the window targetting changes that caused a crash in some cases when an invalid url was typed into the URL bar. r=pollmann@netscape.com, jst@netscape.com, sr=rpotts@netscape.com 2001-05-17 21:38:27 +00:00
bstell%netscape.com 58699035e6 bug 79608, r=ftang, sr=vidur
for the embedding API: add get/set charset
2001-05-17 02:12:51 +00:00
rpotts%netscape.com f02e84c4bb bug #65777 (r=valeski, sr=mscott) - Window targeting fixes... 2001-05-14 02:16:27 +00:00
darin%netscape.com 921fa67a8d removing debug printfs 2001-05-12 01:42:31 +00:00
darin%netscape.com b26d5adb54 Http branch landing: changes to other files (bug 76866) r=gagan,sr=dougt,a=chofmann 2001-05-11 21:05:08 +00:00
jst%netscape.com f7460d0269 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