| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
* src/w32-gettext.c (struct override_locale): new.
(my_nl_locale_name): Take care of that.
(gpgrt_w32_override_locale): New.
* src/gpg-error.def.in: Add gpgrt_w32_override_locale.
* src/gpg-error.c: New command --locale for Windows.
--
GnuPG-bug-id: 3733
Signed-off-by: Werner Koch <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--
http://www.unicode.org/unicode/onlinedat/languages.html currently says:
The mapping information between Macintosh and Windows codes is no
longer available on the Unicode site. Please consult the
Macintosh and Windows developer sites.
And there are no outbound links.
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
| |
--
https://www.loc.gov/standards/iso639-2/php/code_changes.php says that
ve is indeed the 2-character code for Venda:
>> This alpha-2 ISO 639-1 code was approved in 1999 and included in
>> ISO 639-1: 2002. It was mistakenly missing in earlier versions of
>> the tables on the ISO639-2 web site. As of January 2003, it has
>> been included.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--
* use https for bug reporting
* in comments and docs, use https to refer to:
- www.gnu.org
- creativecommons.org
- translationproject.org
- mail.gnome.org
- www.perl.org
- www.ctan.org
- www.cl.cam.ac.uk
- www.ntg.nl
- cygwin.com
- www.ethnologue.com
|
|
|
|
|
|
|
|
|
|
| |
* src/w32-gettext.c (wchar_to_native): Convert to ConsoleOutputCP.
--
Just using CP_ACP did not neccessarily convert to the correct
codepage as codepages might differ between ConsoleOutput and
GUI output (which it usually does).
This fixes encoding issues on the Windows commandline.
|
|
|
|
|
| |
--
Signed-off-by: Justus Winter <[email protected]>
|
|
|
|
|
|
|
|
|
| |
* src/w32-gettext.c (get_string): Pass the nul of the utf-8 string to
the conversion function but keep TRANSLEN without the nul.
--
The bug first occurred on Windows 8 but it is a real thing. Assuming
that a malloced buffer is zeroed out is not solid assumptions ;-)
|
|
|
|
| |
--
|
|
|
|
|
|
| |
* src/w32-gettext.c (CreateFileA): Rename to ...
(MyCreateFileA): ... this, but provide macro CreateFileA.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/w32-gettext.c: Guard include of <sys/types.h>. Do not
include <sys/stat.h>.
(CreateFileA) [HAVE_W32CE_SYSTEM]: New wrapper function.
(load_domain): Use native Windows API.
* src/init.c (TLS_OUT_OF_INDEXES) [HAVE_W32CE_SYSTEM,
!TLS_OUT_OF_INDEXES]: Define it.
(abort) [!__MINGW32CE__]: Define it.
|
| |
|
| |
|
|
|
|
|
| |
Remove comment cruft.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Updated some translations.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
* src/w32-gettext.c (get_string): Remove extra arguments to
utf8_to_native_invocation.
(utf8_to_wchar, wchar_to_native): New function.
(utf8_to_native): Rewritten.
|
|
* src/Makefile.am (arch_sources): New variable.
(libgpg_error_la_SOURCES): Add $(arch_sources).
* src/gettext.h [HAVE_W32_SYSTEM]: Include w32-gettext.h.
* src/w32-gettext.h: New file.
* src/w32-gettext.c: New file.
* src/gpg-error.h.in: Check for gcc's constructor attribute.
Use it for gpg_err_init.
(GPG_ERR_INITIALIZED): Define if constructor is available.
* src/gpg-error.c (main) [GPG_ERR_INITIALIZED]: Don't invoke
gpg_err_init.
(i18n_init): Call bindtextdomain as well. Now that gpg-error has
its own gettext implementation, we can't rely on it anymore.
Also, repeat all the w32 stuff for fetching the registry.
|