L. David Baron
ca6c366dc6
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
Jonathan Kew
9dabc1cae7
bug 774560 pt 2 - implement text-transform:full-width. r=smontagu
2012-11-09 09:43:48 +00:00
Ehsan Akhgari
243c878d26
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
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
9050aef271
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Jonathan Kew
6afea10f35
bug 752176 - only read the style array for valid offsets within the textrun. r=smontagu
2012-05-06 15:55:12 +01:00
Jonathan Kew
6671dd1f87
bug 307039 - implement Greek-specific uppercasing for text-transform & small-caps. r=past
2012-05-03 08:57:18 +01:00
Jonathan Kew
f2a6bec5bd
bug 744357 - implement mappings from Unicode's SpecialCasing.txt for text-transform. r=smontagu
2012-04-24 18:53:39 +01:00
Jonathan Kew
6507554492
bug 740120 - implement context-sensitive mapping for Greek sigma in text-transform:lowercase. r=smontagu
2012-04-15 15:52:47 +01:00
Jonathan Kew
84142618d7
bug 745454 - don't lose line-break flag when merging case-transformed characters in text run. r=smontagu
2012-04-15 15:52:47 +01:00
Ms2ger
f3de1285e1
Bug 741048: Remove gfxAtoms. r=roc
2012-03-30 23:08:46 -07:00
Dave Townsend
a2ca9aa79a
Backing out changeset 432c4be058b5 which landed with no bug.
2012-03-30 22:23:24 -07:00
Jonathan Kew
93844509b2
bug 740477 - handle Dutch-specific capitalization of the ij digraph. r=smontagu
2012-03-30 17:37:46 -07:00
Ms2ger
003c2996c9
No bug - Remove gfxAtoms; r=roc
2012-03-29 23:08:43 +02:00
Jonathan Kew
cece468151
bug 231162 - support custom casing behavior for Turkish and similar writing systems. r=smontagu
2012-03-27 08:49:03 -07:00
Jonathan Kew
ccac8a33b0
bug 736210 - fix bug in nsCaseTransformTextRunFactory surrogate handling. r=smontagu
2012-03-23 17:48:11 +00:00
Jonathan Kew
d2ae8116f5
bug 605021 - handle surrogates in text-run transformations. r=smontagu
2012-03-14 06:45:11 +00:00
Nicholas Nethercote
c1dd090b4c
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
2012-01-25 00:52:51 -08:00
Jonathan Kew
bca7acccff
bug 703100 - pt 5 - optimize allocation of gfxTextRun objects to avoid separate allocation for CompressedGlyph records. r=roc
2012-01-05 11:54:45 +00:00
Jonathan Kew
08330b4926
bug 703100 - pt 3 - remove copy of original characters from gfxTextRun. r=roc
2011-12-06 12:39:19 +00:00
Jonathan Kew
6163793bb9
bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc
2011-12-06 12:39:18 +00:00
Nicholas Nethercote
1240eea7f7
Bug 707865 - Convert nsTArray::SizeOf() to nsTArray::SizeOfExcludingThis(). r=jlebar.
2011-12-15 14:59:53 -08:00
Nicholas Nethercote
c0681f567c
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
Ehsan Akhgari
478ad1a412
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
Jonathan Kew
8ea4547259
bug 671297 - add memory reporting for textRuns. r=roc,jlebar
2011-10-14 08:06:35 +01:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Michael Wu
99646be0c5
Bug 675556 - Switch from PRPackedBool to PRUint8 in nsILineBreaker, r=roc
2011-08-01 18:20:52 -07:00
Jonathan Kew
f6db4fb506
bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
2011-06-16 07:31:37 +01:00
Ehsan Akhgari
b7ef4a3b6f
Backout bug 467669 and bug 660088
2011-06-15 16:52:48 -04:00
Jonathan Kew
3232612fd6
bug 467669 - pt 3 - track which stage of font matching led to selection of a particular face. r=roc
2011-06-15 20:17:51 +01:00
Jonathan Kew
d705964d23
bug 633322 - ensure GetDetailedGlyphs() is not called when glyph count is zero. r=roc a=blocking
2011-02-11 22:05:09 +00:00
Jonathan Kew
365cfd31e4
bug 631035 part 1 - optimize storage of DetailedGlyph records. r=roc a=blocking2.0
2011-02-10 06:50:47 +00:00
Kyle Huey
c9fde5bbd2
Bug 575043: Remove internal uses of nsICaseConversion. r=smontagu sr=roc
2010-07-29 12:22:16 -07:00
Jonathan Kew
5c19affdda
Bug 545989 - don't throw an exception if unable to allocate storage for gfxTextRun creation. r=roc
2010-02-18 11:52:34 +00:00
Robert O'Callahan
920d381077
Bug 492309. Remove useless gfxTextRuNnFactory flags. r=vlad
2009-07-30 14:59:41 +12:00
Robert O'Callahan
3bab5fef67
Bug 472909. Need to call FinishSettingProperties on nsTranformedTextRuns that we create as parts of other transformed textruns. r=smontagu
2009-01-16 21:17:46 +13:00
Robert O'Callahan
2b6c530588
Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu
2009-01-09 13:23:28 +13:00
eda664c94a
Bug 410228. Fix crash when an uppercased szlig has a font-change in the middle of it, r=smontagu
2008-01-09 15:33:34 -08:00
7f4663bf42
Prevent duplicate entries in the line-break array. Bug 404204, b+r+sr=roc
2007-11-26 00:27:06 -08:00
0fb0309875
Bug 403589. Fuse memory allocations in gfxTextRun. r=pavlov
2007-11-15 17:43:47 -08:00
9dd7f23693
Bug 389707. Rework text-transform:capitalize by putting logic to decide what to capitalize into nsLineBreaker. r=smontagu
2007-11-11 17:51:31 -08:00
890fdedb52
Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+]
2007-11-08 22:27:23 -08:00
2bc912dc75
Backout roc's patch for bug 385417, as it most likely caused bug 402990 and the numerous test failures.
2007-11-07 23:41:06 -08:00
610fbbfb23
Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+]
2007-11-07 20:31:33 -08:00
98de634631
Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros.
2007-07-08 00:08:04 -07:00
ca0f7d6711
Bug 385423. Refactor textrun cache so that all textrun clients use a single global word-based cache. Responsibility for stripping out problematic characters (e.g. newlines) is given to the word cache. r=vlad,smontagu
2007-07-03 20:39:01 -07:00
c712c410a5
Bug 386548. Remove nsTextTransformer. r+sr=mats
2007-07-02 16:36:59 -07:00
93de643bbb
Bug 384836. Relanding fix to pass around gfxContexts a bit more instead of hanging on to one in nsTransformedTextRun. r=smontagu,pavlov
2007-06-26 21:22:21 -07:00
4c41daf50d
Back out bug 384836 to diagnose Tp/Tp2 regression bug 385957.
2007-06-26 15:16:34 -07:00