1. 09 Nov, 2002 1 commit
  2. 08 Nov, 2002 1 commit
  3. 05 Nov, 2002 1 commit
    • Werner Koch's avatar
      * secmem/util.c (init_uids): Make it a prototype. · a50064e7
      Werner Koch authored
      * gtk/pinentry-gtk.c (enter_callback): Changed argument name to
      avoid shadowing warning.
      (create_window): Removed unused variable I.
      (ok): Not used, commented.
      
      * pinentry/pinentry.c: Include headers for getpid and sleep
      prototypes.
      
      * secmem/util.h: Correctly declare functions taking no args.
      
      * gtk/pinentry-gtk.c: Move gtk headers to the top to avoid
      compiler warnings about shadowing index etc.
      
      * curses/pinentry-curses.c: Include stdio.h for the printf prototype.
      
      * pinentry/pinentry-curses.c (dialog_switch_pos): Return a value.
      
      * pinentry/pinentry.c (pinentry_have_display): New.
      (pinentry_setbufferlen): Must return a value. Fixed documentation.
      (usage): Print a question mark as a substitue for the program name.
      
      * gtk/pinentry-gtk.c (main): use it here instead of getenv().
      * qt/main.cpp (main): Ditto.
      a50064e7
  4. 11 Oct, 2002 2 commits
  5. 30 Sep, 2002 3 commits
  6. 19 Aug, 2002 1 commit
  7. 11 Aug, 2002 1 commit
  8. 27 Jul, 2002 2 commits
  9. 04 Jul, 2002 1 commit
  10. 26 Jun, 2002 1 commit
  11. 14 Jun, 2002 2 commits
  12. 22 May, 2002 1 commit
  13. 13 May, 2002 2 commits
  14. 10 May, 2002 1 commit
  15. 09 May, 2002 4 commits
    • Steffen Hansen's avatar
      Fall back to curses if DISPLAY is not set · 1222dfb0
      Steffen Hansen authored
      1222dfb0
    • Steffen Hansen's avatar
    • Marcus Brinkmann's avatar
      Really add these files. · 9c1d82ab
      Marcus Brinkmann authored
      9c1d82ab
    • Marcus Brinkmann's avatar
      2002-05-09 Marcus Brinkmann <marcus@g10code.de> · e2ac3576
      Marcus Brinkmann authored
      	* configure.ac: Add option --enable-fallback-curses and bind it to
      	the ncurses check.  Add automake conditional
      	BUILD_LIBPINENTRY_CURSES and FALLBACK_CURSES. Add preprocessor
      	symbol FALLBACK_CURSES.
      
      	* curses/Makefile.am (AM_CPPFLAGS): Add $(NCURSES_INCLUDE).
      	(LDADD): Add ../pinentry/libpinentry-curses.a.
      	* curses/pinentry-curses.c: Include "pinentry-curses.h".
      	Moved most of the meat to ...
      	* pinentry/pinentry-curses.c: ... here.  New file.  Make all
      	functions and global variables static.
      	(dialog_cmd_handler): Rename to ...
      	(curses_cmd_handler): ... this.
      	* pinentry/pinentry-curses.h: New file.
      	* pinentry/Makefile.am (noinst_LIBRARIES)
      	[BUILD_LIBPINENTRY_CURSES]: Add libpinentry-curses.a.
      	(libpinentry_curses_a_SOURCES): New target.
      
      	* gtk/Makefile.am (INCLUDES): Moved all to ...
      	(AM_CPPFLAGS): ... here.
      	[CURSES_FALLBACK]: Define ncurses_include and libcurses.
      	(AM_CPPFLAGS): Add $(ncurses_include).
      	(LDADD): Add $(libcurses).
      	* gtk/pinentry-gtk.c: Rename TIMEOUT to TIME_OUT to avoid conflict
      	with curses.h.
      	[CURSES_FALLBACK]: Include "pinentry-curses.h".
      	(button_clicked): Likewise.
      	(create_window): Likewise.
      	(cmd_handler): Renamed to ...
      	(gtk_cmd_handler): ... this.
      	(pinentry_cmd_handler): Set to gtk_cmd_handler.
      	(main) [CURSES_FALLBACK]: Initialize GTK+ only if environment
      	variable DISPLAY is set, otherwise fall back to curses dialog.
      
      	* pinentry/pinentry.h: Protect against multiple inclusion.
      e2ac3576
  16. 07 May, 2002 1 commit
  17. 26 Apr, 2002 1 commit
  18. 25 Apr, 2002 2 commits
  19. 24 Apr, 2002 10 commits
  20. 23 Apr, 2002 2 commits
    • Marcus Brinkmann's avatar
      Add some items. · e7503b67
      Marcus Brinkmann authored
      e7503b67
    • Marcus Brinkmann's avatar
      2002-04-23 Marcus Brinkmann <marcus@g10code.de> · 55b58c81
      Marcus Brinkmann authored
      	* pinentry/pinentry.h (struct pinentry): New variables lc_ctype
      	and lc_messages.
      	* pinentry/pinentry.c (usage): New options --lc-ctype and
      	--lc-messages.
      	(pinentry_parse_opts): Likewise.
      	(option_handler): Likewise.
      	(struct pinentry pinentry): New initializers for new members.
      
      	* curses/pinentry-curses.c (convert_utf8_string): New function.
      	(struct dialog): New members ok and cancel.
      	(dialog_create): New variables ERR, DESCRIPTION, ERROR, PROMPT,
      	OK, and CANCEL.  Initialize them with the localised versions of
      	the pinentry strings.  If in confirm mode, split up the prompt at
      	'|' and use the values as button texts.  Use localised strings.
      	(dialog_switch_pos): Use localised strings.
      	(dialog_run): Free dialog strings.
      
      	* acinclude.m4 (AM_ICONV): New check from gettext.
      	* configure.ac: Run AM_ICONV if curses pinentry is build.
      	Don't check for inttypes.h, don't check size of unsigned int or
      	unsigned long.
      	(LIBCAP): Move check to interface independent part.
      55b58c81