Commit Graph

44 Commits

Author SHA1 Message Date
Simon Montagu
cd495f24ed Bug 1143218 patch 2: Add LineLeft and LineRight accessors to LogicalRect, r=jfkthame 2015-03-22 11:44:48 +02:00
Ehsan Akhgari
5cccea6f0f Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Jonathan Kew
a41d79af84 Bug 1141928 part 2 - Correct the position of ruby text frames. r=roc 2015-03-14 16:46:33 +11:00
Xidorn Quan
41a0c27c57 Bug 1141928 part 0 - Change line relative dir mapping code to return LogicalSide instead of physical side. r=jfkthame
This also fixes the line relative dir mapping code for inline axis direction.
2015-03-14 16:46:33 +11:00
Xidorn Quan
f70cc9db66 Bug 1123917 part 1 - Add line-relative direction mapping methods to writing modes. r=jfkthame 2015-01-22 14:04:55 +11:00
Cameron McCormack
7e74d09dc9 Bug 1120284 - Part 4: Add functions to convert from logical to physical axes based on writing mode. r=jfkthame 2015-01-17 15:43:20 +11:00
Cameron McCormack
dc03dfd597 Bug 1120284 - Part 3: Add physical axis constants. r=jfkthame 2015-01-17 15:43:20 +11:00
Cameron McCormack
a83c7a3c72 Bug 1083134 - Part 3: Add functions to WritingMode to convert between logical and physical sides. r=jfkthame 2015-01-17 15:22:51 +11:00
Jonathan Kew
e3bb3e8a7a Bug 1119770 - Remove the compile-time switch to enable/disable vertical writing mode support. r=smontagu 2015-01-12 20:55:52 +00:00
Ehsan Akhgari
bd52bd3f4e Bug 1118486 - Part 1: Use = delete instead of MOZ_DELETE directly; r=Waldo
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:

#!/bin/bash

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "*/.git*" \
       ! -wholename "obj-*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Simon Montagu
8fa7ebdf55 Bug 1079154 patch 7: remove obsoleted nsPoint::GetPhysicalPosition, r=jfkthame 2015-01-06 23:10:43 -08:00
Simon Montagu
4c7328381d Bug 1079154 patch 1: add a != operator to LogicalPoint and sprinkle some const dust in WritingModes.h, r=jfkthame 2015-01-06 23:10:07 -08:00
Jonathan Kew
d1d49e19dd Bug 1110181 - Move mTextOrientation to the nsStyleVisibility struct to avoid potential recursive dependency in nsStyleText. r=dbaron 2014-12-11 18:56:19 +00:00
Jonathan Kew
a73c1b2008 Bug 1108923 - Use the correct containing box dimension as the percent basis for margin/padding in vertical writing modes. r=smontagu 2014-12-11 11:16:22 +00:00
Jonathan Kew
7f5b7d7a09 Bug 1107617 - Add support for writing-mode to the NotifyIMESelection message. r=smaug 2014-12-04 18:15:43 -08:00
Simon Montagu
5c3bb815b5 Bug 1104711: short-circuit LogicalSize.ConvertTo when the source and target modes are non-orthogonal, r=jfkthame 2014-11-30 01:17:56 -08:00
Simon Montagu
6dea43f4b8 Bug 1100071 patch 2: add macros for common tests whether bidi level is odd and whether two bidi levels have the same parity, r=dholbert 2014-11-20 12:45:22 +02:00
Jonathan Kew
97e95e2e00 Bug 1097128 - Enable compile-time support for vertical writing modes. r=smontagu 2014-11-19 11:15:45 +00:00
Jonathan Kew
927f4cacfd Bug 1093553 - Improve handling of line-height metrics, block ascent, etc., in vertical writing mode. r=smontagu 2014-11-13 08:58:06 +00:00
Jonathan Kew
1d8e19d404 Bug 1093165 - Include the text-orientation value in WritingMode, and add the IsSideways flag for baseline decisions. r=smontagu 2014-11-13 08:58:04 +00:00
Simon Montagu
221b9e4462 Bug 1062963 patch 2: changes and additions to WritingModes.h. r=jfkthame 2014-10-21 15:16:12 -07:00
Phil Ringnalda
8c0ffee828 Backed out 4 changesets (bug 1062963, bug 1079139) for failures in 427129-table-caption.html in b2g reftest-6 and Android 2.3 reftest-5
Backed out changeset a9672db96a5d (bug 1079139)
Backed out changeset 241c23570a62 (bug 1062963)
Backed out changeset 90172cc0b012 (bug 1062963)
Backed out changeset 71211c4a4acc (bug 1062963)
2014-10-19 18:44:16 -07:00
Simon Montagu
238caccf89 Bug 1062963 patch 2: changes and additions to WritingModes.h. r=jfkthame 2014-10-19 12:32:17 -07:00
Jonathan Kew
657f1df134 Bug 1079314 - Remove the mWritingMode field from logical-coordinate objects in non-debug builds. r=smontagu 2014-10-08 10:32:50 +01:00
Carsten "Tomcat" Book
b6fc6a7e02 Backed out changeset b818ba8aabc2 (bug 1079314) for reftest failures on a CLOSED TREE 2014-10-08 13:07:39 +02:00
Jonathan Kew
3676733790 Bug 1079314 - Remove the mWritingMode field from logical-coordinate objects in non-debug builds. r=smontagu 2014-10-08 10:32:50 +01:00
Simon Montagu
9ae01b3767 Bug 1076986: make LogicalMargin and LogicalRect's IsEmpty the same as nsMargin and nsRect, r=jfkthame 2014-10-04 23:02:36 -07:00
Jonathan Kew
fd907ab11a bug 1061170 - constrain the reflow-state's available inline size for an orthogonal flow. r=smontagu 2014-09-03 16:43:03 +01:00
Jonathan Kew
5f89f5ec55 bug 1046950 pt 1 - additional/modified APIs on LogicalSize. r=smontagu 2014-08-24 15:34:21 +01:00
Ehsan Akhgari
3bb4f6f867 Bug 1048246 - Fix more bad implicit constructors in layout; r=roc
--HG--
extra : rebase_source : ed828993139bc70232508364a9f046e38b7d3e06
2014-08-07 19:48:38 -04:00
Simon Montagu
18dc65d8e2 Bug 789096 patch 10: make Reflow set nsHTMLReflowMetrics.ISize and BSize instead of Width and Height. r=jfkthame 2014-07-24 01:30:07 -07:00
Mats Palmgren
31ecf02156 Bug 1028460 - part 4, Remove LOGICAL_SIDE* and use the LogicalSideBits enum values instead. r=roc
CLOSED TREE
2014-06-28 10:13:14 +00:00
Mats Palmgren
73f56a90b1 Bug 1028460 - part 2, Implement a mozilla::LogicalSides type that represents a set of logical sides that can be used for the GetLogicalSkipSides() result among other things. r=roc 2014-06-28 10:13:13 +00:00
Phil Ringnalda
e41382e94d Back out 5 changesets (bug 1028460, bug 1031444) for somehow breaking asmjscache/test/test_cachingBasic.html on Android 2.2
Backed out changeset 0b5918ec6521 (bug 1031444)
Backed out changeset 663ff18cd4a1 (bug 1028460)
Backed out changeset ae01b3919c8c (bug 1028460)
Backed out changeset 316c8dfeca9b (bug 1028460)
Backed out changeset e237b2c61ea2 (bug 1028460)
2014-06-28 22:01:28 -07:00
Mats Palmgren
a76144f2dd Bug 1028460 - part 4, Remove LOGICAL_SIDE* and use the LogicalSideBits enum values instead. r=roc 2014-06-28 10:13:14 +00:00
Mats Palmgren
21f145e8f4 Bug 1028460 - part 2, Implement a mozilla::LogicalSides type that represents a set of logical sides that can be used for the GetLogicalSkipSides() result among other things. r=roc 2014-06-28 10:13:13 +00:00
Mats Palmgren
4afee6639d Bug 1025669 - part 0.5, Add LogicalMargin::ApplySkipSides. r=jfkthame 2014-06-24 17:52:19 +00:00
Simon Montagu
63e075a39d Bug 789096 patch 7: Use logical coordinates in nsBlockReflowContext. r=jfkthame 2014-06-17 07:41:35 -07:00
Simon Montagu
213431d467 Add some more logical getters to nsIFrame.h. Bug 735577, r=jfkthame 2014-04-16 01:03:30 -07:00
Simon Montagu
b160bea1d5 Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame 2014-03-11 13:23:50 -07:00
Carsten "Tomcat" Book
7f2e815865 Backed out changeset aeff4052ef00 (bug 789096) 2014-03-11 09:22:52 +01:00
Simon Montagu
5e7ae0913d Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame 2014-03-10 22:19:03 -07:00
Simon Montagu
0621f133e7 Extend the WritingModes API. Bug 735577, r=jfkthame 2014-02-12 23:55:08 -08:00
Jonathan Kew
99941f00c3 bug 735577 - pt 1 - introduce mozilla::WritingMode and logical-coordinate Point/Size/Margin/Rect classes. r=smontagu 2013-12-27 17:58:37 +00:00