Simon Montagu
|
1ecc6bcb4a
|
Add a mParagraphDepth member to BidiParagraphData and cache it on frames to track nested bidi-isolated paragraphs. Use mParagraphDepth (* 2 + isRTL in order to keep LTR even and RTL odd) as the initial paragraph embedding level instead of pushing a stack of embedding codes. Pass the <bdi> frame instead of its first-child to BidiParagraphData::Reset and save a call to GetParent(). Split inline ancestors before and after bidi-isolated paragraphs, in the same way that we currently do between runs in different directions. This required also adding code to SplitInlineAncestors to handle situations where the parent frame is being split before its first child or after its last child. In JoinInlineAncestors, prevent frames that belong to paragraphs isolated from one another from being rejoined. Bug 712600, r=ehsan, roc
|
2012-01-11 21:26:02 +02:00 |
Simon Montagu
|
3a4eac9582
|
Test the containing frame for continuations, not the child. Bug 698706, r=roc
|
2011-11-07 16:26:50 +02:00 |
Simon Montagu
|
5b5fad7c13
|
Implement unicode-bidi: -moz-isolate in layout. Bug 613149, r=roc
|
2011-10-18 14:51:57 +02:00 |
Michael Wu
|
ac54b41b01
|
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
|
2011-09-28 23:19:26 -07:00 |
Simon Montagu
|
d1d43b4388
|
Make all nsBidiPresUtils methods static. Bug 624798, r=roc
|
2011-04-13 12:23:49 +03:00 |
Simon Montagu
|
913bb025ab
|
Include continuations of frames with no newline. Bug 582181, r=roc
|
2011-06-15 10:45:57 +03:00 |
Simon Montagu
|
258444f310
|
Bug 263359/Bug 229367: resolve paragraph on encountering <br> or embedded block elements. r=roc
|
2011-04-11 10:59:30 +03:00 |
Simon Montagu
|
db70770d41
|
Bug 263359 part 2.5: cache lines per frame in TraverseFrames. r=roc
|
2011-06-09 09:29:08 +03:00 |
Simon Montagu
|
14f19746d5
|
Bug 263359 part 2: split nsBidiPresUtils::Resolve into Resolve and ResolveParagraph. r=roc
|
2011-04-11 10:59:30 +03:00 |
Simon Montagu
|
e27a5be9d6
|
Bug 263359 part 1: refactor bidi resolution code, combining InitLogicalArray and CreateBlockBuffer. r=roc
|
2011-04-11 10:59:30 +03:00 |
Simon Montagu
|
76d688ac11
|
Back out bug 263359 and bug 624798 because of performance regressions (bug 650189)
|
2011-04-27 11:47:18 +03:00 |
Jan Küchler
|
23271beb1d
|
Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
|
2011-04-07 18:04:40 -07:00 |
Simon Montagu
|
9ae58348b0
|
Make all nsBidiPresUtils methods static. Bug 624798, r=roc
|
2011-04-13 12:23:49 +03:00 |
Simon Montagu
|
d4941fe033
|
Bug 263359/Bug 229367: resolve paragraph on encountering <br> or embedded block elements. r=roc
|
2011-04-11 10:59:30 +03:00 |
Simon Montagu
|
b0b2b8a775
|
Bug 263359 part 2: split nsBidiPresUtils::Resolve into Resolve and ResolveParagraph. r=roc
|
2011-04-11 10:59:30 +03:00 |
Simon Montagu
|
bf74e52d9c
|
Bug 263359 part 1: refactor bidi resolution code, combining InitLogicalArray and CreateBlockBuffer. r=roc
|
2011-04-11 10:59:30 +03:00 |
Ehsan Akhgari
|
b92eb7ae7d
|
Back out bug 263359 because it has caused bug 645119
|
2011-03-25 18:15:29 -04:00 |
Simon Montagu
|
57a88642a9
|
Bug 263359 part 3: resolve paragraph on encountering <br> or embedded block elements
|
2011-03-24 11:28:44 +02:00 |
Simon Montagu
|
1e2480e2e4
|
Bug 263359 part 2: split nsBidiPresUtils::Resolve into Resolve and ResolveParagraph. r=roc
|
2011-03-24 11:28:44 +02:00 |
Simon Montagu
|
d8fd4316b9
|
Bug 263359 part 1: refactor bidi resolution code, combining InitLogicalArray and CreateBlockBuffer. r=roc
|
2011-03-24 11:28:44 +02:00 |
Robert O'Callahan
|
f347a53b0e
|
Bug 613696. Always use the presshell's reference rendering context to create textruns when we draw text via nsIThebesFontMetrics::DrawString, to be consistent with the textruns we measure during reflow. r=dbaron,a=blocking
|
2011-01-17 09:23:33 +13:00 |
Peter Van der Beken
|
0e494886ab
|
Fix for bug 624722 (nsBidiPresUtils should participate in CC).; r=ehsan a=roc
|
2011-01-11 14:19:00 -05:00 |
Simon Montagu
|
4d298158a5
|
Basic bidi support for SVG. Bug 620446, r=roc, a=roc
|
2011-01-04 00:52:17 -08:00 |
Honza Bambas
|
9c46606ad0
|
Bug 571380, e10s: build problem in content/canvas/src/nsCanvasRenderingContext2D.cpp(2653), r=roc
|
2010-06-12 13:37:59 +02:00 |
Vladimir Vukicevic
|
417085eab8
|
b=566447; add presshell memory reporter; r=bz
|
2010-05-31 19:19:35 -07:00 |
Simon Montagu
|
0b4202e726
|
Force logical ordering in XUL elements on visual bidi pages. Bug 558403, r=roc
|
2010-04-25 15:15:17 +03:00 |
Ehren Metcalfe
|
81deb6e11f
|
Bug 556446: Remove dead code in layout. r=roc,bz
|
2010-04-03 07:36:19 -04:00 |
Simon Montagu
|
45d78f60fb
|
Bug 332655 - Don't join up text frames with the same content in Bidi resolution. r=uriber, sr=roc
|
2009-04-19 01:19:27 -07:00 |
Ehsan Akhgari
|
b9643b00e8
|
Bug 404149 - Underline width doesn't correspond to character width in Arabic/Persian script; r=roc,smontagu sr=roc
|
2009-03-21 12:08:14 +03:30 |
Arpad Borsos
|
6db605f5b3
|
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
|
2009-02-03 15:42:18 +01:00 |
Simon Montagu
|
3be7f26849
|
Bug 449577. Remove GetHints(), r+sr=roc
|
2008-08-11 18:19:01 +03:00 |
Eric Butler
|
2ea299dbb9
|
Canvas routines draw right-to-left text backwards - bug 402276 r=smontagu sr=roc
|
2008-07-18 11:29:06 -07:00 |
reed@reedloden.com
|
bbd973d46e
|
Bug 423676 - "weirdness with layout and selection of mixed-direction text" [p=uriber@gmail.com (Uri Bernstein) r=smontagu sr=roc a1.9b5=schrep]
|
2008-03-24 00:30:49 -07:00 |
smontagu@smontagu.org
|
8c8525f6e4
|
When creating a bidi continuation for a frame with fluid continuations, set the length of all the frames in the continuation chain to zero except the last one. Bug 409375, r+sr+blocking1.9=roc
|
2008-01-29 20:13:06 -08:00 |
smontagu@smontagu.org
|
c369e17e81
|
Collect frames from all block continuations in the buffer for bidi resolution. Bug 408292. r+sr=roc, a=schrep
|
2007-12-20 02:06:14 -08:00 |
smontagu@smontagu.org
|
7fb89aba09
|
Remove cruft from nsBidiPresUtils. Bug 393962, r+sr+a=roc
|
2007-08-29 02:19:16 -07:00 |
roc+@cs.cmu.edu
|
0054412272
|
Bug 374866. Reftests for text-transform. r=dbaron
|
2007-03-22 16:01:14 -07:00 |
reed%reedloden.com
|
3bb48e6bfe
|
Bug 423676 - "weirdness with layout and selection of mixed-direction text" [p=uriber@gmail.com (Uri Bernstein) r=smontagu sr=roc a1.9b5=schrep]
|
2008-03-24 07:30:49 +00:00 |
smontagu%smontagu.org
|
ad649a2daf
|
When creating a bidi continuation for a frame with fluid continuations, set the length of all the frames in the continuation chain to zero except the last one. Bug 409375, r+sr+blocking1.9=roc
|
2008-01-30 04:13:06 +00:00 |
smontagu%smontagu.org
|
475eccb11c
|
Collect frames from all block continuations in the buffer for bidi resolution. Bug 408292. r+sr=roc, a=schrep
|
2007-12-20 10:06:14 +00:00 |
smontagu%smontagu.org
|
7c721eed11
|
Remove cruft from nsBidiPresUtils. Bug 393962, r+sr+a=roc
|
2007-08-29 09:19:16 +00:00 |
smontagu%smontagu.org
|
0ebfbbc8a8
|
Bug 369236: Move IsBidiFormControl from nsHTMLReflowState to nsBlockFrame. r+sr=roc
|
2007-02-11 07:19:09 +00:00 |
roc+%cs.cmu.edu
|
b1f364247c
|
Bug 367930. Introduce an nsIRenderingContext::GetHints flag (temporarily) that tells us whether new-text-runs are being used underneath. When new text runs are in use, never reverse text manually, we can be sure that the platform textrun will do it.
|
2007-01-25 01:58:55 +00:00 |
roc+%cs.cmu.edu
|
f3f7b87507
|
Bug 333659. Land layout changes to pass only single-direction textruns to nsIRenderingContext string methods. r=dbaron
|
2007-01-23 02:58:55 +00:00 |
uriber%gmail.com
|
df7ead955d
|
Bug 328168: Horizontal paddings, borders and margins on multi-frame bidi inlines appear in the wrong places. Patch by Haamed Gheibi <gheibi@gmail.com>. r=roc+uriber, sr=roc.
|
2006-06-15 08:16:23 +00:00 |
uriber%gmail.com
|
0fd2c6463d
|
Mark lines for which bidi continuations were created or removed dirty, instead of marking everything dirty when continuations removed. bug=330373 r=roc sr=bzbarsky
|
2006-03-15 20:52:02 +00:00 |
uriber%gmail.com
|
15fa7e0fb1
|
In EnsureBidiContinuation, leave fluid continuations alone, and only re-use non-fluid continuations as bidi continuations. bug=329878 r=smontagu sr=bzbarsky
|
2006-03-12 22:09:28 +00:00 |
uriber%gmail.com
|
089788fa91
|
Do away with geometry in nsFrameList::GetPrev[Next]VisualFor() and nsLineIterator::CheckLineOrder(). Instead use new helper methods in nsBidiPresUtils for determining visual order of the top level of frames in a line. bug=303884 r=smontagu sr=roc
|
2006-03-12 09:49:48 +00:00 |
uriber%gmail.com
|
2d8d81ce6a
|
Change RemoveBidiContinuation() to convert bidi continuations into in-flows instead of actually remove them, in attempt to impreove performance. bug=319930 r=smontagu sr=bzbarsky
|
2006-03-08 09:02:42 +00:00 |
uriber%gmail.com
|
c3e489445d
|
Bug 299065: Bidi resolution needs to split inlines in addition to text frames. r+sr=dbaron
|
2006-02-21 21:33:47 +00:00 |