Commit Graph

211 Commits

Author SHA1 Message Date
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
2705fab00f Move nsIDocShellTreeItem::childOffset to nsDocShell and remove all uses except internally by nsDocShell (it should be removed eventually). b=376562 r=Olli.Pettay sr=bzbarsky 2007-05-17 20:49:14 -07:00
98cc8977cb Make nsIDocShellTreeItem inherit from nsIDocShellTreeNode. Bug 377303,r=bsmedberg, sr=biesi 2007-05-06 14:06:28 -07:00
bzbarsky@mit.edu
6fff95e9ef Call the function we actually want to call. Bug 343149, patch by Mikhail
Zabaluev <mhz@altlinux.org>, r=bsmedberg, sr=bzbarsky
2006-06-29 18:08:39 +00:00
bzbarsky@mit.edu
11c62e6816 Don't try to enable global history if we were told not to. Bug 334846,
r=bsmedberg, sr=darin
2006-05-01 03:47:12 +00:00
bryner@brianryner.com
6a57d0733c Clean up header includes (bug 331050). This round of changes deals with some of the public content headers, and factors nsDOMClassInfoID out of nsIDOMClassInfo.h so that nsContentUtils.h doesn't have to bring in XPConnect. r+sr=jst. 2006-03-22 18:36:36 +00:00
bzbarsky@mit.edu
f2f510d214 Don't throw NS_ERROR_INVALID_ARG if listeners are added before window creation
-- it's a perfectly valid thing to do.  Bug 309232, r+sr=darin
2006-01-09 22:20:30 +00:00
dougt@meer.net
031c929b87 This fixes the NS_PRINTING configure option which got broken at some point. b=308629 r/sr=jst@mozilla.org 2005-09-16 02:25:37 +00:00
smfr@smfr.org
3bad110d04 Fix bug 305662: fix leakage of nsWebShell and entrained data by breaking a ref cycle between the docShell and nsISecureBrowserUI in a place that works for both embedders and the suite. r=bryner, sr=bz 2005-08-23 23:48:47 +00:00
smfr@smfr.org
18d474d9df Fix bug 302962. When someone calls Activate() or Deactivate() on an nsWebBrowser which doesn't have a content viewer yet (and hence no pres shell), don't just bail because nsGlobalWindow will complain. Instead, change nsDocShell to make the content viewer on demand, and go ahead and pass the activate/deactivate onto the dom window. This fixes a serious focus bug in Camino.
r/sr=bryner, a=bsmdedberg.
2005-08-06 20:28:42 +00:00
bryner@brianryner.com
9d9b2e7a47 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
cbiesinger@web.de
d518b90dd2 Bug 289650 nsIWebBrowserPersist should inherit from nsICancelable
r=darin sr=bz a=asa
2005-04-10 12:37:36 +00:00
pedemont@us.ibm.com
8e333b2ff9 Bug 256911 - Implement weakref support for SetWebBrowserChrome. r=darin, sr=shaver 2005-02-04 23:32:32 +00:00
jst@mozilla.jstenback.com
b8059935da 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
bzbarsky@mit.edu
676f03a288 Remove the long-deprecated nsIWebShell interface. Bug 273319, r=biesi, sr=jst. 2005-01-03 22:51:17 +00:00
bzbarsky@mit.edu
277a392da1 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
cbiesinger@web.de
583f740685 265333 change nsIWebBrowserStream in preparation of freezing:
- make it take nsIURI as base URI, for IDN support and correct charset handling
- use an octet array instead of string for binary data
- use ACString for the mime type
- improve documentation

r=marco sr=darin
2004-11-12 22:47:50 +00:00
pedemont@us.ibm.com
7873a6b054 Bug 265253 - RemoveWebBrowserListener incorrectly passes nsIWeakRef. r+sr=darin 2004-10-25 15:47:54 +00:00
bryner@brianryner.com
30bdc747d6 Fix gtk2 embedding crash from bug 121264. r+sr+a=blizzard. 2004-09-24 19:56:44 +00:00
cbiesinger@web.de
099ca05085 Bug 228603 nsIWebBrowserPersist should have a saveChannel method
r=adamlock sr=darin
2004-09-07 14:42:23 +00:00
dbaron@dbaron.org
d24b2e213e 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
fd73f4f5e2 Back out previous round of bug 72747 changes due to Tp regression. 2004-09-04 08:34:55 +00:00
dbaron@dbaron.org
eae89236f3 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
2cdc552cce Back out the rest of bug 72747 due to Tp regression. 2004-08-27 01:26:55 +00:00
dbaron@dbaron.org
f2ad5967af 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
bsmedberg@covad.net
56bcc480bd Parts of bug 205425 - turn the embedding widget into a GRE client - patch by marco@gnome.org r=me sr=blizzard 2004-05-29 17:43:59 +00:00
bryner@brianryner.com
d509d3c6ba deCOMtaminate nsPIDOMWindow (bug 242111). r+sr=jst. 2004-05-03 21:48:36 +00:00
gerv@gerv.net
4ba0518141 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
bsmedberg@covad.net
9bace4bf49 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
dbaron@dbaron.org
ff17e173e7 Fix firebird and thunderbird bustage by unforking contents of nsIGlobalHistory (which was frozen) and by tweaking the root Makefile.in. b=212509 r=mscott 2003-07-19 21:19:12 +00:00
ccarlen@netscape.com
a3c12a0024 Bug 161623 - Mac embedding APIs are burdensome compared to other platforms because the embeddor must create a top level nsIWidget instead of passing a native one. r=pink/sr=sfraser 2003-06-16 14:59:23 +00:00
aaronl@netscape.com
598b39f46a Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz 2003-03-06 23:07:00 +00:00
danm@netscape.com
669c094ec0 implement new property nsIBaseWindow::blurSuppression. bug 68454 r=bryner,jst 2003-02-24 20:15:39 +00:00
locka@iol.ie
2d5335abf7 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
118c63e265 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
f214c6bf25 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 19:51:43 +00:00
hewitt@netscape.com
3f634870f1 moving phoenix history from browser to toolkit to fix bustage, sr=bryner 2002-09-28 21:54:00 +00:00
hewitt@netscape.com
c1321c2342 165955 - build changes for phoenix due to forking history, r=bryner, sr=hyatt 2002-09-28 10:51:20 +00:00
dougt@netscape.com
46ce738546 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
henry.jia@sun.com
9f6586e3fd 5th patch for bug 158080
Description: replace the hardcode of @mozilla.org/embedcomp/window-watcher;1 with NS_WINDOWWATCHER_CONTRACTID
Patch by Henry.Jia@sun.com
r=anto, sr=alecf
2002-08-06 06:20:45 +00:00
aaronl@netscape.com
b8f8da1995 Bug 160188. Accessibility: In Windows, use Control ID for a window to indicate whether the window is content or UI. r=saari,blythe, sr=hewitt 2002-08-01 23:12:38 +00:00
rpotts@netscape.com
debec6e525 bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener) 2002-05-16 20:57:37 +00:00
rods@netscape.com
3fa11d680f This patch does the following:
1) Introduces a new public interface nsIPrintSettingService which emables consumers to create PS objects whithout a nsIWebBrowserPrint interface
2) The implementation is nsPrintOptionsImpl which now impls the private interface nsIPrintOptions and the public iface nsIPrintSettingsService
3) Several methods/attrs have been moved from nsIWebBrowserPrint iface to nsIPrintSettingsService
4) The CIDs for nsIPrintOptions and nsIPrinSettingsService are now the same.
5) There is no longer a CID "@mozilla.org/gfx/printoptions;1"
6) nsIWebBrowserPrint still has the "globalPrintSettings" attr so if you already have an nsIWebBrowserPrint you don't have to create the PS Service to get it.
7) A bug has been filed to rename the imlp of nsPrintOptionsImpl to nsPrintSettingsService.
Bug 144128 r=dcone sr=attinasi
2002-05-14 12:05:00 +00:00
saari@netscape.com
83b18a5032 fix for bugzilla 142138, null checks to prevent exploding when processing an activate event during window tear down. sr=jag, r=chak 2002-05-06 20:35:17 +00:00
tor@cs.brown.edu
341e94b073 Bug 137685 - gamma correction causing black backgrounds in embedding.
r=brendan, sr=hyatt
2002-04-23 23:21:25 +00:00
jaggernaut@netscape.com
57ec8aaff9 Bug 101723: security icon only works for the first tab
Bug 117203: Insecure POST warning only comes up for first tab
Bug 120043: Page Info shows information about a page in the first tab
r=sgehani, r=kaie/ddrinan (for security stuff), sr=sspitzer (for mail/news stuff), sr=hyatt, a=asa. Work based on patch by Smaug <smaug@jippii.fi>.
2002-03-20 09:57:35 +00:00
ccarlen@netscape.com
bcc7a3de28 Bug 129288 - Changing font size from XUL prefs dialog crashes PPEmbed. It's because the XUL pref window's docshell is typeContent, not typeChrome. r=adamlock/sr=alecf/a=asa 2002-03-08 23:58:50 +00:00
danm@netscape.com
1a846bd60c implement new attribute nsIBaseWindow::enabled. bug 126786 r=hyatt,rginda a=asa 2002-02-28 23:22:55 +00:00
danm@netscape.com
e4c490e245 stifle infinite focus/activation recursion. bug 124299 r=hyatt,jst 2002-02-08 01:01:21 +00:00
rods@netscape.com
5047c1117d 1) Removes the arg of nsIDOMWindow in the nsIWebBrowserPrint calls
2) Adds a couple of new methods and an attr to nsIWebBrowserPrint (navigate, is frameset, & exitPP)
3) Removes all but one method from nsIContentViewerFile.idl/h the remaining call is for print regression testing
4) Removes the "static" implementation of nsIContentViewerFile.h
5) Fixed up nsIContentViewerFile.idl and turned it back on so it is now generating the header file
6) Removed all uses of nsIContentViewerFile.h except for the WebCrawler (uses it for Printing Regression testing)
7) nsDocumentViewer.cpp now implements nsIWebBrowserPrint.idl this makes it easier to add new print functionality in one place
8) You can now ask an instance of the ContentViewer for a nsIWebBrowserPrint to do printing (it retruns the nsIWebBrowserPrint interface implemented by the nsDocumentViewer)
9) Anybody who was using nsIContentViewerFile to print will now use nsIWebBrowserPrint
10) You can now do a "GetInterface()" on a GlobalWindow for a nsIWebBrowserPrint
11) The browser UI now uses the GetInterface on the GlobalWindow to get a nsIWebBrowserPrint object to do printing and this can be used for all printing functionality
Bug 120622 r=dcone sr=waterson
2002-02-01 14:52:11 +00:00