8062 Commits

Author SHA1 Message Date
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
sfraser%netscape.com
f5c799d682 Avoid crashing when mousing over links in teh composer window. r=brade
git-svn-id: svn://10.0.0.236/trunk@59318 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 00:00:17 +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
akkana%netscape.com
8df59df731 18033: Emacs XBL key bindings for unix. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59314 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-31 23:47:40 +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
rbs%maths.uq.edu.au
8119a019ac Enable the <ms> tag
git-svn-id: svn://10.0.0.236/trunk@59239 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 23:30:54 +00:00
rbs%maths.uq.edu.au
9185e3d432 First check-in
git-svn-id: svn://10.0.0.236/trunk@59238 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-30 23:28:51 +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
scc%netscape.com
1679a8f4c7 |nsFrameIterator::QueryInterface| neglects to handle |nsIBidirectionalEnumerator| ... replacing hand-rolled QI with the macro to fix. r=pinkerton
git-svn-id: svn://10.0.0.236/trunk@59194 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 19:59:53 +00:00
mscott%netscape.com
822bdca5fe Part of docshell/webshell landing prep work. The doc loader is being re-factored into the uri loader.
r=travis


git-svn-id: svn://10.0.0.236/trunk@59168 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 06:08:52 +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
vidur%netscape.com
df9d1ddacd 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@59135 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 00:34:07 +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
pollmann%netscape.com
9ba6b9f387 Bug 6747: HTML labels now pass events to their assigned element in XUL documents too. r=rods
git-svn-id: svn://10.0.0.236/trunk@59108 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 23:29:36 +00:00
sfraser%netscape.com
e3af49b9d0 Fix for crash loading bugzilla pages (infinite reflow recursion). by vidur, r=smfr, a=leaf
git-svn-id: svn://10.0.0.236/trunk@59094 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 22:58:17 +00:00
leaf%mozilla.org
35f118f861 backing out rods to fix options lists
git-svn-id: svn://10.0.0.236/trunk@59088 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 19:03:34 +00:00
karnaze%netscape.com
d7b3bc8f7b bug 1809, 0 width tables (not trees) become auto, r=dcone, (hyatt)
git-svn-id: svn://10.0.0.236/trunk@59078 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:43:25 +00:00
rods%netscape.com
f8ad740dac using correct usesage pattern for getting and seeting the FrameState
Added in my new reflow code with an ifdef so I can work on it and fix other bugs
fixed the checking of return codes for getHTMLAttr
removed ShouldScrollFrameIntoView, the presshell can now do this.
also commented out the call to Position the Dropdown
r=dcone b=24292


git-svn-id: svn://10.0.0.236/trunk@59073 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:24:49 +00:00
jst%citec.fi
ef0034cde0 Remove delete call on an interface pointer (nsIFactory), use a nsCOMPtr in stead for proper refcounting. r=troy@netscape.com
git-svn-id: svn://10.0.0.236/trunk@59072 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:16:54 +00:00
rods%netscape.com
668b8285ec added check so it doesn't do a reset on the incremental reflow
r=dcone bug=none


git-svn-id: svn://10.0.0.236/trunk@59071 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:04:19 +00:00
rods%netscape.com
4161da0c7d when an option contained a comment node and and an attr was unset case a
WipeContainingBlock to be called. This was because the undisplayed node had a psuedo
style that wasn't being properly reolved to this code thought the comment was now visible
instead of being hidden.
b=none r=pierre,attinasi


git-svn-id: svn://10.0.0.236/trunk@59070 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 15:03:00 +00:00
pierre%netscape.com
9c05019ba2 Bug 24676 ("Need -moz-outline-radius feature"). Fixed the parsing of -moz-outline-radius.
git-svn-id: svn://10.0.0.236/trunk@59055 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 10:03:10 +00:00
rbs%maths.uq.edu.au
f0872e0643 Catch up with recent changes in layout
git-svn-id: svn://10.0.0.236/trunk@59046 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 09:00:03 +00:00
warren%netscape.com
94953b11eb Fix to propagate failure from MakeAbsolute to DOM event handler. r=vidur,joki
git-svn-id: svn://10.0.0.236/trunk@59032 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 06:55:27 +00:00
jim_nance%yahoo.com
370762744f Implemented idea from shaver for speeding up SelectorMatches().
We wait until we know we are going to need the contentTag before
we create it.
r=shaver


git-svn-id: svn://10.0.0.236/trunk@59021 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 04:37:13 +00:00
saari%netscape.com
67ec2fc3c1 Something I forgot with yesterday's checkin.
git-svn-id: svn://10.0.0.236/trunk@59015 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 04:04:26 +00:00
waterson%netscape.com
73367133db Fix nsXBLBinding leaks. r=hyatt
git-svn-id: svn://10.0.0.236/trunk@59009 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 03:16:08 +00:00
troy%netscape.com
345ea758ec b=25049. Fixed a problem with max-element-size not being calculated
correctly for a floated table


git-svn-id: svn://10.0.0.236/trunk@59008 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 03:12:30 +00:00
rbs%maths.uq.edu.au
b874b7c647 Slight rework to fix a particular situation
git-svn-id: svn://10.0.0.236/trunk@59000 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:31:09 +00:00
karnaze%netscape.com
e8ff8bb21f bug 24037 r=attinasi; nsOuterTableFrame handles bad incremental reflow by using the height of its rect.
bug 23235 r=attinasi; nsTableRowFrame requests max element size when reflowing cell for the 1st time.
bug 24410 r=attinasi; nsTableCellFrame reflow always checks width and height and updates the content empty flag.
bug 3305 r=troy,hyatt; table frame constructor cleanup, put caption in its own child list.


git-svn-id: svn://10.0.0.236/trunk@58996 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 02:19:45 +00:00
rbs%maths.uq.edu.au
197211d895 Beware of copy-paste!
git-svn-id: svn://10.0.0.236/trunk@58979 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:58:28 +00:00
nisheeth%netscape.com
56e559d918 Fix for bug 10818. r=troy. Add reflow batching APIs to the pres shell.
git-svn-id: svn://10.0.0.236/trunk@58975 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-28 00:48:02 +00:00
kin%netscape.com
8a522282c9 Fix for bug #25259: [Regression]Cannot enter text in Composer
Backed out attinasi@netscape.com's changes from revision 1.337.
a=leaf@netscape.com


git-svn-id: svn://10.0.0.236/trunk@58954 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 20:21:28 +00:00
rods%netscape.com
a8f719513a reworked reflow to better support incremental reflow
bugs 6747,18602 r=dcone


git-svn-id: svn://10.0.0.236/trunk@58940 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 15:57:30 +00:00
rbs%maths.uq.edu.au
2aa8ed388f Cleanup and flags for debug mode
git-svn-id: svn://10.0.0.236/trunk@58937 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 12:38:03 +00:00
rbs%maths.uq.edu.au
7fd7ce0e80 Recognize all the attributes of the mpadded tag
git-svn-id: svn://10.0.0.236/trunk@58936 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 12:35:30 +00:00
rbs%maths.uq.edu.au
b48bb7beb2 Enable the mspace tag
git-svn-id: svn://10.0.0.236/trunk@58935 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-27 12:33:28 +00:00