Commit Graph

554 Commits

Author SHA1 Message Date
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
rods@netscape.com
18f7e388fa 1) Removes most all the unneeded data from nsPrintOptions service. All data should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings object. The items not saved are those used during the printing process and it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings. If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS. Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific set of prefs. Then if a printer name is available in the PS then it tries
to initialize itself from the printer specific prefs. This enables to define "back stop" prefs for picking up first. Then the printer specific prefs can override those settings. For example, we may define in prefs that the default paper size 8.5x11, then if if the "save PS prefs" is turned on, for a given printer it might save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read or written.
Bug 128142 r=dcone sr=attinasi a=shaver
2002-03-16 13:08:45 +00:00
rods@netscape.com
2f5ad9aa31 Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway 2002-03-15 14:49:09 +00:00
rods@netscape.com
aa75d5ee62 1) Removes most all the unneeded data from nsPrintOptions service. All data
should be in the PrintSettings.
2) Removed unneeded methods from PrintOptions
3) PrintOption can now read and write (most) all the data in a PrintSettings
   object. The items not saved are those used during the printing process and
   it wouldn't make any sense to save them.
4) Adds a prefs for turning on and off the automatic saving of PrintSettings.
   If this is turned on it is almost the same as using the global PS.
5) On Linux it turns on the saving of PS prefs and turns on the global PS.
   Meaning it will always use a single Global PS object.
6) The PrintSettings can be initialized from a generic non-printer specific
   set of prefs. Then if a printer name is available in the PS then it tries
   to initialize itself from the printer specific prefs. This enables to define
   "back stop" prefs for picking up first. Then the printer specific prefs
   can override those settings.
   For example, we may define in prefs that the default paper size 8.5x11,
   then if if the "save PS prefs" is turned on, for a given printer it might
   save 8.5x16 as the size.
7) A "flags" arg has been added so you can indicate which prefs you want read
   or written.
2002-03-15 13:55:54 +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
rods@netscape.com
0bf9f191d8 1) Added a new method to nsIWebBrowserPrint iface that enables you to get the current PS being used to print or PP
2) Change the PP toolbar code to use the current PS instead of the global
Bug 127969 r=dcone sr=attinasi a=asa
2002-03-07 12:57:33 +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
pinkerton@netscape.com
31d9331db9 api for overriding aspects of content-area drag&drop. r=ccarlen/sr=sfraser/a=shaver. bug# 126069 2002-02-28 22:19:04 +00:00
rods@netscape.com
392d4423ba 1) Makes sure that when a PrintSettings is created it is initialized from the
default printer.
2) Mail now uses the nsIWebBrowserPrint interface to create the PrintSettings
object it caches and uses
3) Editor now creates and caches a PrintSettings object.
Bug 123554 r=dcone sr=attinasi
2002-02-20 03:18:33 +00:00
alecf@netscape.com
9433386f20 one part of fix for bug 107575 - clean up consumers of nsString::EqualsIgnoreCase and nsString::EqualsWithConversion, to be explicit about case-insensitive compares
r=timeless sr=jag
2002-02-19 22:49:12 +00:00
pinkerton@netscape.com
4b9134f368 pulling content-area drag&drop out of JS and into C++ so it is available to embedding. Now built-in to <browser> tag. r=brade/sr=ben. bug#45605 2002-02-17 19:32:08 +00:00
rods@netscape.com
b2c5cf7708 1) Enables the PageSeq frame to specify the "gap" of gray space around
it in Print Preview
2) It now positions the page in the window with the gray "gap" showing.
3) factors out code for calc'ing the number of pages
4) Adds the methods to get the number of page while in PP
Bug 125151 r=sgehanisr=attinasi
2002-02-14 23:18:09 +00:00
rods@netscape.com
c5cea3392d 1) On windows and OS/2 it implements IDL attr of "defaultPrinterName" (like Bug 118152)
2) Stubs this out on al other platforms
3) On Windows implmenets new method "InitPrintSettingsFromPrinter" which sets certain key values from the native devmode into the print settings
4) Stubs this out on all other platforms
5) It also cleans up the nsDeviceContextSpecWin interface a little bit:
   It now has a single GetDevMode method that must be paired with a UnlockDevMode  method.
6) It moved GetDataFromPrinter into the public interface
7) Created a simple helper function for getting the default printer name.
Bug 123554 r=dcone sr=attinasi
2002-02-13 13:58:41 +00:00
bzbarsky@mit.edu
0ca954f0d6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky@mit.edu
947c9e2f8f Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee
2002-02-09 20:46:05 +00:00
ccarlen@netscape.com
0be51e041a Bug 113538 - embedding depends on wallet. Removing obsolete files. r=morse/sr=darin 2002-02-08 15:24:03 +00:00
ccarlen@netscape.com
28a4ee7a26 Bug 113538 - embedding depends on wallet. Rename nsISingleSignonPrompt to nsIAuthPromptWrapper and into embedding. r=morse/sr=darin 2002-02-08 15:21:26 +00:00
danm@netscape.com
e4c490e245 stifle infinite focus/activation recursion. bug 124299 r=hyatt,jst 2002-02-08 01:01:21 +00:00
bzbarsky@mit.edu
3f6adfa582 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +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
locka@iol.ie
adb4f66556 Dead file (not built). Should have been deleted when webbrowserpersist moved to embedding/components 2002-01-29 22:21:48 +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
peterlubczynski@netscape.com
1494566dc7 For embedding, always consume context menu clicks for applets, embeds, and objects, bug 118789 r=av sr=alecf 2002-01-25 01:02:58 +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
danm@netscape.com
ee5f00c1e5 update some comments and mention that this file is for bug 57841, r=bryner,rpotts 2002-01-05 02:07:40 +00:00
danm@netscape.com
8c29239325 adding nsIEmbeddingSiteWindow2 (our first revved public interface! yay) bug 57841 r=bryner,rpotts 2002-01-05 02:04:03 +00:00
danm@netscape.com
64d5154192 adding nsIEmbeddingSiteWindow2 (our first revved public interface! yay) 2002-01-05 02:00:26 +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
mjudge@netscape.com
84f7644da6 moving file to content to fix bustage 2001-12-18 02:38:56 +00:00
mjudge@netscape.com
215a538bd2 fixing bustage moving file to content 2001-12-18 02:34:39 +00:00
mjudge@netscape.com
fe566cee71 bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not 2001-12-18 01:29:49 +00:00
mjudge@netscape.com
6de073e364 new idl not in build yet. bs7868 r= saari 2001-12-18 01:08:36 +00:00
jaggernaut@netscape.com
bf1534c3aa Remove timer from REQUIRES, the makefile.win edition 2001-12-16 18:08:20 +00:00
jaggernaut@netscape.com
64ad5569e9 Remove timer from REQUIRES. r=pavlov 2001-12-16 17:02:31 +00:00
jaggernaut@netscape.com
0467433db5 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +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
seawood@netscape.com
5b18dcd3d4 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
jaggernaut@netscape.com
a682264f89 Clean up REQUIRES lines. r/sr=alecf 2001-11-16 01:54:59 +00:00
alecf@netscape.com
f1f70f0b7a win32 REQUIRES cleanup 2001-11-15 03:49:13 +00:00
dbaron@fas.harvard.edu
1d843feacf Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052 2001-11-07 06:24:10 +00:00
danm@netscape.com
9e8b67373a consolidating nsIWebBrowserChrome::CreateBrowserWindow and nsIWindowCreator::CreateChromeWindow. part of bug 88229 r=hyatt,rpotts 2001-11-06 01:19:39 +00:00
locka@iol.ie
350ead0b08 Move webbrowserpersist code to components/ directory. b=106554 r=brade@netscape.com sr=sfraser@netscape.com 2001-11-01 15:02:13 +00:00
locka@iol.ie
b071bbc47b Unix makefile changes to move webbrowserpersist to components/ b=106554 r=brade@netscape.com sr=sfraser@netscape.com 2001-11-01 14:39:53 +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
jaggernaut@netscape.com
859bb7164d Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 08:09:28 +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