pinentry.git
4 years agoRelease 0.9.0 pinentry-0.9.0
Werner Koch [Sun, 26 Oct 2014 11:19:05 +0000 (12:19 +0100)]
Release 0.9.0

4 years agogtk: Aboid segv for opaste keys.
Werner Koch [Sun, 26 Oct 2014 11:18:45 +0000 (12:18 +0100)]
gtk: Aboid segv for opaste keys.

* gtk+-2/gtksecentry.c (gtk_secure_entry_class_init): Disable paste
key bindings.

4 years agoRemove support form QT3 and GTK+-1.
Werner Koch [Fri, 24 Oct 2014 14:20:20 +0000 (16:20 +0200)]
Remove support form QT3 and GTK+-1.

* configure.ac: Remove old qt and gtk+-1 support.
* Makefile.am: Ditto.

4 years agoCheck if we are on tty before initializing curses.
Stanislav Ochotnicky [Fri, 14 Feb 2014 11:58:38 +0000 (12:58 +0100)]
Check if we are on tty before initializing curses.

* pinentry/pinentry-curses.c (dialog_run): Check stant stdin and stout
are connected to ttys.

--

When we did not have a ttyname we just used stdin/out without checking
if it's a proper TTY or a pipe. In some cases this can cause endless
loop or escape seqeunces on the terminal.

This commit changes behaviour so that if stdin/out is not tty and no
ttyname is specified we error-out with errno set to ENOTTY

4 years agogtk: Allow pasting using the mouse.
Werner Koch [Fri, 24 Oct 2014 14:20:20 +0000 (16:20 +0200)]
gtk: Allow pasting using the mouse.

* gtk+-2/gtksecentry.h (_GtkSecureEntry): Add fields insert_pos,
real_changed, cand change_count.
(_GtkSecureEntryClass): Add field paste_clipboard.
* gtk+-2/gtksecentry.c (PASTE_CLIPBOARD): New.
(gtk_secure_entry_class_init): Set paste_clipboard and create
paste-clipboard signal.
(gtk_secure_entry_button_press): Call gtk_secure_entry_pase.
(begin_change, end_change, emit_changed): New.
(gtk_secure_entry_real_insert_text): Use emit_changed.
(gtk_secure_entry_real_delete_text): Ditto.
(paste_received, gtk_secure_entry_paste)
(gtk_secure_entry_paste_clipboard): New.
--

The new code as been taken from gtk 2.20.1.

I have not figured out why the keybindings for C-v and s-Insert do not
work.

4 years agogtk+-2: Make current focus visible again.
Werner Koch [Fri, 24 Oct 2014 14:10:15 +0000 (16:10 +0200)]
gtk+-2: Make current focus visible again.

* gtk+-2/pinentry-gtk-2.c (grab_keyboard): Return false
(ungrab_keyboard): Ditto.
--

Probably due to a change in GTK+ the grab handler now need to return a
flag wether to call the other event handler.  Without that the focus
was not visible.

4 years agogtk+-2: Implement the SETREPEAT command.
Werner Koch [Fri, 24 Oct 2014 14:11:59 +0000 (16:11 +0200)]
gtk+-2: Implement the SETREPEAT command.

* gtk+-2/pinentry-gtk-2.c (repeat_entry, error_label): New.
(button_clicked): Implement repeat check.
(changed_text_handler): Clear repeat field.
(create_window): Add repeat entry.

4 years agoAdd commands to allow implementing a "repeat passphrase" field.
Werner Koch [Fri, 24 Oct 2014 14:20:20 +0000 (16:20 +0200)]
Add commands to allow implementing a "repeat passphrase" field.

* pinentry/pinentry.c (cmd_setrepeat): New.
(cmd_setrepeaterror): New.
(register_commands): Add new commands.
(cmd_getpin): Print "PIN_REPEATED" status.

4 years agoPost release updates.
Werner Koch [Thu, 18 Sep 2014 08:36:59 +0000 (10:36 +0200)]
Post release updates.

--

4 years agoRelease 0.8.4. pinentry-0.8.4
Werner Koch [Thu, 18 Sep 2014 08:23:50 +0000 (10:23 +0200)]
Release 0.8.4.

4 years agoAdd missing build support files and move them to build-aux.
Werner Koch [Thu, 18 Sep 2014 08:22:34 +0000 (10:22 +0200)]
Add missing build support files and move them to build-aux.

4 years agoUse generic autogen.sh script.
Werner Koch [Thu, 18 Sep 2014 08:21:19 +0000 (10:21 +0200)]
Use generic autogen.sh script.

* autogen.rc: New.
* autogen.sh: New.  Take from GnuPG.
* Makefile.am (EXTRA_DIST): Add autogen.rc.
(DISTCHECK_CONFIGURE_FLAGS): Disable qt4.

4 years agocommon: Fix compiler warning.
Werner Koch [Tue, 12 Aug 2014 08:32:56 +0000 (10:32 +0200)]
common: Fix compiler warning.

* pinentry/pinentry.c (pinentry_utf8_to_local): Use cast for iconv arg.
(pinentry_local_to_utf8): Ditto.
--

There are a couple of other warnings.  They still need to be fixed.

4 years agoNew pinentry-tty version for dumb terminals.
Werner Koch [Tue, 12 Aug 2014 08:36:30 +0000 (10:36 +0200)]
New pinentry-tty version for dumb terminals.

* Makefile.am: Add pinentry-tty.
* NEWS: Add news about pinentry-tty.
* README: Update.
* configure.ac: Add support for this pinentry.
* tty/Makefile.am: New.
* tty/pinentry-tty.c: New.
--

(Minor changes and re-indention by wk)

4 years agoCheck for MOC also if pinentry-qt is disabled
Andre Heinecke [Wed, 6 Aug 2014 14:09:55 +0000 (16:09 +0200)]
Check for MOC also if pinentry-qt is disabled

  * configure.ac: Call QT_PATH_MOC if pinentry_qt4 is not no.

--
  Previously the MOC lookup from m4/qt.m4 would only be called
  if pinentry-qt was at least maybe. The MOC variable defined by
  this macro is also used in pinentry-qt4 though.

4 years agoAdd fallbacks for SetForegroundWindow
Andre Heinecke [Wed, 6 Aug 2014 13:05:25 +0000 (15:05 +0200)]
Add fallbacks for SetForegroundWindow

    If that foreground window fails pinentry-qt now tries to
    attach to the current foreground process and then tries
    to set the foreground window again. If that fails it also
    calls ShowWindow as a last resort.

    * qt4/pinentrydialog.cpp (raiseWindow): Add fallbacks in
    case SetForegroundWindow fails.

4 years agoUse raiseWindow also for confirm dialogs
Andre Heinecke [Wed, 6 Aug 2014 13:01:54 +0000 (15:01 +0200)]
Use raiseWindow also for confirm dialogs

    This should fix the case that the dialog opened
    in the foreground but a warning / confirm dialog
    opened in the background.

    * qt4/pinentryconfirm.cpp, qt4/pinentryconfirm.h (showEvent):
    New overwrite base class method to call raiseWindow.
    * NEWS: Mention this.

4 years agoSet some accessibility information
Andre Heinecke [Wed, 30 Jul 2014 09:34:26 +0000 (11:34 +0200)]
Set some accessibility information

    * qt4/main.cpp (qt_cmd_handler): Build buttons with accessibile
    Description.
    * qt4/pinentrydialog.cpp (setDescription, setError, setOkText)
    (setCancelText, setQualityBar): Set an accessible description.
    * qt4/pinentryconfirm.cpp (PinentryConfirm): Set message
    box contents also as accessible values.
    * NEWS: Mention it and the copy/paste change from last year.

4 years agoUse #if 0 for the emacs indentation helper.
Werner Koch [Tue, 15 Apr 2014 14:40:48 +0000 (16:40 +0200)]
Use #if 0 for the emacs indentation helper.

--

5 years agoLower paste length limit to 300
Andre Heinecke [Mon, 15 Jul 2013 12:43:18 +0000 (12:43 +0000)]
Lower paste length limit to 300

    This should be more then enough and avoids possible problems
    with libassuan cmd line lenght or percent escaping etc.

    * qt4/qsecurelineedit.cpp (insert): Lower paste limit

5 years agoLimit paste length to 1023 characters
Andre Heinecke [Mon, 15 Jul 2013 10:48:15 +0000 (10:48 +0000)]
Limit paste length to 1023 characters

    * qt4/qsecurelineedit.cpp (insert): Check for a maximum
    length before allocation the secmem string.

5 years agoFix contextmenu support for pasting.
Andre Heinecke [Mon, 15 Jul 2013 09:43:54 +0000 (09:43 +0000)]
Fix contextmenu support for pasting.

    MOC ignores preprocessor definitions so we can not conditionally
    declare SLOTS. So we now move the ifdefs in the definition and
    always declare the SLOTS.

    * qt4/qsecurelinedit.cpp (cut, copy, paste): Do nothing if
    QT_NO_CLIPBOARD is defined.
    * qt4/qsecurelinedit.h: Always declare cut, copy and paste slots

5 years agoRemove check for RTL extensions
Andre Heinecke [Mon, 15 Jul 2013 08:59:51 +0000 (08:59 +0000)]
Remove check for RTL extensions

    Our code does nothing RTL specific there anyway. And the
    qt_use_rtl_extensions symbol has been removed.

    * qt4/qsecurelinedit.cpp: Remove check for RTL extensions.

5 years agoFix for commit fb38be9 to allow for "make distcheck".
Werner Koch [Fri, 12 Jul 2013 12:57:00 +0000 (14:57 +0200)]
Fix for commit fb38be9 to allow for "make distcheck".

* qt4/Makefile.am: Make correct use of BUILT_SOURCES.
--
This also remove some GNU make specific hacks.

5 years agoAdd pinentry-qt4-clipboard option
Andre Heinecke [Wed, 29 May 2013 17:38:18 +0000 (17:38 +0000)]
Add pinentry-qt4-clipboard option

    Enabling this option will make it possible to paste a
    passphrase into pinentry-qt4. This defeats the secmem
    mechanism but drastically increases usability for some
    users.

    * configure.ac: New option pinentry-qt4-clipboard.
    * qt4/qsecurelineedit.cpp, qt4/qsecurelineedit.h: Activate
    clipboard and context menu if PINENTRY_QT4_CLIPBOARD is defined.

5 years agoRemove qt4 moc files and add moc to buildsystem
Andre Heinecke [Wed, 29 May 2013 17:32:31 +0000 (17:32 +0000)]
Remove qt4 moc files and add moc to buildsystem

    This is neccessary to conditionally enable signals/slots
    at build time.

    * qt4/Makefile.am: Moc files automatically.
    * qt4/pinentryconfirm.moc, qt4/pinentrydialog.moc,
    qsecurelineedit.moc: Removed.

--
    While this removes the hard version requirement to Qt 4.8.2
    caused by the old generated files it breaks the possibillity
    to compile pinentry-qt and pinentry-qt4 in one go as the MOC
    variable is only set once either the qt4 variant or the qt3
    variant will be broken. At least there is a decent
    error message in that case.

5 years agoPost release version number updates.
Werner Koch [Fri, 26 Apr 2013 15:47:16 +0000 (17:47 +0200)]
Post release version number updates.

--

5 years agoRelease 0.8.3 pinentry-0.8.3
Werner Koch [Fri, 26 Apr 2013 13:09:59 +0000 (15:09 +0200)]
Release 0.8.3

5 years agoSwitch to i686-w64-mingw32 as default Windows toolchain.
Andre Heinecke [Fri, 26 Apr 2013 10:27:35 +0000 (12:27 +0200)]
Switch to i686-w64-mingw32 as default Windows toolchain.

* autogen.sh <build-w32>: Insert i686-w64-mingw32.
* configure.ac: Pretty print final info.

5 years agoFix declaration of lock_set_foreground_window for pinnetry-w32.
Andre Heinecke [Fri, 26 Apr 2013 10:17:52 +0000 (12:17 +0200)]
Fix declaration of lock_set_foreground_window for pinnetry-w32.

* w32/main.c (lock_set_foreground_window): Remove WINUSERAPI
qualifier.
--

WINUSERAPI is expanded to dllimport which is not what we want if we
load the symbol at runtime. This produces an error with mingw-w64
4.6.3-14+8

(backport from a gpg4win patch)

5 years agoFix ressource compilation of pinentry-w32
Andre Heinecke [Fri, 26 Apr 2013 10:06:02 +0000 (12:06 +0200)]
Fix ressource compilation of pinentry-w32

* w32/pinentry-w32.rc: Include windows.h
--

MSDN says that to use the Dialog Styles one should include windows.h
and this is also necessary with at least mingw-w64 4.6.3-14+8
otherwise there is a syntax error because the DS_* macros are not
defined

(backport from gpg4win patch)

5 years agoFix help output.
Thomas Gries [Tue, 26 Feb 2013 13:23:18 +0000 (14:23 +0100)]
Fix help output.

--

5 years agoCurses build fix for DOS'ish systems.
Ben Kibbey [Fri, 15 Feb 2013 11:40:01 +0000 (06:40 -0500)]
Curses build fix for DOS'ish systems.

5 years agoDocument the --timeout and SETTIMEOUT feature.
Ben Kibbey [Thu, 14 Feb 2013 02:31:24 +0000 (21:31 -0500)]
Document the --timeout and SETTIMEOUT feature.

5 years agoAdd timeout support to the Gtk+2 pinentry.
Ben Kibbey [Thu, 14 Feb 2013 02:14:23 +0000 (21:14 -0500)]
Add timeout support to the Gtk+2 pinentry.

* gtk+-2/pinentry-gtk-2.c (create_window): Add timer.
(timeout_cb): New.

5 years agoAdd timeout support to the curses pinentry.
Ben Kibbey [Thu, 14 Feb 2013 00:45:24 +0000 (19:45 -0500)]
Add timeout support to the curses pinentry.

* pinentry/pinentry-curses.c (dialog_run): Set the window input to
non-blocking.
(catchsig): New.
(main): Catch SIGALRM and set the timeout.

5 years agoFix initializing the timeout timer.
Ben Kibbey [Sat, 5 Jan 2013 23:27:11 +0000 (18:27 -0500)]
Fix initializing the timeout timer.

When timeout == 0 a segfault would occur.

6 years agoPost release version number bump
Werner Koch [Wed, 8 Aug 2012 14:22:50 +0000 (16:22 +0200)]
Post release version number bump

--

6 years agoRelease 0.8.2. pinentry-0.8.2
Werner Koch [Wed, 8 Aug 2012 14:17:57 +0000 (16:17 +0200)]
Release 0.8.2.

6 years agoDistribute only bzip2 tarballs
Werner Koch [Wed, 8 Aug 2012 14:13:57 +0000 (16:13 +0200)]
Distribute only bzip2 tarballs

* Makefile.am (AUTOMAKE_OPTIONS): New.

6 years agoqt4: Update all moc files to Qt version 4.8.2
Werner Koch [Wed, 8 Aug 2012 14:12:49 +0000 (16:12 +0200)]
qt4: Update all moc files to Qt version 4.8.2

6 years agoUpdate config.guess and config.sub
Werner Koch [Wed, 8 Aug 2012 13:50:47 +0000 (15:50 +0200)]
Update config.guess and config.sub

* config.guess, config.sub: Update to version 2012-07-31 from gnulib.

6 years agoChange build system to auto-generate the ChangeLog
Werner Koch [Wed, 8 Aug 2012 13:45:16 +0000 (15:45 +0200)]
Change build system to auto-generate the ChangeLog

* build-aux/gitlog-to-changelog: New script.  Taken from GnuPG.
* build-aux/git-log-fix: New file.
* build-aux/git-log-footer: New file.
* doc/HACKING: Describe the ChangeLog policy
* ChangeLog: New file.
* Makefile.am (EXTRA_DIST): Add new files.
(gen-ChangeLog): New.
(dist-hook): Run gen-ChangeLog.

Rename existing ChangeLog files to ChangeLog-old.

6 years agoSwitch to an automagic beta numbering scheme
Werner Koch [Wed, 8 Aug 2012 13:09:24 +0000 (15:09 +0200)]
Switch to an automagic beta numbering scheme

* configure.ac: Add all the required m4 magic.
--

See the notes in configure.ac and how to do a non-beta release.

7 years agoFix autoconf/m4 stuff.
Werner Koch [Wed, 10 Aug 2011 13:07:07 +0000 (15:07 +0200)]
Fix autoconf/m4 stuff.

Also add a gitignore file.

7 years agoAdd wide-char support to pinentry-curses.
Daiki Ueno [Wed, 10 Aug 2011 03:50:43 +0000 (12:50 +0900)]
Add wide-char support to pinentry-curses.

7 years agoGet rid of the runtime warning about "editing-canceled".
Werner Koch [Tue, 28 Jun 2011 17:22:56 +0000 (19:22 +0200)]
Get rid of the runtime warning about "editing-canceled".

Actually this property is only used by GtkTreeView which we don't use.
However newer gtk versions require this to be a property and thus we
implement it as a dummy.

7 years agoPinentry timeout support.
Ben Kibbey [Sun, 26 Jun 2011 19:56:11 +0000 (15:56 -0400)]
Pinentry timeout support.

This adds a new pinentry command SETTIMEOUT and pinentry command line
option --timeout to set the number of seconds until the pinentry dialog
closes itself (default is 60 seconds). Only the qt4 program has been
modified to make use of it.

The timer is cancelled when user input is detected. For confirmation
dialog boxes with a Cancel button, the button press is emulated after the
timer expires. For a confirmation box without a Cancel button, nothing
happens.

7 years agoAppend a git commit id.
Werner Koch [Mon, 3 Jan 2011 16:44:07 +0000 (17:44 +0100)]
Append a git commit id.

7 years agoPrepare 0.8.1 release pinentry-0.8.1
Werner Koch [Thu, 16 Dec 2010 16:59:30 +0000 (16:59 +0000)]
Prepare 0.8.1 release

8 years agoDetect --display=FOO in addition to --display FOO.
Werner Koch [Tue, 19 Oct 2010 16:46:56 +0000 (16:46 +0000)]
Detect --display=FOO in addition to --display FOO.

8 years agoAdd default-cacnel and default-ok to pinentry-qt(3)
Werner Koch [Tue, 12 Oct 2010 15:58:19 +0000 (15:58 +0000)]
Add default-cacnel and default-ok to pinentry-qt(3)

8 years agoReturn a bit of button info.
Werner Koch [Thu, 30 Sep 2010 15:17:08 +0000 (15:17 +0000)]
Return a bit of button info.

8 years agoMake default-cacnel and default-ok work for GTK2
Werner Koch [Wed, 22 Sep 2010 11:30:06 +0000 (11:30 +0000)]
Make default-cacnel and default-ok work for GTK2

8 years agoAdd missing file to the Makefile.am
Werner Koch [Thu, 19 Aug 2010 14:44:31 +0000 (14:44 +0000)]
Add missing file to the Makefile.am

8 years agoPrepare for a gpg-error change
Werner Koch [Thu, 19 Aug 2010 13:28:49 +0000 (13:28 +0000)]
Prepare for a gpg-error change

8 years agoAdd StaysOnTopHint.
Werner Koch [Tue, 8 Jun 2010 15:40:49 +0000 (15:40 +0000)]
Add StaysOnTopHint.

8 years agoAdd required header
Werner Koch [Wed, 12 May 2010 17:13:29 +0000 (17:13 +0000)]
Add required header

8 years agoMake -DSEAL safe. Fixes bug#1224
Werner Koch [Wed, 12 May 2010 17:13:10 +0000 (17:13 +0000)]
Make -DSEAL safe.  Fixes bug#1224

8 years agoFix bug#1162. This finally allows me to use the pinentry on my kfreebsd laptop witho...
Werner Koch [Fri, 7 May 2010 17:26:10 +0000 (17:26 +0000)]
Fix bug#1162.  This finally allows me to use the pinentry on my kfreebsd laptop without fearing it pops up below other windows and grabs the keyboard.

8 years agoMapNotify fix
Werner Koch [Fri, 7 May 2010 08:51:07 +0000 (08:51 +0000)]
MapNotify fix

8 years agoDo not use g_error but return cancel.
Werner Koch [Mon, 26 Apr 2010 17:37:27 +0000 (17:37 +0000)]
Do not use g_error but return cancel.

8 years ago2010-04-20 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 20 Apr 2010 14:37:05 +0000 (14:37 +0000)]
2010-04-20  Marcus Brinkmann  <marcus@g10code.de>

* pinentry/pinentry.c: Move include config.h to top!

8 years agoFix segv when using -g.
Werner Koch [Mon, 19 Apr 2010 13:01:15 +0000 (13:01 +0000)]
Fix segv when using -g.

8 years ago2010-04-16 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 16 Apr 2010 02:11:33 +0000 (02:11 +0000)]
2010-04-16  Marcus Brinkmann  <marcus@g10code.de>

* secmem/util.c: Fix inverted test.

8 years agoAdd pkg.m4
Werner Koch [Wed, 14 Apr 2010 18:55:11 +0000 (18:55 +0000)]
Add pkg.m4

8 years agoUpdated
Werner Koch [Wed, 14 Apr 2010 14:34:39 +0000 (14:34 +0000)]
Updated

8 years agoThe minimal W32 pinnetry may now be used for W32.
Werner Koch [Wed, 14 Apr 2010 11:28:54 +0000 (11:28 +0000)]
The minimal W32 pinnetry may now be used for W32.

8 years agoPrepare a release. pinentry-0.8.0
Werner Koch [Wed, 3 Mar 2010 14:08:21 +0000 (14:08 +0000)]
Prepare a release.

8 years agoinvalid utf8 workaround
Werner Koch [Tue, 2 Mar 2010 12:27:43 +0000 (12:27 +0000)]
invalid utf8 workaround

8 years agoApplied MArc's payches.
Werner Koch [Fri, 19 Feb 2010 15:07:24 +0000 (15:07 +0000)]
Applied MArc's payches.
The QT2 Version does ow uild on GNU.

8 years agoDo not remove a gettext marker prefix.
Werner Koch [Fri, 19 Feb 2010 12:18:30 +0000 (12:18 +0000)]
Do not remove a gettext marker prefix.

8 years agoImplement a default-prompt option.
Werner Koch [Fri, 19 Feb 2010 12:14:23 +0000 (12:14 +0000)]
Implement a default-prompt option.

8 years agoProvide default strings for ok and cancel in case a GUI wants it.
Werner Koch [Wed, 17 Feb 2010 18:58:39 +0000 (18:58 +0000)]
Provide default strings for ok and cancel in case a GUI wants it.

8 years agoOoops forgot these changes.
Werner Koch [Tue, 16 Feb 2010 19:05:59 +0000 (19:05 +0000)]
Ooops forgot these changes.

8 years agoApplied patches to the qt4 versions.
Werner Koch [Tue, 16 Feb 2010 18:58:19 +0000 (18:58 +0000)]
Applied patches to the qt4 versions.
Note: It does not build.

8 years ago2009-12-16 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Wed, 16 Dec 2009 17:21:59 +0000 (17:21 +0000)]
2009-12-16  Marcus Brinkmann  <marcus@g10code.de>

* gtk+-2/gtksecentry.c: Don't translate properties.
Patch by Guido Guenther <agx@sigxcpu.org>.

8 years agoTwo portability fixes by Wyllys Ingersoll.
Werner Koch [Wed, 2 Dec 2009 09:36:40 +0000 (09:36 +0000)]
Two portability fixes by Wyllys Ingersoll.

9 years ago2009-08-10 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 10 Aug 2009 15:27:56 +0000 (15:27 +0000)]
2009-08-10  Marcus Brinkmann  <marcus@g10code.de>

* pinentry/pinentry.c [!ENABLE_ENHANCED]: Remove option enhanced.
* pinentry/pinentry.h (struct pinentry) [!ENABLE_ENHANCED]: Remove
member enhanced.
* gtk+-2/pinentry-gtk-2.c: New macro.
(button_clicked, create_window) [!ENABLE_ENHANCED]: Disable code.
* gtk/pinentry-gtk.c (button_clicked, create_window): Likewise.
* doc/pinentry.texi (Using pinentry): Comment out enhanced option.

9 years ago2009-07-10 Till Adam <till@kdab.com>
Marcus Brinkmann [Mon, 13 Jul 2009 14:43:48 +0000 (14:43 +0000)]
2009-07-10  Till Adam  <till@kdab.com>

* qt4/pinentrydialog.cpp (PinEntryDialog): Redesign the dialog to
be prettier.

9 years ago2009-06-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 19 Jun 2009 07:39:10 +0000 (07:39 +0000)]
2009-06-19  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac: Post-release changes.

9 years ago2009-06-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 19 Jun 2009 02:02:51 +0000 (02:02 +0000)]
2009-06-19  Marcus Brinkmann  <marcus@g10code.de>

Release version 0.7.6.

* configure.ac: Bump version.

9 years ago2009-01-29 Bernhard Reiter <bernhard@intevation.de>
Marcus Brinkmann [Fri, 19 Jun 2009 01:29:55 +0000 (01:29 +0000)]
2009-01-29  Bernhard Reiter  <bernhard@intevation.de>

* doc/pinentry.texi (Using pinentry): Fix typo.

9 years ago2009-04-24 Guido Guenther <agx@sigxcpu.org>
Marcus Brinkmann [Fri, 19 Jun 2009 01:25:45 +0000 (01:25 +0000)]
2009-04-24  Guido Guenther <agx@sigxcpu.org>

* gtk+-2/gtksecentry.c (gtk_secure_entry_class_init): Don't
install "gtk-entry-select-on-focus" settings property since it
clashes with the one from GtkEntry.
(gtk_secure_entry_grab_focus): Create a temporary GtkEntry widget
to read that value instead. Allows to have GtkEntry and
GtkSecureEntry in the same process.

9 years ago2009-06-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 19 Jun 2009 00:09:52 +0000 (00:09 +0000)]
2009-06-19  Marcus Brinkmann  <marcus@g10code.de>

Suggested by Simon McVittie:
* gtk+-2/gtksecentry.c (g_malloc, g_realloc, g_free): Renamed to
secentry_malloc, secentry_realloc.
(g_malloc0): Removed.
(GMALLOC_SIZE): Move to ...
* gtk+-2/gtksecentry.h (GMALLOC_SIZE): ... here.
(secentry_malloc, secentry_realloc, secentry_free): New prototypes.
* gtk+-2/pinentry-gtk-2.c (main): Set memory allocation vtable.

9 years ago2009-05-04 Till Adam <till@kdab.net>
Marcus Brinkmann [Mon, 4 May 2009 14:06:30 +0000 (14:06 +0000)]
2009-05-04  Till Adam <till@kdab.net>

* qt4/main.cpp (qt_cmd_handler): Use WId instead of HWND.

9 years ago2009-04-14 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Tue, 14 Apr 2009 19:27:15 +0000 (19:27 +0000)]
2009-04-14  Marcus Brinkmann  <marcus@g10code.de>

* pinentry/pinentry.h (struct pinentry): New member NOTOK.
Rename member USER_CLOSED to CANCELED.
* pinentry/pinentry.c: Add initializer for NOTOK.
(register_commands): Add SETNOTOK.
* pinentry/pinentry-curses.c (STRING_NOTOK): New macro.
(dialog_pos_t): New value DIALOG_POS_NOTOK.
(struct dialog): New members notok, notok_x, notok_y.
(dialog_create): Implement NOTOK.
(dialog_switch_pos): Likewise.
(dialog_run): Likewise.
* gtk+-2/pinentry-gtk-2.c: Rename confirm_yes to confirm_value.
(confirm_value_t): New type.  Use it for confirm_value.
(window_closed): Remove.
(confirm_button_clicked): Set confirm_value.
(create_window): Implement NOTOK.
(gtk_cmd_handler): Implement cancel behaviour a bit differently.

9 years ago2009-04-09 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 9 Apr 2009 13:42:29 +0000 (13:42 +0000)]
2009-04-09  Marcus Brinkmann  <marcus@g10code.de>

* qt4/qsecurelineedit.h (QSecureLineEdit): Don't export.

9 years ago2009-04-06 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Mon, 6 Apr 2009 12:04:58 +0000 (12:04 +0000)]
2009-04-06  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac: Portability fixes.

9 years ago2009-04-03 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 3 Apr 2009 15:42:49 +0000 (15:42 +0000)]
2009-04-03  Marcus Brinkmann  <marcus@g10code.de>

* qt4/Makefile.am (pinentry_qt4_SOURCES): Add qsecurelineedit_p.h.

9 years ago2009-04-03 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 3 Apr 2009 15:37:16 +0000 (15:37 +0000)]
2009-04-03  Marcus Brinkmann  <marcus@g10code.de>

* secmem/Makefile.am (libsecmem_a_SOURCES): Add secmem++.h.

9 years ago2009-04-03 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 3 Apr 2009 15:35:41 +0000 (15:35 +0000)]
2009-04-03  Marcus Brinkmann  <marcus@g10code.de>

* qt4/Makefile.am (pinentry_qt4_SOURCES): Add pinentrydialog.moc
and qsecurelineedit.moc.

9 years agoFix cut&paste error, doh!
Marcus Brinkmann [Fri, 3 Apr 2009 15:21:35 +0000 (15:21 +0000)]
Fix cut&paste error, doh!

9 years ago2009-04-03 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 3 Apr 2009 15:19:33 +0000 (15:19 +0000)]
2009-04-03  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac: Incorporate revision number in version string.

9 years ago2009-04-02 Till Adam <till@kdab.net>
Marcus Brinkmann [Fri, 3 Apr 2009 15:10:22 +0000 (15:10 +0000)]
2009-04-02  Till Adam <till@kdab.net>

* qt4/qsecurelineedit.moc, qt4/main.cpp, qt4/pinentrydialog.moc,
qt4/qsecurelineedit.cpp, qt4/pinentrydialog.cpp,
qt4/pinentrydialog.h: Implement quality bar and grabbing.

* qt4/pinentrydialog.cpp (PinEntryDialog): Enable word wrapping.

9 years ago2009-04-03 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 3 Apr 2009 15:05:37 +0000 (15:05 +0000)]
2009-04-03  Marcus Brinkmann  <marcus@g10code.de>

* qt4/main.cpp (qt_cmd_handler): Cast window handle ID.

9 years agoReturn GPG_ERR_CANCELED if during a "CONFIRM" command the user
Werner Koch [Thu, 19 Mar 2009 09:48:11 +0000 (09:48 +0000)]
Return GPG_ERR_CANCELED if during a "CONFIRM" command the user
closed the window.
Only Gtk+-2 for now.

9 years ago2009-02-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Fri, 20 Feb 2009 15:41:11 +0000 (15:41 +0000)]
2009-02-19  Marcus Brinkmann  <marcus@g10code.de>

* secmem/secmem++.h: New file.

9 years ago2009-02-19 Marcus Brinkmann <marcus@g10code.de>
Marcus Brinkmann [Thu, 19 Feb 2009 16:18:41 +0000 (16:18 +0000)]
2009-02-19  Marcus Brinkmann  <marcus@g10code.de>

* qt4/Makefile.am, qt4/main.cpp, qt4/pinentrydialog.cpp,
qt4/pinentrydialog.h: Changes to use secure memory.
* qt4/pinentrydialog.moc, qt4/qsecurelineedit.moc: New files.
* qt4/qsecurelineedit.cpp, qt4/qsecurelineedit.h,
qt4/qsecurelineedit_p.h, qt4/secstring.h, qt4/secstring.cpp: New
files.
Submitted by Marc Mutz <marc@kdab.net>.

9 years agoFix utf-8 problem.
Werner Koch [Mon, 8 Dec 2008 16:45:52 +0000 (16:45 +0000)]
Fix utf-8 problem.