Boris Zbarsky
cef5f10381
Bug 1343037 part 10. Remove the unused SetSelectionStart/SetSelectionEnd bits on text control frame. r=ehsan
...
MozReview-Commit-ID: G7ODMdAjzxV
2017-03-09 14:44:05 -05:00
Mats Palmgren
7c43dcf986
Bug 1340771 part 1 - Rename nsWeakFrame to AutoWeakFrame (automated change). r=tn
...
MozReview-Commit-ID: 8pl4nyeGEkr
2017-03-01 18:03:14 +01:00
Boris Zbarsky
f7b36aa0e6
Bug 1342197 part 4. Move GetSelectionRange from nsTextControlFrame to the editor state. r=ehsan
...
At this point, all this method does is ensure editor initialization and then ask
the editor state for various information. Let's cut out the middleman.
MozReview-Commit-ID: p491umScJO
2017-02-28 12:41:37 -05:00
Boris Zbarsky
9e08a40a49
Bug 1342197 part 2. Use nsITextControlElement::GetRootEditorNode to get the root editor node in nsTextControlFrame::GetSelectionRange. r=ehsan
...
MozReview-Commit-ID: 7ncJVNVGF78
2017-02-28 12:41:37 -05:00
Mats Palmgren
1c65043efe
Bug 1330962 part 1 - Add baseline methods to nsTextControlFrame. r=dholbert
2017-01-28 02:34:13 +01:00
Mats Palmgren
1073e270eb
Bug 1317168 part 1 - nsTextControlFrame::CalcIntrinsicSize is infallible so make it return the size result rather than NS_OK. Also, make it const. r=dholbert
2016-11-18 19:08:32 +01:00
Mats Palmgren
f8f540104c
Bug 1300369 part 4 - Refactor all ComputeAutoSize methods to take the full ComputeSizeFlags instead of just a "bool aShrinkWrap" for the eShrinkWrap flag (idempotent patch). r=dholbert
2016-11-05 02:57:06 +01:00
Ting-Yu Lin
d3e8cf1818
Bug 1277129 Part 7b - Rename various ReflowState variables to ReflowInput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -r "s/$1/$2/g" "{}" \;
}
rename "([[:alpha:]]*)([rR])eflowState(s?)" "\1\2eflowInput\3"
MozReview-Commit-ID: ITFO7uMTkSb
2016-07-21 18:36:39 +08:00
Ting-Yu Lin
bb0825b5c7
Bug 1277129 Part 5c - Rename nsHTMLReflowMetrics to ReflowOutput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename "nsHTMLReflowMetrics" "ReflowOutput"
MozReview-Commit-ID: 2HBb7DkooH5
2016-07-21 18:36:38 +08:00
Ting-Yu Lin
10912a51e3
Bug 1277129 Part 1c - Rename nsHTMLReflowState to ReflowInput. r=dbaron
...
This patch is generated by the following script:
function rename() {
find .\
-type f\
! -path "./obj*"\
! -path "./.git"\
! -path "./.hg"\
\( -name "*.cpp" -or\
-name "*.h" \)\
-exec sed -i -e "s/$1/$2/g" "{}" \;
}
rename nsHTMLReflowState ReflowInput
MozReview-Commit-ID: 9r9vdVv1pXc
2016-07-21 18:36:35 +08:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
L. David Baron
a66b07471f
Bug 1053986 - Rename nsIFrame::IsCollapsed to IsXULCollapsed, and related methods. r=dholbert
...
This is a manual subset of changes written with sed, over .h and .cpp
files in layout/. It's a subset because there is also a Selection
method called IsCollapsed, which is not changed here.
MozReview-Commit-ID: 9JgnPv0Hkff
2016-04-20 21:28:32 -07:00
L. David Baron
4419f3e86b
Bug 1053986 - Rename nsIFrame::GetMinSize to GetXULMinSize, and related methods. r=dholbert
...
Written purely with sed, over .h and .cpp files in layout/.
MozReview-Commit-ID: Jhe3o3kIOe0
2016-04-20 21:28:31 -07:00
Boris Chiou
32cdf253b7
Bug 1244049 - Part 2: Replace nsCSSPseudoElements::Type with CSSPseudoElementType. r=dbaron
...
Also, try to use forward declaraions for CSSPseudoElementType;
2016-02-17 21:37:00 +01:00
Ting-Yu Lin
122e5b9aeb
Bug 1227927 Part 2 - Remove nsIFrame::GetFirstPrincipalChild(). r=mats
2016-01-29 22:42:14 +08:00
Xidorn Quan
0b78aca734
Bug 1230034 part 10 - Convert remaining frame properties to by typed and remove the unsafe declaring macro. r=dbaron
2016-01-28 14:23:59 +11:00
Xidorn Quan
ca146f45ac
Bug 1230034 part 5 - Convert all frame properties which use DeleteValue and ReleaseValue as destructor to be typesafe. r=dbaron
...
By changing signature of those two functions, we make compiler complain about
all their existing uses, so we can find all of them and convert them.
Some of the callsites of Get() with those properties are also converted, but not
all of them. It is fine because if there is any incorrect conversion, compilers
is able to find out now. So they are completely typesafe.
2016-01-28 14:23:59 +11:00
Birunthan Mohanathas
a29151dc87
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
ea41d8de48
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
Seth Fowler
72fb0505de
Bug 1128356 - Add template functions for common frame property destructors. r=dbaron
2015-02-04 15:22:27 -08:00
Mats Palmgren
6e2b90ea60
Bug 1116753 - Remove the nsIPresShell* param from remaining frame ctors that still have it. r=roc
2015-01-06 09:27:56 +00:00
Xidorn Quan [:xidorn]
1ced7f8fb8
Bug 1085311 - Vertical writing-mode support for single-line <input> fields. r=jfkthame
2014-11-04 15:45:00 +01:00
Ehsan Akhgari
8bb87f8a27
Bug 1060985 - Fix more bad implicit constructors in layout; r=roc
2014-08-31 23:36:37 -04:00
Jonathan Kew
423a0e9db5
bug 1046950 pt 3 - convert ComputeAutoSize to use logical-coordinate parameters. r=smontagu
2014-08-24 15:34:51 +01:00
Trevor Saunders
d67df400c1
bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj
2014-08-05 13:33:55 -04:00
Aryeh Gregor
7ac8ffcd9c
Bug 1053190 - Reduce unnecessary inclusion of nsINode.h in headers; r=ehsan
2014-08-18 17:44:50 +03:00
Trevor Saunders
e052cf9168
bug 1016545 - Provide an iterator that iterates over all children of an element r=bz
2014-07-16 14:41:57 -04:00
Jonathan Kew
c7e5b8d9dc
bug 1031241 pt 1 - Rename Get{Min,Pref}Width to Get{Min,Pref}ISize throughout layout. r=dbaron,smontagu
2014-07-24 18:03:25 +01:00
Mats Palmgren
6a38f78c53
Bug 1015781 - part 3, Fix whitespace and comments, and move some SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame methods so that they are together in the file. r=roc
2014-05-28 19:36:58 +00:00
Mats Palmgren
a43fc7a0a3
Bug 1015781 - part 1+2, Make the SetInitialChildList/AppendFrames/InsertFrames/RemoveFrame methods return void (scripted change). Remove code handling the return values. r=roc
2014-05-28 19:36:58 +00:00
Mats Palmgren
84ce46d68c
Bug 1008917 - part 2,3,4, make Reflow() return type 'void', and make a few reflow related helper methods 'void' too. r=roc
2014-05-13 00:47:52 +00:00
Wes Kocher
2669e87017
Backed out 11 changesets (bug 1008917) for apparently introducing an intermittent failure of B2G Crashtest-2 on a CLOSED TREE
...
Backed out changeset e2ab653f688a (bug 1008917)
Backed out changeset b52154d8d900 (bug 1008917)
Backed out changeset 2ab5b01da4de (bug 1008917)
Backed out changeset f7a38df1d44f (bug 1008917)
Backed out changeset 80304bb9a572 (bug 1008917)
Backed out changeset 10ed89a302e9 (bug 1008917)
Backed out changeset 161c41991d46 (bug 1008917)
Backed out changeset 25b2475d2368 (bug 1008917)
Backed out changeset b8000b31277c (bug 1008917)
Backed out changeset 9afa5e7715e1 (bug 1008917)
Backed out changeset 5c380c21351f (bug 1008917)
2014-05-12 15:47:41 -07:00
Mats Palmgren
4a79e08cae
Bug 1008917 - part 2,3,4, make Reflow() return type 'void', and make a few reflow related helper methods 'void' too. r=roc
2014-05-12 17:40:28 +00:00
Daniel Holbert
4831ca068a
Bug 919806 followup: Reindent method declarations affected by NS_IMETHOD-removal. (whitespace-only; no review) DONTBUILD
2014-02-18 00:36:33 -08:00
Arnaud Sourioux
c55abda61c
Bug 919806: Get rid of NS_IMETHOD in nsIFrame.h and its implementations r=dholbert
2014-02-17 23:47:48 -08:00
Mats Palmgren
a56486443d
Bug 956447 - Make it possible to get frame dumps in non-DEBUG builds. r=roc
2014-01-05 23:31:14 +00:00
Cameron McCormack
f7f2c264fe
Bug 945517 - Make nsIFrame::GetPseudoElementContent return Element* instead of nsIContent*. r=bz
2013-12-03 15:49:03 +11:00
Cameron McCormack
7f26a46040
Bug 944246 - Make getComputedStyle pass in anonymous content when resolving pseudo-element style. r=bz
2013-12-03 10:57:50 +11:00
Jim Chen
a78b10070a
Bug 717878 - Return scroll target frame for single-line text controls; r=mats
2013-10-26 14:34:51 -04:00
Jonathan Watt
f6d6941240
Bug 926976 - Give nsTextControlFrame::mUseEditor a more useful name. r=ehsan
2013-10-16 14:43:03 +01:00
Ehsan Akhgari
a4af9e240f
Bug 910237 - Get rid of the nsIEditor.h #include in nsTextControlFrame.h; r=mats,ehsan
2013-08-28 19:06:00 +00:00
Ehsan Akhgari
056bbb71e7
Bug 909927 - Minimize the #includes in layout/forms; r=mats
2013-08-28 10:30:02 -04:00
Arnaud Sourioux
93b00563d7
Bug 875367: Annotate ~280 more methods with MOZ_OVERRIDE in /layout. r=dholbert
2013-05-29 12:37:49 -07:00
Arnaud Sourioux
8830d86fd4
Bug 870516: Annotate ~600 more methods with MOZ_OVERRIDE in /layout r=dholbert
2013-05-14 09:33:23 -07:00
Joshua Cranmer
697498ab75
Bug 856108 - Port static analyses to clang, part 2e: use MOZ_STACK_CLASS in layout. r=mats
2013-04-11 22:20:45 -05:00
Mounir Lamouri
04ea2fe1f2
Bug 839834 - Remove nsIFormControlFrame::GetFormProperty. r=bz
2013-02-18 18:21:32 +00:00
Robert O'Callahan
b18cd55753
Bug 840902. Part 2: Remove nsresults from various display list methods. r=mattwoodrow
2013-02-15 00:12:27 +13:00
Mounir Lamouri
276ebf7673
Bug 833009 - Remove "nsContentUtils.h" inclusions from headers in layout/. r=bz
2013-01-23 19:37:17 +00:00
Robert O'Callahan
baf0f2cc2a
Bug 811301. Part 2: Remove saved state IDs now that the root scroll frame state is captured normally. r=mats
2012-11-14 22:40:17 -08:00