99 Commits

Author SHA1 Message Date
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
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
darin%netscape.com
04849998e1 fixes bug 124042 "support internationalized URIs" r=dougt, sr=alecf, a=asa
git-svn-id: svn://10.0.0.236/trunk@115936 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 07:48:55 +00:00
peterlubczynski%netscape.com
96046e257b Made a dummy document to hold our url and pass back to the instance owner in order to fix bug 121033 in NP_FULL mode, NPP_GetURLNotify() does not resolve relative URLs correctly r=av sr=beard
git-svn-id: svn://10.0.0.236/trunk@114668 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 05:07:47 +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
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
serge%netscape.com
72ccea118e fix #115308, NPN_PostURL[Notify] does not handle binary data; r=bnesse, sr=darin
git-svn-id: svn://10.0.0.236/trunk@113181 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 02:40:46 +00:00
alecf%netscape.com
b0e0e6d031 C++ side of fix for bug 100212 - move consumers of nsIFile.URL into nsIIOService. r=dougt, sr=darin
git-svn-id: svn://10.0.0.236/trunk@111529 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 01:31:25 +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
peterlubczynski%netscape.com
6dcd1236ae Fix for hang during Shockwave registration and problems with NPN_PostURL bug 108966 r=av sr=darin
git-svn-id: svn://10.0.0.236/trunk@110333 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 01:38:02 +00:00
ccarlen%netscape.com
1731924479 Adding new files for conversion to CW7 and XML project files. Bug 98349 r=pink/sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@110182 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 21:58:15 +00:00
peterlubczynski%netscape.com
ecf99805e4 Fix for NPN_PostURL not always working correctly [like with binary file data] bug 105417 r=av sr=darin
git-svn-id: svn://10.0.0.236/trunk@107542 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-07 03:03:04 +00:00
rods%netscape.com
1100db8190 Initial check in for print preview work it is complied in for Windows and linix only
The bulk of print preview can be turned on/off with NS_PRINT_PREVIEW define
Bug 107562 r=kmcclusk sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107260 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-03 14:59:39 +00:00
alecf%netscape.com
1115fa5f28 bug 100113, r=jag, sr=blizzard - remove some dumb dependencies on dom and gfx
git-svn-id: svn://10.0.0.236/trunk@106871 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 23:43:27 +00:00
bryner%netscape.com
58bf936788 When creating the root view's widget, don't show it. This prevents full-page Invalidates during page load caused by showing and then hiding the widget. Bug 97895, r=blizzard, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@106814 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 05:06:31 +00:00
peterlubczynski%netscape.com
7cbbec1c41 Fix for crash in pluginInstanceOwner::ProcessEvent when mWindow is null bug 96648, r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105375 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 17:36:03 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
peterlubczynski%netscape.com
101be19de3 Fix for doing GET rather than POST when NPN_PostURL is called bug 77603 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103796 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-26 02:45:01 +00:00
gerv%gerv.net
ae1d5501a1 Oops.
git-svn-id: svn://10.0.0.236/trunk@103236 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-20 00:02:59 +00:00
scc%mozilla.org
52c8d09e03 bug #98089: ripped new license
git-svn-id: svn://10.0.0.236/trunk@103219 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 20:09:47 +00:00
peterlubczynski%netscape.com
6816be05a4 Fix for full-page plugin printing bug 53349 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@103062 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-18 02:16:52 +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
edburns%acm.org
753ec174c7 r=peterl
sr=waterson
a=asa


modules/plugin/base/src/nsIPluginInstanceOwner.h
modules/plugin/base/src/nsPluginHostImpl.cpp
modules/plugin/base/src/nsPluginHostImpl.h
modules/plugin/base/src/nsPluginViewer.cpp
modules/oji/src/nsJVMManager.cpp
modules/oji/src/nsJVMManager.h
layout/html/base/src/nsObjectFrame.cpp
xpfe/global/resources/locale/en-US/region.properties


Here's what I did to fix this bug.

I pestered Rick Potts about the problem of
nsIWebBrowserChrome->SetStatus() not being synchronous.  He fixed that
under bug 97227.

Taking advantage of Rick's fix to 97227, I modified
nsIPluginInstanceOwner to have new method, ShowStatus(const PRUnichar
*aStatusMsg).  This is necessary to allow for localized messages to be
posted from the plugin, such as "Starting plugin for type
application/x-java-vm" or "Beginnen steckbar für Art
application/x-java-vm".

I modified all the implementations of nsIPluginInstanceOwner:

  layout/html/base/src/nsObjectFrame.cpp
  modules/plugin/base/src/nsPluginViewer.cpp

I inserted a call to nsIPluginInstanceOwner->ShowStatus() at the part
just before the big "whole damn app freezes when starting java" thing
happens.

I also modifed nsJVMManager.cpp ShowJavaConsole() to do the same.  These
are the two places I know of now that can start java.


git-svn-id: svn://10.0.0.236/trunk@102266 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-05 03:58:34 +00:00
peterlubczynski%netscape.com
f55b5f439b Patch to fix incorrect coordinates to first call of SetWindow(), bug 97656 r=av sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@102088 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-31 18:28:04 +00:00
av%netscape.com
47e21da3e9 Fixing 96528 -- crash on File/Exit with full page xpcom plugin, r=peterl, sr=attinasi, a=asa
git-svn-id: svn://10.0.0.236/trunk@101773 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-24 21:08:25 +00:00
dbaron%fas.harvard.edu
3485888237 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797
git-svn-id: svn://10.0.0.236/trunk@101462 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-21 01:48:11 +00:00
av%netscape.com
880ffe0670 Fix for 89672 -- topembed, crash on exit with xpcom plugin, r=peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@101249 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 00:45:25 +00:00
dbaron%fas.harvard.edu
2acd95d9aa Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into new Destroy method so it happens at the end of paint suppression. Also clean up nsDocumentViewer.cpp a bit. b=80203,89626 r=hyatt sr=waterson
git-svn-id: svn://10.0.0.236/trunk@100081 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-01 03:15:50 +00:00
dbaron%fas.harvard.edu
899cd312b2 Backing out changes for 80203 and 89626 to fix blocker 92325 and probably also blocker 92443.
git-svn-id: svn://10.0.0.236/trunk@99950 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-26 20:53:21 +00:00
dbaron%fas.harvard.edu
502a5c94aa Split nsIContentViewer::destroy into close and destroy so we can trigger teardown both at the beginning and at the end of paint suppression. Move the PresShell's teardown from its destructor into EndObservingDocument so it happens at the end of paint suppression. b=80203,89626 r=hyatt sr=waterson
git-svn-id: svn://10.0.0.236/trunk@99882 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-25 04:30:59 +00:00
rpotts%netscape.com
c308f45fce bug #84749. (r=nisheeth, sr=jst). Document unload() events fired *after* the current URI had been changed - this allowed JS to track where the user was going next...
git-svn-id: svn://10.0.0.236/trunk@99429 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-17 20:17:38 +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
peterlubczynski%netscape.com
f6328500d6 Fixing key and context menu events for full-page plugins on Mac bug 84681 r=bnesse sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@99258 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-14 01:01:34 +00:00
bnesse%netscape.com
540aba4f36 Fix for bug 85231. Free nsTimer in PluginInstance to eliminate MLK and crash caused by it. r=av, peterl. sr=scc.
git-svn-id: svn://10.0.0.236/trunk@99035 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-11 02:29:45 +00:00
peterlubczynski%netscape.com
f867e4cdf5 Slightly change pluign timer interval to fix url bar on Mac bug 88936 r=bnesse sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@98962 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-10 03:59:39 +00:00
av%netscape.com
f5f47430f0 Fix for 86469 -- crash on exit with Acrobat, waterson, r=peterl, sr=shaver
git-svn-id: svn://10.0.0.236/trunk@98842 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-06 23:30:22 +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
peterlubczynski%netscape.com
84fe2b64c1 Fix for title bar not updating for full page plugins bug 59749 r=av sr=attinasi a=choffman
git-svn-id: svn://10.0.0.236/trunk@97645 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 01:04:29 +00:00
av%netscape.com
f37d8331d5 Fix for 80105 -- adding a null-check before release, r=peterl, sr=attinasi, a=chofmann
git-svn-id: svn://10.0.0.236/trunk@97640 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 00:15:29 +00:00
av%netscape.com
034f401548 Fix for 44322 -- implementation of windowless pluign API, patch by dbrittain@superscape.com and av, r=(av, peterl), sr=attinase, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@97357 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-18 21:41:57 +00:00
peterlubczynski%netscape.com
0ef882c534 Fix for full page mouse down being broken bug 75582 patch by bnesse r=peterl sr=attinasi a=asa
git-svn-id: svn://10.0.0.236/trunk@96917 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-12 04:27:08 +00:00
nisheeth%netscape.com
a63df7b032 Fix for bug 57636. r=rpotts, sr=jst, a=asa. Onload handlers now fire on document.written content.
git-svn-id: svn://10.0.0.236/trunk@95903 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-25 08:49:03 +00:00
hyatt%netscape.com
c72b6e47e7 Fix for 78741. r=saari, sr=ben
git-svn-id: svn://10.0.0.236/trunk@94810 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-13 07:08:23 +00:00
hyatt%netscape.com
851b0c945b Fix for 76495. r=danm, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@93571 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-01 22:54:11 +00:00
dr%netscape.com
58190bba57 64313 (Implement cmd_copyLink, cmd_copyImageLocation, cmd_copyImageContents). Implement the commands, hook them up in the navigator and mailnews frontends, provide hooks for embedding. r=hyatt, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@92667 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-18 06:06:31 +00:00
peterlubczynski%netscape.com
a5fc876b99 Fix for full-page plugin keeps playing after leaving page bug 75293 sr=attinasi a=av
git-svn-id: svn://10.0.0.236/trunk@92043 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-12 01:08:51 +00:00
darin%netscape.com
9d03c579d0 Necko API changes, bug 74221. r=valeski, sr=rpotts.
git-svn-id: svn://10.0.0.236/trunk@91842 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-10 06:01:08 +00:00
peterlubczynski%netscape.com
3987c653e7 Fix for null pointer in full page plugins on Mac. bug 74789 a=av sr=shaver
git-svn-id: svn://10.0.0.236/trunk@91374 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-04 23:46:27 +00:00