aboutsummaryrefslogtreecommitdiffstats
path: root/jnlib (unfollow)
Commit message (Collapse)AuthorFilesLines
2007-08-02Factored common gpgconf constants outWerner Koch3-30/+100
Fixed W32 compare_filenames
2007-07-04Changed to GPLv3.Werner Koch29-118/+68
Removed intl/.
2007-07-04A bunch of minor changes for Windows.Werner Koch2-49/+63
2007-06-19Made percent_escape more general.Werner Koch8-20/+355
Added regression tests support to jnlib. W32 changes.
2007-06-18jnlib/Marcus Brinkmann3-3/+45
2007-06-18 Marcus Brinkmann <[email protected]> * stringhelp.h (percent_escape): New prototype. * stringhelp.c (percent_escape): New function. agent/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpg-agent.c (main): Percent escape pathname in --gpgconf-list output. g10/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpg.c (gpgconf_list): Percent escape output of --gpgconf-list. scdaemon/ 2007-06-18 Marcus Brinkmann <[email protected]> * scdaemon.c (main): Percent escape output of --gpgconf-list. sm/ 2007-06-18 Marcus Brinkmann <[email protected]> * gpgsm.c (main): Percent escape output of --gpgconf-list.
2007-06-14A whole bunch of changes to allow building for Windows.Werner Koch3-0/+61
See the ChangeLogs for details.
2007-06-06First steps towards supporting W32.Werner Koch12-1754/+949
This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
2007-05-04UTF-8 FixesWerner Koch4-16/+45
2007-03-07The Cherry XX44 keyboard's PINpad does now work.Werner Koch2-1/+5
DINSIG and NKS card applications are now also PIN pad aware.
2007-01-25jnlib/Werner Koch3-0/+24
* stringhelp.c (utf8_charcount): New. agent/ * genkey.c (check_passphrase_constraints): Use UTF-8 aware strlen.
2006-12-06Fixes for CVE-2006-6235Werner Koch2-1/+6
2006-11-20Made some PIN pads work.Werner Koch2-2/+14
Some cleanups for 64 bit CPUs.
2006-10-19FixesWerner Koch3-0/+20
2006-10-02Fix for bug 537Werner Koch25-371/+565
2006-09-22Added iconv support and doc cleanups.Werner Koch2-195/+383
2006-08-29See ChangeLogsWerner Koch2-2/+14
2006-06-28Remove stale lockfiles if created on the same node.Werner Koch2-257/+348
2006-06-20Updated FSF's address.Werner Koch22-35/+58
2006-05-23g10/ does build again.Werner Koch8-61/+201
2006-04-28Fix for sanitize string. Added SHA224Werner Koch2-7/+14
2006-04-21Still merging 1.4.3 code backWerner Koch3-4/+13
2006-04-19Merged with gpg 1.4.3 code. Werner Koch4-20/+29
The gpg part does not yet build.
2005-06-16gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch6-57/+90
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.
2005-02-22(stream_read_string): Removed call to abort onWerner Koch2-2/+3
memory error because the CVS version of libgcrypt makes sure that ERRNO gets always set on error even with a faulty user supplied function.
2005-02-03Forgot to commit the recent fixed to scd and logging - doing it nowWerner Koch2-28/+18
2004-12-21* preset-passphrase.c (preset_passphrase): Handle --passphrase.Werner Koch1-3/+4
* Makefile.am (gpg_preset_passphrase_LDADD): Reorder libs so that pwquery may use stuff from jnlib. Conditionally add -lwsock2 (gpg_protect_tool_LDADD): Ditto. * preset-passphrase.c (main): Use default_homedir(). (main) [W32]: Initialize sockets. * simple-pwquery.c (agent_open) [W32]: Implement for W32. (readline) [W32]: Use recv instead of read. (writen) [W32]: Use send instead of write. (my_stpcpy): Define a stpcpy replacement so that this file continues to be self-contained. (agent_send_all_options) [W32]: Don't call ttyname. * gnupg-badge-openpgp.eps, gnupg-badge-openpgp.jpg: New * gnupg.texi: Add a logo. * sysnotes.texi: New. * gpgsm.c (main): Use default_homedir(). (main) [W32]: Default to disabled CRL checks. * gpgconf-comp.c (get_config_pathname) [DOSISH]: Detect absolute pathnames with a drive letter.
2004-12-20(do_pth_event_free): The events are hold in a ringWerner Koch2-101/+169
buffer. Adjust for that. (do_pth_event_body): Ditto. (pth_event_isolate): Ditto. (do_pth_wait): Ditto. (_pth_event_count): Renamed to .. (event_count): .. and adjusted as above. (pth_init): Define 3 debug levels and change all debug calls to make use of them. This makes the moule now silent.
2004-12-19* query.c (initialize_module_query):Werner Koch3-79/+67
* call-scd.c (initialize_module_call_scd): New. * w32-pth.c (pth_init): Enable debugging depending on env var. (pth_self): New. (pth_mutex_release, pth_mutex_acquire): Implemented directly using the W32 API.
2004-12-19* maperror.c (map_assuan_err_with_source): Oops, args were swapped.Werner Koch2-7/+23
* w32-pth.c (pth_init): Enable debugging depending on env var.
2004-12-18* configure.ac (AH_BOTTOM): Define EXEEXT_S.Werner Koch2-39/+78
* autogen.sh: Updated --build-w32 feature. * gpg-agent.c (main): Remove special Pth initialize. * w32-pth.c (pth_init): Reverse return values. Use TRUE and FALSE constants. (pth_kill, pth_mutex_acquire, pth_attr_set, pth_join, pth_cancel): Ditto. * scdaemon.c (main) [W32]: Remove special Pth initialize..
2004-12-15A whole bunch of changes to allow building for W32.Werner Koch2-5/+6
2004-12-14Yep. No lost threads anymore.Werner Koch2-38/+70
(_pth_strerror): Renamed to ... (w32_strerror): .. this. And let callers provide a buffer. (spawn_helper_thread): Removed HD arg and hardwire the stack size to 32k. (do_pth_wait): Removed use of ATTR; not needed for the helper threads. (helper_thread): Renamed to .. (launch_thread): .. this. Release handle if not joinable. (struct pth_priv_hd_s): Renamed to ... (struct thread_info_s): .. this. Add member JOINABLE and TH.
2004-12-142004-12-14 Timo Schulz <[email protected]>Timo Schulz2-52/+83
* w32-pth.c (pth_kill): Just release the crit section if pth_init was really called. And set all handles to NULL. (_pth_strerror): New. (do_pth_wait): Before we enter the loop we check if there are too much events in the ring.
2004-12-14More fixes. First successful use; leaks threads, though.Werner Koch1-52/+82
2004-12-14* w32-pth.h (pth_event_occured): Removed macro.Werner Koch3-111/+296
* w32-pth.c: Fixed license statement; its under the LGPL. (enter_pth, leave_pth): Use them to bracket almost all public functions.
2004-12-132004-12-13 Timo Schulz <[email protected]>Timo Schulz2-612/+693
* w32-pth.c (enter_pth, leave_pth): New. (pth_init): Initialize global mutex section. (pth_kill): Release global mutex section. (helper_thread): New. (pth_spawn): Make sure only one thread is running.
2004-12-13VArious hacks to make it at least build under W32.Werner Koch5-10/+52
* stringhelp.c (w32_strerror) [W32]: New. * w32-pth.c, w32-pth.h: Added real code written by Timo Schulz. Not finished, though. * gpgconf-comp.c <ignore-ocsp-service-url>: Fixed typo.
2004-12-13Added real code written by Timo Schulz.Werner Koch3-7/+1270
Not finished, though.
2004-12-07* asshelp.c (send_pinentry_environment) [W32]: Do not use ttyname.Werner Koch4-4/+52
* w32-pth.c, w32-pth.h: New. * Makefile.am (gpgsm_LDADD): Put libassuan before jnlib because under W32 we need the w32 pth code from jnlib. * misc.c (setup_pinentry_env) [W32]: Disabled.
2004-12-06* configure.ac (have_w32_system): New. Disable Pth checks for W32.Werner Koch1-0/+29
Link jnlib/w32-pth.h to pth.h. * Makefile.am (pkglib_PROGRAMS): Build only for W32. * keydb.c: Don't define DIRSEP_S here.
2004-12-02First take on a W32 portWerner Koch3-1/+11
2004-11-302004-11-30 Timo Schulz <[email protected]>Timo Schulz3-0/+167
* w32-afunix.c: New. AF_UNIX emulation for W32. * w32-afunix.h: Likewise.
2004-11-23* b64enc.c: Include stdio.h and string.hWerner Koch2-3/+16
* gpgsm.c: New option --prefer-system-dirmngr. * call-dirmngr.c (start_dirmngr): Implement this option. * gpgconf-comp.c <dirmngr>: Add the proxy options. <gpgsm>: Add --prefer-system-daemon.
2004-10-22* logging.c (do_logv): Use set_log_stream to setup a default.Werner Koch2-119/+193
(log_set_file): Factored code out to .. (set_file_fd): .. New function to allow using a file descriptor. (log_set_fd): Make use of new fucntion. (fun_writer): Reworked.
2004-08-18(print_sanitized_utf8_string): Actually implementWerner Koch2-2/+8
it.
2004-06-21(log_set_file): Do not close an old logstream if itWerner Koch2-6/+12
used to be stderr or stdout.
2004-05-05(log_set_file): Oops, don't close if LOGSTREAM is NULL.Werner Koch2-1/+5
2004-04-30* gpg-agent.c (parse_rereadable_options): New arg REREAD. AllowWerner Koch2-1/+13
changing oLogFile. (current_logfile): New. * logging.c (log_set_file): Make sure the log stream will be closed even if the stderr fileno will be assigned to a new socket.
2004-04-16* gpg-agent.c (main): Tell the logging code taht we are runnignWerner Koch3-25/+70
detached. * logging.h (JNLIB_LOG_WITH_PREFIX): Add constants for the flag values. * logging.c (log_set_prefix): New flag DETACHED. (fun_writer): Take care of this flag. (log_test_fd): New.
2004-02-18(print_sanitized_buffer): Don't care aboutWerner Koch2-5/+9
non-ASCII characaters. (sanitize_buffer): Ditto.