summaryrefslogtreecommitdiff
path: root/lib/uniconv
Commit message (Collapse)AuthorAgeFilesLines
* maint: run 'make update-copyright'Simon Josefsson2023-01-0122-22/+22
|
* license: fix GPLv3 texts to use a comma instead of semicolon.Bernhard Voelker2022-01-0518-18/+18
| | | | | | | | | See: https://www.gnu.org/licenses/gpl-3.0.html#howto Run: $ git grep -l 'Foundation; either version 3' \ | xargs sed -i '/Foundation; either version 3/ s/n; e/n, e/' * All files using GPLv3: Adjust via the above command.
* maint: run 'make update-copyright'Paul Eggert2022-01-0122-22/+22
|
* Put "LGPLv3+ or GPLv2+" notices in source files where appropriate.Bruno Haible2021-06-0418-153/+297
| | | | | * lib/**.{h,c,gperf}: Use "LGPLv3+ or GPLv2+" notice whenever the module description says so.
* Put LGPLv2+ notices in source files where appropriate.Bruno Haible2021-06-044-28/+28
| | | | | * lib/**.{h,c,gperf}: Use LGPLv2+ notice whenever the module description says so.
* maint: run 'make update-copyright'Paul Eggert2020-12-3122-22/+22
|
* maint: Run 'make update-copyright'Paul Eggert2019-12-3122-22/+22
|
* unistr/*, uniconv/*: Fix undefined behaviour.Bruno Haible2019-03-092-2/+4
| | | | | | | | | Reported by Jeffrey Walton <noloader@gmail.com>. * lib/unistr/u-cpy.h (FUNC): Don't invoke memcpy with a zero size. * lib/unistr/u-cpy-alloc.h (FUNC): Likewise. * lib/uniconv/u8-conv-from-enc.c (u8_conv_from_encoding): Likewise. * lib/uniconv/u8-conv-to-enc.c (u8_conv_to_encoding): Likewise.
* maint: Run 'make update-copyright'Paul Eggert2019-01-0122-22/+22
|
* maint: Run 'make update-copyright'Paul Eggert2018-01-0122-22/+22
|
* all: prefer https: URLsPaul Eggert2017-09-1322-22/+22
|
* version-etc: new yearPaul Eggert2017-01-0122-22/+22
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* Enable Unicode decoder safety unconditionally.Bruno Haible2016-11-192-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/unistr.in.h (u32_mbtouc_unsafe): Assume CONFIG_UNICODE_SAFETY. * lib/unistr/u8-mblen.c (u8_mblen): Likewise. * lib/unistr/u8-mbtouc-unsafe.c (u8_mbtouc_unsafe): Likewise. * lib/unistr/u8-mbtouc-unsafe-aux.c (u8_mbtouc_unsafe_aux): Likewise. * lib/unistr/u8-prev.c (u8_prev): Likewise. * lib/unistr/u8-strmblen.c (u8_strmblen): Likewise. * lib/unistr/u8-strmbtouc.c (u8_strmbtouc): Likewise. * lib/unistr/u16-mblen.c (u16_mblen): Likewise. * lib/unistr/u16-mbtouc-unsafe.c (u16_mbtouc_unsafe): Likewise. * lib/unistr/u16-mbtouc-unsafe-aux.c (u16_mbtouc_unsafe_aux): Likewise. * lib/unistr/u16-prev.c (u16_prev): Likewise. * lib/unistr/u16-strmblen.c (u16_strmblen): Likewise. * lib/unistr/u16-strmbtouc.c (u16_strmbtouc): Likewise. * lib/unistr/u32-mblen.c (u32_mblen): Likewise. * lib/unistr/u32-mbtouc-unsafe.c (u32_mbtouc_unsafe): Likewise. * lib/unistr/u32-prev.c (u32_prev): Likewise. * lib/unistr/u32-next.c (u32_next): Likewise. * lib/unistr/u32-strmblen.c (u32_strmblen): Likewise. * lib/unistr/u32-strmbtouc.c (u32_strmbtouc): Likewise. * lib/uniconv/u8-conv-to-enc.c (u8_conv_to_encoding): Likewise. * lib/uniconv/u8-strconv-to-enc.c (u8_strconv_to_encoding): Likewise. * tests/unistr/test-u16-prev.c (check_invalid): Enable the CONFIG_UNICODE_SAFETY tests unconditionally. * tests/unistr/test-u32-mblen.c (main): Likewise. * tests/unistr/test-u32-mbtouc.h (test_function): Likewise. * tests/unistr/test-u32-prev.c (check_invalid): Likewise. * tests/unistr/test-u32-next.c (main): Likewise. * tests/unistr/test-u32-strmblen.c (main): Likewise. * tests/unistr/test-u32-strmbtouc.c (main): Likewise. * tests/unistr/test-u32-mbtouc.c (FULL_SAFETY): Remove macro. * lib/unistr/u8-check.c (u8_check): Remove old dead code. * lib/unistr/u8-mbtouc.c (u8_mbtouc): Likewise. * lib/unistr/u8-mbtouc-aux.c (u8_mbtouc_aux): Likewise. * lib/unistr/u8-mbtoucr.c (u8_mbtoucr): Likewise. * lib/unistr/u8-uctomb.c (u8_uctomb): Likewise. * lib/unistr/u8-uctomb-aux.c (u8_uctomb_aux): Likewise. * lib/unistr/u16-check.c (u16_check): Update comment. * NEWS: Mention the changes that callers should be aware of.
* version-etc: new yearPaul Eggert2016-01-0122-22/+22
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* version-etc: new yearPaul Eggert2014-12-3122-22/+22
| | | | | | * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date. * all files: Run 'make update-copyright'.
* maint: update copyrightEric Blake2014-01-0122-22/+22
| | | | | | I ran 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com>
* maint: update all copyright year number rangesEric Blake2013-01-0122-22/+22
| | | | | | Run "make update-copyright". Compare to commit 1602f0a from last year. Signed-off-by: Eric Blake <eblake@redhat.com>
* maint: update all copyright year number rangesJim Meyering2012-01-0122-22/+22
| | | | Run "make update-copyright".
* maint: update almost all copyright ranges to include 2011Jim Meyering2011-01-0122-22/+22
| | | | Run the new "make update-copyright" rule.
* Port to uClibc.Bruno Haible2010-11-206-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lib/relocatable.c (find_shared_library_fullname): Treat uClibc like glibc. * lib/strerror_r.c: Likewise. * m4/arpa_inet_h.m4 (gl_HEADER_ARPA_INET): Likewise. * m4/duplocale.m4 (gl_FUNC_DUPLOCALE): Likewise. * m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Likewise. * m4/glibc21.m4 (gl_GLIBC21): Likewise. * tests/test-sigaction.c (handler, main): Likewise. * lib/localename.c (gl_locale_name_thread_unsafe, HAVE_LOCALE_NULL): Treat uClibc like a non-glibc platform. * lib/propername.c (proper_name_utf8): Likewise. * lib/spawn.in.h: Likewise. * lib/striconv.c (mem_cd_iconv, str_cd_iconv, str_iconv): Likewise. * lib/striconveh.c (iconveh_open, iconv_carefully, iconv_carefully_1, mem_cd_iconveh_internal): Likewise. * lib/striconveha.c (mem_iconveha, str_iconveha): Likewise. * lib/string.in.h (memchr, memrchr, rawmemchr, strchrnul, strpbrk, strstr, strcasestr): Likewise. * lib/unicodeio.c (unicode_to_mb): Likewise. * m4/getdelim.m4 (gl_FUNC_GETDELIM): Likewise. * m4/getline.m4 (gl_FUNC_GETLINE): Likewise. * m4/glibc2.m4 (gt_GLIBC2): Likewise. * m4/iconv_open.m4 (gl_FUNC_ICONV_OPEN): Likewise. * m4/memmem.m4 (gl_FUNC_MEMMEM_SIMPLE, gl_FUNC_MEMMEM): Likewise. * m4/printf.m4 (gl_PRINTF_DIRECTIVE_A): Likewise. * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE, gl_FUNC_STRCASESTR): Likewise. * m4/strstr.m4 (gl_FUNC_STRSTR_SIMPLE, gl_FUNC_STRSTR): Likewise. * m4/strtod.m4 (gl_FUNC_STRTOD): Likewise. * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H): Likewise. * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise. * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Likewise. * m4/sys_times_h.m4 (gl_SYS_TIMES_H): Likewise. * m4/unistd_h.m4 (gl_UNISTD_H): Likewise. * m4/wchar_h.m4 (gl_WCHAR_H): Likewise. * tests/test-getopt.h (OPTIND_MIN): Likewise. * tests/test-striconveha.c (main): Likewise. * doc/posix-functions/getdelim.texi: Mention an uClibc bug. * doc/posix-functions/getline.texi: Likewise. Reported by Mike Frysinger <vapier@gentoo.org>.
* update nearly all FSF copyright year lists to include 2010Jim Meyering2010-01-0122-22/+22
| | | | | Use the same procedure as for 2009, outlined in http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/20081
* update nearly all FSF copyright year lists to include 2009Jim Meyering2009-12-2917-17/+17
| | | | | | | | | | | | | | | | | | The files named by the following are exempted: grep -v '^#' config/srclist.txt|grep -v '^$' \ | while read src dst; do test -f "$dst" && { echo "$dst"; continue; } test -d "$dst" || continue echo "$dst"/$(basename "$src") done > exempt git ls-files tests/unictype >> exempt In the remaining files, convert to all-interval notation if - there is already at least one year interval like 2000-2003 - the file is maintained by me - the file is in lib/uni*/, where that style already prevails Otherwise, use update-copyright's default.
* Use spaces for indentation, not tabs.Bruno Haible2009-12-108-220/+220
|
* Simplify calling convention of u*_conv_from_encoding.Bruno Haible2009-04-263-37/+53
|
* Trivial simplification of last commit.Bruno Haible2009-04-262-12/+8
|
* Simplify calling convention of u*_conv_to_encoding.Bruno Haible2009-04-262-36/+74
|
* Avoid test failures on AIX and OSF/1.Bruno Haible2009-04-263-12/+11
|
* Fix test failure on platforms with non-GNU iconv.Bruno Haible2008-04-202-3/+141
|
* Fix bug in error handling code.Bruno Haible2008-04-161-2/+2
|
* Fix missing U_MBLEN define in u??-conf-to-enc.c.Ralf Wildenhues2007-10-222-0/+2
| | | | | * lib/uniconv/u16-conv-to-enc.c (U_MBLEN): Define. * lib/uniconv/u32-conv-to-enc.c (U_MBLEN): Likewise.
* Change copyright notice from LGPLv2.0+ to LGPLv3+.Bruno Haible2007-10-0722-198/+154
|
* New module 'uniconv/u32-conv-to-enc'.Bruno Haible2007-06-091-0/+50
|
* New modules 'uniconv/u16-conv-to-enc' and 'uniconv/u32-conv-to-enc'.Bruno Haible2007-06-091-0/+131
|
* New module 'uniconv/u16-conv-to-enc'.Bruno Haible2007-06-091-0/+51
|
* New module 'uniconv/u8-conv-to-enc'.Bruno Haible2007-06-091-0/+77
|
* Avoid compiler warnings.Bruno Haible2007-03-262-2/+2
|
* New module 'uniconv/u32-strconv-to-locale'.Bruno Haible2007-01-271-0/+31
|
* New module 'uniconv/u16-strconv-to-locale'.Bruno Haible2007-01-271-0/+31
|
* New module 'uniconv/u8-strconv-to-locale'.Bruno Haible2007-01-271-0/+31
|
* New module 'uniconv/u32-strconv-from-locale'.Bruno Haible2007-01-271-0/+31
|
* New module 'uniconv/u16-strconv-from-locale'.Bruno Haible2007-01-271-0/+31
|
* New module 'uniconv/u8-strconv-from-locale'.Bruno Haible2007-01-271-0/+31
|
* New module 'uniconv/u32-strconv-to-enc'.Bruno Haible2007-01-271-0/+51
|
* New module 'uniconv/u16-strconv-to-enc'.Bruno Haible2007-01-271-0/+52
|
* New modules 'uniconv/u16-strconv-to-enc', 'uniconv/u32-strconv-to-enc'.Bruno Haible2007-01-271-0/+65
|
* New module 'uniconv/u8-strconv-to-enc'.Bruno Haible2007-01-271-0/+81
|
* New module 'uniconv/u32-strconv-from-enc'.Bruno Haible2007-01-271-0/+36
|
* New module 'uniconv/u16-strconv-from-enc'.Bruno Haible2007-01-271-0/+36
|
* New module 'uniconv/u8-strconv-from-enc'.Bruno Haible2007-01-271-0/+36
|
* New modules uniconv/u8-strconv-from-enc, uniconv/u16-strconv-from-enc,Bruno Haible2007-01-271-0/+40
| | | | uniconv/u32-strconv-from-enc.