1321 Commits

Author SHA1 Message Date
beard%netscape.com
6d6e5d8f08 [not part of build] 2-way scripting example interface.
git-svn-id: svn://10.0.0.236/trunk@117534 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 01:14:40 +00:00
beard%netscape.com
1e67321682 [not part of build] scriptable plugin support for XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@117533 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-27 01:10:26 +00:00
beard%netscape.com
2478c5ea00 [not part of build] make scriptable plugin work on XP_MAC.
git-svn-id: svn://10.0.0.236/trunk@117528 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 23:43:49 +00:00
beard%netscape.com
204c310349 [not part of build] fix mac build bustage.
git-svn-id: svn://10.0.0.236/trunk@117527 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-26 23:39:28 +00:00
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
092c84f62e not part of the build, bug 105959, add NPN_ReqestRead() support to tester plugin
git-svn-id: svn://10.0.0.236/trunk@117283 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-23 02:56:43 +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
dcone%netscape.com
ccecb1772c pulling changes. The checkin went to the wrong place.
git-svn-id: svn://10.0.0.236/trunk@116403 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 15:23:50 +00:00
dcone%netscape.com
2bce851d6d Adding the debug object. This is not part of the build.
git-svn-id: svn://10.0.0.236/trunk@116395 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-12 14:57:25 +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
av%netscape.com
be436b64ef Fixing build problems with this plugin sample, not part of the build yet.
git-svn-id: svn://10.0.0.236/trunk@115993 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:50:48 +00:00
av%netscape.com
9f8c6c28ce Updating DevStudio project file for plugin sample, not part of the build
git-svn-id: svn://10.0.0.236/trunk@115992 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 22:49:05 +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
av%netscape.com
d9d7d97feb Fixing makefiles for the Plugin SDK to reflect new location of some header files, not part of the build.
git-svn-id: svn://10.0.0.236/trunk@115928 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 04:06:36 +00:00
av%netscape.com
2e601a2947 Threaded plugin sample code, not part of the build
git-svn-id: svn://10.0.0.236/trunk@115926 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 03:55:03 +00:00
av%netscape.com
75401be452 Readme file for the plugin sample code, not part of the build
git-svn-id: svn://10.0.0.236/trunk@115925 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 03:53:40 +00:00
av%netscape.com
482e8bd78a Threaded plugin sample code, not part of the build
git-svn-id: svn://10.0.0.236/trunk@115924 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 03:37:15 +00:00
av%netscape.com
e4e276a45d Threaded plugin sample code, not part of the build
git-svn-id: svn://10.0.0.236/trunk@115892 18797224-902f-48f8-a5cc-f745e15eee43
2002-03-06 00:34:36 +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
16201999e4 Updating search path (again). Fixing tinderbox bustage from bug 120845
git-svn-id: svn://10.0.0.236/trunk@115102 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-20 08:00:58 +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