1. 18 Sep, 2014 3 commits
  2. 12 Aug, 2014 2 commits
    • Werner Koch's avatar
      common: Fix compiler warning. · 88859160
      Werner Koch authored
      * 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.
      88859160
    • Werner Koch's avatar
      New pinentry-tty version for dumb terminals. · 12369b15
      Werner Koch authored
      * 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)
      12369b15
  3. 06 Aug, 2014 3 commits
    • Andre Heinecke's avatar
      Check for MOC also if pinentry-qt is disabled · 52cf95c4
      Andre Heinecke authored
        * 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.
      52cf95c4
    • Andre Heinecke's avatar
      Add fallbacks for SetForegroundWindow · f4d14ffc
      Andre Heinecke authored
          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.
      f4d14ffc
    • Andre Heinecke's avatar
      Use raiseWindow also for confirm dialogs · 47476d2f
      Andre Heinecke authored
          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.
      47476d2f
  4. 30 Jul, 2014 1 commit
    • Andre Heinecke's avatar
      Set some accessibility information · 41d04602
      Andre Heinecke authored
          * 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.
      41d04602
  5. 15 Apr, 2014 1 commit
  6. 15 Jul, 2013 4 commits
    • Andre Heinecke's avatar
      Lower paste length limit to 300 · 556d305b
      Andre Heinecke authored
          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
      556d305b
    • Andre Heinecke's avatar
      Limit paste length to 1023 characters · 9b154c9f
      Andre Heinecke authored
          * qt4/qsecurelineedit.cpp (insert): Check for a maximum
          length before allocation the secmem string.
      9b154c9f
    • Andre Heinecke's avatar
      Fix contextmenu support for pasting. · 4d56651d
      Andre Heinecke authored
          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
      4d56651d
    • Andre Heinecke's avatar
      Remove check for RTL extensions · d4feabe1
      Andre Heinecke authored
          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.
      d4feabe1
  7. 12 Jul, 2013 1 commit
  8. 29 May, 2013 2 commits
    • Andre Heinecke's avatar
      Add pinentry-qt4-clipboard option · 0b3a8568
      Andre Heinecke authored
          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.
      0b3a8568
    • Andre Heinecke's avatar
      Remove qt4 moc files and add moc to buildsystem · fb38be96
      Andre Heinecke authored
          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.
      fb38be96
  9. 26 Apr, 2013 5 commits
  10. 04 Mar, 2013 1 commit
  11. 16 Feb, 2013 1 commit
  12. 14 Feb, 2013 3 commits
  13. 05 Jan, 2013 1 commit
  14. 08 Aug, 2012 7 commits
  15. 10 Aug, 2011 2 commits
  16. 28 Jun, 2011 1 commit
  17. 27 Jun, 2011 1 commit
    • Ben Kibbey's avatar
      Pinentry timeout support. · 8f64210c
      Ben Kibbey authored
      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.
      8f64210c
  18. 03 Jan, 2011 1 commit