Commit Graph

26 Commits

Author SHA1 Message Date
Jonathan Kew
1aabec3bb3 bug 846732 - replace tri-license boilerplate with MPL2 in our hyphenation code. r=gerv 2013-03-01 13:41:30 +00:00
Jonathan Kew
e53c24efbd bug 846690 - add a memory-pressure notification observer to the hyphenation manager, to discard dictionaries when we're low on memory. r=smontagu 2013-03-01 13:40:10 +00:00
Gregory Szorc
336f0ba1c2 Bug 784841 - Part 18q: Convert /intl; r=ted f=Ms2ger 2013-02-25 12:47:21 -08:00
Ryan VanderMeulen
aa6277d2ea Bug 791384 - Update Hyphen to version 2.8.6. r=jfkthame 2012-09-27 23:06:01 -04:00
Randell Jesup
29ac5c0b8c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
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
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Gervase Markham
638c878b13 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Jonathan Kew
9e665aa5d9 bug 724826 pt 3 - replace users of nsIUGenCategory service within libxul with direct access to mozilla::unicode::GetGenCategory. r=smontagu 2012-02-24 10:15:46 +00:00
Ryan VanderMeulen
f573be5046 Bug 711769 - Update Hyphen library to version 2.8.3. r=jfkthame 2011-12-18 20:18:59 +01:00
Mike Hommey
49c918dccd Bug 695843 part 1 - Add Refcounting on nsZipArchives. r=mwu 2011-12-08 11:03:36 +01: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
Jonathan Kew
e80daf3d78 bug 655337 - part 2 - don't unpack hyphenation patterns on android, look for them in omnijar. r=mfinkle,bsmedberg,smontagu 2011-10-06 16:06:36 +01:00
Jonathan Kew
6546463bfc backout changeset e1eac54b1ed3 (bug 655337 pt 2) for causing a leak. 2011-10-06 17:29:39 +01:00
Jonathan Kew
9a71cdd844 bug 655337 - part 2 - don't unpack hyphenation patterns on android, look for them in omnijar. r=mfinkle,bsmedberg,smontagu 2011-10-06 16:06:36 +01:00
Jonathan Kew
95bd5ac10b bug 655337 - part 1 - use nsIURI rather than nsIFile to specify hyphenation resources. r=mfinkle,smontagu 2011-10-06 16:06:32 +01: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
Jonathan Kew
9fc16861d4 bug 685214 - use URI spec rather than file path to specify hyphenation dictionary, and read using nsIInputStream rather than stdio. r=bsmedberg 2011-09-14 20:20:26 +01:00
Jonathan Kew
a50fcb5cbb bug 672320 pt 1 - include all available hyphenation patterns in the build. r=smontagu 2011-07-20 11:15:13 +01:00
Jonathan Kew
84f0f0dd88 bug 672472 - convert hyphenation-point offsets correctly from Unicode characters to UTF16 code units. r=smontagu 2011-07-20 11:15:06 +01:00
Masayuki Nakano
04274d13b1 Bug 668933 intl should use mozilla::Preferences r=smontagu 2011-07-06 11:34:00 +09:00
Masayuki Nakano
bfb64ea690 backout 92c8a0108b24 due to wrong summary 2011-07-06 11:33:17 +09:00
Masayuki Nakano
14f1d3b839 Bug xxx intl should use mozilla::Preferences r=smontagu 2011-07-06 11:25:11 +09:00
Jonathan Kew
b9795adddd bug 253317 - part 4 - implement nsHyphenationManager and nsHyphenator classes. r=smontagu sr=roc 2011-05-04 12:29:45 +01:00
Jonathan Kew
50addcbf6e bug 253317 - part 2 - import hyphenation code (from http://sourceforge.net/projects/hunspell/files/Hyphen/2.7/hyphen-2.7.1.tar.gz/download) r=smontagu 2011-05-04 12:14:51 +01:00