487 Commits

Author SHA1 Message Date
jshin%mailaps.org
e9432dbeae bug 36322 : Japanese text justification, patch by masayuki@d-toybox.com (r/sr=roc)
git-svn-id: svn://10.0.0.236/trunk@165494 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-19 03:21:12 +00:00
rbs%maths.uq.edu.au
64635379a7 Beautify ::first-letter by using MathML's GetBoundingMetrics, b=21616, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@165418 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-17 04:12:02 +00:00
rbs%maths.uq.edu.au
f2ee68ca0b Crash due to buffer overrun on malformed URL with soft-hyphen characters, b=267669, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@165411 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-16 22:43:06 +00:00
roc+%cs.cmu.edu
05b0dbe26a Changing IsFrameEmpty to IsSelfEmpty as dbaron requested and I forgot to do before checking in.
git-svn-id: svn://10.0.0.236/trunk@165364 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-15 05:01:11 +00:00
roc+%cs.cmu.edu
7f490d3aac Bug 261064. Compute static absolute positions more accurately. Also, ensure that static absolutely positioned frames are moved when their placeholders move. Also, ensure that absolutely positioned frames positioned relative to the left or bottom edge of their container move when the container size changes. r+sr=dbaron (rubberstamp)
git-svn-id: svn://10.0.0.236/trunk@165349 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-14 20:22:58 +00:00
smontagu%smontagu.org
d4954c0fc8 Make layout debugger show pseudo-styles. Bug 268235, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@165260 18797224-902f-48f8-a5cc-f745e15eee43
2004-11-11 17:48:09 +00:00
bzbarsky%mit.edu
0ff1d2bd76 Mask out temporary bits from the frame state to reduce regression test noise.
Bug 265552, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@164277 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-24 17:23:40 +00:00
rbs%maths.uq.edu.au
c54256c90a Improves linebreak behavior at inter-tag boundaries, patch by Hideo Saito <saito@densan.co.jp>, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@164020 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-19 07:12:55 +00:00
kyle.yuan%sun.com
35d4dce39e Bug 256252 ctrl+right arrow sometimes skip a word
r/sr=roc, patch=ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@163464 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-09 06:14:44 +00:00
jshin%mailaps.org
bef3a84c34 bug 263411 : :first-letter pseudo-element doesn't include all punctuation marks in the Unicode (r/sr=dbaron)
git-svn-id: svn://10.0.0.236/trunk@163407 18797224-902f-48f8-a5cc-f745e15eee43
2004-10-08 05:00:53 +00:00
kyle.yuan%sun.com
27ce42a23d Bug 237228 pref "layout.word_select.eat_space_to_next_word" can't be set by user in the profile's prefs.js
r=dbaron, sr=roc, patch=ginn.chen@sun.com


git-svn-id: svn://10.0.0.236/trunk@162576 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-21 04:25:08 +00:00
roc+%cs.cmu.edu
ab88d1e1ac Bug 259032. DeCOMtaminate nsIFrame::GetNext/PrevInFlow. r+sr=roc, patch by Will Levine
git-svn-id: svn://10.0.0.236/trunk@162269 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-14 02:28:03 +00:00
bryner%brianryner.com
ffa6c10070 Remove unneeded nsIFocusTracker interface, changing all users to nsIPresShell (bug 257596, r+sr=roc).
git-svn-id: svn://10.0.0.236/trunk@161569 18797224-902f-48f8-a5cc-f745e15eee43
2004-09-01 05:16:00 +00:00
bryner%brianryner.com
43628f9edf More nsIPresShell deCOMtamination:
- Made Get/SetAuthorStyleDisabled and ReconstructStyleData non-virtual when called internally.
- Inlined GetFrameSelection and renamed it to FrameSelection.
- Removed non-inline version of GetViewManager.
- Removed unused EnablePrefStyleRules and ArePrefStyleRulesEnabled.

Bug 253889, r+sr=roc.


git-svn-id: svn://10.0.0.236/trunk@161442 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-29 03:08:44 +00:00
bryner%brianryner.com
ff2bc0b69e Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:50:29 +00:00
blizzard%redhat.com
84b6f8a55f Bug #255405. BinarySearchForPosition can generate invalid unicode for text measurement. Make sure to not send half of a surrogate pair down to the font layer. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@161001 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-19 15:31:30 +00:00
bzbarsky%mit.edu
2dd2feb161 Trying to fix Tp regression. More of bug 254378, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@160625 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 21:25:48 +00:00
bzbarsky%mit.edu
77bea95a75 Cache the IsEmpty() state in the framestate so we don't have to do quite as
much style-getting and QIing.  Bug 254378, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@160616 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-10 19:09:49 +00:00
bryner%brianryner.com
736c955c54 Remove non-inlined version of nsIPresShell::GetDocument(). Bug 253889, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160208 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-02 04:52:55 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
bryner%brianryner.com
b17b3249f7 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@160067 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-29 19:41:39 +00:00
aaronleventhal%moonset.net
526c59be60 Bug 171366. Support tabindex for all elements. r=bryner, sr=jst
git-svn-id: svn://10.0.0.236/trunk@158815 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-07 00:58:57 +00:00
pkw%us.ibm.com
684992284a Bug 248216 - Mismatched new[]/delete in nsTextFrame.cpp.
r/sr=dbaron@dbaron.org


git-svn-id: svn://10.0.0.236/trunk@158362 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-23 16:38:38 +00:00
roc+%cs.cmu.edu
0b0fa89131 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@157992 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-17 00:13:25 +00:00
smontagu%smontagu.org
d1a1c12261 DeCOMtaminate nsIFrame Set/GetProperty and merge Set/GetBidiProperty with it. Bug 117751, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@157214 18797224-902f-48f8-a5cc-f745e15eee43
2004-06-01 06:20:16 +00:00
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