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

842 Коммитов

Автор SHA1 Сообщение Дата
bryner%brianryner.com 5f1aab2391 Fix crash when using fastback to go to pages that use SVG in an <object> tag, and bulletproof a little bit. Bug 299153, r+sr=dbaron, a=bsmedberg 2005-06-30 20:58:33 +00:00
bryner%brianryner.com e865635624 Fix fastback to not leave the documents-loading counter unbalanced, which would lead to not using the performance-favoring event loop hint after the first fastback. Bug 298794, r+sr=darin, a=chase. 2005-06-28 02:51:04 +00:00
bryner%brianryner.com 3aa61b074b Fix failure to repaint on Mac with fastback enabled (bug 298112). Hide the old contentviewer before we invalidate. r=darin sr=dbaron a=asa. 2005-06-24 21:08:10 +00:00
bryner%brianryner.com b10035aabc Fix pending-loads check for fastback so that we detect loads initiated either before or after Stop() is called. Fix assert on reload. Fix problem where the wrong load type was being checked in CanSavePresentation(). Fix problem where we cached a content viewer on the current history entry when it was equal to the new history entry. Bugs 292954 and 292950. r+sr=darin, a=asa. 2005-06-24 20:53:43 +00:00
bryner%brianryner.com 8e3f5c22d2 For fastback, dispatch the title change notification after we've updated our history entry in the docshell, so that we don't set the title on the wrong history entry. Bug 296745, r+sr=darin, a=asa. 2005-06-20 22:06:30 +00:00
roc+%cs.cmu.edu 5e57c3c681 Bug 296315. Remove unimplemented nsIScrollableView::GetScrollbarVisibility, implement nsDocShell::GetScrollbarVisibiilty to use nsIScrollableFrame::GetActualScrollbarSizes, which actually works. r+sr=bzbarsky,a=asa 2005-06-17 02:48:29 +00:00
bryner%brianryner.com 37e80e76f5 Fix assorted issues with fastback, including adding progress listener notifications and introducing the PageHide and PageShow events. See bug 292971 for all of the details. r=darin, sr=bzbarsky, a=shaver. 2005-06-15 23:52:46 +00:00
bryner%brianryner.com 2c97641f22 Fix incorrect tinderbox popups with fastback (bug 292933). Make sure mLSHE is nulled out when we finish fastback navigation. r+sr=darin, a=brendan. 2005-06-03 22:17:06 +00:00
bryner%brianryner.com 799aa9fd76 When restoring a presentation via fast-back, where we aren't going to save the existing presentation, defer destruction on a PLEvent to avoid hangs when reentering plugin code (bug 294231). r+sr=jst, a=chofmann. 2005-06-02 00:57:54 +00:00
cbiesinger%web.de 5d718abb27 295279 pass the origin charset of the URI to the error page, esp. for use by
embeddors
patch by Christian Persch <chpe@gnome.org> r=biesi sr=bz a=shaver
2005-06-01 19:19:01 +00:00
jag%tty.nl 15bd25742d Attempt to fix btek bustage 2005-05-18 09:54:04 +00:00
bryner%brianryner.com 27e59af17a Fix save/restore of form control contents when reloading (bug 294258). r=sicking, sr=bzbarsky. 2005-05-18 03:52:33 +00:00
bryner%brianryner.com 0778666a76 Fix crash with fast-back enabled when a reload wipes out a cached docshell (bug 293534). r+sr=bzbarsky, a=brendan. 2005-05-15 00:30:02 +00:00
dveditz%cruzio.com 1d700cf5f1 bug 292691 plug IconURL and history.back() XSS exploits fixed in firefox 1.0.4
docshell patch by jst, r=bz,brendan;sr=dveditz,shaver;a=asa
xpinstall patch by dveditz and vlad; r=vlad,jst; sr=jst,shaver; a=asa
2005-05-13 23:08:09 +00:00
bzbarsky%mit.edu 7762d11c0b Back out the change for bug 277092, since it breaks other compat and pages.
Bug 292921, r=jst, sr+a=brendan
2005-05-08 21:44:16 +00:00
bryner%brianryner.com e670daf88f Don't crash when we've restored a presentation with a frame that has never loaded a document. Bug 292923, r+sr=bzbarsky, a=brendan. 2005-05-06 18:18:08 +00:00
bryner%brianryner.com 592dbdc176 Add support for caching content viewers in session history to speed up back/forward (bug 274784). This initial landing has the feature disabled by default; set browser.sessionhistory.max_viewers to the maximum number of pages to cache to enable the feature. r=bzbarsky, sr/a=brendan. 2005-05-04 20:22:32 +00:00
roc+%cs.cmu.edu af00f217f9 Bug 240276. Make nsHTMLScrollFrame be a regular HTML frame, not a box frame, so we don't have to go through box layout. It gets its own reflow implementation that handles min-max and lots of other good stuff. rs+sr=dbaron,a=asa 2005-04-28 21:57:22 +00:00
cbiesinger%web.de 50f229612a 291876 fall back to Alert() instead of an error page when we have no nsIURI object
r=bz sr=darin a=asa
2005-04-27 11:53:27 +00:00
bzbarsky%mit.edu 292c046278 Reposting when expired from cache should make sure to use the right history
entry; otherwise docshell is confused about which page it currently has
loaded.  Bug 289301, r=biesi, sr=darin, a=asa
2005-04-20 04:41:48 +00:00
darin%meer.net 130fb0d326 patch for bug 287648 "make nsIDNSService use nsICancelable and move private methods to nsPIDNSService" r=biesi sr=bzbarsky 2005-04-06 01:33:28 +00:00
cbiesinger%web.de 763f225033 bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property
2005-04-05 17:40:32 +00:00
bzbarsky%mit.edu f2c4953613 Move processing of various headers from the content sink into the document so
it'll happen for all of our document types.  Bug 288921, r+sr=jst
2005-04-05 03:28:54 +00:00
roc+%cs.cmu.edu d50f1426da Bug 288117. Fix regressions in nsDocShell::SetCanvasHasFocus and in nsListBoxBodyFrame/nsListBoxObject where code made obsolete assumptions about scrollframe structure. r+sr=dbaron 2005-04-03 21:02:47 +00:00
bzbarsky%mit.edu d32d35b284 Make sure to clone the page descriptor before changing its properties. Also
some cleanup of the GetCurrentDescriptor code.  Bug 285828, r=biesi, sr=jst
2005-04-03 16:51:01 +00:00
bzbarsky%mit.edu 66b19fc60b Don't fire onLocationChange for initial loads in subframes; reverts old
behavior.  Bug 285738, patch by William A. Gianopoulos
<wgianopoulos@yahoo.com>, r=jst, sr=bzbarsky
2005-03-30 04:22:00 +00:00
jst%mozilla.jstenback.com eb65bc6267 Fixing bug 284993. Make sure the new content viewer is properly initialized before fireing location changed notifications. r=bzbarsky@mit.edu, sr=darin@meer.net 2005-03-09 14:31:02 +00:00
cbiesinger%web.de 43ff9de092 181938 allow any protocol to support redirection, using a new
nsIChannelEventSink interface.
r=darin sr=bz
2005-03-07 19:46:06 +00:00
jst%mozilla.jstenback.com 5e17dc1a02 Fixing bug 277574. Make sure all modal dialogs, not just the ones that come from DOM calls, bring the requesting tab to focus. r=dveditz@cruzio.com, sr=darin@meer.net 2005-02-23 23:31:37 +00:00
jst%mozilla.jstenback.com 846d1fda2c Fixing bug 209020. Make midas (document eiditing mode) not partially persist when leaving a page, and make it possible to turn off designMode dynamically in a page. r=brade@comcast.net, sr=bzbarsky@mit.edu 2005-02-23 21:27:20 +00:00
bzbarsky%mit.edu 6b5147dd71 Remove the parentURIContentListener attribute on docshell; people not using
nsIWebBrowser can getInterface the docshells nsIURIContentListener and set its
parent.  Bug 283108, r=biesi, sr=darin
2005-02-22 19:56:11 +00:00
jshin%mailaps.org fd66f970be bug 244754 : URL is not shown in the status bar when hovering over a url-escaped URL in an encoding different from the document enecoding (r=darin, sr=bzbarsky) 2005-02-22 18:25:12 +00:00
bzbarsky%mit.edu ec1ef4b44d Docshell doesn't need to hold a pointer to the scriptcontext; the window does
it.  Bug 282807, r+sr=jst
2005-02-20 17:02:02 +00:00
bzbarsky%mit.edu 45f9a5c473 Scan for plugins when we're asked whether we can handle a type, not when we
actually go to handle it.  Bug 273785, r=biesi, sr=darin
2005-02-19 02:43:03 +00:00
bzbarsky%mit.edu 874340e9fb Make sure that we have an mParentContentListener at all times in docshell. Bug
282644, r=biesi, sr=jst
2005-02-18 18:20:42 +00:00
danm-moz%comcast.net bf11b74145 unnamed windows can't be a named target. bug 278143 r=bzbarsky 2005-02-08 23:16:52 +00:00
silver%warwickcompsoc.co.uk 62d226a563 Bug 277658 - Make error pages URL a preference.
r=biesi
sr=bz
p=bugmail@q1n.org (Vidar Braut Haarr)
2005-02-02 19:42:21 +00:00
bzbarsky%mit.edu 075c2f3620 Make STOP_CONTENT not only stop the content viewer, but also cancel all pending
timeouts and intervals. Bug 277092, r+sr=jst
2005-01-31 22:49:42 +00:00
bzbarsky%mit.edu 30c61eb911 Undo the checkin for bug 135811 and refix it better. Fixes bug 279495.
r=danm, sr=jst
2005-01-31 20:46:24 +00:00
cbiesinger%web.de 5d749a9a14 157004 don't fire onLocationChange for error pages, and don't change the
docshell's currentURI either. be sure to add the failed URL to session history.

r=bz sr=darin
2005-01-31 11:26:31 +00:00
bzbarsky%mit.edu 1f7f10605d Session history traversals from URI with anchor to same URI without anchor
should scroll.  Bug 280215, r=biesi, sr=darin
2005-01-30 20:53:42 +00:00
bzbarsky%mit.edu 7817f06738 When doing window access security checks, make sure to treat wyciwyg URIs as
equivalent to their creators.  Bug 270414, r+sr=jst
2005-01-21 16:58:45 +00:00
bzbarsky%mit.edu 27d21949cf Add a webnavigation flag to allow callers to stop content, not just stop
network activity.  Make nsLocation use this so it doesn't stop content
unnecessarily.  Bug 277224, r=darin, sr=jst
2005-01-20 16:57:04 +00:00
bzbarsky%mit.edu d185bdf1ce Include the part number inside a multipart document in the state key, so that
state restoration works correctly on each part.  Bug 47350, patch by Hideo
Saito <saito@densan.co.jp>, r=bzbarsky, sr=js
2005-01-15 17:47:23 +00:00
bzbarsky%mit.edu ff67d61dea If we run into a null child SHEntry while cloning, just clone it as null into
the new tree instead of bailing out on the clone altogether.  Bug 275890,
r=biesi, sr=darin
2005-01-12 02:49:24 +00:00
jst%mozilla.jstenback.com 92f5ec0f1b Fixing bug 277564. Make sure to update the lock icon state correctly when dealing with wyciwyg: URLs. r=bugmail@sicking.cc, dveditz@cruzio.com, darin@meer.net, sr=brendan@mozilla.org, a=asa@mozilla.org 2005-01-12 00:00:53 +00:00
jst%mozilla.jstenback.com 1a8e54667c Fixing bug 103638 (and bug 273699). Targets with same name in different windows open in the wrong window. Patch by bzbarsky@mit.edu and myself, r=danm.moz@gmail.com, bzbarsky@mit.edu, sr=dveditz@cruzio.com, a=asa@mozilla.org 2005-01-11 19:36:40 +00:00
dveditz%cruzio.com 636189a39e bug 266554 need real referrer internally for various uses. patch by jst, r/sr=dveditz,darin (ported from aviary) 2005-01-05 06:04:46 +00:00
bzbarsky%mit.edu e00f04a431 Fix build bustage (swap() called on a cast pointer makes some compilers
unhappy, apparently....).  Bug 272471.
2004-12-08 18:02:40 +00:00
bzbarsky%mit.edu 194e16cd98 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
2004-12-08 17:32:06 +00:00
bzbarsky%mit.edu 49695f5b48 Going from foo#bar to foo shouldn't do an anchor scroll. Bug 273158, r=biesi,
sr=darin
2004-12-08 17:02:56 +00:00
danm-moz%comcast.net f5b1d4e793 single window mode aviary branch merge. bug 172962, 263689, 263844, 263960 r=bryner,jst,peterv 2004-12-07 16:09:08 +00:00
scott%scott-macgregor.org bd596ad3f5 Bug #267665, Bug #260836 --> TB0.9 does not do proxy authentication for RSS feeds
RSS feeds which require HTTP authentication are rejected as invalid

Re-work the docshell auth prompt logic to disable prompts for any url running in chrome unless the chrome window
explicitly sets allowAuth on its docshell.

r=darin
sr=jst
2004-11-24 17:45:44 +00:00
darin%meer.net 3eb7a1b7c7 fixes bug 226972 "The LoadURI function of nsIWebnavigation does not break the read loop when readSegments returns failure code." r=biesi sr=bz 2004-11-12 03:24:24 +00:00
jst%mozilla.jstenback.com 125eb869ef Fixing bug 267249. Don't null out mPrefs in nsDocShell::Destroy() (prefs is a service). This caused a crash on the aviary branch after 172962 landed. Also remove unnecessary null check now that we know mPrefs can't be null. r=dbaron@mozilla.org, sr=brendan@mozilla.org 2004-11-10 22:07:17 +00:00
dbaron%dbaron.org df11629924 Null-check for unreproducable topcrash. b=267804 r+sr=jst 2004-11-06 07:59:46 +00:00
darin%meer.net 9f41d7dc3c backing out part of my patch for bug 267367 that broke mailnews auth prompting 2004-11-03 22:15:48 +00:00
darin%meer.net 900f923dc7 fixes bug 267367 "image loading from chrome results in auth prompts if src is protected" r=biesi sr=jst 2004-11-03 07:52:27 +00:00
darin%meer.net 96c79cea45 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
dveditz%cruzio.com 29050563b3 bug 265135: put internal referrers on channels to fix xpinstall whitelisting the right way. r=darin,sr=jst 2004-10-28 22:52:45 +00:00
timeless%mozdev.org 462dfb088b Bug 252836 Exception ``[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: onxbldestructor :: line 402" data: no]'' thrown from function onxbldestructor(event=Event:{0}) in <chrome://global/content/bindings/browser.xml> line 402.
r=neil sr=bz
2004-10-27 08:01:48 +00:00
timeless%mozdev.org e0e3a32c7d Bug 252836 Exception ``[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIWebNavigation.sessionHistory]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/bindings/browser.xml :: onxbldestructor :: line 402" data: no]'' thrown from function onxbldestructor(event=Event:{0}) in <chrome://global/content/bindings/browser.xml> line 402.
r=neil sr=bz
2004-10-27 05:23:40 +00:00
bzbarsky%mit.edu 51f7d24779 Separate out the concepts of "history entries separated by just a scroll" and
"history entries with the same postdata".  The latter is implied by the former,
but not conversely.  Bug 264964, r=biesi, sr=darin
2004-10-19 21:53:54 +00:00
cbiesinger%web.de 22b28f33be backing out part of bug 234257 checkin to fix camino orange a=shaver 2004-09-29 22:05:12 +00:00
jst%mozilla.jstenback.com d6f015e13a Fixing bug 261998. Don't fire the beforeunload event when loading a link to an anchor in the current document. r+sr=bzbarsky@mit.edu 2004-09-29 05:29:48 +00:00
cbiesinger%web.de f67b37e6c1 Bug 234257 nsIDocumentLoader/nsDocLoader misc cleanup
r=bz sr=darin
2004-09-28 20:48:58 +00:00
cbiesinger%web.de a2447a60f5 Bug 128398 store referrer in history patch by James Andrewartha
<trs80@tartarus.uwa.edu.au> r=biesi sr=neil
2004-09-19 20:50:32 +00:00
jst%mozilla.jstenback.com a600b134dd Fixing bug 259117. Prevent popups when closing a window even if the close came from a user action that would normally enable popups. r=bzbarsky@mit.edu, sr=brendan@mozilla.org 2004-09-14 06:03:34 +00:00
darin%meer.net 23030576d8 fixes bug 257308 "Visual indicators of site security appear for the wrong site" r=biesi sr=bz 2004-09-09 06:54:52 +00:00
kjh-5727%comcast.net c762989259 Bug 258106: nsDocShell should use nsIPrefService APIs instead of nsIPref.
Patch by Mikael Parknert (mikael@parknert.se), r=bzbarsky, sr=roc.
2004-09-06 19:31:22 +00:00
dbaron%dbaron.org 613d104fb5 Land bug 72747 in pieces: Simplify the mechanism used to prevent framesets from having scrollbars. b=72747 r+sr=roc 2004-09-04 19:51:21 +00:00
dbaron%dbaron.org e4e0192e47 Back out previous round of bug 72747 changes due to Tp regression. 2004-09-04 08:34:55 +00:00
dbaron%dbaron.org 46a0c16189 Land bug 72747 in pieces: Simplify the mechanisms used to prevent framesets from having scrollbars and used to implement the scrolling attribute on frames and iframes. Implement scrolling='yes'. b=72747 r+sr=roc 2004-09-04 06:53:36 +00:00
dbaron%dbaron.org 58b2482f65 Land bug 72747 in pieces: make users of nsIScrollable use nsIScrollable::Scrollbar_* instead of NS_STYLE_OVERFLOW_*. b=72747 r+sr=roc 2004-09-03 21:58:39 +00:00
vladimir%pobox.com f353e1e3a4 b=205947, proxy: mailnews does not display proxy auth dialog, r=darin, sr=shaver 2004-09-02 05:13:25 +00:00
dbaron%dbaron.org 67e0ee1634 Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron%dbaron.org 0430fe1b67 Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
timeless%mozdev.org 6d6b377342 Bug 255710 nsDocShell::GetDocShellEnumerator leaks docShellEnum in failure cases
patch by cst@andrew.cmu.edu r=timeless sr=jst
2004-08-19 00:48:19 +00:00
cbiesinger%web.de db61a05848 Bug 254586 don't store views in nsCOMPtrs - they are not refcounted anyway.
r=bzbarsky sr=darin
2004-08-10 23:58:56 +00:00
cbiesinger%web.de 23a47001f9 Bug 254586 don't assume cacheToken can be qi'd to nsICacheEntryDescriptor
r=bzbarsky sr=darin
2004-08-10 23:57:25 +00:00
neil%parkwaycc.co.uk d85ecd00f9 Bug 32372 should be possible to completely disable CSS p=fantasai@inkedblade.net r=me (xpfe) r/sr=dbaron 2004-08-05 11:38:42 +00:00
bzbarsky%mit.edu c2884c144f Don't throw from location.reload() if it's a POST page and the user cancels the
reload.  Bug 249405, r=darin, sr=jst
2004-08-04 03:35:39 +00:00
bryner%brianryner.com 18fa617572 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc. 2004-08-02 04:52:55 +00:00
bryner%brianryner.com cc807b07b1 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
bzbarsky%mit.edu 05a89073e8 When target=_blank is blocked, don't block existing named targets in other
windows. Bug 174266, r=danm, sr=jst
2004-07-28 04:04:02 +00:00
bzbarsky%mit.edu 4f6dfefbdd Switch context back to being nsISupports, but make it clear that it's expected
to be an nsIDOMNode or nsIDOMWindow.  Bug 252027, r=mvl, sr=shaver
2004-07-27 17:15:53 +00:00
bzbarsky%mit.edu 6eda51fef3 nsIContentPolicy should pass the frameelement for loads in frames as
aRequestingNode.  Bug 245836, r=mvl, sr=jst
2004-07-18 20:02:31 +00:00
jst%mozilla.jstenback.com 693923a31f Landing fix for bug 239202, patch by trev@gtchat.de. Making nsIScriptGlobalObjectOwner not scriptable. r+sr=jst@mozilla.org 2004-07-16 17:03:10 +00:00
timeless%mozdev.org f8014811a4 Bug 172077 Need a way for embedders to disable all plugins
patch by locka, chpe@gnome.org r=bz sr=mscott
2004-07-07 07:15:35 +00:00
cbiesinger%web.de 4b7cdb04f4 bug 249107 directory listings coming from session history (cache?) displayed in raw form
r=jst sr=darin
2004-07-01 17:04:31 +00:00
jst%mozilla.jstenback.com efd979ad49 Fixing regression bug 248753. Always permit loads that are targeted at other top-level windows. r=dveditz@cruzio.com, sr=darin@meer.net 2004-06-29 23:06:55 +00:00
cbiesinger%web.de 2d532ef09f bug 247607 http-index-format -> html conversion should be done by the necko caller, not by the channels
r+sr=darin
2004-06-25 18:30:22 +00:00
jst%mozilla.jstenback.com 779b03c6b4 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 2004-06-23 17:48:36 +00:00
jst%mozilla.jstenback.com 34eb60a8d1 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 2004-06-23 17:42:31 +00:00
roc+%cs.cmu.edu 52092297fe Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
jst%mozilla.jstenback.com 08fa94ab3c 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 2004-06-15 08:28:52 +00:00
jshin%mailaps.org 7a43dea6f3 bug 240300 : IDN in 'Connection refused alert' garbled. (r=cbie, sr=darin) 2004-06-11 14:20:14 +00:00
timeless%mozdev.org dc30967357 Bug 140324 NS_ENSURE_TRUE(NS_SUCCEEDED(),) used needlessy in some places
patch by Morten@Nilsen.com r=hwaara sr=alecf
2004-05-25 06:09:43 +00:00
roc+%cs.cmu.edu b8ecbc84da Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
jst%mozilla.jstenback.com 216f60f4d3 Fixing regression bug 244178. Don't advertise the charset of a docshell that was loaded from a wyciwyg channel since the stored charset has no relationship to the original charset any more. r=bzbarsky@mit.edu, sr=darin@meer.net 2004-05-20 22:47:20 +00:00
roc+%cs.cmu.edu f1f89a9129 Backing out 233441. 2004-05-17 16:29:13 +00:00
mvl%exedo.nl 2f908209a7 Make content policy api (nsIContentPolicy) not suck.
bug 191839. Original patch and hard work by Tim <riceman+bmo@mail.rit.edu>, r=bzbarsky (on backend stuff), r=neil (on the tabbrowser stuff), sr=bzbarsky
2004-05-13 18:34:18 +00:00
jst%mozilla.jstenback.com 94fc777387 Fixing bug 243213. Don't waste time looking up the nsIURIFixup service for every docshell, and move some members around to make things align up and pack better on some 64-bit platforms. r=bzbarsky@mit.edu, sr=darin@meer.net 2004-05-11 00:12:09 +00:00
roc+%cs.cmu.edu e508d2a0ad Bug 233441. Make nsViewManager always have a root view, you can't change it. r+sr=dbaron 2004-05-06 03:17:14 +00:00
bryner%brianryner.com f9f55ca33e deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
gerv%gerv.net 692411203a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
cbiesinger%web.de 3c212719bf bug 239604. make uriloader more doxygen friendly, and remove unused "command"
parameter from nsIContentHandler::handleContent, and change the type of
aWindowContext to nsIInterfaceRequestor.
r=bzbarsky sr=darin
2004-04-16 21:06:07 +00:00
bzbarsky%mit.edu e5724471fc When creating a frame after a page has loaded and loading a new document into
it, don't try to treat it as a subframe history traversal, since there is no
original history entry involved so the cloning operation fails.  Just append
the session history entry for the newly loaded frame to the history entry for
the page as we would have if the load were done during pageload.  Bug 237717,
r=adamlock, sr=darin
2004-04-13 01:42:40 +00:00
bryner%brianryner.com d6b0d386ee deCOMtaminate nsIPresContext::GetEventStateManager. Bug 229371, r+sr=roc. 2004-02-27 17:17:37 +00:00
bzbarsky%mit.edu 7319d997b5 Make sure to init mValidateOrigin in the constructor. Bug 234030, patch by
Malcolm Rowe <malcolm-bmo@farside.org.uk>, r=peterv, sr=bzbarsky
2004-02-24 19:23:20 +00:00
cbiesinger%web.de 35fa66391e Bug 234030 this makes docshell use the correct default value for prefs if they don't exist
r=peterv sr=bzbarsky a=chofman
2004-02-12 18:49:15 +00:00
bzbarsky%mit.edu 09e79ec17b Fix bug 232798 -- make sure to set the link handler on the prescontext to null
when destroying the document viewer.  r+sr=jst
2004-02-11 06:48:37 +00:00
jst%mozilla.jstenback.com 6ca4c1a78e Fixing bug 68215. Adding support for the onbeforeunload event. r=peterv@propagandism.org, sr=brendan@mozilla.org 2004-02-11 06:09:51 +00:00
bsmedberg%covad.net 7a922f66fd Bug 224829 - docshell should not require non-gecko interface nsIBrowserHistory. This was fixed by introducing a new interface nsIGlobalHistory2 to replace the current nsIGlobalHistory. There are two-way adapters so that the frozen interface still works. r=biesi sr=bz a=mscott for toolkit/ changes. 2004-02-11 02:10:04 +00:00
jst%mozilla.jstenback.com 8b6dc1c3ca Fixing bug 233307. deCOMtaminating nsIScript* and related interfaces. r+sr=bryner@brianryner.com. 2004-02-09 22:48:53 +00:00
bryner%brianryner.com d4f13c3ba7 Inline getters and setters for scaling factors on nsIDeviceContext. Bug 233103, r+sr=dbaron. 2004-02-05 01:57:10 +00:00
jst%mozilla.jstenback.com f082a6d5c8 Checking in patch from psolanki@myrealbox.com for bug 232417. DeCOMtaminating nsIHTMLDocument. r+sr=jst@mozilla.jstenback.com 2004-02-03 23:23:10 +00:00
jst%mozilla.jstenback.com 1804c4910c Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
jst%mozilla.jstenback.com 4ab234b8be General deCOMtamination of nsIDocument, nsIContent, and nsIFormSubmission. Eliminating nsIAttributeContent, and doing some URL->URI changes. r+sr=peterv@propagandism.org 2004-01-09 23:54:21 +00:00
bzbarsky%mit.edu b68940b3af Change logic for detecting whether two loads with the same URI (up to anchor)
are actually different to be smarter about dealing with postdata (both loads
may have postdata and may be the same or different depending on what that post
data is).  Bug 227554, r=adamlock, sr=darin
2004-01-08 04:23:22 +00:00
bzbarsky%mit.edu 1b20c441b4 History loads should never lead to creation of new session history entries.
Bug 227672, r=adamlock, sr=darin
2004-01-08 04:18:08 +00:00
peter%propagandism.org a42e149448 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 16:48:40 +00:00
bryner%brianryner.com 7264501b7b Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky. 2003-12-21 05:36:36 +00:00
bryner%brianryner.com a0e219b348 deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst. 2003-10-22 06:09:48 +00:00
caillon%returnzero.com de3d3fbf61 Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
2003-10-21 22:11:49 +00:00
bzbarsky%mit.edu 58eca2c86c Implement support for the "type" attribute of <a> elements. Bug 214626,
r=adamlock, sr=darin
2003-10-03 22:11:47 +00:00
uid502 6bed557bd4 Bug 190735. Final patch for deCOMtamination of core nsIFrame methods! rs=dbaron 2003-09-23 17:05:29 +00:00
timeless%mozdev.org 2994c4573e Bug 217886 frame structure gets lost in builds since 20030826
patch by mpconnor@rogers.com r=bz sr=bz a=brendan
2003-09-04 02:23:20 +00:00
caillon%returnzero.com c11c6acb17 Backing out the patch to bug 83536.
I will reland this when 1.6a re-opens.
r+sr=jst@netscape.com
a=chofmann
2003-08-22 03:06:53 +00:00
bryner%brianryner.com 63cd8e61d6 Fix focus not being restored correctly after unminimizing a window on Win32 (bug 212556). r=ere@atp.fi, sr=jst@netscape.com, a=asa. 2003-08-12 06:43:48 +00:00
hyatt%mozilla.org afa87ac239 Fix for 215041, add support for WinIE's _main target for sidebars (it's identical to _content), r=hixie, sr=ben 2003-08-04 18:33:24 +00:00
jaggernaut%netscape.com f1efc20ae6 Bug 213602: Switch some users of NS_GetWeakReference over to do_GetWeakReference. r=bzbarsky, sr=dbaron 2003-07-25 19:06:59 +00:00
caillon%returnzero.com 9c22160a4b Bug 83536.
Merge script principal implementations into one class.
Should reduce footprint, speed up calls to caps a little bit, and fixes several memory leaks.
Also fixes bugs 211174 and 211263
r=jst@netscape.com
sr=bzbarsky@mit.edu
moa=mstoltz@netscape.com (he looked at an earlier patch and said it looked fine, and will do a retroactive review when he returns from vacation as well)
2003-07-24 05:15:20 +00:00
jaggernaut%netscape.com ef99140d6d Bug 213601: Switch some users of NS_NewAtom over to do_GetAtom. r=bzbarsky, sr=dbaron 2003-07-24 04:53:13 +00:00
caillon%returnzero.com e0d1287452 Bug 213595 - Check for OOM. r=bzbarsky@mit.edu sr=darin@meer.net 2003-07-24 02:43:32 +00:00
bzbarsky%mit.edu 059314e2a3 Make it possible to go back to a url even if it included an anchor that was not
found.  Bug 205213, r=jag, sr=dbaron
2003-07-08 19:17:54 +00:00
bzbarsky%mit.edu 2d5494c9f5 Make URI fixup work with UTF8 strings, mostly... Bug 211181, r=adamlock, sr=darin 2003-07-02 00:39:51 +00:00
timeless%mozdev.org 2be6473e50 Bug 58613 "last page visited" cannot handle framed pages properly
patch by ian@arlen.demon.co.uk r=timeless sr=alecf
2003-06-22 17:46:13 +00:00
locka%iol.ie fae339dc41 On behalf of zack-weg@gmx.de. Add pointer check to prevent crash on js links. b=173308 r=adamlock@netscape.com sr=alecf@netscape.com 2003-06-20 18:12:02 +00:00
dbaron%dbaron.org 42b06cc4f5 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc 2003-06-19 23:44:01 +00:00
alecf%flett.org 5614718dd3 fix for bug 209220 - now that i18n APIs take ASCII charset names, update consumers to avoid excess conversions.. which usually means storing charset names as ASCII and updating a few other APIs
r=jkeiser, sr=jst and some great comments from jshin@mailaps.org
2003-06-17 16:40:34 +00:00
caillon%returnzero.com ba75de772b Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com
2003-06-13 20:10:01 +00:00
jaggernaut%netscape.com 1decc3f74c Bug 203960: Make bookmark groups replace existing tabs instead of appending. r=jkeiser, varga, adamlock, sr=jst, hewitt 2003-05-30 00:21:01 +00:00
jst%netscape.com 117e64901e Fixing bug 205474. Making window.open() (and other ways to target things into existing windows) not reuse already closed windows. r=caillon@aillon.org, sr=bzbarsky@mit.edu 2003-05-29 00:48:35 +00:00
locka%iol.ie f3e520841e Check for invalid combination of load flags. b=87353 r=radha@netscape.com sr=blizzard@mozilla.org 2003-05-26 12:14:17 +00:00
danm%netscape.com 4e1ef6e81c revert rev 1.524 because of regression bug 199471. code=radha r=me 2003-05-23 21:47:47 +00:00
danm%netscape.com 7a66851a45 partially revert rev 1.530 because of regression bug 201108. this will also be on the 1.4 branch. code=radha r=darin,me 2003-05-23 21:42:23 +00:00
jst%netscape.com ed99f57913 Fixing bug 130265. Don't stop current network activity when loading javascript: URL's unless the URL results in data to parse. r=adamlock@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org 2003-05-15 01:23:26 +00:00
brade%netscape.com 92e98db7c0 whitespace change for adamlock r=cmanske; sr=sfraser; a=asa bug 203365 2003-05-09 18:27:47 +00:00
sspitzer%netscape.com 474289abee fix for security bug #51631
prevent auth UI from coming up from inside messages
sr=darin, r=bienvenu, a=sspitzer
2003-04-25 23:29:17 +00:00
peterlubczynski%netscape.com bbcd7ca888 Removing nsPluginViewer.cpp and friends, bug 195502, r=jkeiser, sr=alecf, a=asa 2003-04-25 00:21:12 +00:00
jst%netscape.com 0033534ef9 Fixing bug 199489. Crash when changing iframe visibility from within the iframe. r=adamlock@netscape.com, sr=heikki@netscape.com. 2003-04-18 18:55:10 +00:00
sfraser%netscape.com 4179b1aaf9 Fix crasher bug 202439 by properly refcounting the transferable hook list. r=brade, sr=bz/me. 2003-04-18 02:03:44 +00:00
brade%netscape.com 0537180f30 fix windows bustage sr=kin 2003-04-17 15:37:16 +00:00
brade%netscape.com 7e3719087c fix return type for EnsureTransferableDataHook 2003-04-17 15:22:52 +00:00
brade%netscape.com 1668327c97 docshell changes for drag/drop/copy/paste hooks (bug 197121) r=adamlock, sr=smfr 2003-04-17 13:16:05 +00:00
locka%iol.ie 351b9851ee Don't stop at space chars when reading URL from meta refresh. b=191207 r=alecf@netscape.com sr=bzbarsky@mit.edu 2003-04-04 15:16:53 +00:00
locka%iol.ie a98b520aa1 Ignore meta refresh values that supply negative numbers. b=149543 r=alecf@netscape.com sr=bzbarsky@mit.edu 2003-04-04 11:45:53 +00:00
radha%netscape.com 9d0dbd281a Fix for bug # 180598. link within a page created by a POST, then RELOAD, POST data is lost. r=adamlock sr=alecf 2003-03-27 20:51:31 +00:00
nisheeth%netscape.com 9afe9e6007 Fix for bug 197127. r=alecf, sr=heikki. Mark clicked JS urls as hidden in global history. Don't let clicked data urls enter global history. 2003-03-25 23:13:10 +00:00
timeless%mozdev.org 965ba28bb1 Bug 106386 rid source of misspellings
patch by nb@ipnode.info r=biesi sr=dmose
2003-03-24 04:15:34 +00:00
dougt%netscape.com be629223b6 Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
radha%netscape.com 31cbfd1f33 Fix for bug # 166736. clicking on view image while page is loading causes the back button to notgo to the last page, but the page before last. r=adamlock sr=alecf. 2003-03-13 19:58:23 +00:00
roc+%cs.cmu.edu f295b9b118 Bug 183905. Allow horizontal scrolling with mouse sticks. Patch by Dainis_Jonitis, r+sr=roc+moz 2003-03-12 03:22:11 +00:00
locka%iol.ie 5afc67f9b3 Skip whitespace in middle of meta refresh string. b=196346 r=radha@netscape.com sr=darin@netscape.com 2003-03-11 21:15:01 +00:00
nisheeth%netscape.com 8133130071 Fix for bug 161531. r=mstoltz@netscape.com, sr=jst@netscape.com. Fix coded up by Steve Morse. Don't add javascript: and data: link clicks to global history. 2003-03-07 08:02:31 +00:00
radha%netscape.com e6fcf9e508 Fix for bug #162128. Find a usable base uri for urls loaded through javascript.
r=jst sr=darin.
2003-03-05 22:23:47 +00:00
radha%netscape.com 6c9f9af676 Patch to bug # 179633. Return the proper result from ScrollIfAnchor() to the
caller to take care of traversals to invalid targets in a page. r=adamlock, sr=alecf
2003-03-05 21:41:02 +00:00
radha%netscape.com 7a3ea6ea1e Fix for bug # 148794. Check if the load is to a iframe and if so, do not add
it to session history.
2003-03-05 21:37:20 +00:00
cbiesinger%web.de d3db8bc590 195477 r=jst sr=bzbarsky bustage fix of this morning not ideal 2003-03-01 12:59:01 +00:00
sspitzer%netscape.com 93bd3b0f86 fix for blocker bug #195386. regression caused by checkin for bug #97324
thanks to cbiesinger@web.de for the quick fix.  r/sr=sspitzer
2003-02-28 17:23:52 +00:00
cbiesinger%web.de b12a4c4241 97324 r=peterl/jst sr=jst/bz nsContentDLF.cpp should not use a static list of image types; also: 192023 Make DocLoaderFactories a service 2003-02-27 13:51:55 +00:00
danm%netscape.com 5657505b12 implement new property nsIBaseWindow::blurSuppression. bug 68454 r=bryner,jst 2003-02-24 20:15:39 +00:00
nisheeth%netscape.com 093c51b923 Fix bug 193347. r/sr=alecf. a=dbaron. Remove autocomplete learning and data collection code from nsGlobalHistory.cpp now that it is no longer needed. 2003-02-21 05:08:12 +00:00
locka%iol.ie 2c285c0b06 Better explain nsIWebNavigation "document" attribute, fix spelling of "referringURI" attribute. b=192322 r=danm@netscape.com sr=bzbarsky@mit.edu a=asa@mozilla.org 2003-02-12 23:50:14 +00:00
locka%iol.ie bdf851c04f Ignore decimal point when deciding if meta refresh contains garbage. r=radha@netscape.com sr=alecf@netscape.com a=asa@mozilla.org 2003-02-03 13:11:40 +00:00
ccarlen%netscape.com 59d0bc88e1 Bug 189222 - TestGtkEmbed crashes when clicking on link. r=nisheeth/sr=dbaron/a=dbaron 2003-01-29 22:03:08 +00:00
bzbarsky%mit.edu 05cba973f2 Scrolling to some anchors broken (charset issues). Bug 190886,
r+sr=dbaron, a=asa
2003-01-29 04:18:59 +00:00
locka%iol.ie 89e5e0ac9b Ignore ";URL=" meta refreshes and tolerate some other mistakes. b=170021 r=radha@netscape.com sr=alecf@netscape.com a=asa@mozilla.org 2003-01-27 10:18:56 +00:00
radha%netscape.com bf8d1f829d Fix for bug # 166799. r= adamlock sr=alecf. Use LOAD_NORMAL_REPLACE for loads from onLoad Handler. 2003-01-21 04:10:56 +00:00
darin%netscape.com 8f284ed984 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
dbaron%dbaron.org b0da06ed7e Implement CSS3 :target pseudo-class, which matches the target of the fragment identifier of the document's URL. Change the semantics of nsIPresShell::GoToAnchor by requiring that it be called whenever the current target changes, with an additional boolean parameter specifying whether to scroll. b=188734 r=glazman sr=bzbarsky 2003-01-13 23:10:53 +00:00
nisheeth%netscape.com 1d197c1bbc Ongoing work for bug 182366. Use machine learning techniques to sort autocomplete results. r=heikki. sr=hewitt. 2003-01-13 22:23:41 +00:00
bryner%netscape.com 26d5c6ff25 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
locka%iol.ie a734e1313e Add cache key, referrer and extra headers parameters to nsIWebBrowserPersist::saveURI b=170722 r=bzbarsky@mit.edu sr=darin@netscape.com 2003-01-08 23:53:10 +00:00
dbaron%dbaron.org 0b5c7134c9 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:35:36 +00:00
bratell%lysator.liu.se f31eb0f706 Backout of bug 110718 to fix Tp regression and raise-on-load issues. 2002-12-15 19:52:22 +00:00
aaronl%netscape.com d4c8730ea4 Bug 110718. During the 'transferring' when the currently visible document is a zombie, the keyboard is dead for the entire document. r=bryner, sr=hyatt+scc 2002-12-14 08:05:51 +00:00
aaronl%netscape.com f2bde41434 Bug 181910. Click on 2 links in quick succession, onload has problems with final loaded page. r=rpotts, sr=jst 2002-12-14 00:46:37 +00:00
locka%iol.ie d75f173614 Implement headers arg on nsIWebNavigation::loadURI b=181903 r=bryner@netscape.com sr=rpotts@netscape.com 2002-12-12 23:10:59 +00:00
darin%netscape.com 703bf724e3 fixes bug 56629 "Proxy: Client->Proxy connection errors should show proxy,
not target hostname" r=bbaetz, sr=rpotts
2002-12-04 04:18:08 +00:00
shanjian%netscape.com 5bf68c2db8 #168582 POST document is not displayed correctly in new window
carry over charset to new window.
r=ftang, sr=jst
2002-11-27 19:53:56 +00:00
bzbarsky%mit.edu 3df7cd260a need this error check... part of patch for bug 86486, r=adamlock, sr=darin 2002-11-23 05:17:09 +00:00
darin%netscape.com 9b3557c713 fixes bug 157133 "HTTP Interfaces need to be frozen" r=dougt sr=bzbarsky 2002-11-22 07:40:16 +00:00
bzbarsky%mit.edu d06f507554 Links with unknown protocol should report an error when clicked on. Bug 86486,
r=adamlock, sr=darin
2002-11-20 22:58:57 +00:00
brade%netscape.com c0842ca2b9 put delete of editor data earlier in deletion process (as approved in bug 180146); r=cmanske, sr=sfraser 2002-11-20 14:03:01 +00:00
cmanske%netscape.com c0c570c34e Fixed nsDocShell leak and nsEditingSession init after forced reload of document. b=180146, r=cmanske, sr=sfraser 2002-11-20 06:23:05 +00:00
bzbarsky%mit.edu 4d094c04fc Make nsILinkHandler take uris instead of strings. Bug 176904, r=darin, sr=jst 2002-11-20 00:44:26 +00:00
ducarroz%netscape.com 3d53faaf0c Fix for bug 110729. Prevent mail display pane to open a pluging in full page mode. Fix also an uninitialized pointer. Patch provided by av. R=ducarroz, SR=beard 2002-11-19 15:30:03 +00:00
darin%netscape.com 978883d928 fixes bug 173094 "Freeze nsIUploadChannel" r=dougt,timeless sr=rpotts 2002-11-14 20:36:20 +00:00