2544 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
357b320b0b Add a pref (layout.frames.force_resizability) to force frames to be
resizable.  Bug 105797, r=hyatt, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@107043 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-02 02:19:49 +00:00
karnaze%netscape.com
5d4ad94e7c fix crash in display reflow debugging.
git-svn-id: svn://10.0.0.236/trunk@106973 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:53:57 +00:00
karnaze%netscape.com
b1771999ca bug 105166 - split images (except for image contro frames), round pixels down for printing. sr=attinasi,kin r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106966 18797224-902f-48f8-a5cc-f745e15eee43
2001-11-01 15:31:13 +00:00
karnaze%netscape.com
b82075b237 bug 107403 - shannond's patch to cast debug code before deleting to satisfy HP-UX. r=karnaze
git-svn-id: svn://10.0.0.236/trunk@106827 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 14:45:12 +00:00
bryner%netscape.com
9f640c7836 Debug-only change to print out the img src when the frame tree is dumped. r=pavlov, sr=waterson.
git-svn-id: svn://10.0.0.236/trunk@106808 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 04:43:48 +00:00
dbaron%fas.harvard.edu
851c51369f Additional cleanup after bug 56117: prevent :first-letter from leading to style resolution on text nodes and stop all style resolution for placeholder frames (formerly :placeholder-frame pseudo-element) and for text following a :first-line pseudo-element (formerly :-moz-letter-frame pseudo-element). b=107534 r=waterson, attinasi sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@106793 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-31 02:53:47 +00:00
rbs%maths.uq.edu.au
410c9e51f2 bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106728 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 22:58:00 +00:00
jst%netscape.com
ac8fa2d5a5 Fixing part of bug 107453. Combine rarely used leaf element classes into one class to cut down on the amount of code we have for implementing all those dom interfaces. This makes using the combined elements (base, embed, isindex, param, spacer, colgroup, and wbr) a bit more expensive but since they're hardly ever used it's ok for them to take up a bit more heap space when used. r=dbaron@netscape.com, sr=waterson@netscape.com
git-svn-id: svn://10.0.0.236/trunk@106681 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 10:14:06 +00:00
dbaron%fas.harvard.edu
9b135c4afe Avoid attempting to do CSS selector matching on text nodes, comments, or processing instructions by adding a 'NonElement' style resolution method that assumes that no rules match (temporarily, until we don't have style contexts for text nodes) and by cleaning code that was using textPseudo (the usual case) or passing the text node directly (only a few unusual cases). b=56117 r=hyatt sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106640 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 06:02:05 +00:00
hyatt%netscape.com
cd68d72f41 SetParent in nsIFrame should not be inlined. r=evaughan, sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@106598 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-30 00:01:39 +00:00
karnaze%netscape.com
4ff0e5cecb bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
git-svn-id: svn://10.0.0.236/trunk@106524 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-29 01:43:59 +00:00
jaggernaut%netscape.com
9e8f600926 Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@106460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-27 06:44:19 +00:00
alecf%netscape.com
c96e504eb3 Convert users of nsCRT::ToUpper(PRUnichar) to ToUpper(PRUnichar) for bug 100214, r=jag, sr=scc
git-svn-id: svn://10.0.0.236/trunk@106366 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 17:18:35 +00:00
dbaron%fas.harvard.edu
7ddeb79974 Remove unnecessary XPCOM interface around nsSpaceManager. b=102453 r=jag sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106331 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-26 05:06:07 +00:00
dbaron%fas.harvard.edu
e1c9429f4f Fix Mac debug build bustage. (Why don't we have a mac debug tinderbox?) b=86947
git-svn-id: svn://10.0.0.236/trunk@106280 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 20:19:32 +00:00
mkaply%us.ibm.com
3fb7e38337 Attempt to fix OS/2 bustage
git-svn-id: svn://10.0.0.236/trunk@106269 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 13:13:28 +00:00
dbaron%fas.harvard.edu
be48c3eb66 Fixing AIX and OS/2 bustage by passing by value instead of by reference to operator== and operator!=.
git-svn-id: svn://10.0.0.236/trunk@106253 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 06:34:10 +00:00
dbaron%fas.harvard.edu
9ef49bf676 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974
git-svn-id: svn://10.0.0.236/trunk@106235 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 03:21:53 +00:00
dbaron%fas.harvard.edu
8b3489a026 Bug 86947:
Make the line list doubly linked and access it through a list class and iterators.
Stop recomputing margins on all of the children of each block in the reflow chain (which causes O(N^2) state recovery during incremental reflow).  Instead, add a second dirty bit to the lines and walk backwards through the line list to recompute vertical margins only when either dirty bit is set and the previous line was not reflowed.  Add nsIFrame::IsEmpty to identify frames through which margins collapse.
Fix O(N^2) propagation of float damage by maintaining a set of intervals damaged by floats (bug 61962) and be sure to damage the correct areas (bug 48138).
Introduce nsCollapsingMargin to do correct collapsing of combinations of positive and negative margins (bug 50142).
Clean up some odds and ends and fix another smaller O(N^2) problem in nsBlockFrame::AddFrames.
r=attinasi, rbs  sr=waterson


git-svn-id: svn://10.0.0.236/trunk@106224 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-25 01:08:40 +00:00
mkaply%us.ibm.com
0b0e2dd7c9 Fix for OS/2 and AIX bustage
git-svn-id: svn://10.0.0.236/trunk@106188 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 19:12:02 +00:00
bernd.mielke%snafu.de
ac43e7d583 bug 104898 the borderpadding should not influence the inner table margin relative to the
outertable frame r=karnaze sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106168 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 14:36:33 +00:00
simon%softel.co.il
ec64a2b0c8 Fix for bug 75034: Selection highlight on some Bidi pages was displayed in the opposite position to the actual selection. r=kin@netscape.com, sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106165 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 11:12:31 +00:00
attinasi%netscape.com
739f7f8dad Checkin for tingley@sundell.net - Blinking text optional via pref b=19258 r=dbaron sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@106133 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 04:51:34 +00:00
bernd.mielke%snafu.de
f7141b99f6 bug 103443 remove the last two occurences of rv?rv:NS_ERROR_FAILURE
r=kin sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106132 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 04:50:37 +00:00
hyatt%netscape.com
ab0e4e56d4 Fix for 104336, deCOMtaminate rulenode, rulewalker, frames, r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@106100 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 00:01:09 +00:00
bzbarsky%mit.edu
66a5cec532 Make setting body.style.background invalidate the whole canvas so the
background is repainted correctly. r=kmcclusk@netscape.com, sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@106067 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 22:08:30 +00:00
dougt%netscape.com
62a8215278 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172 , 104316 , 104420 , 104426 , 104461 , 104511 , 104527
git-svn-id: svn://10.0.0.236/trunk@106009 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-23 01:37:21 +00:00
bryner%netscape.com
73a2cc7db6 Bug 104977 -- landing tabbing rewrite. Fixes bugs 78256, 83575, 85602, 96273, 103980, and 105224. r=saari, sr=hyatt.
git-svn-id: svn://10.0.0.236/trunk@105981 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-22 22:43:52 +00:00
pavlov%netscape.com
3fb5ffef03 fix for bug 105257 r=dbaron sr=mscott
git-svn-id: svn://10.0.0.236/trunk@105890 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-21 00:12:53 +00:00
pinkerton%netscape.com
a23e69e10e adding a couple of prefs to make word selection better on mac. doesn't eat whitespace to next word and stops at punctuation. r=mjudge/sr=sfraser. bug# 98546
git-svn-id: svn://10.0.0.236/trunk@105772 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-19 14:10:22 +00:00
ftang%netscape.com
671c15eaef fix bug 96530. delay loading of unicharutil dll till we really need it.
r=dp sr=waterson


git-svn-id: svn://10.0.0.236/trunk@105503 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 12:38:19 +00:00
dbaron%fas.harvard.edu
1382ac90eb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst
git-svn-id: svn://10.0.0.236/trunk@105468 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu
7bb7b59a69 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
git-svn-id: svn://10.0.0.236/trunk@105460 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-16 03:53:44 +00:00
pavlov%netscape.com
eff7407871 removing lowsrc support. bug 92453. r=jag sr=attinasi
git-svn-id: svn://10.0.0.236/trunk@105378 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-14 01:17:08 +00:00
bernd.mielke%snafu.de
bd8b619784 bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
r=dbaron sr=attinasi


git-svn-id: svn://10.0.0.236/trunk@105372 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-13 09:27:46 +00:00
ftang%netscape.com
bf09d01765 fix bug 88050. remove Korean base transformation. r=jshin sr=waterson
git-svn-id: svn://10.0.0.236/trunk@105122 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:22:13 +00:00
dbaron%fas.harvard.edu
6625c5de76 Fix 'text-decoration: blink' and the blink element. Patch from Chase Tingley <tingley@sundell.net>. r=dbaron sr=hyatt b=89065
git-svn-id: svn://10.0.0.236/trunk@105120 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-11 00:15:09 +00:00
loadrunner%betak.net
24b2d56b7e bug 88155, Trunk & M094 crash [@ MSVCRT.DLL - ns4xPluginStreamListener::OnDataAvailable, nsPluginStreamListenerPeer::OnDataAvailable] - seg faults loading http://www.planetjulie.com/, r=av, peterl, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104907 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-09 10:15:06 +00:00
beard%netscape.com
e130958c83 Fix for bug #103431, r=peterl, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@104858 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 22:58:59 +00:00
alexsavulov%netscape.com
ba9ff4582a fix for bug 45621 - added MarkDirty for procentage child in case of nowrap
blocks, consolidated the logic in nsBlockFrame::PrepareResizeReflow
sr= attinasi, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@104835 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-08 21:51:48 +00:00
pavlov%netscape.com
6befe588de fix for bug 103477 r=jag sr=hyatt (not bug 103536 as previously stated)
git-svn-id: svn://10.0.0.236/trunk@104768 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 18:02:13 +00:00
hyatt%netscape.com
876bd88124 fix for 101746. r=dbaron, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@104752 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-07 00:19:01 +00:00
pavlov%netscape.com
3b6f9233b7 adding null check to fix orangeness.
git-svn-id: svn://10.0.0.236/trunk@104732 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 08:19:44 +00:00
pavlov%netscape.com
38a84b009c fix for bug 92248 r=bryner sr=jst
git-svn-id: svn://10.0.0.236/trunk@104721 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-06 05:08:16 +00:00
attinasi%netscape.com
b4a54fc96b Protection against null param for topcrash bug 100298. r=kmcclusk sr=kin
git-svn-id: svn://10.0.0.236/trunk@104480 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-03 00:01:04 +00:00
bzbarsky%mit.edu
d063da77e9 Move the zero-check to before we divide by the number. Fixes crash when
all 3 header or all 3 footer print prefs are empty strings. Bug 102257,
r=rods, sr=shaver


git-svn-id: svn://10.0.0.236/trunk@104358 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 23:57:57 +00:00
mkaply%us.ibm.com
28b39562c5 #81664
r=simon@softel.co.il, sr=attinasi for nsTextFrame, sr=blizzard for nsBidiPresUtils
Cleanup of bidi reordering code


git-svn-id: svn://10.0.0.236/trunk@104294 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 03:43:42 +00:00
mkaply%us.ibm.com
5c53d0b96c #79798
r=ftang, sr=kin@netscape.com
Cursor is an ambigous term - use caret to refer to the text caret in Bidi functions


git-svn-id: svn://10.0.0.236/trunk@104268 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-30 20:35:55 +00:00
vidur%netscape.com
ec7aeceee0 Fixes for printing bugs 84017 and 89151. The fix for bug 84017 removes the need for a resize reflow to get form frame values to print. The restoration of these values into the new frame model is done as part of the initial reflow. The fix for bug 89151 gets rid of the extra frame model built and forces printed images to come out of the decoded image cache. r=darinf, heikki, sr=rpotts
git-svn-id: svn://10.0.0.236/trunk@104221 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 17:50:15 +00:00
jaggernaut%netscape.com
51e0dc7a6c Bug 100476: Convert uses of member functions ToNewUnicode, ToNewCString and ToNewUTF8String to their global versions and remove support from nsCString and nsString. r=dbaron, rs=scc
git-svn-id: svn://10.0.0.236/trunk@104212 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-29 08:28:41 +00:00