462 Commits

Author SHA1 Message Date
bzbarsky%mit.edu
3fec1446b8 Remove unnecessary memsets. Bug 244876, patch by Rene Pronk
<r.pronk@its.tudelft.nl>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@157175 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-31 16:38:47 +00:00
bryner%brianryner.com
1f6e6de205 Reduce the amount of style data we fetch in nsTextFrame::Reflow. Bug 244651, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@156931 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-25 18:29:04 +00:00
jst%mozilla.jstenback.com
b91a41077c Fixing bug 242734. deCOMtaminate nsITextContent. r+sr=bryner@brianryner.com
git-svn-id: svn://10.0.0.236/trunk@156106 18797224-902f-48f8-a5cc-f745e15eee43
2004-05-07 20:55:17 +00:00
jst%mozilla.jstenback.com
74089032ff Fixing bug 240543. Hiding some nsIPref* API bloatyness in nsContentUtils. r=caillon@aillon.org, sr=peterv@propagandism.org
git-svn-id: svn://10.0.0.236/trunk@155712 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-29 23:34:19 +00:00
neil%parkwaycc.co.uk
3729473a44 Bug 142120 Ctrl+Right Arrow in space-only mode should not stop again after crossing spaces p=vdvo@vdvo.net r=roc sr=jst hopefully also fixing bug 236172
git-svn-id: svn://10.0.0.236/trunk@155120 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-19 15:33:33 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
bryner%brianryner.com
2359d2f7c4 More nsIPresContext deCOMtamination (bug 229371). r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@154743 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-13 00:28:44 +00:00
roc+%cs.cmu.edu
44185c6657 Bug 235264. Clean up invalidation to go through a single nsIFrame::Invalidate function and take account of 'outline' where necessary. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@153808 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-10 03:09:05 +00:00
bryner%brianryner.com
4b70febae6 inline IsPaginated, SetPaginatedScrolling, and GetPaginatedScrolling. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153488 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-03 18:24:20 +00:00
cbiesinger%web.de
636c6a237c Bug 188288 caret movement erratic with CTL enabled
patch by prabhat.hegde@sun.com r=roland.mainz@nrubsig.org sr=roc


git-svn-id: svn://10.0.0.236/trunk@153408 18797224-902f-48f8-a5cc-f745e15eee43
2004-03-01 21:36:35 +00:00
dbaron%dbaron.org
e5ad15e520 Rename {nsIDocument,nsIDocumentObserver,nsIFrame}::ContentChanged to CharacterDataChanged, since that's the only thing it's used for. Replace its nsISupports* parameter with a PRBool, since we don't need to allocate an object to pass a boolean parameter. Remove some (but probably not all) unneeded implementations on frames whose content is never a text node. b=234960 r+sr=jst
git-svn-id: svn://10.0.0.236/trunk@153040 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 21:38:31 +00:00
bryner%brianryner.com
3191a1feaa Inline boolean getters and setters on nsIPresContext, and change the storage to a bitfield. Bug 229371, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153018 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-20 17:49:01 +00:00
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