1. 13 May, 2002 1 commit
  2. 10 May, 2002 1 commit
  3. 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
  4. 07 May, 2002 1 commit
  5. 26 Apr, 2002 1 commit
  6. 25 Apr, 2002 2 commits
  7. 24 Apr, 2002 10 commits
  8. 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
  9. 21 Apr, 2002 1 commit
  10. 12 Apr, 2002 1 commit
  11. 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
  12. 05 Apr, 2002 3 commits
    • Steffen Hansen's avatar
    • Marcus Brinkmann's avatar
      2002-04-05 Marcus Brinkmann <marcus@g10code.de> · 01661f63
      Marcus Brinkmann authored
      	Released 0.6.0.
      
      	* configure.ac: Set version number to 0.6.
      	* NEWS: Add information for 0.6.0.
      	* secmem/Makefile.am (libsecmem_a_SOURCES): Replace secmem.h with memory.
      	* kde/Makefile.am (pinentry_kde_SOURCES): Move
      	pinentrydialog.moc.cpp and pinentrycontroller.moc.cpp to ...
      	(nodist_pinentry_kde_SOURCES): ... this new target.
      01661f63
    • Marcus Brinkmann's avatar
      2002-04-05 Marcus Brinkmann <marcus@g10code.de> · 961c1ecf
      Marcus Brinkmann authored
      	* acinclude.m4: A lot of new checks more or less straight from KDE's
      	admin/acinclude.m4.in.
      	* configure.ac (AC_CANONICAL_HOST): Call that macro.
      	(AC_CHECK_COMPILERS, AC_PATH_KDE): Call those macros if KDE
      	pinentry is enabled.
      	* kde/Makefile.am (CXXFLAGS, XXX_PREFIX, XXX_KDE_DEFINES, LIB_QT,
      	LIB_KDECORE, LIB_KDEUI, KDE_RPATH, MOC, kde_appsdir): Variables removed.
      	(AM_CPPFLAGS): Replace XXX_KDE_DEFINES by all_includes.
      	(pinentry_kde_LDFLAGS): Add all_libraries.
      	* README: Document that automatic check is not possible for KDE.
      961c1ecf
  13. 04 Apr, 2002 5 commits
  14. 29 Mar, 2002 4 commits