- 26 Oct, 2014 5 commits
-
-
Werner Koch authored
-
Werner Koch authored
* gtk+-2/gtksecentry.c (gtk_secure_entry_class_init): Disable paste key bindings.
-
Werner Koch authored
* configure.ac: Remove old qt and gtk+-1 support. * Makefile.am: Ditto.
-
Stanislav Ochotnicky authored
* 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
-
Werner Koch authored
* 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.
-
- 24 Oct, 2014 3 commits
-
-
Werner Koch authored
* 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.
-
Werner Koch authored
* 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.
-
Werner Koch authored
* pinentry/pinentry.c (cmd_setrepeat): New. (cmd_setrepeaterror): New. (register_commands): Add new commands. (cmd_getpin): Print "PIN_REPEATED" status.
-
- 18 Sep, 2014 4 commits
-
-
Werner Koch authored
--
-
Werner Koch authored
-
Werner Koch authored
-
Werner Koch authored
* autogen.rc: New. * autogen.sh: New. Take from GnuPG. * Makefile.am (EXTRA_DIST): Add autogen.rc. (DISTCHECK_CONFIGURE_FLAGS): Disable qt4.
-
- 12 Aug, 2014 2 commits
-
-
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.
-
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)
-
- 06 Aug, 2014 3 commits
-
-
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.
-
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. -
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.
-
- 30 Jul, 2014 1 commit
-
-
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.
-
- 15 Apr, 2014 1 commit
-
-
Werner Koch authored
--
-
- 15 Jul, 2013 4 commits
-
-
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 -
Andre Heinecke authored
* qt4/qsecurelineedit.cpp (insert): Check for a maximum length before allocation the secmem string. -
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 -
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.
-
- 12 Jul, 2013 1 commit
-
-
Werner Koch authored
* qt4/Makefile.am: Make correct use of BUILT_SOURCES. -- This also remove some GNU make specific hacks.
-
- 29 May, 2013 2 commits
-
-
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. -
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.
-
- 26 Apr, 2013 5 commits
-
-
Werner Koch authored
--
-
Werner Koch authored
-
Andre Heinecke authored
* autogen.sh <build-w32>: Insert i686-w64-mingw32. * configure.ac: Pretty print final info.
-
Andre Heinecke authored
* 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)
-
Andre Heinecke authored
* 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)
-
- 04 Mar, 2013 1 commit
-
-
Thomas Gries authored
--
-
- 16 Feb, 2013 1 commit
-
-
Ben Kibbey authored
-
- 14 Feb, 2013 3 commits
-
-
Ben Kibbey authored
-
Ben Kibbey authored
* gtk+-2/pinentry-gtk-2.c (create_window): Add timer. (timeout_cb): New.
-
Ben Kibbey authored
* pinentry/pinentry-curses.c (dialog_run): Set the window input to non-blocking. (catchsig): New. (main): Catch SIGALRM and set the timeout.
-
- 05 Jan, 2013 1 commit
-
-
Ben Kibbey authored
When timeout == 0 a segfault would occur.
-
- 08 Aug, 2012 3 commits
-
-
Werner Koch authored
--
-
Werner Koch authored
-
Werner Koch authored
* Makefile.am (AUTOMAKE_OPTIONS): New.
-