Commit Graph

93 Commits

Author SHA1 Message Date
Makoto Kato
7273786190 Bug 783206 - replace NULL with nullptr in intl except to OS API usages. r=smontagu 2012-08-24 16:49:00 +09:00
Ehsan Akhgari
2962d2eed1 Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
Landing on a CLOSED TREE
2012-08-08 17:08: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
Jonathan Kew
b83d579784 bug 763982 - update and optimize Arabic char processing in TransformText. r=smontagu 2012-06-20 20:58:19 +01:00
Jonathan Kew
5de10cf960 bug 763703 - optimize Unicode property lookup and gfxScriptItemizer::Next. r=smontagu 2012-06-20 20:58:18 +01:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Jonathan Kew
e2b45d2173 bug 744357 - implement mappings from Unicode's SpecialCasing.txt for text-transform. r=smontagu 2012-04-24 18:53:39 +01:00
Simon Montagu
c2722c9ee2 bug 738101 - Use the new mozilla::unicode::GetIdentifierModification instead of the old ccmap in IsDefaultIgnorable. This is the last client for precompiled ccmaps, so remove the infrastructure for them at the same time. r=jfkthame 2012-04-18 21:54:54 -07:00
Simon Montagu
5f367810bd bug 738101 - Use the new mozilla::unicode::GetBidiCat instead of the old GetBidiCat. r=jfkthame 2012-04-18 21:54:54 -07:00
Jonathan Kew
9fb1a14a1e bug 738101 - add support for more Unicode properties. r=smontagu 2012-04-23 07:20:11 -07:00
Jonathan Kew
beec31cabb bug 747834 - fix genUnicodePropertyData tool following harfbuzz header changes. r=smontagu 2012-04-24 18:52:09 +01:00
Jonathan Kew
47286126f0 bug 745780 - update harfbuzz code to upstream commit 3cde23664fbbe9cd2ac1b8fd5eb2ea288309cc9c (2012-04-17). r=jdaggett a=mfinkle 2012-04-21 22:24:39 +01:00
Jonathan Kew
03fd2cd489 bug 736227 - fix surrogate handling in case-insensitive string compare. r=smontagu 2012-04-05 13:39:13 +01:00
Jonathan Kew
6309f03010 bug 210501 - implement case-folding support (ToUpper/Lower/Titlecase) for non-BMP characters (Unicode plane 1 and above). r=smontagu
--HG--
rename : intl/unicharutil/src/nsUnicodeProperties.cpp => intl/unicharutil/util/nsUnicodeProperties.cpp
rename : intl/unicharutil/public/nsUnicodeProperties.h => intl/unicharutil/util/nsUnicodeProperties.h
rename : intl/unicharutil/src/nsUnicodePropertyData.cpp => intl/unicharutil/util/nsUnicodePropertyData.cpp
rename : intl/unicharutil/public/nsUnicodeScriptCodes.h => intl/unicharutil/util/nsUnicodeScriptCodes.h
2012-03-14 06:45:00 +00:00
Justin Lebar
064e2cf3f9 Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Simon Montagu
cc6357ccc9 Update data files to Unicode 6.1. Bug 723509, r=jfkthame 2012-02-06 15:54:52 +02:00
Gregory Szorc
de5e3e4887 Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07: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
Edmund Wong
9d6d399f4f Bug 366774 - Removed unused preference bidi.characterset. r=smontagu 2011-05-10 20:24:43 +02:00
Philip Chee
883fef5d4e Backed out changeset: 96bfa1480f5f 2011-04-25 02:23:02 +08:00
Edmund Wong
52a902f900 Bug 366774 - Remove unused preference bidi.characterset. (p5) (v2) r=smontagu 2011-04-25 01:57:23 +08:00
Rafael Ávila de Espíndola
8ebc10998d Bug 623116 - Add constructor for nsASCIICaseInsensitiveStringComparator (which inherits from nsStringComparator) to placate CLang; r=smontagu 2011-03-24 20:01:47 -04:00
Mike Hommey
6ef83c9db5 Bug 584474 part 9 - Replace fakelibs with a more sophisticated library expansion system. r=ted 2011-02-25 15:05:08 +01:00
Simon Montagu
0dfb99b19f Update Unicode tables to Corrigendum #8. Bug 612843, r=emk, a=dbaron 2010-11-18 11:21:33 +02:00
Simon Montagu
8712b63960 Update Unicode data files to version 6.0. Bug 606917, r=emk, a=bsmedberg 2010-11-08 12:27:41 +02:00
Simon Montagu
de203d9c8f Backout changeset 8cbe83542596 due to test failures 2010-11-07 13:06:39 +02:00
Simon Montagu
0402bb367c Update Unicode data files to version 6.0. Bug 606917, r=emk, a=bsmedberg 2010-11-07 11:56:26 +02:00
Justin Lebar ext:(%2C%20Kyle%20Huey%20%3Cme%40kylehuey.com%3E)
8b20bfbcec Bug 145975 - Implement nsCaseInsensitiveUTF8StringComparator r=smontagu
--HG--
extra : rebase_source : 8e5d63a6a5ca50b6e95a80421ad96a1d4a52ae77
2010-08-31 18:03:40 -07:00
Kyle Huey
2a2801990e Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz 2010-08-02 15:19:04 -07:00
Kyle Huey
e429dd02ef Attempt to fix various bustages on c-c that were caused by Bug 522770
--HG--
extra : rebase_source : 4c747ed91292fb6300af85f50bec7b4319171953
2010-08-01 18:36:13 -07:00
Kyle Huey
9c0bd4c0a5 Backed out changeset 9e87c3efc33b 2010-07-29 16:01:41 -07:00
Kyle Huey
17533df9bd Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz
--HG--
extra : rebase_source : 7d5f43bf8d7d109c9669db68589e26554df9a250
2010-07-29 12:41:04 -07:00
Kyle Huey
cc25e38cd5 Bug 575043: Remove internal uses of nsICaseConversion. r=smontagu sr=roc
--HG--
extra : rebase_source : f95ad3f21a95e354324e1524c378cad7146f3241
2010-07-29 12:22:16 -07:00
Simon Montagu
68f6627163 Fix for windows bustage from bug 559489 2010-07-04 16:27:16 +03:00
Ehren Metcalfe
40edafab25 Remove dead code in intl. Bug 559489, r=smontagu 2010-07-04 15:42:04 +03:00
Jonas Sicking
28396b7d9c Bug 545059: Remove unneeded/non-working bidi.controlstextmode pref. r=smontagu 2010-02-24 21:58:17 -08:00
Simon Montagu
545c0b5a6f Update data files and tests to Unicode 5.2. Bug 528359, r=Masatoshi Kimura <YV03354@nifty.ne.jp> 2009-12-21 01:20:35 -08:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Simon Montagu
650af63626 Check alt text for right-to-left characters and enable bidi processing if they are found. Bug 503269, r+sr=roc 2009-07-12 06:32:48 -07:00
timeless@mozdev.org
de6cf61130 Bug 491193 - fix intl warnings. r=smontagu 2009-05-18 12:44:02 +02:00
Serge Gautherie
63e5ae4909 Bug 117440 - remove usages of DEBUG_PRINTF in favor of NS_ASSERTION/NS_WARNING; (Dv1) <nsCompressedCharMap.cpp> remove commented out FONT_SCAN_PRINTF(); r=smontagu 2009-04-22 14:24:30 +02:00
Ehsan Akhgari
d2b5ccb3ce Bug 467672 - need additional bidi.numerals setting for Persian (eastern Arabic-Indic) numerals; r=roc,jfkthame sr=roc 2009-01-30 11:43:17 +03:30
Daniel Holbert
2a7d88e05a Bug 473236 - Remove executable bit from files that don't need it. (Only changes file mode -- no code changes.) r=bsmedberg 2009-01-21 22:55:08 -08:00
Ehsan Akhgari
3beeff12e4 Bug 473530 - PRBool violations after landing of bug 441782; r,sr=roc 2009-01-15 11:24:44 +03:30
Ehsan Akhgari
0f987d9366 Bug 470376 - Compiler warnings from landing of bug 441782; r,sr=roc 2008-12-19 14:37:09 +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
Simon Montagu
d9ef03b490 Exclude Arabic numeric formatting characters from IS_ARABIC_ALPHABETIC. Bug 438571, r=Ehsan Akhgari <ehsan.akhgari@gmail.com> 2008-12-06 08:45:31 -08:00
Simon Montagu
3ebc1e4e68 Update Unicode data files to Unicode version 5.1. Bug 427350, r=jdaggett 2008-12-03 10:11:01 +02:00