Daniel Holbert
89bcebeed4
Bug 984254: Remove unnecessary nsresult return value on nsCaret::CheckCaretDrawingState(). r=roc
2014-03-17 16:54:30 +08:00
Ehsan Akhgari
1b83407ce9
Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
...
This patch was automatically generated by the following script:
#!/bin/bash
# Command to convert PRUnichar to char16_t
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*modules/libmar*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name prtypes.h \
! -name Char16.h \
-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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Ehsan Akhgari
00099f85c8
Bug 949445 - Part 1: Move selectionLanguageChange to nsISelectionPrivate; r=bzbarsky
2013-12-17 09:12:17 -05:00
Ehsan Akhgari
2621b190f1
Bug 906790 - Minimize layout/base #includes; r=roc
2013-08-19 18:55:18 -04:00
Andreas Gal
1fa2792b02
Bug 867047 - remove caret theming support and the Gtk2 implementation r=roc
2013-04-30 12:17:08 -07:00
Trevor Saunders
c214d0f60b
bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug
2013-02-15 15:09:28 -05:00
Jonathan Kew
9cd7d9f8bb
bug 842514 - consistently use signed types for appUnitsPerDevPixel variables. r=roc
2013-02-19 21:46:27 +00:00
L. David Baron
309d5f8f42
Bug 781360 patch 4: Remove the Get from nsStyleContext::GetStyleData and nsIFrame::GetStyleDataExternal, which never return null. r=dholbert
2013-02-16 13:51:03 -08:00
L. David Baron
c5b9eee040
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Mats Palmgren
b7ae90666d
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
Nicholas Nethercote
8eac1dfb3c
Bug 824397 - Use NS_ENSURE_{TRUE,FALSE,SUCCESS}_VOID(foo) instead of NS_ENSURE_{TRUE,FALSE,SUCCESS}(foo, ). r=derf.
2012-12-23 20:45:57 -08:00
Boris Zbarsky
542ae8e2de
Bug 815671 part 3. Make nsXULPopupManager::GetVisiblePopups use an array out param instead of returning array object copies. r=roc
2012-11-29 11:14:13 -05:00
Matt Woodrow
cee1aa3599
Bug 539356 - Part 9c - Remove old invalidation code. r=bz
2012-08-29 17:39:31 +12:00
Ed Morley
aba3a8f5ef
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
4d096475d2
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-08-29 17:38:58 +12:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Ehsan Akhgari
cf18ee9122
Backout changeset f568fc280fb0 (bug 539356) because of performance and correctness regressions
2012-07-03 20:24:55 -04:00
Matt Woodrow
31125260ee
Bug 539356 - Part 9 - Implement DLBI. r=roc,bz,jwatt
2012-06-30 15:06:11 +12:00
Ed Morley
83427f0fe0
Merge mozilla-central to mozilla-inbound
2012-05-21 13:19:38 +01:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
6b3b8f9533
Remove width determination parameters from font inflation methods. (Bug 747720, patch 5) r=roc
...
These are no longer needed since we're getting the width from the
nsFontInflationData.
2012-05-20 22:18:28 -07:00
Ehsan Akhgari
6fcb06f20a
Bug 696229 - Adjust the hint correctly while drawing the caret for drag/drop so that it gets attached to the beginning of the lines correctly; r=roc
2012-05-11 14:50:19 -04:00
Ehsan Akhgari
4ec820fdcb
Bug 726592 - Uninitialised value use in nsTextFrame::GetChildFrameContainingOffset; r=roc
...
--HG--
extra : rebase_source : 3e5d2fafc028edb2940bef07302161670692d5a1
2012-03-26 09:09:38 -07:00
Ehsan Akhgari
b108dd495e
Bug 699353 - Don't attempt to paint the caret if the offset for the frame is invalid; r=roc; r=roc
2012-01-26 16:40:25 -05:00
L. David Baron
94eb7fc6c5
Switch nsLayoutUtils inflation methods to the new setup with state on the pres context. (Bug 706609, patch 5) r=roc
...
This is the third of three patches to rework the way we handle getting
the font inflation container and width data during reflow, which are
needed so that we can sometimes honor inflation during intrinsic width
calculation (which we need to do to make some form controls inflate
correctly).
2012-01-24 17:21:29 -08:00
L. David Baron
0e6b37ad63
Make other users of font metrics (other than MathML and XUL) honor font size inflation. (Bug 627842, patch 15) r=roc
...
This does not address users of font metrics in layout/mathml/ (for text
size and alignment issues) or in layout/xul (for text size and sizing of
listbox and tree widgets): see all the callers of GetFontMetricsFor*
in those directories.
2011-11-23 18:48:23 -08:00
Ehsan Akhgari
92064e6d3f
Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
...
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d2b70213ac
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
Masayuki Nakano
6c3d3da0c3
Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc
2011-09-09 11:27:13 +09:00
Mats Palmgren
f1c56f2e22
Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
...
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
Mats Palmgren
d0304072ba
Bug 677582 - Implement CSS3 text-overflow: <left> <right> in layout. r=roc
2011-08-20 22:41:39 +02:00
Mats Palmgren
e757474795
Bug 312156 - Implement CSS3 text-overflow. r=roc
2011-06-22 20:11:48 +02:00
Masayuki Nakano
caee4cc73f
Bug 659533 Replace nsContentUtils::GetBoolPref() with Preferences::GetBool() r=roc
2011-05-25 15:31:59 +09:00
Craig Topper
8a3f0ad8f7
Bug 658143 - Part 1: Changes nsCOMPtr<nsFrameSelection> to nsRefPtr. r=roc
2011-05-18 20:10:49 -07:00
Ms2ger
f32c8d1912
Bug 657160 - Remove NS_NewCaret; r=ehsan,roc
2011-05-15 12:17:09 +02:00
Zack Weinberg
8648dcc368
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
...
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Robert O'Callahan
fc7faceefc
Bug 641426. Part 6: Rename Empty to SetEmpty. r=cjones
2011-04-19 15:07:23 +12:00
Zack Weinberg
ef90e52c10
Bug 174055, part 6: eliminate pointless nsresult return values.
2011-04-07 21:18:43 -07:00
Zack Weinberg
b6b73ad75a
Bug 174055, part 4: mechanical fixups outside gfx.
2011-04-07 18:05:49 -07:00
Zack Weinberg
9f143f420f
Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h.
2011-04-07 18:04:41 -07:00
Jan Küchler
c510bc3046
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
timeless@mozdev.org
d1aead5bd7
Bug 577914 mark DEBUG only variables as ifdef DEBUG in layout
...
r=dbaron
2010-07-11 15:47:45 +03:00
Ehsan Akhgari
7503099fb7
Bug 632215 - Make the caret ignore -moz-user-modify if we ask it to immediately, instead of waiting for the next caret paint timer; r=roc a=blocking-final+
...
--HG--
extra : rebase_source : 3595e03c255a6f348b97bc4e340d271733ccacbb
2011-02-10 16:12:53 -05:00
timeless@mozdev.org
0cda5059a7
Bug 615256 warning: 'PRBool FramesOnSameLineHaveZeroHeight(nsIFrame*)' defined but not used; r=mats a=ehsan landing on a CLOSED TREE instead of a white-space change to get a Windows debug X test run
2010-11-30 00:00:38 -05:00
Timothy Nikkel
5c6cbb6e6a
Bug 607857. If caret is in a frame that needs reflow we can wrongly position the caret rect. r=roc a=blocking-final
2010-11-24 19:35:01 -06:00
Timothy Nikkel
8adab61cf5
Bug 606432. Check caret content for wrong document. r=roc a=roc
2010-11-24 19:35:01 -06:00
Ehsan Akhgari
bcb3935aa9
Bug 613433 - Invalid caret position on facebook's status textbox (styled with min-height and overflow-x or overflow-y); r=roc a=blocking-final+
2010-11-22 03:13:37 -05:00
Ehsan Akhgari
db2d8e7cb6
Bug 389321 - Part 3: Use a centralized algorithm for caret positioning; r=roc a=blocking-betaN+
2010-08-31 14:54:44 -04:00
L. David Baron
86a617e692
Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8
2010-10-06 21:25:47 -07:00