aboutsummaryrefslogtreecommitdiffstats
path: root/common/iobuf.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2012-06-05Change all quotes in strings and comments to the new GNU standard.Werner Koch1-15/+15
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.
2012-04-20Change license for some files in common to LGPLv3+/GPLv2+.Werner Koch1-5/+15
Having the LGPL on the common GnuPG code helps to share code between GnuPG and related projects (like GPGME and Libassuan). This is good for interoperability and to reduces bugs. * common/asshelp.c, common/asshelp.h, common/asshelp2.c, common/b64dec.c * common/b64enc.c, common/convert.c, common/dns-cert.c * common/dns-cert.h common/exechelp-posix.c, common/exechelp-w32.c * common/exechelp-w32ce.c, common/exechelp.h, common/get-passphrase.c * common/get-passphrase.h, common/gettime.c, common/gpgrlhelp.c * common/helpfile.c, common/homedir.c, common/http.c, common/http.h * common/i18n.c, common/init.c, common/init.h, common/iobuf.c * common/iobuf.h, common/localename.c, common/membuf.c, common/membuf.h * common/miscellaneous.c, common/openpgp-oid.c, common/openpgpdefs.h * common/percent.c, common/pka.c, common/pka.h, common/session-env.c * common/session-env.h, common/sexp-parse.h, common/sexputil.c * common/signal.c, common/srv.c, common/srv.h, common/ssh-utils.c * common/ssh-utils.h, common/sysutils.c, common/sysutils.h * common/tlv.c, common/tlv.h, common/ttyio.c, common/ttyio.h * common/userids.c, common/userids.h, common/xasprintf.c: Change license to LGPLv3+/GPLv2+/
2011-02-04Nuked almost all trailing white space.post-nuke-of-trailing-wsWerner Koch1-28/+28
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.
2011-01-18estream support for iobuf and new memuf functions.Werner Koch1-1/+126
2010-06-082010-06-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+4
* Makefile.am (AM_CFLAGS): Add $(LIBASSUAN_CFLAGS). (t_common_ldadd): Add $(LIBASSUAN_LIBS). * sysutils.c: Include <assuan.h>. (translate_sys2libc_fd_int): Cast to silence gcc warning. * iobuf.c: Include <assuan.h> (translate_file_handle): Fix syntax error.
2010-06-08W32CE fix.Werner Koch1-1/+6
Typo fixes
2010-03-24More changes for CE. gpgsm does now build and run a keylisting.Werner Koch1-3/+8
2010-03-10Merged jnlib into common.Werner Koch1-2/+2
2010-03-08Use macros for iobuf ioctls. Werner Koch1-62/+37
2010-03-08More cleanupsWerner Koch1-100/+44
2010-03-08Remove unused code.Werner Koch1-132/+25
2010-03-02First steps towards the W32CE portWerner Koch1-0/+21
2009-12-082009-12-08 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+1
* asshelp.c (start_new_gpg_agent) [HAVE_W32_SYSTEM]: Add missing argument in assuan_socket_connect invocation. * iobuf.c (iobuf_open_fd_or_name): Fix type of FD in function declaration.
2009-10-13Keep on hacking on g13. A simple --create and --mount does now work.Werner Koch1-7/+7
A hacked up encfs is required.
2009-09-30Some changes to suport g13.Werner Koch1-4/+42
2009-04-01Ported changes from 1.4.Werner Koch1-15/+91
2008-10-20Marked all unused args on non-W32 platforms.Werner Koch1-9/+21
2008-08-19Avoid passing NULL to printf while debugging.Werner Koch1-14/+22
2008-06-25g10/Marcus Brinkmann1-1/+1
2008-06-25 Marcus Brinkmann <[email protected]> * gpg.c (enum cmd_and_opt_values): Remove option oEnableW32HandleTranslation. (opts): Remove option --enable-w32-handle-translation. (main): Remove variable w32_handle_translation. common/ 2008-06-25 Marcus Brinkmann <[email protected]> Revert last three changes related to handle translation. * sysutils.c: (FD_TRANSLATE_MAX, fd_translate, fd_translate_len) (translate_table_init, translate_table_lookup): Removed. * iobuf.c (check_special_filename): Do not use translate_table_lookup. * sysutils.h (translate_table_init, translate_table_lookup): Remove prototypes.
2008-06-182008-06-18 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+1
* sysutils.h (translate_table_init, translate_table_lookup): New prototypes. * sysutils.c: Include <ctype.h>. (FD_TRANSLATE_MAX): New macro. (fd_translate, fd_translate_len): New static variables. (translate_table_init, translate_table_lookup): New functions. (translate_sys2libc_fd_int): Translate file descriptor. * iobuf.c (check_special_filename): Translate handle values from special filenames.
2008-03-20Fix a bug in the ambigious name detection.Werner Koch1-8/+8
Minor cleanups.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-06-26More W32 related changesWerner Koch1-101/+143
2007-06-25Fixed a problem in estream-printf.c.Werner Koch1-26/+2
Changes for Windows (gpgsm -k does now work). Minor cleanups.
2007-06-06First steps towards supporting W32.Werner Koch1-64/+65
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
2006-11-20Made some PIN pads work.Werner Koch1-1/+1
Some cleanups for 64 bit CPUs.
2006-10-02Fix for bug 537Werner Koch1-43/+3
2006-09-27Add missing file and other changes.Werner Koch1-0/+30
2006-09-21Various updatesWerner Koch1-1/+0
2006-09-14Take advantage of newer gpg-error features.Werner Koch1-8/+8
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2006-04-21Still merging 1.4.3 code backWerner Koch1-128/+176
2005-07-27Removed directories which are only used by the 1.9 branchWerner Koch1-2415/+0
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch1-8/+11
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.
2004-12-15A whole bunch of changes to allow building for W32.Werner Koch1-2/+2
2003-09-23Merged most of David Shaw's changes in 1.3 since 2003-06-03.Werner Koch1-10/+10
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+2415
'GNUPG-1-9-BRANCH'.
2003-06-18Finished the bulk of changes for gnupg 1.9. This included switchingWerner Koch1-0/+2415
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.