Commit Graph

226 Commits

Author SHA1 Message Date
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
danm@netscape.com
6bf40e6516 deactivate root focus controller as well as your own while deactivating yourself. bug 122462 / bugscape 11864 code=saari,myself r=bryner,hyatt 2002-01-29 21:42:07 +00:00
rods@netscape.com
30312be39b Get whther we are printing silent from the PrintSettings
76456 r=rods sr=hyatt
2002-01-25 02:47:01 +00:00
locka@iol.ie
2090dd4efb 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 2002-01-14 12:41:27 +00:00
rods@netscape.com
1c6b4a35ee 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
2002-01-01 12:58:53 +00:00
rpotts@netscape.com
80eb156cb7 bug #94205 (r=adamlock@netscape.com, sr=jst@netscape.com) nsIWebNavigation interface changes... 2001-11-30 22:35:33 +00:00
rods@netscape.com
07ce4096a3 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
2001-11-26 12:51:39 +00:00
locka@iol.ie
89d8e1177c Move webbrowserpersist code to components/ directory. b=106554 r=brade@netscape.com sr=sfraser@netscape.com 2001-11-01 14:39:26 +00:00
dbaron@fas.harvard.edu
4bed2d4287 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
bryner@netscape.com
91e7d27adf 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
fbbef8546f 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
dbaron@fas.harvard.edu
d58d819a8d 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 2001-10-02 03:10:56 +00:00
radha@netscape.com
33fb1cc306 Fix for tree bustage related to bug # 100993. Include nsISHistoryListener. 2001-10-01 21:07:26 +00:00
jaggernaut@netscape.com
a29a08f141 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
waterson@netscape.com
d64d85ccd9 Back out chak until he can figure out how to build w/o necessarily requiring PSM. 2001-09-26 22:56:24 +00:00
chak@netscape.com
d8857814ed Fix for #94974 - Provide an interface for embeddors to access security info
r=rpotts,thayes
sr=rpotts
2001-09-26 19:52:20 +00:00
locka@iol.ie
b1384ff5bc 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 2001-09-23 21:03:03 +00:00
valeski@netscape.com
ab37c5705a 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. 2001-09-05 21:28:38 +00:00
dcone@netscape.com
9856cf1dce b=95339 Check the aPrintOptions for null. Fixes embedding silent. r=rods sr=attinasi 2001-08-16 13:58:38 +00:00
rpotts@netscape.com
4bb8a856ea bug #94205. Adding flags to nsIWebNavigation::Stop(). 2001-08-14 04:46:20 +00:00
jaggernaut@netscape.com
c2bcad0b73 Bug 86734: Remove NS_WITH_SERVICE. r=dbaron, rs=scc, a=asa 2001-07-25 07:54:28 +00:00
dbaron@fas.harvard.edu
a9aa77073f Header include dependency cleanup. b=64023 r=jag rs=brendan 2001-07-16 02:40:48 +00:00
dcone@netscape.com
07e1981b51 Added code to use silent printing. b=76456 r=dcone sr=attinasi 2001-07-09 14:40:37 +00:00
jaggernaut@netscape.com
baba14c5c8 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
bryner@uiuc.edu
8fcb0d7b58 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
blizzard@redhat.com
d30cb1aee7 Fix blocker bug #85703. Crashes on popup windows. r=adamlock,sr=tor,a=asa 2001-06-14 17:42:16 +00:00
chak@netscape.com
894e6e0085 Fix for 81796 - Enable SecureBrowserUI for embedding apps
r=ccarlen, sr=blizzard, a=dbaron
2001-06-02 00:35:39 +00:00
valeski@netscape.com
942d754933 r=adamlock. missing break statement 2001-05-21 23:20:18 +00:00
valeski@netscape.com
503e060923 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
locka@iol.ie
ef49d00e7a Enabled window clipping to prevent flicker while painting child windows. b=81986 r=chak@netscape.com sr=blizzard@mozilla.org 2001-05-21 22:40:31 +00:00
ccarlen@netscape.com
3cab6ea935 Bug 73951 - Enable global history by default for embedding apps. r=valeski/sr=rpotts 2001-05-19 18:31:20 +00:00
valeski@netscape.com
4cc6ac9d52 r=saari, sr=blizzard 64349. adding GetFocusedElement to nsWebBrowser.cpp. patch submitted by DebugWeyers@yahoo.com. 2001-05-11 14:19:39 +00:00
locka@iol.ie
f41ce4a8ac Fix for painting problems in embedding apps when window is moved offscreen and back on. b=78412 r=ccarlen@netscape.com sr=blizzard@mozilla.org 2001-05-07 13:49:59 +00:00
ccarlen@netscape.com
70e9627bc5 Bug 72230 (fixing side affect of its fix) WebBrowser window was painting black as background on Mac. r=adamlock, sr=blizzard. 2001-05-04 14:46:16 +00:00
blizzard@redhat.com
30509a50ab Fix bug #76617. Some embedding apps can't get input focus. r=ccarlen,bryner sr=tor 2001-05-03 12:04:56 +00:00
sfraser@netscape.com
e2d0e2c801 Fix for 76758, 63241 and 68307. Make Find search through all frames, bring the Find dialog up from JS, and make a docShell enumerator. r=adamlock, sr=kin 2001-04-27 21:11:03 +00:00