334 Commits

Author SHA1 Message Date
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
seawood%netscape.com
ba1e6f7e08 Call FindCanvasBackground after it has been defined since it is an inline funciton.
Fixing Solaris Forte tinderbox bustage.


git-svn-id: svn://10.0.0.236/trunk@129694 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 13:54:28 +00:00
ccarlen%netscape.com
7414a213bc Bugscape 8854 - allow access to background images for embedding context menu listeners. Adding new interfaces, nsIContextMenuListener2 and nsIContextMenuInfo, to allow access to more information about the menu context. Also fixes bug 163928. r=pinkerton/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@129668 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 00:13:37 +00:00
ccarlen%netscape.com
6fa5aa5b2a Adding new files for bugscape 8854 - allow access to background images for embedding context menu listeners. Adding new interfaces, nsIContextMenuListener2 and nsIContextMenuInfo, to allow access to more information about the menu context. Also fixes bug 163928. r=pinkerton/sr=alecf
git-svn-id: svn://10.0.0.236/trunk@129666 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-16 00:07:07 +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
dougt%netscape.com
db8cc9c7ec Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
dougt%netscape.com
57028338f0 exports frozen interface to dist/sdk using new SDK variable. 164717. r=cls, sr=alec
git-svn-id: svn://10.0.0.236/trunk@128192 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-27 01:05:21 +00:00
seawood%netscape.com
0b3ff474f3 Removing old nmake build makefiles. Bug #158528 r=pavlov
git-svn-id: svn://10.0.0.236/trunk@126975 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 07:55:43 +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
alecf%netscape.com
7e8aa74093 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa


git-svn-id: svn://10.0.0.236/trunk@125791 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-25 18:31:10 +00:00
rods%netscape.com
e37e3dadbd Minor comment change
Bug 99619 r=kmcclusk sr=sspitzer a=jud adt=paw


git-svn-id: svn://10.0.0.236/trunk@125088 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 11:34:52 +00:00
rods%netscape.com
fa888a1fe1 Change status to "frozen"
Bug 99619 r=kmcclusk sr=sspitzer


git-svn-id: svn://10.0.0.236/trunk@124325 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-28 23:52:18 +00:00
cbiesinger%web.de
6f7dc93da9 bug 115473 r=pavlov sr=brendan
Remove timer priorities


git-svn-id: svn://10.0.0.236/trunk@123068 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:47:04 +00:00
rods%netscape.com
8a7c290ff7 Add nsIObserver to the ShowPageSetup method for platforms that impl an Apply btn
Bug 149317 r=dcone sr=kin


git-svn-id: svn://10.0.0.236/trunk@122803 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-06 10:40:42 +00:00
locka%iol.ie
2e9ed95e9d Clarify nsIWebBrowserSetup documentation. b=143326 r=depstein@netscape.com sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@122681 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-04 18:31:00 +00:00
pinkerton%netscape.com
43d12f8473 hookup tooltips in PPEmbed. fix embedding tooltip impl to check window/dialog tag before groveling for title attribute. r=pink/sr=beard. bug# 142814.
git-svn-id: svn://10.0.0.236/trunk@122228 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 20:31:39 +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
8776ddd71b Adds a new arg to the PP call. The new arg is not being used, it is
for future and is needed for the API freeze.
Bug 144716 r=dcone sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121621 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-16 13:51:54 +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
rods%netscape.com
e97a493be3 making a few adjustments to the APIs before the freeze
Bug 143248 r=conrad sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@121197 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-09 22:02:44 +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
rods%netscape.com
86b99f77e1 Add the new pluggable dialog work, in build, not used
BUg 135441 r=dcone,pink sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@120540 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-02 12:38:43 +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
jst%netscape.com
856750ef5c Fixing printing crash bug 127891. Make the destruction of printing related frames not hide iframe's document viewers. r=rods@netscape.com, sr=rpotts@netscape.com
git-svn-id: svn://10.0.0.236/trunk@119570 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-22 23:12:18 +00:00
pinkerton%netscape.com
49804beecf actually hook up dnd overriding apis to webbrowserchrome. r=brade/sr=blizzard/a=valeski. bug# 136744.
git-svn-id: svn://10.0.0.236/trunk@118788 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-11 21:33:24 +00:00
danm%netscape.com
61f9233ff4 (interface freezing in last revision is bug 99617 r=chak,rpotts a=valeski)
git-svn-id: svn://10.0.0.236/trunk@118640 18797224-902f-48f8-a5cc-f745e15eee43
2002-04-10 21:17:38 +00:00
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