56 Commits

Author SHA1 Message Date
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
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
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
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
cls%seawood.org
3b8b92a2e8 Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org


git-svn-id: svn://10.0.0.236/trunk@101008 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-14 07:59:59 +00:00
valeski%netscape.com
d1287b8db6 91365. r=dougt, sr=hyatt. nsIScriptGlobalObject->GetContext() can legitimately return NS_OK *and* a nsnull outparam. Various callsites were not respecting the nsnull out param and this patch gracefully handles those cases.
git-svn-id: svn://10.0.0.236/trunk@99570 18797224-902f-48f8-a5cc-f745e15eee43
2001-07-19 05:48:49 +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
42a09e6f93 Fix for plugin code printing to the console in opt bug 78651 patch by av r=peterl sr=attinasi a=blizzard
git-svn-id: svn://10.0.0.236/trunk@97704 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-22 00:50:25 +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
jst%netscape.com
5674d31a36 Fixing xpcdom plugin regression bug 80794, patch by myself and sean@beatnick.com, r=pavlov@netscape.com, sr=hyatt@netscape.com
git-svn-id: svn://10.0.0.236/trunk@95518 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 08:31:37 +00:00
dougt%netscape.com
82cb3363c6 Renaming xpcom file streams. b=73169, r=sfraser@netscape.com, sr=darin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@90449 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-26 23:35:06 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
b725c37ce9 Removed extra 0 arg
git-svn-id: svn://10.0.0.236/trunk@81893 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 23:21:30 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
edburns%acm.org
f4ed6ebe07 This was tested on win32, and is known to build on win32 and solaris.
Right now, nsIPluginManager::PostURL() has parameters for
postHeadersLength and postHeaders.  However, nothing is being done with
these parameters.  This bug fix utilizes these params for their intended
purpose: to allow the plugin the ability to add HTTP headers to a POST
data stream.

Important assumptions made by this fix:

* postHeadersLength is the correct length for postHeaders.

* postHeaders is a buffer of headers in the form

  "HeaderName: HeaderValue\r\n"

  each header, including the last, MUST be followed by "\r\n".

To affect this fix I had to modify the following files:

M docshell/base/nsDocShell.cpp
M docshell/base/nsDocShell.h
M docshell/base/nsWebShell.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M docshell/base/nsWebShell.h
M layout/html/base/src/nsObjectFrame.cpp
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M webshell/public/nsILinkHandler.h

Basically, it involved clearing a path so the headers arguments can make
it down to nsIPluginInstanceOwner::GetURL()'s implementation in
nsObjectFrame.cpp, where an nsIInputStream is made of the headers.


git-svn-id: svn://10.0.0.236/trunk@78153 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 19:03:56 +00:00
edburns%acm.org
55b6e21cf5 bug=36212
a=waterson,av
r=av,waterson

Here is what I believe to be the correct fix.
This post correspondes to the fix,
second iteration attachments.
M modules/plugin/nglsrc/nsIPluginInstanceOwner.h
M modules/plugin/nglsrc/nsPluginHostImpl.cpp
M modules/plugin/nglsrc/nsPluginInstancePeer.cpp
M modules/plugin/nglsrc/nsPluginViewer.cpp
M layout/html/base/src/nsObjectFrame.cpp

This checkin modifies nsIPluginInstanceOwner::GetURL
to have a length parameter for the post data.


git-svn-id: svn://10.0.0.236/trunk@77101 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:49:08 +00:00
warren%netscape.com
f29b00bbe4 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan
git-svn-id: svn://10.0.0.236/trunk@76875 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-22 07:03:33 +00:00
av%netscape.com
9889e4de2b #26893, moved GetDOMElement from nsIPluginTagInfo to nsIPluginTagInfo2.h
git-svn-id: svn://10.0.0.236/trunk@66316 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-18 21:44:56 +00:00
mkaply%us.ibm.com
1a08d30a61 # 25555
r= beard@netscape.com
OS/2 changes for Mozilla - add #ifdef, change #ifdef


git-svn-id: svn://10.0.0.236/trunk@61785 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-28 15:00:30 +00:00
pp%ludusdesign.com
b5787cf895 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com


git-svn-id: svn://10.0.0.236/trunk@57423 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-11 20:49:15 +00:00
av%netscape.com
e05d740183 Bug 22598. r=vidur
git-svn-id: svn://10.0.0.236/trunk@56781 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-05 01:18:38 +00:00
tbogard%aol.net
52713ced88 1.) WebShell no longer implements nsIScriptContextOwner.
2.)  WebShell now implements the new nsIScriptGlobalObjectOwner.
3.)  WebShell supports GetInterface to nsIScriptGlobalObject.
4.)  Documents no longer carry around a reference to nsIScriptContextOwner.  Instead they hold on to a nsIScriptGlobalObject.  nsIDocument::GetScriptContextOwner has now become nsIDocument::GetScriptGlobalObject().  Same change to the set methods.


git-svn-id: svn://10.0.0.236/trunk@55177 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 09:36:54 +00:00
drapeau%eng.sun.com
1cd55fd548 Fix for bug 18899 ('Make "--enable-oji" as part of the default Mozilla
Build').  Modified files that conditionally compiled in support for
OJI, replacing with code that looks for OJI as an XPCOM service, and
failing gracefully if the OJI XPCOM service is not found.  The four
files modified by this fix are the only active ones; other modules
that conditionally compile in support for OJI appear to be dead code.

r=drapeau@eng.sun.com.  Fix contributed by Jayashri Visvanathan
(visvan@eng.sun.com).


git-svn-id: svn://10.0.0.236/trunk@55129 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-03 00:26:09 +00:00
dmose%mozilla.org
0efb7c174c updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52910 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:43:54 +00:00
dougt%netscape.com
8d1ff9ee8b Adding buffered output to nsIFileStream.
Renaming nsIFile to nsIOpenFile.
commenting out a testcase in FilesTest.cpp which fails.  evil, i know.


git-svn-id: svn://10.0.0.236/trunk@46395 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-08 20:12:35 +00:00
beard%netscape.com
aed0c41533 reverting GetDocumentBase() to be consistent with other accessors. If we decide to change this, let's change ALL of them.
git-svn-id: svn://10.0.0.236/trunk@41935 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-03 02:51:39 +00:00
av%netscape.com
24d8824810 Cleaning memory allocation bug #9855
git-svn-id: svn://10.0.0.236/trunk@41627 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-30 23:51:53 +00:00
mcafee%netscape.com
c8b6811625 BeOS changes
git-svn-id: svn://10.0.0.236/trunk@37406 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-29 11:36:21 +00:00
warren%netscape.com
2f522c1be0 More necko changes. Changed nsIPluginTagInfo2::GetDocumentBase to copy string.
git-svn-id: svn://10.0.0.236/trunk@36581 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-23 19:55:21 +00:00
warren%netscape.com
d9b1c6a72f Moved WriteFrom to nsIBufferOutputStream. Made necko pass around buffer streams.
git-svn-id: svn://10.0.0.236/trunk@34249 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 20:57:32 +00:00
amusil%netscape.com
b9c9fafc5e Bug fixes with plugin instance caching. We now keep track of a plugin instance's start/stop state.
git-svn-id: svn://10.0.0.236/trunk@33817 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 22:32:27 +00:00
warren%netscape.com
bee72685ed IDLized stream interfaces. Required rename of overloaded Write method (now WriteFrom).
git-svn-id: svn://10.0.0.236/trunk@33600 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 21:50:47 +00:00
av%netscape.com
4cc6799ade Getting windowless plugin stuff into
git-svn-id: svn://10.0.0.236/trunk@33030 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-27 23:20:09 +00:00
beard%netscape.com
40ffb6fae1 added GetJSContext()
git-svn-id: svn://10.0.0.236/trunk@30824 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-08 16:33:40 +00:00
amusil%netscape.com
1da8f68a76 Added support for Start/Stop Applet/Plugin lifetimes.
git-svn-id: svn://10.0.0.236/trunk@30775 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-07 22:06:47 +00:00
warren%netscape.com
0f93e5d59a Added Write(nsIInputStream) and Flush to nsIOutputStream.
git-svn-id: svn://10.0.0.236/trunk@28684 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-22 07:31:03 +00:00
beard%netscape.com
13af5e24ac added GetJSThread()
git-svn-id: svn://10.0.0.236/trunk@27123 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-12 03:12:48 +00:00
toshok%hungry.com
c50be7f384 enable OJI on unix.
git-svn-id: svn://10.0.0.236/trunk@26699 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-07 05:20:54 +00:00
amusil%netscape.com
2068508eee Changes to hook up LiveConnect on Windows
git-svn-id: svn://10.0.0.236/trunk@25467 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-29 22:18:05 +00:00
beard%netscape.com
fc704832a0 implementing nsIPluginInstancePeer2.
git-svn-id: svn://10.0.0.236/trunk@25034 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 03:31:37 +00:00
beard%netscape.com
733a8fc9d9 fix build bustage, nsIScriptContextOwner.h can't be found except on XP_MAC. Will land on other platforms eventually.
git-svn-id: svn://10.0.0.236/trunk@24981 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 07:16:41 +00:00
beard%netscape.com
9d6661c4ef added GetJSWindow
git-svn-id: svn://10.0.0.236/trunk@24970 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-24 05:40:02 +00:00
amusil%netscape.com
fb7d574e8f Made destructors virtual, added APIs to nsIPluginHost for determining if a plugin is available
for a particular mimetype or file extension.


git-svn-id: svn://10.0.0.236/trunk@24782 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 03:18:12 +00:00
mcmullen%netscape.com
56cf21a8da Adapt to an API change.
git-svn-id: svn://10.0.0.236/trunk@24059 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-13 06:39:17 +00:00
amusil%netscape.com
417ae85db0 Redesigned plugin cache code for StreamAsFile operations. Removed NEW_PLUGIN_STREAM_API ifdefs.
git-svn-id: svn://10.0.0.236/trunk@23781 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 22:48:58 +00:00
mcafee%netscape.com
cdc5264bdb Directly calling const char* const() operator to avoid ambiguity on Solaris. r=mcmullen@netscape.com
git-svn-id: svn://10.0.0.236/trunk@23046 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 04:42:08 +00:00
mcmullen%netscape.com
adc585142d Fixing nsCOMPtr usage for unix.
git-svn-id: svn://10.0.0.236/trunk@22987 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-06 00:07:06 +00:00
mcmullen%netscape.com
5b8c2045d8 Removed the offset parameter from the base stream interfaces. Implemented string streams.
git-svn-id: svn://10.0.0.236/trunk@22964 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-05 22:53:56 +00:00
sudu%netscape.com
135544df29 Files Sudu's script failed to check in
git-svn-id: svn://10.0.0.236/trunk@18472 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-25 09:00:42 +00:00