Commit Graph

63 Commits

Author SHA1 Message Date
Daniel Holbert
3998dbf996 Bug 805456 - Remove useless check that an unsigned value is >= 0 to fix a build warning. r=masayuki 2012-10-25 17:43:25 -04:00
Trevor Saunders
3d3592cd63 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Isaac Aggrey
997db4d142 Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan 2012-09-28 01:57:33 -05:00
Makoto Kato
84c67ec46b 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
2795937cf4 Bug 579517 - Part 4: Manually rewrite some parts of the code base not covered by the automated conversion; r=bsmedberg 2012-08-22 11:59:54 -04: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
Mike Hommey
6173fa297f Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Aryeh Gregor
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Masayuki Nakano
715138a69a Bug 765166 lines should be able to be broken before/after Ideographic space next to breakable white space r=roc 2012-06-16 23:48:57 +09:00
Gervase Markham
d4eb7d5782 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Makoto Kato
335f09e68e Bug 754176 - Make TestLineBreak unit test. r=smontagu 2012-05-28 23:46:22 +09:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Makoto Kato
1fceb8d8af Bug 249159 - Part 1 Add word-break interface to nsILineBreaker. r=smontagu 2012-05-07 12:18: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
Felix Fung
9bb0edf799 Bug 577266 - Correct misspellings in source code 2011-09-06 17:20:35 -07:00
Michael Wu
9658b9e0d9 Bug 675556 - Switch from PRPackedBool to PRUint8 in nsILineBreaker, r=roc 2011-08-01 18:20:52 -07:00
Ed Morley
b38b1bc27f Bug 655475 - Remove WinCE code from I18N; r=smontagu 2011-05-08 19:46:10 +02:00
timeless@mozdev.org
57becf8ab1 Bug 585420 Drop files from intl and restore nsCaseConversionImp2
r=smontagu a=bsmedberg
2010-08-18 13:17:12 +03:00
Masayuki Nakano
f3a4796451 Bug 608721 Between CJK full-stop and open parenthesis should be breakable r=roc, a=roc 2010-12-17 00:17:02 +09:00
Ehren Metcalfe
40edafab25 Remove dead code in intl. Bug 559489, r=smontagu 2010-07-04 15:42:04 +03:00
Zack Weinberg
a55cf984ba Bug 571989 follow-up: remove mentions of removed directories from toolkit-makefiles.sh and elsewhere. r=dholbert
--HG--
extra : rebase_source : c6e387430e6b2292b0925fdb681819ba109568e7
2010-06-30 08:54:39 -07:00
Makoto Kato
42d8b9c46f Bug 206802 - U+3005 is missing from the kinsoku list. r=smontagu 2010-05-12 17:06:32 +09:00
Makoto Kato
c4fd95ea62 Backout of Bug 206802 - U+3005 is missing from the kinsoku list. regtest fail on Linux 2010-04-15 12:12:11 +09:00
Makoto Kato
3569ac83b4 Bug 206802 - U+3005 is missing from the kinsoku list. r=smontagu 2010-04-15 11:01:16 +09:00
Boris Zbarsky
558d86c2f6 Bug 548495 followup to fix reftest failure. r=masayuki pending 2010-02-26 22:20:56 -05:00
Boris Zbarsky
24e10dd945 Bug 548495. Eliminate sources of O(N^2) backtracking in the linebreaker. r=masayuki 2010-02-26 21:32:31 -05:00
Jonas Sicking
ef44bebb92 Bug 541245 part 2: Make UTF8<->UTF16 comparison code consistent in the face of badly encoded strings. r=smontagu 2010-02-23 09:38:10 -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
Robert O'Callahan
5cefb250bc Backed out changeset 92cc21ed9634 2009-07-10 18:18:19 +12:00
Robert O'Callahan
ea24188aa3 Bug 371839. Treat \n as space that the line-breaker will use as a word boundary. The main effect is that we don't have to scan backwards past \n when looking for a place to start linebreaking. r=smontagu 2009-07-10 14:04:52 +12:00
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
Jonathan Kew
1cd66203c8 Bug 472593. Don't call line-breaker's Next() method when already at end of text. r=bz,sr=roc 2009-01-19 22:07:11 +13:00
Jonathan Kew
671476c740 bug 450088 - fix for bad line-breaking at quote marks in CJK text r=masayuki, sr=roc 2008-12-11 02:25:42 +09:00
Jonathan Kew
a09f3489d3 b=450088 backing out (new reftest failed) 2008-12-09 17:42:50 +09:00
Masayuki Nakano
09ef02c386 Bug 450088 Line breaking regression (in Chinese and other languages) p=Jonathan Kew, r=masayuki, sr=roc 2008-12-09 15:41:42 +09:00
Doug Turner
6697fd8c44 Bug 461839 - uniscribe breaker on windows mobile r+sr=roc 2008-12-03 08:42:03 -05:00
reed@reedloden.com
f5a33b3cf8 Bug 421255 - "fix misc mingw cross-compile issues" [p=cls@seawood.org (Chris Seawood [cls]) r=bsmedberg a1.9=beltzner] 2008-03-14 09:22:25 -07:00
smontagu@smontagu.org
1a939ab8d1 Testcase for bug 416721 2008-02-11 08:48:25 -08:00
smontagu@smontagu.org
747da51d63 Pass per-item offsets to ScriptBreak. Bug 416721, r=masayuki, sr=shaver, a=mconnor 2008-02-11 08:46:55 -08:00
mozilla@weilbacher.org
1bc906a8e4 Bug 376790: remove support for non-cairo GFX ports from configure.in, r=ted.mielczarek, a=mtschrep 2008-01-23 00:27:47 -08:00
reed@reedloden.com
def7c7547d Bug 384172 - "Updated builds to latest trunk crashes with selinux error while loading shared library: /opt/firefox/libxul.so" (fix build flags) [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr+a1.9=roc] 2007-10-15 03:00: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
f708f7c17f Bug 389056 Don't break line between periods and quote, the additional patch r+sr+a=roc 2007-09-24 02:29:22 -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 &nbsp; r+sr=roc, b1.9=dbaron 2007-09-18 23:34:24 -07:00
roc+@cs.cmu.edu
4c072c61d7 Bug 389437. Handle searching for word breaks when starting at the end of the available text. r=smontagu,a=damon 2007-09-10 16:03:18 -07:00
roc+@cs.cmu.edu
d898a67ade Bug 336959. Exit properly if we get OOM. patch by Theppitak Karoonboonyanan, r+sr=roc,a=damon 2007-09-03 20:58:52 -07:00
masayuki@d-toybox.com
d5e50a1f89 b=390048, fix bustage, patch by <bugzilla@mcsmurf.de> r=benjamin 2007-08-15 15:59:36 -07:00
masayuki@d-toybox.com
f65d711ebd Bug 389520 Complex Text Line Breaking with ATSUI/Carbon for Mac. patch by <vsatayamas@gmail.com> r+sr=roc, a=dsicore 2007-08-15 14:16:33 -07:00
masayuki@d-toybox.com
2fb10be3c4 bug 390048 Complex Text Line Breaking with Uniscribe for Windows #2. patch by <nattachai@gmail.com> r+sr=roc, a=dsicor 2007-08-15 09:52:13 -07:00