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

193 Коммитов

Автор SHA1 Сообщение Дата
Simon Montagu 67dce8245a Fix an error in the UTF-8 state machine table, and clean up the table generally. Bug 811363, r=jfkthame. 2012-11-16 11:33:15 -08:00
Simon Montagu 0061e3fc2a UTF-8 auto-detection tests. Bug 811363 2012-11-16 11:33:12 -08:00
Ryan VanderMeulen 443e3884bc Bug 799917 - Backout for various regressions. 2012-10-28 08:49:20 -04:00
David Zbarsky 51eb0b9272 Fix some && within || warnings, no bug 2012-10-15 21:00:21 -04:00
Mats Palmgren a1592dc47c Bug 801330 - Make ISO2022JPCharLenTable large enough. r=smontagu 2012-10-14 19:10:04 +02:00
Mats Palmgren 1a014d5dce Bug 801330 - Assert if charLenTable is too small. r=smontagu 2012-10-14 19:10:04 +02:00
Aryeh Gregor aaf30c8f52 Bug 799917 - Make document.characterSet always lowercase; r=bz,f=hsivonen,smontagu 2012-10-14 10:13:19 +02:00
Trevor Saunders 000b6e89a1 bug 798595 - remove useless prmem.h includes r=ehsan 2012-10-04 02:14:06 -04:00
Andrew McCreight cc987a78b8 Bug 780979 - Compute length of char to freq order tables. r=smontagu 2012-08-29 06:48:15 -07:00
Ehsan Akhgari f22f8b7a49 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 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
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 d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Nathan Froyd bfff055672 Bug 370750 - consolidate mochitest files installation; r=glandium
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Simon Montagu 886fbfecc5 Update patch for bug 644209 to final version. r=emk 2012-05-24 22:56:49 +03:00
Simon Montagu e3f832b63f Make tests that use non-UTF-8 content use file URLs instead of chrome URLs. Bug 644209, r=emk 2012-05-24 22:41:38 +03:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ehren Metcalfe 3dfaa93fde Bug 739124 - Remove unused nsCharsetProber::SetOpion and overrides. r=smontagu 2012-03-26 23:16:14 +02:00
Makoto Kato b6e9c4d7bb Bug 590390 - deCOM nsICharsetAlias. r=smontagu
--HG--
rename : intl/locale/public/nsICharsetAlias.h => intl/locale/public/nsCharsetAlias.h
rename : intl/locale/src/nsCharsetAliasImp.cpp => intl/locale/src/nsCharsetAlias.cpp
2012-03-05 12:57:51 +09:00
Panagiotis Koutsourakis 9c7dfb9706 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Jeff Walden 2e53b58879 Bug 711799 - Add parentheses to a bunch of && expressions nested within || expressions. r=dholbert 2011-12-18 01:00:47 -05:00
Gregory Szorc 1a1f7b30ae Bug 698248 - Remove unused FORCE_USE_PIC variable; r=khuey 2011-11-01 15:45:23 -07: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
Simon Montagu b89bd04eb9 Bug 601261 - nsXPCOMDetector::DoIt didn't call Reset resulting in crash [@ nsSJISProber::HandleData]. r=emk 2011-08-24 16:26:17 +09:00
Malini Das ea71db787e Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
Ed Morley 8aaddd0334 Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Ed Morley 91238e76b1 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Simon Montagu 4587536cef Remove UTF-32 encoder and decoder. Bug 604317, r=emk 2011-03-30 08:35:34 +02:00
Henri Sivonen b7043eff75 Test for bug 638318 - Test that a byte run that has more than 1024 zeros but one non-zero byte among them before the 1024 byte limit does not sniff as UTF-16LE/BE. r=bzbarsky, a=test-only. 2011-03-03 19:20:00 +02:00
Henri Sivonen f68ddc8cba Bug 631751 - Sniff Basic Latin BOMless UTF-16 for IE compat. r=bzbarsky, a=bzbarsky. 2011-02-16 08:40:35 +02:00
Henri Sivonen bbffca4d43 Bug 620106 - Allow chardet (if enabled) reload the page during load. r=sicking, a=blocking2.0-final. 2011-02-11 12:33:32 +02: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
timeless@mozdev.org 251ea41baa Bug 552235 - Fixing warning in universalchardet array subscript has type 'char', r=smontagu 2010-03-13 18:16:00 -08:00
tyler.downer@gmail.com d22af6cdd4 Remove extension/universalchardet/doc/. Bug 471480, r=smontagu 2010-03-13 12:08:57 -08:00
Ms2ger@gmail.com 5024dcc2e9 Bug 548073 - Tabs in extensions/universalchardet/tests/CharsetDetectionTests.js. r=smontagu 2010-03-06 16:36:05 +01:00
Simon Montagu c38fa14fa2 Set a minimum threshold even for the detector's preferred language. Bug 547487, r=emk 2010-02-23 01:46:15 -08:00
Jonathan Griffin b10554d803 Bug 542660. Move universalchardet tests that use XPConnect to mochi-chrome. r=smontagu 2010-02-03 13:35:15 -08:00
Mitchell Field 41c8798093 Bug 514665 - fix stupid module name differences on windows. r=ted 2009-09-25 18:41:16 +02: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
timeless@mozdev.org 6f207b45f2 Bug 493781 Fixing warning in universalchardet array subscript has type 'char'
r=smontagu
2009-06-27 18:42:50 -07:00
Hiroyuki Ikezoe 06a390a40b Bug 488426 - enable TIS-620 detector; r=smontagu 2009-06-24 13:12:36 +09:00
Hiroyuki Ikezoe 77ac7ec630 Bug 482558. Remove obsolete test. r=smontagu 2009-05-18 10:27:40 +12:00
L. David Baron f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Simon Montagu 0ef190bc50 Fix some issues found with valgrind. Bug 479759 and bug 481692. r=Masatoshi Kimura <VYV03354@nifty.ne.jp> 2009-03-10 23:12:52 +02:00
Zeev Tarantov 00b0b9ec63 Make data tables in extensions/universalchardet const. Bug 482227, r=smontagu 2009-03-09 17:20:32 +02:00
Masatoshi Kimura 5517fb7970 Bug 470635 - Remove unused state machines 2008-12-27 19:02:48 +01:00
Masatoshi Kimura 3a3a37f47d Bug 335531 - Correct misuse of UTF-16BE, UTF-16LE, UTF-32BE, and UTF-32LE charset labels; r=smontagu sr=dbaron 2008-12-06 11:08:26 -08:00
Daniel Holbert 61f320aa9d Backed out changeset 78d662c2c878 (Bug 335531) on suspicion of causing mochitest failures in test_bug399284.html on linux & windows unittest boxes. 2008-12-05 11:52:01 -08:00
Masatoshi Kimura 31c5df869e Bug 335531 - Correct misuse of "UTF-16BE", "UTF-16LE", "UTF-32BE", and "UTF-32LE" charset labels; r=smontagu sr=dbaron 2008-12-05 18:31:00 +01:00