Commit Graph

6016 Commits

Author SHA1 Message Date
karnaze%netscape.com
03c51544fe new regression tests
git-svn-id: svn://10.0.0.236/trunk@59699 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-04 00:27:26 +00:00
jst%citec.fi
e4f760e7d6 Fixing linux build bustage, added missing .get()'s on nsCOMPtr's. r=kin@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59652 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 15:41:04 +00:00
karnaze%netscape.com
4b40120aae bug 7741 - handling of overlapping rowspans, r=troy.
git-svn-id: svn://10.0.0.236/trunk@59648 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 14:04:49 +00:00
dbaron%fas.harvard.edu
22c80ea3f0 Event Target Debugging (b=18175), a debugging feature to help with fixing bugs where events are going to the wrong elements. It shows (like Visual Debugging) which frame is receiving events, and one can therefore move the mouse over the page to see what frame gets events. All the code is #ifdef NS_DEBUG. However, it is not yet hooked up to the viewer menu (to be checked in later).
r=joki


git-svn-id: svn://10.0.0.236/trunk@59610 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 02:49:58 +00:00
troy%netscape.com
05e293d03e r=vidur@netscape.com Performance. Added NS_FRAME_HAS_VIEW frame state flag
so we can quickly tell whether the frame has an associated view


git-svn-id: svn://10.0.0.236/trunk@59586 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 00:51:37 +00:00
vidur%netscape.com
d55b639f5b Fix for bug 19185. document.clear(), which exists for JS compatibility anyway, now takes a JS context and uses it to find the URL of the calling context. r=pollmann
git-svn-id: svn://10.0.0.236/trunk@59576 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-03 00:25:53 +00:00
ftang%netscape.com
a128731cb0 r=nhotta, fix 24451. Change the IME hightlight code so
it won't draw out the clip boundary. It now draw by different color
instead of different hight.


git-svn-id: svn://10.0.0.236/trunk@59565 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:39:25 +00:00
valeski%netscape.com
8abecb4b3e r=warren. nsIUnicharStreamLoader is dead. Now we have a generic byte stream loader that can be used for any sort of data.
git-svn-id: svn://10.0.0.236/trunk@59559 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 23:04:47 +00:00
akkana%netscape.com
3d478016f0 24635: Don't convert entities in title differently from the rest of the document. Fix suggested by rickg, r=me
git-svn-id: svn://10.0.0.236/trunk@59550 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:47:24 +00:00
brade%netscape.com
b40b18cebb export file for rdf.mcp
git-svn-id: svn://10.0.0.236/trunk@59544 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 22:37:51 +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
troy%netscape.com
990bdb9c24 b=25617, r=buster@netscape.com r=karnaze@netscape.com Removed rules that specify
margin-left for right floated table/image and margin-right for left floated
table/image. This doesn't work when percentage based widths are involved


git-svn-id: svn://10.0.0.236/trunk@59526 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 15:38:01 +00:00
kin%netscape.com
77aab65125 Fix for bug #20387 (scrollbars appearing in single line text control)
mozilla/layout/forms/src/nsGfxTextControlFrame.cpp
    mozilla/layout/forms/src/nsGfxTextControlFrame.h
      - Added GetFirstFrameWithIID() utility method.
      - Modified InitializeTextControl() so that it sets the
        single line text control's viewport overflow value
        to NS_STYLE_OVERFLOW_SCROLLBARS_NONE.

r=buster@netscape.com


git-svn-id: svn://10.0.0.236/trunk@59519 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 14:12:01 +00:00
buster%netscape.com
d64562d6fd fixing linux bustage. got caught by a platform difference in handling
of nsCOMPtr and the equality operator


git-svn-id: svn://10.0.0.236/trunk@59509 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 08:28:37 +00:00
buster%netscape.com
faf4d905b4 fixed bug 24186 (well, fixed it enough for beta at least. see bug for details)
r=troy


git-svn-id: svn://10.0.0.236/trunk@59508 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 07:38:23 +00:00
buster%netscape.com
a7432b62d5 fixing very minor compile-time error that only shows up if you have certain
debug flags set.  r=none


git-svn-id: svn://10.0.0.236/trunk@59507 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 07:37:18 +00:00
karnaze%netscape.com
b3279d2e4c bug 25148, AppendCell grows its rows before figuring the starting col index, r=attinasi
git-svn-id: svn://10.0.0.236/trunk@59466 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 01:56:46 +00:00
attinasi%netscape.com
3be1b31aba Checking for border width > 0 before setting the border style to NS_STYLE_BORDER_STYLE_BG_INSET.
This fixes a bug where style changes were causing table cell borders to appear when previously there
were none. b=25425 r=karnaze


git-svn-id: svn://10.0.0.236/trunk@59456 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 01:15:04 +00:00
karnaze%netscape.com
4b7f714f72 new regression test
git-svn-id: svn://10.0.0.236/trunk@59451 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:56:02 +00:00
beard%netscape.com
4016626b85 the *REAL* fix for misbehaving drop-down lists. turns out z-index property value was incorrect in the style system itself. r=rods
git-svn-id: svn://10.0.0.236/trunk@59450 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:55:39 +00:00
karnaze%netscape.com
33c20babf3 bug 17826, removed buggy/unnecessary RecomputeAdjustedMinIfNecessary, r=attinasi
git-svn-id: svn://10.0.0.236/trunk@59448 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:48:30 +00:00
nisheeth%netscape.com
cdc51db942 Enabling async reflow after the document has loaded.
git-svn-id: svn://10.0.0.236/trunk@59443 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-02 00:19:52 +00:00
cmanske%netscape.com
5aa1e950e3 Part of composer table edit work (bug 20973): Return NS_TABLELAYOUT_CELL_NOT_FOUND instead of error when a cell isn't found at a cellmap location. r=mjudge.
git-svn-id: svn://10.0.0.236/trunk@59434 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 23:39:37 +00:00
rods%netscape.com
09cfbea54e removed all native widget frame implementations
b=(bugzilla is down, it's the one where I am suppose to remove all the extra cruft) r=dcone


git-svn-id: svn://10.0.0.236/trunk@59425 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 22:58:25 +00:00
waterson%netscape.com
a395b28551 Bugs 20677, 23905. Change nsXULElement to implement nsIContent like nsGenericElement and nsGenericHTMLElement. Specifically, do 'shallow' SetDocument() calls in AppendChildTo(), InsertChildAt() and ReplaceChildAt() methods. Change nsXULDocument to leave newly create element's mDocument as null (so 'null mDocument' means 'this element is not currently in the document'. Fix callers to ensure that a deep SetDocument() is made where necessary. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59424 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 22:57:36 +00:00
rods%netscape.com
1107f1b419 returning the correct return code instead of NS_OK
r=dcone, no bug


git-svn-id: svn://10.0.0.236/trunk@59416 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 22:42:19 +00:00
dcone%netscape.com
0c5aa54a72 fixed backgrounds. r=rods
git-svn-id: svn://10.0.0.236/trunk@59399 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 16:03:13 +00:00
buster%netscape.com
bd93fcecb2 fixed bug 25762
r=beard


git-svn-id: svn://10.0.0.236/trunk@59363 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 05:26:27 +00:00
troy%netscape.com
bac9e93e77 b=25834 r=karnaze@netscape.com Changed to ignore the reflow status when
reflowing an unknown frame (i.e., a frame that isn't a row group)


git-svn-id: svn://10.0.0.236/trunk@59360 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 04:30:04 +00:00
karnaze%netscape.com
4342f1e679 new regression test
git-svn-id: svn://10.0.0.236/trunk@59355 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 03:28:24 +00:00
karnaze%netscape.com
28c87201ae bug 24880 colspan/rowspan=0 handling, bug 22122 handle *0 proportional width; r=kmcclusk.
git-svn-id: svn://10.0.0.236/trunk@59353 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 03:23:29 +00:00
hyatt%netscape.com
abbd31277b Fix for 25883.
git-svn-id: svn://10.0.0.236/trunk@59326 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:20:26 +00:00
rods%netscape.com
c8eb9abdc2 added the caching of the restore state until the list frame gets reset
removed the positioning of the dropdown at the bottom of reflow
r kmcclusk b=21945,25059


git-svn-id: svn://10.0.0.236/trunk@59317 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:59:55 +00:00
vidur%netscape.com
1fc69f769b Partial performance fix for bug 25509. Restrict the size of text nodes (the max is settable via a pref-content.maxtextrun). r=nisheeth
git-svn-id: svn://10.0.0.236/trunk@59310 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:39:19 +00:00
rods%netscape.com
2190ae8e89 add extra debug; added some inremenal reflow code;
doing much better job check return vars;GetText now check for NS_OK;
r dcone, b 24292


git-svn-id: svn://10.0.0.236/trunk@59309 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:36:50 +00:00
karnaze%netscape.com
f838a7dc5b new regression tests
git-svn-id: svn://10.0.0.236/trunk@59295 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:03:08 +00:00
rods%netscape.com
e7a5a5632c removing the creation of native widget and replacing them with asserts (for now)
b 17027 r kmccluck


git-svn-id: svn://10.0.0.236/trunk@59290 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 22:46:55 +00:00
attinasi%netscape.com
ec346f0c5a Sorry - typo in change...
git-svn-id: svn://10.0.0.236/trunk@59249 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 14:26:25 +00:00
attinasi%netscape.com
7f83027391 Changed the setting of PrimaryFrame for elements wrapped in a GfxScrollFrame,
except for the DocElement which still has the primary frame set to the scrolledframe.
Fixed compiler warning around NS_NewFiedlSetFrame(...).
r=evaughan b=23803


git-svn-id: svn://10.0.0.236/trunk@59248 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 14:04:41 +00:00
attinasi%netscape.com
010367b83d Removed unused argument statements for elimination of warnings. No functional changes.
git-svn-id: svn://10.0.0.236/trunk@59247 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 13:54:39 +00:00
rbs%maths.uq.edu.au
add951b804 [#ifdef MATHML]. Hook for the ms tag
git-svn-id: svn://10.0.0.236/trunk@59240 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 23:33:38 +00:00
troy%netscape.com
1fe10fe3f2 b=25245. Fixed some problems in ReflowLine() when reflowing to incrementally
update the maximum width


git-svn-id: svn://10.0.0.236/trunk@59233 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:42:23 +00:00
troy%netscape.com
573b3e8c49 b=25245 Changed ComputeContainingBlockRectangle() to set the containing
block width to NS_UNCONSTRAINEDSIZE if it is an unconstrained reflow.
This way percentage based widths are treated properly


git-svn-id: svn://10.0.0.236/trunk@59232 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:40:48 +00:00
troy%netscape.com
1c1bc9d99d b=25245 Fixed ApplyLeftMargin() to not subtract for margins if it is an
unconstrained reflow


git-svn-id: svn://10.0.0.236/trunk@59231 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:29:52 +00:00
troy%netscape.com
0d18407104 b=25245 Changed Reflow() to return 0 for a max-element-width if the
image has a percentage based width


git-svn-id: svn://10.0.0.236/trunk@59230 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 18:28:38 +00:00
mscott%netscape.com
ef72a6f5f0 Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
tweaks to make doc loader observer scriptable
tweaks to make doc loader observer scriptable
r=travis


git-svn-id: svn://10.0.0.236/trunk@59167 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:08:05 +00:00
saari%netscape.com
8b71d64469 Fix for bug 22264. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59150 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 04:05:03 +00:00
troy%netscape.com
9866fd9793 b=25223. Block code now does a better job of determing where the floater
should go before reflowing it


git-svn-id: svn://10.0.0.236/trunk@59137 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:47:33 +00:00
troy%netscape.com
f06fedd7c3 b=22692 Changed RemoveFloater() to return PR_FALSE if the floater is
associated with that line


git-svn-id: svn://10.0.0.236/trunk@59134 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:17:04 +00:00
vidur%netscape.com
825e97e024 Fix for bugs 20485 and 24600. We no longer flush immediately in the content sink when we hit a script element. Instead the sink is a document observer and listens for BeginUpdate/EndUpdate notifications when evaluating a script and flushes only if necessary. Added BeginUpdate/EndUpdate notifications to nsIDocument and layout content (note that it's still necessary for XUL content). r=nisheeth,pollmann
git-svn-id: svn://10.0.0.236/trunk@59117 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:43:12 +00:00