Commit Graph

2061 Commits

Author SHA1 Message Date
ftang%netscape.com
fcedb74d37 fix bug 50849. thanks kin@netscape.com for the patch. r=ftang 2000-09-05 21:19:23 +00:00
edburns%acm.org
8ee33dddde 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.
2000-09-05 19:03:56 +00:00
dbaron%fas.harvard.edu
63c72036b9 Paint backgrounds and borders for inline elements in the foreground layer. b=36710, 27757 r=buster@netscape.com 2000-09-04 21:45:47 +00:00
dbaron%fas.harvard.edu
acaf9688ee 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
2000-09-04 21:44:48 +00:00
av%netscape.com
41dcfdd44a Fixing #44993, added style visibility check to the object frame, r=buster 2000-09-03 20:54:26 +00:00
jst%netscape.com
7aa7ed7f6d 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 2000-09-01 07:05:08 +00:00
mstoltz%netscape.com
ecbc31c3d3 Fixing exploits involving changing the location of a window and getting the wrong principal. Bug 48723, r=vidur 2000-08-31 05:53:32 +00:00
kin%netscape.com
9cf7b833fb 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
2000-08-30 19:42:47 +00:00
jfrancis%netscape.com
299877ed6d disabling fix for 46554 again, in order to fix smoketest blocker 50653 et al 2000-08-29 19:55:16 +00:00
jfrancis%netscape.com
995b111b30 restoring my original fix for 46554, with some additional tweaks to deal gracefully with generated content. To forgive, divine. 2000-08-29 06:37:12 +00:00
jfrancis%netscape.com
9726e994c4 i'm an idiot 2000-08-29 05:43:03 +00:00
jfrancis%netscape.com
7d5e6f0454 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. 2000-08-29 03:09:54 +00:00
heikki%netscape.com
8e2f31db68 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. 2000-08-29 01:47:05 +00:00
jfrancis%netscape.com
0481832a07 fixing a warning 2000-08-29 00:31:53 +00:00
jfrancis%netscape.com
5c35225245 third time is the charm... 2000-08-29 00:07:32 +00:00
jfrancis%netscape.com
2d261bbe7d the end of ubercopy 2000-08-28 23:54:45 +00:00
jfrancis%netscape.com
767a12d10c fix for 46554: copy should grab parent nodes if all children selected; r=sfraser 2000-08-28 23:35:57 +00:00
anthonyd%netscape.com
e522671bc1 fix for bug# 43364
selection methods not returning meaningfull information
ie. getAnchorNode
r=mjudge
2000-08-26 21:23:25 +00:00
jst%netscape.com
df6f2a53e2 Removing unused code from the build. r=pollmann@netscape.com 2000-08-26 07:00:17 +00:00
locka%iol.ie
ecebe2ac21 API changes for embedding. b=46847, r=dougt, a=valeski 2000-08-25 18:39:46 +00:00
waterson%netscape.com
4c25116d9f Fix build bustage. 2000-08-25 06:22:13 +00:00
waterson%netscape.com
9c85e83202 Bug 47191. Trim whitespace from relative spec before constructing absolute URLs. r=jst 2000-08-25 06:03:49 +00:00
edburns%acm.org
4857682d61 bug=36212, bustage
r,a=HurricaneSherrif
This checkin fixes a problem using the ?: operator and nsCOMPtr.
2000-08-24 21:48:01 +00:00
shanjian%netscape.com
419f6c2466 #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
ra=ftang
new fix which only apply to word jump.
2000-08-24 21:15:19 +00:00
shanjian%netscape.com
4f6526735f #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
ra=ftang
a new fix which changes only apply to word jump.
2000-08-24 21:13:18 +00:00
edburns%acm.org
679c3b9ae4 bug=36212, bustage
r,a=waterson
This checkin fixes a problem using the ?: operator and nsCOMPtr.
2000-08-24 20:56:40 +00:00
akkana%netscape.com
072251197b Fix build bustage 2000-08-24 20:52:44 +00:00
waterson%netscape.com
69afdebc22 Bug 46043. Be sure to clear m[Left|Right]Floaters when 0 == mCount. r=buster 2000-08-24 19:55:11 +00:00
edburns%acm.org
6929c922f5 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.
2000-08-24 19:49:08 +00:00
buster%netscape.com
9b0a64d2c7 bug 49239
r=hyatt

bug 42372
r=waterson
2000-08-24 04:38:08 +00:00
buster%netscape.com
a017796f68 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
2000-08-24 04:26:43 +00:00
anthonyd%netscape.com
112b262913 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
2000-08-24 03:54:30 +00:00
jst%netscape.com
9abec73fbe 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 2000-08-23 17:27:06 +00:00
attinasi%netscape.com
c4cbd8b7eb Fix for leak: have to release the style context after initializing the frame... 2000-08-23 01:22:26 +00:00
attinasi%netscape.com
b0349a7041 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 2000-08-23 00:12:30 +00:00
scc%mozilla.org
eb0aaea827 fixing code that relied on implicit string construction 2000-08-19 22:23:46 +00:00
waterson%netscape.com
baab3d1f7f 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 2000-08-18 06:27:42 +00:00
jst%netscape.com
05f37e21da 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 2000-08-17 06:28:47 +00:00
kin%netscape.com
1f2d45de6f 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
2000-08-16 23:12:19 +00:00
pinkerton%netscape.com
fc367b8a1a making CaptureMouse a public interface on nsIFrame r=mjudge for bug 48250. 2000-08-14 22:28:41 +00:00
waterson%netscape.com
775c5e9f89 Back out shanjian's last change as it was causing several whitespace-related regressions. r=attinasi 2000-08-14 22:11:41 +00:00
rods%netscape.com
071c524342 it was incorrctly painting both images
b=48156 r=kmcclusk
2000-08-14 22:01:05 +00:00
roc+%cs.cmu.edu
e48b1ae6a0 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 2000-08-12 19:44:11 +00:00
pierre%netscape.com
5b88097f54 48096: Need a -moz-all value for user-select. r=sfraser. 2000-08-12 01:00:14 +00:00
saari%netscape.com
3b8fdea366 Fix more leaks bug 48126 again. r=hyatt 2000-08-12 00:38:22 +00:00
roc+%cs.cmu.edu
ec64a3669f 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 2000-08-11 20:08:15 +00:00
anthonyd%netscape.com
9d506576cb fix for bug#48472
apparently nsIContent::ChildAt can be successful
and not return a child. now checking fo that.
r: smfr
a: beppe
2000-08-11 19:55:39 +00:00
saari%netscape.com
952a4be057 Fix for leaks. Bug 48126 r=dbaron, hyatt 2000-08-11 02:11:53 +00:00
anthonyd%netscape.com
13c10a6478 fix for bug# 48472 (dogfood bug)
r: mjudge
a: beppe
2000-08-11 01:36:28 +00:00
attinasi%netscape.com
c2db7a5f52 Text with 'whitespace:nowrap' no longer uses special Win32-only text measurement code becasue it didn't work. b=42832 r=waterson 2000-08-10 23:03:11 +00:00