133 Commits

Author SHA1 Message Date
bsmedberg%covad.net
d436ad454d 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.
git-svn-id: svn://10.0.0.236/trunk@152632 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-11 02:10:04 +00:00
dbaron%dbaron.org
ffacc651a3 Fix firebird and thunderbird bustage by unforking contents of nsIGlobalHistory (which was frozen) and by tweaking the root Makefile.in. b=212509 r=mscott
git-svn-id: svn://10.0.0.236/trunk@144981 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-19 21:19:12 +00:00
ccarlen%netscape.com
e635c920e4 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
git-svn-id: svn://10.0.0.236/trunk@143763 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-16 14:59:23 +00:00
aaronl%netscape.com
60b1c05bf1 Bug 194968. Use content id properly to expose whether window is content vs. UI. r/sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@139051 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-06 23:07:00 +00:00
danm%netscape.com
2e703a2416 implement new property nsIBaseWindow::blurSuppression. bug 68454 r=bryner,jst
git-svn-id: svn://10.0.0.236/trunk@138363 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-24 20:15:39 +00:00
locka%iol.ie
0548ea08af Better explain nsIWebNavigation "document" attribute, fix spelling of "referringURI" attribute. b=192322 r=danm@netscape.com sr=bzbarsky@mit.edu a=asa@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@137737 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-12 23:50:14 +00:00
locka%iol.ie
fe8a1ddb91 Add cache key, referrer and extra headers parameters to nsIWebBrowserPersist::saveURI b=170722 r=bzbarsky@mit.edu sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@136030 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 23:53:10 +00:00
dbaron%dbaron.org
daa2fa4b45 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@135995 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 19:51:43 +00:00
hewitt%netscape.com
177ff8cc27 moving phoenix history from browser to toolkit to fix bustage, sr=bryner
git-svn-id: svn://10.0.0.236/trunk@130687 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-28 21:54:00 +00:00
hewitt%netscape.com
274e6a552f 165955 - build changes for phoenix due to forking history, r=bryner, sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@130656 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-28 10:51:20 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
henry.jia%sun.com
148ed167a2 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


git-svn-id: svn://10.0.0.236/trunk@126456 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-06 06:20:45 +00:00
aaronl%netscape.com
0b7c95c9b7 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
git-svn-id: svn://10.0.0.236/trunk@126193 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-01 23:12:38 +00:00
rpotts%netscape.com
07329cd38e bug #46856 (r=valeski, sr=darin). API Changes to nsIWebProgress/nsIWebProgressListener)
git-svn-id: svn://10.0.0.236/trunk@121674 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 20:57:37 +00:00
rods%netscape.com
29c0c5d959 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


git-svn-id: svn://10.0.0.236/trunk@121463 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-14 12:05:00 +00:00
saari%netscape.com
23a534e482 fix for bugzilla 142138, null checks to prevent exploding when processing an activate event during window tear down. sr=jag, r=chak
git-svn-id: svn://10.0.0.236/trunk@120859 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-06 20:35:17 +00:00
tor%cs.brown.edu
29d05986a2 Bug 137685 - gamma correction causing black backgrounds in embedding.
r=brendan, sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@119642 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-23 23:21:25 +00:00
jaggernaut%netscape.com
58497aa0c1 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>.


git-svn-id: svn://10.0.0.236/trunk@116967 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 09:57:35 +00:00
ccarlen%netscape.com
51d7af11df 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
git-svn-id: svn://10.0.0.236/trunk@116228 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-08 23:58:50 +00:00
danm%netscape.com
a4ebf6625d implement new attribute nsIBaseWindow::enabled. bug 126786 r=hyatt,rginda a=asa
git-svn-id: svn://10.0.0.236/trunk@115519 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 23:22:55 +00:00
danm%netscape.com
6a157faf91 stifle infinite focus/activation recursion. bug 124299 r=hyatt,jst
git-svn-id: svn://10.0.0.236/trunk@113959 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 01:01:21 +00:00
rods%netscape.com
20b4083174 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


git-svn-id: svn://10.0.0.236/trunk@113419 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 14:52:11 +00:00
danm%netscape.com
1bc8d80e04 deactivate root focus controller as well as your own while deactivating yourself. bug 122462 / bugscape 11864 code=saari,myself r=bryner,hyatt
git-svn-id: svn://10.0.0.236/trunk@113151 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:42:07 +00:00
rods%netscape.com
3f5c6877d0 Get whther we are printing silent from the PrintSettings
76456 r=rods sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@112817 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 02:47:01 +00:00
locka%iol.ie
6c97ab4824 New parameters for nsIWebBrowserPersist saveURI & saveDocument. Caller may now specify target file as a uri or a file saveDocument has new flags for controlling encoding and line wrapping behaviour. b=110135 r=brade@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@112061 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 12:41:27 +00:00
rods%netscape.com
ee8a5e4640 Switch public interfaces from nsIPrintOptions to nsIPrintSettings
Enabling XP Print Dialog for Windows
Enabling XP Print Progress Dialog
Enabling XP Page Setup Dialog
Fixing nsPrintPreviewContext to use nsIPrintPreviewContext
Bug 113917 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@111213 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 12:58:53 +00:00
rpotts%netscape.com
2faee254d0 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes...
git-svn-id: svn://10.0.0.236/trunk@109390 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-30 22:35:33 +00:00
rods%netscape.com
fdb6cf0011 Change nsIWebBrowserPrint.h interface to use nsIPrintSettings
Also added minimal PageSetup dialog with support for Printing BGColors, BGIMages, and Scaling
Bug 108345 r=dcone,chak sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@108895 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-26 12:51:39 +00:00
locka%iol.ie
43ef9be61e Move webbrowserpersist code to components/ directory. b=106554 r=brade@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106952 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 14:39:26 +00:00
dbaron%fas.harvard.edu
9ef49bf676 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974
git-svn-id: svn://10.0.0.236/trunk@106235 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:21:53 +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
dbaron%fas.harvard.edu
f19aafd138 Remove duplication of code between implementations of nsILookAndFeel and nsIDeviceContext by removing system color and metric implementations from nsIDeviceContext implementations and changing nsIDeviceContext::GetSystemAttribute to nsIDeviceContext::GetSystemFont. b=96971 r=bryner sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104391 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-02 03:10:56 +00:00
radha%netscape.com
7dff3383c9 Fix for tree bustage related to bug # 100993. Include nsISHistoryListener.
git-svn-id: svn://10.0.0.236/trunk@104347 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 21:07:26 +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
waterson%netscape.com
5d084dbd37 Back out chak until he can figure out how to build w/o necessarily requiring PSM.
git-svn-id: svn://10.0.0.236/trunk@103872 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 22:56:25 +00:00
chak%netscape.com
f13cc682dd Fix for #94974 - Provide an interface for embeddors to access security info
r=rpotts,thayes
sr=rpotts


git-svn-id: svn://10.0.0.236/trunk@103851 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 19:52:20 +00:00
locka%iol.ie
2101bdc168 The all new web browser persist object plus changes to the assorted embedding samples to use it. b=77909 r=ccarlen@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@103594 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-23 21:03:03 +00:00
valeski%netscape.com
8db35965a8 r=dbaron, sr=dougt. 97667. nsIInterfaceRequestor is now frozen. nsIInterfaceRequestorUtils.h is now required if you want to use do_GetInterface() for convenience. The two were split because the stuff that is now in nsIInterfaceRequestorUtils.h wasn't ready for freezing. Also, .idl files should just contain interface defs anyway.
git-svn-id: svn://10.0.0.236/trunk@102327 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 21:28:38 +00:00
dcone%netscape.com
cd5bb0fac0 b=95339 Check the aPrintOptions for null. Fixes embedding silent. r=rods sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@101212 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-16 13:58:38 +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
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
9359000a40 Header include dependency cleanup. b=64023 r=jag rs=brendan
git-svn-id: svn://10.0.0.236/trunk@99299 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-16 02:40:48 +00:00
dcone%netscape.com
78d5cbb2f4 Added code to use silent printing. b=76456 r=dcone sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@98881 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-09 14:40:37 +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
bryner%uiuc.edu
c859fec205 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.
git-svn-id: svn://10.0.0.236/trunk@97913 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-26 01:19:11 +00:00
blizzard%redhat.com
b7d576b7aa Fix blocker bug #85703. Crashes on popup windows. r=adamlock,sr=tor,a=asa
git-svn-id: svn://10.0.0.236/trunk@97155 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-14 17:42:16 +00:00
chak%netscape.com
5daf9746c3 Fix for 81796 - Enable SecureBrowserUI for embedding apps
r=ccarlen, sr=blizzard, a=dbaron


git-svn-id: svn://10.0.0.236/trunk@96209 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-02 00:35:39 +00:00
valeski%netscape.com
c0bc1e0c56 r=adamlock. missing break statement
git-svn-id: svn://10.0.0.236/trunk@95632 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 23:20:18 +00:00
valeski%netscape.com
4cd7a0dc5d 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.
git-svn-id: svn://10.0.0.236/trunk@95622 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-21 22:42:46 +00:00