419 Commits

Author SHA1 Message Date
dougt%netscape.com
2a1fa41469 backing out bustage caused by jshin
git-svn-id: svn://10.0.0.236/trunk@138925 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 05:03:03 +00:00
jshin%mailaps.org
db716a64f8 bug 180266 : hard-code precompiled CCMaps to speed up start-up.
r=shanjian, sr=alecf,rbs


git-svn-id: svn://10.0.0.236/trunk@138916 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 03:40:10 +00:00
kyle.yuan%sun.com
fcde9c769e Bug 193656 [ATK Accessibility] implement accessible object for block frame
r=aaronl, sr=henry.jia


git-svn-id: svn://10.0.0.236/trunk@138910 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-05 02:51:36 +00:00
smontagu%netscape.com
b65ecd6c6f Bail out of nsTextFrame::MeasureText() early when contentLength is 0. Bug 129847, r=sfraser, sr=rbs.
git-svn-id: svn://10.0.0.236/trunk@138498 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 01:33:03 +00:00
sfraser%netscape.com
f987ee6a24 More const data goodness. r/sr=alecf. Bug 74803
git-svn-id: svn://10.0.0.236/trunk@138495 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-26 01:19:04 +00:00
smontagu%netscape.com
1a3bb57385 Remove nsITextFrame. Bug 188618, r/sr=roc+moz.
git-svn-id: svn://10.0.0.236/trunk@138398 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-25 00:44:04 +00:00
timeless%mozdev.org
c929add96b Bug 189295 nsTextFrame.cpp: The variable isWhitespace has not yet been assigned a value.
patch by Roland.Mainz@informatik.med.uni-giessen.de r=rbs sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@138301 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-23 18:39:41 +00:00
dbaron%dbaron.org
e6a2b29ebf Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst
git-svn-id: svn://10.0.0.236/trunk@138193 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 15:34:38 +00:00
bryner%netscape.com
c44337949a Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
jrgm%netscape.com
6c03de01b4 remove '#ifndef REPEATING_TIMERS' code. This was accidentally turned back on in 9/02 after being dead from 12/01, and will now revert to using repeating timers. Affect caret, <blink>, bookmarks & search 'ping'. bug 182141, r+sr=smfr
git-svn-id: svn://10.0.0.236/trunk@136651 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-20 04:26:17 +00:00
dbaron%dbaron.org
e44c2a9f95 Make nsContinuingTextFrame::GetFirstInFlow not crash. b=189515 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136597 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-18 15:21:33 +00:00
bzbarsky%mit.edu
a51e000a16 eliminate some build warnings. See bug 187117.
git-svn-id: svn://10.0.0.236/trunk@136426 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 19:44:21 +00:00
bzbarsky%mit.edu
291ec6eb41 Move GetFirstInFlow/GetLastInFlow up to nsIFrame. Bug 187117, r=roc+moz, sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@136402 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-16 02:59:04 +00:00
smontagu%netscape.com
d3fbbabadb Corrections to measurement of justified Arabic text. Bug 187866, r=sfraser, sr=rbs@maths.uq.edu.au.
git-svn-id: svn://10.0.0.236/trunk@136089 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 21:15:52 +00:00
aaronl%netscape.com
ee27cb1b5c Bug 98546. Fix word break detection to improve select by word where there is punctuation in the word. Also fixes 125172, double clicking in URL bar should select only part of URL. Also fixes bug 133312, word selection with accented letters. r=brade, sr=sfraser
git-svn-id: svn://10.0.0.236/trunk@136088 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 20:56:53 +00:00
dbaron%dbaron.org
a569c670f5 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
dbaron%dbaron.org
c278517282 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag
git-svn-id: svn://10.0.0.236/trunk@136010 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-08 21:19:10 +00:00
jfrancis%netscape.com
072ac8da08 fix for 180034: selection should respect the select_all style. code=mjudge, r=jfrancis, sr=kin
git-svn-id: svn://10.0.0.236/trunk@135559 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-22 01:45:15 +00:00
dbaron%fas.harvard.edu
119ebf6760 Fix uninitialized variable introduced last night. b=1777
git-svn-id: svn://10.0.0.236/trunk@135133 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 15:59:24 +00:00
caillon%returnzero.com
8a1bf17a45 Re-landing these because I don't believe this are responsible for the Txul spike.
Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135125 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 14:05:41 +00:00
caillon%returnzero.com
d751688cb9 Backing out these changes since they appear to have caused a Txul regression on some tinderboxes (not all... weird...)
git-svn-id: svn://10.0.0.236/trunk@135111 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 05:11:02 +00:00
dbaron%fas.harvard.edu
10a7236c6a Correctly implement text-decoration in standards mode by drawing the underline on the element with the text-decoration property set. Refactor painting code a bit to avoid code duplication. Patch by Esben Mose Hansen <esben@oek.dk>, with paint refactoring and some other changes by dbaron. r=dbaron sr=bzbarsky b=1777
git-svn-id: svn://10.0.0.236/trunk@135099 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-11 04:00:18 +00:00
caillon%returnzero.com
6b60a8affb Bug 181975 - Convert layout to use nsIPrefService, nsIPrefBranch, and friends.
r/sr=roc+moz


git-svn-id: svn://10.0.0.236/trunk@135068 18797224-902f-48f8-a5cc-f745e15eee43
2002-12-10 23:41:12 +00:00
peterv%netscape.com
d103a96ada Fix for bug 176610 (Make nsNameSpaceManager a service). r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@134587 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-29 23:44:07 +00:00
dbaron%fas.harvard.edu
307f43b5a1 Consolidate all CSS pseudos and split them into three atom lists to distinguish between pseudo-classes, pseudo-elements, and fake-pseudo-elements used for anonymous boxes. b=147887 r,sr=roc,bz
git-svn-id: svn://10.0.0.236/trunk@134006 18797224-902f-48f8-a5cc-f745e15eee43
2002-11-17 15:37:56 +00:00
karnaze%netscape.com
3d58e9c1e1 bug 176030 - Make Destroy fix up prev/next-in-flow pointers. a=roc, sr=bzbarsky, r=bernd.
git-svn-id: svn://10.0.0.236/trunk@132710 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-30 15:33:36 +00:00
bzbarsky%mit.edu
a70a392a2c Make GetParent on nsStyleContext return an
already_AddRefed<nsIStyleContext>.  Bug 171808, r=jkeiser, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@131531 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-09 01:46:15 +00:00
shanjian%netscape.com
e96dcbdf3f #54467 punctuation mark in the :first-letter pseudo-element does not cover all the Unicode punctuation marks
check more punctual mark for first-letter pseudo-element.
r=pierre, sr=waterson


git-svn-id: svn://10.0.0.236/trunk@131336 18797224-902f-48f8-a5cc-f745e15eee43
2002-10-07 22:16:57 +00:00
jkeiser%netscape.com
4b3dc6b474 Don't crash on pages with font-size: 1px (Rick.Ju@sun.com's patch, bug 170225), r=jkeiser@netscape.com, sr=bryner@netscape.com
git-svn-id: svn://10.0.0.236/trunk@130575 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-27 07:50:39 +00:00
glazman%netscape.com
2d08e4ac57 Add support for :-moz-selection CSS3 pseudo-element. See test case in bug. Should become ::selection once support for '::' parsing is implemented; b=167068, r=mjudge, sr=kin
git-svn-id: svn://10.0.0.236/trunk@130333 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-24 08:13:05 +00:00
jkeiser%netscape.com
0321a23661 Make nsIFontMetrics::GetAveCharWidth() on all platforms (Rick.Ju@sun.com's patch, bug 50998), r=cbiesinger@web.de, sr=rbs@maths.uq.edu.au
git-svn-id: svn://10.0.0.236/trunk@129999 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-19 01:47:14 +00:00
katakai%japan.sun.com
c3757bbb4f bug 167040
CTL: caret does not move to next/prev line on text area
r=Roland.Mainz@informatik.med.uni-giessen.de,sr=scc
(CTL is not part of default build)


git-svn-id: svn://10.0.0.236/trunk@129191 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-11 01:52:34 +00:00
dougt%netscape.com
e289284076 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129050 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 17:13:19 +00:00
dougt%netscape.com
db8cc9c7ec Fixes up the timer interface. b157136, r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com
git-svn-id: svn://10.0.0.236/trunk@129037 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-07 05:38:16 +00:00
rbs%maths.uq.edu.au
a1be59664a Overshooting when measuring the text caused things to go out-of-sync and to hang, b=142206, r=shanjian, sr=dbaron, a=asa
git-svn-id: svn://10.0.0.236/trunk@128860 18797224-902f-48f8-a5cc-f745e15eee43
2002-09-05 01:58:55 +00:00
shanjian%netscape.com
0e38ae2644 #161328 CJK string is not breakable before joined frames
This patch include 3 changes:
 1) check the breaking possibility  in between for 2 connection pieces.
 2) Make word breakable after the second word, priviously it only applies to western.
 3) always call RevertSpacesToNBSP before call line breaker. This is necessary because the
    change in 1.
r=boris zbarsky, sr=rbs


git-svn-id: svn://10.0.0.236/trunk@127993 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-23 21:43:42 +00:00
shanjian%netscape.com
abf2bedad3 Back out my previous change because it cause regression 162670.
git-svn-id: svn://10.0.0.236/trunk@127269 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-14 19:18:27 +00:00
shanjian%netscape.com
68a2861b2a #161328, CJK string is not breakable before joined frames
CJK character is marked as breakable after first word.
For joined piece, check if it is breakable in between.

r=rbs, sr=boris zbarsky


git-svn-id: svn://10.0.0.236/trunk@127215 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-13 23:50:42 +00:00
aaronl%netscape.com
dd1d50f19e Bug 158754 - rest of checkin (correct code formatting this time)
git-svn-id: svn://10.0.0.236/trunk@126982 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:22:52 +00:00
aaronl%netscape.com
89d5e8b0f9 Bug 158754. Allow type ahead find to change selection color, and show caret with selection. r=akkana, sr=jst
git-svn-id: svn://10.0.0.236/trunk@126980 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-10 08:15:30 +00:00
smontagu%netscape.com
87e0459927 GetWidth optimizations for Unix. Bug 36146. Authors Tomi.Leppikangas@oulu.fi, Roland.Mainz@informatik.med.uni-giessen.de; r=shanjian,smontagu; sr=rbs, darin
git-svn-id: svn://10.0.0.236/trunk@126829 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-09 00:13:11 +00:00
hwaara%chello.se
0defd3d409 #159065, comment-only change
r=jkeiser/sicking, sr=bz/jst, a=asa


git-svn-id: svn://10.0.0.236/trunk@126030 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-29 23:44:18 +00:00
karnaze%netscape.com
ed50f0e383 bug 154741 - use macros instead of NS_FRAME_COMPLETE, a=asa, sr=kin, r=alexsavulov.
git-svn-id: svn://10.0.0.236/trunk@125215 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-15 14:46:01 +00:00
shanjian%netscape.com
e81fefd3a4 #152056 Uninitialized memory read in nsTextFrame::GetPosition
relocate a line to prevent i from reaching contentLength.
r=mjudge, sr=dveditz


git-svn-id: svn://10.0.0.236/trunk@124579 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 03:47:53 +00:00
karnaze%netscape.com
a60fc067fa bug 154924 - use NS_FRAME_COMPLETE rather than macro as it was before bug 145305 was checked in. sr=kin
git-svn-id: svn://10.0.0.236/trunk@124575 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-03 01:44:51 +00:00
taka%netscape.com
8ea5186a8e Remove unexpected space inserted between Chinese and Japanese characters as a result of unfolding lines. These scripts don't use space as a word boundary. b=135323 r=shanjian sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124421 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 20:43:16 +00:00
dbaron%fas.harvard.edu
7c4652cc16 Split strict mode into almost-standards and full-standards mode, where the only quirk in almost standards mode is the quirky inline box model. Remove previous fix for bug 151620. Tweak mode detection to use almost-standards for XHTML Transitional, HTML 4.01 transitional with system ID, and for IBM system DOCTYPE. b=153032 r=karnaze, bzbarsky, harishd sr=waterson
git-svn-id: svn://10.0.0.236/trunk@124017 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-25 21:16:17 +00:00
mjudge%netscape.com
cc8e538c5c 113613 r=blythe sr=kin patch to fix end of line key moving caret outside of the style block. if we see a BR tag when searching for valid selection point keep backing up if possible.
git-svn-id: svn://10.0.0.236/trunk@123197 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-13 00:06:49 +00:00
smontagu%netscape.com
cc4e2832ab Do Arabic shaping earlier before measuring the text so that it gets laid out correctly. Bugs 117041, 138097. r=ftang, sr=waterson
git-svn-id: svn://10.0.0.236/trunk@123073 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 21:00:20 +00:00
cbiesinger%web.de
6f7dc93da9 bug 115473 r=pavlov sr=brendan
Remove timer priorities


git-svn-id: svn://10.0.0.236/trunk@123068 18797224-902f-48f8-a5cc-f745e15eee43
2002-06-11 20:47:04 +00:00