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

181 Коммитов

Автор SHA1 Сообщение Дата
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
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Simon Montagu a5d846e265 Various fixes to multi-byte Unicode decoders. Bug 715319, r=emk 2012-03-16 13:41:41 -07:00
Simon Montagu 35e3bc75b1 Improve the tests for end of output block. Bug 718573, r=emk 2012-02-09 17:50:48 +02:00
Ms2ger 176ab26790 Bug 714613 - Simplify nsShiftJISToUnicode::Convert; r=smontagu 2012-01-15 09:13:12 +01:00
Simon Montagu 34621450c8 Resynchronize the Shift_JIS converter after unrecognized sequences. Bug 690225, r=emk 2011-10-19 07:58:41 +02:00
Simon Montagu 6f5c3864dc Backout cset 308f180eb3f4 2011-10-18 15:09:45 +02:00
Simon Montagu 81548b004b Resynchronize the Shift_JIS converter after unrecognized sequences. Bug 690225, r=emk 2011-10-18 14:15:21 +02: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
Masatoshi Kimura d6412bb1fd Bug 600715 - Remove JIS X 0212 support from EUC-JP encoder. r=smontagu 2011-03-26 13:43:40 +01:00
Henri Sivonen 9490daf18d Bug 593046 - Do not read a pref in nsJapaneseToUnicode. r=smontagu, a=blocking2.0-final.
--HG--
extra : rebase_source : ac58c8390571cd0a0b62f85dc985c3d8902a8dac
2010-09-06 10:41:26 +03: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
Simon Montagu c4f18e8838 Fix some errors with handling invalid sequences in the EUC-JP decoder. Bug 563618, r=Masatoshi Kimura <VYV03354@nifty.ne.jp> 2010-05-11 17:38:25 +03: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
Makoto Kato 6c49622ac3 Bug 174351: Encoding errors aren't treated as fatal XML errors. r=smontagu, sr=peterv 2009-02-16 04:22:47 -08:00
mozilla@weilbacher.org fc80bb59ab Bug 413613: remove MOZ_EXTRA_X11CONVERTERS and the code it enables, r=smontagu, a=beltzner 2008-01-28 14:22:53 -08:00
dveditz@cruzio.com 9e2602c1a0 bug 407161 fix garbled-Japanese Tbird subject lines (regression). patch by VYV03354@nifty.ne.jp, r=smontagu, sr=dveditz, a=beltzner 2007-12-18 11:08:35 -08:00
smontagu@smontagu.org 18da58e54b Treat all empty and incomplete sequences as encoding errors, and some other clean-up. Bug 381412, r=jshin, sr=dveditz, b1.9=jst 2007-09-05 22:02:17 -07:00
smontagu@smontagu.org 70c7968839 Remove unused empty decoders and encoders for CP932 and CP950. Bug 385044, r=jshin 2007-06-24 02:48:55 -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
hg@mozilla.com 05e5d33a57 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
smontagu%smontagu.org 848316fb3c Remove mShiftTable from encoders/decoders that don't use it and various other pieces of stale code. Bug 336575, r=jshin, rs=roc 2006-08-07 07:57:31 +00:00
smontagu%smontagu.org 1db860f6a9 DeCOMtamination of intl/uconv utilities. Bug 336609, r=jshin, sr=roc 2006-05-17 08:58:00 +00:00
cbiesinger%web.de 51a89a8b1e bug 335180 Remove win32.order, mozilla-bin.order, --enable-reorder, and
associated code. These options do not really work anymore.

r=bsmedberg
2006-05-06 17:53:51 +00:00
jshin%mailaps.org b2498d8311 bug 138578 : Japanese to UTF-16 converters don't keep their internal state correctly (r=smontagu, sr=blizzard) 2005-02-24 00:33:41 +00:00
jshin%mailaps.org 7a79475cb5 bug 276042 : NPL->MPL 2005-01-09 12:33:29 +00:00
bsmedberg%covad.net 79241940e8 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
gerv%gerv.net 670fb87360 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-12-01 22:27:03 +00:00
darin%meer.net 189ba5e5c4 eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
gerv%gerv.net 31625ba2b1 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
alecf%flett.org 2751c6b097 fix for bug 206379:
- combine nsICharsetConverterManager2 and nsICharsetConverterManager
- get rid of nsIAtom in most of the methods
- provide versions of getUnicodeDecoder/Encoder which don't do alias resolution
- change all charset types to ASCII strings
- clean up some other i18n APIs which could be simplified
- fix all consumers of all changed i18n interfaces
r=jshin, smontagu
rs=sfraser
2003-06-11 18:16:03 +00:00
jshin%mailaps.org 2475a8eab8 bug 180851 : remove several unnecessary converters(used only for X11
font encodings)  for non-gtk builds (Windows,MacOS, Xft without X11CORE,etc)
r=seawood, sr=alecf
2003-02-27 23:27:57 +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
caillon%returnzero.com 6d92f9bd32 184257 - Updating pref callers. r=timeless sr=bzbarsky 2003-01-08 08:40:41 +00:00
smontagu%netscape.com 7a98efd169 Bug 108136: Shift_JIS conversion problem on MacOS9, OS/2. Authors=shom@vinelinux.org, k-ichioka@msb.biglobe.ne.jp; r=ftang, sr=alecf. 2002-11-25 23:44:28 +00:00
alecf%netscape.com 71f32d15bb fix for bug 158003 - custom static constructors for i18n unicode converters.
r=shanjian, sr=bz, a=roc+moz
2002-09-07 01:17:57 +00:00
alecf%netscape.com 24b1b48a47 removal of last of files which are no longer part of the build 2002-08-12 19:38:29 +00:00
alecf%netscape.com 398c128889 fix for bug 157993 - combine all unicode converters into a single library, and share GetMaxLength() implementation between all converters that can support it.
r=ftang, sr=blizzard
2002-08-12 19:16:16 +00:00
seawood%netscape.com 322da773fb Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
bryner%netscape.com 7dafb891cc Removing unused NS_DOM/_IMPL_NS_DOM and NS_INTL/_IMPL_NS_INTL defines (bugs 160248 and 160253). Patch for 160248 by walk84@yahoo.com, r=me&cls; patch for 160253 by me, r=cls. 2002-07-31 20:53:46 +00:00
alecf%netscape.com eed8e408de fix for bug 125617 - use the category manager instead of the registry to keep our list of encoders/decoders
r=dougt, sr=dveditz
2002-06-22 21:08:00 +00:00
dougt%netscape.com c683a217ab Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
ftang%netscape.com 7afa1959aa fix bug 128580 r=nhota, sr=alecf a=asa
return erorr code instead of success code when we hit structur issu
2002-03-20 15:36:35 +00:00
ftang%netscape.com c18fbaf93a fix bug 116882. r=nhotta sr=kin a=roc+moz
change the error handling behavior compatable to IE6.
display middle dot instead of ?for undefined character
2002-02-28 15:47:10 +00:00