716 Commits

Author SHA1 Message Date
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
av%netscape.com
6f3cc2ec32 Fixing 124936 -- refresh loop with dup plugins, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114365 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-13 02:18:57 +00:00
av%netscape.com
6719dde129 Fixing 121072 -- to show plugin name in bad plugin dialog, r=serge, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114320 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 22:25:40 +00:00
timeless%mac.com
091db61993 Bug 124190 this #define in nsPluginsDirUnix.cpp is unused: PLUGIN_PATH "MOZ_PLUGIN_PATH"
r=bryner sr=jst


git-svn-id: svn://10.0.0.236/trunk@114265 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 06:58:51 +00:00
av%netscape.com
b96821a2a8 Fixing bug 119621 -- plugins refreshed only every other time, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114204 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-11 23:09:38 +00:00
serge%netscape.com
b3697a262f fix #123791; Installing Shockwave crashes Mozilla; r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@113933 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 23:22:39 +00:00
bnesse%netscape.com
216c17fb25 Fix for bug 120390. Use PL_strncasecmp rather than PL_strcasecmp to check for java mimetype. Patch by, and checking in for, Igor Nekrestyanov, r=bnesse, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@113918 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 22:52:21 +00:00
cathleen%netscape.com
ec77313291 eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@113659 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-05 01:41:13 +00:00
peterlubczynski%netscape.com
324ffc5a5e Fix by Serge for crash after installing Java Plug-in on Linux bug 122246 r=peterl sr=beard
git-svn-id: svn://10.0.0.236/trunk@113505 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-02 04:42:05 +00:00
serge%netscape.com
dc78c9c9ed fix #109353; N620, Trunk & M097 crash [@ libpthread.so.0 - PL_strfree]; r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@113452 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 22:50:59 +00:00
peterlubczynski%netscape.com
ca86fbd4ee Checking in for nis@sparc.spb.su, fix for Java applets inserted as <OBJECT> run in spite of Java is turned off in Preferences bug 116888 r=peterl sr=beard
git-svn-id: svn://10.0.0.236/trunk@113445 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 21:40:49 +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
rginda%netscape.com
362831b18c fix incorrect bracing, r=beard
git-svn-id: svn://10.0.0.236/trunk@113269 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 01:32:43 +00:00
rginda%netscape.com
d10290761a adding REQUIRES for unix and windows bustage, r=beard
git-svn-id: svn://10.0.0.236/trunk@113266 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 01:18:33 +00:00
beard%netscape.com
3f185a60cd Fix for bug #118003. r=peterl, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@113255 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-31 00:17:18 +00:00
sfraser%netscape.com
67a35c1a08 Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@113225 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-30 21:14:20 +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
dougt%netscape.com
011f9b10e5 1. Converts callers of nsIComponentManagerObsolete to use
nsIComponentRegistrar.

2. Converts callers of nsComponentManager::AutoRegister to use
nsIComponentRegistrar's autoRegistrar method.

3. Add nsIComponentRegistrar implmentation to nsComponentManagerImpl.

4. Rearrange nsComponentManager.cpp so that related methods are in the same
place.

5. Added a C-style function NS_GetComponentRegistrar so that getting the
registrar is easier in some places.

6. Added a nsISimpleEnumerator interface on PLDHashTableEnumeratorImpl.  in
this way, the same base class can support both old style and new style
enumerations.

7. Fixed a nasty bug where unregistring factories will leave the contract id
hash with a dangling pointer.  Now, when unregister is called we search the
contract id hash for entries which have the given doomned cid and remove them.


Bug 115853.  r=dp@netscape.com, sr=rpotts@netscape.com


git-svn-id: svn://10.0.0.236/trunk@113143 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-29 21:22:13 +00:00
peterlubczynski%netscape.com
16315d2fb3 Removing ugly shockwave hack bug 115461 r=av sr=beard
git-svn-id: svn://10.0.0.236/trunk@112921 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:45:45 +00:00
peterlubczynski%netscape.com
8175aa6f6d Fix for using newer pluign if upgraded, bug 119966 r=av sr=darin
git-svn-id: svn://10.0.0.236/trunk@112920 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-26 00:44:47 +00:00
serge%netscape.com
90b5568a5d fix for 108347; Crash (linux/unix only) after NPP_SetWindow() call into flash plugin with window->width[height] <= 0; r=peterl; sr/a=blizzard
git-svn-id: svn://10.0.0.236/trunk@112361 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-16 23:57:10 +00:00
peterlubczynski%netscape.com
c2804a94df Fix for variable names in NPP_HandelEVent, bug 118789 r=av, sr=beard
git-svn-id: svn://10.0.0.236/trunk@112205 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-15 22:45:56 +00:00
av%netscape.com
18de62a67a Fixing 119063 -- returning nsIServiceManager instead of nsIServiceManagerObsolete to a plugin, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@112042 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-13 04:23:57 +00:00
cathleen%netscape.com
ea31156ed0 converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
git-svn-id: svn://10.0.0.236/trunk@112013 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:18:55 +00:00
beard%netscape.com
8310b2caa2 bug #118649, r=peterl, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@111626 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 02:15:50 +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
av%netscape.com
cd186fbd1b Fixing bustage
git-svn-id: svn://10.0.0.236/trunk@111268 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-02 23:42:06 +00:00
av%netscape.com
5c3f900f71 Bug 117566 -- misuse of the string routine, r=serge, sr=vidur
git-svn-id: svn://10.0.0.236/trunk@111255 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-02 22:32:43 +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
seawood%netscape.com
11b13e95fe nsRect's win32 signature requires libraries need to link against libgkgfx for debug builds.
Added support for processing .rc to win32 gmake build.
Bug #58981


git-svn-id: svn://10.0.0.236/trunk@111203 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-01 00:03:57 +00:00
av%netscape.com
7ace8c6e66 Bug 17732 -- fixing streaming API from plugin to browser, some formatting fixed, r=peterl, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@111162 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-29 22:10:07 +00:00
naving%netscape.com
63e7f47d2f 116427 r=av sr=mscott. fix leaking name and description upon loading each plugin.
git-svn-id: svn://10.0.0.236/trunk@111086 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-26 21:22:07 +00:00
timeless%mac.com
21c081c8bc Bugzilla Bug 106386 rid source of these misspellings: persistant persistance priviledge protocal editting editted targetted targetting
r='s from many people. sr=jst


git-svn-id: svn://10.0.0.236/trunk@111049 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-23 23:23:41 +00:00
peterlubczynski%netscape.com
061295c07d Reverse the internal linked list of plugins after scanning in order to get loading precendence correct. bug 115337 r=av, sr=beard
git-svn-id: svn://10.0.0.236/trunk@110874 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-20 06:54:07 +00:00
peterlubczynski%netscape.com
28098f6dbf Fix for propigating stream destruction reason code to NPP_DestroyStream bug 115119 r=av sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@110784 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 05:48:38 +00:00
dougt%netscape.com
f8f43ca680 missing #include - fixing build bustage
git-svn-id: svn://10.0.0.236/trunk@110767 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 01:30:27 +00:00
dougt%netscape.com
c01e94cad7 nsIComponentManager API Changes (bug 98553)
a) create a new nsIComponentManager with only four functions on it:
CreateInstance CreateInstanceByContractID GetClassInfo GetClassInfoByContractID.

b) rename the old nsIComponentManager to nsIComponentManagerObsolete.

c) fixes callers which use to access the nsIComponentManager for component
registration functionality.  These callers will temporary use the
nsIComponentManagerObsolete interface.

d) Create a new API NS_GetComponentManager() which mirrors the
NS_GetServiceManager()

e) Perserves the old NS_GetGlobalComponentManager().  Note the cast usage.

r/sr = rpotts@netscape.com  alecf@netscape.com  brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@110748 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-19 00:12:41 +00:00
seawood%netscape.com
0bd62df729 Landing the rest of the win32 gmake changes:
* Adds Makefile.ins to win32 specific dirs
* Adds WINNT ifdefs to Makefile.ins
* Causes NSPR to be compiled with --with-mozilla
* Misc general Makefile.in cleanup

Bug #58981 r=mcafee


git-svn-id: svn://10.0.0.236/trunk@110703 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-18 09:14:29 +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
peterlubczynski%netscape.com
88cece66e5 Fixing GetParameters() back to the way it was, returning success for zero parameters bug 114973 r=av sr=beard a=brendan
git-svn-id: svn://10.0.0.236/trunk@110453 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-14 03:52:12 +00:00
peterlubczynski%netscape.com
2726454cda Fixing full-page plugins, blocker bug 114808 r=dcone sr=attinasi, a=nhotta (sheriff)
git-svn-id: svn://10.0.0.236/trunk@110395 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 18:50:16 +00:00
peterlubczynski%netscape.com
2cacb5e700 Fixing bustage...
git-svn-id: svn://10.0.0.236/trunk@110367 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-12 05:39:46 +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
peterlubczynski%netscape.com
f479ed3f80 Attempting to fix nebiros bustage....
git-svn-id: svn://10.0.0.236/trunk@110273 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 19:28:57 +00:00
peterlubczynski%netscape.com
e022628fc9 Fixing the way we pass attributes and parameters to plugins, bug 103940 r=av sr=beard
git-svn-id: svn://10.0.0.236/trunk@110264 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-11 15:53:07 +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
timeless%mac.com
a37fa95fb3 Bugzilla Bug 84568 xlib port does not support netscape plugins
patch work by timecop@network.email.ne.jp and Roland.Mainz@informatik.med.uni-giessen.de
r=timeless, sr=beard


git-svn-id: svn://10.0.0.236/trunk@110143 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-10 01:22:29 +00:00
av%netscape.com
225400d1aa Fixing bug 113264 -- making NPPrint struct compatible with older versions of plugins, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@110061 18797224-902f-48f8-a5cc-f745e15eee43
2001-12-08 01:13:05 +00:00