karnaze@netscape.com
7ce5d8ded3
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
2002-05-28 22:50:43 +00:00
shanjian@netscape.com
8ee8e6e790
#142562 problem with <td align=right or align=center
...
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
jst@netscape.com
78ccba6821
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
2002-05-23 00:00:34 +00:00
rbs@maths.uq.edu.au
c1862b3bb4
Added yet another defense to make Mozilla really robust when font resources run out, the patch makes font metrics to be fail safe or at least very hard to break -- to the point that failure means that the system is barely working (testing showed that Mozilla stayed alive while other applications were dying). Per request of super-reviewer & driver, also removed wallpaper null-checks sprinkled in the past for the problem. b=136248, r=shanjian, sr=attinasi
2002-05-02 22:24:59 +00:00
bzbarsky@mit.edu
fb1caee715
Make selecting parts of a line in align:justify work right on
...
Mac/Linux. Bug 58704, r=akkana, sr=kin
2002-04-29 22:03:41 +00:00
rods@netscape.com
372dee098c
Use binary search from nsTextFrame to find the length of the header/footer strings
...
Bug 139384 r=dcone sr=attinasi
2002-04-26 11:30:33 +00:00
waterson@netscape.com
62adeef31b
Bug 128855. Be sure to grow |spacing| array in the case of small caps. Patch provided by Andrew Schultz <ajschult@eos.ncsu.edu>, r=attinasi, sr=waterson, a=asa.
2002-04-07 17:37:30 +00:00
rbs@maths.uq.edu.au
f341647e39
Bug 129560 - Selection doesn't display on stretchy MathML characters. This is the part of the patch that makes text frames retain an appropriate width during selection (to avoid the caret to undershot when crossing stretchy characters), r=dbaron, sr=attinasi, a=asa
2002-04-04 02:15:57 +00:00
shanjian@netscape.com
98617fee48
#128394 Cursor position widely off from actual text when selection is made.
...
Taking langGroup into consideration when selecting font for text selection, it
should be consistent with the way of rendering text.
r=rbs, sr=attinasi, a=asa, adt
2002-04-03 23:26:58 +00:00
ftang@netscape.com
1bf7c5e5f2
fix bug 130441 and 122584
...
support surrogate in text-align: jutify , selection and cusor movement
r=shanjian/smontagu sr=kin a=asa
2002-03-27 03:28:34 +00:00
bzbarsky@mit.edu
9595cbfcad
Speed up text measurement inside <pre> (major win for view source). Bug
...
98118, r=shanjian, sr=roc+moz, a=asa
2002-03-05 23:23:09 +00:00
attinasi@netscape.com
5a63ba5b43
Safety checks, in case the normalFont cannot be realized (due to system font exhaustion). b=117736 r=rbs sr=shaver a=asa
2002-02-26 00:13:49 +00:00
smontagu@netscape.com
0b18ff0721
Converting bidi utilities to non-XPCOM interfaces. Bug 120818; r=mkaply, nhotta; sr=attinasi
2002-02-19 20:41:32 +00:00
rbs@maths.uq.edu.au
fab462f84d
Initialize variables - regression/left-over from bug 96870 that caused me to spent cycles chasing a non-existent bug elsewhere, carrying forward r=rods, sr=attinasi
2002-02-19 07:30:58 +00:00
dcone@netscape.com
9938bc4eee
b=96870 r=rods sr=attinasi Fixed printing so backgrounds can be turned on and off.
2002-02-15 14:48:12 +00:00
timeless@mac.com
ae3cdd2c1e
Bug 125601�ABS()-->PR_ABS() && PR_ABS()-cleanup
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=timeless sr=sfraser
2002-02-15 01:01:06 +00:00
cathleen@netscape.com
5139dae37b
eliminates 107 nsCRT::memset calls to use memset instead. removed nsCRT::memset() function. bug 118135 r=dp sr=brendan
2002-02-05 01:41:13 +00:00
cathleen@netscape.com
bff663ff77
remove memcpy function from nsCRT, eliminate 2 new nsCRT::memcpy callers
...
and fix up alighment problems from previous patch, bug 118135, sr=brenda r=dp
2002-01-26 00:04:45 +00:00
jst@netscape.com
74f7d6a45d
Fixing bug 120899. Changing the NS_WARN_IF_FALSE() macro so that it can't be mis-used in optimized builds. This change makes the macro not usable in expressions that are supposed to be evaluated in release code since the macro now expands to nothing in non-debug builds. Also eliminate NS_VALIDATE which is equally mis-usable. r=dbaron@fas.harvard.edu, sr=brendan@mozilla.org
2002-01-24 09:20:51 +00:00
pierre@netscape.com
58647d21d0
89503 "font-size:0 ignored". When the font size is 0, set the x-height, ascent and descent to 0 in the TextReflowData. r=rbs/sr=attinasi
2002-01-14 13:21:55 +00:00
cathleen@netscape.com
73e0bc3ed7
converted 271 references to nsCRT::memcpy to memcpy, bug 118135 r=dp
2002-01-12 03:18:55 +00:00
timeless@mac.com
7b21915f33
Bug 84380 Need a component that generates thai presentation forms
...
patch by Roland.Mainz@informatik.med.uni-giessen.de r=cls, r=pradhat, sr=attinasi
2002-01-10 02:32:43 +00:00
shanjian@netscape.com
1d12d8ad8f
#110243 trailing whitespaece removed twice
...
r=rbs sr=attinasi
2001-12-20 02:25:55 +00:00
mkaply@us.ibm.com
43e0fb6684
OS/2 bustage
2001-12-18 06:15:46 +00:00
mjudge@netscape.com
fe566cee71
bs=7868 r=saari Adding in new api to bake on trunk before going to branch. this adds nsISelectionDisplay to nsISelectionController. SetDisplayFlags are how we now set if you want images selected or not
2001-12-18 01:29:49 +00:00
jaggernaut@netscape.com
0467433db5
Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf
2001-12-16 11:58:03 +00:00
mkaply@us.ibm.com
a8fee1cf01
#114826
...
r=mkaply, a=asa for drivers
OS/2 only - back out OS/2 specific fix to fix regression
I'm checking this in now so I can make our automatic daily build on OS/2
2001-12-12 23:14:55 +00:00
karnaze@netscape.com
3c367a5d13
bug 113424 - mechanism for percent height frames inside table cells to receive special height reflow. sr=attinasi, r=alexsavulov
2001-12-07 14:51:12 +00:00
attinasi@netscape.com
3d143ed804
Null checks for non-reproducable crash: b=108105 ...
2001-12-07 00:03:48 +00:00
mkaply@us.ibm.com
1f0dc89776
#107905
...
r=mkaply, sr=attinasi
OS/2 only - don't shortcut font computations for fixed with fonts
2001-11-30 22:47:57 +00:00
kin@netscape.com
23e8c87dfd
Fix for bug 111264: nsTextFrame::SetSelected() calls Invalidate() with empty rect.
...
Prevent SetSelected() from generating invalidate warnings by
preventing calls to Invalidate with an empty rect.
r=jfrancis@netscape.com sr=attinasi@netscape.com
2001-11-29 22:54:15 +00:00
mkaply@us.ibm.com
5a90ccd513
#108280
...
r=mkaply, sr=blizzard
OS/2 only - code from Javier Pedemonte to get our fonts back after 99010
2001-11-27 22:58:37 +00:00
mkaply@us.ibm.com
0d3170fad1
#36163
...
r=mkaply, r/sr=attinasi
Don't show Bidi control characters in the browser
2001-11-14 14:21:52 +00:00
karnaze@netscape.com
a3ac20fe84
bug 103925 (2nd patch) - flag pixel rounding errors in display reflow debugging. sr=attinasi, r=bernd
2001-11-14 13:40:03 +00:00
bzbarsky@mit.edu
aa00eb2f47
Use NS_LITERAL_STRING instead of NS_ConvertASCIItoUCS2 where possible
...
(i.e. where the string is a literal). Bug 104159, r=jag, sr=alecf
2001-11-14 01:33:42 +00:00
attinasi@netscape.com
977bfb19d7
Elimiate calls to nsFrame::Invalidate when the dirtyRect is empty. Also, removed some invalid code from nsFrame::Invalidate and added DEBUG check to catch later offenders. b=103266 r=rbs sr=hyatt
2001-11-06 01:44:20 +00:00
dbaron@fas.harvard.edu
686c80f47c
Ensure that text inputs, checkboxes and radios paint over inline element backgrounds that are behind them. Fix a few build warnings. b=107244 r=rods sr=waterson
2001-11-03 06:23:19 +00:00
rbs@maths.uq.edu.au
08974c4b75
bug 102088 - Cleanup transitory font APIs that were used as a bridge in bug 99010, r=waterson, sr=attinasi
2001-10-30 22:58:00 +00:00
karnaze@netscape.com
63f46f0ed2
bug 103925 - general reflow debugging capability. sr=attinasi, r=alexsavulov
2001-10-29 01:43:59 +00:00
alecf@netscape.com
56f46f1d92
Convert users of nsCRT::ToUpper(PRUnichar) to ToUpper(PRUnichar) for bug 100214, r=jag, sr=scc
2001-10-26 17:18:35 +00:00
dbaron@fas.harvard.edu
4b1de618fc
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
2001-10-25 01:08:40 +00:00
simon@softel.co.il
f9b8e04f50
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
2001-10-24 11:12:31 +00:00
pinkerton@netscape.com
984dbbabbe
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
2001-10-19 14:10:22 +00:00
dbaron@fas.harvard.edu
d52d3d978e
Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc
2001-10-16 03:53:44 +00:00
bernd.mielke@snafu.de
ddaa570810
bug 103443 replace the return rv?rv:NS_ERROR_FAILURE; with a more correct version
...
r=dbaron sr=attinasi
2001-10-13 09:27:46 +00:00
dbaron@fas.harvard.edu
794816bc8e
Fix 'text-decoration: blink' and the blink element. Patch from Chase Tingley <tingley@sundell.net>. r=dbaron sr=hyatt b=89065
2001-10-11 00:15:09 +00:00
mkaply@us.ibm.com
9823a7c043
#81664
...
r=simon@softel.co.il , sr=attinasi for nsTextFrame, sr=blizzard for nsBidiPresUtils
Cleanup of bidi reordering code
2001-10-01 03:43:42 +00:00
waterson@netscape.com
138dcdd08a
Bug 58384, 86279. Be sure to trim letter spacing as well as word spacing in TrimTrailingWhiteSpace(). Also, explicitly add letter spacing where appropriate, instead of including it in word spacing. r=shanjian, sr=attinasi.
2001-09-28 22:39:10 +00:00
gerv@gerv.net
58d409fba9
Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
2001-09-28 20:14:13 +00:00
rbs@maths.uq.edu.au
c491d7fbef
bug 99010 - font changes. r=attinasi@netscape.com, sr=waterson@netscape.com
2001-09-27 18:34:30 +00:00