aboutsummaryrefslogtreecommitdiffstats
path: root/common/homedir.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-08-01w32: Add code to support a portable use of GnuPG.Werner Koch1-26/+130
* common/homedir.c (w32_bin_is_bin, w32_portable_app) [W32]: New. (check_portable_app) [W32]: New. (standard_homedir, default_homedir) [W32]: Support the portable flag. (w32_rootdir, w32_commondir) [W32]: Ditto. (gnupg_bindir) [W32]: Ditto. -- A portable use of GnuPG under Windows means that GnuPG uses a home directory depending on the location of the actual binary. No registry variables are considered. The portable mode is enabled if in the installation directory of the the binary "gpgconf.exe" and a file "gpgconf.ctl" are found. The latter file shall be empty or consist only of empty or '#'-style comment lines. Signed-off-by: Werner Koch <[email protected]>
2013-04-23w32: Almost everywhere include winsock2.h before windows.h.Werner Koch1-18/+21
-- This is required by newer mingw toolchain versions which demand that winsock2.h is included before windows.h. Now, due to the use of socket definitions in pth.h we need to include winsock2.h also in pth.h, now pth.h is often included after an include of windows.h and thus the compiler spits out a warning. To avoid that we include winsock2.h at all places the compiler complains about.
2013-04-01scd: move SCDaemon to libexecdir.NIIBE Yutaka1-1/+1
* common/homedir.c (gnupg_module_name): It's now libexecdir. * scd/Makefile.am (libexec_PROGRAMS): Add scdaemon (bin_PROGRAMS): Remove scdaemon.
2009-03-02Modernized gpg-agent startup instructionsWerner Koch1-1/+1
2008-11-04Revamped the W32 gettext implementation.Werner Koch1-0/+21
2008-06-16Add controlo statement %ask-passphraseWerner Koch1-0/+3
2008-06-16[W32] Change location of /etc.Werner Koch1-1/+30
2008-05-27Fixed segv in gpg-agent (command marktrusted).Werner Koch1-0/+6
Replaced almost all free by xfree. Translation fixes.
2007-11-27[W32] Changed default socket for dirmngr.Werner Koch1-2/+7
[W32] Add some code for event notifications between scdaemon and gpg-agent.
2007-10-01Use Assuan socket wrapper calls.Werner Koch1-1/+1
Made socket servers secure under Windows.
2007-08-29New command --check-programs for gpgconf.Werner Koch1-0/+6
2007-08-27Implemented more gpg-agen options to support certain passphrase policies.Werner Koch1-0/+3
New tool gpg-check-pattern.
2007-08-14Documentaion updates.Werner Koch1-0/+23
Support doe Dirmngr under W32. Fixed a yat2m bug.
2007-07-04Changed to GPLv3.Werner Koch1-4/+2
Removed intl/.
2007-06-26More W32 related changesWerner Koch1-12/+53
2007-06-25Fixed a problem in estream-printf.c.Werner Koch1-34/+73
Changes for Windows (gpgsm -k does now work). Minor cleanups.
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch1-0/+149
See the ChangeLogs for details.
2006-06-20Updated FSF's address.Werner Koch1-1/+2
2006-04-19Merged with gpg 1.4.3 code. Werner Koch1-6/+47
The gpg part does not yet build.
2004-12-21* homedir.c: New. Use CSIDL_APPDATA for W32 as the default homeWerner Koch1-0/+40
directory.
2004-12-21* gpg-agent.c (main): Use default_homedir().Werner Koch1-17/+17
* protect-tool.c (main): Ditto. * signal.c (got_fatal_signal, got_usr_signal) (got_fatal_signal) [DOSISH]: Don't build. * simple-gettext.c: Include sysutils.h * homedir.c: New. * Makefile.am (libcommon_a_SOURCES): Add it. (EXTRA_DIST): Removed mkerror and mkerrtok. * gpgv.c, g10.c (main): Use default_hoemdir (). * scdaemon.c (main): Use default_homedir(). * gpgsm.c (main): Use default_homedir().
2004-01-302004-01-30 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-18/+20
* Makefile.am (libcommon_a_SOURCES): Add xasprintf.c. * miscellaneous.c (xasprintf): Moved to ... * xasprintf (xasprintf): ... here. New file. This allows to use xasprintf without sucking in gpg-error.
2001-12-10The Agent does now call the pin entry program; however because we haveWerner Koch1-4/+14
not yet implemeted secret key protection, its purpose is somewhat limited. Well, the PIN entry modules can now be tested.
2001-11-24Added new directory common to enable sharing of some code and errorWerner Koch1-59/+0
numbers between gpg, gpgsm and gpg-agent. Move some files and code to there.
2001-11-13We have reached a state where we are able to import certs andWerner Koch1-2/+52
check the certification path.
2001-11-07Implemented server main loop and started with import command.Werner Koch1-3/+17
2001-11-07Assuan server mode is now basically usableWerner Koch1-19/+2
2001-11-06First chunk of code for the Assuan libraryWerner Koch1-8/+22
2000-07-14See ChangeLog: Fri Jul 14 19:38:23 CEST 2000 Werner KochWerner Koch1-1/+1
2000-01-27See ChangeLog: Thu Jan 27 18:00:44 CET 2000 Werner KochWerner Koch1-3/+3
1999-03-20See ChangeLog: Sat Mar 20 11:53:40 CET 1999 Werner KochWerner Koch1-0/+1
1999-01-19See ChangeLog: Tue Jan 19 19:34:58 CET 1999 Werner KochWerner Koch1-0/+1
1999-01-16See ChangeLog: Sat Jan 16 09:27:30 CET 1999 Werner KochWerner Koch1-20/+6
1998-12-23See ChangeLog: Wed Dec 23 13:34:22 CET 1998 Werner KochWerner Koch1-3/+3
1998-07-06intermediate releaseWerner Koch1-9/+21
1998-06-16some more internall structure changesWerner Koch1-4/+4
1997-12-16added some stuff for signing keysWerner Koch1-0/+1
1997-11-18initially checkinWerner Koch1-0/+29