2162 Commits

Author SHA1 Message Date
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
ftang%netscape.com
f4932134bc fix bug 50849. thanks kin@netscape.com for the patch. r=ftang
git-svn-id: svn://10.0.0.236/trunk@78167 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-05 21:19:23 +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
dbaron%fas.harvard.edu
71c441c81a Paint backgrounds and borders for inline elements in the foreground layer. b=36710, 27757 r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@78110 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:45:47 +00:00
dbaron%fas.harvard.edu
c7f877db2d Don't apply top margin to a block containing only floaters. Let it collapse through instead. b=44419
Only do the quirky fix for bug 37657 for tables, not all blocks.  b=43086
r=buster@netscape.com


git-svn-id: svn://10.0.0.236/trunk@78109 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-04 21:44:48 +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
jst%netscape.com
071de302f4 Fixing nsbeta3+ bug 28277. Add a callback to nsHTMLImageElement so that we know when a image created in JavaScript has loaded (or fails to load), this is needed to support onload and onerror event fireing and also to support the '.complete' property on images create in JavaScript. r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77858 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-01 07:05:08 +00:00
mstoltz%netscape.com
fc5da7534f Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur
git-svn-id: svn://10.0.0.236/trunk@77748 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-31 05:53:32 +00:00
kin%netscape.com
15f46f6cc1 Fix for bug #35899 (Page scrolls on selecting text in position:relative div)
- Rewrote the auto-scrolling code to handle the fact that events are now passed
    directly to frames, even though the mouse is outside the window, and the frame
    is not in the clip view. The old code assumed that the viewport frame always
    caught and handled the event, which was the way it used to be.
  - AutoScroll methods now give the option of scrolling parent scrollable views.

r=jfrancis@netscape.com

Fix for bug #49467 (Spell checking not working in composer or NS 6 IM )

  - We no longer throw an error if we are trying to scroll the selection
    into view, when the selection is in a view that has no parent scrollable
    view ... we just return NS_OK and do nothing.

r=syd@netscape.com


git-svn-id: svn://10.0.0.236/trunk@77632 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-30 19:42:47 +00:00
jfrancis%netscape.com
e0347ad4d6 disabling fix for 46554 again, in order to fix smoketest blocker 50653 et al
git-svn-id: svn://10.0.0.236/trunk@77487 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 19:55:16 +00:00
jfrancis%netscape.com
6f1a57dbef restoring my original fix for 46554, with some additional tweaks to deal gracefully with generated content. To forgive, divine.
git-svn-id: svn://10.0.0.236/trunk@77461 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 06:37:12 +00:00
jfrancis%netscape.com
27c8a2318e i'm an idiot
git-svn-id: svn://10.0.0.236/trunk@77458 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 05:43:03 +00:00
jfrancis%netscape.com
0382b0103c turns out that selection code is used even when outputing an entire document (beats me why); disabling my changes so that text field output will work again.
git-svn-id: svn://10.0.0.236/trunk@77445 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 03:09:54 +00:00
heikki%netscape.com
19052f5fb1 Fixed bug 46085. We were not firing the select event. This is the second half of the checkin... had some problems with CVS. jst is watching this checkin. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@77435 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 01:47:05 +00:00
jfrancis%netscape.com
ca9d9a19c5 fixing a warning
git-svn-id: svn://10.0.0.236/trunk@77429 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:31:53 +00:00
jfrancis%netscape.com
28b299f2e7 third time is the charm...
git-svn-id: svn://10.0.0.236/trunk@77420 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-29 00:07:32 +00:00
jfrancis%netscape.com
0b8c1e6017 the end of ubercopy
git-svn-id: svn://10.0.0.236/trunk@77416 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:54:45 +00:00
jfrancis%netscape.com
5ab5287aa7 fix for 46554: copy should grab parent nodes if all children selected; r=sfraser
git-svn-id: svn://10.0.0.236/trunk@77402 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-28 23:35:57 +00:00
anthonyd%netscape.com
8c8a7bb268 fix for bug# 43364
selection methods not returning meaningfull information
ie. getAnchorNode
r=mjudge


git-svn-id: svn://10.0.0.236/trunk@77313 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 21:23:25 +00:00
jst%netscape.com
b05c03746d Removing unused code from the build. r=pollmann@netscape.com
git-svn-id: svn://10.0.0.236/trunk@77284 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-26 07:00:17 +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
waterson%netscape.com
5cffcba70e Fix build bustage.
git-svn-id: svn://10.0.0.236/trunk@77187 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 06:22:13 +00:00
waterson%netscape.com
9df49dc106 Bug 47191. Trim whitespace from relative spec before constructing absolute URLs. r=jst
git-svn-id: svn://10.0.0.236/trunk@77186 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-25 06:03:49 +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
shanjian%netscape.com
c14deeb485 #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
ra=ftang
new fix which only apply to word jump.


git-svn-id: svn://10.0.0.236/trunk@77115 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 21:15:19 +00:00
shanjian%netscape.com
fe5d7f0d42 #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
ra=ftang
a new fix which changes only apply to word jump.


git-svn-id: svn://10.0.0.236/trunk@77114 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 21:13:18 +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
waterson%netscape.com
579ee87174 Bug 46043. Be sure to clear m[Left|Right]Floaters when 0 == mCount. r=buster
git-svn-id: svn://10.0.0.236/trunk@77103 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 19:55:11 +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
buster%netscape.com
71d538ea91 bug 49239
r=hyatt

bug 42372
r=waterson


git-svn-id: svn://10.0.0.236/trunk@77054 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:38:08 +00:00
buster%netscape.com
342b94a380 bug 45152 (Typed text does not render in TextAreas with a horizontal scrollbar)
fixed by adding a flag in nsLineBox for the content of a line to mark it "forceInvalidate",
logic in nsLineLayout to set the line dirty for initial reflow of text frames,
and logic in block to check the new flag.
r=kin


git-svn-id: svn://10.0.0.236/trunk@77051 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 04:26:43 +00:00
anthonyd%netscape.com
f4c17f81ff fix for bug 48624 (hidden selection issues with plain text widgets)
fix for bug 45662 (updating range impl to dom spec)
fix for some edge case selection issues invloving multiple windows, no bug #
but saari knows about this.
r: sfraser, jfrancis, mjudge, saari
a: beppe


git-svn-id: svn://10.0.0.236/trunk@77040 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-24 03:54:30 +00:00
jst%netscape.com
7e0575bfee DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc
git-svn-id: svn://10.0.0.236/trunk@76967 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 17:27:06 +00:00
attinasi%netscape.com
4d92d67952 Fix for leak: have to release the style context after initializing the frame...
git-svn-id: svn://10.0.0.236/trunk@76932 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 01:22:26 +00:00
attinasi%netscape.com
a52967f7e1 Resolving style context for the htmlInnerFrame instead of using the parent frame's context. Also added some basic error checking... b=49739 r=buster@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76916 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-23 00:12:30 +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
waterson%netscape.com
1d744f391f Bug 49122. Make the image map manage addition and removal of the <area>'s to the primary-frame-for map in the frame manager. r=saari
git-svn-id: svn://10.0.0.236/trunk@76624 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-18 06:27:42 +00:00
jst%netscape.com
f3eeaaab8a Fixing nsbeta3+ bug 44002. Don't use non boolean values (the value 2 in this case) as a boolean true since 2 != true in JS. This caused scripts that rely on img.complete == true when an image has loaded to break. r=nisheeth@netscape.com
git-svn-id: svn://10.0.0.236/trunk@76542 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 06:28:47 +00:00
kin%netscape.com
1e4907fd53 Partial fix for bug #45152: Typed text does not render in TextAreas with a horizontal scrollbar
Made Reflow() invalidate the correct region during an incremental or dirty reflow.
r=waterson@netscape.com


git-svn-id: svn://10.0.0.236/trunk@76486 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-16 23:12:19 +00:00
pinkerton%netscape.com
ecbc628010 making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250.
git-svn-id: svn://10.0.0.236/trunk@76305 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:28:41 +00:00
waterson%netscape.com
b270876b7f Back out shanjian's last change as it was causing several whitespace-related regressions. r=attinasi
git-svn-id: svn://10.0.0.236/trunk@76301 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:11:41 +00:00
rods%netscape.com
4177506b45 it was incorrctly painting both images
b=48156 r=kmcclusk


git-svn-id: svn://10.0.0.236/trunk@76296 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-14 22:01:05 +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
pierre%netscape.com
83df3e3c44 48096: Need a -moz-all value for user-select. r=sfraser.
git-svn-id: svn://10.0.0.236/trunk@76187 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 01:00:14 +00:00
saari%netscape.com
3b61368cb8 Fix more leaks bug 48126 again. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@76180 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-12 00:38:22 +00:00
roc+%cs.cmu.edu
4c56115614 When computing the max-element-size, base percentage margins on the size of the contained max-element-size, not on the container's desired size. Bug 25707. r,a=waterson
git-svn-id: svn://10.0.0.236/trunk@76121 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 20:08:15 +00:00
anthonyd%netscape.com
7d90e93839 fix for bug#48472
apparently nsIContent::ChildAt can be successful
and not return a child. now checking fo that.
r: smfr
a: beppe


git-svn-id: svn://10.0.0.236/trunk@76116 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 19:55:39 +00:00
saari%netscape.com
d94289754b Fix for leaks. Bug 48126 r=dbaron, hyatt
git-svn-id: svn://10.0.0.236/trunk@76074 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 02:11:53 +00:00
anthonyd%netscape.com
76985c2924 fix for bug# 48472 (dogfood bug)
r: mjudge
a: beppe


git-svn-id: svn://10.0.0.236/trunk@76072 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-11 01:36:28 +00:00