450 Commits

Author SHA1 Message Date
cbiesinger%web.de
e8f5d1d6ef move debug-only function into #ifdef DEBUG. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152616 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-10 23:06:23 +00:00
dbaron%dbaron.org
97b8c2a403 Uncomment a call to SetColor that is needed. b=181336 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@152232 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-03 18:27:11 +00:00
bryner%brianryner.com
e46f7c8143 More nsIPresContext deCOMtamination (bug 229371). Removed GetBaseURL, rename GetMedium to Medium and inline it, remove virtual style resolution methods that forward to style set (callers will call style set methods directly). Removed PresContext parameter to StyleSet style resolution functions. r+sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@151927 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-28 00:18:22 +00:00
bryner%brianryner.com
70bf134ff4 Continuing nsIPresContext deCOMtamination (bug 229371). Remove GetImageLoadFlags (unused). Make failure to fetch the LookAndFeel service cause Init() to fail, don't null check it after that, and inlined the getter. Move IOService caching to nsImageFrame, the only user of it. r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@151636 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-21 09:35:59 +00:00
roc+%cs.cmu.edu
66839d6abc Bug 229052. Treat pre-formatted newlines like BRs, preserving the break type in nsBlockFrame::ReflowInlineFrame. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@151513 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 19:35:19 +00:00
roc+%cs.cmu.edu
35c266025d Bug 190735. deCOMtaminate nsIFrame::FirstChild and nsIFrame::GetAdditionalChildListName. r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@151077 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-09 14:20:53 +00:00
bryner%brianryner.com
4cca78120d deCOMtaminate nsIPresContext::GetCompatibilityMode / SetCompatibilityMode (bug 229081). r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150720 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-24 21:51:50 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
jshin%mailaps.org
b60ed2b547 bug 224337 : fix misalgined accesss in pre-composed CCMap (on RISC architectures) : r/sr=brendan, a=dbaron
git-svn-id: svn://10.0.0.236/trunk@150305 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-15 00:32:16 +00:00
dbaron%dbaron.org
c53d72392a Clean up nsIFrame::IsEmpty signature and move towards making 'white-space' work on inlines. b=191699 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@149126 18797224-902f-48f8-a5cc-f745e15eee43
2003-11-10 23:36:06 +00:00
uid502
e56ed2443c Bug 190735. DeCOMtaminate nsIFrame::GetFrameType. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@148665 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-31 20:19:18 +00:00
bryner%brianryner.com
eeddf02bde deCOMtaminate nsIDocument by changing methods to use return value instead of out-params, eliminating unused nsresult return values, moving some members to nsIDocument and inlining the getters/setters. Bug 222134, r=bzbarsky, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@148257 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-22 06:09:48 +00:00
dbaron%dbaron.org
33601224e0 Use the correct term "float" instead of "floater". b=218654 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@147924 18797224-902f-48f8-a5cc-f745e15eee43
2003-10-13 21:51:02 +00:00
dbaron%dbaron.org
1253348a57 Remove LL_TEXTSTARTSWITHNBSP, since it's a partial and broken solution to the problem, and it's in the wrong place. b=187899 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@147413 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-28 22:56:08 +00:00
jst%mozilla.jstenback.com
ef67a47aab Fixing bug 215981. DeCOMtaminating nsIContent and nsIDocument some, and also some minor changes to other related interfaces. r=caillon@aillon.org, sr=peterv@propagandism.org.
git-svn-id: svn://10.0.0.236/trunk@147354 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-27 04:18:26 +00:00
timeless%mozdev.org
64ddc42d96 Bug 219908 Remove some layout warnings
r=bz sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@147118 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-22 21:40:12 +00:00
dbaron%dbaron.org
10de1fb0dc Remove unneeded nsTextFrame::QueryInterface. b=188618 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@146971 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-16 22:04:48 +00:00
kyle.yuan%sun.com
deb559b045 Bug 215220 Unable to receive caret-move event in HTML document
r=aaron, sr=henry.jia
Bug 217311 [ATK Accessibility] wrong text structure for HTML text
r=bolian.yin (Not in the default build)
Bug 218992 no placeholder for broken image
r=bolian.yin (Not in the default build)
This patch aims at solving some ATK accessible text issues. The main parts of this patch (inside accessibility/src/atk directory or the #ifdef MOZ_ACCESSIBILITY_ATK/#endif macro) are not in the default build (it gets built only when the default toolkit set to gtk2)


git-svn-id: svn://10.0.0.236/trunk@146864 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-14 12:56:21 +00:00
bzbarsky%mit.edu
82c14d79dd DeCOMify GetParent/GetBindingParent/GetDocument on nsIContent. Bug 213823,
r+sr=jst


git-svn-id: svn://10.0.0.236/trunk@145289 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 21:25:13 +00:00
bzbarsky%mit.edu
6f5651c414 Tabbing through textfields should repaint instead of leaving them looking
selected.  Bug 214115, r=brade, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@145278 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-28 20:45:38 +00:00
dbaron%dbaron.org
c1302b91f2 Use unsigned type (at brendan's suggestion) for perhaps-more-efficient modulus. r+sr=brendan b=188761
git-svn-id: svn://10.0.0.236/trunk@145168 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 21:42:53 +00:00
dbaron%dbaron.org
af139ac181 Make blinkk blink in a 750ms on, 250ms off pattern. b=188761 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@145166 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-24 21:26:33 +00:00
roc+%cs.cmu.edu
37f8ccb7f1 Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144282 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-30 18:52:23 +00:00
dbaron%dbaron.org
519cf3b3d3 DeCOMtaminate nsIFrame::GetView and SetView, and add HasView, GetClosestView, and AreAncestorViewsVisible to consolidate common patterns. b=208004 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@143960 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:44:01 +00:00
caillon%returnzero.com
0a6d1ae509 Bug 209087
Content interface out-parameters should use ptr-to-ptrs instead of ref-to-ptrs and some small deCOMtamination.
r+sr=jst@netscape.com


git-svn-id: svn://10.0.0.236/trunk@143683 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-13 20:10:01 +00:00
dbaron%dbaron.org
69da9d4a19 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
arougthopher%lizardland.net
bbac0a90c3 Bug#161825
GetWidth optimizations need to be implemented on BeOS (text measurement performance)
sr=rbs
r=arougthopher


git-svn-id: svn://10.0.0.236/trunk@141451 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-19 16:40:06 +00:00
kaie%netscape.com
65f05f911b b=102246 Text does not completely highlight with a double-click if there is more than one style applied
r=mjudge sr=sfraser


git-svn-id: svn://10.0.0.236/trunk@141256 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-16 20:21:44 +00:00
seawood%netscape.com
5921049139 Purge XP_PC.
Bug #56767 r=mkaply sr=alecf


git-svn-id: svn://10.0.0.236/trunk@140602 18797224-902f-48f8-a5cc-f745e15eee43
2003-04-02 22:45:08 +00:00
smontagu%netscape.com
2c7d24c5a5 Correct a regression in Bidi ordering and simplify the way in which we determine whether Arabic shaping needs to be performed depending on the capabilities of the system and whether we are rendering character by character. Bug 192919, r/sr=rbs.
git-svn-id: svn://10.0.0.236/trunk@139103 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 20:56:03 +00:00
jshin%mailaps.org
3939b92747 bug 180266 : hard-code precompiled ccmaps. (r=shanjian, sr=alecf/rbs) : relanding
git-svn-id: svn://10.0.0.236/trunk@139069 18797224-902f-48f8-a5cc-f745e15eee43
2003-03-07 02:30:18 +00:00
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