1. 30 Sep, 2002 2 commits
  2. 19 Aug, 2002 1 commit
  3. 11 Aug, 2002 1 commit
  4. 27 Jul, 2002 2 commits
  5. 04 Jul, 2002 1 commit
  6. 26 Jun, 2002 1 commit
  7. 14 Jun, 2002 2 commits
  8. 22 May, 2002 1 commit
  9. 13 May, 2002 2 commits
  10. 10 May, 2002 1 commit
  11. 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
  12. 07 May, 2002 1 commit
  13. 26 Apr, 2002 1 commit
  14. 25 Apr, 2002 2 commits
  15. 24 Apr, 2002 10 commits
  16. 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
  17. 21 Apr, 2002 1 commit
  18. 12 Apr, 2002 1 commit
  19. 06 Apr, 2002 4 commits
    • Marcus Brinkmann's avatar
      2002-04-06 Marcus Brinkmann <marcus@g10code.de> · 1e13a043
      Marcus Brinkmann authored
      	* qt: New directory.
      	* qt/Makefile.am, qt/cppmemory.cpp, qt/main.cpp,
      	pinentrycontroller.cpp, qt/pinentrycontroller.h,
      	qt/pinentrydialog.cpp, qt/pinentrydialog.h: New file, copied from
      	kde/.
      	* kde: Directory removed.
      	* kde/Makefile.am, kde/cppmemory.cpp, kde/main.cpp,
      	kde/pinentry.desktop, kde/pinentrycontroller.cpp,
      	kde/pinentrycontroller.h, kde/pinentrydialog.cpp,
      	kde/pinentrydialog.h: Files removed.
      	* acinclude.m4: Removed the KE checks and completely overhauled
      	the Qt checks, putting all Qt checks in their own namespace QT_,
      	and make it declare QT_-prefixed variables for linking and
      	compilation.
      	* configure.ac: Use the new Qt checks instead the KDE checks.
      	Replace "kde" with "qt" everywhere.
      	* Makefile.am: Replace "kde" with "qt" everywhere.
      1e13a043
    • Marcus Brinkmann's avatar
      2002-04-06 Marcus Brinkmann <marcus@g10code.de> · cc49c6f0
      Marcus Brinkmann authored
      	* acinclude.m4: Reworked the Qt and KDE checks, cutting out a lot
      	of dead and not-so-dead wood.  Gave all KDE checks proper names.
      	* configure.ac: Use the new names for the KDE checks.
      cc49c6f0
    • Marcus Brinkmann's avatar
      . · 25098fe3
      Marcus Brinkmann authored
      25098fe3
    • Marcus Brinkmann's avatar
      2002-04-06 Marcus Brinkmann <marcus@g10code.de> · c86301a6
      Marcus Brinkmann authored
      	* kde/Makefile.am (EXTRA_DIST): Remove variable.
      	(install-data-local): Remove target.
      	(uninstall-local): Likewise.
      c86301a6