380 Commits

Author SHA1 Message Date
rayw%netscape.com
d9228441a4 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren


git-svn-id: svn://10.0.0.236/trunk@79036 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-13 23:57:52 +00:00
dougt%netscape.com
bc3a80f52f Fixing error codes. r=waterson.
git-svn-id: svn://10.0.0.236/trunk@78791 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 22:56:15 +00:00
dougt%netscape.com
f6edad2f99 Fixes 51759. If we ship without a plugin manager as we can do for embedding, we crash loading most pages with plugins. This change basically returns an error from Reflow if we cant get the plugin manager component. r=valeski
git-svn-id: svn://10.0.0.236/trunk@78754 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-11 20:27:25 +00:00
sean%beatnik.com
f17a1ac850 fix for bug 47840. When resolving the absolute url for plugin content, use the document's url as the base. r=av a=brendan
git-svn-id: svn://10.0.0.236/trunk@78192 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 23:40:07 +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
av%netscape.com
b20d79675e Fixing #44993, added style visibility check to the object frame, r=buster
git-svn-id: svn://10.0.0.236/trunk@78078 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-03 20:54:26 +00:00
locka%iol.ie
09805179ae API changes for embedding. b=46847, r=dougt, a=valeski
git-svn-id: svn://10.0.0.236/trunk@77213 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 18:39:46 +00:00
edburns%acm.org
e4cefe435f bug=36212, bustage
r,a=HurricaneSherrif
This checkin fixes a problem using the ?: operator and nsCOMPtr.


git-svn-id: svn://10.0.0.236/trunk@77117 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 21:48:01 +00:00
edburns%acm.org
a0a5a4c191 bug=36212, bustage
r,a=waterson
This checkin fixes a problem using the ?: operator and nsCOMPtr.


git-svn-id: svn://10.0.0.236/trunk@77113 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 20:56:40 +00:00
akkana%netscape.com
f21e5a830e Fix build bustage
git-svn-id: svn://10.0.0.236/trunk@77112 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 20:52:44 +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
scc%mozilla.org
a0a2b1b7fe fixing code that relied on implicit string construction
git-svn-id: svn://10.0.0.236/trunk@76727 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-19 22:23:46 +00:00
roc+%cs.cmu.edu
91d3cb9ba7 Adding call to new view API so that the view of a fixed-position frame has a Z-order/clipping parent which is not its geometric parent. Bug 39621. r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@76224 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 19:44:11 +00:00
av%netscape.com
bf617efae9 Fixing #8740, r=serge
git-svn-id: svn://10.0.0.236/trunk@75765 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-08 04:45:03 +00:00
waterson%netscape.com
8fbcf1ea64 Bug 37622, redux. Case insensitive compare that I meant to check in way back when, but didn't. This was really part of the first patch, but didn't make it in because I checked in from the wrong machine.
git-svn-id: svn://10.0.0.236/trunk@74886 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-27 05:09:40 +00:00
waterson%netscape.com
8f34ddafd2 Bug 37622. Hackery to get <embed hidden='true'> to work. Check hidden attribute; if set, size to (0, 0) and don't create a widget. r=pavlov,blizzard.
git-svn-id: svn://10.0.0.236/trunk@74497 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-19 23:46:43 +00:00
valeski%netscape.com
37012edc37 45723. r=rpotts. webshell-docshell consolodation changes.
git-svn-id: svn://10.0.0.236/trunk@74406 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-18 23:13:07 +00:00
av%netscape.com
16b5150046 #44422, r=buster
git-svn-id: svn://10.0.0.236/trunk@74040 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 23:10:29 +00:00
bnesse%netscape.com
34aa1fbbf3 Removed code which was painting rectangles over the plugin objects on the Mac. Bug #41016. r=av
git-svn-id: svn://10.0.0.236/trunk@74017 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-11 20:06:05 +00:00
cls%seawood.org
50a5bb697c Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061
git-svn-id: svn://10.0.0.236/trunk@73904 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 07:13:31 +00:00
beard%netscape.com
225060e4fa bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser
git-svn-id: svn://10.0.0.236/trunk@72686 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-20 23:10:06 +00:00
attinasi%netscape.com
c87ebfa9c0 Removed code that was printing the word 'embed'. b=37558 r=buster a=leger
git-svn-id: svn://10.0.0.236/trunk@71546 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 21:21:48 +00:00
av%netscape.com
eca9eb91a5 Fixing 40765, r=buster, a=hamerly
git-svn-id: svn://10.0.0.236/trunk@71383 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-02 20:20:35 +00:00
av%netscape.com
674a9c4de3 nsbeta2+ fix for 17169, cheking in ftang's patch
git-svn-id: svn://10.0.0.236/trunk@70950 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-26 22:24:35 +00:00
shaver%mozilla.org
cb79075ed7 add content-policy hooks to <embed>/<applet>/<object> handling (#37983, r/a=brendan)
git-svn-id: svn://10.0.0.236/trunk@70833 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-25 13:32:42 +00:00
buster%netscape.com
a647cfc5e7 fixed bug 35777
r=av@netscape.com

The problem was the object frame was assuming it was at offset y=0 within it's parent frame when calculating a percent height.  This is an invalid assumption.
Instead, we now measure from the top of the containing block.  This still isn't 100% correct, but it is the right parent to be measuring margin from.


git-svn-id: svn://10.0.0.236/trunk@70613 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-22 21:36:35 +00:00
pavlov%netscape.com
cb832c7996 fix build bustage
git-svn-id: svn://10.0.0.236/trunk@70262 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 03:24:43 +00:00
pavlov%netscape.com
a0feb91521 changes all usages of NS_NewTimer to CreateInstance
git-svn-id: svn://10.0.0.236/trunk@70249 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 02:49:35 +00:00
jst%netscape.com
e4d9d527e8 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value.
git-svn-id: svn://10.0.0.236/trunk@70202 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-17 00:21:53 +00:00
rusty.lynch%intel.com
0a9d325033 Fix for bug #37165 (Unknown protocol handler in embed/object src attribute
kills plug-in.) r=av


git-svn-id: svn://10.0.0.236/trunk@68592 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-07 16:48:06 +00:00
av%netscape.com
5981bef8dd Fixing mismatched addref/release pair
git-svn-id: svn://10.0.0.236/trunk@67296 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 21:47:45 +00:00
troy%netscape.com
2831676fb5 Reinstated clipping code which had been backed out because it caused
a problem for XUL layout. I added a workaround for the XUL problem


git-svn-id: svn://10.0.0.236/trunk@67078 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-25 04:43:11 +00:00
putterman%netscape.com
97e6e61f3c Backing out troy's changes to fix various UI blocker bugs.
git-svn-id: svn://10.0.0.236/trunk@66999 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-24 22:15:55 +00:00
troy%netscape.com
e90db6dfb9 Changes to bring clipping inline with upcoming CSS2 errata
git-svn-id: svn://10.0.0.236/trunk@66887 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-23 00:56:16 +00:00
rods%netscape.com
fbf8aca833 Add ifdef'ed Performance Reflow Counting code
git-svn-id: svn://10.0.0.236/trunk@66719 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-21 14:59:47 +00:00
jband%netscape.com
81eb9c9d6b extracted the declaration of nsObjectFrame into a separate .h file so that it can be accessed by nsHTMLEmbedElement.cpp. This is needed to fix bug 32150
git-svn-id: svn://10.0.0.236/trunk@66019 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-14 22:48:30 +00:00
tbogard%aol.net
3e66256a75 Get the service for the plugin host. Don't bother requesting it from the container.
git-svn-id: svn://10.0.0.236/trunk@65749 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-13 02:53:18 +00:00
scc%netscape.com
2255fe399e making string conversions explicit
git-svn-id: svn://10.0.0.236/trunk@65030 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-03 11:39:09 +00:00
warren%netscape.com
9fa657f1cd Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread.
git-svn-id: svn://10.0.0.236/trunk@64449 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-29 03:58:50 +00:00
av%netscape.com
f185064ad5 Fix for 33447, r=serge
git-svn-id: svn://10.0.0.236/trunk@64290 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 01:01:49 +00:00
scc%netscape.com
d88198c611 small changes to clients of string converting APIs
git-svn-id: svn://10.0.0.236/trunk@64167 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-26 10:06:21 +00:00
pierre%netscape.com
c84deb6d8c Fix 32199 (visibility:collapse is not being interpreted as hidden on block and inline level elements) and parts of 21701 (misuse of style attr mVisible).
In the following files, replacing disp->mVisible with disp->IsVisible() is a BUG FIX: nsBlockFrame, nsBulletFrame, nsHRFrame, nsHTMLContainerFrame, nsImageFrame, nsTextFrame.

In all the other files, replacing disp->mVisible with disp->IsVisible() or disp->IsVisibleOrCollapsed() is merely a SYNTACTICAL CHANGE. The respective owners will later review the use of IsVisibleOrCollapsed() and in some cases replace it with IsVisible(). See bug 21701.


git-svn-id: svn://10.0.0.236/trunk@63284 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-17 10:15:13 +00:00
tbogard%aol.net
e9dade26fc Use the nsIWebBrowserChrome interface to set the status rather than the old nsIBrowserWindow interface.
git-svn-id: svn://10.0.0.236/trunk@62572 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-11 00:41:57 +00:00
av%netscape.com
c7a8c50630 Fix for 27486, r=stanley.ho@eng.sun.com, a=rickg
git-svn-id: svn://10.0.0.236/trunk@62014 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-02 01:57:14 +00:00
av%netscape.com
f9f761f6f0 Fix for 27486, r=rickg, a=rickg
git-svn-id: svn://10.0.0.236/trunk@61706 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-26 00:14:16 +00:00
av%netscape.com
63f56a199e Fixing 27486, r=beard
git-svn-id: svn://10.0.0.236/trunk@61627 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-25 01:02:53 +00:00
av%netscape.com
9b9daa296e Added check for null pointer to avoid possible crashes, could be reason for 27558
git-svn-id: svn://10.0.0.236/trunk@61012 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-16 01:49:42 +00:00
pp%ludusdesign.com
a2927ce43e Converting ::GetIID() into NS_GET_IID(). Bug #20232. r=scc, r=mozbot
git-svn-id: svn://10.0.0.236/trunk@59537 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:24:56 +00:00
michael.lowe%bigfoot.com
6856aa06f0 Repeating, prioritised timer implementation for Windows and Gtk (bug 22979). author={Win32=michael.lowe@bigfoot.com, Gtk=alex@cendio.se}, r={kmcclusk,rods,sfraser,et al} a=brendan
git-svn-id: svn://10.0.0.236/trunk@58358 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-21 21:56:09 +00:00
av%netscape.com
bd79393099 Fix for #18679
git-svn-id: svn://10.0.0.236/trunk@58179 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-19 00:31:52 +00:00