851 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
serge%netscape.com
f5c9d67f4d fix for #101974 acrobat plugin resize problem, r=pavlov, sr=blizzard,a=asa
git-svn-id: svn://10.0.0.236/trunk@116609 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-15 02:37:18 +00:00
peterlubczynski%netscape.com
31acb3ae38 Fixing not calling URLNotify with null data and also a few other times, bug 127259 r=serge sr=beard a=shaver
git-svn-id: svn://10.0.0.236/trunk@116463 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-13 04:24:45 +00:00
beard%netscape.com
1e08d214cb [not part of build] plugin dir code for Mac OS X.
git-svn-id: svn://10.0.0.236/trunk@116417 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 20:35:53 +00:00
darin%netscape.com
3872488d18 b=99165 Freeze nsIInputStream nsIOutputStream (not yet frozen... but close)
r=dougt sr=shaver a=asa


git-svn-id: svn://10.0.0.236/trunk@116359 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 00:59:06 +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
mkaply%us.ibm.com
785233a7b5 #129119
r=smontagu, sr=blizzard, a=asa
Os/2 only - Move #pragma pack so include of os2.h doesn't override it


git-svn-id: svn://10.0.0.236/trunk@116036 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-07 06:15:10 +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
serge%netscape.com
13aec58b3b bug 127928 crash from talkback reports [@ nsPluginStreamListenerPeer::OnDataAvailable],r=peterl,sr=beard,a=asa
git-svn-id: svn://10.0.0.236/trunk@115597 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-01 23:44:17 +00:00
peterlubczynski%netscape.com
9dcf52c85b Fix for only opening initial streams for plugins if we can handle it internally. This fixes RealPlayer popping up as a helper application for rstp:// protocols bug 85539 r=av sr=darin
git-svn-id: svn://10.0.0.236/trunk@115469 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-28 04:47:08 +00:00
seawood%netscape.com
a240366484 Move old 4x plugin headers from mozilla/include to mozilla/modules/plugin/base/p
ublic/ .
Bug #120845 r=bryner


git-svn-id: svn://10.0.0.236/trunk@115057 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:52:55 +00:00
seawood%netscape.com
2345629aa3 Move old 4x plugin headers from mozilla/include to mozilla/modules/plugin/base/public/ .
Bug #120845 r=bryner


git-svn-id: svn://10.0.0.236/trunk@115051 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 05:44:43 +00:00
alecf%netscape.com
c076eca201 add unicharutil static lib
git-svn-id: svn://10.0.0.236/trunk@114983 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 00:48:08 +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
cathleen%netscape.com
6f09324ed7 eliminate nsCRT::strlen for char* strings (part 4), bug 124536 r=dp sr=brendan
git-svn-id: svn://10.0.0.236/trunk@114939 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 16:01:45 +00:00
peterlubczynski%netscape.com
deabb03ed0 Unload pluign libraries asynchronously to prevent crash with native context menus 104236 r=av sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@114855 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-19 01:26:17 +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
serge%netscape.com
20257fd053 fix for 123974 [viewpoint] 404 file not found errors are passed back to the plugin incorrectly; r=av, sr=beard
git-svn-id: svn://10.0.0.236/trunk@114622 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-16 01:23:16 +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
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
ccarlen%netscape.com
0db9b3dc65 Bug 115334 - Removing .mcp files which are obsolete after XML conversion. r=jj/sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@114285 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-12 15:41:41 +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
bnesse%netscape.com
eca0daca42 Fix for bug 104445. Make nsPluginInstance a scrollbar listener so it can notify plugins they are scrolling. Also fixes bug 76085. r=peterl, sr=sfraser, a=blizzard.
git-svn-id: svn://10.0.0.236/trunk@112450 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-18 20:12:29 +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
av%netscape.com
f93340af68 Bug 118801 -- incrementing plugin API version, r=peterl, sr=beard
git-svn-id: svn://10.0.0.236/trunk@111633 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 02:32:23 +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
beard%netscape.com
12ab2a809c [not part of build] CW Pro 7 format project for building classic plugin support.
git-svn-id: svn://10.0.0.236/trunk@111533 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 01:47:52 +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