745 Commits

Author SHA1 Message Date
peterlubczynski%netscape.com
d8cb2aa1a7 Fixing redraw problem with full page plugins like Acrobat on Mac, bug 124563 r=av, sr=beard, a=asa
git-svn-id: svn://10.0.0.236/trunk@117466 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:36:37 +00:00
peterlubczynski%netscape.com
cb72b75c9c Making it so that we handle known image decoder mime types internally by default unless pref("plugin.override_internal_types", true); fixing bug 131230 r=av,biesi sr=beard a=asa
git-svn-id: svn://10.0.0.236/trunk@117464 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 06:30:33 +00:00
mkaply%us.ibm.com
0f725d9ba6 #132600
r=searge, sr=beard, a=asa
Refactor 4xplugin code so XP_OS2 section is more clear


git-svn-id: svn://10.0.0.236/trunk@117459 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 03:04:37 +00:00
av%netscape.com
5d29852870 Fix for 116357 -- NPAPI plugins should have an ability to stay in memory beyond page life time, patch by peterl, r=av, sr=beard, a=asa
git-svn-id: svn://10.0.0.236/trunk@117428 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-25 23:42:32 +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
ca60c05636 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@117338 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 21:23:50 +00:00
serge%netscape.com
c2cc3b83b2 fix for 105334 Solaris acrobat plugin requires motif, patch by jim.song@sun.com s=serge, sr/a=blizzard
git-svn-id: svn://10.0.0.236/trunk@117210 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-22 20:20:27 +00:00
darin%netscape.com
8defbf5d26 b=128508 "freeze nsIChannel nsIRequest" r=gagan, sr=rpotts, a=asa
git-svn-id: svn://10.0.0.236/trunk@117002 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-20 22:50:33 +00:00
bnesse%netscape.com
3bca20a8d9 Fix for bug 126578. Initialize the event record on OS X without using the system's EventAvail function to eliminate excess window erases and redraws. r=sdagley, sr=beard, a=asa.
git-svn-id: svn://10.0.0.236/trunk@116891 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 22:10:45 +00:00
timeless%mac.com
69ae314807 Bug 106386 rid source of misspellings
r=db48x sr=blake a=asa


git-svn-id: svn://10.0.0.236/trunk@116832 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-19 04:30:17 +00:00
peterlubczynski%netscape.com
a032e8c773 Pass correct NPReason code to NPP_URLNotify when error with request (like 404) bug 130152 r=av sr=darin a=dbaron
git-svn-id: svn://10.0.0.236/trunk@116767 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-18 00:09:48 +00:00
bzbarsky%mit.edu
8f2c2dd48d Don't pass encoded content to plugins without decoding. Bug 119094,
r=serge, sr=darin, a=asa


git-svn-id: svn://10.0.0.236/trunk@116721 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-16 15:58:54 +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
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
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
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
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