aboutsummaryrefslogtreecommitdiff
path: root/binutils/winduni.c
AgeCommit message (Collapse)AuthorFilesLines
2009-09-02update copyright datesAlan Modra1-1/+1
2009-06-09 PR 10165Nick Clifton1-1/+9
* winduni.c (wind_MultiByteToWideChar): Do not pass MB_PRECOMPOSED to MultiByteToWideChar when using the CP_UTF8 or CO_UTF7 types.
2009-05-082009-05-08 Kai Tietz <kai.tietz@onevision.com>Kai Tietz1-1/+1
* winduni.c (iconv_onechar): Only define when HAVE_ICONV is defined, but not when __CYGWIN__ or _WIN32 are defined. See wind_iconv_cp for call logic of this local funtion.
2009-05-05 PR 10109Nick Clifton1-14/+14
* winduni.c: Replace test of HAVE_ICONV_H with a test of HAVE_ICONV. (iconv_onechar): Use ICONV_CONST instead of "const". (wind_MultiByteToWideChar): Initialise local strings.
2007-07-05Change sources over to using GPLv3Nick Clifton1-1/+2
2007-06-18* rclex.c: (cpp_line): Add code_page pragma support.Nick Clifton1-5/+14
* windres.c: (usage, long_options, main): Add new option --codepage or -c. * winduni.c: (wind_default_codepage, wind_current_codepage): New. (unicode_from_ascii, ascii_from_unicode): Use wind_current_codepage as codepage parameter. (unicode_print): Print 4 characters for hexadecimal values in unicode strings. * winduni.h: (wind_default_codepage, wind_current_codepage): Export. * doc/binutils.texi: Document new option. * NEWS: Mention new feature.
2007-06-05* Makefile.am: Add LIBICONV to windres.Nick Clifton1-66/+521
* acinclude.m4: Added missing "lib-*.m4" and "lt*.m4" files. * configure.in: Add AC_CHECK_HEADER for iconv.h and use AM_ICONV. * config.in: Add ICONV defines. * aclocal: Regenerate. * confugure: Regenerate. * winduni.c: (local_iconv_map codepages, wind_language_t, languages, unicode_is$ (ascii_from_unicode): Use codepage_from_unicode. (ascii_from_unicode): Use unicode_from_codepage. Use for cygwin windows API for unicode transformation. * winduni.h: (CP_ACP, CP_UTF7, CP_UTF8, CP_OEM, CP_UTF16): New macros. (wind_language_t, local_iconv_map): New types. (wind_find_language_by_id, wind_find_language_by_codepage, (unicode_is_valid_codepage, wind_find_codepage_info, unicode_from_codepage, c$
2007-05-23Updated windres toolNick Clifton1-8/+205
2007-04-26bfd/Alan Modra1-2/+3
Many files: Include sysdep.h before bfd.h. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. binutils/ * bucumm.h: Split off host dependencies to.. * sysdep.h: ..here. Many files: Include sysdep.h. Remove duplicate headers and reorder. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. ld/ Many files: Include sysdep.h first. Remove duplicate headers. * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. opcodes/ * Makefile.am: Run "make dep-am". * Makefile.in: Regenerate. * ns32k-dis.c: Include sysdep.h first.
2005-05-08Update FSF addressNick Clifton1-2/+2
2005-03-24 * winduni.c (unicode_from_ascii): Don't declare variablesDanny Smith1-10/+17
's' and 'w' if _WIN32. Use MultiByteToWideChar to set the unicode string len.
2003-09-14 * addr2line.c: Convert to ISO C90 prototypes, change PTR, removeAndreas Jaeger1-9/+3
unneeded (void *) casts. * ar.c: Likewise. * arlex.l: Likewise. * arparse.y: Likewise. * arsup.c: Likewise. * binemul.c: Likewise. * binemul.h: Likewise. * bucomm.c: Likewise. * bucomm.h: Likewise. * budbg.h: Likewise. * budemang.c: Likewise. * budemang.h: Likewise. * coffdump.c: Likewise. * coffgrok.c: Likewise. * cxxfilt.c: Likewise. * debug.c: Likewise. * debug.h: Likewise. * deflex.l: Likewise. * dlltool.c: Likewise. * dlltool.h: Likewise. * dllwrap.c: Likewise. * emul_aix.c: Likewise. * filemode.c: Likewise. * ieee.c: Likewise. * nlmconv.c: Likewise. * nlmconv.h: Likewise. * nlmheader.y: Likewise. * nm.c: Likewise. * prdbg.c: Likewise. * rclex.l: Likewise. * rcparse.y: Likewise. * rdcoff.c: Likewise. * rddbg.c: Likewise. * rename.c: Likewise. * resbin.c: Likewise. * rescoff.c: Likewise. * resrc.c: Likewise. * size.c: Likewise. * srconv.c: Likewise. * stabs.c: Likewise. * strings.c: Likewise. * sysdump.c: Likewise. * sysinfo.y: Likewise. * syslex.l: Likewise. * unwind-ia64.c: Likewise. * unwind-ia64.h: Likewise. * version.c: Likewise. * windres.c: Likewise. * windres.h: Likewise. * winduni.c: Likewise. * wrstabs.c: Likewise.
2001-09-19Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu1-4/+3
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+147