Commit Graph

2215 Commits

Author SHA1 Message Date
pnunn%netscape.com
7a62c0d377 bug:13718: natural img dimens. pnunn, r:sfraser 2000-09-08 22:52:05 +00:00
jst%netscape.com
72b52d0663 Fixing nsbeta3+ bug 48763. <frame src=' '> caused an infinite loop if the base URL for the frame happens to be the URL for the containing frameset. r=pollmann@netscape.com&nisheeth@netscape.com 2000-09-08 06:56:15 +00:00
heikki%netscape.com
50ed716f64 Got delayed with changed files, here is the second patch... Fixed bug 22710, load and error events were not firing for images. I also changed the select event firing to use nsEvent instead of nsGUIEvent. r=joki. 2000-09-07 21:03:26 +00:00
sean%beatnik.com
43d1da3111 fix for bug 47840. When resolving the absolute url for plugin content, use the document's url as the base. r=av a=brendan 2000-09-05 23:40:07 +00:00
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
mjudge%netscape.com
7e782cc7f4 use "=" not "==" my bad 2000-08-09 22:43:39 +00:00
mjudge%netscape.com
184bb65ca4 43533 table cell selection color fix. check for table cells/table being added to range and toggle flag to allow cells to draw correctly 2000-08-09 22:34:17 +00:00
mjudge%netscape.com
65269995e3 29570 37393 42794 mac os fix for selecting out of frame bounds. 2000-08-09 22:33:03 +00:00
dbaron%fas.harvard.edu
edbb56773e Fix leak on hovering over a scrollbar and re-fix similar leak for text inputs (bug 42895) by adding a "general" method for unrooting anonymous content created through nsIAnonymousContentCreator, plus a hack to deal with the scrollbars on the root element. Some of the other SetDocumentForAnonymousContent methods *may* need to be implemented. Chris Waterson helped significantly with this patch. r=waterson,hyatt b=45676 (nsbeta3+) 2000-08-09 12:51:05 +00:00
sfraser%netscape.com
72205420ff Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:48:42 +00:00
sfraser%netscape.com
9aa82a567b Fix for bug 25161 -- allow editor to handle pages with forms by implementing user-select and user-input for form controls. r=rods, pierre, mjudge. 2000-08-08 23:38:00 +00:00
saari%netscape.com
4c09a29ac5 massive landing of joki changes.
Relevant nsbeta3+ bugs 43309, 44503, 2634, 2504,5981, 24698, 25758, 33577,
36062, 36217, 41191, 41491, 42356, 42829, 43016
r=saari (joki code). also been tested by heikki and bryner
2000-08-08 21:31:05 +00:00
heikki%netscape.com
300a4cad60 Bug 38647 Link clicks on nsImageFrame do not check if legal to load URI. Happened with server side image map. r=mstolz 2000-08-08 20:35:12 +00:00
dcone%netscape.com
0ca85e6a01 Check to see if the view had been reparented.. b=44718 a=mcclusk 2000-08-08 14:11:09 +00:00
av%netscape.com
52d1151fbc Fixing #8740, r=serge 2000-08-08 04:45:03 +00:00
hyatt%netscape.com
9dd48b2cff Put scrollbars back in tex tareas. 2000-08-05 20:48:22 +00:00
pierre%netscape.com
5e553bbece 42864 ('user-select:none' should make children non-selectable) 2000-08-05 04:41:33 +00:00
shanjian%netscape.com
d2b093a3d7 #14588 Ctrl+right arrow skips over nbsp (nbsp should be word break)
r = ftang a=ftang
changes made in word break and word jump.
2000-08-03 23:03:08 +00:00
hyatt%netscape.com
d28a9c1352 Fix for 42451. 2000-08-03 22:42:36 +00:00
anthonyd%netscape.com
fed5192eba nsPresContext.cpp : added to comment to presContext::GetLookAndFeel to inform others that
that method has been depricated.
nsTextFrame.cpp : changed an assert to a warning, didnt need to be an assert.
r: mjudge@netscape.com
2000-08-03 22:30:47 +00:00
pollmann%netscape.com
9cb5e4ebe2 Bug 40383: Treat frameset rows spec 0* as 1* in quirks mode; r=harishd 2000-08-03 22:26:56 +00:00
pollmann%netscape.com
f3da1463b0 Bug 35986: document==NULL for FRAMEs created without SRC; r=kmcclusk 2000-08-03 22:23:48 +00:00
mjudge%netscape.com
b9689a5d76 *** empty log message *** 2000-08-02 02:39:10 +00:00
cmanske%netscape.com
ca24e6aca4 Fixed crashing bug 42195: Added method to nsIFrameSelection so frame can get limiting content node for parent node searches in text edit fields. r=mjudge 2000-08-02 01:47:55 +00:00
waterson%netscape.com
4896ee6d33 Bug 46693. Check to see if we CanContinueTextRun() while walking over the frames to FindNextText(). This revives the logic that I nuked when fixing 19051, and keeps you from trying to walk over <br> or other frames to erroneously continue a text run. r=akkana. 2000-07-28 22:29:28 +00:00
rbs%maths.uq.edu.au
af8754b765 Enable the code to export the baseline out of the block frame code to support 'vertical-article: baseline' in table-cells. bug 10207. a:waterson@mozilla.org. was r:buster@netscape.com. 2000-07-28 09:18:15 +00:00
waterson%netscape.com
1a2ffa3da2 Bug 44709. Maintain renumbering depth on stack, instead of in a global. r=roc+moz@cs.cmu.edu 2000-07-28 09:02:34 +00:00
danm%netscape.com
92d0a3a892 shut down a selection's autoscroll timer in the selection's destructor. bug 43470. r=saari@netscape.com 2000-07-28 03:48:26 +00:00
dbaron%fas.harvard.edu
0d22e864e2 Fix the way HTML's align attribute works for horizontal alignment of blocks. Use the -moz-center and -moz-right even in strict mode, and apply them to blocks in addition to tables. r=attinasi b=37083, 40038 2000-07-27 23:37:44 +00:00
hyatt%netscape.com
0f1477e37e Missed files. Fixs bustage. 2000-07-27 06:57:32 +00:00
hyatt%netscape.com
5a97cb79c0 Fix to enable trees to blit. Performance work approved by waterson. r=waterson. 2000-07-27 06:17:58 +00:00
waterson%netscape.com
349ccf4344 Bug 19051. Checked in wrong patch for nsLineLayout.cpp; we want to check the display type, not the frame type, to determine if it's a block frame. 2000-07-27 05:20:09 +00:00
waterson%netscape.com
9bd4266798 Bug 19051. Remove code that computed and maintained nsTextRun. Instead, compute 'next text' when required by crawling the frame tree in nsLineLayout::FindNextText(). r=roc+moz@cs.cmu.edu 2000-07-27 05:16:08 +00:00
waterson%netscape.com
45a991a10b 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. 2000-07-27 05:09:40 +00:00
mjudge%netscape.com
7317580268 46209 one of the last beta 2 blockers. adding ability to frames to tell if part of them is visible. idl change to allow nsISelectionController to give CheckVisibility. PresShell actually has the code for nsGfxTextControlFrame to call. 2000-07-26 11:31:12 +00:00
nisheeth%netscape.com
9b09a0b6c1 Fix for nsbeta2+ bug 43472. r=rpotts. We no longer crash on exit on Full Circle enabled builds. 2000-07-23 06:51:39 +00:00
rods%netscape.com
f7fbff18c7 check in for andreas, it now checks to make sure that the image or lowimage is not
null before getting the width and height
b=36902, a=waterson
2000-07-20 14:50:17 +00:00
waterson%netscape.com
eb10ce3a1a 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. 2000-07-19 23:46:43 +00:00
valeski%netscape.com
175fa58cd9 45723. r=rpotts. webshell-docshell consolodation changes. 2000-07-18 23:13:07 +00:00
hyatt%netscape.com
5c42c520a8 Fix for 43467. r=bryner 2000-07-13 23:00:59 +00:00
av%netscape.com
1c72f33a9a #44422, r=buster 2000-07-11 23:10:29 +00:00
bnesse%netscape.com
23b031d8d8 Removed code which was painting rectangles over the plugin objects on the Mac. Bug #41016. r=av 2000-07-11 20:06:05 +00:00
shanjian%netscape.com
8e013f01a6 #42422
Fix the crash, contentLen should not be extended futher than the
text fragment's length.
2000-07-10 22:32:54 +00:00
akkana%netscape.com
481b7a5c02 38232 (nsbeta2+): Make line break character configurable in the
output system, and use \n (the DOM linebreak character) when getting
output from text controls.  Also fix some warnings.  r=kin.
2000-07-10 19:46:59 +00:00
cls%seawood.org
e87a1b7b11 Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061 2000-07-10 07:13:31 +00:00
evaughan%netscape.com
a17ec2746d Fixed body resizing bug #35681
-r pinkerton
2000-07-07 22:24:06 +00:00
nisheeth%netscape.com
d70a4ed2b5 Fix for nsbeta2+ bug 12152. r=vidur, pollmann. Setting the src property during document load works on <IMG> and <INPUT type="image"> elements. 2000-07-01 02:26:30 +00:00
dbaron%fas.harvard.edu
d05d4bef76 Fix bug 43882 (dogfood+) by removing special handling of empty P elements. (Most of the diffs are whitespace changes.) This also fixes bugs 43369, 43991, and 18050. However, it exposes a few other issues as well (the most important of which, nuking top margins on first *normal flow* children of BODY and TD, was previously fixed only in some cases, but shouldn't be hard to fix in general). r=waterson 2000-06-29 22:03:42 +00:00
mjudge%netscape.com
0d4292f24e r=hyatt bug36617, sfrasier bug. simple change for select all to work. 2000-06-29 05:25:01 +00:00
mjudge%netscape.com
b871d9eda7 r=jfrancis,r=hyatt 42045 beta2+ 42675 beta2+ hitting return on text area not putting new line. onchange,oninput. 2000-06-28 04:00:12 +00:00
dougt%netscape.com
5cf34c2722 Adding assert on invalid init of textTransformer. see bug 43094
Basic check for null.

Without this assert, you will crash if there is no nsILineBreakerFactory
found.
2000-06-27 20:54:01 +00:00
brade%netscape.com
b428f2f35a check in patch for buster; bug #42630; GetChildFrameContainingOffset was hiding inherited 2000-06-27 14:47:21 +00:00
pierre%netscape.com
f364ca73f4 #42325 "Won't show page on www.teamtalk.com". Fix the parsing of ROWS="*%" in FRAMESETs. r=pollmann. 2000-06-22 05:32:56 +00:00
pierre%netscape.com
78e4562501 #42029 "Dynamic use of the clip property is causing repaint problems". Make the clip area coordinates conform to the latest spec. r=attinasi. 2000-06-22 05:28:36 +00:00
anthonyd%netscape.com
b752b18c25 bug fix for #40742
crasher in DrillDownToEndOfLine()
r:mjudge a:beppe precheckin test done
2000-06-22 00:41:42 +00:00
beard%netscape.com
1c926d81a2 bug #42100, Carbon compatibility. r=gordon, saari, pinkerton, sfraser 2000-06-20 23:10:06 +00:00
dbaron%fas.harvard.edu
70189b60ae Fix bug 42685, nsbeta2+. Revert percentage width calculations to the way they used to be, except for floats with auto widths. code=buster r=me 2000-06-20 03:47:49 +00:00
anthonyd%netscape.com
2ba178903c warning fixes for linux. r: mjudge a: beppe 2000-06-16 22:28:10 +00:00
karnaze%netscape.com
fe4c550189 bug 41306 - remove special cell auto percentage base code, r=rods 2000-06-15 14:54:04 +00:00
buster%netscape.com
08f155815a fixing a platform compile problem 2000-06-14 23:58:41 +00:00
pollmann%netscape.com
e75bf0612e Fixing Linux build bustage 2000-06-14 23:58:31 +00:00
pollmann%netscape.com
5f49da232d Bug 32770: Save scroll position in session history r=nisheeth 2000-06-14 23:37:06 +00:00
buster%netscape.com
b5b8e94c24 fixed nsbeta2+ bugs 42138 35772 37657 38157 40283 35964
r=waterson, rods
2000-06-14 23:15:59 +00:00
buster%netscape.com
9665a1c5fa fixed bug 41757
file also contains some debug only code (disabled), another bug fix (also disabled), the removal of
some obsolete code that was already #ifdef'd out, and a bunch of new comments
r=mjudge, waterson
2000-06-11 22:14:33 +00:00
buster%netscape.com
079914eaf0 fixed bug 29854
r=waterson
2000-06-11 05:25:14 +00:00
mjudge%netscape.com
b8ab3b74f2 too many copies for ender-lite. happening whenever people were setting selection progromatically. r=hyatt 34896 2000-06-09 05:14:19 +00:00
kmcclusk%netscape.com
f2757fb84d Changed nsBulletFrame to set the dirty flag on the it's parent's first frame instead of itself when an Image is updated b=36703 r=buster@netscape.com tested on WINNT, Linux 2000-06-08 23:19:38 +00:00
cmanske%netscape.com
d4cf823a1c Finished table cell selection optimization bug 41045. r=mjudge, a=beppe 2000-06-06 23:14:42 +00:00
hyatt%netscape.com
e43955f56d Tree/grid work. Bug #30511. r=danm. 2000-06-06 23:14:11 +00:00
attinasi%netscape.com
e0876002ed Removed code that was printing the word 'embed'. b=37558 r=buster a=leger 2000-06-05 21:21:48 +00:00
rbs%maths.uq.edu.au
1a36f0816d [#ifdef MOZ_MATHML: not yet part of default build]. Export the baseline out of the block frame code to support 'vertical-align: baseline' in table-cells. bug 10207. r:buster@netscape.com. a:waterson@mozilla.org 2000-06-05 08:24:18 +00:00
alecf%netscape.com
daadcd2c0d fix #ifdefs to quiet output (speeds up display of complex tables like tinderbox and slashdot.org) - does not affect release builds 2000-06-04 09:44:08 +00:00
cmanske%netscape.com
18a9fcaca3 Fix for table selection performance problems. b=41045, r=mjudge, a=beppe 2000-06-02 23:05:06 +00:00
av%netscape.com
6a19b9b86a Fixing 40765, r=buster, a=hamerly 2000-06-02 20:20:35 +00:00
mjudge%netscape.com
66a4d02495 bug = 34896, r= hyatt. changing caret apis. this will demand that when a caret changes focus a call to setDOMSelection must be called to tell the caret what selection to listen to. 2000-06-01 02:37:40 +00:00
mjudge%netscape.com
95c22b351b bug = 34896. Fixing ender lite startup problem with caret. checking for inOffset<0. we checked for >mContentLength but not <0. r=churchil. 2000-06-01 01:00:15 +00:00
kin%netscape.com
1739a10bbd Part2 of fix for bug #39821: Drag and Drop interferes with selection
Made GetSelectionController() a public method on the nsIFrame interface,
so that nsEventStateManager::GenerateDragGesture() has access to it. This
prevents D&D from interfering with selection in Ender-Lite.

    layout/base/public/nsIFrame.h
    layout/events/src/nsEventStateManager.cpp
    layout/html/base/src/nsFrame.h
    layout/html/base/src/nsFrame.cpp

r=buster@netscape.com,brade@netscape.com,cmanske@netscape.com   a=beppe@netscape.com
2000-05-31 03:20:02 +00:00
cmanske%netscape.com
c28f13972f Added row/column selection in tables: Bug 26833. r=kin, a=beppe 2000-05-31 00:07:58 +00:00
akkana%netscape.com
0e36c2f407 38713: Allow TakeFocus motion inside selection batching. r=mjudge, jfrancis; a=beppe 2000-05-31 00:02:12 +00:00
av%netscape.com
fb87fec2d5 nsbeta2+ fix for 17169, cheking in ftang's patch 2000-05-26 22:24:35 +00:00
evaughan%netscape.com
55816643f1 fix for [beta2] bugs:
37835
39085
32920

-r pinkerton, rods, hyatt
2000-05-26 06:42:29 +00:00
karnaze%netscape.com
7aea563c64 nsbeta2+ bug 39885 - invalidate minimal areas. optimize reflows when cells don't change size. r=attinasi 2000-05-25 22:40:21 +00:00
kin%netscape.com
108b7677fd Part 1 of fix for bug #39821: Drag and Drop interferes with selection.
layout/base/public/nsIFrameSelection.h
  layout/base/src/nsSelection.cpp
  layout/events/src/nsEventStateManager.cpp
  layout/html/base/src/nsFrame.cpp
  layout/html/forms/src/nsGfxTextControlFrame2.cpp
  xpfe/browser/resources/content/navigatorDD.js

r=brade@netscape.com,cmanske@netscape.com a=beppe@netscape.com,waterson@netscape.com
2000-05-25 20:04:02 +00:00
waterson%netscape.com
b71b209ac7 Bug 36401. Deal with inline-blocks better. Add nsFrameState bit that indicates whether or not a frame is part of a 'special' inline-block hierarchy; use the 'inlineFrameAnnotation' property to remember the next 'special sibling' so that we can traverse correctly; pull methods out of nsCSSFrameConstructor's public API. r=nisheeth,buster 2000-05-25 19:58:51 +00:00
shaver%mozilla.org
d7b33a74cd add content-policy hooks to <embed>/<applet>/<object> handling (#37983, r/a=brendan) 2000-05-25 13:32:42 +00:00
buster%netscape.com
23476f617b 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.
2000-05-22 21:36:35 +00:00
pavlov%netscape.com
367dc92877 backing out a change that went in with the new timer code that had nothing to do with timers and shouldn't have been checked in (and I don't know why was in my tree) 2000-05-20 03:05:48 +00:00
hyatt%netscape.com
aee56a4d33 fix assert for dogfood bug#37854, r=danm 2000-05-18 21:08:27 +00:00
evaughan%netscape.com
14c154301b Fix for mac xp menus not comming up at all. 2000-05-18 00:37:27 +00:00
erik%netscape.com
23bead6485 make line-height calculation language-sensitive to avoid overlapping lines 2000-05-17 06:47:56 +00:00
cls%seawood.org
149446f3e7 Fix for BeOS and other platforms that don't use the NEW_FONT_HEIGHT_APIS. 2000-05-17 05:07:26 +00:00
evaughan%netscape.com
d4513de096 Fixed bug that crashed when menus are used with native scrollbars. 2000-05-17 04:45:44 +00:00
pavlov%netscape.com
45a70d5703 fix build bustage 2000-05-17 03:24:43 +00:00
mjudge%netscape.com
c39baffac3 removing debug messages 2000-05-17 03:07:31 +00:00
pavlov%netscape.com
803190ad4b changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
jst%netscape.com
930a889eb7 Updating nsIContent to allow accessin the attribute prefix and not only the attribute name and value. 2000-05-17 00:21:53 +00:00
karnaze%netscape.com
854d511d3e bug 28811, 29459, 32507 - added flag to reflow state to handle table cells.
changed table min and max width calculations to include percent and proportional cells.
Include border and padding in min table width calc.
2000-05-16 22:55:34 +00:00
akkana%netscape.com
d39b10a680 Partial work on 16311, 32807, 16352: code reorganization/cleanup of word/line/paragraph selection. 2000-05-16 22:48:28 +00:00
mjudge%netscape.com
f56b42799d fixing relative div position bug with autoscroll 2000-05-16 22:41:38 +00:00
kin%netscape.com
e56254aabb - First pass checkin for a Drag and Drop friendlier selection. (Bug #38527) Code is ifdef'd out with DRAG_AND_DROP_FRIENDLY_SELECTION.
- Replaced tabs with spaces.
2000-05-16 22:16:05 +00:00
cmanske%netscape.com
b206aff8c8 Add code to paint selection border around Named Anchor frames when rect is not null - used only in Editor when Named Anchor is represented by an image. r=mjudge 2000-05-16 22:12:54 +00:00
pollmann%netscape.com
ccbe4c0000 Bug 23014: Quirks mode percentage height: enable for iframes, enable for native scrollbars, and add safety check for unconstrained height. r=harishd 2000-05-16 22:02:16 +00:00
pollmann%netscape.com
8e66be24ed Bug 32746 (3 of 3): Make iframe borders respond to both css and frameborder attribute, un-reverse frameborder=yes/no, and misc clean up with nsCOMPtrs. r=harishd 2000-05-16 21:59:23 +00:00
shanjian%netscape.com
0cf967556d #7601, r = ftang
fixed backwards wordjump problem for non-ascii characters.
2000-05-16 19:52:05 +00:00
shanjian%netscape.com
e79533211d #7601
r = ftang
Fixed non-ascii forward wordjump problem.
2000-05-16 19:51:09 +00:00
mjudge%netscape.com
5237a6fe65 changes for setcapture. 2000-05-16 13:52:28 +00:00
anthonyd%netscape.com
7ab436fd88 avoiding confusion between line iterator between layout and navigation.
if you want a line iterator for navigation you must explicitly ask for one.
2000-05-16 08:11:14 +00:00
cmanske%netscape.com
acad8adcca Select table column and row support (20973). r=mjudge 2000-05-16 03:03:13 +00:00
erik%netscape.com
210b71c14f bug 27164; need to multiply line-height by font's em square height, not
bounding box height; r=buster
2000-05-15 19:40:42 +00:00
mjudge%netscape.com
6e60f28e28 fixing legal issues 2000-05-15 14:19:25 +00:00
dbaron%fas.harvard.edu
3de09ce54f Fix AtomImpl leaks (includes bug 32608). r=pollmann@netscape.com 2000-05-15 13:12:27 +00:00
evaughan%netscape.com
2316308130 1) Scrolling menus
2) many bug fixes
3) box debuging flags
2000-05-15 04:12:31 +00:00
buster%netscape.com
8b31c633a7 bugs 38396, 29429, 32471, 27390, 32581
errors in incremental calcuation of max-element-size and preferred-size
2000-05-14 04:56:25 +00:00
buster%netscape.com
e38f699ad2 bug 38396, a bug in max width calculation exposed by tables 2000-05-14 04:43:52 +00:00
mjudge%netscape.com
d12e670ad8 updating capture code 2000-05-14 03:41:25 +00:00
anthonyd%netscape.com
8bbcc675f6 more changes to make table navigation in editor
work correctly and not crash.
2000-05-14 00:10:25 +00:00
mjudge%netscape.com
db0ca25636 adding method to remove scrollbars 2000-05-13 23:00:53 +00:00
mjudge%netscape.com
fa4088842d fixing warnings and some redundant code 2000-05-13 20:47:42 +00:00
mjudge%netscape.com
481c5db0e2 fixing redundant calls to notify selection listeners 2000-05-13 09:10:16 +00:00
mjudge%netscape.com
06fe36cd3f changing use of nsXIFConverter to nsIXifConverter 2000-05-13 08:10:25 +00:00
mjudge%netscape.com
4d87ea0999 fixing up some of the calls for frameselection to setting mousedown state 2000-05-13 08:09:03 +00:00
mjudge%netscape.com
a4c310645c (ender-lite) forcing use of nsixifconverter rather than nsxifconverter. making tostring method take output type parameters. 2000-05-13 08:07:34 +00:00
pollmann%netscape.com
7b2e7fce4d Bug 27383: Pass referer when loading iframe's document to allow javascript: urls - combine load methods, r=nisheeth
Bug 23014: Percent width on iframes allowed, r=karnaze (does not include percent height fixes)
2000-05-12 00:57:28 +00:00
sspitzer%netscape.com
29549b8e39 fix crasher when clicking on a text area. bug #38897. 2000-05-11 08:41:35 +00:00
mjudge%netscape.com
7bfafae7bc need to check for independent selection to grab mousedown state. will change this to be implemented by selectioncontroller later 2000-05-11 04:50:16 +00:00
mjudge%netscape.com
55912eddb8 changing way we access caret. use the selection controller whenever possible. because it will make the caret do the right thing even when we have multiple selections accessing same caret. 2000-05-11 04:25:43 +00:00
anthonyd%netscape.com
e8ceb8ee1b r:mjudge
fix for bug# 29785, keyboard navigation of tables in editor
not completely fixed, tables with row|column span do not navigate correctly
2000-05-11 01:04:39 +00:00
ftang%netscape.com
e4fea9b5a0 fix bug 16796. handle german &szlig; and convert to SS in capital and uppercase 2000-05-10 19:44:09 +00:00
jst%netscape.com
ee4b181034 Changing the way content elements store their name information, previously the elements generally stored a name atom and a namespace ID, now they store a pointer to a shared structure containing the name atom, the prefix atom and the namespace ID. This structure is shared between nodes with unique names (ie same name, prefix and ns ID) within a document. Documents now hold a hash table of the names in the document. The changes to mozilla/rdf are not reviewed but they are approved by waterson@netscape.com and the changes to mozilla/layout are reviewed by buster@netscape.com. 2000-05-10 13:13:39 +00:00
attinasi%netscape.com
a29102e7ef Tiny fix to avoid divide-by-zero when the AveCharWidth is 0. b=37577 r=dcone 2000-05-09 21:20:38 +00:00
buster%netscape.com
fe02891c04 fixed bug 36022
r=troy (been holding this in my tree for a while)
2000-05-09 19:28:20 +00:00
buster%netscape.com
2d8ef163b2 (forgot to check this in)
effectively removed area frame
work troy was holding in his tree
r=buster
2000-05-09 05:28:08 +00:00
buster%netscape.com
c1c9bfa09b effectively removed area frame
work troy was holding in his tree
r=buster
2000-05-09 05:11:12 +00:00
buster%netscape.com
0e193a8fad fixed bug 24770 2000-05-09 05:09:55 +00:00
buster%netscape.com
d421f31ce4 just removed a warning 2000-05-09 05:08:27 +00:00
buster%netscape.com
a57c2f071c fixed bugs 26952, 30944, 36022
r=troy
2000-05-09 05:08:02 +00:00
buster%netscape.com
bc9197fc27 effectively removed area frame
work troy was holding in his tree
r=buster

also fixed bugs 26952, 30944, 36022
r=troy
2000-05-09 05:06:16 +00:00
mjudge%netscape.com
d30a3a5508 forgot to initialize this 2000-05-08 04:00:48 +00:00
mjudge%netscape.com
9fc3ea7f15 adjusting how we get nsIFrameSelection. maybe we can QI from SelectionController 2000-05-08 03:59:53 +00:00
rusty.lynch%intel.com
10d2d8fa15 Fix for bug #37165 (Unknown protocol handler in embed/object src attribute
kills plug-in.) r=av
2000-05-07 16:48:06 +00:00
attinasi%netscape.com
dcb965aa0f Added AttributeChanged method impl. for the CanvasFrame. This allows the frame to invalidate the whole canvas when a background color or background image changes. b=11491,37502 2000-05-06 05:50:49 +00:00
erik%netscape.com
0f1eec05eb bug 26237; added support for HTML LANG attribute -- it now uses the fonts
specified by the user for elements with the LANG attribute when the font
is a CSS generic (e.g. serif); r=pierre
2000-05-05 21:04:36 +00:00
joki%netscape.com
c3d866c555 check in fix for 31892, null check in imagemap event code 2000-05-05 14:10:52 +00:00
dprice%netscape.com
a5c995336b fix for 38253 r=mjudge 2000-05-05 05:37:27 +00:00
mjudge%netscape.com
450040c157 bad infiniteloop fix 2000-05-05 02:38:03 +00:00
karnaze%netscape.com
a02cdba83c bug 37037, 37490, and a table paganation problem when captions are present. 2000-05-04 23:16:42 +00:00
karnaze%netscape.com
b55c22c6ab consider captions as blocks to calculate box-sizing. 2000-05-04 14:47:37 +00:00
mjudge%netscape.com
24e9fbcab6 stealing new bit for frames with their own selection. changing caret to be able to handle multiple selected areas. if the bit doesnt work out i will back it out. 2000-05-04 08:35:42 +00:00
karnaze%netscape.com
7be59ad273 bug 38048 - use correct reflow reason. fixed by Troy, r=karnaze 2000-05-04 00:39:01 +00:00
karnaze%netscape.com
87beb13dc1 bug 30692 - skip inner table cell's block as percentage base and use cell instead. r=troy 2000-05-03 14:36:04 +00:00
mkaply%us.ibm.com
23620fb329 # 34082
r= troy
OS/2 bring up continues - PR_CALLBACKs for VisualAge
2000-05-02 23:07:11 +00:00