Commit Graph

22 Commits

Author SHA1 Message Date
Ehsan Akhgari
8c296bbcd4 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
L. David Baron
b7240dcf1a Only do hyphenation when the language was specified explicitly, rather than using an encoding-inferred language. (Bug 702121, patch 2) r=jfkthame 2012-08-20 19:23:32 -07:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Makoto Kato
3ffb4bf799 Bug 249159 - Part 1 Add word-break interface to nsILineBreaker. r=smontagu 2012-05-07 12:18:23 -07: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
Michael Wu
6a28121ce1 Bug 671417 - Incorrect use of PRBool when other types are more appropriate or vice versa, r=bz,ehsan,dwitte,joe,vlad,luke,mak,roc 2011-07-26 23:43:37 -07:00
Jonathan Kew
916e9b8b24 bug 253317 - part 5 - support none/manual/auto values for -moz-hyphens in layout. r=roc 2011-05-04 12:29:56 +01:00
Ehsan Akhgari
2cfa5ece15 Bug 581499 - CR and LF characters in a textarea field shouldn't trigger JIS x 4051 line breaking; r=roc approval2.0=benjamin 2010-07-26 20:05:11 -04: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
77814912cc Backing out more of 403426. sigh 2007-11-30 13:04: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
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
7a31877544 Bug 393096. Allow an element containing breakable whitespace to introduce a break opportunity no matter what the context. Also cleans up some trimming stuff and adds comprehensive whitespace breaking and trimming reftests. r+sr=dbaron 2007-10-20 00:30:26 -07:00
roc+@cs.cmu.edu
6ba6adadca Bug 397597. Enable native platform linebreaking for Tibetan and Lao. r=masayuki,a=dbaron 2007-09-30 13:30:31 -07:00
masayuki@d-toybox.com
f8c11bb744 Bug 389056 Don't break line between periods and quote/Bug 388096 add line-breaking opportunity after U+058A ARMENIAN HYPHEN, U+2010 HYPHEN, U+2012 FIGURE DASH and U+2013 EN DASH. And U+2014 EM DASH should be breakable before and after except that between the same characters/Bug 389595 Don't break around '(' and ')'/Bug 390920 Don't break around   r+sr=roc, b1.9=dbaron 2007-09-18 23:34:24 -07:00
roc+@cs.cmu.edu
c2ec402960 Bug 336959. Use Pango to break inside Thai/Lao runs. Patch by Theppitak Karoonboonyanan, r+sr=roc 2007-07-18 20:26:51 -07:00
masayuki@d-toybox.com
af31f107a5 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r+sr=roc 2007-07-12 08:52:51 -07:00
roc+@cs.cmu.edu
c71327187f Not Really Part Of The Build. Update nsLineBreaker interface to allow aSink to be null, in which case the computed linebreaks are just discarded. We use this to optimize cases where no breaking is enabled and the results of linebreaking are not required. Also exposes IsSpace and IsComplexChar methods that the linebreaker specification relies on. Renamed CJK stuff to ComplexChar because it's going to include Thai and probably other languages. 2007-06-06 21:17:55 -07:00
roc+@cs.cmu.edu
ff7447834d Fixing bustage 2007-05-30 15:36:30 -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
a56819194e Not Part Of The Build. Update nsTextFrameThebes whitespace handling; allow line breaking only at the end of a run of whitespace. 2007-05-22 16:45:47 -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