Cameron McCormack
7b1c6a96f0
Bug 655877 - Part 23a: Add white-space:-moz-pre-discard-newlines value with white space collapsing behavior like SVG's xml:space="preserve". r=roc,dbaron
2012-09-07 15:42:19 +10:00
Ehsan Akhgari
0fd9123eac
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
Gervase Markham
ca171eec44
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
L. David Baron
be1535321a
Build font data structure by walking the necessary text. (Bug 706193, patch 3) r=roc
...
Compute the amount of text in the scope of an nsFontInflationData
object. This walks the text that's inside of the block formatting
context at which this object is rooted, excluding the text that's inside
any nested BFC. Using the amount of text, the font sizes of the text,
and the line threshold preference, we compute whether to enable font
size inflation within that block formatting context.
2012-04-16 15:32:12 -07:00
Jonathan Kew
dab5dd6132
bug 703100 - pt 1 - eliminate gfxTextRunWordCache and gfxTextRunCache. r=roc
2011-12-06 12:39:18 +00:00
Ehsan Akhgari
2a602a5685
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
d8e503c38b
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
Robert O'Callahan
cca5e6840b
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
Jonathan Kew
29eda950fd
Bug 470418 - Leak nsStyleContext with RTL, text-transform; r,sr=roc
2009-01-01 16:34:13 +03:30
Ehsan Akhgari
ca2a90bdee
Bug 441782 - bidi.numerals == 4 does not switch numeric shapes in content; r,sr=roc
2008-12-18 23:42:53 +03:30
Robert O'Callahan
9f318c485c
Backed out changeset dcd1ad7a918e
2008-12-18 16:05:16 +13:00
Robert O'Callahan
274f89ff0d
Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu
2008-12-18 14:13:23 +13:00
Robert O'Callahan
46299947fc
Backed out changeset 0cb24a4bcd9b
2008-12-13 00:09:56 +13:00
Robert O'Callahan
a6a68372fb
Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu
2008-12-12 21:37:59 +13:00
Robert O'Callahan
fba2d206f6
Bug 230555. Support white-space:pre-line. r+sr=dbaron
2008-08-12 20:31:56 +12:00
roc+@cs.cmu.edu
3577d8dad0
Bug 403426. We should clear whitespace status when we reset the linebreaker. If a final break opportunity exists we should save it and forward it to the line layout. Relanding with a fix so hopefully we won't crash Tp this time. r=smontagu
2007-12-03 00:22:07 -08:00
roc+@cs.cmu.edu
41d0d00457
Backing out bug 403426
2007-11-30 12:52:24 -08:00
roc+@cs.cmu.edu
a2464227d0
Bug 403426. Clear break-after-whitespace flags when we reset the linebreaker. Also rescue a trailing break opportunity when we reset the line breaker and notify the line layout that the opportunity exists. r=smontagu
2007-11-30 12:03:33 -08:00
smontagu@smontagu.org
5e7ee1a7dc
Prevent duplicate entries in the line-break array. Bug 404204, b+r+sr=roc
2007-11-26 00:27:06 -08:00
roc+@cs.cmu.edu
27f5bebbe9
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
roc+@cs.cmu.edu
33428c5bf6
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
roc+@cs.cmu.edu
f89a82a7f6
Bug 386548. Remove nsTextTransformer. r+sr=mats
2007-07-02 16:36:59 -07:00
roc+@cs.cmu.edu
2f18074ec6
Landing textframe updates: Use word-based textrun cache; rewritten PeekOffsetWord; adjust textframe content-offsets and content-lengths when CharacterDataChanged fires; search backwards for textrun scanning/creation start point, instead of all the way back to the start of the block; ensure that we pass the correct start iterator to PropertyProvider in TrimTrailingWhiteSpace.
2007-06-12 14:01:12 -07:00
roc+@cs.cmu.edu
18223fc22d
Not part of the build. Change nsLineBreaker so that breaks at element boundaries are always governed by the white-space property on the element that's the nearest common ancestor of the DOM nodes on each side of the break point --- fixes bug 382289. Also, pass NBSP through to textruns so that whitespace trimming doesn't trim NBSP. Also, count trimmed spaces correctly when updating mClusterCount.
2007-05-30 15:27:27 -07:00
roc+@cs.cmu.edu
e360cfb42d
Not part of the build. Update new text frame for textrun API changes. Also implements a textrun cache for the new text frame
2007-05-09 15:04:56 -07:00
roc+@cs.cmu.edu
374a8cc077
Bug 333659. Major new-textframe update. You can really browse the Web with it now, although major bugs remain.
2007-03-22 16:13:12 -07:00
hg@mozilla.com
465265d0d4
Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT,
2007-03-22 10:30:00 -07:00