aboutsummaryrefslogtreecommitdiffstats
path: root/common/utf8conv.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-02-26common: Require an installed libiconv.Werner Koch1-89/+4
* common/utf8conv.c: Remove dynload.h. (load_libiconv): Remove. Remove all calls to it. -- The iconv functions are standard feature on most systems and in any case libiconv can be used to provide the functions. The old code used to dlopen iconv.dll on Windows. This goes back to GnuPG-1 which was designed as a one-binary program without any hard dependencies. GnuPG2 however demands a lot of libraries anyway and thus there is no more need for the fragile code to load a possible wrong version of iconv.dll at runtime.
2012-12-13utf8conv.c: Add hacks for Android.Werner Koch1-14/+55
* common/utf8conv.c [HAVE_ANDROID_SYSTEM]: Do not include iconv.h. (iconv_open, iconv_close, load_libiconv) [HAVE_ANDROID_SYSTEM]: New dummy functions. (set_native_charset) [HAVE_ANDROID_SYSTEM]: Force use of "utf-8". (jnlib_iconv_open) [HAVE_ANDROID_SYSTEM]: Act the same as under W32. (jnlib_iconv) [HAVE_ANDROID_SYSTEM]: Ditto. (jnlib_iconv_close) [HAVE_ANDROID_SYSTEM]: Ditto. -- Co-authored-by: Hans of Guardian <[email protected]>
2012-06-05Change all quotes in strings and comments to the new GNU standard.Werner Koch1-4/+4
The asymmetric quotes used by GNU in the past (`...') don't render nicely on modern systems. We now use two \x27 characters ('...'). The proper solution would be to use the correct Unicode symmetric quotes here. However this has the disadvantage that the system requires Unicode support. We don't want that today. If Unicode is available a generated po file can be used to output proper quotes. A simple sed script like the one used for en@quote is sufficient to change them. The changes have been done by applying sed -i "s/\`\([^'\`]*\)'/'\1'/g" to most files and fixing obvious problems by hand. The msgid strings in the po files were fixed with a similar command.
2011-09-30Change JNLIB license to LGPLv3+ or GPLv2+.Werner Koch1-7/+18
This is to allow the use of this code with code under GPLv2(only).
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch1-38/+38
We better do this once and for all instead of cluttering all future commits with diffs of trailing white spaces. In the majority of cases blank or single lines are affected and thus this change won't disturb a git blame too much. For future commits the pre-commit scripts checks that this won't happen again.
2010-07-23Some work on the dirmngrWerner Koch1-1/+1
2010-04-26Fix preference setting in new keysWerner Koch1-0/+5
2010-03-10Merged jnlib into common.Werner Koch1-0/+0
2010-02-26First batch of changes to support W32CE.Werner Koch1-4/+79
Note that jnlib/w32-reg.c is not yet ready.
2009-07-07Minor bug fixes.Werner Koch1-2/+4
Enhanced function docs.
2008-06-11Removed unused variable.Werner Koch1-7/+2
2007-07-04Changed to GPLv3.Werner Koch1-7/+5
Removed intl/.
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch1-0/+47
See the ChangeLogs for details.
2007-06-06First steps towards supporting W32.Werner Koch1-1/+56
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
2007-05-04UTF-8 FixesWerner Koch1-0/+7
2006-12-06Fixes for CVE-2006-6235Werner Koch1-1/+1
2006-10-02Fix for bug 537Werner Koch1-14/+14
2006-09-22Added iconv support and doc cleanups.Werner Koch1-195/+377
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-9/+12
char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
2003-06-18Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch1-0/+448
to libgcrypt functions, using shared error codes from libgpg-error, replacing the old functions we used to have in ../util by those in ../jnlib and ../common, renaming the malloc functions and a couple of types. Note, that not all changes are listed below becuause they are too similar and done at far too many places. As of today the code builds using the current libgcrypt from CVS but it is very unlikely that it actually works.