457 Commits

Author SHA1 Message Date
danm%netscape.com
1f27732fc7 freezing interface for mozilla 1.0
git-svn-id: svn://10.0.0.236/trunk@118639 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:13:37 +00:00
rods%netscape.com
15f33efd46 This patch is actually part of Bug 115136, but I think its best to get this part
of it in now before the API freeze.
It adds several new attrs to the nsIWebBrowserPrint API and implments them in
DocumentViewer.
It also adds a new platform specific interface for PrintSettings that will be
used when the "pluggable" dialog work gets checked in. Although these have been
tested via BUg 115136, these little nto no risk now because no one is using
them yet.
Bug 132827 r=dcone sr=attinasi a=asa


git-svn-id: svn://10.0.0.236/trunk@117396 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 03:19:32 +00:00
dbaron%fas.harvard.edu
58badaae12 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa
git-svn-id: svn://10.0.0.236/trunk@117340 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:35:01 +00:00
mscott%netscape.com
a82f957980 Bug #132643 --> add a new web browser chrome flag for a popup type.
r=danm
sr=hewitt


git-svn-id: svn://10.0.0.236/trunk@117201 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 19:20:54 +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
rods%netscape.com
fd4d2132df 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


git-svn-id: svn://10.0.0.236/trunk@116711 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 13:08:45 +00:00
rods%netscape.com
40889d01ed Backing out changes - just as well, I forgot to but the bug # and r/sr/a anyway
git-svn-id: svn://10.0.0.236/trunk@116643 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 14:49:09 +00:00
rods%netscape.com
58cfbb8ad2 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.


git-svn-id: svn://10.0.0.236/trunk@116641 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 13:55:54 +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
rods%netscape.com
3f19270582 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


git-svn-id: svn://10.0.0.236/trunk@116053 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 12:57:33 +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
pinkerton%netscape.com
ddc4e56e6d api for overriding aspects of content-area drag&drop. r=ccarlen/sr=sfraser/a=shaver. bug# 126069
git-svn-id: svn://10.0.0.236/trunk@115506 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 22:19:04 +00:00
rods%netscape.com
d45c6e25f1 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


git-svn-id: svn://10.0.0.236/trunk@115015 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 03:18:33 +00:00
alecf%netscape.com
f85a67075e 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


git-svn-id: svn://10.0.0.236/trunk@114971 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 22:49:12 +00:00
pinkerton%netscape.com
89decb1f37 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
git-svn-id: svn://10.0.0.236/trunk@114745 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:32:08 +00:00
rods%netscape.com
1d1f95e7c0 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


git-svn-id: svn://10.0.0.236/trunk@114536 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 23:18:09 +00:00
rods%netscape.com
1a9f705818 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


git-svn-id: svn://10.0.0.236/trunk@114389 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 13:58:41 +00:00
bzbarsky%mit.edu
f68919f405 Relanding the Compare --> Equals conversion. a=mcafee
git-svn-id: svn://10.0.0.236/trunk@114163 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu
ffecf7f104 Testing performance impact of backout of what's left of the patch from
bug 115289.  See bug 123947 for details. a=mcafee


git-svn-id: svn://10.0.0.236/trunk@114152 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 20:46:05 +00:00
ccarlen%netscape.com
afa85c393a Bug 113538 - embedding depends on wallet. Removing obsolete files. r=morse/sr=darin
git-svn-id: svn://10.0.0.236/trunk@114032 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:24:03 +00:00
ccarlen%netscape.com
40cd3fb27c Bug 113538 - embedding depends on wallet. Rename nsISingleSignonPrompt to nsIAuthPromptWrapper and into embedding. r=morse/sr=darin
git-svn-id: svn://10.0.0.236/trunk@114030 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 15:21:26 +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
bzbarsky%mit.edu
2fd80b82c9 Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag


git-svn-id: svn://10.0.0.236/trunk@113665 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 02:03:07 +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
locka%iol.ie
8398cd7d51 Dead file (not built). Should have been deleted when webbrowserpersist moved to embedding/components
git-svn-id: svn://10.0.0.236/trunk@113156 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 22:21:48 +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
peterlubczynski%netscape.com
5a1f925640 For embedding, always consume context menu clicks for applets, embeds, and objects, bug 118789 r=av sr=alecf
git-svn-id: svn://10.0.0.236/trunk@112796 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 01:02:58 +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
danm%netscape.com
8ed86c9b32 update some comments and mention that this file is for bug 57841, r=bryner,rpotts
git-svn-id: svn://10.0.0.236/trunk@111396 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 02:07:40 +00:00
danm%netscape.com
b84aa94c0f adding nsIEmbeddingSiteWindow2 (our first revved public interface! yay) bug 57841 r=bryner,rpotts
git-svn-id: svn://10.0.0.236/trunk@111395 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 02:04:03 +00:00
danm%netscape.com
22f38522fe adding nsIEmbeddingSiteWindow2 (our first revved public interface! yay)
git-svn-id: svn://10.0.0.236/trunk@111394 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 02:00:26 +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
mjudge%netscape.com
357f2b432f moving file to content to fix bustage
git-svn-id: svn://10.0.0.236/trunk@110683 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 02:38:56 +00:00
mjudge%netscape.com
2f4d440c11 fixing bustage moving file to content
git-svn-id: svn://10.0.0.236/trunk@110682 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 02:34:39 +00:00
mjudge%netscape.com
20a1185b2b 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
git-svn-id: svn://10.0.0.236/trunk@110680 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 01:29:49 +00:00
mjudge%netscape.com
0dd45d500c new idl not in build yet. bs7868 r= saari
git-svn-id: svn://10.0.0.236/trunk@110673 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 01:08:36 +00:00
jaggernaut%netscape.com
d1529aed21 Remove timer from REQUIRES, the makefile.win edition
git-svn-id: svn://10.0.0.236/trunk@110586 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 18:08:20 +00:00
jaggernaut%netscape.com
1140db62f4 Remove timer from REQUIRES. r=pavlov
git-svn-id: svn://10.0.0.236/trunk@110585 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 17:02:31 +00:00
jaggernaut%netscape.com
436d43f211 Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
git-svn-id: svn://10.0.0.236/trunk@110579 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-16 11:58:03 +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
seawood%netscape.com
889469fd27 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov


git-svn-id: svn://10.0.0.236/trunk@108684 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-21 09:49:41 +00:00
jaggernaut%netscape.com
d928e4ddac Clean up REQUIRES lines. r/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@108216 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-16 01:54:59 +00:00
alecf%netscape.com
0c847ee212 win32 REQUIRES cleanup
git-svn-id: svn://10.0.0.236/trunk@108139 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-15 03:49:13 +00:00
dbaron%fas.harvard.edu
13b5500ba3 Ensure that string literals are used as |const char*| rather than |char*|. r=jag sr=brendan b=107052
git-svn-id: svn://10.0.0.236/trunk@107583 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 06:24:10 +00:00
danm%netscape.com
9eb95d4aed consolidating nsIWebBrowserChrome::CreateBrowserWindow and nsIWindowCreator::CreateChromeWindow. part of bug 88229 r=hyatt,rpotts
git-svn-id: svn://10.0.0.236/trunk@107382 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-06 01:19:39 +00:00
locka%iol.ie
23873585f0 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@106955 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:02:13 +00:00
locka%iol.ie
78757538a1 Unix makefile changes to move webbrowserpersist to components/ b=106554 r=brade@netscape.com sr=sfraser@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106953 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 14:39:53 +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