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

45 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Ehsan Akhgari 1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
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
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
Aryeh Gregor d0ad5a7d0c Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03: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
Phil Ringnalda c7846f98af Bug 512896 - Remove the obsolete makefile.win that doesn't build GenCyrillicClass.cpp, r=smontagu 2009-09-13 16:05:55 -07:00
Masatoshi Kimura 5517fb7970 Bug 470635 - Remove unused state machines 2008-12-27 19:02:48 +01:00
gerv%gerv.net 670fb87360 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +00:00
gerv%gerv.net ba2432c07e Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-08-25 23:02:50 +00:00
gerv%gerv.net 9f35e25052 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-07-16 18:48:35 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
jgmyers%speakeasy.net ce5088ba8f Accept halfwidth katakana in iso-2022-jp: bug 172393 r=ftang sr=roc 2004-01-03 21:45:21 +00:00
seawood%netscape.com 80e1b303cc Purge XP_PC.
Bug #56767 r=mkaply sr=alecf
2003-04-02 22:45:08 +00:00
sfraser%netscape.com eab5d38cb2 Make lots of static data const. Bug 74803. r=dbaron, sr=alecf 2003-02-26 01:15:36 +00:00
seawood%netscape.com 301b1a4ca8 Remove unused defines:
_IMPL_NS_HTML
_IMPL_NS_RDF
_IMPL_NS_WEB
USE_NSREG

Patches for removing above defines contributed by Stephen Walker <walk84@yahoo.com>.
Bug #125118 r=cls sr=bryner
Bug #160397 r=cls sr=bryner
Bug #160628 r=cls
Bug #160451 r=cls sr=bryner

_IMPL_NS_VIEW

Patches for removing above define contributed by Brian Ryner <bryner@netscape.com>
Bug #160416 r=cls
2002-08-07 06:08:00 +00:00
shanjian%netscape.com d27eb315d8 #132006 Traditional Chinese is detected as Simplified Chinese
correct a mistake in gb18030 machine, class number is incorrect.
r=ftang, sr=shaver@mozilla.org
2002-04-16 22:48:06 +00:00
shanjian%netscape.com 2059c806a2 #125628 Auto-detect can not detect the gb18030 page above properly
This patch added a state machine for gb18030 verification. The data of
the state machine is created based on GB18030 standard, and the code was
generated by a perl script which is almost identical to rest of the perl
script that generated other header files. Rest of the code is just
adding this state machine to some charset detectors.
r=ftang, sr=shaver, a=asa
2002-03-14 00:47:05 +00:00
dbaron%fas.harvard.edu 59892aa65e Remove more no-longer-needed nsComponentManager::RegisterComponent calls. Remove remnants of NS_IMPL_IDS macro, associated with long-gone NS_DECLARE_ID. b=125782 r=dougt rs=jag 2002-02-16 16:18:13 +00:00
seawood%netscape.com 7733357d51 Rename 'install' build phase to 'libs'.
Bug #56601 r=pavlov
2001-11-21 09:49:41 +00:00
shanjian%netscape.com 5e7783a929 #62929 psm charset detector should tolerate char '\0'
r=yokoyama sr=brendan
2001-11-21 00:58:48 +00:00
alecf%netscape.com 8b0ceb8c3c final makefile.win changes for bug 100214, just adding some REQUIRES to be used soon 2001-10-26 03:18:09 +00:00
gerv%gerv.net 1c6c9ed7c8 License changes, take 2. Bug 98089. mozilla/include/, /mozilla/htmlparser/, /mozilla/intl/ (part 1). 2001-09-26 00:40:45 +00:00
gerv%gerv.net 1856815ff1 Oops. 2001-09-20 00:02:59 +00:00
scc%mozilla.org bc444f528a bug #98089: ripped new license 2001-09-19 22:39:41 +00:00
alecf%netscape.com 62424ee7b2 Final REQUIRES changes for bug 98371, adding support for MOZ_TRACK_MODULE_DEPS to win32. r=cls (and tested by cls!) 2001-09-17 19:06:35 +00:00
yokoyama%netscape.com 2333d6b171 Fix for 67576; /r=valeski; /sr=brendan@mozilla.org 2001-04-12 02:06:02 +00:00
cls%seawood.org 1f3b6d75ab Removed obsolete REQUIRES variable from every Makefile.in/makefile.win 2000-06-30 08:08:04 +00:00
ftang%netscape.com 037ecf3dd9 add perl tools which generate character frequency map and statistics files 2000-05-16 23:03:14 +00:00
ftang%netscape.com f235206802 fix bug 23944. make range 0xE5-0xFC invalid frist byte of SJIS. code generate by perl script and reviewed by ftang 2000-02-04 00:38:39 +00:00
pp%ludusdesign.com 698852a4f4 Converting usage of ::GetIID() to NS_GET_IID().
Bug #20232, r=scc@netscape.com
2000-01-11 20:49:15 +00:00
ftang%netscape.com 2aad1e4273 change charset name for Big5 from BIG5 1999-11-19 01:15:10 +00:00
dmose%mozilla.org 142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
ftang%netscape.com 7d20c6b65f 1. change to UTF-16BE/LE name, 2. fix problem in nsPSMDetector 3.add addtional debugging infor to DetectCharset 1999-09-10 18:59:48 +00:00
cata%netscape.com 0f0d23b266 Fixing build warnings. Step 2: switch to use new method from the interface. 1999-09-01 22:50:50 +00:00
cyeh%netscape.com 9577b5cefa Remove IGNORE_MANIFEST=1. It doesn't do anything and it confuses people. 1999-09-01 00:54:34 +00:00
ftang%netscape.com 8e03308715 rework the states. this is a tool change. Won't break build. The tool is not run in the build process 1999-08-19 21:12:05 +00:00
ftang%netscape.com e09b94476b fix charset detection by treating 0x85,0x86,0xeb,0xec illegal in sjis. This is a tool change. Won't break build. The tool is not run in the build process 1999-08-19 21:02:45 +00:00
ftang%netscape.com ee3fb06a7b add new tools 1999-07-14 15:14:42 +00:00
ftang%netscape.com f3c2f91c38 change UCS2 verifier name. Add new class to nsPSMDetectors.cpp 1999-06-25 20:22:39 +00:00
ftang%netscape.com 238d7024af add new tools 1999-06-25 07:37:48 +00:00
ftang%netscape.com f1f527a129 fix wrong state table at iso2022jp and sjis 1999-06-25 01:24:01 +00:00
ftang%netscape.com 9b6ead39d8 add verifier generation tools 1999-06-24 20:41:28 +00:00