Граф коммитов

255 Коммитов

Автор SHA1 Сообщение Дата
Randell Jesup 65539ef89c Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg 2012-09-01 22:35:17 -04:00
Makoto Kato 5adcbb8fb9 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 e368dc9c85 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 4e199a1679 Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Mike Hommey 70d7c821af Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor c81630fddb Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan 2012-07-27 16:59:29 +03:00
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Shriram Kunchanapalli 5b9a95ea6a Bug 743581: Removes nsCRT::strlen(const PRUnichar*). f=sgautherie r=dougt 2012-05-30 18:43:39 +01:00
Gervase Markham 68d38d677f Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Simon Montagu 9235b950bd 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
Ryan VanderMeulen 503ea93a8c Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Shriram Kunchanapalli dcbb9c3017 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Jonathan Kew 1bd194a3d5 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
Jonathan Kew 0e562c610f bug 732330 - add assertion in ClusterIterator::Next to check for sane/safe result. r=jdaggett 2012-03-04 08:58:54 +00:00
Jonathan Kew b3a668d40e bug 732443 - handle surrogate pairs correctly in ClusterIterator. r=emk 2012-03-03 09:16:45 +00:00
Justin Lebar 69fb6f1047 Bug 731789 - Rename mfbt/StdInt.h to mfbt/StandardInteger.h, so stdint types work from cpp files inside mfbt. r=waldo 2012-02-29 22:56:43 -05:00
Jonathan Kew adfa2f07b4 bug 721821 - make nsBidiPresUtils::WriteReverse aware of clusters, so that diacritics in RTL text display correctly in SVG text. r=smontagu 2012-02-28 21:24:04 +00:00
Jonathan Kew 1c8e673ef0 bug 724826 pt 2 - replace the use of cattable.h with nsUnicodePropertyData for more accurate (and faster) category lookup. r=smontagu 2012-02-24 10:15:46 +00:00
Jonathan Kew c7fa86d451 bug 724826 pt 1 - move various Unicode property tables from gfx to intl. r=smontagu
--HG--
rename : gfx/thebes/gfxUnicodeProperties.h => intl/unicharutil/public/nsUnicodeProperties.h
rename : gfx/thebes/gfxUnicodeScriptCodes.h => intl/unicharutil/public/nsUnicodeScriptCodes.h
rename : gfx/thebes/gfxUnicodeProperties.cpp => intl/unicharutil/src/nsUnicodeProperties.cpp
rename : gfx/thebes/gfxUnicodePropertyData.cpp => intl/unicharutil/src/nsUnicodePropertyData.cpp
rename : gfx/thebes/genUnicodeScriptData.pl => intl/unicharutil/tools/genUnicodePropertyData.pl
2012-02-24 10:15:46 +00:00
Jonathan Kew 2b957702c7 bug 728866 - pt 1 - expose low-level APIs for canonical composition and decomposition of a single Unicode character. r=smontagu
--HG--
rename : intl/unicharutil/src/nsUnicodeNormalizer.h => intl/unicharutil/public/nsUnicodeNormalizer.h
2012-02-20 20:39:59 +00:00
Simon Montagu 1b2faca595 Update data files to Unicode 6.1. Bug 723509, r=jfkthame 2012-02-06 15:54:52 +02:00
Ehsan Akhgari 92064e6d3f 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 d2b70213ac 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
timeless@mozdev.org bab6b1bac7 Bug 585420 Drop files from intl and restore nsCaseConversionImp2
r=smontagu a=bsmedberg
2010-08-18 13:17:12 +03:00
Simon Montagu 1e1a081cdd Update Unicode data files to version 6.0. Bug 606917, r=emk, a=bsmedberg 2010-11-08 12:27:41 +02:00
Simon Montagu 891f2678fc Backout changeset 8cbe83542596 due to test failures 2010-11-07 13:06:39 +02:00
Simon Montagu a0cc2f006d 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) a6e293112f Bug 145975 - Implement nsCaseInsensitiveUTF8StringComparator r=smontagu
--HG--
extra : rebase_source : 8e5d63a6a5ca50b6e95a80421ad96a1d4a52ae77
2010-08-31 18:03:40 -07:00
Kyle Huey 48e10623c5 Bug 575043: Remove internal uses of nsICaseConversion. r=smontagu sr=roc
--HG--
extra : rebase_source : f95ad3f21a95e354324e1524c378cad7146f3241
2010-07-29 12:22:16 -07:00
Saint Wesonga 4bd9280674 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-05 11:42:18 +02:00
Dão Gottwald b2124655df Backed out changeset 59ace8d80ce8 2010-07-04 22:01:13 +02:00
Saint Wesonga 8952503f91 Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg 2010-07-04 21:39:17 +02:00
Ehren Metcalfe ab19d256ae Remove dead code in intl. Bug 559489, r=smontagu 2010-07-04 15:42:04 +03:00
Benjamin Smedberg 0df0345c66 Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00
Simon Montagu 4383d38163 Do Hankaku to Zenkaku conversion in the ISO-2022-JP encoder. Bug 563283, r=Masatoshi Kimura <VYV03354@nifty.ne.jp> 2010-06-21 15:34:11 +03:00
Benjamin Smedberg a7e67d32ad Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work. 2010-06-10 14:11:40 -04:00
Masatoshi Kimura 90b21de3e4 bug 552460 - part 2 - Unicode data needed for Variation Sequence support. r=smontagu 2010-06-01 14:42:37 +01:00
Mitchell Field 0fd15d94da Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Simon Montagu c6f434dfc6 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 ba372f3a4c 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
Fred Jendrzejewski 424883d380 Bug 466622. Replace nsCStringArray with nsTArray<nsCString> for more consistent code and fewer heap allocations. r+sr=roc,r=bsmedberg
--HG--
extra : rebase_source : b963bf5de9d9c445b14620479691482512e0faf2
2009-01-22 17:15:34 +13:00
Simon Montagu c847d82b0e Update Unicode data files to Unicode version 5.1. Bug 427350, r=jdaggett 2008-12-03 10:11:01 +02:00
Simon Montagu 487f974d7a Remove unused ccmap files. Bug 445877, r+sr=dbaron 2008-07-20 11:37:00 +03:00
L. David Baron 1a4e7239ca Fix generation of precompiled cmaps on 64-bit platforms to match what the code expects. (Bug 445626) r=smontagu 2008-07-17 16:37:12 -07:00
dbaron@dbaron.org e956b2e7d4 Remove unused OrderIdFormater (sic) code. r=smontagu b=414142 Not part of the build. 2008-01-26 23:55:24 -08:00
roc+@cs.cmu.edu 510ad7384e Bug 393356. Don't export cattable.h; any users should be using nsIUGenCategory instead 2007-08-28 19:08:23 -07:00
roc+@cs.cmu.edu 2828ce9260 Bug 393356. Spellchecker should not use private copy(ies) of the Unicode category tables. r=smontagu,a=damon 2007-08-28 19:03:31 -07:00
jwalden@mit.edu 6d7584839a 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
benjamin@smedbergs.us baab01ada6 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00