Merge lp:~logan/ubuntu/trusty/pinentry/0.8.3-1ubuntu1 into lp:ubuntu/trusty/pinentry
- Trusty (14.04)
- 0.8.3-1ubuntu1
- Merge into trusty
Proposed by
Logan Rosen
Status: | Merged |
---|---|
Merged at revision: | 23 |
Proposed branch: | lp:~logan/ubuntu/trusty/pinentry/0.8.3-1ubuntu1 |
Merge into: | lp:ubuntu/trusty/pinentry |
Diff against target: |
31176 lines (+6881/-10790) 76 files modified
.pc/applied-patches (+0/-1) .pc/kubuntu_fix_stayontop.diff/qt4/pinentrydialog.cpp (+0/-306) ChangeLog (+80/-2156) ChangeLog-old (+2175/-0) Makefile.am (+35/-13) Makefile.in (+230/-87) Manifest (+0/-4) NEWS (+19/-1) README.GIT (+49/-0) README.SVN (+0/-51) VERSION (+1/-0) aclocal.m4 (+414/-205) assuan/ChangeLog (+0/-247) assuan/ChangeLog-old (+254/-0) assuan/Makefile.am (+3/-3) assuan/Makefile.in (+87/-31) assuan/Manifest (+0/-17) autogen.sh (+13/-13) build-aux/git-log-fix (+3/-0) build-aux/git-log-footer (+14/-0) build-aux/gitlog-to-changelog (+375/-0) config.guess (+208/-207) config.h.in (+6/-0) config.sub (+164/-71) configure (+1188/-799) configure.ac (+46/-37) curses/Makefile.in (+114/-42) debian/changelog (+15/-0) debian/control (+1/-1) debian/rules (+1/-1) debian/watch (+1/-1) doc/HACKING (+23/-0) doc/Makefile.am (+4/-2) doc/Makefile.in (+180/-86) doc/pinentry.info (+26/-15) doc/pinentry.texi (+13/-0) doc/stamp-vti (+4/-4) doc/version.texi (+4/-4) gtk+-2/Makefile.in (+114/-42) gtk+-2/gtksecentry.c (+41/-25) gtk+-2/pinentry-gtk-2.c (+29/-13) gtk/Makefile.in (+114/-42) m4/curses.m4 (+17/-3) pinentry/Makefile.am (+3/-3) pinentry/Makefile.in (+86/-30) pinentry/Manifest (+0/-6) pinentry/pinentry-curses.c (+172/-26) pinentry/pinentry.c (+17/-1) pinentry/pinentry.h (+3/-0) qt/Makefile.in (+114/-42) qt/secqinternal.cpp (+1/-1) qt/secqinternal_p.h (+1/-1) qt/secqlineedit.cpp (+1/-1) qt/secqlineedit.h (+1/-1) qt/secqstring.cpp (+1/-1) qt/secqstring.h (+1/-1) qt4/Makefile.am (+0/-48) qt4/Makefile.in (+0/-530) qt4/main.cpp (+0/-320) qt4/pinentryconfirm.cpp (+42/-0) qt4/pinentryconfirm.h (+41/-0) qt4/pinentryconfirm.moc (+94/-0) qt4/pinentrydialog.cpp (+0/-305) qt4/pinentrydialog.h (+0/-97) qt4/pinentrydialog.moc (+0/-112) qt4/qsecurelineedit.cpp (+0/-3591) qt4/qsecurelineedit.h (+0/-314) qt4/qsecurelineedit.moc (+0/-229) qt4/qsecurelineedit_p.h (+0/-256) qt4/secstring.cpp (+0/-104) qt4/secstring.h (+0/-40) secmem/Makefile.in (+82/-26) secmem/secmem++.h (+0/-91) w32/Makefile.in (+114/-42) w32/main.c (+36/-36) w32/pinentry-w32.rc (+6/-5) |
To merge this branch: | bzr merge lp:~logan/ubuntu/trusty/pinentry/0.8.3-1ubuntu1 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel Holbach (community) | Approve | ||
Review via email: mp+202981@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === removed file '.pc/applied-patches' | |||
2 | --- .pc/applied-patches 2011-07-30 22:32:23 +0000 | |||
3 | +++ .pc/applied-patches 1970-01-01 00:00:00 +0000 | |||
4 | @@ -1,1 +0,0 @@ | |||
5 | 1 | kubuntu_fix_stayontop.diff | ||
6 | 2 | 0 | ||
7 | === removed directory '.pc/kubuntu_fix_stayontop.diff' | |||
8 | === removed directory '.pc/kubuntu_fix_stayontop.diff/qt4' | |||
9 | === removed file '.pc/kubuntu_fix_stayontop.diff/qt4/pinentrydialog.cpp' | |||
10 | --- .pc/kubuntu_fix_stayontop.diff/qt4/pinentrydialog.cpp 2011-07-30 22:32:23 +0000 | |||
11 | +++ .pc/kubuntu_fix_stayontop.diff/qt4/pinentrydialog.cpp 1970-01-01 00:00:00 +0000 | |||
12 | @@ -1,306 +0,0 @@ | |||
13 | 1 | /* | ||
14 | 2 | pinentrydialog.cpp - A (not yet) secure Qt 4 dialog for PIN entry. | ||
15 | 3 | |||
16 | 4 | Copyright (C) 2002, 2008 Klarälvdalens Datakonsult AB (KDAB) | ||
17 | 5 | Copyright 2007 Ingo Klöcker | ||
18 | 6 | |||
19 | 7 | Written by Steffen Hansen <steffen@klaralvdalens-datakonsult.se>. | ||
20 | 8 | |||
21 | 9 | This program is free software; you can redistribute it and/or | ||
22 | 10 | modify it under the terms of the GNU General Public License as | ||
23 | 11 | published by the Free Software Foundation; either version 2 of the | ||
24 | 12 | License, or (at your option) any later version. | ||
25 | 13 | |||
26 | 14 | This program is distributed in the hope that it will be useful, but | ||
27 | 15 | WITHOUT ANY WARRANTY; without even the implied warranty of | ||
28 | 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
29 | 17 | General Public License for more details. | ||
30 | 18 | |||
31 | 19 | You should have received a copy of the GNU General Public License | ||
32 | 20 | along with this program; if not, write to the Free Software | ||
33 | 21 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||
34 | 22 | */ | ||
35 | 23 | |||
36 | 24 | #include "pinentrydialog.h" | ||
37 | 25 | #include <QGridLayout> | ||
38 | 26 | |||
39 | 27 | #include "qsecurelineedit.h" | ||
40 | 28 | |||
41 | 29 | #include <QProgressBar> | ||
42 | 30 | #include <QApplication> | ||
43 | 31 | #include <QStyle> | ||
44 | 32 | #include <QPainter> | ||
45 | 33 | #include <QPushButton> | ||
46 | 34 | #include <QDialogButtonBox> | ||
47 | 35 | #include <QKeyEvent> | ||
48 | 36 | #include <QLabel> | ||
49 | 37 | #include <QPalette> | ||
50 | 38 | |||
51 | 39 | #ifdef Q_WS_WIN | ||
52 | 40 | #include <windows.h> | ||
53 | 41 | #endif | ||
54 | 42 | |||
55 | 43 | /* I [wk] have no idea for what this code was supposed to do. | ||
56 | 44 | Foregrounding a window is heavily restricted by modern Windows | ||
57 | 45 | versions. This is the reason why gpg-agent employs its | ||
58 | 46 | AllowSetForegroundWindow callback machinery to ask the supposed to | ||
59 | 47 | be be calling process to allow a pinentry to go into the | ||
60 | 48 | foreground. */ | ||
61 | 49 | // #ifdef Q_WS_WIN | ||
62 | 50 | // void SetForegroundWindowEx( HWND hWnd ) | ||
63 | 51 | // { | ||
64 | 52 | // //Attach foreground window thread to our thread | ||
65 | 53 | // const DWORD ForeGroundID = GetWindowThreadProcessId(::GetForegroundWindow(),NULL); | ||
66 | 54 | // const DWORD CurrentID = GetCurrentThreadId(); | ||
67 | 55 | |||
68 | 56 | // AttachThreadInput ( ForeGroundID, CurrentID, TRUE ); | ||
69 | 57 | // //Do our stuff here | ||
70 | 58 | // HWND hLastActivePopupWnd = GetLastActivePopup( hWnd ); | ||
71 | 59 | // SetForegroundWindow( hLastActivePopupWnd ); | ||
72 | 60 | |||
73 | 61 | // //Detach the attached thread | ||
74 | 62 | // AttachThreadInput ( ForeGroundID, CurrentID, FALSE ); | ||
75 | 63 | // }// End SetForegroundWindowEx | ||
76 | 64 | // #endif | ||
77 | 65 | |||
78 | 66 | void raiseWindow( QWidget* w ) | ||
79 | 67 | { | ||
80 | 68 | #ifdef Q_WS_WIN | ||
81 | 69 | SetForegroundWindow( w->winId() ); | ||
82 | 70 | #endif | ||
83 | 71 | w->raise(); | ||
84 | 72 | w->activateWindow(); | ||
85 | 73 | } | ||
86 | 74 | |||
87 | 75 | QPixmap icon( QStyle::StandardPixmap which ) | ||
88 | 76 | { | ||
89 | 77 | QPixmap pm = qApp->windowIcon().pixmap( 48, 48 ); | ||
90 | 78 | |||
91 | 79 | if ( which != QStyle::SP_CustomBase ) { | ||
92 | 80 | const QIcon ic = qApp->style()->standardIcon( which ); | ||
93 | 81 | QPainter painter( &pm ); | ||
94 | 82 | const int emblemSize = 22; | ||
95 | 83 | painter.drawPixmap( pm.width()-emblemSize, 0, | ||
96 | 84 | ic.pixmap( emblemSize, emblemSize ) ); | ||
97 | 85 | } | ||
98 | 86 | |||
99 | 87 | return pm; | ||
100 | 88 | } | ||
101 | 89 | |||
102 | 90 | PinEntryDialog::PinEntryDialog( QWidget* parent, const char* name, bool modal, | ||
103 | 91 | bool enable_quality_bar ) | ||
104 | 92 | : QDialog( parent, Qt::WindowStaysOnTopHint ), _grabbed( false ) | ||
105 | 93 | { | ||
106 | 94 | setWindowFlags( windowFlags() & ~Qt::WindowContextHelpButtonHint ); | ||
107 | 95 | |||
108 | 96 | if ( modal ) { | ||
109 | 97 | setWindowModality( Qt::ApplicationModal ); | ||
110 | 98 | } | ||
111 | 99 | |||
112 | 100 | _icon = new QLabel( this ); | ||
113 | 101 | _icon->setPixmap( icon() ); | ||
114 | 102 | |||
115 | 103 | _error = new QLabel( this ); | ||
116 | 104 | _error->setWordWrap(true); | ||
117 | 105 | QPalette pal; | ||
118 | 106 | pal.setColor( QPalette::WindowText, Qt::red ); | ||
119 | 107 | _error->setPalette( pal ); | ||
120 | 108 | _error->hide(); | ||
121 | 109 | |||
122 | 110 | _desc = new QLabel( this ); | ||
123 | 111 | _desc->setWordWrap(true); | ||
124 | 112 | _desc->hide(); | ||
125 | 113 | |||
126 | 114 | _prompt = new QLabel( this ); | ||
127 | 115 | _prompt->hide(); | ||
128 | 116 | |||
129 | 117 | _edit = new QSecureLineEdit( this ); | ||
130 | 118 | _edit->setMaxLength( 256 ); | ||
131 | 119 | |||
132 | 120 | _prompt->setBuddy( _edit ); | ||
133 | 121 | |||
134 | 122 | if (enable_quality_bar) | ||
135 | 123 | { | ||
136 | 124 | _quality_bar_label = new QLabel( this ); | ||
137 | 125 | _quality_bar_label->setAlignment( Qt::AlignRight | Qt::AlignVCenter ); | ||
138 | 126 | _quality_bar = new QProgressBar( this ); | ||
139 | 127 | _quality_bar->setAlignment( Qt::AlignCenter ); | ||
140 | 128 | _have_quality_bar = true; | ||
141 | 129 | } | ||
142 | 130 | else | ||
143 | 131 | _have_quality_bar = false; | ||
144 | 132 | |||
145 | 133 | QDialogButtonBox* const buttons = new QDialogButtonBox( this ); | ||
146 | 134 | buttons->setStandardButtons( QDialogButtonBox::Ok | QDialogButtonBox::Cancel ); | ||
147 | 135 | _ok = buttons->button( QDialogButtonBox::Ok ); | ||
148 | 136 | _cancel = buttons->button( QDialogButtonBox::Cancel ); | ||
149 | 137 | |||
150 | 138 | _ok->setDefault(true); | ||
151 | 139 | |||
152 | 140 | if ( style()->styleHint( QStyle::SH_DialogButtonBox_ButtonsHaveIcons ) ) | ||
153 | 141 | { | ||
154 | 142 | _ok->setIcon( style()->standardIcon( QStyle::SP_DialogOkButton ) ); | ||
155 | 143 | _cancel->setIcon( style()->standardIcon( QStyle::SP_DialogCancelButton ) ); | ||
156 | 144 | } | ||
157 | 145 | |||
158 | 146 | connect( buttons, SIGNAL(accepted()), this, SLOT(accept()) ); | ||
159 | 147 | connect( buttons, SIGNAL(rejected()), this, SLOT(reject()) ); | ||
160 | 148 | connect( _edit, SIGNAL( textChanged(secqstring) ), | ||
161 | 149 | this, SLOT( updateQuality(secqstring) ) ); | ||
162 | 150 | |||
163 | 151 | _edit->setFocus(); | ||
164 | 152 | |||
165 | 153 | QGridLayout* const grid = new QGridLayout( this ); | ||
166 | 154 | grid->addWidget( _icon, 0, 0, 5, 1, Qt::AlignTop|Qt::AlignLeft ); | ||
167 | 155 | grid->addWidget( _error, 1, 1, 1, 2 ); | ||
168 | 156 | grid->addWidget( _desc, 2, 1, 1, 2 ); | ||
169 | 157 | //grid->addItem( new QSpacerItem( 0, _edit->height() / 10, QSizePolicy::Minimum, QSizePolicy::Fixed ), 1, 1 ); | ||
170 | 158 | grid->addWidget( _prompt, 3, 1 ); | ||
171 | 159 | grid->addWidget( _edit, 3, 2 ); | ||
172 | 160 | if( enable_quality_bar ) | ||
173 | 161 | { | ||
174 | 162 | grid->addWidget( _quality_bar_label, 4, 1 ); | ||
175 | 163 | grid->addWidget( _quality_bar, 4, 2 ); | ||
176 | 164 | } | ||
177 | 165 | grid->addWidget( buttons, 5, 0, 1, 3 ); | ||
178 | 166 | |||
179 | 167 | grid->setSizeConstraint( QLayout::SetFixedSize ); | ||
180 | 168 | } | ||
181 | 169 | |||
182 | 170 | void PinEntryDialog::hideEvent( QHideEvent* ev ) | ||
183 | 171 | { | ||
184 | 172 | if ( !_pinentry_info || _pinentry_info->grab ) | ||
185 | 173 | _edit->releaseKeyboard(); | ||
186 | 174 | _grabbed = false; | ||
187 | 175 | QDialog::hideEvent( ev ); | ||
188 | 176 | } | ||
189 | 177 | |||
190 | 178 | void PinEntryDialog::showEvent( QShowEvent* event ) | ||
191 | 179 | { | ||
192 | 180 | QDialog::showEvent( event ); | ||
193 | 181 | raiseWindow( this ); | ||
194 | 182 | } | ||
195 | 183 | |||
196 | 184 | void PinEntryDialog::setDescription( const QString& txt ) | ||
197 | 185 | { | ||
198 | 186 | _desc->setVisible( !txt.isEmpty() ); | ||
199 | 187 | _desc->setText( txt ); | ||
200 | 188 | _icon->setPixmap( icon() ); | ||
201 | 189 | setError( QString::null ); | ||
202 | 190 | } | ||
203 | 191 | |||
204 | 192 | QString PinEntryDialog::description() const | ||
205 | 193 | { | ||
206 | 194 | return _desc->text(); | ||
207 | 195 | } | ||
208 | 196 | |||
209 | 197 | void PinEntryDialog::setError( const QString& txt ) | ||
210 | 198 | { | ||
211 | 199 | if( !txt.isNull() )_icon->setPixmap( icon( QStyle::SP_MessageBoxCritical ) ); | ||
212 | 200 | _error->setText( txt ); | ||
213 | 201 | _error->setVisible( !txt.isEmpty() ); | ||
214 | 202 | } | ||
215 | 203 | |||
216 | 204 | QString PinEntryDialog::error() const | ||
217 | 205 | { | ||
218 | 206 | return _error->text(); | ||
219 | 207 | } | ||
220 | 208 | |||
221 | 209 | void PinEntryDialog::setPin( const secqstring & txt ) | ||
222 | 210 | { | ||
223 | 211 | _edit->setText( txt ); | ||
224 | 212 | } | ||
225 | 213 | |||
226 | 214 | secqstring PinEntryDialog::pin() const | ||
227 | 215 | { | ||
228 | 216 | return _edit->text(); | ||
229 | 217 | } | ||
230 | 218 | |||
231 | 219 | void PinEntryDialog::setPrompt( const QString& txt ) | ||
232 | 220 | { | ||
233 | 221 | _prompt->setText( txt ); | ||
234 | 222 | _prompt->setVisible( !txt.isEmpty() ); | ||
235 | 223 | } | ||
236 | 224 | |||
237 | 225 | QString PinEntryDialog::prompt() const | ||
238 | 226 | { | ||
239 | 227 | return _prompt->text(); | ||
240 | 228 | } | ||
241 | 229 | |||
242 | 230 | void PinEntryDialog::setOkText( const QString& txt ) | ||
243 | 231 | { | ||
244 | 232 | _ok->setText( txt ); | ||
245 | 233 | _ok->setVisible( !txt.isEmpty() ); | ||
246 | 234 | } | ||
247 | 235 | |||
248 | 236 | void PinEntryDialog::setCancelText( const QString& txt ) | ||
249 | 237 | { | ||
250 | 238 | _cancel->setText( txt ); | ||
251 | 239 | _cancel->setVisible( !txt.isEmpty() ); | ||
252 | 240 | } | ||
253 | 241 | |||
254 | 242 | void PinEntryDialog::setQualityBar( const QString& txt ) | ||
255 | 243 | { | ||
256 | 244 | if (_have_quality_bar) | ||
257 | 245 | _quality_bar_label->setText( txt ); | ||
258 | 246 | } | ||
259 | 247 | |||
260 | 248 | void PinEntryDialog::setQualityBarTT( const QString& txt ) | ||
261 | 249 | { | ||
262 | 250 | if (_have_quality_bar) | ||
263 | 251 | _quality_bar->setToolTip( txt ); | ||
264 | 252 | } | ||
265 | 253 | |||
266 | 254 | void PinEntryDialog::updateQuality(const secqstring & txt ) | ||
267 | 255 | { | ||
268 | 256 | int length; | ||
269 | 257 | int percent; | ||
270 | 258 | QPalette pal; | ||
271 | 259 | |||
272 | 260 | if (!_have_quality_bar || !_pinentry_info) | ||
273 | 261 | return; | ||
274 | 262 | secstring pinStr = toUtf8(txt); | ||
275 | 263 | const char* pin = pinStr.c_str(); | ||
276 | 264 | // The Qt3 version called ::secmem_free (pin) here, but from other usage of secstring, | ||
277 | 265 | // it seems like this is not needed anymore - 16 Mar. 2009 13:15 -- Jesper K. Pedersen | ||
278 | 266 | length = strlen (pin); | ||
279 | 267 | percent = length? pinentry_inq_quality (_pinentry_info, pin, length) : 0; | ||
280 | 268 | if (!length) | ||
281 | 269 | { | ||
282 | 270 | _quality_bar->reset (); | ||
283 | 271 | } | ||
284 | 272 | else | ||
285 | 273 | { | ||
286 | 274 | pal = _quality_bar->palette (); | ||
287 | 275 | if (percent < 0) | ||
288 | 276 | { | ||
289 | 277 | pal.setColor (QPalette::Highlight, QColor("red")); | ||
290 | 278 | percent = -percent; | ||
291 | 279 | } | ||
292 | 280 | else | ||
293 | 281 | { | ||
294 | 282 | pal.setColor (QPalette::Highlight, QColor("green")); | ||
295 | 283 | } | ||
296 | 284 | _quality_bar->setPalette (pal); | ||
297 | 285 | _quality_bar->setValue (percent); | ||
298 | 286 | } | ||
299 | 287 | } | ||
300 | 288 | |||
301 | 289 | void PinEntryDialog::setPinentryInfo(pinentry_t peinfo) | ||
302 | 290 | { | ||
303 | 291 | _pinentry_info = peinfo; | ||
304 | 292 | } | ||
305 | 293 | |||
306 | 294 | void PinEntryDialog::paintEvent( QPaintEvent* event ) | ||
307 | 295 | { | ||
308 | 296 | // Grab keyboard. It might be a little weird to do it here, but it works! | ||
309 | 297 | // Previously this code was in showEvent, but that did not work in Qt4. | ||
310 | 298 | QDialog::paintEvent( event ); | ||
311 | 299 | if ( !_grabbed && ( !_pinentry_info || _pinentry_info->grab ) ) { | ||
312 | 300 | _edit->grabKeyboard(); | ||
313 | 301 | _grabbed = true; | ||
314 | 302 | } | ||
315 | 303 | |||
316 | 304 | } | ||
317 | 305 | |||
318 | 306 | #include "pinentrydialog.moc" | ||
319 | 307 | 0 | ||
320 | === modified file 'ChangeLog' | |||
321 | --- ChangeLog 2011-02-16 20:18:53 +0000 | |||
322 | +++ ChangeLog 2014-01-24 03:16:14 +0000 | |||
323 | @@ -1,2156 +1,80 @@ | |||
2480 | 1 | 2010-12-16 Werner Koch <wk@g10code.com> | 1 | 2013-04-26 Werner Koch <wk@gnupg.org> |
2481 | 2 | 2 | ||
2482 | 3 | Release 0.8.1. | 3 | Release 0.8.3. |
2483 | 4 | 4 | ||
2484 | 5 | * doc/pinentry.texi: Remove the custom font setting for underscores. | 5 | 2013-04-26 Andre Heinecke <aheinecke@intevation.de> |
2485 | 6 | 6 | ||
2486 | 7 | Update to automake 1.10. | 7 | Switch to i686-w64-mingw32 as default Windows toolchain. |
2487 | 8 | 8 | * autogen.sh <build-w32>: Insert i686-w64-mingw32. | |
2488 | 9 | * missing, config.guess, config.sub: Update from GnuPG. | 9 | * configure.ac: Pretty print final info. |
2489 | 10 | 10 | ||
2490 | 11 | * w32/main.c (debugfp): Define to stderr. | 11 | Fix declaration of lock_set_foreground_window for pinnetry-w32. |
2491 | 12 | (raise_sip) [!W32CE]: Make it a dummy function. | 12 | * w32/main.c (lock_set_foreground_window): Remove WINUSERAPI |
2492 | 13 | 13 | qualifier. | |
2493 | 14 | * qt4/pinentrydialog.cpp (raiseWindow): Use SetForegroundWindow | 14 | |
2494 | 15 | API directly. | 15 | Fix ressource compilation of pinentry-w32. |
2495 | 16 | (SetForegroundWindowEx): Comment out. | 16 | * w32/pinentry-w32.rc: Include windows.h |
2496 | 17 | 17 | ||
2497 | 18 | 2010-10-19 Werner Koch <wk@g10code.com> | 18 | 2013-02-16 Ben Kibbey <bjk@luxsci.net> |
2498 | 19 | 19 | ||
2499 | 20 | * pinentry/pinentry.c (pinentry_have_display): Also detect | 20 | Curses build fix for DOS'ish systems. |
2500 | 21 | --display=DISPID. | 21 | |
2501 | 22 | 22 | 2013-02-14 Ben Kibbey <bjk@luxsci.net> | |
2502 | 23 | 2010-10-12 Werner Koch <wk@g10code.com> | 23 | |
2503 | 24 | 24 | Document the --timeout and SETTIMEOUT feature. | |
2504 | 25 | * qt/main.cpp (escape_accel): New. Adapt from from qt4/. | 25 | |
2505 | 26 | (qt_cmd_handler): Implement default-ok and default-cancel. Escape | 26 | Add timeout support to the Gtk+2 pinentry. |
2506 | 27 | accelerators. | 27 | * gtk+-2/pinentry-gtk-2.c (create_window): Add timer. |
2507 | 28 | 28 | (timeout_cb): New. | |
2508 | 29 | 2010-09-30 Werner Koch <wk@g10code.com> | 29 | |
2509 | 30 | 30 | Add timeout support to the curses pinentry. | |
2510 | 31 | * pinentry/pinentry.h (struct pinentry): Add CLOSE_BUTTON. | 31 | * pinentry/pinentry-curses.c (dialog_run): Set the window input to |
2511 | 32 | * pinentry/pinentry.c (cmd_getpin, cmd_confirm, cmd_message): Send | 32 | non-blocking. |
2512 | 33 | BUTTON_INFO. | 33 | (catchsig): New. |
2513 | 34 | * gtk+-2/pinentry-gtk-2.c (delete_event): Set close_button. | 34 | (main): Catch SIGALRM and set the timeout. |
2514 | 35 | 35 | ||
2515 | 36 | 2010-09-22 Werner Koch <wk@g10code.com> | 36 | 2013-01-06 Ben Kibbey <bjk@luxsci.net> |
2516 | 37 | 37 | ||
2517 | 38 | * gtk+-2/pinentry-gtk-2.c (create_window): Make use of | 38 | Fix initializing the timeout timer. |
2518 | 39 | default_cancel and default_ok. | 39 | When timeout == 0 a segfault would occur. |
2519 | 40 | 40 | ||
2520 | 41 | 2010-08-19 Werner Koch <wk@g10code.com> | 41 | 2012-08-08 Werner Koch <wk@gnupg.org> |
2521 | 42 | 42 | ||
2522 | 43 | * gtk+-2/Makefile.am (pinentry_gtk_2_SOURCES): Add gseal-gtk-compat.h. | 43 | Release 0.8.2. |
2523 | 44 | 44 | ||
2524 | 45 | * configure.ac (AH_TOP, AH_BOTTOM): New. Define | 45 | Distribute only bzip2 tarballs. |
2525 | 46 | GPG_ERR_ENABLE_ERRNO_MACROS. | 46 | * Makefile.am (AUTOMAKE_OPTIONS): New. |
2526 | 47 | 47 | ||
2527 | 48 | 2010-06-08 Marc Mutz <marc.mutz@kdab.com> (wk) | 48 | qt4: Update all moc files to Qt version 4.8.2. |
2528 | 49 | 49 | ||
2529 | 50 | * qt4/pinentrydialog.cpp (PinEntryDialog): Add WindowStaysOnTopHint. | 50 | Update config.guess and config.sub. |
2530 | 51 | 51 | * config.guess, config.sub: Update to version 2012-07-31 from gnulib. | |
2531 | 52 | * qt/pinentrydialog.cpp (PinEntryDialog): Add WStyle_StaysOnTop. | 52 | |
2532 | 53 | 53 | Change build system to auto-generate the ChangeLog. | |
2533 | 54 | 2010-05-12 Guido Günther <agx@sigxcpu.org> (wk) | 54 | * build-aux/gitlog-to-changelog: New script. Taken from GnuPG. |
2534 | 55 | 55 | * build-aux/git-log-fix: New file. | |
2535 | 56 | * gtk+-2/gtksecentry.c: Make -DSEAL safe. | 56 | * build-aux/git-log-footer: New file. |
2536 | 57 | * gtk+-2/gseal-gtk-compat.h: New. | 57 | * doc/HACKING: Describe the ChangeLog policy |
2537 | 58 | * gtk+-2/gtksecentry.h: Include new header. | 58 | * ChangeLog: New file. |
2538 | 59 | 59 | * Makefile.am (EXTRA_DIST): Add new files. | |
2539 | 60 | 2010-05-07 Werner Koch <wk@g10code.com> | 60 | (gen-ChangeLog): New. |
2540 | 61 | 61 | (dist-hook): Run gen-ChangeLog. | |
2541 | 62 | * gtk+-2/pinentry-gtk-2.c (create_window): Keep the window above | 62 | |
2542 | 63 | and make sure it has the focus. Fixes bug#1162. | 63 | Rename existing ChangeLog files to ChangeLog-old. |
2543 | 64 | 64 | ||
2544 | 65 | 2010-05-03 Werner Koch <wk@g10code.com> | 65 | Switch to an automagic beta numbering scheme. |
2545 | 66 | 66 | * configure.ac: Add all the required m4 magic. | |
2546 | 67 | * gtk+-2/pinentry-gtk-2.c (create_window): Use | 67 | |
2547 | 68 | visibility-notify-event instead of map-event. Suggested by Ed | 68 | 2012-08-08 Werner Koch <wk@gnupg.org> |
2548 | 69 | Marten. | 69 | |
2549 | 70 | 70 | NB: Changes done before August 8, 2012 are described in per | |
2550 | 71 | 2010-04-26 Werner Koch <wk@g10code.com> | 71 | directory files named ChangeLog-old. See doc/HACKING for |
2551 | 72 | 72 | details. | |
2552 | 73 | * gtk+-2/pinentry-gtk-2.c (grab_failed): New. | 73 | |
2553 | 74 | (grab_keyboard): s/g_error/g_critical/. Set GRAB_FAILED. | 74 | ----- |
2554 | 75 | (gtk_cmd_handler): Return Cancel if a grab failed. | 75 | Copyright (C) 2002, 2003, 2010, 2012 g10 Code GmbH |
2555 | 76 | 76 | ||
2556 | 77 | 2010-04-20 Marcus Brinkmann <marcus@g10code.de> | 77 | Copying and distribution of this file and/or the original GIT |
2557 | 78 | 78 | commit log messages, with or without modification, are | |
2558 | 79 | * pinentry/pinentry.c: Move include config.h to top! | 79 | permitted provided the copyright notice and this notice are |
2559 | 80 | 80 | preserved. | |
404 | 81 | 2010-04-19 Werner Koch <wk@g10code.com> | ||
405 | 82 | |||
406 | 83 | * gtk+-2/gtksecentry.c (gtk_secure_entry_delete_cb) | ||
407 | 84 | (gtk_secure_entry_toggle_overwrite, activate_cb) | ||
408 | 85 | (unichar_chosen_func): Comment out these unused functions. | ||
409 | 86 | (secentry_malloc): Fix format string error. | ||
410 | 87 | |||
411 | 88 | 2010-04-19 Stanislav Ochotnicky <sochotnicky@redhat.com> (wk) | ||
412 | 89 | |||
413 | 90 | * gtk+-2/pinentry-gtk-2.c (ungrab_keyboard): Fix segv when using | ||
414 | 91 | option -g. | ||
415 | 92 | |||
416 | 93 | 2010-04-16 Marcus Brinkmann <marcus@g10code.de> | ||
417 | 94 | |||
418 | 95 | * secmem/util.c: Fix inverted test. | ||
419 | 96 | |||
420 | 97 | 2010-04-12 Werner Koch <wk@g10code.com> | ||
421 | 98 | |||
422 | 99 | * w32/main.c (dlg_proc): Act on VK_RETURN. | ||
423 | 100 | |||
424 | 101 | * w32/pinentry-w32.rc: Include config.h. Add basic support for | ||
425 | 102 | small screens as used with WindowsCE. | ||
426 | 103 | |||
427 | 104 | * w32/Makefile.am (pinentry-w32.o): Add -I.. to the command. | ||
428 | 105 | |||
429 | 106 | 2010-04-08 Werner Koch <wk@g10code.com> | ||
430 | 107 | |||
431 | 108 | * pinentry/pinentry.c [W32CE]: Do not include errno.h and | ||
432 | 109 | locale.h. | ||
433 | 110 | (pinentry_have_display) [W32CE]: Do not use getenv. | ||
434 | 111 | (pinentry_parse_opts) [W32CE]: No error diagnostics due to missing | ||
435 | 112 | errno. | ||
436 | 113 | (sleep) [W32CE]: New. | ||
437 | 114 | (option_handler) [W32CE]: Ignore option --debug-wait. | ||
438 | 115 | (getpid) [W32CE]: New. | ||
439 | 116 | (pinentry_loop): Use STDIN_FILENO and STDOUT_FILENO. | ||
440 | 117 | (pinentry_loop): Factor code out to ... | ||
441 | 118 | (pinentry_loop2): New. | ||
442 | 119 | * w32/main.c (w32_strerror) [W32CE]: Do not use FormatMessage. | ||
443 | 120 | (main) [W32CE]: Do not use LockSetForegroundWindow. | ||
444 | 121 | (set_dlg_item_text): Use wchar_t for static string. | ||
445 | 122 | * secmem/util.c [W32CE]: Do not include errno.h. | ||
446 | 123 | (xwrite) [W32CE]: Shortcut EINTR loop. | ||
447 | 124 | |||
448 | 125 | 2010-04-07 Werner Koch <wk@g10code.com> | ||
449 | 126 | |||
450 | 127 | * autogen.sh: Modernized. | ||
451 | 128 | |||
452 | 129 | 2010-03-03 Werner Koch <wk@g10code.com> | ||
453 | 130 | |||
454 | 131 | Release 0.8.0. | ||
455 | 132 | |||
456 | 133 | 2010-03-02 Werner Koch <wk@g10code.com> | ||
457 | 134 | |||
458 | 135 | * qt4/main.cpp (from_utf8): Add extra braces for clarity. | ||
459 | 136 | (main): Copy the fixed --display string. | ||
460 | 137 | |||
461 | 138 | 2010-02-25 Marc Mutz <marc@kdab.com> (wk) | ||
462 | 139 | |||
463 | 140 | * qt4/main.cpp (from_utf8): don't throw InvalidUtf8(); for now, | ||
464 | 141 | fall back to QString::fromLocal8Bit() | ||
465 | 142 | |||
466 | 143 | 2010-02-22 Marc Mutz <marc@kdab.com> (wk) | ||
467 | 144 | |||
468 | 145 | * qt4/main.cpp (InvalidUtf8): New exception class. | ||
469 | 146 | (from_utf8): wrapper around QString::fromUtf8 throwing | ||
470 | 147 | InvalidUtf8. | ||
471 | 148 | (qt_cmd_handler): Use from_utf8 instead of QString::fromUtf8. | ||
472 | 149 | (qt_cmd_handler_ex): New wrapper around qt_cmd_handler. | ||
473 | 150 | (pinentry_cmd_handler): Use qt_cmd_handler_ex. | ||
474 | 151 | |||
475 | 152 | * qt4/main.cpp (qt_cmd_handler): Also handle accels in | ||
476 | 153 | SET{OK,NOTOK,CANCEL} string. | ||
477 | 154 | |||
478 | 155 | 2010-02-19 Marc Mutz <marc@kdab.com> (wk) | ||
479 | 156 | |||
480 | 157 | * qt4/main.cpp (qt_cmd_handler), qt4/pinentrydialog.cpp | ||
481 | 158 | (PinentryDialog::PinEntryDialog): Use the button icons that come | ||
482 | 159 | with Qt. | ||
483 | 160 | |||
484 | 161 | * qt4/pinentry_qrc, qt4/qrc_pinentry.cpp: New. | ||
485 | 162 | * qt4/gtk-cancel.png, qt4/gtk-ok.png: Removed. | ||
486 | 163 | * qt4/Makefile.am (EXTRA_DIST): Remove the GTK icons, add | ||
487 | 164 | pinentry.qrc. | ||
488 | 165 | (pinentry_qt4_SOURCES): add qrc_pinentry.cpp. | ||
489 | 166 | |||
490 | 167 | * qt4/main.cpp (qt_cmd_handler): Remove i18n support again. | ||
491 | 168 | |||
492 | 169 | * qt4/pinentrydialog.cpp (PinentryDialog::PinentryDialog): | ||
493 | 170 | set PIN entry field as buddy of its prompt | ||
494 | 171 | |||
495 | 172 | * qt4/main.cpp (escape_accel): New. | ||
496 | 173 | (qt_cmd_handler): use it on default_cancel, default_ok, prompt. | ||
497 | 174 | |||
498 | 175 | * qt4/pinentrydialog.h, qt4/pinentrydialog.cpp | ||
499 | 176 | (PinEntryDialog::PinEntryDialog): don't use a nested vbox layout. | ||
500 | 177 | |||
501 | 178 | * qt4/pinentrydialog.h: replace include file with forward decl. | ||
502 | 179 | * qt4/pinentrydialog.cpp: add include file here. | ||
503 | 180 | |||
504 | 181 | * qt4/pinentrydialog.h, qt4/pinentrydialog.cpp | ||
505 | 182 | (PinentryDialog::keyPressEvent()): Removed. | ||
506 | 183 | |||
507 | 184 | * qt/4pinentrydialog.cpp (PinEntryDialog::PinEntryDialog): use | ||
508 | 185 | QLayout::SetFixedSize instead of rolling our own solution. | ||
509 | 186 | * qt4/pinentrydialog.h: (PinentryDialog::setFixedSize): Removed. | ||
510 | 187 | * qt4/pinentrydialog.moc: Re-created. | ||
511 | 188 | |||
512 | 189 | * qt4/main.cpp: (qt_cmd_handler) make Cancel the default button | ||
513 | 190 | for CONFIRM | ||
514 | 191 | |||
515 | 192 | * qt4/main.cpp: (qt_cmd_handler) implement the confirm/message | ||
516 | 193 | logic correctly | ||
517 | 194 | |||
518 | 195 | * qt4/pinentrydialog.h (accepted, rejected): Removed; already | ||
519 | 196 | provided by base class. | ||
520 | 197 | * qt4/pinentrydialog.cpp (PinEntryDialog::PinEntryDialog): Use | ||
521 | 198 | QDialog::{accepted,rejected}. | ||
522 | 199 | * qt4/pinentrydialog.moc: Re-created. | ||
523 | 200 | |||
524 | 201 | * qt4/pinentrydialog.moc, qt4/qsecurelineedit.moc: Make compatible | ||
525 | 202 | with newer Qt version. | ||
526 | 203 | |||
527 | 204 | 2010-02-19 Werner Koch <wk@g10code.com> | ||
528 | 205 | |||
529 | 206 | * gtk+-2/pinentry-gtk-2.c (create_window): Allow mnemonics in | ||
530 | 207 | button labels. | ||
531 | 208 | |||
532 | 209 | * pinentry/pinentry.h (struct pinentry): Add default_prompt. | ||
533 | 210 | * pinentry/pinentry.c (option_handler): Support "default-prompt". | ||
534 | 211 | (cmd_getpin): Use it. | ||
535 | 212 | (noprefix_strdup): Remove; should be done by caller. | ||
536 | 213 | |||
537 | 214 | 2010-02-17 Werner Koch <wk@g10code.com> | ||
538 | 215 | |||
539 | 216 | * pinentry/pinentry.h (struct pinentry): Add default_ok and | ||
540 | 217 | default_cancel. | ||
541 | 218 | * pinentry/pinentry.c (noprefix_strdup): New. | ||
542 | 219 | (option_handler): Support "default-ok" and "default-cancel". | ||
543 | 220 | (strcpy_escaped): Change second arg from unsigend char to char. | ||
544 | 221 | |||
545 | 222 | 2010-02-16 Werner Koch <wk@g10code.com> | ||
546 | 223 | |||
547 | 224 | * qt4/document-encrypt.png, qt4/gtk-cancel.png, qt4/gtk-ok.png: New. | ||
548 | 225 | * qt4/Makefile.am (EXTRA_DIST): Add them. | ||
549 | 226 | |||
550 | 227 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
551 | 228 | |||
552 | 229 | Also attributed to Marc Mutz <marc@kdab.com>. | ||
553 | 230 | |||
554 | 231 | * qt4/main.cpp, qt/pinentrydialog.cpp: If the style says so, | ||
555 | 232 | set (GTK) icons on OK and Cancel buttons. | ||
556 | 233 | |||
557 | 234 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
558 | 235 | |||
559 | 236 | * qt4/main.cpp: Use an explicit QMessageBox instead of the | ||
560 | 237 | 'information' convenience method. We do this for two reasons: | ||
561 | 238 | 1. So we can set our own icon (icon()). 2. So we can call our | ||
562 | 239 | raiseWindow() function on it. | ||
563 | 240 | |||
564 | 241 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> | ||
565 | 242 | |||
566 | 243 | * qt4/main.cpp: Use title. Use Qt translation of "OK" and "Cancel" | ||
567 | 244 | |||
568 | 245 | * qt4/pinentrydialog.cpp: Don't show the question-mark icon in the | ||
569 | 246 | window title. | ||
570 | 247 | |||
571 | 248 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
572 | 249 | |||
573 | 250 | * qt4/pinentrydialog.h, qt4/pinentrydialog.cpp: Use the | ||
574 | 251 | document-encrypt icon instead of the | ||
575 | 252 | QMessageBox::{Information,Critical} ones. | ||
576 | 253 | |||
577 | 254 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
578 | 255 | |||
579 | 256 | Also attributed to Marc Mutz <marc@kdab.com>. | ||
580 | 257 | |||
581 | 258 | * qt4/pinentrydialog.cpp: Properly show/hide optional widgets. | ||
582 | 259 | |||
583 | 260 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> | ||
584 | 261 | |||
585 | 262 | * qt4/pinentrydialog.cpp: Set text color or error label to red. | ||
586 | 263 | |||
587 | 264 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
588 | 265 | |||
589 | 266 | Also attributed to Marc Mutz <marc@kdab.com>. | ||
590 | 267 | |||
591 | 268 | * qt4/pinentrydialog.cpp: Gather scattered layouting code, use a | ||
592 | 269 | single gridlayout for all, and use QDialogButtonBox. | ||
593 | 270 | |||
594 | 271 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
595 | 272 | |||
596 | 273 | * qt4/pinentrydialog.cpp: Call SetForegroundWindow on showEvent() | ||
597 | 274 | and set a fixed size on the dialog. | ||
598 | 275 | |||
599 | 276 | * qt4/main.cpp: Set document-encrypt as the window icon. | ||
600 | 277 | |||
601 | 278 | 2010-02-15 Marc Mutz <marc@kdab.com> (wk) | ||
602 | 279 | |||
603 | 280 | * qt4/main.cpp: Load the correct Qt translation file based on | ||
604 | 281 | either lc_messages or the current locale. | ||
605 | 282 | |||
606 | 283 | * qt4/main.cpp: Use pinentry_t->parent_wid also for message-box | ||
607 | 284 | case. | ||
608 | 285 | |||
609 | 286 | * qt4/main.cpp: Properly delete the QApplication. | ||
610 | 287 | |||
611 | 288 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
612 | 289 | |||
613 | 290 | * qt4/main.cpp: Remove guard clause with impossible condition. | ||
614 | 291 | |||
615 | 292 | * qt4/main.cpp: Respect pinentry_t->title. | ||
616 | 293 | |||
617 | 294 | * qt4/main.cpp: Include config.h. | ||
618 | 295 | |||
619 | 296 | 2009-12-16 Marcus Brinkmann <marcus@g10code.de> | ||
620 | 297 | |||
621 | 298 | * gtk+-2/gtksecentry.c: Don't translate properties. | ||
622 | 299 | Patch by Guido Guenther <agx@sigxcpu.org>. | ||
623 | 300 | |||
624 | 301 | 2009-12-02 Werner Koch <wk@g10code.com> | ||
625 | 302 | |||
626 | 303 | * secmem/util.c: Re-indent function names. | ||
627 | 304 | (TEMP_FAILURE_RETRY): Remove because it is non-portable. | ||
628 | 305 | (xwrite): Open code the EINTR retry. | ||
629 | 306 | * pinentry/pinentry-curses.c (dialog_run): Replace '\e' by a | ||
630 | 307 | standard escape. Reported by Wyllys Ingersoll. | ||
631 | 308 | |||
632 | 309 | 2009-08-10 Marcus Brinkmann <marcus@g10code.de> | ||
633 | 310 | |||
634 | 311 | * pinentry/pinentry.c [!ENABLE_ENHANCED]: Remove option enhanced. | ||
635 | 312 | * pinentry/pinentry.h (struct pinentry) [!ENABLE_ENHANCED]: Remove | ||
636 | 313 | member enhanced. | ||
637 | 314 | * gtk+-2/pinentry-gtk-2.c: New macro. | ||
638 | 315 | (button_clicked, create_window) [!ENABLE_ENHANCED]: Disable code. | ||
639 | 316 | * gtk/pinentry-gtk.c (button_clicked, create_window): Likewise. | ||
640 | 317 | * doc/pinentry.texi (Using pinentry): Comment out enhanced option. | ||
641 | 318 | |||
642 | 319 | 2009-07-10 Till Adam <till@kdab.com> | ||
643 | 320 | |||
644 | 321 | * qt4/pinentrydialog.cpp (PinEntryDialog): Redesign the dialog to | ||
645 | 322 | be prettier. | ||
646 | 323 | |||
647 | 324 | 2009-06-19 Marcus Brinkmann <marcus@g10code.de> | ||
648 | 325 | |||
649 | 326 | * configure.ac: Post-release changes. | ||
650 | 327 | |||
651 | 328 | Release version 0.7.6. | ||
652 | 329 | |||
653 | 330 | * configure.ac: Bump version. | ||
654 | 331 | |||
655 | 332 | 2009-01-29 Bernhard Reiter <bernhard@intevation.de> | ||
656 | 333 | |||
657 | 334 | * doc/pinentry.texi (Using pinentry): Fix typo. | ||
658 | 335 | |||
659 | 336 | 2009-04-24 Guido Guenther <agx@sigxcpu.org> | ||
660 | 337 | |||
661 | 338 | * gtk+-2/gtksecentry.c (gtk_secure_entry_class_init): Don't | ||
662 | 339 | install "gtk-entry-select-on-focus" settings property since it | ||
663 | 340 | clashes with the one from GtkEntry. | ||
664 | 341 | (gtk_secure_entry_grab_focus): Create a temporary GtkEntry widget | ||
665 | 342 | to read that value instead. Allows to have GtkEntry and | ||
666 | 343 | GtkSecureEntry in the same process. | ||
667 | 344 | |||
668 | 345 | 2009-06-19 Marcus Brinkmann <marcus@g10code.de> | ||
669 | 346 | |||
670 | 347 | Suggested by Simon McVittie: | ||
671 | 348 | * gtk+-2/gtksecentry.c (g_malloc, g_realloc, g_free): Renamed to | ||
672 | 349 | secentry_malloc, secentry_realloc. | ||
673 | 350 | (g_malloc0): Removed. | ||
674 | 351 | (GMALLOC_SIZE): Move to ... | ||
675 | 352 | * gtk+-2/gtksecentry.h (GMALLOC_SIZE): ... here. | ||
676 | 353 | (secentry_malloc, secentry_realloc, secentry_free): New prototypes. | ||
677 | 354 | * gtk+-2/pinentry-gtk-2.c (main): Set memory allocation vtable. | ||
678 | 355 | |||
679 | 356 | 2009-05-04 Till Adam <till@kdab.net> | ||
680 | 357 | |||
681 | 358 | * qt4/main.cpp (qt_cmd_handler): Use WId instead of HWND. | ||
682 | 359 | |||
683 | 360 | 2009-04-14 Marcus Brinkmann <marcus@g10code.de> | ||
684 | 361 | |||
685 | 362 | * pinentry/pinentry.h (struct pinentry): New member NOTOK. | ||
686 | 363 | Rename member USER_CLOSED to CANCELED. | ||
687 | 364 | * pinentry/pinentry.c: Add initializer for NOTOK. | ||
688 | 365 | (register_commands): Add SETNOTOK. | ||
689 | 366 | * pinentry/pinentry-curses.c (STRING_NOTOK): New macro. | ||
690 | 367 | (dialog_pos_t): New value DIALOG_POS_NOTOK. | ||
691 | 368 | (struct dialog): New members notok, notok_x, notok_y. | ||
692 | 369 | (dialog_create): Implement NOTOK. | ||
693 | 370 | (dialog_switch_pos): Likewise. | ||
694 | 371 | (dialog_run): Likewise. | ||
695 | 372 | * gtk+-2/pinentry-gtk-2.c: Rename confirm_yes to confirm_value. | ||
696 | 373 | (confirm_value_t): New type. Use it for confirm_value. | ||
697 | 374 | (window_closed): Remove. | ||
698 | 375 | (confirm_button_clicked): Set confirm_value. | ||
699 | 376 | (create_window): Implement NOTOK. | ||
700 | 377 | (gtk_cmd_handler): Implement cancel behaviour a bit differently. | ||
701 | 378 | |||
702 | 379 | 2009-04-09 Marcus Brinkmann <marcus@g10code.de> | ||
703 | 380 | |||
704 | 381 | * qt4/qsecurelineedit.h (QSecureLineEdit): Don't export. | ||
705 | 382 | |||
706 | 383 | 2009-04-06 Marcus Brinkmann <marcus@g10code.de> | ||
707 | 384 | |||
708 | 385 | * configure.ac: Portability fixes. | ||
709 | 386 | |||
710 | 387 | 2009-04-03 Marcus Brinkmann <marcus@g10code.de> | ||
711 | 388 | |||
712 | 389 | * qt4/Makefile.am (pinentry_qt4_SOURCES): Add qsecurelineedit_p.h. | ||
713 | 390 | |||
714 | 391 | * secmem/Makefile.am (libsecmem_a_SOURCES): Add secmem++.h. | ||
715 | 392 | * qt4/Makefile.am (pinentry_qt4_SOURCES): Add pinentrydialog.moc | ||
716 | 393 | and qsecurelineedit. | ||
717 | 394 | |||
718 | 395 | * configure.ac: Incorporate revision number in version string. | ||
719 | 396 | |||
720 | 397 | 2009-04-02 Till Adam <till@kdab.net> | ||
721 | 398 | |||
722 | 399 | * qt4/qsecurelineedit.moc, qt4/main.cpp, qt4/pinentrydialog.moc, | ||
723 | 400 | qt4/qsecurelineedit.cpp, qt4/pinentrydialog.cpp, | ||
724 | 401 | qt4/pinentrydialog.h: Implement quality bar and grabbing. | ||
725 | 402 | |||
726 | 403 | * qt4/pinentrydialog.cpp (PinEntryDialog): Enable word wrapping. | ||
727 | 404 | |||
728 | 405 | 2009-04-03 Marcus Brinkmann <marcus@g10code.de> | ||
729 | 406 | |||
730 | 407 | * qt4/main.cpp (qt_cmd_handler): Cast window handle ID. | ||
731 | 408 | |||
732 | 409 | 2009-03-19 Werner Koch <wk@g10code.com> | ||
733 | 410 | |||
734 | 411 | * pinentry/pinentry.h (struct pinentry): Add field user_closed. | ||
735 | 412 | * pinentry/pinentry.c (cmd_getpin, cmd_confirm, cmd_message): | ||
736 | 413 | Reset this field. | ||
737 | 414 | (cmd_confirm): Return cancel if the user closed the window. | ||
738 | 415 | * gtk+-2/pinentry-gtk-2.c (window_closed): New. | ||
739 | 416 | (gtk_cmd_handler, delete_event): Set it. | ||
740 | 417 | |||
741 | 418 | 2009-02-19 Marcus Brinkmann <marcus@g10code.de> | ||
742 | 419 | |||
743 | 420 | * secmem/secmem++.h: New file. | ||
744 | 421 | * qt4/Makefile.am, qt4/main.cpp, qt4/pinentrydialog.cpp, | ||
745 | 422 | qt4/pinentrydialog.h: Changes to use secure memory. | ||
746 | 423 | * qt4/pinentrydialog.moc, qt4/qsecurelineedit.moc: New files. | ||
747 | 424 | * qt4/qsecurelineedit.cpp, qt4/qsecurelineedit.h, | ||
748 | 425 | qt4/qsecurelineedit_p.h, qt4/secstring.h, qt4/secstring.cpp: New | ||
749 | 426 | files. | ||
750 | 427 | Submitted by Marc Mutz <marc@kdab.net>. | ||
751 | 428 | |||
752 | 429 | 2008-12-08 Werner Koch <wk@g10code.com> | ||
753 | 430 | |||
754 | 431 | * qt/main.cpp (qt_cmd_handler) <!want_pass>: Translate from utf8. | ||
755 | 432 | * qt4/main.cpp (qt_cmd_handler) <!want_pass>: Translate from utf8. | ||
756 | 433 | |||
757 | 434 | 2008-11-12 Ludovic Rousseau <ludovic.rousseau@gmail.com> (wk) | ||
758 | 435 | |||
759 | 436 | * pinentry/pinentry.h (struct pinentry): Add field TITLE. | ||
760 | 437 | * pinentry/pinentry.c (cmd_settitle): New. | ||
761 | 438 | (register_commands): Add command SETTITLE. | ||
762 | 439 | * gtk+-2/pinentry-gtk-2.c (create_window): Set the title. | ||
763 | 440 | |||
764 | 441 | 2008-10-17 Werner Koch <wk@g10code.com> | ||
765 | 442 | |||
766 | 443 | * secmem/memory.h: Add C++ extern declaration. | ||
767 | 444 | |||
768 | 445 | * secmem/secmem.c (secmem_get_max_size): New. | ||
769 | 446 | |||
770 | 447 | 2008-07-25 Marcus Brinkmann <marcus@ulysses.g10code.com> | ||
771 | 448 | |||
772 | 449 | * qt4/Makefile.am (DISTCLEANFILES): Rename to CLEANFILES. | ||
773 | 450 | (BUILD_SOURCES): New. | ||
774 | 451 | |||
775 | 452 | 2008-07-25 Marcus Brinkmann <marcus@g10code.de> | ||
776 | 453 | |||
777 | 454 | * configure.ac: Prefer pinentry gtk2 over gtk. Now also choose | ||
778 | 455 | qt4 (after qt and before w32 native). | ||
779 | 456 | * README: Document Qt. | ||
780 | 457 | |||
781 | 458 | 2008-07-24 Marcus Brinkmann <marcus@g10code.de> | ||
782 | 459 | |||
783 | 460 | * qt4/pinentrydialog.h, qt4/pinentrydialog.cpp, qt4/main.cpp, | ||
784 | 461 | qt4/Makefile.am: New files. | ||
785 | 462 | * configure.ac: Add check for Qt4. | ||
786 | 463 | (AC_CONFIG_FILES): Add qt4/Makefile.am. | ||
787 | 464 | * Makefile.am (pinentry_qt4): New variable. | ||
788 | 465 | (SUBDIRS): Add ${pinentry_qt4}. | ||
789 | 466 | |||
790 | 467 | 2008-07-23 Werner Koch <wk@g10code.com> | ||
791 | 468 | |||
792 | 469 | * secmem/secmem.c (secmem_init): Fix apostrophe in error | ||
793 | 470 | message. Reported by Petr Uzel. | ||
794 | 471 | |||
795 | 472 | 2008-05-05 Marcus Brinkmann <marcus@ulysses.g10code.com> | ||
796 | 473 | |||
797 | 474 | * gtk+-2/gtksecentry.c (GMALLOC_SIZE): New symbol. | ||
798 | 475 | (g_malloc, g_malloc0, g_realloc): Use GMALLOC_SIZE instead of | ||
799 | 476 | gulong for size attribute. | ||
800 | 477 | |||
801 | 478 | 2008-03-03 Marcus Brinkmann <marcus@g10code.de> | ||
802 | 479 | |||
803 | 480 | * gtk+-2/pinentry-gtk-2.c (create_window): Install realize callback. | ||
804 | 481 | (ungrab_keyboard): Unmake dialog transient. | ||
805 | 482 | (make_transient): New function. | ||
806 | 483 | Submitted by Joachim Breitner. | ||
807 | 484 | |||
808 | 485 | 2008-02-15 Werner Koch <wk@g10code.com> | ||
809 | 486 | |||
810 | 487 | Release 0.7.4. | ||
811 | 488 | |||
812 | 489 | 2008-02-14 Werner Koch <wk@g10code.com> | ||
813 | 490 | |||
814 | 491 | * configure.ac: Check for -Wno-pointer-sign. | ||
815 | 492 | |||
816 | 493 | * pinentry/pinentry.c (cmd_getinfo): New. | ||
817 | 494 | (register_commands): Register it. | ||
818 | 495 | |||
819 | 496 | 2008-01-02 Marcus Brinkmann <marcus@g10code.de> | ||
820 | 497 | |||
821 | 498 | * configure.ac: Use PKG_CONFIG instead of PKGCONFIG and | ||
822 | 499 | pkg-config. Use AC_PATH_PROG instead of AC_CHECK_PROG. | ||
823 | 500 | |||
824 | 501 | * Makefile.am (install-exec-local): Add exe extension to link. | ||
825 | 502 | |||
826 | 503 | 2007-11-29 Marcus Brinkmann <marcus@g10code.de> | ||
827 | 504 | |||
828 | 505 | Released 0.7.4. | ||
829 | 506 | |||
830 | 507 | 2007-11-19 Werner Koch <wk@g10code.com> | ||
831 | 508 | |||
832 | 509 | * doc/pinentry.texi (Protocol): Typo fixes by Bernhard Herzog. | ||
833 | 510 | Describe SETQUALITYBAR_TT. | ||
834 | 511 | |||
835 | 512 | 2007-11-19 Bernhard Herzog <bernhard.herzog@intevation.de> (wk) | ||
836 | 513 | |||
837 | 514 | * qt/pinentrydialog.cpp (PinEntryDialog): Fixed crash | ||
838 | 515 | |||
839 | 516 | 2007-11-19 Werner Koch <wk@g10code.com> | ||
840 | 517 | |||
841 | 518 | * gtk+-2/pinentry-gtk-2.c (create_window): Use again map-event and | ||
842 | 519 | unmap-event as this works on my setup far more reliable than | ||
843 | 520 | expose-event/no-expose-event. | ||
844 | 521 | |||
845 | 522 | * gtk+-2/gtksecentry.c (get_cursor_time): s/time/blinktime/ t | ||
846 | 523 | avoid shadowing warning. | ||
847 | 524 | |||
848 | 525 | * pinentry/pinentry.h (struct pinentry): Change QUALITY_BAR to a | ||
849 | 526 | char ptr. | ||
850 | 527 | (struct pinentry): Add QUALITY_BAR_TT. | ||
851 | 528 | * pinentry/pinentry.c (cmd_setqualitybar): Allow to set a label text. | ||
852 | 529 | (cmd_setqualitybar_tt): New. | ||
853 | 530 | * gtk+-2/pinentry-gtk-2.c (create_window): Take label and tooltip | ||
854 | 531 | from global. | ||
855 | 532 | * qt/pinentrydialog.h (setQualityBar, setQualityBarTT) | ||
856 | 533 | (_quality_bar_label): New. | ||
857 | 534 | * qt/pinentrydialog.cpp (setQualityBar, setQualityBarTT): New. | ||
858 | 535 | (PinEntryDialog): Remove setting of tooltip. | ||
859 | 536 | |||
860 | 537 | * qt/main.cpp (qt_cmd_handler): Propagate quality bar label and tootip. | ||
861 | 538 | |||
862 | 539 | 2007-11-19 Bernhard Herzog <bernhard.herzog@intevation.de> (wk) | ||
863 | 540 | |||
864 | 541 | * qt/pinentrydialog.cpp (PinEntryDialog): Move the quality bar | ||
865 | 542 | below the text entry and align them properly. Show a tooltip. | ||
866 | 543 | * gtk+-2/pinentry-gtk-2.c (create_window): Ditto. Don't let it | ||
867 | 544 | change its height. | ||
868 | 545 | (QUALITYBAR_EMPTY_TEXT): New. | ||
869 | 546 | |||
870 | 547 | 2007-09-18 Werner Koch <wk@g10code.com> | ||
871 | 548 | |||
872 | 549 | * qt/secqlineedit.h (SecQLineEdit): New signal textModified. | ||
873 | 550 | * qt/secqlineedit.cpp (finishChange): Emit it. | ||
874 | 551 | * qt/pinentrydialog.cpp (setPinentryInfo): New. | ||
875 | 552 | (PinEntryDialog): Add arg ENABLE_QUALITY_BAR. | ||
876 | 553 | * qt/pinentrydialog.h (setPinentryInfo): New. | ||
877 | 554 | (PinEntryDialog): Add arg ENABLE_QUALITY_BAR. | ||
878 | 555 | |||
879 | 556 | * pinentry/pinentry.h (struct pinentry): Add member QUALITY_BAR | ||
880 | 557 | and CTX_ASSUAN. | ||
881 | 558 | * pinentry/pinentry.c (cmd_setqualitybar): New. | ||
882 | 559 | (copy_and_escape): New. | ||
883 | 560 | (pinentry_inq_quality): New. | ||
884 | 561 | |||
885 | 562 | 2007-07-09 Werner Koch <wk@g10code.com> | ||
886 | 563 | |||
887 | 564 | * doc/pinentry.texi: Fixed direntry syntax. | ||
888 | 565 | |||
889 | 566 | * configure.ac: Add --without-libcap. From the Gentoo patch archive. | ||
890 | 567 | |||
891 | 568 | * gtk+-2/pinentry-gtk-2.c (create_window): Use expose-event | ||
892 | 569 | instead of map-event. From Alon Bar-Lev. | ||
893 | 570 | |||
894 | 571 | 2007-07-06 Werner Koch <wk@g10code.com> | ||
895 | 572 | |||
896 | 573 | Released 0.7.3. | ||
897 | 574 | |||
898 | 575 | * config.sub, config.guess: Updated from current Savannah CVS. | ||
899 | 576 | |||
900 | 577 | 2007-06-27 Werner Koch <wk@g10code.com> | ||
901 | 578 | |||
902 | 579 | * w32/main.c: Revamped the SetFocus stuff. It is all not that easy. | ||
903 | 580 | |||
904 | 581 | 2007-06-26 Werner Koch <wk@g10code.com> | ||
905 | 582 | |||
906 | 583 | * w32/Makefile.am (pinentry_w32_LDFLAGS): Add -mconsole again. | ||
907 | 584 | |||
908 | 585 | * w32/main.c (dlg_proc): Set focus. | ||
909 | 586 | (resize_button): New. No code yet. | ||
910 | 587 | (dlg_proc): Call it for the buttons. | ||
911 | 588 | (w32_cmd_handler): Restore old foreground window. | ||
912 | 589 | |||
913 | 590 | 2007-06-20 Werner Koch <wk@g10code.com> | ||
914 | 591 | |||
915 | 592 | * w32/Makefile.am (pinentry_w32_LDFLAGS): Remove -mconsole. | ||
916 | 593 | |||
917 | 594 | * w32/main.c (wchar_to_utf8): New. | ||
918 | 595 | (ok_button_clicked): Use it. | ||
919 | 596 | (utf8_to_wchar): New. | ||
920 | 597 | (set_dlg_item_text): New. | ||
921 | 598 | (dlg_proc): Use new function so that we are able to correctly | ||
922 | 599 | display all prompts. | ||
923 | 600 | (main): Load LockSetForegroundWindow. | ||
924 | 601 | (dlg_proc): Call LockSetForegroundWindow via its fnc ptr. | ||
925 | 602 | (center_window): New. Taken from GPGol. | ||
926 | 603 | (dlg_proc): Call it. | ||
927 | 604 | (w32_cmd_handler): Revamped the confirm mode. | ||
928 | 605 | |||
929 | 606 | 2007-06-18 Werner Koch <wk@g10code.com> | ||
930 | 607 | |||
931 | 608 | * w32/main.c (dlg_proc): Call LockSetForegroundWindow. | ||
932 | 609 | |||
933 | 610 | * Makefile.am (signed-dist, %.sig): Remove. | ||
934 | 611 | |||
935 | 612 | * autogen.sh: Modernized. | ||
936 | 613 | |||
937 | 614 | 2007-05-10 Marcus Brinkmann <marcus@g10code.de> | ||
938 | 615 | |||
939 | 616 | * pinentry/pinentry.h (pinentry_color_t): New type. | ||
940 | 617 | (struct pinentry): New members COLOR_FG, COLOR_FG_BRIGHT, | ||
941 | 618 | COLOR_BG, COLOR_SO. | ||
942 | 619 | * pinentry/pinentry.c (pinentry_parse_opts): Support new option --colors. | ||
943 | 620 | (parse_color): New function. | ||
944 | 621 | * pinentry/pinentry-curses.c (USE_COLORS): New macro. | ||
945 | 622 | (pinentry_color): New static variable. | ||
946 | 623 | (dialog_create): Redo color management. | ||
947 | 624 | |||
948 | 625 | * pinentry/pinentry-curses.c (dialog_create): Re-add calculation | ||
949 | 626 | of cancel button position. Adjust calculation of OK button | ||
950 | 627 | position if it is the only one used. | ||
951 | 628 | |||
952 | 629 | 2007-04-13 Marcus Brinkmann <marcus@g10code.de> | ||
953 | 630 | |||
954 | 631 | * qt/secqlineedit.h (SecQLineEdit::contextMenuEvent, | ||
955 | 632 | SecQLineEdit::createPopupMenu): Remove prototype. | ||
956 | 633 | * qt/secqlineedit.cpp (SecQLineEdit::contextMenuEvent, | ||
957 | 634 | SecQLineEdit::createPopupMenu): Remove implementation. | ||
958 | 635 | Submitted by Tobias Koenig <tokoe@kde.org>. | ||
959 | 636 | |||
960 | 637 | 2007-02-14 Werner Koch <wk@g10code.com> | ||
961 | 638 | |||
962 | 639 | * pinentry/pinentry.h (struct pinentry): Add TOUCH_FILE. | ||
963 | 640 | * pinentry/pinentry.c (option_handler): New option "touch-file". | ||
964 | 641 | (pinentry_have_display): Ignore an empty DISPLAY. | ||
965 | 642 | * pinentry/pinentry-curses.c (do_touch_file): New. | ||
966 | 643 | (curses_cmd_handler): Call it. | ||
967 | 644 | * configure.ac: Check for utime.h. | ||
968 | 645 | |||
969 | 646 | 2007-01-24 Werner Koch <wk@g10code.com> | ||
970 | 647 | |||
971 | 648 | * pinentry/pinentry.c (cmd_message): New. | ||
972 | 649 | (cmd_confirm): New command option --one-button. | ||
973 | 650 | (cmd_getpin): Zeroise ONE_BUTTON. | ||
974 | 651 | * pinentry/pinentry.h (struct pinentry): Add field ONE_BUTTON. | ||
975 | 652 | * gtk/pinentry-gtk.c (create_window): Take care of new option. | ||
976 | 653 | * gtk+-2/pinentry-gtk-2.c (create_window): Ditto. | ||
977 | 654 | * pinentry/pinentry-curses.c (dialog_create): Ditto. | ||
978 | 655 | (dialog_create, dialog_switch_pos): Allow CANCEL to be optional. | ||
979 | 656 | |||
980 | 657 | 2006-07-29 Marcus Brinkmann <marcus@g10code.de> | ||
981 | 658 | |||
982 | 659 | * secmem/secmem.c (init_pool): Close FD after establishing the | ||
983 | 660 | mapping. | ||
984 | 661 | |||
985 | 662 | 2005-09-28 Marcus Brinkmann <marcus@g10code.de> | ||
986 | 663 | |||
987 | 664 | * configure.ac (PINENTRY_GTK): Error out if iconv is not found but | ||
988 | 665 | needed. | ||
989 | 666 | |||
990 | 667 | * config.rpath: New file from gettext. Needed by iconv.m4. | ||
991 | 668 | |||
992 | 669 | 2005-07-11 Marcus Brinkmann <marcus@g10code.de> | ||
993 | 670 | |||
994 | 671 | * pinentry/pinentry-curses.c (dialog_switch_pos): Set the cursor | ||
995 | 672 | state to invisible before moving around. Move the cursor to the | ||
996 | 673 | beginning of the dialog buttons for accessibility. | ||
997 | 674 | |||
998 | 675 | 2005-06-16 Marcus Brinkmann <marcus@g10code.de> | ||
999 | 676 | |||
1000 | 677 | * pinentry/pinentry-curses.c (dialog_run): Only convert pin if a | ||
1001 | 678 | pin actually exists. | ||
1002 | 679 | |||
1003 | 680 | 2005-01-27 Werner Koch <wk@g10code.com> | ||
1004 | 681 | |||
1005 | 682 | Released 0.7.2. | ||
1006 | 683 | |||
1007 | 684 | * gtk+-2/Makefile.am: Removed padlock-keyhole.xpm. | ||
1008 | 685 | |||
1009 | 686 | * configure.ac: Use AC_GNU_SOURCE instead of the custom define. | ||
1010 | 687 | Prefer gtk2 pinentry over qt. | ||
1011 | 688 | |||
1012 | 689 | 2005-01-21 Marcus Brinkmann <marcus@g10code.de> | ||
1013 | 690 | |||
1014 | 691 | * doc/pinentry.texi: Fix spelling errors. | ||
1015 | 692 | Submitted by Ville Skyttä. | ||
1016 | 693 | |||
1017 | 694 | 2004-12-23 Werner Koch <wk@g10code.com> | ||
1018 | 695 | |||
1019 | 696 | * w32/pinentry-w32.rc: Remove the default texts for description, | ||
1020 | 697 | prompt and error. Make it system modal. Enlarge the description | ||
1021 | 698 | field. | ||
1022 | 699 | |||
1023 | 700 | 2004-12-22 Timo Schulz <twoaday@g10code.com> | ||
1024 | 701 | |||
1025 | 702 | * w32/main.c: Remove all helper functions and use a callback | ||
1026 | 703 | to set the dialog items directly. | ||
1027 | 704 | (dlg_proc): Set 'result' to -1 to indicate cancel. | ||
1028 | 705 | (ok_button_clicked): Adjusted. Set 'result' to the len of | ||
1029 | 706 | the PIN to indicate success. | ||
1030 | 707 | |||
1031 | 708 | 2004-12-22 Werner Koch <wk@g10code.com> | ||
1032 | 709 | |||
1033 | 710 | * w32/main.c: Simplified. | ||
1034 | 711 | * w32/dialog.h, w32/dialog.c, w32/controller.h, w32/controller.c: | ||
1035 | 712 | Removed | ||
1036 | 713 | |||
1037 | 714 | * w32/resource.h, w32/pinentry-w32.rc, w32/main.c, w32/dialog.h | ||
1038 | 715 | * w32/dialog.c, w32/controller.h, w32/controller.c | ||
1039 | 716 | * w32/Makefile.am: New. Based on Timo's work. | ||
1040 | 717 | |||
1041 | 718 | Update to automake 1.9. | ||
1042 | 719 | |||
1043 | 720 | * autogen.sh (configure_ac): Add --build-w32 option. | ||
1044 | 721 | * Makefile.am: Support for the W32 pinentry. | ||
1045 | 722 | * configure.ac: Ditto. Reformatted some error messages. | ||
1046 | 723 | Define the usual conditionals for W32. | ||
1047 | 724 | Check for a couple of more usually required headers. | ||
1048 | 725 | |||
1049 | 726 | * pinentry/pinentry.h (sleep) [W32]: New. | ||
1050 | 727 | |||
1051 | 728 | * pinentry/pinentry.c: Include langinfo.h only if available. | ||
1052 | 729 | (pinentry_loop) [DOSISH]: Don't do uid check. | ||
1053 | 730 | |||
1054 | 731 | * secmem/util.c [DOSISH]: Disable UID stuff. | ||
1055 | 732 | |||
1056 | 733 | 2004-09-27 Marcus Brinkmann <marcus@g10code.de> | ||
1057 | 734 | |||
1058 | 735 | * acinclude.m4 (IU_LIB_NCURSES, IU_LIB_CURSES, IU_LIB_TERMCAP): | ||
1059 | 736 | Moved to m4/curses.m4. | ||
1060 | 737 | (AM_ICONV): Moved to m4/iconv.m4. | ||
1061 | 738 | (AM_PATH_GLIB): Moved to m4/glib.m4. | ||
1062 | 739 | (QT_FIND_FILE, QT_PATH_MOC, QT_PATH_X, QT_PRINT_PROGRAM, | ||
1063 | 740 | QT_CHECK_VERSION, QT_PATH_1_3, QT_PATH, QT_CHECK_COMPILER_FLAG, | ||
1064 | 741 | QT_REMOVE_FORBIDDEN, QT_VALIDIFY_CXXFLAGS, QT_CHECK_COMPILERS, | ||
1065 | 742 | QT_CHECK_RPATH, QT_CHECK_LIBPTHREAD, QT_CHECK_PTHREAD_OPTION, | ||
1066 | 743 | QT_CHECK_THREADING): Move to m4/qt.m4. | ||
1067 | 744 | |||
1068 | 745 | 2004-09-21 Marcus Brinkmann <marcus@g10code.de> | ||
1069 | 746 | |||
1070 | 747 | * qt/Makefile.am (pinentry_qt_LDFLAGS): Add $(QT_RPATH). | ||
1071 | 748 | Requested by Leo Savernik <l.savernik@aon.at>. | ||
1072 | 749 | |||
1073 | 750 | 2004-09-02 Marcus Brinkmann <marcus@g10code.de> | ||
1074 | 751 | |||
1075 | 752 | * gtk+-2/padlock-keyhole.xpm: File removed. | ||
1076 | 753 | * gtk+-2/pinentry-gtk-2.c (create_window): Use stock icon. | ||
1077 | 754 | * gtk+-2/gtksecentry.h, gtk+-2/gtksecentry.c: Fix copyright notice. | ||
1078 | 755 | |||
1079 | 756 | Submitted by Albrecht Dress albrecht.dress@arcor.de. | ||
1080 | 757 | |||
1081 | 758 | 2004-08-17 Marcus Brinkmann <marcus@g10code.de> | ||
1082 | 759 | |||
1083 | 760 | * configure.ac: Invoke AC_PROG_LN_S. | ||
1084 | 761 | (PINENTRY_DEFAULT): New variable. Substitute it. Fail if no | ||
1085 | 762 | default can be determined. | ||
1086 | 763 | * Makefile.am (install-exec-local): Install pinentry default link. | ||
1087 | 764 | |||
1088 | 765 | * configure.ac: Check for Gtk+-2. | ||
1089 | 766 | * gtk+-2: New directory with gtk+-2 pinentry. | ||
1090 | 767 | * gtk+-2/Makefile.am, gtk+-2/gtksecentry.h, gtk+-2/gtksecentry.c, | ||
1091 | 768 | gtk+-2/pinentry-gtk-2.c, gtk+-2/padlock-keyhole.xpm: New files. | ||
1092 | 769 | * Makefile.am (pinentry_gtk_2): New variable. | ||
1093 | 770 | (SUBDIRS): Add pinentry_gtk_2. | ||
1094 | 771 | |||
1095 | 772 | Submitted by Albrecht Dress albrecht.dress@arcor.de. | ||
1096 | 773 | |||
1097 | 774 | 2004-08-04 Werner Koch <wk@g10code.de> | ||
1098 | 775 | |||
1099 | 776 | * pinentry/pinentry.c (usage): Print help to stdout. | ||
1100 | 777 | |||
1101 | 778 | 2004-07-30 Moritz Schulte <moritz@g10code.com> | ||
1102 | 779 | |||
1103 | 780 | * qt/Makefile.am (ncurses_include): Removed | ||
1104 | 781 | -I$(top_srcdir)/pinentry ... | ||
1105 | 782 | (AM_CPPFLAGS): ... added: -I$(top_srcdir)/pinentry. Thanks to | ||
1106 | 783 | Peter Eisentraut. | ||
1107 | 784 | |||
1108 | 785 | * pinentry/pinentry.c (pinentry_utf8_to_local): Declare INPUT | ||
1109 | 786 | const. | ||
1110 | 787 | (pinentry_local_to_utf8): Likewise. | ||
1111 | 788 | (pinentry_utf8_to_local, pinentry_local_to_utf8): Compile only, if | ||
1112 | 789 | either Curses or GTK+ support is enabled. | ||
1113 | 790 | * configure.ac: Do also check for libiconv when the GTK+ version | ||
1114 | 791 | of pinentry is to be build. Define PINENTRY_CURSES, PINENTRY_GTK, | ||
1115 | 792 | PINENTRY_QT depending on which versions of pinentry should be | ||
1116 | 793 | build. | ||
1117 | 794 | |||
1118 | 795 | 2004-05-21 Marcus Brinkmann <marcus@g10code.de> | ||
1119 | 796 | |||
1120 | 797 | * acinclude.m4 (QT_CHECK_DIRECT): Removed. | ||
1121 | 798 | (QT_PATH_1_3): Do never invoke QT_CHECK_DIRECT. | ||
1122 | 799 | |||
1123 | 800 | 2004-04-21 Werner Koch <wk@gnupg.org> | ||
1124 | 801 | |||
1125 | 802 | Released 0.7.1. | ||
1126 | 803 | |||
1127 | 804 | 2004-04-20 Werner Koch <wk@gnupg.org> | ||
1128 | 805 | |||
1129 | 806 | * secmem/secmem.c [!ORIGINAL_GPG_VERSION]: Include util.h for some | ||
1130 | 807 | typedefs and protos. | ||
1131 | 808 | (secmem_free, secmem_term): Use wipememory2 instead of memset. | ||
1132 | 809 | |||
1133 | 810 | * autogen.sh (configure_ac): Fixed version check (s/==/=/). | ||
1134 | 811 | |||
1135 | 812 | 2004-04-02 Thomas Schwinge <schwinge@nic-nac-project.de> | ||
1136 | 813 | |||
1137 | 814 | * autogen.sh: Added ACLOCAL_FLAGS. | ||
1138 | 815 | |||
1139 | 816 | 2004-02-23 Marcus Brinkmann <marcus@g10code.de> | ||
1140 | 817 | |||
1141 | 818 | * qt/main.cpp: Include "pinentry.h", not <pinentry.h>. | ||
1142 | 819 | |||
1143 | 820 | 2004-01-30 Werner Koch <wk@gnupg.org> | ||
1144 | 821 | |||
1145 | 822 | * configure.ac (fopencookie): Remove that test. | ||
1146 | 823 | |||
1147 | 824 | 2004-01-28 Moritz Schulte <mo@g10code.com> | ||
1148 | 825 | |||
1149 | 826 | * gtk/gtksecentry.c: | ||
1150 | 827 | (gtk_secure_entry_key_press): Treat GDK_KP_Enter just like | ||
1151 | 828 | GDK_Return. | ||
1152 | 829 | |||
1153 | 830 | 2004-01-18 Marcus Brinkmann <marcus@g10code.de> | ||
1154 | 831 | |||
1155 | 832 | * qt/secqstring.cpp: Do not include "private/qunicodetables_p.h". | ||
1156 | 833 | (isRightToLeft): De-optimize direction query. | ||
1157 | 834 | |||
1158 | 835 | * qt/secqinternal_p.h, qt/secqinternal.cpp: New files. | ||
1159 | 836 | * qt/Makefile.am (pinentry_qt_SOURCES): Add secqinternal_p.h | ||
1160 | 837 | and secqinternal.cpp. | ||
1161 | 838 | (EXTRA_DIST): Add README.SecQ. | ||
1162 | 839 | * qt/secqlineedit.cpp: Include "secqinternal_p.h". | ||
1163 | 840 | (drawContents): Use SecQSharedDoubleBuffer. | ||
1164 | 841 | |||
1165 | 842 | 2004-01-02 Werner Koch <wk@gnupg.org> | ||
1166 | 843 | |||
1167 | 844 | * configure.ac: Early check for a c++ compiler. | ||
1168 | 845 | |||
1169 | 846 | 2003-12-23 Werner Koch <wk@gnupg.org> | ||
1170 | 847 | |||
1171 | 848 | Released 0.7.0. | ||
1172 | 849 | |||
1173 | 850 | Added Manifest files to all directories. | ||
1174 | 851 | |||
1175 | 852 | 2003-12-22 Werner Koch <wk@gnupg.org> | ||
1176 | 853 | |||
1177 | 854 | * qt/main.cpp: Include errno.h. | ||
1178 | 855 | (main): Translate the --display option to -display, so that the Qt | ||
1179 | 856 | init code can grasp it. | ||
1180 | 857 | |||
1181 | 858 | * doc/ChangeLog: Removed and merged with this file. | ||
1182 | 859 | * doc/pinentry.texi: Cleaned up. | ||
1183 | 860 | * doc/fdl.texi: Removed. | ||
1184 | 861 | |||
1185 | 862 | * pinentry/pinentry.h (struct pinentry): Added LOCALE_ERR. | ||
1186 | 863 | * gtk/pinentry-gtk.c (button_clicked): Set the LOCAE_ERR flag. | ||
1187 | 864 | * pinentry/pinentry-curses.c (dialog_run): Ditto. | ||
1188 | 865 | * pinentry/pinentry.c (cmd_getpin, cmd_confirm): Check this flag. | ||
1189 | 866 | (pinentry_local_to_utf8): Release the correct buffer in the error | ||
1190 | 867 | case. Print diagnostics. | ||
1191 | 868 | (pinentry_utf8_to_local): Print diagnostics. | ||
1192 | 869 | (pinentry_parse_opts): Make short options work. | ||
1193 | 870 | (pinentry_utf8_to_local): Pass nl_langinfo to iconv_open. | ||
1194 | 871 | |||
1195 | 872 | * gtk/pinentry-gtk.c (button_clicked): Use the right value as | ||
1196 | 873 | input for the conversion. | ||
1197 | 874 | |||
1198 | 875 | * pinentry/pinentry.c: New variable THIS_PGMNAME. | ||
1199 | 876 | (pinentry_init): Add arg PGMNAME and store it. Use it at all | ||
1200 | 877 | marked placed instead of the constant "pinentry". | ||
1201 | 878 | (usage): Use it here too. | ||
1202 | 879 | * curses/pinentry-curses.c (main): Call pinentry_init with our name. | ||
1203 | 880 | * qt/main.cpp (main): Ditto. | ||
1204 | 881 | * gtk/pinentry-gtk.c (main): Ditto. | ||
1205 | 882 | |||
1206 | 883 | * configure.ac: Check for mmap. | ||
1207 | 884 | |||
1208 | 885 | * secmem/util.h (wipememory2,wipememory,wipe): New. | ||
1209 | 886 | * secmem/util.c (wipe): Removed. | ||
1210 | 887 | * secmem/util.c (lower_privs, raise_privs): Commented out. | ||
1211 | 888 | |||
1212 | 889 | * pinentry/pinentry.c (pinentry_loop): Add paranoia check for | ||
1213 | 890 | dropped privs. | ||
1214 | 891 | |||
1215 | 892 | * secmem/secmem.c (lock_pool): Cleanup syntax of cpp directives. | ||
1216 | 893 | |||
1217 | 894 | * gtk/pinentry-gtk.c (main): Print package name in the version line. | ||
1218 | 895 | * curses/pinentry-curses.c (main): Ditto. | ||
1219 | 896 | * qt/main.cpp (main): Ditto. Fixed typo. | ||
1220 | 897 | |||
1221 | 898 | * gtk/pinentry-gtk.c: Include memory.h. | ||
1222 | 899 | |||
1223 | 900 | 2003-12-20 Marcus Brinkmann <marcus@g10code.de> | ||
1224 | 901 | |||
1225 | 902 | * pinentry/pinentry.h (struct pinentry): New member PARENT_WID. | ||
1226 | 903 | * pinentry/pinentry.c (pinentry): Add new member here. | ||
1227 | 904 | (usage): Add --parent-wid. | ||
1228 | 905 | (pinentry_parse_opts): Add case for "parent-wid". | ||
1229 | 906 | (option_handler): Same here. | ||
1230 | 907 | |||
1231 | 908 | 2003-12-19 Marcus Brinkmann <marcus@g10code.de> | ||
1232 | 909 | |||
1233 | 910 | * pinentry/pinentry.c (cmd_setcancel): Use strcpy_escaped. | ||
1234 | 911 | (cmd_setok): Likewise. | ||
1235 | 912 | (cmd_setprompt): Likewise. | ||
1236 | 913 | (pinentry_utf8_to_local): Don't use | ||
1237 | 914 | nl_langinfo, but just lc_ctype directly. | ||
1238 | 915 | * pinentry/pinentry.c (cmd_getpin): Do not convert passphrase to | ||
1239 | 916 | UTF-8 here. | ||
1240 | 917 | * gtk/pinentry-gtk.c (button_clicked): Convert passphrase to UTF8 | ||
1241 | 918 | here. | ||
1242 | 919 | * pinentry/pinentry-curses.c (dialog_run): Likewise. | ||
1243 | 920 | |||
1244 | 921 | 2003-12-14 Marcus Brinkmann <marcus@g10code.de> | ||
1245 | 922 | |||
1246 | 923 | * pinentry/pinentry.c (pinentry_init): Register secmem_term as | ||
1247 | 924 | atexit function. Set assuan malloc hooks to secmem. | ||
1248 | 925 | (pinentry_parse_opts): Add break statement to silence gcc warning. | ||
1249 | 926 | * pinentry/pinentry.c (cmd_getpin): If canceled, release and clear | ||
1250 | 927 | PINENTRY->pin nevertheless. | ||
1251 | 928 | |||
1252 | 929 | * acinclude.m4 (qt_incdirs): Add /usr/include/qt3. | ||
1253 | 930 | * qt/Makefile.am (pinentry_qt_SOURCES): Remove cppmemory.h, | ||
1254 | 931 | cppmemory.cpp, pinentrycontroller.h, pinentrycontroller.cpp. | ||
1255 | 932 | (nodist_pinentry_qt_SOURCES): Remove pinentrycontroller.moc.cpp. | ||
1256 | 933 | (libcurses): Move ../pinentry/libpinentry.a from here to ... | ||
1257 | 934 | (pinentry_qt_LDADD): ... here. Change order a bit to make it | ||
1258 | 935 | work. | ||
1259 | 936 | * qt/cppmemory.h, qt/cppmemory.cpp, qt/pinentrycontroller.h, | ||
1260 | 937 | qt/pinentrycontroller.cpp: Files removed. | ||
1261 | 938 | * qt/secqstring.h, qt/secqstring.cpp, secqlineedit.h, | ||
1262 | 939 | secqlineedit.cpp: New files. | ||
1263 | 940 | * qt/Makefile.am (pinentry_qt_SOURCES): Add secqstring.h, | ||
1264 | 941 | secqstring.cpp, secqlineedit.h, and secqlineedit.cpp. | ||
1265 | 942 | (nodist_pinentry_qt_SOURCES): Add secqlineedit.moc.cpp. | ||
1266 | 943 | * qt/main.cpp: Do not include "memory.h" or "secmem-util.h", nor | ||
1267 | 944 | <new> or "pinentrycontroller.h". Include <qapplication.h>, | ||
1268 | 945 | <qmessagebox.h>, <qwidget.h> and "secqstring.h". Always include | ||
1269 | 946 | <pinentry.h>. | ||
1270 | 947 | [USE_KDE]: Remove all instances. | ||
1271 | 948 | (curses_main): Function removed. | ||
1272 | 949 | (my_new_handler): Likewise. | ||
1273 | 950 | (qt_main): Likewise. | ||
1274 | 951 | (qt_cmd_handler): New function. | ||
1275 | 952 | (pinentry_cmd_handler): Define always (to qt_cmd_handler). | ||
1276 | 953 | (main): Rewritten. | ||
1277 | 954 | * qt/pinentrydialog.cpp: Do not include <qlineedit.h>, but | ||
1278 | 955 | "secqlineedit.h". | ||
1279 | 956 | (PinEntryDialog::PinEntryDialog): Make _edit a SecQLineEdit | ||
1280 | 957 | object. Connect accepted SIGNAL to accept SLOT, and rejected | ||
1281 | 958 | SIGNAL to reject SLOT. | ||
1282 | 959 | (PinEntryDialog::setText): Make argument SecQString rather than | ||
1283 | 960 | QString. | ||
1284 | 961 | (PinEntryDialog::text): Likewise for return value. | ||
1285 | 962 | * qt/pinentrydialog.h: Declare SecQString and SecQLineEdit classes. | ||
1286 | 963 | (class PinEntryDialog): Disable property text (for now). Adjust | ||
1287 | 964 | argument of setText and return value of text, as well as type of | ||
1288 | 965 | _edit. | ||
1289 | 966 | |||
1290 | 967 | 2003-12-09 Werner Koch <wk@gnupg.org> | ||
1291 | 968 | |||
1292 | 969 | * README.CVS: New. | ||
1293 | 970 | * Makefile.am (EXTRA_DIST): Add README.CVS | ||
1294 | 971 | (ACLOCAL_AMFLAGS): New. | ||
1295 | 972 | * configure.ac: Added min_automake_versions. | ||
1296 | 973 | * autogen.sh: Revamped. | ||
1297 | 974 | |||
1298 | 975 | 2003-04-23 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> | ||
1299 | 976 | |||
1300 | 977 | * configure.ac: Version 0.6.10-cvs | ||
1301 | 978 | |||
1302 | 979 | 2003-04-23 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> | ||
1303 | 980 | |||
1304 | 981 | * configure.ac: Version 0.6.9 | ||
1305 | 982 | * qt/Makefile.am: Added moc files to DISTCLEANFILES | ||
1306 | 983 | * qt/pinentrycontroller.cpp: Dont spew assuan debug stuff out on stderr. | ||
1307 | 984 | |||
1308 | 985 | 2003-03-26 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> | ||
1309 | 986 | |||
1310 | 987 | * qt/cppmemory.cpp, qt/main.cpp: Only override array allocation | ||
1311 | 988 | operators. This should take care of the reported memory-problems | ||
1312 | 989 | and even make pinentry-qt use a bit less memory. | ||
1313 | 990 | |||
1314 | 991 | 2003-02-15 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> | ||
1315 | 992 | |||
1316 | 993 | * qt/pinentrydialog.h, qt/pinentrydialog.cpp: Added icons | ||
1317 | 994 | for error/non-error messages. | ||
1318 | 995 | |||
1319 | 996 | 2003-02-07 Marcus Brinkmann <marcus@g10code.de> | ||
1320 | 997 | |||
1321 | 998 | Released 0.6.8. | ||
1322 | 999 | |||
1323 | 1000 | 2003-02-04 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> | ||
1324 | 1001 | |||
1325 | 1002 | * qt/main.cpp: Work around '--display' option. This fixes | ||
1326 | 1003 | the pinentry-qt problem reported by several people lately. | ||
1327 | 1004 | |||
1328 | 1005 | 2003-01-24 Werner Koch <wk@gnupg.org> | ||
1329 | 1006 | |||
1330 | 1007 | * autogen.sh: Print a hint to use maintainer mode. | ||
1331 | 1008 | |||
1332 | 1009 | 2002-12-24 Marcus Brinkmann <marcus@g10code.de> | ||
1333 | 1010 | |||
1334 | 1011 | * pinentry/pinentry-curses.c (collect_line): New function. | ||
1335 | 1012 | (COPY_OUT, MAKE_BUTTON): New macros. | ||
1336 | 1013 | (dialog_create): Rewrite the initializing code and the description | ||
1337 | 1014 | calculation routine with word wrapping. | ||
1338 | 1015 | |||
1339 | 1016 | 2002-11-20 Werner Koch <wk@gnupg.org> | ||
1340 | 1017 | |||
1341 | 1018 | Released 0.6.7. | ||
1342 | 1019 | |||
1343 | 1020 | * pinentry/pinentry-curses.c (dialog_create): Better truncate | ||
1344 | 1021 | lines than to go into an infinite loop. We need to implement word | ||
1345 | 1022 | wrap. | ||
1346 | 1023 | (dialog_run): Add DIALOG_POS_NONE to switch so prevent a warning. | ||
1347 | 1024 | |||
1348 | 1025 | 2002-11-12 Werner Koch <wk@gnupg.org> | ||
1349 | 1026 | |||
1350 | 1027 | * config.sub, config.guess: Updated from ftp.gnu.org/gnu/config | ||
1351 | 1028 | to version 2002-11-08. | ||
1352 | 1029 | |||
1353 | 1030 | 2002-11-09 Werner Koch <wk@gnupg.org> | ||
1354 | 1031 | |||
1355 | 1032 | Released 0.6.6. | ||
1356 | 1033 | |||
1357 | 1034 | 2002-11-08 Werner Koch <wk@gnupg.org> | ||
1358 | 1035 | |||
1359 | 1036 | * pinentry/pinentry-curses.c (convert_utf8_string): Renamed to | ||
1360 | 1037 | * pinentry/pinentry.c (pinentry_utf8_to_local): this. Changed | ||
1361 | 1038 | callers. | ||
1362 | 1039 | (pinentry_local_to_utf8): New. | ||
1363 | 1040 | (cmd_getpin): Convert result back to UTF-8. | ||
1364 | 1041 | * gtk/pinentry-gtk.c (create_utf8_label): New. | ||
1365 | 1042 | (create_window): Use it here to set the prompts. | ||
1366 | 1043 | |||
1367 | 1044 | 2002-11-06 Werner Koch <wk@gnupg.org> | ||
1368 | 1045 | |||
1369 | 1046 | * pinentry/pinentry-curses.c (dialog_run): Fixed retrun value tests | ||
1370 | 1047 | for fopen. | ||
1371 | 1048 | |||
1372 | 1049 | 2002-11-05 Werner Koch <wk@gnupg.org> | ||
1373 | 1050 | |||
1374 | 1051 | * secmem/util.c (init_uids): Make it a prototype. | ||
1375 | 1052 | |||
1376 | 1053 | * gtk/pinentry-gtk.c (enter_callback): Changed argument name to | ||
1377 | 1054 | avoid shadowing warning. | ||
1378 | 1055 | (create_window): Removed unused variable I. | ||
1379 | 1056 | (ok): Not used, commented. | ||
1380 | 1057 | |||
1381 | 1058 | * pinentry/pinentry.c: Include headers for getpid and sleep | ||
1382 | 1059 | prototypes. | ||
1383 | 1060 | |||
1384 | 1061 | * secmem/util.h: Correctly declare functions taking no args. | ||
1385 | 1062 | |||
1386 | 1063 | * gtk/pinentry-gtk.c: Move gtk headers to the top to avoid | ||
1387 | 1064 | compiler warnings about shadowing index etc. | ||
1388 | 1065 | |||
1389 | 1066 | * curses/pinentry-curses.c: Include stdio.h for the printf prototype. | ||
1390 | 1067 | |||
1391 | 1068 | * pinentry/pinentry-curses.c (dialog_switch_pos): Return a value. | ||
1392 | 1069 | |||
1393 | 1070 | * pinentry/pinentry.c (pinentry_have_display): New. | ||
1394 | 1071 | (pinentry_setbufferlen): Must return a value. Fixed documentation. | ||
1395 | 1072 | (usage): Print a question mark as a substitue for the program name. | ||
1396 | 1073 | |||
1397 | 1074 | * gtk/pinentry-gtk.c (main): use it here instead of getenv(). | ||
1398 | 1075 | * qt/main.cpp (main): Ditto. | ||
1399 | 1076 | |||
1400 | 1077 | 2002-10-11 Werner Koch <wk@gnupg.org> | ||
1401 | 1078 | |||
1402 | 1079 | * configure.ac, Makefile.am: Added doc/ and tests for makeinfo | ||
1403 | 1080 | |||
1404 | 1081 | * doc/pinentry.texi, doc/Makefile.am: New. | ||
1405 | 1082 | * doc/gpl.texi, doc/fdl.texi: Added these standard files. | ||
1406 | 1083 | |||
1407 | 1084 | 2002-09-30 Werner Koch <wk@gnupg.org> | ||
1408 | 1085 | |||
1409 | 1086 | Released 0.6.5. | ||
1410 | 1087 | |||
1411 | 1088 | * qt/pinentrycontroller.cpp (optionHandler): Make sure that a | ||
1412 | 1089 | value is returned. | ||
1413 | 1090 | * configure.ac: Use -Wall also for C++. | ||
1414 | 1091 | |||
1415 | 1092 | 2002-08-19 Steffen Hansen <steffen@hrhansen.dk> | ||
1416 | 1093 | |||
1417 | 1094 | * Relased 0.6.4. | ||
1418 | 1095 | |||
1419 | 1096 | 2002-08-11 Steffen Hansen <steffen@hrhansen.dk> | ||
1420 | 1097 | |||
1421 | 1098 | * Adapted pinentry-qt to new CONFIRM spec. | ||
1422 | 1099 | |||
1423 | 1100 | 2002-06-26 Werner Koch <wk@gnupg.org> | ||
1424 | 1101 | |||
1425 | 1102 | Release 0.6.3. | ||
1426 | 1103 | |||
1427 | 1104 | 2002-05-24 Werner Koch <wk@gnupg.org> | ||
1428 | 1105 | |||
1429 | 1106 | * AUTHORS: Added Marcus | ||
1430 | 1107 | * README: Fixed spelling of Quintuple-Agent. | ||
1431 | 1108 | |||
1432 | 1109 | 2002-05-13 Marcus Brinkmann <marcus@g10code.de> | ||
1433 | 1110 | |||
1434 | 1111 | Released 0.6.2. | ||
1435 | 1112 | |||
1436 | 1113 | * configure.ac: Set version number to 0.6.2. | ||
1437 | 1114 | * NEWS: Add information for 0.6.2. | ||
1438 | 1115 | * README: Update for release. | ||
1439 | 1116 | |||
1440 | 1117 | 2002-05-09 Marcus Brinkmann <marcus@g10code.de> | ||
1441 | 1118 | |||
1442 | 1119 | * configure.ac: Add option --enable-fallback-curses and bind it to | ||
1443 | 1120 | the ncurses check. Add automake conditional | ||
1444 | 1121 | BUILD_LIBPINENTRY_CURSES and FALLBACK_CURSES. Add preprocessor | ||
1445 | 1122 | symbol FALLBACK_CURSES. | ||
1446 | 1123 | |||
1447 | 1124 | * curses/Makefile.am (AM_CPPFLAGS): Add $(NCURSES_INCLUDE). | ||
1448 | 1125 | (LDADD): Add ../pinentry/libpinentry-curses.a. | ||
1449 | 1126 | * curses/pinentry-curses.c: Include "pinentry-curses.h". | ||
1450 | 1127 | Moved most of the meat to ... | ||
1451 | 1128 | * pinentry/pinentry-curses.c: ... here. New file. Make all | ||
1452 | 1129 | functions and global variables static. | ||
1453 | 1130 | (dialog_cmd_handler): Rename to ... | ||
1454 | 1131 | (curses_cmd_handler): ... this. | ||
1455 | 1132 | * pinentry/pinentry-curses.h: New file. | ||
1456 | 1133 | * pinentry/Makefile.am (noinst_LIBRARIES) | ||
1457 | 1134 | [BUILD_LIBPINENTRY_CURSES]: Add libpinentry-curses.a. | ||
1458 | 1135 | (libpinentry_curses_a_SOURCES): New target. | ||
1459 | 1136 | |||
1460 | 1137 | * gtk/Makefile.am (INCLUDES): Moved all to ... | ||
1461 | 1138 | (AM_CPPFLAGS): ... here. | ||
1462 | 1139 | [CURSES_FALLBACK]: Define ncurses_include and libcurses. | ||
1463 | 1140 | (AM_CPPFLAGS): Add $(ncurses_include). | ||
1464 | 1141 | (LDADD): Add $(libcurses). | ||
1465 | 1142 | * gtk/pinentry-gtk.c: Rename TIMEOUT to TIME_OUT to avoid conflict | ||
1466 | 1143 | with curses.h. | ||
1467 | 1144 | [CURSES_FALLBACK]: Include "pinentry-curses.h". | ||
1468 | 1145 | (button_clicked): Likewise. | ||
1469 | 1146 | (create_window): Likewise. | ||
1470 | 1147 | (cmd_handler): Renamed to ... | ||
1471 | 1148 | (gtk_cmd_handler): ... this. | ||
1472 | 1149 | (pinentry_cmd_handler): Set to gtk_cmd_handler. | ||
1473 | 1150 | (main) [CURSES_FALLBACK]: Initialize GTK+ only if environment | ||
1474 | 1151 | variable DISPLAY is set, otherwise fall back to curses dialog. | ||
1475 | 1152 | |||
1476 | 1153 | * pinentry/pinentry.h: Protect against multiple inclusion. | ||
1477 | 1154 | |||
1478 | 1155 | 2002-05-09 Marcus Brinkmann <marcus@g10code.de> | ||
1479 | 1156 | |||
1480 | 1157 | * curses/pinentry-curses.c (dialog_create): Allow multi-line error | ||
1481 | 1158 | texts. | ||
1482 | 1159 | |||
1483 | 1160 | * pinentry/pinentry.c (cmd_seterror): Call strcpy_escaped, rather | ||
1484 | 1161 | than strcpy, to allow percent-escaping the error text. | ||
1485 | 1162 | |||
1486 | 1163 | 2002-04-25 Steffen Hansen <steffen@hrhansen.dk> | ||
1487 | 1164 | |||
1488 | 1165 | * pinentry-qt: Use ok and cancel value if | ||
1489 | 1166 | provided. | ||
1490 | 1167 | |||
1491 | 1168 | 2002-04-25 Marcus Brinkmann <marcus@g10code.de> | ||
1492 | 1169 | |||
1493 | 1170 | * gtk/pinentry-gtk.c (create_window): Use ok and cancel value if | ||
1494 | 1171 | provided. | ||
1495 | 1172 | |||
1496 | 1173 | 2002-04-25 Marcus Brinkmann <marcus@g10code.de> | ||
1497 | 1174 | |||
1498 | 1175 | * qt/pinentrycontroller.h: New members _ok and _cancel. | ||
1499 | 1176 | * qt/pinentrycontroller.cpp (registerCommands): Add SETOK and SETCANCEL. | ||
1500 | 1177 | (assuanOk): New method. | ||
1501 | 1178 | (assuanCancel): Likewise. | ||
1502 | 1179 | |||
1503 | 1180 | 2002-04-25 Marcus Brinkmann <marcus@g10code.de> | ||
1504 | 1181 | |||
1505 | 1182 | * curses/pinentry-curses.c (dialog_create): Grok the new ok and | ||
1506 | 1183 | cancel members to set the pbutton texts, rather than parsing the | ||
1507 | 1184 | prompt in the confirm case. | ||
1508 | 1185 | |||
1509 | 1186 | * pinentry/pinentry.h (struct pinentry): Add new members ok and cancel. | ||
1510 | 1187 | * pinentry/pinentry.c (register_commands): Add new commands SETOK | ||
1511 | 1188 | and SETCANCEL to set button texts. | ||
1512 | 1189 | (struct pinentry pinentry): Add initializers for new members. | ||
1513 | 1190 | (cmd_setok): New function. | ||
1514 | 1191 | (cmd_setcancel): Likewise. | ||
1515 | 1192 | |||
1516 | 1193 | 2002-04-24 Marcus Brinkmann <marcus@g10code.de> | ||
1517 | 1194 | |||
1518 | 1195 | * curses/pinentry-curses.c (dialog_create): Add '<' and '>' around | ||
1519 | 1196 | the user provided button texts. Replace sizeof by strlen to fix | ||
1520 | 1197 | size calculation of ok and cancel button. | ||
1521 | 1198 | |||
1522 | 1199 | 2002-04-23 Marcus Brinkmann <marcus@g10code.de> | ||
1523 | 1200 | |||
1524 | 1201 | * pinentry/pinentry.h (struct pinentry): New variables lc_ctype | ||
1525 | 1202 | and lc_messages. | ||
1526 | 1203 | * pinentry/pinentry.c (usage): New options --lc-ctype and | ||
1527 | 1204 | --lc-messages. | ||
1528 | 1205 | (pinentry_parse_opts): Likewise. | ||
1529 | 1206 | (option_handler): Likewise. | ||
1530 | 1207 | (struct pinentry pinentry): New initializers for new members. | ||
1531 | 1208 | |||
1532 | 1209 | * curses/pinentry-curses.c (convert_utf8_string): New function. | ||
1533 | 1210 | (struct dialog): New members ok and cancel. | ||
1534 | 1211 | (dialog_create): New variables ERR, DESCRIPTION, ERROR, PROMPT, | ||
1535 | 1212 | OK, and CANCEL. Initialize them with the localised versions of | ||
1536 | 1213 | the pinentry strings. If in confirm mode, split up the prompt at | ||
1537 | 1214 | '|' and use the values as button texts. Use localised strings. | ||
1538 | 1215 | (dialog_switch_pos): Use localised strings. | ||
1539 | 1216 | (dialog_run): Free dialog strings. | ||
1540 | 1217 | |||
1541 | 1218 | * acinclude.m4 (AM_ICONV): New check from gettext. | ||
1542 | 1219 | * configure.ac: Run AM_ICONV if curses pinentry is build. | ||
1543 | 1220 | Don't check for inttypes.h, don't check size of unsigned int or | ||
1544 | 1221 | unsigned long. | ||
1545 | 1222 | (LIBCAP): Move check to interface independent part. | ||
1546 | 1223 | |||
1547 | 1224 | 2002-04-21 Steffen Hansen <steffen@hrhansen.dk> | ||
1548 | 1225 | |||
1549 | 1226 | * Removed X11 dependency and use Qt for grabbing the keyboard. | ||
1550 | 1227 | * Clear the lineedit before asking the user for the PIN. | ||
1551 | 1228 | |||
1552 | 1229 | 2002-04-12 Steffen Hansen <steffen@hrhansen.dk> | ||
1553 | 1230 | |||
1554 | 1231 | * Enable pinentry-qt if Qt is found | ||
1555 | 1232 | |||
1556 | 1233 | 2002-04-06 Marcus Brinkmann <marcus@g10code.de> | ||
1557 | 1234 | |||
1558 | 1235 | * qt: New directory. | ||
1559 | 1236 | * qt/Makefile.am, qt/cppmemory.cpp, qt/main.cpp, | ||
1560 | 1237 | pinentrycontroller.cpp, qt/pinentrycontroller.h, | ||
1561 | 1238 | qt/pinentrydialog.cpp, qt/pinentrydialog.h: New file, copied from | ||
1562 | 1239 | kde/. | ||
1563 | 1240 | * kde: Directory removed. | ||
1564 | 1241 | * kde/Makefile.am, kde/cppmemory.cpp, kde/main.cpp, | ||
1565 | 1242 | kde/pinentry.desktop, kde/pinentrycontroller.cpp, | ||
1566 | 1243 | kde/pinentrycontroller.h, kde/pinentrydialog.cpp, | ||
1567 | 1244 | kde/pinentrydialog.h: Files removed. | ||
1568 | 1245 | * acinclude.m4: Removed the KE checks and completely overhauled | ||
1569 | 1246 | the Qt checks, putting all Qt checks in their own namespace QT_, | ||
1570 | 1247 | and make it declare QT_-prefixed variables for linking and | ||
1571 | 1248 | compilation. | ||
1572 | 1249 | * configure.ac: Use the new Qt checks instead the KDE checks. | ||
1573 | 1250 | Replace "kde" with "qt" everywhere. | ||
1574 | 1251 | * Makefile.am: Replace "kde" with "qt" everywhere. | ||
1575 | 1252 | |||
1576 | 1253 | 2002-04-06 Marcus Brinkmann <marcus@g10code.de> | ||
1577 | 1254 | |||
1578 | 1255 | * acinclude.m4: Reworked the Qt and KDE checks, cutting out a lot | ||
1579 | 1256 | of dead and not-so-dead wood. Gave all KDE checks proper names. | ||
1580 | 1257 | * configure.ac: Use the new names for the KDE checks. | ||
1581 | 1258 | |||
1582 | 1259 | 2002-04-06 Marcus Brinkmann <marcus@g10code.de> | ||
1583 | 1260 | |||
1584 | 1261 | * kde/Makefile.am (EXTRA_DIST): Remove variable. | ||
1585 | 1262 | (install-data-local): Remove target. | ||
1586 | 1263 | (uninstall-local): Likewise. | ||
1587 | 1264 | |||
1588 | 1265 | 2002-04-05 Marcus Brinkmann <marcus@g10code.de> | ||
1589 | 1266 | |||
1590 | 1267 | Released 0.6.0. | ||
1591 | 1268 | |||
1592 | 1269 | * configure.ac: Set version number to 0.6. | ||
1593 | 1270 | * NEWS: Add information for 0.6.0. | ||
1594 | 1271 | * secmem/Makefile.am (libsecmem_a_SOURCES): Replace secmem.h with memory. | ||
1595 | 1272 | * kde/Makefile.am (pinentry_kde_SOURCES): Move | ||
1596 | 1273 | pinentrydialog.moc.cpp and pinentrycontroller.moc.cpp to ... | ||
1597 | 1274 | (nodist_pinentry_kde_SOURCES): ... this new target. | ||
1598 | 1275 | |||
1599 | 1276 | 2002-04-05 Marcus Brinkmann <marcus@g10code.de> | ||
1600 | 1277 | |||
1601 | 1278 | * acinclude.m4: A lot of new checks more or less straight from KDE's | ||
1602 | 1279 | admin/acinclude.m4.in. | ||
1603 | 1280 | * configure.ac (AC_CANONICAL_HOST): Call that macro. | ||
1604 | 1281 | (AC_CHECK_COMPILERS, AC_PATH_KDE): Call those macros if KDE | ||
1605 | 1282 | pinentry is enabled. | ||
1606 | 1283 | * kde/Makefile.am (CXXFLAGS, XXX_PREFIX, XXX_KDE_DEFINES, LIB_QT, | ||
1607 | 1284 | LIB_KDECORE, LIB_KDEUI, KDE_RPATH, MOC, kde_appsdir): Variables removed. | ||
1608 | 1285 | (AM_CPPFLAGS): Replace XXX_KDE_DEFINES by all_includes. | ||
1609 | 1286 | (pinentry_kde_LDFLAGS): Add all_libraries. | ||
1610 | 1287 | * README: Document that automatic check is not possible for KDE. | ||
1611 | 1288 | |||
1612 | 1289 | 2002-04-05 Marcus Brinkmann <marcus@g10code.de> | ||
1613 | 1290 | |||
1614 | 1291 | * curses/pinentry-curses.c (dialog_run): Add handling for TAB key. | ||
1615 | 1292 | (dialog_create): New variable description_x. Calculate dimension | ||
1616 | 1293 | of multi-line description correctly. | ||
1617 | 1294 | |||
1618 | 1295 | 2002-04-04 Marcus Brinkmann <marcus@g10code.de> | ||
1619 | 1296 | |||
1620 | 1297 | * pinentry/pinentry.h (struct pinentry): New members DISPLAY, | ||
1621 | 1298 | TTYNAME and TTYTYPE. | ||
1622 | 1299 | * pinentry/pinentry.c (pinentry): Likewise. | ||
1623 | 1300 | * pinentry/pinentry.c: Include <string.h>. | ||
1624 | 1301 | (usage): Add new options --display, | ||
1625 | 1302 | --ttyname and --ttytype. | ||
1626 | 1303 | (option_handler): Likewise. | ||
1627 | 1304 | (pinentry_parse_opts): Likewise. | ||
1628 | 1305 | |||
1629 | 1306 | * curses/pinentry-curses.c (dialog_cmd_handler): Use | ||
1630 | 1307 | PINENTRY->ttyname and PINENTRY->ttytype. | ||
1631 | 1308 | |||
1632 | 1309 | 2002-03-30 Marcus Brinkmann <marcus@g10code.de> | ||
1633 | 1310 | |||
1634 | 1311 | * acinclude.m4: Add AM_PATH_GLIB and AM_PATH_GTK. | ||
1635 | 1312 | |||
1636 | 1313 | 2002-03-29 Marcus Brinkmann <marcus@g10code.de> | ||
1637 | 1314 | |||
1638 | 1315 | * configure.ac: Choose a more appropriate AC_CONFIG_SRCDIR. | ||
1639 | 1316 | |||
1640 | 1317 | 2002-03-29 Marcus Brinkmann <marcus@g10code.de> | ||
1641 | 1318 | |||
1642 | 1319 | * kde/Makefile.am (pinentry_kde_LDADD): Link with $(LIBCAP). | ||
1643 | 1320 | * gtk/Makefile.am (install-exec-local): Moved to ... | ||
1644 | 1321 | * Makefile.am (install-exec-local): ... here. | ||
1645 | 1322 | |||
1646 | 1323 | 2002-03-29 Marcus Brinkmann <marcus@g10code.de> | ||
1647 | 1324 | |||
1648 | 1325 | * kde/Makefile.am (kde_appsdir): New variable. | ||
1649 | 1326 | * kde/Makefile.am (install-data-local): Use DESTDIR. | ||
1650 | 1327 | (uninstall-local): Likewise. | ||
1651 | 1328 | |||
1652 | 1329 | 2002-03-29 Marcus Brinkmann <marcus@g10code.de> | ||
1653 | 1330 | |||
1654 | 1331 | Merge of the gpinentry and curses pinentry program into the | ||
1655 | 1332 | pinentry distribution. For this, the structure of the repository | ||
1656 | 1333 | has been thoroughly overhauled. Some of the changes: | ||
1657 | 1334 | * secmem: New directory with secure memory allocation code. | ||
1658 | 1335 | * pinentry: New directory with pinentry support library. | ||
1659 | 1336 | * curses: New directory with curses frontend. | ||
1660 | 1337 | * gtk: New directory with GTK+ frontend. | ||
1661 | 1338 | * kde: New directory with only the core of the old kpinentry program. | ||
1662 | 1339 | * admin: Directory removed. | ||
1663 | 1340 | * po: Directory removed. | ||
1664 | 1341 | * kpinentry: Directory removed. | ||
1665 | 1342 | * doc: Directory removed. | ||
1666 | 1343 | * jnlib: Directory removed.x | ||
1667 | 1344 | |||
1668 | 1345 | The changes in more detail: | ||
1669 | 1346 | * AUTHORS: Add authors of other pinentry frontends. | ||
1670 | 1347 | * ChangeLog: Add the one from gpinentry. | ||
1671 | 1348 | * Makefile.am: Completely rewritten. | ||
1672 | 1349 | * README: Add content. | ||
1673 | 1350 | * TODO: Add content. | ||
1674 | 1351 | * NEWS: New file from gpinentry. | ||
1675 | 1352 | * THANKS: New file from gpinentry. | ||
1676 | 1353 | * acinclude.m4: New file. | ||
1677 | 1354 | * configure.ac: New file which configures for all frontends. | ||
1678 | 1355 | * curses/Makefile.am, curses/pinentry-curses.c: New files for | ||
1679 | 1356 | curses frontend. | ||
1680 | 1357 | * gtk/Makefile.am, gtk/gtksecentry.c, gtk/gtksecentry.h, | ||
1681 | 1358 | gtk/pinentry-gtk.c: New files, modified from gpinentry, for GTK+ | ||
1682 | 1359 | frontend. | ||
1683 | 1360 | * kde/Makefile.am, kde/cppmemory.cpp, kde/main.cpp, | ||
1684 | 1361 | kde/pinentry.desktop, kde/pinentrycontroller.cpp, | ||
1685 | 1362 | kde/pinentrycontroller.h, kde/pinentrydialog.cpp, | ||
1686 | 1363 | kde/pinentrydialog.h: New files, modified from kpinentry, for KDE | ||
1687 | 1364 | frontend. | ||
1688 | 1365 | * pinentry/Makefile.am, pinentry/pinentry.c, pinentry/pinentry.h: | ||
1689 | 1366 | New files containing pinentry support library, partly factored out | ||
1690 | 1367 | from gpinentry. | ||
1691 | 1368 | * secmem/Makefile.am, secmem/memory.h, secmem/secmem-util.h, | ||
1692 | 1369 | secmem/secmem.c, secmem/util.c, secmem/util.h: New files | ||
1693 | 1370 | containing secure memory allocation code common to all pinentry | ||
1694 | 1371 | frontends. | ||
1695 | 1372 | * Makefile.dist, acconfig.h, configure.files, configure.in.in: | ||
1696 | 1373 | Files removed in favor of new configure.ac. | ||
1697 | 1374 | * pinentry.lsm: Removed file never used. | ||
1698 | 1375 | * stamp-h.in: Removed generated file. | ||
1699 | 1376 | * admin/ChangeLog, admin/Makefile.common, admin/acinclude.m4.in, | ||
1700 | 1377 | admin/am_edit, admin/am_edit.py, admin/conf.change.pl, | ||
1701 | 1378 | admin/config.guess, admin/config.pl, admin/config.sub, | ||
1702 | 1379 | admin/configure.in.min, admin/debianrules, admin/depcomp, | ||
1703 | 1380 | admin/install-sh, admin/libtool.m4.in, admin/ltcf-c.sh, | ||
1704 | 1381 | admin/ltcf-cxx.sh, admin/ltcf-gcj.sh, admin/ltconfig, | ||
1705 | 1382 | admin/ltmain.sh, admin/missing, admin/mkinstalldirs, admin/ylwrap: | ||
1706 | 1383 | Removed KDE build suite in favor of configure.ac. | ||
1707 | 1384 | * doc/Makefile.am, doc/en/Makefile.am, doc/en/index.docbook: | ||
1708 | 1385 | Removed files never used. | ||
1709 | 1386 | * jnlib/ChangeLog, jnlib/Makefile.am, jnlib/argparse.c, | ||
1710 | 1387 | jnlib/argparse.h jnlib/dotlock.c, jnlib/dotlock.h, | ||
1711 | 1388 | jnlib/libjnlib-config.h, jnlib/logging.c, jnlib/logging.h, | ||
1712 | 1389 | jnlib/mischelp.h, jnlib/stringhelp.c, jnlib/stringhelp.h, | ||
1713 | 1390 | jnlib/strlist.c, jnlib/strlist.h, jnlib/types.h, jnlib/xmalloc.c, | ||
1714 | 1391 | jnlib/xmalloc.h: Removed files no longer used. | ||
1715 | 1392 | * kpinentry/Makefile.am, kpinentry/cppmemory.cpp, | ||
1716 | 1393 | kpinentry/cppmemory.h, kpinentry/i18n.h, kpinentry/main.cpp, | ||
1717 | 1394 | kpinentry/memory.h, kpinentry/pinentry.desktop, | ||
1718 | 1395 | kpinentry/pinentrycontroller.cpp, kpinentry/pinentrycontroller.h, | ||
1719 | 1396 | kpinentry/pinentrydialog.cpp, kpinentry/pinentrydialog.h, | ||
1720 | 1397 | kpinentry/secmem.cpp, kpinentry/util.cpp, kpinentry/util.h: | ||
1721 | 1398 | Removed files in favor of new files in kde/. | ||
1722 | 1399 | * po/Makefile.am, po/pinentry.pot: Removed files never used. | ||
1723 | 1400 | |||
1724 | 1401 | * autogen.sh: New file. | ||
1725 | 1402 | |||
1726 | 1403 | 2002-03-04 Werner Koch <wk@gnupg.org> | ||
1727 | 1404 | |||
1728 | 1405 | * gpinentry.c (enter_callback): New | ||
1729 | 1406 | (create_window): Connect it to the entry field. | ||
1730 | 1407 | |||
1731 | 1408 | 2002-02-18 Werner Koch <wk@gnupg.org> | ||
1732 | 1409 | |||
1733 | 1410 | Released 0.5.1. | ||
1734 | 1411 | |||
1735 | 1412 | * gpinentry.c (create_window): Add CONFIRM_MODE. | ||
1736 | 1413 | (cmd_confirm): Implemented. | ||
1737 | 1414 | |||
1738 | 1415 | * assuan/: Updated from NewPG. | ||
1739 | 1416 | |||
1740 | 1417 | 2002-01-20 Werner Koch <wk@gnupg.org> | ||
1741 | 1418 | |||
1742 | 1419 | * gpinentry.c (option_handler): New to allow changing of the grab | ||
1743 | 1420 | status. | ||
1744 | 1421 | (grab_keyboard): Shortcut this when global grab is not set. | ||
1745 | 1422 | |||
1746 | 1423 | 2002-01-04 Werner Koch <wk@gnupg.org> | ||
1747 | 1424 | |||
1748 | 1425 | Released 0.5.0. | ||
1749 | 1426 | |||
1750 | 1427 | * configure.ac: Bumbed version | ||
1751 | 1428 | |||
1752 | 1429 | * util.h (xtoi_1, xtoi_2): New. | ||
1753 | 1430 | * gpinentry.c (strcpy_escaped): New | ||
1754 | 1431 | (cmd_setdesc, cmd_seterror): Use it here to allo multiline texts. | ||
1755 | 1432 | |||
1756 | 1433 | * gpinentry: Removed debugging outbut | ||
1757 | 1434 | (create_window): Tweaked layout. | ||
1758 | 1435 | |||
1759 | 1436 | 2001-12-07 Werner Koch <wk@gnupg.org> | ||
1760 | 1437 | |||
1761 | 1438 | New package gpinentry based on quintuple-agent. | ||
1762 | 1439 | |||
1763 | 1440 | Removed all stuff except for the basic configuration stuff and | ||
1764 | 1441 | what is needed to build gpinentry. Also removed i18n support. | ||
1765 | 1442 | * gpinentry.c: Renamed from secret-query.c | ||
1766 | 1443 | |||
1767 | 1444 | 2001-02-12 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1768 | 1445 | |||
1769 | 1446 | * 1.0.0 released. Woo-hoo! | ||
1770 | 1447 | |||
1771 | 1448 | * configure.in, NEWS: Bumped version. | ||
1772 | 1449 | |||
1773 | 1450 | 2001-02-04 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1774 | 1451 | |||
1775 | 1452 | * agent.c (make_tmpdir): Honor $TMPDIR. | ||
1776 | 1453 | |||
1777 | 1454 | (agent): Would exit on every minor problem. Now, we just close the | ||
1778 | 1455 | offending connection. | ||
1779 | 1456 | Ignore SIGPIPE, so that EPIPE will close connection. | ||
1780 | 1457 | |||
1781 | 1458 | 2001-01-11 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1782 | 1459 | |||
1783 | 1460 | * secmem.c: Move one include statement so that the thing compiles. | ||
1784 | 1461 | |||
1785 | 1462 | * secret-query.c (main): Minor source cosmetics. | ||
1786 | 1463 | |||
1787 | 1464 | 2000-11-16 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1788 | 1465 | |||
1789 | 1466 | * gtksecentry.c (gtk_secure_entry_insert_text): Secured a couple | ||
1790 | 1467 | of memory (de)allocations that were missed. Thanks to John Steele | ||
1791 | 1468 | <jhs28@eng.cam.ac.uk> for spotting these. | ||
1792 | 1469 | |||
1793 | 1470 | 2000-11-10 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1794 | 1471 | |||
1795 | 1472 | * Thoughts: Removed in favor of new TODO. | ||
1796 | 1473 | |||
1797 | 1474 | * README: Remove content and refer to doc/manual.info instead. | ||
1798 | 1475 | |||
1799 | 1476 | * agent.c (do_get): Would burn badly on a premature exit of the | ||
1800 | 1477 | query program (which would occur routinely if you selected /cancel/). | ||
1801 | 1478 | |||
1802 | 1479 | 2000-10-25 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1803 | 1480 | |||
1804 | 1481 | * memory.h: Include sys/types.h for size_t. | ||
1805 | 1482 | |||
1806 | 1483 | 2000-10-08 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1807 | 1484 | |||
1808 | 1485 | * README: Removed apology about missing documentation. | ||
1809 | 1486 | Updated paragraph about Linux capability patch. | ||
1810 | 1487 | Typo & Refill. | ||
1811 | 1488 | |||
1812 | 1489 | 2000-10-03 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1813 | 1490 | |||
1814 | 1491 | * 0.9 released. | ||
1815 | 1492 | |||
1816 | 1493 | * Makefile.am (EXTRA_DIST): Distribute BUGS (the file, that is). | ||
1817 | 1494 | |||
1818 | 1495 | * configure.in, NEWS: Bumped version. | ||
1819 | 1496 | |||
1820 | 1497 | * Makefile.am, configure.in: Add debian subdir. | ||
1821 | 1498 | |||
1822 | 1499 | * README: Recommend GTK+. | ||
1823 | 1500 | Update list of checked platforms. | ||
1824 | 1501 | |||
1825 | 1502 | 2000-10-02 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1826 | 1503 | |||
1827 | 1504 | * secret-query.c (ok): Simplify. | ||
1828 | 1505 | Put empty line between headers and secret. | ||
1829 | 1506 | (usage): Document '--help' and '--version'. | ||
1830 | 1507 | |||
1831 | 1508 | * agent.c (do_get): Use enhanced secret-query output to fill in | ||
1832 | 1509 | options. | ||
1833 | 1510 | |||
1834 | 1511 | 2000-10-01 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1835 | 1512 | |||
1836 | 1513 | * secret-query.c (main): Clarify error. | ||
1837 | 1514 | |||
1838 | 1515 | * client.c (query_options): New global variable. | ||
1839 | 1516 | (main): New option '--query-options' to pass options to the query | ||
1840 | 1517 | program. | ||
1841 | 1518 | (xgetpass): Use it. | ||
1842 | 1519 | |||
1843 | 1520 | * agent.c (main): New option '--query-options' to pass options to | ||
1844 | 1521 | the query program. | ||
1845 | 1522 | (do_get): Use 'query_options'. | ||
1846 | 1523 | |||
1847 | 1524 | * acconfig.h, configure.in: Add QUERY_PROGRAM definition. | ||
1848 | 1525 | * client.c: Remove here. | ||
1849 | 1526 | * agent.c (do_get): Use it here, too. | ||
1850 | 1527 | |||
1851 | 1528 | * secret-query.c (main): New option '--no-global-grab' introduced, | ||
1852 | 1529 | that prevents keyboard grabbing unless the window has focus. | ||
1853 | 1530 | |||
1854 | 1531 | 2000-09-11 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1855 | 1532 | |||
1856 | 1533 | * secret-query.c (usage): Add two missing pieces of "\n\". | ||
1857 | 1534 | |||
1858 | 1535 | * agent.c (main): --nofork is now the default, and the option is | ||
1859 | 1536 | deprecated. New option --fork added to turn forking on again. | ||
1860 | 1537 | Close stdout (and stderr unless debugging) even when not forking, | ||
1861 | 1538 | so that normal usage inside eval is still possible. | ||
1862 | 1539 | (agent): Exit gracefully on HUP, so that logging out now kills the | ||
1863 | 1540 | agent. | ||
1864 | 1541 | |||
1865 | 1542 | * README (Contact Information): Old URL - duh! | ||
1866 | 1543 | (Using Secret Agent): We no longer fork per default. | ||
1867 | 1544 | |||
1868 | 1545 | * Makefile.am (lib/libutil.a): New target, allows targets that not | ||
1869 | 1546 | automatically recurse (but still depend on libutil.a) to succeed. | ||
1870 | 1547 | |||
1871 | 1548 | 2000-07-20 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1872 | 1549 | |||
1873 | 1550 | * secret-query.c (usage): New function. | ||
1874 | 1551 | (main): Parse options: debug, enhanced, help, version. | ||
1875 | 1552 | Turn on locale support. | ||
1876 | 1553 | If enhanced, insert widgets to ask for timeout and insurance. | ||
1877 | 1554 | (ok): If enhanced, print more information on exit. | ||
1878 | 1555 | (grab_keyboard): Die if grab was unsuccessful. | ||
1879 | 1556 | |||
1880 | 1557 | 2000-05-31 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1881 | 1558 | |||
1882 | 1559 | * 0.8 released. | ||
1883 | 1560 | |||
1884 | 1561 | * configure.in, NEWS: Bumped version. | ||
1885 | 1562 | |||
1886 | 1563 | * Makefile.am (SUBDIRS): Include doc. | ||
1887 | 1564 | |||
1888 | 1565 | * configure.in, acconfig.h: Check for ssize_t. | ||
1889 | 1566 | Check for vsnprintf(), strdup(). | ||
1890 | 1567 | Generate doc/Makefile. | ||
1891 | 1568 | |||
1892 | 1569 | * apgp.c, agpg.c, agentlib.c, util.c: Include more stuff. | ||
1893 | 1570 | |||
1894 | 1571 | * agent.c (do_get): Use asprintf() instead of snprintf() so we | ||
1895 | 1572 | don't need to roll our own for yet another function. | ||
1896 | 1573 | Fix some includes. | ||
1897 | 1574 | |||
1898 | 1575 | * acinclude.m4: gettext macros copied from automake and fixed. | ||
1899 | 1576 | |||
1900 | 1577 | 2000-05-30 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1901 | 1578 | |||
1902 | 1579 | * configure.in, Makefile.am: Properly include doc subdir. | ||
1903 | 1580 | |||
1904 | 1581 | 2000-05-29 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1905 | 1582 | |||
1906 | 1583 | * configure.in, acconfig.h: Add test for XMESSAGE path. | ||
1907 | 1584 | |||
1908 | 1585 | * client.c (main): Decode command from string to integer code | ||
1909 | 1586 | first, then evaluate that in ifs. | ||
1910 | 1587 | |||
1911 | 1588 | * secret-ask.c: New file, external ask-for-confirmation utility. | ||
1912 | 1589 | |||
1913 | 1590 | * configure.in, Makefile.am: Add secret-ask to programs being | ||
1914 | 1591 | built when GTK is available. Rename QUERY to more descriptive | ||
1915 | 1592 | GTK_PROGRAMS. | ||
1916 | 1593 | |||
1917 | 1594 | * agent.c (do_get): If GTK is available, try executing secret-ask | ||
1918 | 1595 | first. | ||
1919 | 1596 | Only put the comment into the insure-question if there is a | ||
1920 | 1597 | comment. | ||
1921 | 1598 | (main): --csh was missing from usage message. | ||
1922 | 1599 | |||
1923 | 1600 | 2000-04-23 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1924 | 1601 | |||
1925 | 1602 | * secret-query.c (constrain_size): Lower window max_width to | ||
1926 | 1603 | accomodate bugs in GTK and Scwm. | ||
1927 | 1604 | |||
1928 | 1605 | * agent.c (main): Set x_enabled if X appears to be available. | ||
1929 | 1606 | Use it to selectively make FLAGS_INSURE supported. | ||
1930 | 1607 | (do_get): Use it instead of testing at every call. | ||
1931 | 1608 | (do_put): Requests containing unsupported flags fail. | ||
1932 | 1609 | (forget_old_stuff): Would not set next_deadline correctly. | ||
1933 | 1610 | (do_get): Implement FLAGS_INSURE. | ||
1934 | 1611 | |||
1935 | 1612 | * client.c (main): "list" format changed so that comment is to the | ||
1936 | 1613 | far right. Display the deadline as proper date/time, too. | ||
1937 | 1614 | |||
1938 | 1615 | 1999-11-11 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1939 | 1616 | |||
1940 | 1617 | * agent.c (next_deadline): New global variable, holds time when | ||
1941 | 1618 | next secret has to be killed. | ||
1942 | 1619 | (store): Keep it up-to-date. | ||
1943 | 1620 | (forget_old_stuff): New function, reaps secrets ready to kill, | ||
1944 | 1621 | keeps next_deadline updated. | ||
1945 | 1622 | (agent): Use it on all secrets, whenever a deadline is active. | ||
1946 | 1623 | |||
1947 | 1624 | 1999-11-08 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1948 | 1625 | |||
1949 | 1626 | * agent.h (request_put): Add flags, deadline. Increase REQUEST_MAGIC. | ||
1950 | 1627 | (reply_get): Ditto, and increase REPLY_MAGIC. | ||
1951 | 1628 | * agent.c (store): Store flags, deadline in reply. | ||
1952 | 1629 | (do_put): Hand flags, deadline from request on to store(). | ||
1953 | 1630 | (do_get): Store on-demand queried secrets without deadline or | ||
1954 | 1631 | special flags, for now. | ||
1955 | 1632 | (agent): Do not ignore obsolete clients, return an error reply. | ||
1956 | 1633 | * agentlib.c (agent_put): Add flags, deadline arguments, and copy | ||
1957 | 1634 | them into the request. | ||
1958 | 1635 | * agentlib.h (agent_put): Update prototype. | ||
1959 | 1636 | * * client.c (main): Added --time-to-live (-t) and --insure (-i) | ||
1960 | 1637 | options, influencing PUT's deadline and flags, respectively. | ||
1961 | 1638 | (main): Change list format to include new attributes. | ||
1962 | 1639 | |||
1963 | 1640 | 1999-11-05 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1964 | 1641 | |||
1965 | 1642 | * configure.in: <getopt.h> check had redundant definition. | ||
1966 | 1643 | * acconfig.h: Remove here, too. | ||
1967 | 1644 | |||
1968 | 1645 | * configure.in: Check for <inttypes.h>. If not found, check for | ||
1969 | 1646 | unsigned {int, long} sizes. | ||
1970 | 1647 | * agent.h: Either include <inttypes.h>, or try to define uint32_t | ||
1971 | 1648 | yourself. | ||
1972 | 1649 | Need to include "config.h". | ||
1973 | 1650 | |||
1974 | 1651 | 1999-11-04 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1975 | 1652 | |||
1976 | 1653 | * Makefile.am (signed-dist): New rule, generates sig for dist. | ||
1977 | 1654 | (%.sig): New rule, for detached signatures in general. | ||
1978 | 1655 | |||
1979 | 1656 | * configure.in: Check for ulong. | ||
1980 | 1657 | * acconfig.h: Document it. | ||
1981 | 1658 | * secmem.c: Unconditionally defining it is no longer necessary | ||
1982 | 1659 | here. But do include <sys/types.h> in all cases. | ||
1983 | 1660 | |||
1984 | 1661 | * 0.7 released. | ||
1985 | 1662 | |||
1986 | 1663 | * secmem.c: ulong is not defined on all systems. | ||
1987 | 1664 | |||
1988 | 1665 | * agent.h: <inttypes.h> should define `uint32_t' as per Unix98, so | ||
1989 | 1666 | we use that. | ||
1990 | 1667 | |||
1991 | 1668 | 1999-11-02 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
1992 | 1669 | |||
1993 | 1670 | * agent.h: Augmented requests and replies with magic numbers. | ||
1994 | 1671 | Data structures heavily commented. | ||
1995 | 1672 | All structures and enums typedef'd. | ||
1996 | 1673 | * agent.c: Adapted. | ||
1997 | 1674 | (store): Set magic number in stored reply. | ||
1998 | 1675 | (do_put): Set magic number in reply. | ||
1999 | 1676 | (do_delete): Ditto. | ||
2000 | 1677 | (do_list): Ditto. | ||
2001 | 1678 | (agent): Check magic number in request. | ||
2002 | 1679 | * agentlib.c: Adapted. | ||
2003 | 1680 | (send_request): Set magic number in request. Check it in reply. | ||
2004 | 1681 | * agentlib.h: Adapted. | ||
2005 | 1682 | * agpg.c: Adapted. | ||
2006 | 1683 | * apgp.c: Adapted. | ||
2007 | 1684 | * client.c: Adapted. | ||
2008 | 1685 | |||
2009 | 1686 | 1999-10-31 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2010 | 1687 | |||
2011 | 1688 | * secmem.c: Instead of defining ulong directly, include | ||
2012 | 1689 | <sys/types.h> | ||
2013 | 1690 | |||
2014 | 1691 | * secret-query.c (constrain_size): New function, puts constrains | ||
2015 | 1692 | on size of toplevel window. | ||
2016 | 1693 | (grab_keyboard): Removed protection against multiple calls. | ||
2017 | 1694 | (ungrab_keyboard): New function, cancelling a keyboard grab. | ||
2018 | 1695 | (main): Hang `grab_keyboard' onto map-event which makes it | ||
2019 | 1696 | actually work, hang `ungrab_keyboard' onto unmap-event. | ||
2020 | 1697 | Hang `constrain_size' onto size-request. | ||
2021 | 1698 | |||
2022 | 1699 | * secmem.c: ulong was undefined on some systems. | ||
2023 | 1700 | |||
2024 | 1701 | 1999-10-19 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2025 | 1702 | |||
2026 | 1703 | * Makefile.am (install-exec-local): Ignore setcap errors. | ||
2027 | 1704 | |||
2028 | 1705 | * apgp.c: New program, based on agpg.c, but for pgp2.6. | ||
2029 | 1706 | * Makefile.am (bin_PROGRAMS, apgp_SOURCES): Added it. | ||
2030 | 1707 | |||
2031 | 1708 | * agpg.c (GPG): New constant. | ||
2032 | 1709 | (find_id, main): Use it throughout. | ||
2033 | 1710 | (find_id): Forgot to pclose on success. | ||
2034 | 1711 | |||
2035 | 1712 | * secret-query.c (main): Don't expand anything. | ||
2036 | 1713 | Use a button box for the buttons. | ||
2037 | 1714 | Prompt label can be overridden from the commandline. | ||
2038 | 1715 | * agent.c (do_get): Make spawned secret-query show the id. | ||
2039 | 1716 | * client.c (xgetpass): Pass prompt to secret-query. | ||
2040 | 1717 | (main): Include id in xgetpass prompt. | ||
2041 | 1718 | |||
2042 | 1719 | 1999-10-14 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2043 | 1720 | |||
2044 | 1721 | * configure.in: setcap must be searched outside the usual user | ||
2045 | 1722 | PATH, too. | ||
2046 | 1723 | * Makefile.am (install-exec-local): Set cap_ipc_lock permitted on | ||
2047 | 1724 | installed binaries, if possible. | ||
2048 | 1725 | |||
2049 | 1726 | * agent.c (xdup2): New function, dup2 with error handling. | ||
2050 | 1727 | (move_fd): New function, moves fds. | ||
2051 | 1728 | (store): New function, abstracted out from do_put. | ||
2052 | 1729 | (do_put): Use it. | ||
2053 | 1730 | (do_get): If secret was not found, and DISPLAY is set, try to | ||
2054 | 1731 | query the user about it. If successful, store it. | ||
2055 | 1732 | (main): Route standard file descriptors to /dev/null rather than | ||
2056 | 1733 | just closing them. The latter would confuse children. | ||
2057 | 1734 | |||
2058 | 1735 | 1999-10-13 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2059 | 1736 | |||
2060 | 1737 | * gtksecentry.c, gtksecentry.h: New files, being slightly modified | ||
2061 | 1738 | versions of GTK+'s gtkentry.[ch], spiffed up to use secure memory. | ||
2062 | 1739 | * secret-query.c (ok, unselect, main): Replace GtkEntry with | ||
2063 | 1740 | GtkSecureEntry. | ||
2064 | 1741 | (main): Initialize secure memory. | ||
2065 | 1742 | * Makefile.am (secret_query_SOURCES): Added gtksecentry.[ch]. | ||
2066 | 1743 | |||
2067 | 1744 | * README (Security): New chapter. | ||
2068 | 1745 | |||
2069 | 1746 | * configure.in, acconfig.h: Check for POSIX capabilities, and the | ||
2070 | 1747 | setcap program. | ||
2071 | 1748 | * Makefile.am: Link LIBCAP to those binaries using secmem.c. | ||
2072 | 1749 | |||
2073 | 1750 | * util.h: Include <sys/types.h> for size_t. | ||
2074 | 1751 | |||
2075 | 1752 | 1999-09-21 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2076 | 1753 | |||
2077 | 1754 | * secmem.c: Synced with gnupg-1.0 (top new feature: capabilities). | ||
2078 | 1755 | (log_fatal): New function, logs to stderr, and dies. | ||
2079 | 1756 | |||
2080 | 1757 | 1999-09-08 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2081 | 1758 | |||
2082 | 1759 | * secmem.c (log_info): New function, logs to stderr. | ||
2083 | 1760 | |||
2084 | 1761 | * agent.c (agent): select() expects the number of fds, not the | ||
2085 | 1762 | highest fd. So remember that number. | ||
2086 | 1763 | |||
2087 | 1764 | * agent.c (agent): Don't use FD_SETSIZE, which is not defined on | ||
2088 | 1765 | all systems. Remember the number of the highest descriptor | ||
2089 | 1766 | instead. | ||
2090 | 1767 | |||
2091 | 1768 | * configure.in: Replace getline() instead of getdelim() because | ||
2092 | 1769 | this is the function we really need. Still check for getdelim(), | ||
2093 | 1770 | though - there are systems out there where this is provided, but | ||
2094 | 1771 | getline() is not. | ||
2095 | 1772 | |||
2096 | 1773 | 1999-09-01 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2097 | 1774 | |||
2098 | 1775 | * 0.6 released. | ||
2099 | 1776 | |||
2100 | 1777 | * configure.in: Bump version. | ||
2101 | 1778 | |||
2102 | 1779 | * NEWS: Updated. | ||
2103 | 1780 | |||
2104 | 1781 | 1999-08-31 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2105 | 1782 | |||
2106 | 1783 | * util.c (init_uids, lower_privs, raise_privs, drop_privs): New | ||
2107 | 1784 | functions, for setuid binaries, extracted from agent.c. | ||
2108 | 1785 | * util.h: Add prototypes for them. | ||
2109 | 1786 | * agpg.c (main): Use them. | ||
2110 | 1787 | * client.c (main): Ditto. | ||
2111 | 1788 | * agent.c (main): Ditto. Removed code that did the same. | ||
2112 | 1789 | Unconditionally include "asprintf.h" (it protects itself now). | ||
2113 | 1790 | |||
2114 | 1791 | 1999-08-25 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2115 | 1792 | |||
2116 | 1793 | * Makefile.am (SUBDIRS): Process . before test so that "make | ||
2117 | 1794 | check" always builds all in . first. | ||
2118 | 1795 | |||
2119 | 1796 | 1999-08-21 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2120 | 1797 | |||
2121 | 1798 | * secret-query.c: Include "config.h". | ||
2122 | 1799 | |||
2123 | 1800 | * agent.h (reply_list_entry, reply_list): New reply structures. | ||
2124 | 1801 | * agent.c (send_list_entry): New function. | ||
2125 | 1802 | (do_list): First send number of entries, then each entry via | ||
2126 | 1803 | send_list_entry(). | ||
2127 | 1804 | * agentlib.c (agent_list): Read entries returned by LIST request. | ||
2128 | 1805 | * client.c (main): Output all entries returned by agent_list(). | ||
2129 | 1806 | |||
2130 | 1807 | * agentlib.c (agent_put): Don't construct PUT request in insecure | ||
2131 | 1808 | stack space. | ||
2132 | 1809 | |||
2133 | 1810 | 1999-08-20 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2134 | 1811 | |||
2135 | 1812 | * NEWS: Bump patchlevel. | ||
2136 | 1813 | |||
2137 | 1814 | * configure.in: Bump patchlevel. | ||
2138 | 1815 | Check for missing setenv(). | ||
2139 | 1816 | |||
2140 | 1817 | 1999-08-09 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2141 | 1818 | |||
2142 | 1819 | * configure.in: Check for strsignal(). | ||
2143 | 1820 | |||
2144 | 1821 | * client-test: Obsoleted by test/client. | ||
2145 | 1822 | |||
2146 | 1823 | * Makefile.am (SUBDIRS): New subdirectory. | ||
2147 | 1824 | * configure.in (AC_OUTPUT): Add here, too. | ||
2148 | 1825 | |||
2149 | 1826 | * 0.5 released. | ||
2150 | 1827 | |||
2151 | 1828 | * README: Explain why secret-client will not output secrets to a | ||
2152 | 1829 | tty, and mention the cat-trick. | ||
2153 | 1830 | |||
2154 | 1831 | * agent.c (main): If seteuid is not available, don't use it and | ||
2155 | 1832 | issue a warning if running setuid. | ||
2156 | 1833 | |||
2157 | 1834 | * configure.in: Run together two REPLACE_FUNCS. | ||
2158 | 1835 | Check for seteuid. | ||
2159 | 1836 | |||
2160 | 1837 | * client-test: Mask out insecure memory warnings. | ||
2161 | 1838 | |||
2162 | 1839 | * agentlib.c (send_request): Let the calling functions reserve | ||
2163 | 1840 | space for the reply, but offer a simple way for simple requests. | ||
2164 | 1841 | (agent_get): Allocate secure memory. | ||
2165 | 1842 | |||
2166 | 1843 | * agent.c (main): Moved secmem_init() after the fork, since that | ||
2167 | 1844 | seemingly munlock's all pages. | ||
2168 | 1845 | Drop priviledges just in case somebody wants to install this | ||
2169 | 1846 | suid-root. | ||
2170 | 1847 | Flush stdout. | ||
2171 | 1848 | |||
2172 | 1849 | * agpg.c (find_id): Would reorder arguments. | ||
2173 | 1850 | Initialize opt_version. | ||
2174 | 1851 | (main): Initialize secure memory. | ||
2175 | 1852 | |||
2176 | 1853 | * Makefile.am (agpg_SOURCES): Link with secure memory module. | ||
2177 | 1854 | |||
2178 | 1855 | * client.c (usage): Fixed another program name reference. | ||
2179 | 1856 | |||
2180 | 1857 | 1999-08-06 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2181 | 1858 | |||
2182 | 1859 | * configure.in: Conditionally define HAVE_GTK. | ||
2183 | 1860 | * acconfig.h: Add here too. | ||
2184 | 1861 | |||
2185 | 1862 | * client.c (xgetpass): Use "secret-query" only if it was built. | ||
2186 | 1863 | (main): Don't output secret (GET command) to ttys. | ||
2187 | 1864 | |||
2188 | 1865 | * agpg.c (find_id): Also print own version if "--version" is given. | ||
2189 | 1866 | (main): Check agent_init() errors. | ||
2190 | 1867 | Print error if exec fails. | ||
2191 | 1868 | |||
2192 | 1869 | * agent.c (main): Added an option to produce csh-compatible | ||
2193 | 1870 | output. | ||
2194 | 1871 | |||
2195 | 1872 | * agent.c, client.c: Forgot the terminating NULL in long options. | ||
2196 | 1873 | Fixed the program names in usage and version output. | ||
2197 | 1874 | |||
2198 | 1875 | * agent.c (create_socket): AF_UNIX and PF_UNIX are Unix98, so | ||
2199 | 1876 | that's what we use. AF_LOCAL, PF_LOCAL removed. | ||
2200 | 1877 | * agentlib.c (agent_init): Ditto. | ||
2201 | 1878 | |||
2202 | 1879 | 1999-08-05 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2203 | 1880 | |||
2204 | 1881 | * 0.4 released. | ||
2205 | 1882 | |||
2206 | 1883 | * configure.in: Bumped version. | ||
2207 | 1884 | Check for missing getdelim. | ||
2208 | 1885 | |||
2209 | 1886 | * cgpg: Removed, obsoleted by agpg. | ||
2210 | 1887 | * Makefile.am: Here, too. | ||
2211 | 1888 | |||
2212 | 1889 | * agpg.c (find_id): New function. | ||
2213 | 1890 | (main): Use it. | ||
2214 | 1891 | |||
2215 | 1892 | * Makefile.am (INCLUDES): Put GTK_FLAGS and GLIB_FLAGS here. It | ||
2216 | 1893 | is the easiest way for sources needing it, and it won't hurt those | ||
2217 | 1894 | that don't. | ||
2218 | 1895 | (agent.o): Explicit command removed accordingly. | ||
2219 | 1896 | |||
2220 | 1897 | 1999-08-04 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2221 | 1898 | |||
2222 | 1899 | * configure.in: Need double quoting in nested AC_MSG_WARN. | ||
2223 | 1900 | |||
2224 | 1901 | * client.c (xgetpass): If no tty is available, but a DISPLAY is, | ||
2225 | 1902 | fork off "secure-query" to read the secret. | ||
2226 | 1903 | Put the fgets into a loop that keeps reading until all of the | ||
2227 | 1904 | secret is read. | ||
2228 | 1905 | |||
2229 | 1906 | * client-test: Unset DISPLAY, so that "secret-query" is never used. | ||
2230 | 1907 | |||
2231 | 1908 | 1999-08-03 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2232 | 1909 | |||
2233 | 1910 | * agpg.c: New file, first cut at a C version of the gpg wrapper, | ||
2234 | 1911 | written in a hurry (20 keys waiting to be signed, and a growling | ||
2235 | 1912 | stomach). | ||
2236 | 1913 | * Makefile.am: Add it to built programs. | ||
2237 | 1914 | (LDADD): New default. | ||
2238 | 1915 | (secret_client_LDADD): Removed, since it was identical to default. | ||
2239 | 1916 | |||
2240 | 1917 | 1999-08-01 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2241 | 1918 | |||
2242 | 1919 | * secret-query.c: New program, queries the user for a password. | ||
2243 | 1920 | * Makefile.am (bin_PROGRAMS): Added it. | ||
2244 | 1921 | * configure.in: Check for GTK+, build "secret-query" only when | ||
2245 | 1922 | that is available. | ||
2246 | 1923 | |||
2247 | 1924 | * cgpg: Extra argument for ID is no longer necessary. cgpg will | ||
2248 | 1925 | scan the gpg args for switches that affect user-id, and determine | ||
2249 | 1926 | the right key itself. Per convention, the key-id is used by "GET". | ||
2250 | 1927 | |||
2251 | 1928 | * configure.in: The project name is now "secret-agent". | ||
2252 | 1929 | |||
2253 | 1930 | * Makefile.am: "agent" & "client" renamed to "secret-agent" & | ||
2254 | 1931 | "secret-client", respectively. | ||
2255 | 1932 | * client-test: Adapt to new names. | ||
2256 | 1933 | |||
2257 | 1934 | * Thoughts: Removed discussion of other names. | ||
2258 | 1935 | Added indication of which things already work. | ||
2259 | 1936 | |||
2260 | 1937 | * agent.c (make_tmpdir): Removed occurance of "gpg-agent." | ||
2261 | 1938 | |||
2262 | 1939 | * README: First proper version. | ||
2263 | 1940 | |||
2264 | 1941 | * client-test: Context diffs are more portable then unified diffs. | ||
2265 | 1942 | |||
2266 | 1943 | * agent.c, agent.h, agentlib.c, agentlib.h, client.c, memory.h, | ||
2267 | 1944 | util.c, util.h: Banner updated to new name. | ||
2268 | 1945 | |||
2269 | 1946 | 1999-07-29 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2270 | 1947 | |||
2271 | 1948 | * configure.in: Check for missing asprintf. | ||
2272 | 1949 | Check if -lsocket is needed. | ||
2273 | 1950 | |||
2274 | 1951 | * secmem.c (secmem_dump_stats): Replace usage of ulong. | ||
2275 | 1952 | |||
2276 | 1953 | * Makefile.am (INCLUDES): Add the lib subdirectory to include search. | ||
2277 | 1954 | |||
2278 | 1955 | * agent.c: Forgot to include <string.h>. | ||
2279 | 1956 | Include RYO asprintf header if this function is missing. | ||
2280 | 1957 | For the sake of compatibility, provide a definition for AF_LOCAL, | ||
2281 | 1958 | PF_LOCAL, if missing. | ||
2282 | 1959 | * agentlib.c: Ditto. | ||
2283 | 1960 | |||
2284 | 1961 | 1999-07-28 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2285 | 1962 | |||
2286 | 1963 | * Makefile.am (client_SOURCES): Add "secmem.c", "memory.h". | ||
2287 | 1964 | |||
2288 | 1965 | * client.c (xgetpass): Use secmem_malloc() instead of RYO. | ||
2289 | 1966 | (main): Init and shutdown secmem. | ||
2290 | 1967 | |||
2291 | 1968 | 1999-07-27 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2292 | 1969 | |||
2293 | 1970 | * Makefile.am (agent_SOURCES): Add "secmem.c", "i18n.h", "memory.h". | ||
2294 | 1971 | (client_SOURCES): Add "i18n.h". | ||
2295 | 1972 | |||
2296 | 1973 | * client.c (main): Exit on agent_init() failure. | ||
2297 | 1974 | |||
2298 | 1975 | * agent.c (main): Init secmem. | ||
2299 | 1976 | Make --debug switch cumulative. | ||
2300 | 1977 | (cleanup): Shutdown secmem. | ||
2301 | 1978 | (do_put): Use secmem for storage of secrets. | ||
2302 | 1979 | (do_delete): Use secmem_free(). Since this wipes the memory on its | ||
2303 | 1980 | own, wipe() is superflous now. | ||
2304 | 1981 | (agent): Use secmem for inbound requests. | ||
2305 | 1982 | (delete_secret): New function, takes part of do_delete's | ||
2306 | 1983 | functionality. | ||
2307 | 1984 | (do_put): Use it to remove old versions stored under the same id. | ||
2308 | 1985 | (do_delete): Use it to delete secrets. | ||
2309 | 1986 | |||
2310 | 1987 | * memory.h: New file. | ||
2311 | 1988 | |||
2312 | 1989 | * secmem.c: New file, snarfed from GnuPG and modified slightly. | ||
2313 | 1990 | |||
2314 | 1991 | * acinclude.m4: New file. | ||
2315 | 1992 | * configure.in: (ALL_LINGUAS): Expanded list of available | ||
2316 | 1993 | languages. Most of them only have a few translations from gpg, | ||
2317 | 1994 | tough ... | ||
2318 | 1995 | getopt_long test was commented out for debugging, | ||
2319 | 1996 | and left such. Fixed. | ||
2320 | 1997 | Check for mlock. | ||
2321 | 1998 | * acconfig.h: Comment HAVE_BROKEN_MLOCK. | ||
2322 | 1999 | |||
2323 | 2000 | * cgpg: A space was missing. | ||
2324 | 2001 | |||
2325 | 2002 | * i18n.h: New file, centralizing the gettext macro defs. | ||
2326 | 2003 | |||
2327 | 2004 | * agent.c (BLIND): New macro, that blinds out a secret if debug | ||
2328 | 2005 | level is too low. | ||
2329 | 2006 | (do_put): Use it. | ||
2330 | 2007 | (do_get): Use it. | ||
2331 | 2008 | Include i18n.h. | ||
2332 | 2009 | |||
2333 | 2010 | * agentlib.c: Include i18n.h | ||
2334 | 2011 | |||
2335 | 2012 | * client.c (usage): New function. | ||
2336 | 2013 | Usage-message made gettext-friendly. | ||
2337 | 2014 | (xgetpass): Use perror() instead of fprintf(). | ||
2338 | 2015 | (main): Use it. | ||
2339 | 2016 | Make comment an optional argument of PUT. | ||
2340 | 2017 | Include i18n.h. | ||
2341 | 2018 | |||
2342 | 2019 | 1999-07-26 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2343 | 2020 | |||
2344 | 2021 | * Makefile.am (client_LDADD): Add lib/libutil.a for portability. | ||
2345 | 2022 | (agent_LDADD): Ditto. | ||
2346 | 2023 | (SUBDIRS): Add lib directory. | ||
2347 | 2024 | (bin_SCRIPTS): New with cgpg, so it gets installed, too. | ||
2348 | 2025 | |||
2349 | 2026 | * configure.in: Add lib/Makefile to output. | ||
2350 | 2027 | |||
2351 | 2028 | 1999-07-24 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2352 | 2029 | |||
2353 | 2030 | * cgpg: New file. | ||
2354 | 2031 | * Makefile.am (EXTRA_DIST): Added it. | ||
2355 | 2032 | |||
2356 | 2033 | * agent.c: Moved inclusion of config.h before inclusion of | ||
2357 | 2034 | libintl.h since the latter needs HAVE_LC_MESSAGE. | ||
2358 | 2035 | * client.c: Ditto. | ||
2359 | 2036 | * clientlib.c: Ditto. | ||
2360 | 2037 | |||
2361 | 2038 | * client-test: Update for new client semantics. | ||
2362 | 2039 | |||
2363 | 2040 | * client.c (check_status): Use debugmsg(). Do nothing if not | ||
2364 | 2041 | debugging. | ||
2365 | 2042 | (xgetpass): New function, getpass replacement that uses mlock'ed | ||
2366 | 2043 | memory. | ||
2367 | 2044 | (main): PUT now asks for the secret rather then getting it from | ||
2368 | 2045 | the commandline. | ||
2369 | 2046 | GET prints only the secret to stdout. | ||
2370 | 2047 | |||
2371 | 2048 | * configure.in: Rearranged. | ||
2372 | 2049 | Check for socklen_t. | ||
2373 | 2050 | * acconfig.h: Added a definition for it. | ||
2374 | 2051 | |||
2375 | 2052 | * client.c: Include packaged getopt.h if the system doesn't provide | ||
2376 | 2053 | one. | ||
2377 | 2054 | * agent.c: Ditto. | ||
2378 | 2055 | (create_socket): Replace AF_FILE, PF_FILE with AF_LOCAL, PF_LOCAL | ||
2379 | 2056 | for portability. | ||
2380 | 2057 | * agentlib.c (agent_init): Ditto. | ||
2381 | 2058 | Explicitly cast addr to a sockaddr pointer. | ||
2382 | 2059 | |||
2383 | 2060 | * Makefile.am (client_LDADD): Added @INTLLIBS@. | ||
2384 | 2061 | (agent_LDADD): Ditto. | ||
2385 | 2062 | |||
2386 | 2063 | 1999-07-19 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2387 | 2064 | |||
2388 | 2065 | * configure.in: Check for getopt.h and getopt_long. | ||
2389 | 2066 | * acconfig.h (HAVE_GETOPT_H): New define. | ||
2390 | 2067 | * lib/getopt.c, lib/getopt1.c, lib/getopt.h: Added. | ||
2391 | 2068 | |||
2392 | 2069 | 1999-07-18 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2393 | 2070 | |||
2394 | 2071 | * 0.2 released. | ||
2395 | 2072 | |||
2396 | 2073 | * NEWS: Updated. | ||
2397 | 2074 | |||
2398 | 2075 | * Makefile.am (agent.o): Mentioning the source explicitly does not | ||
2399 | 2076 | work for srcdir!=builddir. | ||
2400 | 2077 | |||
2401 | 2078 | * client.c (main): Function arguments are not always evaluated in | ||
2402 | 2079 | order, so drop the neat ++optind in favor of optind+1, optind+2, | ||
2403 | 2080 | etc. | ||
2404 | 2081 | |||
2405 | 2082 | * configure.in: Upped version. | ||
2406 | 2083 | |||
2407 | 2084 | 1999-06-28 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2408 | 2085 | |||
2409 | 2086 | * util.h: Added multi-inclusion guard. | ||
2410 | 2087 | |||
2411 | 2088 | * agent.c Include "util.h". | ||
2412 | 2089 | (main): Forgot to exit at end. | ||
2413 | 2090 | (do_delete): Assume that value is a string and wipe it accordingly. | ||
2414 | 2091 | |||
2415 | 2092 | * configure.in (--enable-debug): New switch. | ||
2416 | 2093 | |||
2417 | 2094 | * agent.h (status_t): Added STATUS_COMM_ERR code. | ||
2418 | 2095 | Added multi-inclusion guard. | ||
2419 | 2096 | |||
2420 | 2097 | * client.c (main): Abstracted out most functionality into a | ||
2421 | 2098 | function library, namely: | ||
2422 | 2099 | * agentlib.c: New file. | ||
2423 | 2100 | * agentlib.h: New file. | ||
2424 | 2101 | * Makefile.am (client_SOURCES): Added agentlib.c, agentlib.h. | ||
2425 | 2102 | |||
2426 | 2103 | * Makefile.am (INCLUDES): GLIB_CFLAGS moved again, this time to | ||
2427 | 2104 | the agent.o target. | ||
2428 | 2105 | |||
2429 | 2106 | 1999-06-15 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2430 | 2107 | |||
2431 | 2108 | * 0.1 released. | ||
2432 | 2109 | |||
2433 | 2110 | * Makefile.am (agent_CFLAGS): Removed - did not work. | ||
2434 | 2111 | (INCLUDES): Moved the GLIB stuff here. | ||
2435 | 2112 | |||
2436 | 2113 | 1999-06-14 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2437 | 2114 | |||
2438 | 2115 | * configure.in (ALL_LINGUAS): Added `de'. | ||
2439 | 2116 | |||
2440 | 2117 | * agent.c (do_get): Added more debugmsgs. | ||
2441 | 2118 | (do_put): Wouldn't allocate enough for `value'. | ||
2442 | 2119 | (main): New option "--nofork" prevents forking. | ||
2443 | 2120 | Use macros for the std filedescriptor numbers. | ||
2444 | 2121 | Only close stderr if not debugging. | ||
2445 | 2122 | (main): Make Usage string gettext-friendly. | ||
2446 | 2123 | |||
2447 | 2124 | * client-test (cleanup): New function. | ||
2448 | 2125 | Call it on shell exit. | ||
2449 | 2126 | (client): New function. | ||
2450 | 2127 | Use it instead of calling client binary directly. | ||
2451 | 2128 | diff client output with expected one in GET testcases. | ||
2452 | 2129 | |||
2453 | 2130 | 1999-06-13 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
2454 | 2131 | |||
2455 | 2132 | * agent.c (failed_reply): New constant. | ||
2456 | 2133 | (do_list): Use it. | ||
2457 | 2134 | (do_put): The hash key was overwritten - strdup it. | ||
2458 | 2135 | Construct a GET reply and save that in the hash. | ||
2459 | 2136 | (do_get): Just send the preconstructed reply if the id is present, | ||
2460 | 2137 | and failed_reply otherwise. | ||
2461 | 2138 | (do_delete): Actually free the hashed stuff. | ||
2462 | 2139 | |||
2463 | 2140 | * client.c: Exit with error if agent returned STATUS_FAIL. | ||
2464 | 2141 | |||
2465 | 2142 | * Makefile.am (EXTRA_DIST): Added autogen.sh, Thoughts, | ||
2466 | 2143 | client-test. | ||
2467 | 2144 | (TESTS): Added client-test. | ||
2468 | 2145 | (AUTOMAKE_OPTIONS): Added gnits. | ||
2469 | 2146 | |||
2470 | 2147 | |||
2471 | 2148 | Copyright 2002, 2003, 2010 g10 Code GmbH | ||
2472 | 2149 | |||
2473 | 2150 | This file is free software; as a special exception the author gives | ||
2474 | 2151 | unlimited permission to copy and/or distribute it, with or without | ||
2475 | 2152 | modifications, as long as this notice is preserved. | ||
2476 | 2153 | |||
2477 | 2154 | This file is distributed in the hope that it will be useful, but | ||
2478 | 2155 | WITHOUT ANY WARRANTY, to the extent permitted by law; without even the | ||
2479 | 2156 | implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
2560 | 2157 | 81 | ||
2561 | === added file 'ChangeLog-old' | |||
2562 | --- ChangeLog-old 1970-01-01 00:00:00 +0000 | |||
2563 | +++ ChangeLog-old 2014-01-24 03:16:14 +0000 | |||
2564 | @@ -0,0 +1,2175 @@ | |||
2565 | 1 | 2012-08-08 Werner Koch <wk@gnupg.org> | ||
2566 | 2 | |||
2567 | 3 | NB: ChangeLog files are no longer manually maintained. Starting | ||
2568 | 4 | on August 8, 2012 we put change information only in the GIT commit | ||
2569 | 5 | log, and generate a top-level ChangeLog file from logs at "make | ||
2570 | 6 | dist". See doc/HACKING for details. | ||
2571 | 7 | |||
2572 | 8 | 2011-08-10 Werner Koch <wk@g10code.com> | ||
2573 | 9 | |||
2574 | 10 | * configure.ac: Change bug report address to the BTS. Fix | ||
2575 | 11 | autoconf warnings. | ||
2576 | 12 | |||
2577 | 13 | 2011-06-28 Werner Koch <wk@g10code.com> | ||
2578 | 14 | |||
2579 | 15 | * gtk+-2/gtksecentry.c (PROP_EDITING_CANCELED): New. | ||
2580 | 16 | (gtk_secure_entry_class_init, gtk_secure_entry_set_property) | ||
2581 | 17 | (gtk_secure_entry_get_property): Implement as dummy it to get rid | ||
2582 | 18 | of a runtime warning. | ||
2583 | 19 | |||
2584 | 20 | 2010-12-16 Werner Koch <wk@g10code.com> | ||
2585 | 21 | |||
2586 | 22 | Release 0.8.1. | ||
2587 | 23 | |||
2588 | 24 | * doc/pinentry.texi: Remove the custom font setting for underscores. | ||
2589 | 25 | |||
2590 | 26 | Update to automake 1.10. | ||
2591 | 27 | |||
2592 | 28 | * missing, config.guess, config.sub: Update from GnuPG. | ||
2593 | 29 | |||
2594 | 30 | * w32/main.c (debugfp): Define to stderr. | ||
2595 | 31 | (raise_sip) [!W32CE]: Make it a dummy function. | ||
2596 | 32 | |||
2597 | 33 | * qt4/pinentrydialog.cpp (raiseWindow): Use SetForegroundWindow | ||
2598 | 34 | API directly. | ||
2599 | 35 | (SetForegroundWindowEx): Comment out. | ||
2600 | 36 | |||
2601 | 37 | 2010-10-19 Werner Koch <wk@g10code.com> | ||
2602 | 38 | |||
2603 | 39 | * pinentry/pinentry.c (pinentry_have_display): Also detect | ||
2604 | 40 | --display=DISPID. | ||
2605 | 41 | |||
2606 | 42 | 2010-10-12 Werner Koch <wk@g10code.com> | ||
2607 | 43 | |||
2608 | 44 | * qt/main.cpp (escape_accel): New. Adapt from from qt4/. | ||
2609 | 45 | (qt_cmd_handler): Implement default-ok and default-cancel. Escape | ||
2610 | 46 | accelerators. | ||
2611 | 47 | |||
2612 | 48 | 2010-09-30 Werner Koch <wk@g10code.com> | ||
2613 | 49 | |||
2614 | 50 | * pinentry/pinentry.h (struct pinentry): Add CLOSE_BUTTON. | ||
2615 | 51 | * pinentry/pinentry.c (cmd_getpin, cmd_confirm, cmd_message): Send | ||
2616 | 52 | BUTTON_INFO. | ||
2617 | 53 | * gtk+-2/pinentry-gtk-2.c (delete_event): Set close_button. | ||
2618 | 54 | |||
2619 | 55 | 2010-09-22 Werner Koch <wk@g10code.com> | ||
2620 | 56 | |||
2621 | 57 | * gtk+-2/pinentry-gtk-2.c (create_window): Make use of | ||
2622 | 58 | default_cancel and default_ok. | ||
2623 | 59 | |||
2624 | 60 | 2010-08-19 Werner Koch <wk@g10code.com> | ||
2625 | 61 | |||
2626 | 62 | * gtk+-2/Makefile.am (pinentry_gtk_2_SOURCES): Add gseal-gtk-compat.h. | ||
2627 | 63 | |||
2628 | 64 | * configure.ac (AH_TOP, AH_BOTTOM): New. Define | ||
2629 | 65 | GPG_ERR_ENABLE_ERRNO_MACROS. | ||
2630 | 66 | |||
2631 | 67 | 2010-06-08 Marc Mutz <marc.mutz@kdab.com> (wk) | ||
2632 | 68 | |||
2633 | 69 | * qt4/pinentrydialog.cpp (PinEntryDialog): Add WindowStaysOnTopHint. | ||
2634 | 70 | |||
2635 | 71 | * qt/pinentrydialog.cpp (PinEntryDialog): Add WStyle_StaysOnTop. | ||
2636 | 72 | |||
2637 | 73 | 2010-05-12 Guido Günther <agx@sigxcpu.org> (wk) | ||
2638 | 74 | |||
2639 | 75 | * gtk+-2/gtksecentry.c: Make -DSEAL safe. | ||
2640 | 76 | * gtk+-2/gseal-gtk-compat.h: New. | ||
2641 | 77 | * gtk+-2/gtksecentry.h: Include new header. | ||
2642 | 78 | |||
2643 | 79 | 2010-05-07 Werner Koch <wk@g10code.com> | ||
2644 | 80 | |||
2645 | 81 | * gtk+-2/pinentry-gtk-2.c (create_window): Keep the window above | ||
2646 | 82 | and make sure it has the focus. Fixes bug#1162. | ||
2647 | 83 | |||
2648 | 84 | 2010-05-03 Werner Koch <wk@g10code.com> | ||
2649 | 85 | |||
2650 | 86 | * gtk+-2/pinentry-gtk-2.c (create_window): Use | ||
2651 | 87 | visibility-notify-event instead of map-event. Suggested by Ed | ||
2652 | 88 | Marten. | ||
2653 | 89 | |||
2654 | 90 | 2010-04-26 Werner Koch <wk@g10code.com> | ||
2655 | 91 | |||
2656 | 92 | * gtk+-2/pinentry-gtk-2.c (grab_failed): New. | ||
2657 | 93 | (grab_keyboard): s/g_error/g_critical/. Set GRAB_FAILED. | ||
2658 | 94 | (gtk_cmd_handler): Return Cancel if a grab failed. | ||
2659 | 95 | |||
2660 | 96 | 2010-04-20 Marcus Brinkmann <marcus@g10code.de> | ||
2661 | 97 | |||
2662 | 98 | * pinentry/pinentry.c: Move include config.h to top! | ||
2663 | 99 | |||
2664 | 100 | 2010-04-19 Werner Koch <wk@g10code.com> | ||
2665 | 101 | |||
2666 | 102 | * gtk+-2/gtksecentry.c (gtk_secure_entry_delete_cb) | ||
2667 | 103 | (gtk_secure_entry_toggle_overwrite, activate_cb) | ||
2668 | 104 | (unichar_chosen_func): Comment out these unused functions. | ||
2669 | 105 | (secentry_malloc): Fix format string error. | ||
2670 | 106 | |||
2671 | 107 | 2010-04-19 Stanislav Ochotnicky <sochotnicky@redhat.com> (wk) | ||
2672 | 108 | |||
2673 | 109 | * gtk+-2/pinentry-gtk-2.c (ungrab_keyboard): Fix segv when using | ||
2674 | 110 | option -g. | ||
2675 | 111 | |||
2676 | 112 | 2010-04-16 Marcus Brinkmann <marcus@g10code.de> | ||
2677 | 113 | |||
2678 | 114 | * secmem/util.c: Fix inverted test. | ||
2679 | 115 | |||
2680 | 116 | 2010-04-12 Werner Koch <wk@g10code.com> | ||
2681 | 117 | |||
2682 | 118 | * w32/main.c (dlg_proc): Act on VK_RETURN. | ||
2683 | 119 | |||
2684 | 120 | * w32/pinentry-w32.rc: Include config.h. Add basic support for | ||
2685 | 121 | small screens as used with WindowsCE. | ||
2686 | 122 | |||
2687 | 123 | * w32/Makefile.am (pinentry-w32.o): Add -I.. to the command. | ||
2688 | 124 | |||
2689 | 125 | 2010-04-08 Werner Koch <wk@g10code.com> | ||
2690 | 126 | |||
2691 | 127 | * pinentry/pinentry.c [W32CE]: Do not include errno.h and | ||
2692 | 128 | locale.h. | ||
2693 | 129 | (pinentry_have_display) [W32CE]: Do not use getenv. | ||
2694 | 130 | (pinentry_parse_opts) [W32CE]: No error diagnostics due to missing | ||
2695 | 131 | errno. | ||
2696 | 132 | (sleep) [W32CE]: New. | ||
2697 | 133 | (option_handler) [W32CE]: Ignore option --debug-wait. | ||
2698 | 134 | (getpid) [W32CE]: New. | ||
2699 | 135 | (pinentry_loop): Use STDIN_FILENO and STDOUT_FILENO. | ||
2700 | 136 | (pinentry_loop): Factor code out to ... | ||
2701 | 137 | (pinentry_loop2): New. | ||
2702 | 138 | * w32/main.c (w32_strerror) [W32CE]: Do not use FormatMessage. | ||
2703 | 139 | (main) [W32CE]: Do not use LockSetForegroundWindow. | ||
2704 | 140 | (set_dlg_item_text): Use wchar_t for static string. | ||
2705 | 141 | * secmem/util.c [W32CE]: Do not include errno.h. | ||
2706 | 142 | (xwrite) [W32CE]: Shortcut EINTR loop. | ||
2707 | 143 | |||
2708 | 144 | 2010-04-07 Werner Koch <wk@g10code.com> | ||
2709 | 145 | |||
2710 | 146 | * autogen.sh: Modernized. | ||
2711 | 147 | |||
2712 | 148 | 2010-03-03 Werner Koch <wk@g10code.com> | ||
2713 | 149 | |||
2714 | 150 | Release 0.8.0. | ||
2715 | 151 | |||
2716 | 152 | 2010-03-02 Werner Koch <wk@g10code.com> | ||
2717 | 153 | |||
2718 | 154 | * qt4/main.cpp (from_utf8): Add extra braces for clarity. | ||
2719 | 155 | (main): Copy the fixed --display string. | ||
2720 | 156 | |||
2721 | 157 | 2010-02-25 Marc Mutz <marc@kdab.com> (wk) | ||
2722 | 158 | |||
2723 | 159 | * qt4/main.cpp (from_utf8): don't throw InvalidUtf8(); for now, | ||
2724 | 160 | fall back to QString::fromLocal8Bit() | ||
2725 | 161 | |||
2726 | 162 | 2010-02-22 Marc Mutz <marc@kdab.com> (wk) | ||
2727 | 163 | |||
2728 | 164 | * qt4/main.cpp (InvalidUtf8): New exception class. | ||
2729 | 165 | (from_utf8): wrapper around QString::fromUtf8 throwing | ||
2730 | 166 | InvalidUtf8. | ||
2731 | 167 | (qt_cmd_handler): Use from_utf8 instead of QString::fromUtf8. | ||
2732 | 168 | (qt_cmd_handler_ex): New wrapper around qt_cmd_handler. | ||
2733 | 169 | (pinentry_cmd_handler): Use qt_cmd_handler_ex. | ||
2734 | 170 | |||
2735 | 171 | * qt4/main.cpp (qt_cmd_handler): Also handle accels in | ||
2736 | 172 | SET{OK,NOTOK,CANCEL} string. | ||
2737 | 173 | |||
2738 | 174 | 2010-02-19 Marc Mutz <marc@kdab.com> (wk) | ||
2739 | 175 | |||
2740 | 176 | * qt4/main.cpp (qt_cmd_handler), qt4/pinentrydialog.cpp | ||
2741 | 177 | (PinentryDialog::PinEntryDialog): Use the button icons that come | ||
2742 | 178 | with Qt. | ||
2743 | 179 | |||
2744 | 180 | * qt4/pinentry_qrc, qt4/qrc_pinentry.cpp: New. | ||
2745 | 181 | * qt4/gtk-cancel.png, qt4/gtk-ok.png: Removed. | ||
2746 | 182 | * qt4/Makefile.am (EXTRA_DIST): Remove the GTK icons, add | ||
2747 | 183 | pinentry.qrc. | ||
2748 | 184 | (pinentry_qt4_SOURCES): add qrc_pinentry.cpp. | ||
2749 | 185 | |||
2750 | 186 | * qt4/main.cpp (qt_cmd_handler): Remove i18n support again. | ||
2751 | 187 | |||
2752 | 188 | * qt4/pinentrydialog.cpp (PinentryDialog::PinentryDialog): | ||
2753 | 189 | set PIN entry field as buddy of its prompt | ||
2754 | 190 | |||
2755 | 191 | * qt4/main.cpp (escape_accel): New. | ||
2756 | 192 | (qt_cmd_handler): use it on default_cancel, default_ok, prompt. | ||
2757 | 193 | |||
2758 | 194 | * qt4/pinentrydialog.h, qt4/pinentrydialog.cpp | ||
2759 | 195 | (PinEntryDialog::PinEntryDialog): don't use a nested vbox layout. | ||
2760 | 196 | |||
2761 | 197 | * qt4/pinentrydialog.h: replace include file with forward decl. | ||
2762 | 198 | * qt4/pinentrydialog.cpp: add include file here. | ||
2763 | 199 | |||
2764 | 200 | * qt4/pinentrydialog.h, qt4/pinentrydialog.cpp | ||
2765 | 201 | (PinentryDialog::keyPressEvent()): Removed. | ||
2766 | 202 | |||
2767 | 203 | * qt/4pinentrydialog.cpp (PinEntryDialog::PinEntryDialog): use | ||
2768 | 204 | QLayout::SetFixedSize instead of rolling our own solution. | ||
2769 | 205 | * qt4/pinentrydialog.h: (PinentryDialog::setFixedSize): Removed. | ||
2770 | 206 | * qt4/pinentrydialog.moc: Re-created. | ||
2771 | 207 | |||
2772 | 208 | * qt4/main.cpp: (qt_cmd_handler) make Cancel the default button | ||
2773 | 209 | for CONFIRM | ||
2774 | 210 | |||
2775 | 211 | * qt4/main.cpp: (qt_cmd_handler) implement the confirm/message | ||
2776 | 212 | logic correctly | ||
2777 | 213 | |||
2778 | 214 | * qt4/pinentrydialog.h (accepted, rejected): Removed; already | ||
2779 | 215 | provided by base class. | ||
2780 | 216 | * qt4/pinentrydialog.cpp (PinEntryDialog::PinEntryDialog): Use | ||
2781 | 217 | QDialog::{accepted,rejected}. | ||
2782 | 218 | * qt4/pinentrydialog.moc: Re-created. | ||
2783 | 219 | |||
2784 | 220 | * qt4/pinentrydialog.moc, qt4/qsecurelineedit.moc: Make compatible | ||
2785 | 221 | with newer Qt version. | ||
2786 | 222 | |||
2787 | 223 | 2010-02-19 Werner Koch <wk@g10code.com> | ||
2788 | 224 | |||
2789 | 225 | * gtk+-2/pinentry-gtk-2.c (create_window): Allow mnemonics in | ||
2790 | 226 | button labels. | ||
2791 | 227 | |||
2792 | 228 | * pinentry/pinentry.h (struct pinentry): Add default_prompt. | ||
2793 | 229 | * pinentry/pinentry.c (option_handler): Support "default-prompt". | ||
2794 | 230 | (cmd_getpin): Use it. | ||
2795 | 231 | (noprefix_strdup): Remove; should be done by caller. | ||
2796 | 232 | |||
2797 | 233 | 2010-02-17 Werner Koch <wk@g10code.com> | ||
2798 | 234 | |||
2799 | 235 | * pinentry/pinentry.h (struct pinentry): Add default_ok and | ||
2800 | 236 | default_cancel. | ||
2801 | 237 | * pinentry/pinentry.c (noprefix_strdup): New. | ||
2802 | 238 | (option_handler): Support "default-ok" and "default-cancel". | ||
2803 | 239 | (strcpy_escaped): Change second arg from unsigend char to char. | ||
2804 | 240 | |||
2805 | 241 | 2010-02-16 Werner Koch <wk@g10code.com> | ||
2806 | 242 | |||
2807 | 243 | * qt4/document-encrypt.png, qt4/gtk-cancel.png, qt4/gtk-ok.png: New. | ||
2808 | 244 | * qt4/Makefile.am (EXTRA_DIST): Add them. | ||
2809 | 245 | |||
2810 | 246 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
2811 | 247 | |||
2812 | 248 | Also attributed to Marc Mutz <marc@kdab.com>. | ||
2813 | 249 | |||
2814 | 250 | * qt4/main.cpp, qt/pinentrydialog.cpp: If the style says so, | ||
2815 | 251 | set (GTK) icons on OK and Cancel buttons. | ||
2816 | 252 | |||
2817 | 253 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
2818 | 254 | |||
2819 | 255 | * qt4/main.cpp: Use an explicit QMessageBox instead of the | ||
2820 | 256 | 'information' convenience method. We do this for two reasons: | ||
2821 | 257 | 1. So we can set our own icon (icon()). 2. So we can call our | ||
2822 | 258 | raiseWindow() function on it. | ||
2823 | 259 | |||
2824 | 260 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> | ||
2825 | 261 | |||
2826 | 262 | * qt4/main.cpp: Use title. Use Qt translation of "OK" and "Cancel" | ||
2827 | 263 | |||
2828 | 264 | * qt4/pinentrydialog.cpp: Don't show the question-mark icon in the | ||
2829 | 265 | window title. | ||
2830 | 266 | |||
2831 | 267 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
2832 | 268 | |||
2833 | 269 | * qt4/pinentrydialog.h, qt4/pinentrydialog.cpp: Use the | ||
2834 | 270 | document-encrypt icon instead of the | ||
2835 | 271 | QMessageBox::{Information,Critical} ones. | ||
2836 | 272 | |||
2837 | 273 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
2838 | 274 | |||
2839 | 275 | Also attributed to Marc Mutz <marc@kdab.com>. | ||
2840 | 276 | |||
2841 | 277 | * qt4/pinentrydialog.cpp: Properly show/hide optional widgets. | ||
2842 | 278 | |||
2843 | 279 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> | ||
2844 | 280 | |||
2845 | 281 | * qt4/pinentrydialog.cpp: Set text color or error label to red. | ||
2846 | 282 | |||
2847 | 283 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
2848 | 284 | |||
2849 | 285 | Also attributed to Marc Mutz <marc@kdab.com>. | ||
2850 | 286 | |||
2851 | 287 | * qt4/pinentrydialog.cpp: Gather scattered layouting code, use a | ||
2852 | 288 | single gridlayout for all, and use QDialogButtonBox. | ||
2853 | 289 | |||
2854 | 290 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
2855 | 291 | |||
2856 | 292 | * qt4/pinentrydialog.cpp: Call SetForegroundWindow on showEvent() | ||
2857 | 293 | and set a fixed size on the dialog. | ||
2858 | 294 | |||
2859 | 295 | * qt4/main.cpp: Set document-encrypt as the window icon. | ||
2860 | 296 | |||
2861 | 297 | 2010-02-15 Marc Mutz <marc@kdab.com> (wk) | ||
2862 | 298 | |||
2863 | 299 | * qt4/main.cpp: Load the correct Qt translation file based on | ||
2864 | 300 | either lc_messages or the current locale. | ||
2865 | 301 | |||
2866 | 302 | * qt4/main.cpp: Use pinentry_t->parent_wid also for message-box | ||
2867 | 303 | case. | ||
2868 | 304 | |||
2869 | 305 | * qt4/main.cpp: Properly delete the QApplication. | ||
2870 | 306 | |||
2871 | 307 | 2010-02-15 Christoph Schleifenbaum <christoph@kdab.com> (wk) | ||
2872 | 308 | |||
2873 | 309 | * qt4/main.cpp: Remove guard clause with impossible condition. | ||
2874 | 310 | |||
2875 | 311 | * qt4/main.cpp: Respect pinentry_t->title. | ||
2876 | 312 | |||
2877 | 313 | * qt4/main.cpp: Include config.h. | ||
2878 | 314 | |||
2879 | 315 | 2009-12-16 Marcus Brinkmann <marcus@g10code.de> | ||
2880 | 316 | |||
2881 | 317 | * gtk+-2/gtksecentry.c: Don't translate properties. | ||
2882 | 318 | Patch by Guido Guenther <agx@sigxcpu.org>. | ||
2883 | 319 | |||
2884 | 320 | 2009-12-02 Werner Koch <wk@g10code.com> | ||
2885 | 321 | |||
2886 | 322 | * secmem/util.c: Re-indent function names. | ||
2887 | 323 | (TEMP_FAILURE_RETRY): Remove because it is non-portable. | ||
2888 | 324 | (xwrite): Open code the EINTR retry. | ||
2889 | 325 | * pinentry/pinentry-curses.c (dialog_run): Replace '\e' by a | ||
2890 | 326 | standard escape. Reported by Wyllys Ingersoll. | ||
2891 | 327 | |||
2892 | 328 | 2009-08-10 Marcus Brinkmann <marcus@g10code.de> | ||
2893 | 329 | |||
2894 | 330 | * pinentry/pinentry.c [!ENABLE_ENHANCED]: Remove option enhanced. | ||
2895 | 331 | * pinentry/pinentry.h (struct pinentry) [!ENABLE_ENHANCED]: Remove | ||
2896 | 332 | member enhanced. | ||
2897 | 333 | * gtk+-2/pinentry-gtk-2.c: New macro. | ||
2898 | 334 | (button_clicked, create_window) [!ENABLE_ENHANCED]: Disable code. | ||
2899 | 335 | * gtk/pinentry-gtk.c (button_clicked, create_window): Likewise. | ||
2900 | 336 | * doc/pinentry.texi (Using pinentry): Comment out enhanced option. | ||
2901 | 337 | |||
2902 | 338 | 2009-07-10 Till Adam <till@kdab.com> | ||
2903 | 339 | |||
2904 | 340 | * qt4/pinentrydialog.cpp (PinEntryDialog): Redesign the dialog to | ||
2905 | 341 | be prettier. | ||
2906 | 342 | |||
2907 | 343 | 2009-06-19 Marcus Brinkmann <marcus@g10code.de> | ||
2908 | 344 | |||
2909 | 345 | * configure.ac: Post-release changes. | ||
2910 | 346 | |||
2911 | 347 | Release version 0.7.6. | ||
2912 | 348 | |||
2913 | 349 | * configure.ac: Bump version. | ||
2914 | 350 | |||
2915 | 351 | 2009-01-29 Bernhard Reiter <bernhard@intevation.de> | ||
2916 | 352 | |||
2917 | 353 | * doc/pinentry.texi (Using pinentry): Fix typo. | ||
2918 | 354 | |||
2919 | 355 | 2009-04-24 Guido Guenther <agx@sigxcpu.org> | ||
2920 | 356 | |||
2921 | 357 | * gtk+-2/gtksecentry.c (gtk_secure_entry_class_init): Don't | ||
2922 | 358 | install "gtk-entry-select-on-focus" settings property since it | ||
2923 | 359 | clashes with the one from GtkEntry. | ||
2924 | 360 | (gtk_secure_entry_grab_focus): Create a temporary GtkEntry widget | ||
2925 | 361 | to read that value instead. Allows to have GtkEntry and | ||
2926 | 362 | GtkSecureEntry in the same process. | ||
2927 | 363 | |||
2928 | 364 | 2009-06-19 Marcus Brinkmann <marcus@g10code.de> | ||
2929 | 365 | |||
2930 | 366 | Suggested by Simon McVittie: | ||
2931 | 367 | * gtk+-2/gtksecentry.c (g_malloc, g_realloc, g_free): Renamed to | ||
2932 | 368 | secentry_malloc, secentry_realloc. | ||
2933 | 369 | (g_malloc0): Removed. | ||
2934 | 370 | (GMALLOC_SIZE): Move to ... | ||
2935 | 371 | * gtk+-2/gtksecentry.h (GMALLOC_SIZE): ... here. | ||
2936 | 372 | (secentry_malloc, secentry_realloc, secentry_free): New prototypes. | ||
2937 | 373 | * gtk+-2/pinentry-gtk-2.c (main): Set memory allocation vtable. | ||
2938 | 374 | |||
2939 | 375 | 2009-05-04 Till Adam <till@kdab.net> | ||
2940 | 376 | |||
2941 | 377 | * qt4/main.cpp (qt_cmd_handler): Use WId instead of HWND. | ||
2942 | 378 | |||
2943 | 379 | 2009-04-14 Marcus Brinkmann <marcus@g10code.de> | ||
2944 | 380 | |||
2945 | 381 | * pinentry/pinentry.h (struct pinentry): New member NOTOK. | ||
2946 | 382 | Rename member USER_CLOSED to CANCELED. | ||
2947 | 383 | * pinentry/pinentry.c: Add initializer for NOTOK. | ||
2948 | 384 | (register_commands): Add SETNOTOK. | ||
2949 | 385 | * pinentry/pinentry-curses.c (STRING_NOTOK): New macro. | ||
2950 | 386 | (dialog_pos_t): New value DIALOG_POS_NOTOK. | ||
2951 | 387 | (struct dialog): New members notok, notok_x, notok_y. | ||
2952 | 388 | (dialog_create): Implement NOTOK. | ||
2953 | 389 | (dialog_switch_pos): Likewise. | ||
2954 | 390 | (dialog_run): Likewise. | ||
2955 | 391 | * gtk+-2/pinentry-gtk-2.c: Rename confirm_yes to confirm_value. | ||
2956 | 392 | (confirm_value_t): New type. Use it for confirm_value. | ||
2957 | 393 | (window_closed): Remove. | ||
2958 | 394 | (confirm_button_clicked): Set confirm_value. | ||
2959 | 395 | (create_window): Implement NOTOK. | ||
2960 | 396 | (gtk_cmd_handler): Implement cancel behaviour a bit differently. | ||
2961 | 397 | |||
2962 | 398 | 2009-04-09 Marcus Brinkmann <marcus@g10code.de> | ||
2963 | 399 | |||
2964 | 400 | * qt4/qsecurelineedit.h (QSecureLineEdit): Don't export. | ||
2965 | 401 | |||
2966 | 402 | 2009-04-06 Marcus Brinkmann <marcus@g10code.de> | ||
2967 | 403 | |||
2968 | 404 | * configure.ac: Portability fixes. | ||
2969 | 405 | |||
2970 | 406 | 2009-04-03 Marcus Brinkmann <marcus@g10code.de> | ||
2971 | 407 | |||
2972 | 408 | * qt4/Makefile.am (pinentry_qt4_SOURCES): Add qsecurelineedit_p.h. | ||
2973 | 409 | |||
2974 | 410 | * secmem/Makefile.am (libsecmem_a_SOURCES): Add secmem++.h. | ||
2975 | 411 | * qt4/Makefile.am (pinentry_qt4_SOURCES): Add pinentrydialog.moc | ||
2976 | 412 | and qsecurelineedit. | ||
2977 | 413 | |||
2978 | 414 | * configure.ac: Incorporate revision number in version string. | ||
2979 | 415 | |||
2980 | 416 | 2009-04-02 Till Adam <till@kdab.net> | ||
2981 | 417 | |||
2982 | 418 | * qt4/qsecurelineedit.moc, qt4/main.cpp, qt4/pinentrydialog.moc, | ||
2983 | 419 | qt4/qsecurelineedit.cpp, qt4/pinentrydialog.cpp, | ||
2984 | 420 | qt4/pinentrydialog.h: Implement quality bar and grabbing. | ||
2985 | 421 | |||
2986 | 422 | * qt4/pinentrydialog.cpp (PinEntryDialog): Enable word wrapping. | ||
2987 | 423 | |||
2988 | 424 | 2009-04-03 Marcus Brinkmann <marcus@g10code.de> | ||
2989 | 425 | |||
2990 | 426 | * qt4/main.cpp (qt_cmd_handler): Cast window handle ID. | ||
2991 | 427 | |||
2992 | 428 | 2009-03-19 Werner Koch <wk@g10code.com> | ||
2993 | 429 | |||
2994 | 430 | * pinentry/pinentry.h (struct pinentry): Add field user_closed. | ||
2995 | 431 | * pinentry/pinentry.c (cmd_getpin, cmd_confirm, cmd_message): | ||
2996 | 432 | Reset this field. | ||
2997 | 433 | (cmd_confirm): Return cancel if the user closed the window. | ||
2998 | 434 | * gtk+-2/pinentry-gtk-2.c (window_closed): New. | ||
2999 | 435 | (gtk_cmd_handler, delete_event): Set it. | ||
3000 | 436 | |||
3001 | 437 | 2009-02-19 Marcus Brinkmann <marcus@g10code.de> | ||
3002 | 438 | |||
3003 | 439 | * secmem/secmem++.h: New file. | ||
3004 | 440 | * qt4/Makefile.am, qt4/main.cpp, qt4/pinentrydialog.cpp, | ||
3005 | 441 | qt4/pinentrydialog.h: Changes to use secure memory. | ||
3006 | 442 | * qt4/pinentrydialog.moc, qt4/qsecurelineedit.moc: New files. | ||
3007 | 443 | * qt4/qsecurelineedit.cpp, qt4/qsecurelineedit.h, | ||
3008 | 444 | qt4/qsecurelineedit_p.h, qt4/secstring.h, qt4/secstring.cpp: New | ||
3009 | 445 | files. | ||
3010 | 446 | Submitted by Marc Mutz <marc@kdab.net>. | ||
3011 | 447 | |||
3012 | 448 | 2008-12-08 Werner Koch <wk@g10code.com> | ||
3013 | 449 | |||
3014 | 450 | * qt/main.cpp (qt_cmd_handler) <!want_pass>: Translate from utf8. | ||
3015 | 451 | * qt4/main.cpp (qt_cmd_handler) <!want_pass>: Translate from utf8. | ||
3016 | 452 | |||
3017 | 453 | 2008-11-12 Ludovic Rousseau <ludovic.rousseau@gmail.com> (wk) | ||
3018 | 454 | |||
3019 | 455 | * pinentry/pinentry.h (struct pinentry): Add field TITLE. | ||
3020 | 456 | * pinentry/pinentry.c (cmd_settitle): New. | ||
3021 | 457 | (register_commands): Add command SETTITLE. | ||
3022 | 458 | * gtk+-2/pinentry-gtk-2.c (create_window): Set the title. | ||
3023 | 459 | |||
3024 | 460 | 2008-10-17 Werner Koch <wk@g10code.com> | ||
3025 | 461 | |||
3026 | 462 | * secmem/memory.h: Add C++ extern declaration. | ||
3027 | 463 | |||
3028 | 464 | * secmem/secmem.c (secmem_get_max_size): New. | ||
3029 | 465 | |||
3030 | 466 | 2008-07-25 Marcus Brinkmann <marcus@ulysses.g10code.com> | ||
3031 | 467 | |||
3032 | 468 | * qt4/Makefile.am (DISTCLEANFILES): Rename to CLEANFILES. | ||
3033 | 469 | (BUILD_SOURCES): New. | ||
3034 | 470 | |||
3035 | 471 | 2008-07-25 Marcus Brinkmann <marcus@g10code.de> | ||
3036 | 472 | |||
3037 | 473 | * configure.ac: Prefer pinentry gtk2 over gtk. Now also choose | ||
3038 | 474 | qt4 (after qt and before w32 native). | ||
3039 | 475 | * README: Document Qt. | ||
3040 | 476 | |||
3041 | 477 | 2008-07-24 Marcus Brinkmann <marcus@g10code.de> | ||
3042 | 478 | |||
3043 | 479 | * qt4/pinentrydialog.h, qt4/pinentrydialog.cpp, qt4/main.cpp, | ||
3044 | 480 | qt4/Makefile.am: New files. | ||
3045 | 481 | * configure.ac: Add check for Qt4. | ||
3046 | 482 | (AC_CONFIG_FILES): Add qt4/Makefile.am. | ||
3047 | 483 | * Makefile.am (pinentry_qt4): New variable. | ||
3048 | 484 | (SUBDIRS): Add ${pinentry_qt4}. | ||
3049 | 485 | |||
3050 | 486 | 2008-07-23 Werner Koch <wk@g10code.com> | ||
3051 | 487 | |||
3052 | 488 | * secmem/secmem.c (secmem_init): Fix apostrophe in error | ||
3053 | 489 | message. Reported by Petr Uzel. | ||
3054 | 490 | |||
3055 | 491 | 2008-05-05 Marcus Brinkmann <marcus@ulysses.g10code.com> | ||
3056 | 492 | |||
3057 | 493 | * gtk+-2/gtksecentry.c (GMALLOC_SIZE): New symbol. | ||
3058 | 494 | (g_malloc, g_malloc0, g_realloc): Use GMALLOC_SIZE instead of | ||
3059 | 495 | gulong for size attribute. | ||
3060 | 496 | |||
3061 | 497 | 2008-03-03 Marcus Brinkmann <marcus@g10code.de> | ||
3062 | 498 | |||
3063 | 499 | * gtk+-2/pinentry-gtk-2.c (create_window): Install realize callback. | ||
3064 | 500 | (ungrab_keyboard): Unmake dialog transient. | ||
3065 | 501 | (make_transient): New function. | ||
3066 | 502 | Submitted by Joachim Breitner. | ||
3067 | 503 | |||
3068 | 504 | 2008-02-15 Werner Koch <wk@g10code.com> | ||
3069 | 505 | |||
3070 | 506 | Release 0.7.4. | ||
3071 | 507 | |||
3072 | 508 | 2008-02-14 Werner Koch <wk@g10code.com> | ||
3073 | 509 | |||
3074 | 510 | * configure.ac: Check for -Wno-pointer-sign. | ||
3075 | 511 | |||
3076 | 512 | * pinentry/pinentry.c (cmd_getinfo): New. | ||
3077 | 513 | (register_commands): Register it. | ||
3078 | 514 | |||
3079 | 515 | 2008-01-02 Marcus Brinkmann <marcus@g10code.de> | ||
3080 | 516 | |||
3081 | 517 | * configure.ac: Use PKG_CONFIG instead of PKGCONFIG and | ||
3082 | 518 | pkg-config. Use AC_PATH_PROG instead of AC_CHECK_PROG. | ||
3083 | 519 | |||
3084 | 520 | * Makefile.am (install-exec-local): Add exe extension to link. | ||
3085 | 521 | |||
3086 | 522 | 2007-11-29 Marcus Brinkmann <marcus@g10code.de> | ||
3087 | 523 | |||
3088 | 524 | Released 0.7.4. | ||
3089 | 525 | |||
3090 | 526 | 2007-11-19 Werner Koch <wk@g10code.com> | ||
3091 | 527 | |||
3092 | 528 | * doc/pinentry.texi (Protocol): Typo fixes by Bernhard Herzog. | ||
3093 | 529 | Describe SETQUALITYBAR_TT. | ||
3094 | 530 | |||
3095 | 531 | 2007-11-19 Bernhard Herzog <bernhard.herzog@intevation.de> (wk) | ||
3096 | 532 | |||
3097 | 533 | * qt/pinentrydialog.cpp (PinEntryDialog): Fixed crash | ||
3098 | 534 | |||
3099 | 535 | 2007-11-19 Werner Koch <wk@g10code.com> | ||
3100 | 536 | |||
3101 | 537 | * gtk+-2/pinentry-gtk-2.c (create_window): Use again map-event and | ||
3102 | 538 | unmap-event as this works on my setup far more reliable than | ||
3103 | 539 | expose-event/no-expose-event. | ||
3104 | 540 | |||
3105 | 541 | * gtk+-2/gtksecentry.c (get_cursor_time): s/time/blinktime/ t | ||
3106 | 542 | avoid shadowing warning. | ||
3107 | 543 | |||
3108 | 544 | * pinentry/pinentry.h (struct pinentry): Change QUALITY_BAR to a | ||
3109 | 545 | char ptr. | ||
3110 | 546 | (struct pinentry): Add QUALITY_BAR_TT. | ||
3111 | 547 | * pinentry/pinentry.c (cmd_setqualitybar): Allow to set a label text. | ||
3112 | 548 | (cmd_setqualitybar_tt): New. | ||
3113 | 549 | * gtk+-2/pinentry-gtk-2.c (create_window): Take label and tooltip | ||
3114 | 550 | from global. | ||
3115 | 551 | * qt/pinentrydialog.h (setQualityBar, setQualityBarTT) | ||
3116 | 552 | (_quality_bar_label): New. | ||
3117 | 553 | * qt/pinentrydialog.cpp (setQualityBar, setQualityBarTT): New. | ||
3118 | 554 | (PinEntryDialog): Remove setting of tooltip. | ||
3119 | 555 | |||
3120 | 556 | * qt/main.cpp (qt_cmd_handler): Propagate quality bar label and tootip. | ||
3121 | 557 | |||
3122 | 558 | 2007-11-19 Bernhard Herzog <bernhard.herzog@intevation.de> (wk) | ||
3123 | 559 | |||
3124 | 560 | * qt/pinentrydialog.cpp (PinEntryDialog): Move the quality bar | ||
3125 | 561 | below the text entry and align them properly. Show a tooltip. | ||
3126 | 562 | * gtk+-2/pinentry-gtk-2.c (create_window): Ditto. Don't let it | ||
3127 | 563 | change its height. | ||
3128 | 564 | (QUALITYBAR_EMPTY_TEXT): New. | ||
3129 | 565 | |||
3130 | 566 | 2007-09-18 Werner Koch <wk@g10code.com> | ||
3131 | 567 | |||
3132 | 568 | * qt/secqlineedit.h (SecQLineEdit): New signal textModified. | ||
3133 | 569 | * qt/secqlineedit.cpp (finishChange): Emit it. | ||
3134 | 570 | * qt/pinentrydialog.cpp (setPinentryInfo): New. | ||
3135 | 571 | (PinEntryDialog): Add arg ENABLE_QUALITY_BAR. | ||
3136 | 572 | * qt/pinentrydialog.h (setPinentryInfo): New. | ||
3137 | 573 | (PinEntryDialog): Add arg ENABLE_QUALITY_BAR. | ||
3138 | 574 | |||
3139 | 575 | * pinentry/pinentry.h (struct pinentry): Add member QUALITY_BAR | ||
3140 | 576 | and CTX_ASSUAN. | ||
3141 | 577 | * pinentry/pinentry.c (cmd_setqualitybar): New. | ||
3142 | 578 | (copy_and_escape): New. | ||
3143 | 579 | (pinentry_inq_quality): New. | ||
3144 | 580 | |||
3145 | 581 | 2007-07-09 Werner Koch <wk@g10code.com> | ||
3146 | 582 | |||
3147 | 583 | * doc/pinentry.texi: Fixed direntry syntax. | ||
3148 | 584 | |||
3149 | 585 | * configure.ac: Add --without-libcap. From the Gentoo patch archive. | ||
3150 | 586 | |||
3151 | 587 | * gtk+-2/pinentry-gtk-2.c (create_window): Use expose-event | ||
3152 | 588 | instead of map-event. From Alon Bar-Lev. | ||
3153 | 589 | |||
3154 | 590 | 2007-07-06 Werner Koch <wk@g10code.com> | ||
3155 | 591 | |||
3156 | 592 | Released 0.7.3. | ||
3157 | 593 | |||
3158 | 594 | * config.sub, config.guess: Updated from current Savannah CVS. | ||
3159 | 595 | |||
3160 | 596 | 2007-06-27 Werner Koch <wk@g10code.com> | ||
3161 | 597 | |||
3162 | 598 | * w32/main.c: Revamped the SetFocus stuff. It is all not that easy. | ||
3163 | 599 | |||
3164 | 600 | 2007-06-26 Werner Koch <wk@g10code.com> | ||
3165 | 601 | |||
3166 | 602 | * w32/Makefile.am (pinentry_w32_LDFLAGS): Add -mconsole again. | ||
3167 | 603 | |||
3168 | 604 | * w32/main.c (dlg_proc): Set focus. | ||
3169 | 605 | (resize_button): New. No code yet. | ||
3170 | 606 | (dlg_proc): Call it for the buttons. | ||
3171 | 607 | (w32_cmd_handler): Restore old foreground window. | ||
3172 | 608 | |||
3173 | 609 | 2007-06-20 Werner Koch <wk@g10code.com> | ||
3174 | 610 | |||
3175 | 611 | * w32/Makefile.am (pinentry_w32_LDFLAGS): Remove -mconsole. | ||
3176 | 612 | |||
3177 | 613 | * w32/main.c (wchar_to_utf8): New. | ||
3178 | 614 | (ok_button_clicked): Use it. | ||
3179 | 615 | (utf8_to_wchar): New. | ||
3180 | 616 | (set_dlg_item_text): New. | ||
3181 | 617 | (dlg_proc): Use new function so that we are able to correctly | ||
3182 | 618 | display all prompts. | ||
3183 | 619 | (main): Load LockSetForegroundWindow. | ||
3184 | 620 | (dlg_proc): Call LockSetForegroundWindow via its fnc ptr. | ||
3185 | 621 | (center_window): New. Taken from GPGol. | ||
3186 | 622 | (dlg_proc): Call it. | ||
3187 | 623 | (w32_cmd_handler): Revamped the confirm mode. | ||
3188 | 624 | |||
3189 | 625 | 2007-06-18 Werner Koch <wk@g10code.com> | ||
3190 | 626 | |||
3191 | 627 | * w32/main.c (dlg_proc): Call LockSetForegroundWindow. | ||
3192 | 628 | |||
3193 | 629 | * Makefile.am (signed-dist, %.sig): Remove. | ||
3194 | 630 | |||
3195 | 631 | * autogen.sh: Modernized. | ||
3196 | 632 | |||
3197 | 633 | 2007-05-10 Marcus Brinkmann <marcus@g10code.de> | ||
3198 | 634 | |||
3199 | 635 | * pinentry/pinentry.h (pinentry_color_t): New type. | ||
3200 | 636 | (struct pinentry): New members COLOR_FG, COLOR_FG_BRIGHT, | ||
3201 | 637 | COLOR_BG, COLOR_SO. | ||
3202 | 638 | * pinentry/pinentry.c (pinentry_parse_opts): Support new option --colors. | ||
3203 | 639 | (parse_color): New function. | ||
3204 | 640 | * pinentry/pinentry-curses.c (USE_COLORS): New macro. | ||
3205 | 641 | (pinentry_color): New static variable. | ||
3206 | 642 | (dialog_create): Redo color management. | ||
3207 | 643 | |||
3208 | 644 | * pinentry/pinentry-curses.c (dialog_create): Re-add calculation | ||
3209 | 645 | of cancel button position. Adjust calculation of OK button | ||
3210 | 646 | position if it is the only one used. | ||
3211 | 647 | |||
3212 | 648 | 2007-04-13 Marcus Brinkmann <marcus@g10code.de> | ||
3213 | 649 | |||
3214 | 650 | * qt/secqlineedit.h (SecQLineEdit::contextMenuEvent, | ||
3215 | 651 | SecQLineEdit::createPopupMenu): Remove prototype. | ||
3216 | 652 | * qt/secqlineedit.cpp (SecQLineEdit::contextMenuEvent, | ||
3217 | 653 | SecQLineEdit::createPopupMenu): Remove implementation. | ||
3218 | 654 | Submitted by Tobias Koenig <tokoe@kde.org>. | ||
3219 | 655 | |||
3220 | 656 | 2007-02-14 Werner Koch <wk@g10code.com> | ||
3221 | 657 | |||
3222 | 658 | * pinentry/pinentry.h (struct pinentry): Add TOUCH_FILE. | ||
3223 | 659 | * pinentry/pinentry.c (option_handler): New option "touch-file". | ||
3224 | 660 | (pinentry_have_display): Ignore an empty DISPLAY. | ||
3225 | 661 | * pinentry/pinentry-curses.c (do_touch_file): New. | ||
3226 | 662 | (curses_cmd_handler): Call it. | ||
3227 | 663 | * configure.ac: Check for utime.h. | ||
3228 | 664 | |||
3229 | 665 | 2007-01-24 Werner Koch <wk@g10code.com> | ||
3230 | 666 | |||
3231 | 667 | * pinentry/pinentry.c (cmd_message): New. | ||
3232 | 668 | (cmd_confirm): New command option --one-button. | ||
3233 | 669 | (cmd_getpin): Zeroise ONE_BUTTON. | ||
3234 | 670 | * pinentry/pinentry.h (struct pinentry): Add field ONE_BUTTON. | ||
3235 | 671 | * gtk/pinentry-gtk.c (create_window): Take care of new option. | ||
3236 | 672 | * gtk+-2/pinentry-gtk-2.c (create_window): Ditto. | ||
3237 | 673 | * pinentry/pinentry-curses.c (dialog_create): Ditto. | ||
3238 | 674 | (dialog_create, dialog_switch_pos): Allow CANCEL to be optional. | ||
3239 | 675 | |||
3240 | 676 | 2006-07-29 Marcus Brinkmann <marcus@g10code.de> | ||
3241 | 677 | |||
3242 | 678 | * secmem/secmem.c (init_pool): Close FD after establishing the | ||
3243 | 679 | mapping. | ||
3244 | 680 | |||
3245 | 681 | 2005-09-28 Marcus Brinkmann <marcus@g10code.de> | ||
3246 | 682 | |||
3247 | 683 | * configure.ac (PINENTRY_GTK): Error out if iconv is not found but | ||
3248 | 684 | needed. | ||
3249 | 685 | |||
3250 | 686 | * config.rpath: New file from gettext. Needed by iconv.m4. | ||
3251 | 687 | |||
3252 | 688 | 2005-07-11 Marcus Brinkmann <marcus@g10code.de> | ||
3253 | 689 | |||
3254 | 690 | * pinentry/pinentry-curses.c (dialog_switch_pos): Set the cursor | ||
3255 | 691 | state to invisible before moving around. Move the cursor to the | ||
3256 | 692 | beginning of the dialog buttons for accessibility. | ||
3257 | 693 | |||
3258 | 694 | 2005-06-16 Marcus Brinkmann <marcus@g10code.de> | ||
3259 | 695 | |||
3260 | 696 | * pinentry/pinentry-curses.c (dialog_run): Only convert pin if a | ||
3261 | 697 | pin actually exists. | ||
3262 | 698 | |||
3263 | 699 | 2005-01-27 Werner Koch <wk@g10code.com> | ||
3264 | 700 | |||
3265 | 701 | Released 0.7.2. | ||
3266 | 702 | |||
3267 | 703 | * gtk+-2/Makefile.am: Removed padlock-keyhole.xpm. | ||
3268 | 704 | |||
3269 | 705 | * configure.ac: Use AC_GNU_SOURCE instead of the custom define. | ||
3270 | 706 | Prefer gtk2 pinentry over qt. | ||
3271 | 707 | |||
3272 | 708 | 2005-01-21 Marcus Brinkmann <marcus@g10code.de> | ||
3273 | 709 | |||
3274 | 710 | * doc/pinentry.texi: Fix spelling errors. | ||
3275 | 711 | Submitted by Ville Skyttä. | ||
3276 | 712 | |||
3277 | 713 | 2004-12-23 Werner Koch <wk@g10code.com> | ||
3278 | 714 | |||
3279 | 715 | * w32/pinentry-w32.rc: Remove the default texts for description, | ||
3280 | 716 | prompt and error. Make it system modal. Enlarge the description | ||
3281 | 717 | field. | ||
3282 | 718 | |||
3283 | 719 | 2004-12-22 Timo Schulz <twoaday@g10code.com> | ||
3284 | 720 | |||
3285 | 721 | * w32/main.c: Remove all helper functions and use a callback | ||
3286 | 722 | to set the dialog items directly. | ||
3287 | 723 | (dlg_proc): Set 'result' to -1 to indicate cancel. | ||
3288 | 724 | (ok_button_clicked): Adjusted. Set 'result' to the len of | ||
3289 | 725 | the PIN to indicate success. | ||
3290 | 726 | |||
3291 | 727 | 2004-12-22 Werner Koch <wk@g10code.com> | ||
3292 | 728 | |||
3293 | 729 | * w32/main.c: Simplified. | ||
3294 | 730 | * w32/dialog.h, w32/dialog.c, w32/controller.h, w32/controller.c: | ||
3295 | 731 | Removed | ||
3296 | 732 | |||
3297 | 733 | * w32/resource.h, w32/pinentry-w32.rc, w32/main.c, w32/dialog.h | ||
3298 | 734 | * w32/dialog.c, w32/controller.h, w32/controller.c | ||
3299 | 735 | * w32/Makefile.am: New. Based on Timo's work. | ||
3300 | 736 | |||
3301 | 737 | Update to automake 1.9. | ||
3302 | 738 | |||
3303 | 739 | * autogen.sh (configure_ac): Add --build-w32 option. | ||
3304 | 740 | * Makefile.am: Support for the W32 pinentry. | ||
3305 | 741 | * configure.ac: Ditto. Reformatted some error messages. | ||
3306 | 742 | Define the usual conditionals for W32. | ||
3307 | 743 | Check for a couple of more usually required headers. | ||
3308 | 744 | |||
3309 | 745 | * pinentry/pinentry.h (sleep) [W32]: New. | ||
3310 | 746 | |||
3311 | 747 | * pinentry/pinentry.c: Include langinfo.h only if available. | ||
3312 | 748 | (pinentry_loop) [DOSISH]: Don't do uid check. | ||
3313 | 749 | |||
3314 | 750 | * secmem/util.c [DOSISH]: Disable UID stuff. | ||
3315 | 751 | |||
3316 | 752 | 2004-09-27 Marcus Brinkmann <marcus@g10code.de> | ||
3317 | 753 | |||
3318 | 754 | * acinclude.m4 (IU_LIB_NCURSES, IU_LIB_CURSES, IU_LIB_TERMCAP): | ||
3319 | 755 | Moved to m4/curses.m4. | ||
3320 | 756 | (AM_ICONV): Moved to m4/iconv.m4. | ||
3321 | 757 | (AM_PATH_GLIB): Moved to m4/glib.m4. | ||
3322 | 758 | (QT_FIND_FILE, QT_PATH_MOC, QT_PATH_X, QT_PRINT_PROGRAM, | ||
3323 | 759 | QT_CHECK_VERSION, QT_PATH_1_3, QT_PATH, QT_CHECK_COMPILER_FLAG, | ||
3324 | 760 | QT_REMOVE_FORBIDDEN, QT_VALIDIFY_CXXFLAGS, QT_CHECK_COMPILERS, | ||
3325 | 761 | QT_CHECK_RPATH, QT_CHECK_LIBPTHREAD, QT_CHECK_PTHREAD_OPTION, | ||
3326 | 762 | QT_CHECK_THREADING): Move to m4/qt.m4. | ||
3327 | 763 | |||
3328 | 764 | 2004-09-21 Marcus Brinkmann <marcus@g10code.de> | ||
3329 | 765 | |||
3330 | 766 | * qt/Makefile.am (pinentry_qt_LDFLAGS): Add $(QT_RPATH). | ||
3331 | 767 | Requested by Leo Savernik <l.savernik@aon.at>. | ||
3332 | 768 | |||
3333 | 769 | 2004-09-02 Marcus Brinkmann <marcus@g10code.de> | ||
3334 | 770 | |||
3335 | 771 | * gtk+-2/padlock-keyhole.xpm: File removed. | ||
3336 | 772 | * gtk+-2/pinentry-gtk-2.c (create_window): Use stock icon. | ||
3337 | 773 | * gtk+-2/gtksecentry.h, gtk+-2/gtksecentry.c: Fix copyright notice. | ||
3338 | 774 | |||
3339 | 775 | Submitted by Albrecht Dress albrecht.dress@arcor.de. | ||
3340 | 776 | |||
3341 | 777 | 2004-08-17 Marcus Brinkmann <marcus@g10code.de> | ||
3342 | 778 | |||
3343 | 779 | * configure.ac: Invoke AC_PROG_LN_S. | ||
3344 | 780 | (PINENTRY_DEFAULT): New variable. Substitute it. Fail if no | ||
3345 | 781 | default can be determined. | ||
3346 | 782 | * Makefile.am (install-exec-local): Install pinentry default link. | ||
3347 | 783 | |||
3348 | 784 | * configure.ac: Check for Gtk+-2. | ||
3349 | 785 | * gtk+-2: New directory with gtk+-2 pinentry. | ||
3350 | 786 | * gtk+-2/Makefile.am, gtk+-2/gtksecentry.h, gtk+-2/gtksecentry.c, | ||
3351 | 787 | gtk+-2/pinentry-gtk-2.c, gtk+-2/padlock-keyhole.xpm: New files. | ||
3352 | 788 | * Makefile.am (pinentry_gtk_2): New variable. | ||
3353 | 789 | (SUBDIRS): Add pinentry_gtk_2. | ||
3354 | 790 | |||
3355 | 791 | Submitted by Albrecht Dress albrecht.dress@arcor.de. | ||
3356 | 792 | |||
3357 | 793 | 2004-08-04 Werner Koch <wk@g10code.de> | ||
3358 | 794 | |||
3359 | 795 | * pinentry/pinentry.c (usage): Print help to stdout. | ||
3360 | 796 | |||
3361 | 797 | 2004-07-30 Moritz Schulte <moritz@g10code.com> | ||
3362 | 798 | |||
3363 | 799 | * qt/Makefile.am (ncurses_include): Removed | ||
3364 | 800 | -I$(top_srcdir)/pinentry ... | ||
3365 | 801 | (AM_CPPFLAGS): ... added: -I$(top_srcdir)/pinentry. Thanks to | ||
3366 | 802 | Peter Eisentraut. | ||
3367 | 803 | |||
3368 | 804 | * pinentry/pinentry.c (pinentry_utf8_to_local): Declare INPUT | ||
3369 | 805 | const. | ||
3370 | 806 | (pinentry_local_to_utf8): Likewise. | ||
3371 | 807 | (pinentry_utf8_to_local, pinentry_local_to_utf8): Compile only, if | ||
3372 | 808 | either Curses or GTK+ support is enabled. | ||
3373 | 809 | * configure.ac: Do also check for libiconv when the GTK+ version | ||
3374 | 810 | of pinentry is to be build. Define PINENTRY_CURSES, PINENTRY_GTK, | ||
3375 | 811 | PINENTRY_QT depending on which versions of pinentry should be | ||
3376 | 812 | build. | ||
3377 | 813 | |||
3378 | 814 | 2004-05-21 Marcus Brinkmann <marcus@g10code.de> | ||
3379 | 815 | |||
3380 | 816 | * acinclude.m4 (QT_CHECK_DIRECT): Removed. | ||
3381 | 817 | (QT_PATH_1_3): Do never invoke QT_CHECK_DIRECT. | ||
3382 | 818 | |||
3383 | 819 | 2004-04-21 Werner Koch <wk@gnupg.org> | ||
3384 | 820 | |||
3385 | 821 | Released 0.7.1. | ||
3386 | 822 | |||
3387 | 823 | 2004-04-20 Werner Koch <wk@gnupg.org> | ||
3388 | 824 | |||
3389 | 825 | * secmem/secmem.c [!ORIGINAL_GPG_VERSION]: Include util.h for some | ||
3390 | 826 | typedefs and protos. | ||
3391 | 827 | (secmem_free, secmem_term): Use wipememory2 instead of memset. | ||
3392 | 828 | |||
3393 | 829 | * autogen.sh (configure_ac): Fixed version check (s/==/=/). | ||
3394 | 830 | |||
3395 | 831 | 2004-04-02 Thomas Schwinge <schwinge@nic-nac-project.de> | ||
3396 | 832 | |||
3397 | 833 | * autogen.sh: Added ACLOCAL_FLAGS. | ||
3398 | 834 | |||
3399 | 835 | 2004-02-23 Marcus Brinkmann <marcus@g10code.de> | ||
3400 | 836 | |||
3401 | 837 | * qt/main.cpp: Include "pinentry.h", not <pinentry.h>. | ||
3402 | 838 | |||
3403 | 839 | 2004-01-30 Werner Koch <wk@gnupg.org> | ||
3404 | 840 | |||
3405 | 841 | * configure.ac (fopencookie): Remove that test. | ||
3406 | 842 | |||
3407 | 843 | 2004-01-28 Moritz Schulte <mo@g10code.com> | ||
3408 | 844 | |||
3409 | 845 | * gtk/gtksecentry.c: | ||
3410 | 846 | (gtk_secure_entry_key_press): Treat GDK_KP_Enter just like | ||
3411 | 847 | GDK_Return. | ||
3412 | 848 | |||
3413 | 849 | 2004-01-18 Marcus Brinkmann <marcus@g10code.de> | ||
3414 | 850 | |||
3415 | 851 | * qt/secqstring.cpp: Do not include "private/qunicodetables_p.h". | ||
3416 | 852 | (isRightToLeft): De-optimize direction query. | ||
3417 | 853 | |||
3418 | 854 | * qt/secqinternal_p.h, qt/secqinternal.cpp: New files. | ||
3419 | 855 | * qt/Makefile.am (pinentry_qt_SOURCES): Add secqinternal_p.h | ||
3420 | 856 | and secqinternal.cpp. | ||
3421 | 857 | (EXTRA_DIST): Add README.SecQ. | ||
3422 | 858 | * qt/secqlineedit.cpp: Include "secqinternal_p.h". | ||
3423 | 859 | (drawContents): Use SecQSharedDoubleBuffer. | ||
3424 | 860 | |||
3425 | 861 | 2004-01-02 Werner Koch <wk@gnupg.org> | ||
3426 | 862 | |||
3427 | 863 | * configure.ac: Early check for a c++ compiler. | ||
3428 | 864 | |||
3429 | 865 | 2003-12-23 Werner Koch <wk@gnupg.org> | ||
3430 | 866 | |||
3431 | 867 | Released 0.7.0. | ||
3432 | 868 | |||
3433 | 869 | Added Manifest files to all directories. | ||
3434 | 870 | |||
3435 | 871 | 2003-12-22 Werner Koch <wk@gnupg.org> | ||
3436 | 872 | |||
3437 | 873 | * qt/main.cpp: Include errno.h. | ||
3438 | 874 | (main): Translate the --display option to -display, so that the Qt | ||
3439 | 875 | init code can grasp it. | ||
3440 | 876 | |||
3441 | 877 | * doc/ChangeLog: Removed and merged with this file. | ||
3442 | 878 | * doc/pinentry.texi: Cleaned up. | ||
3443 | 879 | * doc/fdl.texi: Removed. | ||
3444 | 880 | |||
3445 | 881 | * pinentry/pinentry.h (struct pinentry): Added LOCALE_ERR. | ||
3446 | 882 | * gtk/pinentry-gtk.c (button_clicked): Set the LOCAE_ERR flag. | ||
3447 | 883 | * pinentry/pinentry-curses.c (dialog_run): Ditto. | ||
3448 | 884 | * pinentry/pinentry.c (cmd_getpin, cmd_confirm): Check this flag. | ||
3449 | 885 | (pinentry_local_to_utf8): Release the correct buffer in the error | ||
3450 | 886 | case. Print diagnostics. | ||
3451 | 887 | (pinentry_utf8_to_local): Print diagnostics. | ||
3452 | 888 | (pinentry_parse_opts): Make short options work. | ||
3453 | 889 | (pinentry_utf8_to_local): Pass nl_langinfo to iconv_open. | ||
3454 | 890 | |||
3455 | 891 | * gtk/pinentry-gtk.c (button_clicked): Use the right value as | ||
3456 | 892 | input for the conversion. | ||
3457 | 893 | |||
3458 | 894 | * pinentry/pinentry.c: New variable THIS_PGMNAME. | ||
3459 | 895 | (pinentry_init): Add arg PGMNAME and store it. Use it at all | ||
3460 | 896 | marked placed instead of the constant "pinentry". | ||
3461 | 897 | (usage): Use it here too. | ||
3462 | 898 | * curses/pinentry-curses.c (main): Call pinentry_init with our name. | ||
3463 | 899 | * qt/main.cpp (main): Ditto. | ||
3464 | 900 | * gtk/pinentry-gtk.c (main): Ditto. | ||
3465 | 901 | |||
3466 | 902 | * configure.ac: Check for mmap. | ||
3467 | 903 | |||
3468 | 904 | * secmem/util.h (wipememory2,wipememory,wipe): New. | ||
3469 | 905 | * secmem/util.c (wipe): Removed. | ||
3470 | 906 | * secmem/util.c (lower_privs, raise_privs): Commented out. | ||
3471 | 907 | |||
3472 | 908 | * pinentry/pinentry.c (pinentry_loop): Add paranoia check for | ||
3473 | 909 | dropped privs. | ||
3474 | 910 | |||
3475 | 911 | * secmem/secmem.c (lock_pool): Cleanup syntax of cpp directives. | ||
3476 | 912 | |||
3477 | 913 | * gtk/pinentry-gtk.c (main): Print package name in the version line. | ||
3478 | 914 | * curses/pinentry-curses.c (main): Ditto. | ||
3479 | 915 | * qt/main.cpp (main): Ditto. Fixed typo. | ||
3480 | 916 | |||
3481 | 917 | * gtk/pinentry-gtk.c: Include memory.h. | ||
3482 | 918 | |||
3483 | 919 | 2003-12-20 Marcus Brinkmann <marcus@g10code.de> | ||
3484 | 920 | |||
3485 | 921 | * pinentry/pinentry.h (struct pinentry): New member PARENT_WID. | ||
3486 | 922 | * pinentry/pinentry.c (pinentry): Add new member here. | ||
3487 | 923 | (usage): Add --parent-wid. | ||
3488 | 924 | (pinentry_parse_opts): Add case for "parent-wid". | ||
3489 | 925 | (option_handler): Same here. | ||
3490 | 926 | |||
3491 | 927 | 2003-12-19 Marcus Brinkmann <marcus@g10code.de> | ||
3492 | 928 | |||
3493 | 929 | * pinentry/pinentry.c (cmd_setcancel): Use strcpy_escaped. | ||
3494 | 930 | (cmd_setok): Likewise. | ||
3495 | 931 | (cmd_setprompt): Likewise. | ||
3496 | 932 | (pinentry_utf8_to_local): Don't use | ||
3497 | 933 | nl_langinfo, but just lc_ctype directly. | ||
3498 | 934 | * pinentry/pinentry.c (cmd_getpin): Do not convert passphrase to | ||
3499 | 935 | UTF-8 here. | ||
3500 | 936 | * gtk/pinentry-gtk.c (button_clicked): Convert passphrase to UTF8 | ||
3501 | 937 | here. | ||
3502 | 938 | * pinentry/pinentry-curses.c (dialog_run): Likewise. | ||
3503 | 939 | |||
3504 | 940 | 2003-12-14 Marcus Brinkmann <marcus@g10code.de> | ||
3505 | 941 | |||
3506 | 942 | * pinentry/pinentry.c (pinentry_init): Register secmem_term as | ||
3507 | 943 | atexit function. Set assuan malloc hooks to secmem. | ||
3508 | 944 | (pinentry_parse_opts): Add break statement to silence gcc warning. | ||
3509 | 945 | * pinentry/pinentry.c (cmd_getpin): If canceled, release and clear | ||
3510 | 946 | PINENTRY->pin nevertheless. | ||
3511 | 947 | |||
3512 | 948 | * acinclude.m4 (qt_incdirs): Add /usr/include/qt3. | ||
3513 | 949 | * qt/Makefile.am (pinentry_qt_SOURCES): Remove cppmemory.h, | ||
3514 | 950 | cppmemory.cpp, pinentrycontroller.h, pinentrycontroller.cpp. | ||
3515 | 951 | (nodist_pinentry_qt_SOURCES): Remove pinentrycontroller.moc.cpp. | ||
3516 | 952 | (libcurses): Move ../pinentry/libpinentry.a from here to ... | ||
3517 | 953 | (pinentry_qt_LDADD): ... here. Change order a bit to make it | ||
3518 | 954 | work. | ||
3519 | 955 | * qt/cppmemory.h, qt/cppmemory.cpp, qt/pinentrycontroller.h, | ||
3520 | 956 | qt/pinentrycontroller.cpp: Files removed. | ||
3521 | 957 | * qt/secqstring.h, qt/secqstring.cpp, secqlineedit.h, | ||
3522 | 958 | secqlineedit.cpp: New files. | ||
3523 | 959 | * qt/Makefile.am (pinentry_qt_SOURCES): Add secqstring.h, | ||
3524 | 960 | secqstring.cpp, secqlineedit.h, and secqlineedit.cpp. | ||
3525 | 961 | (nodist_pinentry_qt_SOURCES): Add secqlineedit.moc.cpp. | ||
3526 | 962 | * qt/main.cpp: Do not include "memory.h" or "secmem-util.h", nor | ||
3527 | 963 | <new> or "pinentrycontroller.h". Include <qapplication.h>, | ||
3528 | 964 | <qmessagebox.h>, <qwidget.h> and "secqstring.h". Always include | ||
3529 | 965 | <pinentry.h>. | ||
3530 | 966 | [USE_KDE]: Remove all instances. | ||
3531 | 967 | (curses_main): Function removed. | ||
3532 | 968 | (my_new_handler): Likewise. | ||
3533 | 969 | (qt_main): Likewise. | ||
3534 | 970 | (qt_cmd_handler): New function. | ||
3535 | 971 | (pinentry_cmd_handler): Define always (to qt_cmd_handler). | ||
3536 | 972 | (main): Rewritten. | ||
3537 | 973 | * qt/pinentrydialog.cpp: Do not include <qlineedit.h>, but | ||
3538 | 974 | "secqlineedit.h". | ||
3539 | 975 | (PinEntryDialog::PinEntryDialog): Make _edit a SecQLineEdit | ||
3540 | 976 | object. Connect accepted SIGNAL to accept SLOT, and rejected | ||
3541 | 977 | SIGNAL to reject SLOT. | ||
3542 | 978 | (PinEntryDialog::setText): Make argument SecQString rather than | ||
3543 | 979 | QString. | ||
3544 | 980 | (PinEntryDialog::text): Likewise for return value. | ||
3545 | 981 | * qt/pinentrydialog.h: Declare SecQString and SecQLineEdit classes. | ||
3546 | 982 | (class PinEntryDialog): Disable property text (for now). Adjust | ||
3547 | 983 | argument of setText and return value of text, as well as type of | ||
3548 | 984 | _edit. | ||
3549 | 985 | |||
3550 | 986 | 2003-12-09 Werner Koch <wk@gnupg.org> | ||
3551 | 987 | |||
3552 | 988 | * README.CVS: New. | ||
3553 | 989 | * Makefile.am (EXTRA_DIST): Add README.CVS | ||
3554 | 990 | (ACLOCAL_AMFLAGS): New. | ||
3555 | 991 | * configure.ac: Added min_automake_versions. | ||
3556 | 992 | * autogen.sh: Revamped. | ||
3557 | 993 | |||
3558 | 994 | 2003-04-23 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> | ||
3559 | 995 | |||
3560 | 996 | * configure.ac: Version 0.6.10-cvs | ||
3561 | 997 | |||
3562 | 998 | 2003-04-23 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> | ||
3563 | 999 | |||
3564 | 1000 | * configure.ac: Version 0.6.9 | ||
3565 | 1001 | * qt/Makefile.am: Added moc files to DISTCLEANFILES | ||
3566 | 1002 | * qt/pinentrycontroller.cpp: Dont spew assuan debug stuff out on stderr. | ||
3567 | 1003 | |||
3568 | 1004 | 2003-03-26 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> | ||
3569 | 1005 | |||
3570 | 1006 | * qt/cppmemory.cpp, qt/main.cpp: Only override array allocation | ||
3571 | 1007 | operators. This should take care of the reported memory-problems | ||
3572 | 1008 | and even make pinentry-qt use a bit less memory. | ||
3573 | 1009 | |||
3574 | 1010 | 2003-02-15 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> | ||
3575 | 1011 | |||
3576 | 1012 | * qt/pinentrydialog.h, qt/pinentrydialog.cpp: Added icons | ||
3577 | 1013 | for error/non-error messages. | ||
3578 | 1014 | |||
3579 | 1015 | 2003-02-07 Marcus Brinkmann <marcus@g10code.de> | ||
3580 | 1016 | |||
3581 | 1017 | Released 0.6.8. | ||
3582 | 1018 | |||
3583 | 1019 | 2003-02-04 Steffen Hansen <steffen@klaralvdalens-datakonsult.se> | ||
3584 | 1020 | |||
3585 | 1021 | * qt/main.cpp: Work around '--display' option. This fixes | ||
3586 | 1022 | the pinentry-qt problem reported by several people lately. | ||
3587 | 1023 | |||
3588 | 1024 | 2003-01-24 Werner Koch <wk@gnupg.org> | ||
3589 | 1025 | |||
3590 | 1026 | * autogen.sh: Print a hint to use maintainer mode. | ||
3591 | 1027 | |||
3592 | 1028 | 2002-12-24 Marcus Brinkmann <marcus@g10code.de> | ||
3593 | 1029 | |||
3594 | 1030 | * pinentry/pinentry-curses.c (collect_line): New function. | ||
3595 | 1031 | (COPY_OUT, MAKE_BUTTON): New macros. | ||
3596 | 1032 | (dialog_create): Rewrite the initializing code and the description | ||
3597 | 1033 | calculation routine with word wrapping. | ||
3598 | 1034 | |||
3599 | 1035 | 2002-11-20 Werner Koch <wk@gnupg.org> | ||
3600 | 1036 | |||
3601 | 1037 | Released 0.6.7. | ||
3602 | 1038 | |||
3603 | 1039 | * pinentry/pinentry-curses.c (dialog_create): Better truncate | ||
3604 | 1040 | lines than to go into an infinite loop. We need to implement word | ||
3605 | 1041 | wrap. | ||
3606 | 1042 | (dialog_run): Add DIALOG_POS_NONE to switch so prevent a warning. | ||
3607 | 1043 | |||
3608 | 1044 | 2002-11-12 Werner Koch <wk@gnupg.org> | ||
3609 | 1045 | |||
3610 | 1046 | * config.sub, config.guess: Updated from ftp.gnu.org/gnu/config | ||
3611 | 1047 | to version 2002-11-08. | ||
3612 | 1048 | |||
3613 | 1049 | 2002-11-09 Werner Koch <wk@gnupg.org> | ||
3614 | 1050 | |||
3615 | 1051 | Released 0.6.6. | ||
3616 | 1052 | |||
3617 | 1053 | 2002-11-08 Werner Koch <wk@gnupg.org> | ||
3618 | 1054 | |||
3619 | 1055 | * pinentry/pinentry-curses.c (convert_utf8_string): Renamed to | ||
3620 | 1056 | * pinentry/pinentry.c (pinentry_utf8_to_local): this. Changed | ||
3621 | 1057 | callers. | ||
3622 | 1058 | (pinentry_local_to_utf8): New. | ||
3623 | 1059 | (cmd_getpin): Convert result back to UTF-8. | ||
3624 | 1060 | * gtk/pinentry-gtk.c (create_utf8_label): New. | ||
3625 | 1061 | (create_window): Use it here to set the prompts. | ||
3626 | 1062 | |||
3627 | 1063 | 2002-11-06 Werner Koch <wk@gnupg.org> | ||
3628 | 1064 | |||
3629 | 1065 | * pinentry/pinentry-curses.c (dialog_run): Fixed retrun value tests | ||
3630 | 1066 | for fopen. | ||
3631 | 1067 | |||
3632 | 1068 | 2002-11-05 Werner Koch <wk@gnupg.org> | ||
3633 | 1069 | |||
3634 | 1070 | * secmem/util.c (init_uids): Make it a prototype. | ||
3635 | 1071 | |||
3636 | 1072 | * gtk/pinentry-gtk.c (enter_callback): Changed argument name to | ||
3637 | 1073 | avoid shadowing warning. | ||
3638 | 1074 | (create_window): Removed unused variable I. | ||
3639 | 1075 | (ok): Not used, commented. | ||
3640 | 1076 | |||
3641 | 1077 | * pinentry/pinentry.c: Include headers for getpid and sleep | ||
3642 | 1078 | prototypes. | ||
3643 | 1079 | |||
3644 | 1080 | * secmem/util.h: Correctly declare functions taking no args. | ||
3645 | 1081 | |||
3646 | 1082 | * gtk/pinentry-gtk.c: Move gtk headers to the top to avoid | ||
3647 | 1083 | compiler warnings about shadowing index etc. | ||
3648 | 1084 | |||
3649 | 1085 | * curses/pinentry-curses.c: Include stdio.h for the printf prototype. | ||
3650 | 1086 | |||
3651 | 1087 | * pinentry/pinentry-curses.c (dialog_switch_pos): Return a value. | ||
3652 | 1088 | |||
3653 | 1089 | * pinentry/pinentry.c (pinentry_have_display): New. | ||
3654 | 1090 | (pinentry_setbufferlen): Must return a value. Fixed documentation. | ||
3655 | 1091 | (usage): Print a question mark as a substitue for the program name. | ||
3656 | 1092 | |||
3657 | 1093 | * gtk/pinentry-gtk.c (main): use it here instead of getenv(). | ||
3658 | 1094 | * qt/main.cpp (main): Ditto. | ||
3659 | 1095 | |||
3660 | 1096 | 2002-10-11 Werner Koch <wk@gnupg.org> | ||
3661 | 1097 | |||
3662 | 1098 | * configure.ac, Makefile.am: Added doc/ and tests for makeinfo | ||
3663 | 1099 | |||
3664 | 1100 | * doc/pinentry.texi, doc/Makefile.am: New. | ||
3665 | 1101 | * doc/gpl.texi, doc/fdl.texi: Added these standard files. | ||
3666 | 1102 | |||
3667 | 1103 | 2002-09-30 Werner Koch <wk@gnupg.org> | ||
3668 | 1104 | |||
3669 | 1105 | Released 0.6.5. | ||
3670 | 1106 | |||
3671 | 1107 | * qt/pinentrycontroller.cpp (optionHandler): Make sure that a | ||
3672 | 1108 | value is returned. | ||
3673 | 1109 | * configure.ac: Use -Wall also for C++. | ||
3674 | 1110 | |||
3675 | 1111 | 2002-08-19 Steffen Hansen <steffen@hrhansen.dk> | ||
3676 | 1112 | |||
3677 | 1113 | * Relased 0.6.4. | ||
3678 | 1114 | |||
3679 | 1115 | 2002-08-11 Steffen Hansen <steffen@hrhansen.dk> | ||
3680 | 1116 | |||
3681 | 1117 | * Adapted pinentry-qt to new CONFIRM spec. | ||
3682 | 1118 | |||
3683 | 1119 | 2002-06-26 Werner Koch <wk@gnupg.org> | ||
3684 | 1120 | |||
3685 | 1121 | Release 0.6.3. | ||
3686 | 1122 | |||
3687 | 1123 | 2002-05-24 Werner Koch <wk@gnupg.org> | ||
3688 | 1124 | |||
3689 | 1125 | * AUTHORS: Added Marcus | ||
3690 | 1126 | * README: Fixed spelling of Quintuple-Agent. | ||
3691 | 1127 | |||
3692 | 1128 | 2002-05-13 Marcus Brinkmann <marcus@g10code.de> | ||
3693 | 1129 | |||
3694 | 1130 | Released 0.6.2. | ||
3695 | 1131 | |||
3696 | 1132 | * configure.ac: Set version number to 0.6.2. | ||
3697 | 1133 | * NEWS: Add information for 0.6.2. | ||
3698 | 1134 | * README: Update for release. | ||
3699 | 1135 | |||
3700 | 1136 | 2002-05-09 Marcus Brinkmann <marcus@g10code.de> | ||
3701 | 1137 | |||
3702 | 1138 | * configure.ac: Add option --enable-fallback-curses and bind it to | ||
3703 | 1139 | the ncurses check. Add automake conditional | ||
3704 | 1140 | BUILD_LIBPINENTRY_CURSES and FALLBACK_CURSES. Add preprocessor | ||
3705 | 1141 | symbol FALLBACK_CURSES. | ||
3706 | 1142 | |||
3707 | 1143 | * curses/Makefile.am (AM_CPPFLAGS): Add $(NCURSES_INCLUDE). | ||
3708 | 1144 | (LDADD): Add ../pinentry/libpinentry-curses.a. | ||
3709 | 1145 | * curses/pinentry-curses.c: Include "pinentry-curses.h". | ||
3710 | 1146 | Moved most of the meat to ... | ||
3711 | 1147 | * pinentry/pinentry-curses.c: ... here. New file. Make all | ||
3712 | 1148 | functions and global variables static. | ||
3713 | 1149 | (dialog_cmd_handler): Rename to ... | ||
3714 | 1150 | (curses_cmd_handler): ... this. | ||
3715 | 1151 | * pinentry/pinentry-curses.h: New file. | ||
3716 | 1152 | * pinentry/Makefile.am (noinst_LIBRARIES) | ||
3717 | 1153 | [BUILD_LIBPINENTRY_CURSES]: Add libpinentry-curses.a. | ||
3718 | 1154 | (libpinentry_curses_a_SOURCES): New target. | ||
3719 | 1155 | |||
3720 | 1156 | * gtk/Makefile.am (INCLUDES): Moved all to ... | ||
3721 | 1157 | (AM_CPPFLAGS): ... here. | ||
3722 | 1158 | [CURSES_FALLBACK]: Define ncurses_include and libcurses. | ||
3723 | 1159 | (AM_CPPFLAGS): Add $(ncurses_include). | ||
3724 | 1160 | (LDADD): Add $(libcurses). | ||
3725 | 1161 | * gtk/pinentry-gtk.c: Rename TIMEOUT to TIME_OUT to avoid conflict | ||
3726 | 1162 | with curses.h. | ||
3727 | 1163 | [CURSES_FALLBACK]: Include "pinentry-curses.h". | ||
3728 | 1164 | (button_clicked): Likewise. | ||
3729 | 1165 | (create_window): Likewise. | ||
3730 | 1166 | (cmd_handler): Renamed to ... | ||
3731 | 1167 | (gtk_cmd_handler): ... this. | ||
3732 | 1168 | (pinentry_cmd_handler): Set to gtk_cmd_handler. | ||
3733 | 1169 | (main) [CURSES_FALLBACK]: Initialize GTK+ only if environment | ||
3734 | 1170 | variable DISPLAY is set, otherwise fall back to curses dialog. | ||
3735 | 1171 | |||
3736 | 1172 | * pinentry/pinentry.h: Protect against multiple inclusion. | ||
3737 | 1173 | |||
3738 | 1174 | 2002-05-09 Marcus Brinkmann <marcus@g10code.de> | ||
3739 | 1175 | |||
3740 | 1176 | * curses/pinentry-curses.c (dialog_create): Allow multi-line error | ||
3741 | 1177 | texts. | ||
3742 | 1178 | |||
3743 | 1179 | * pinentry/pinentry.c (cmd_seterror): Call strcpy_escaped, rather | ||
3744 | 1180 | than strcpy, to allow percent-escaping the error text. | ||
3745 | 1181 | |||
3746 | 1182 | 2002-04-25 Steffen Hansen <steffen@hrhansen.dk> | ||
3747 | 1183 | |||
3748 | 1184 | * pinentry-qt: Use ok and cancel value if | ||
3749 | 1185 | provided. | ||
3750 | 1186 | |||
3751 | 1187 | 2002-04-25 Marcus Brinkmann <marcus@g10code.de> | ||
3752 | 1188 | |||
3753 | 1189 | * gtk/pinentry-gtk.c (create_window): Use ok and cancel value if | ||
3754 | 1190 | provided. | ||
3755 | 1191 | |||
3756 | 1192 | 2002-04-25 Marcus Brinkmann <marcus@g10code.de> | ||
3757 | 1193 | |||
3758 | 1194 | * qt/pinentrycontroller.h: New members _ok and _cancel. | ||
3759 | 1195 | * qt/pinentrycontroller.cpp (registerCommands): Add SETOK and SETCANCEL. | ||
3760 | 1196 | (assuanOk): New method. | ||
3761 | 1197 | (assuanCancel): Likewise. | ||
3762 | 1198 | |||
3763 | 1199 | 2002-04-25 Marcus Brinkmann <marcus@g10code.de> | ||
3764 | 1200 | |||
3765 | 1201 | * curses/pinentry-curses.c (dialog_create): Grok the new ok and | ||
3766 | 1202 | cancel members to set the pbutton texts, rather than parsing the | ||
3767 | 1203 | prompt in the confirm case. | ||
3768 | 1204 | |||
3769 | 1205 | * pinentry/pinentry.h (struct pinentry): Add new members ok and cancel. | ||
3770 | 1206 | * pinentry/pinentry.c (register_commands): Add new commands SETOK | ||
3771 | 1207 | and SETCANCEL to set button texts. | ||
3772 | 1208 | (struct pinentry pinentry): Add initializers for new members. | ||
3773 | 1209 | (cmd_setok): New function. | ||
3774 | 1210 | (cmd_setcancel): Likewise. | ||
3775 | 1211 | |||
3776 | 1212 | 2002-04-24 Marcus Brinkmann <marcus@g10code.de> | ||
3777 | 1213 | |||
3778 | 1214 | * curses/pinentry-curses.c (dialog_create): Add '<' and '>' around | ||
3779 | 1215 | the user provided button texts. Replace sizeof by strlen to fix | ||
3780 | 1216 | size calculation of ok and cancel button. | ||
3781 | 1217 | |||
3782 | 1218 | 2002-04-23 Marcus Brinkmann <marcus@g10code.de> | ||
3783 | 1219 | |||
3784 | 1220 | * pinentry/pinentry.h (struct pinentry): New variables lc_ctype | ||
3785 | 1221 | and lc_messages. | ||
3786 | 1222 | * pinentry/pinentry.c (usage): New options --lc-ctype and | ||
3787 | 1223 | --lc-messages. | ||
3788 | 1224 | (pinentry_parse_opts): Likewise. | ||
3789 | 1225 | (option_handler): Likewise. | ||
3790 | 1226 | (struct pinentry pinentry): New initializers for new members. | ||
3791 | 1227 | |||
3792 | 1228 | * curses/pinentry-curses.c (convert_utf8_string): New function. | ||
3793 | 1229 | (struct dialog): New members ok and cancel. | ||
3794 | 1230 | (dialog_create): New variables ERR, DESCRIPTION, ERROR, PROMPT, | ||
3795 | 1231 | OK, and CANCEL. Initialize them with the localised versions of | ||
3796 | 1232 | the pinentry strings. If in confirm mode, split up the prompt at | ||
3797 | 1233 | '|' and use the values as button texts. Use localised strings. | ||
3798 | 1234 | (dialog_switch_pos): Use localised strings. | ||
3799 | 1235 | (dialog_run): Free dialog strings. | ||
3800 | 1236 | |||
3801 | 1237 | * acinclude.m4 (AM_ICONV): New check from gettext. | ||
3802 | 1238 | * configure.ac: Run AM_ICONV if curses pinentry is build. | ||
3803 | 1239 | Don't check for inttypes.h, don't check size of unsigned int or | ||
3804 | 1240 | unsigned long. | ||
3805 | 1241 | (LIBCAP): Move check to interface independent part. | ||
3806 | 1242 | |||
3807 | 1243 | 2002-04-21 Steffen Hansen <steffen@hrhansen.dk> | ||
3808 | 1244 | |||
3809 | 1245 | * Removed X11 dependency and use Qt for grabbing the keyboard. | ||
3810 | 1246 | * Clear the lineedit before asking the user for the PIN. | ||
3811 | 1247 | |||
3812 | 1248 | 2002-04-12 Steffen Hansen <steffen@hrhansen.dk> | ||
3813 | 1249 | |||
3814 | 1250 | * Enable pinentry-qt if Qt is found | ||
3815 | 1251 | |||
3816 | 1252 | 2002-04-06 Marcus Brinkmann <marcus@g10code.de> | ||
3817 | 1253 | |||
3818 | 1254 | * qt: New directory. | ||
3819 | 1255 | * qt/Makefile.am, qt/cppmemory.cpp, qt/main.cpp, | ||
3820 | 1256 | pinentrycontroller.cpp, qt/pinentrycontroller.h, | ||
3821 | 1257 | qt/pinentrydialog.cpp, qt/pinentrydialog.h: New file, copied from | ||
3822 | 1258 | kde/. | ||
3823 | 1259 | * kde: Directory removed. | ||
3824 | 1260 | * kde/Makefile.am, kde/cppmemory.cpp, kde/main.cpp, | ||
3825 | 1261 | kde/pinentry.desktop, kde/pinentrycontroller.cpp, | ||
3826 | 1262 | kde/pinentrycontroller.h, kde/pinentrydialog.cpp, | ||
3827 | 1263 | kde/pinentrydialog.h: Files removed. | ||
3828 | 1264 | * acinclude.m4: Removed the KE checks and completely overhauled | ||
3829 | 1265 | the Qt checks, putting all Qt checks in their own namespace QT_, | ||
3830 | 1266 | and make it declare QT_-prefixed variables for linking and | ||
3831 | 1267 | compilation. | ||
3832 | 1268 | * configure.ac: Use the new Qt checks instead the KDE checks. | ||
3833 | 1269 | Replace "kde" with "qt" everywhere. | ||
3834 | 1270 | * Makefile.am: Replace "kde" with "qt" everywhere. | ||
3835 | 1271 | |||
3836 | 1272 | 2002-04-06 Marcus Brinkmann <marcus@g10code.de> | ||
3837 | 1273 | |||
3838 | 1274 | * acinclude.m4: Reworked the Qt and KDE checks, cutting out a lot | ||
3839 | 1275 | of dead and not-so-dead wood. Gave all KDE checks proper names. | ||
3840 | 1276 | * configure.ac: Use the new names for the KDE checks. | ||
3841 | 1277 | |||
3842 | 1278 | 2002-04-06 Marcus Brinkmann <marcus@g10code.de> | ||
3843 | 1279 | |||
3844 | 1280 | * kde/Makefile.am (EXTRA_DIST): Remove variable. | ||
3845 | 1281 | (install-data-local): Remove target. | ||
3846 | 1282 | (uninstall-local): Likewise. | ||
3847 | 1283 | |||
3848 | 1284 | 2002-04-05 Marcus Brinkmann <marcus@g10code.de> | ||
3849 | 1285 | |||
3850 | 1286 | Released 0.6.0. | ||
3851 | 1287 | |||
3852 | 1288 | * configure.ac: Set version number to 0.6. | ||
3853 | 1289 | * NEWS: Add information for 0.6.0. | ||
3854 | 1290 | * secmem/Makefile.am (libsecmem_a_SOURCES): Replace secmem.h with memory. | ||
3855 | 1291 | * kde/Makefile.am (pinentry_kde_SOURCES): Move | ||
3856 | 1292 | pinentrydialog.moc.cpp and pinentrycontroller.moc.cpp to ... | ||
3857 | 1293 | (nodist_pinentry_kde_SOURCES): ... this new target. | ||
3858 | 1294 | |||
3859 | 1295 | 2002-04-05 Marcus Brinkmann <marcus@g10code.de> | ||
3860 | 1296 | |||
3861 | 1297 | * acinclude.m4: A lot of new checks more or less straight from KDE's | ||
3862 | 1298 | admin/acinclude.m4.in. | ||
3863 | 1299 | * configure.ac (AC_CANONICAL_HOST): Call that macro. | ||
3864 | 1300 | (AC_CHECK_COMPILERS, AC_PATH_KDE): Call those macros if KDE | ||
3865 | 1301 | pinentry is enabled. | ||
3866 | 1302 | * kde/Makefile.am (CXXFLAGS, XXX_PREFIX, XXX_KDE_DEFINES, LIB_QT, | ||
3867 | 1303 | LIB_KDECORE, LIB_KDEUI, KDE_RPATH, MOC, kde_appsdir): Variables removed. | ||
3868 | 1304 | (AM_CPPFLAGS): Replace XXX_KDE_DEFINES by all_includes. | ||
3869 | 1305 | (pinentry_kde_LDFLAGS): Add all_libraries. | ||
3870 | 1306 | * README: Document that automatic check is not possible for KDE. | ||
3871 | 1307 | |||
3872 | 1308 | 2002-04-05 Marcus Brinkmann <marcus@g10code.de> | ||
3873 | 1309 | |||
3874 | 1310 | * curses/pinentry-curses.c (dialog_run): Add handling for TAB key. | ||
3875 | 1311 | (dialog_create): New variable description_x. Calculate dimension | ||
3876 | 1312 | of multi-line description correctly. | ||
3877 | 1313 | |||
3878 | 1314 | 2002-04-04 Marcus Brinkmann <marcus@g10code.de> | ||
3879 | 1315 | |||
3880 | 1316 | * pinentry/pinentry.h (struct pinentry): New members DISPLAY, | ||
3881 | 1317 | TTYNAME and TTYTYPE. | ||
3882 | 1318 | * pinentry/pinentry.c (pinentry): Likewise. | ||
3883 | 1319 | * pinentry/pinentry.c: Include <string.h>. | ||
3884 | 1320 | (usage): Add new options --display, | ||
3885 | 1321 | --ttyname and --ttytype. | ||
3886 | 1322 | (option_handler): Likewise. | ||
3887 | 1323 | (pinentry_parse_opts): Likewise. | ||
3888 | 1324 | |||
3889 | 1325 | * curses/pinentry-curses.c (dialog_cmd_handler): Use | ||
3890 | 1326 | PINENTRY->ttyname and PINENTRY->ttytype. | ||
3891 | 1327 | |||
3892 | 1328 | 2002-03-30 Marcus Brinkmann <marcus@g10code.de> | ||
3893 | 1329 | |||
3894 | 1330 | * acinclude.m4: Add AM_PATH_GLIB and AM_PATH_GTK. | ||
3895 | 1331 | |||
3896 | 1332 | 2002-03-29 Marcus Brinkmann <marcus@g10code.de> | ||
3897 | 1333 | |||
3898 | 1334 | * configure.ac: Choose a more appropriate AC_CONFIG_SRCDIR. | ||
3899 | 1335 | |||
3900 | 1336 | 2002-03-29 Marcus Brinkmann <marcus@g10code.de> | ||
3901 | 1337 | |||
3902 | 1338 | * kde/Makefile.am (pinentry_kde_LDADD): Link with $(LIBCAP). | ||
3903 | 1339 | * gtk/Makefile.am (install-exec-local): Moved to ... | ||
3904 | 1340 | * Makefile.am (install-exec-local): ... here. | ||
3905 | 1341 | |||
3906 | 1342 | 2002-03-29 Marcus Brinkmann <marcus@g10code.de> | ||
3907 | 1343 | |||
3908 | 1344 | * kde/Makefile.am (kde_appsdir): New variable. | ||
3909 | 1345 | * kde/Makefile.am (install-data-local): Use DESTDIR. | ||
3910 | 1346 | (uninstall-local): Likewise. | ||
3911 | 1347 | |||
3912 | 1348 | 2002-03-29 Marcus Brinkmann <marcus@g10code.de> | ||
3913 | 1349 | |||
3914 | 1350 | Merge of the gpinentry and curses pinentry program into the | ||
3915 | 1351 | pinentry distribution. For this, the structure of the repository | ||
3916 | 1352 | has been thoroughly overhauled. Some of the changes: | ||
3917 | 1353 | * secmem: New directory with secure memory allocation code. | ||
3918 | 1354 | * pinentry: New directory with pinentry support library. | ||
3919 | 1355 | * curses: New directory with curses frontend. | ||
3920 | 1356 | * gtk: New directory with GTK+ frontend. | ||
3921 | 1357 | * kde: New directory with only the core of the old kpinentry program. | ||
3922 | 1358 | * admin: Directory removed. | ||
3923 | 1359 | * po: Directory removed. | ||
3924 | 1360 | * kpinentry: Directory removed. | ||
3925 | 1361 | * doc: Directory removed. | ||
3926 | 1362 | * jnlib: Directory removed.x | ||
3927 | 1363 | |||
3928 | 1364 | The changes in more detail: | ||
3929 | 1365 | * AUTHORS: Add authors of other pinentry frontends. | ||
3930 | 1366 | * ChangeLog: Add the one from gpinentry. | ||
3931 | 1367 | * Makefile.am: Completely rewritten. | ||
3932 | 1368 | * README: Add content. | ||
3933 | 1369 | * TODO: Add content. | ||
3934 | 1370 | * NEWS: New file from gpinentry. | ||
3935 | 1371 | * THANKS: New file from gpinentry. | ||
3936 | 1372 | * acinclude.m4: New file. | ||
3937 | 1373 | * configure.ac: New file which configures for all frontends. | ||
3938 | 1374 | * curses/Makefile.am, curses/pinentry-curses.c: New files for | ||
3939 | 1375 | curses frontend. | ||
3940 | 1376 | * gtk/Makefile.am, gtk/gtksecentry.c, gtk/gtksecentry.h, | ||
3941 | 1377 | gtk/pinentry-gtk.c: New files, modified from gpinentry, for GTK+ | ||
3942 | 1378 | frontend. | ||
3943 | 1379 | * kde/Makefile.am, kde/cppmemory.cpp, kde/main.cpp, | ||
3944 | 1380 | kde/pinentry.desktop, kde/pinentrycontroller.cpp, | ||
3945 | 1381 | kde/pinentrycontroller.h, kde/pinentrydialog.cpp, | ||
3946 | 1382 | kde/pinentrydialog.h: New files, modified from kpinentry, for KDE | ||
3947 | 1383 | frontend. | ||
3948 | 1384 | * pinentry/Makefile.am, pinentry/pinentry.c, pinentry/pinentry.h: | ||
3949 | 1385 | New files containing pinentry support library, partly factored out | ||
3950 | 1386 | from gpinentry. | ||
3951 | 1387 | * secmem/Makefile.am, secmem/memory.h, secmem/secmem-util.h, | ||
3952 | 1388 | secmem/secmem.c, secmem/util.c, secmem/util.h: New files | ||
3953 | 1389 | containing secure memory allocation code common to all pinentry | ||
3954 | 1390 | frontends. | ||
3955 | 1391 | * Makefile.dist, acconfig.h, configure.files, configure.in.in: | ||
3956 | 1392 | Files removed in favor of new configure.ac. | ||
3957 | 1393 | * pinentry.lsm: Removed file never used. | ||
3958 | 1394 | * stamp-h.in: Removed generated file. | ||
3959 | 1395 | * admin/ChangeLog, admin/Makefile.common, admin/acinclude.m4.in, | ||
3960 | 1396 | admin/am_edit, admin/am_edit.py, admin/conf.change.pl, | ||
3961 | 1397 | admin/config.guess, admin/config.pl, admin/config.sub, | ||
3962 | 1398 | admin/configure.in.min, admin/debianrules, admin/depcomp, | ||
3963 | 1399 | admin/install-sh, admin/libtool.m4.in, admin/ltcf-c.sh, | ||
3964 | 1400 | admin/ltcf-cxx.sh, admin/ltcf-gcj.sh, admin/ltconfig, | ||
3965 | 1401 | admin/ltmain.sh, admin/missing, admin/mkinstalldirs, admin/ylwrap: | ||
3966 | 1402 | Removed KDE build suite in favor of configure.ac. | ||
3967 | 1403 | * doc/Makefile.am, doc/en/Makefile.am, doc/en/index.docbook: | ||
3968 | 1404 | Removed files never used. | ||
3969 | 1405 | * jnlib/ChangeLog, jnlib/Makefile.am, jnlib/argparse.c, | ||
3970 | 1406 | jnlib/argparse.h jnlib/dotlock.c, jnlib/dotlock.h, | ||
3971 | 1407 | jnlib/libjnlib-config.h, jnlib/logging.c, jnlib/logging.h, | ||
3972 | 1408 | jnlib/mischelp.h, jnlib/stringhelp.c, jnlib/stringhelp.h, | ||
3973 | 1409 | jnlib/strlist.c, jnlib/strlist.h, jnlib/types.h, jnlib/xmalloc.c, | ||
3974 | 1410 | jnlib/xmalloc.h: Removed files no longer used. | ||
3975 | 1411 | * kpinentry/Makefile.am, kpinentry/cppmemory.cpp, | ||
3976 | 1412 | kpinentry/cppmemory.h, kpinentry/i18n.h, kpinentry/main.cpp, | ||
3977 | 1413 | kpinentry/memory.h, kpinentry/pinentry.desktop, | ||
3978 | 1414 | kpinentry/pinentrycontroller.cpp, kpinentry/pinentrycontroller.h, | ||
3979 | 1415 | kpinentry/pinentrydialog.cpp, kpinentry/pinentrydialog.h, | ||
3980 | 1416 | kpinentry/secmem.cpp, kpinentry/util.cpp, kpinentry/util.h: | ||
3981 | 1417 | Removed files in favor of new files in kde/. | ||
3982 | 1418 | * po/Makefile.am, po/pinentry.pot: Removed files never used. | ||
3983 | 1419 | |||
3984 | 1420 | * autogen.sh: New file. | ||
3985 | 1421 | |||
3986 | 1422 | 2002-03-04 Werner Koch <wk@gnupg.org> | ||
3987 | 1423 | |||
3988 | 1424 | * gpinentry.c (enter_callback): New | ||
3989 | 1425 | (create_window): Connect it to the entry field. | ||
3990 | 1426 | |||
3991 | 1427 | 2002-02-18 Werner Koch <wk@gnupg.org> | ||
3992 | 1428 | |||
3993 | 1429 | Released 0.5.1. | ||
3994 | 1430 | |||
3995 | 1431 | * gpinentry.c (create_window): Add CONFIRM_MODE. | ||
3996 | 1432 | (cmd_confirm): Implemented. | ||
3997 | 1433 | |||
3998 | 1434 | * assuan/: Updated from NewPG. | ||
3999 | 1435 | |||
4000 | 1436 | 2002-01-20 Werner Koch <wk@gnupg.org> | ||
4001 | 1437 | |||
4002 | 1438 | * gpinentry.c (option_handler): New to allow changing of the grab | ||
4003 | 1439 | status. | ||
4004 | 1440 | (grab_keyboard): Shortcut this when global grab is not set. | ||
4005 | 1441 | |||
4006 | 1442 | 2002-01-04 Werner Koch <wk@gnupg.org> | ||
4007 | 1443 | |||
4008 | 1444 | Released 0.5.0. | ||
4009 | 1445 | |||
4010 | 1446 | * configure.ac: Bumbed version | ||
4011 | 1447 | |||
4012 | 1448 | * util.h (xtoi_1, xtoi_2): New. | ||
4013 | 1449 | * gpinentry.c (strcpy_escaped): New | ||
4014 | 1450 | (cmd_setdesc, cmd_seterror): Use it here to allo multiline texts. | ||
4015 | 1451 | |||
4016 | 1452 | * gpinentry: Removed debugging outbut | ||
4017 | 1453 | (create_window): Tweaked layout. | ||
4018 | 1454 | |||
4019 | 1455 | 2001-12-07 Werner Koch <wk@gnupg.org> | ||
4020 | 1456 | |||
4021 | 1457 | New package gpinentry based on quintuple-agent. | ||
4022 | 1458 | |||
4023 | 1459 | Removed all stuff except for the basic configuration stuff and | ||
4024 | 1460 | what is needed to build gpinentry. Also removed i18n support. | ||
4025 | 1461 | * gpinentry.c: Renamed from secret-query.c | ||
4026 | 1462 | |||
4027 | 1463 | 2001-02-12 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4028 | 1464 | |||
4029 | 1465 | * 1.0.0 released. Woo-hoo! | ||
4030 | 1466 | |||
4031 | 1467 | * configure.in, NEWS: Bumped version. | ||
4032 | 1468 | |||
4033 | 1469 | 2001-02-04 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4034 | 1470 | |||
4035 | 1471 | * agent.c (make_tmpdir): Honor $TMPDIR. | ||
4036 | 1472 | |||
4037 | 1473 | (agent): Would exit on every minor problem. Now, we just close the | ||
4038 | 1474 | offending connection. | ||
4039 | 1475 | Ignore SIGPIPE, so that EPIPE will close connection. | ||
4040 | 1476 | |||
4041 | 1477 | 2001-01-11 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4042 | 1478 | |||
4043 | 1479 | * secmem.c: Move one include statement so that the thing compiles. | ||
4044 | 1480 | |||
4045 | 1481 | * secret-query.c (main): Minor source cosmetics. | ||
4046 | 1482 | |||
4047 | 1483 | 2000-11-16 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4048 | 1484 | |||
4049 | 1485 | * gtksecentry.c (gtk_secure_entry_insert_text): Secured a couple | ||
4050 | 1486 | of memory (de)allocations that were missed. Thanks to John Steele | ||
4051 | 1487 | <jhs28@eng.cam.ac.uk> for spotting these. | ||
4052 | 1488 | |||
4053 | 1489 | 2000-11-10 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4054 | 1490 | |||
4055 | 1491 | * Thoughts: Removed in favor of new TODO. | ||
4056 | 1492 | |||
4057 | 1493 | * README: Remove content and refer to doc/manual.info instead. | ||
4058 | 1494 | |||
4059 | 1495 | * agent.c (do_get): Would burn badly on a premature exit of the | ||
4060 | 1496 | query program (which would occur routinely if you selected /cancel/). | ||
4061 | 1497 | |||
4062 | 1498 | 2000-10-25 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4063 | 1499 | |||
4064 | 1500 | * memory.h: Include sys/types.h for size_t. | ||
4065 | 1501 | |||
4066 | 1502 | 2000-10-08 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4067 | 1503 | |||
4068 | 1504 | * README: Removed apology about missing documentation. | ||
4069 | 1505 | Updated paragraph about Linux capability patch. | ||
4070 | 1506 | Typo & Refill. | ||
4071 | 1507 | |||
4072 | 1508 | 2000-10-03 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4073 | 1509 | |||
4074 | 1510 | * 0.9 released. | ||
4075 | 1511 | |||
4076 | 1512 | * Makefile.am (EXTRA_DIST): Distribute BUGS (the file, that is). | ||
4077 | 1513 | |||
4078 | 1514 | * configure.in, NEWS: Bumped version. | ||
4079 | 1515 | |||
4080 | 1516 | * Makefile.am, configure.in: Add debian subdir. | ||
4081 | 1517 | |||
4082 | 1518 | * README: Recommend GTK+. | ||
4083 | 1519 | Update list of checked platforms. | ||
4084 | 1520 | |||
4085 | 1521 | 2000-10-02 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4086 | 1522 | |||
4087 | 1523 | * secret-query.c (ok): Simplify. | ||
4088 | 1524 | Put empty line between headers and secret. | ||
4089 | 1525 | (usage): Document '--help' and '--version'. | ||
4090 | 1526 | |||
4091 | 1527 | * agent.c (do_get): Use enhanced secret-query output to fill in | ||
4092 | 1528 | options. | ||
4093 | 1529 | |||
4094 | 1530 | 2000-10-01 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4095 | 1531 | |||
4096 | 1532 | * secret-query.c (main): Clarify error. | ||
4097 | 1533 | |||
4098 | 1534 | * client.c (query_options): New global variable. | ||
4099 | 1535 | (main): New option '--query-options' to pass options to the query | ||
4100 | 1536 | program. | ||
4101 | 1537 | (xgetpass): Use it. | ||
4102 | 1538 | |||
4103 | 1539 | * agent.c (main): New option '--query-options' to pass options to | ||
4104 | 1540 | the query program. | ||
4105 | 1541 | (do_get): Use 'query_options'. | ||
4106 | 1542 | |||
4107 | 1543 | * acconfig.h, configure.in: Add QUERY_PROGRAM definition. | ||
4108 | 1544 | * client.c: Remove here. | ||
4109 | 1545 | * agent.c (do_get): Use it here, too. | ||
4110 | 1546 | |||
4111 | 1547 | * secret-query.c (main): New option '--no-global-grab' introduced, | ||
4112 | 1548 | that prevents keyboard grabbing unless the window has focus. | ||
4113 | 1549 | |||
4114 | 1550 | 2000-09-11 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4115 | 1551 | |||
4116 | 1552 | * secret-query.c (usage): Add two missing pieces of "\n\". | ||
4117 | 1553 | |||
4118 | 1554 | * agent.c (main): --nofork is now the default, and the option is | ||
4119 | 1555 | deprecated. New option --fork added to turn forking on again. | ||
4120 | 1556 | Close stdout (and stderr unless debugging) even when not forking, | ||
4121 | 1557 | so that normal usage inside eval is still possible. | ||
4122 | 1558 | (agent): Exit gracefully on HUP, so that logging out now kills the | ||
4123 | 1559 | agent. | ||
4124 | 1560 | |||
4125 | 1561 | * README (Contact Information): Old URL - duh! | ||
4126 | 1562 | (Using Secret Agent): We no longer fork per default. | ||
4127 | 1563 | |||
4128 | 1564 | * Makefile.am (lib/libutil.a): New target, allows targets that not | ||
4129 | 1565 | automatically recurse (but still depend on libutil.a) to succeed. | ||
4130 | 1566 | |||
4131 | 1567 | 2000-07-20 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4132 | 1568 | |||
4133 | 1569 | * secret-query.c (usage): New function. | ||
4134 | 1570 | (main): Parse options: debug, enhanced, help, version. | ||
4135 | 1571 | Turn on locale support. | ||
4136 | 1572 | If enhanced, insert widgets to ask for timeout and insurance. | ||
4137 | 1573 | (ok): If enhanced, print more information on exit. | ||
4138 | 1574 | (grab_keyboard): Die if grab was unsuccessful. | ||
4139 | 1575 | |||
4140 | 1576 | 2000-05-31 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4141 | 1577 | |||
4142 | 1578 | * 0.8 released. | ||
4143 | 1579 | |||
4144 | 1580 | * configure.in, NEWS: Bumped version. | ||
4145 | 1581 | |||
4146 | 1582 | * Makefile.am (SUBDIRS): Include doc. | ||
4147 | 1583 | |||
4148 | 1584 | * configure.in, acconfig.h: Check for ssize_t. | ||
4149 | 1585 | Check for vsnprintf(), strdup(). | ||
4150 | 1586 | Generate doc/Makefile. | ||
4151 | 1587 | |||
4152 | 1588 | * apgp.c, agpg.c, agentlib.c, util.c: Include more stuff. | ||
4153 | 1589 | |||
4154 | 1590 | * agent.c (do_get): Use asprintf() instead of snprintf() so we | ||
4155 | 1591 | don't need to roll our own for yet another function. | ||
4156 | 1592 | Fix some includes. | ||
4157 | 1593 | |||
4158 | 1594 | * acinclude.m4: gettext macros copied from automake and fixed. | ||
4159 | 1595 | |||
4160 | 1596 | 2000-05-30 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4161 | 1597 | |||
4162 | 1598 | * configure.in, Makefile.am: Properly include doc subdir. | ||
4163 | 1599 | |||
4164 | 1600 | 2000-05-29 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4165 | 1601 | |||
4166 | 1602 | * configure.in, acconfig.h: Add test for XMESSAGE path. | ||
4167 | 1603 | |||
4168 | 1604 | * client.c (main): Decode command from string to integer code | ||
4169 | 1605 | first, then evaluate that in ifs. | ||
4170 | 1606 | |||
4171 | 1607 | * secret-ask.c: New file, external ask-for-confirmation utility. | ||
4172 | 1608 | |||
4173 | 1609 | * configure.in, Makefile.am: Add secret-ask to programs being | ||
4174 | 1610 | built when GTK is available. Rename QUERY to more descriptive | ||
4175 | 1611 | GTK_PROGRAMS. | ||
4176 | 1612 | |||
4177 | 1613 | * agent.c (do_get): If GTK is available, try executing secret-ask | ||
4178 | 1614 | first. | ||
4179 | 1615 | Only put the comment into the insure-question if there is a | ||
4180 | 1616 | comment. | ||
4181 | 1617 | (main): --csh was missing from usage message. | ||
4182 | 1618 | |||
4183 | 1619 | 2000-04-23 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4184 | 1620 | |||
4185 | 1621 | * secret-query.c (constrain_size): Lower window max_width to | ||
4186 | 1622 | accomodate bugs in GTK and Scwm. | ||
4187 | 1623 | |||
4188 | 1624 | * agent.c (main): Set x_enabled if X appears to be available. | ||
4189 | 1625 | Use it to selectively make FLAGS_INSURE supported. | ||
4190 | 1626 | (do_get): Use it instead of testing at every call. | ||
4191 | 1627 | (do_put): Requests containing unsupported flags fail. | ||
4192 | 1628 | (forget_old_stuff): Would not set next_deadline correctly. | ||
4193 | 1629 | (do_get): Implement FLAGS_INSURE. | ||
4194 | 1630 | |||
4195 | 1631 | * client.c (main): "list" format changed so that comment is to the | ||
4196 | 1632 | far right. Display the deadline as proper date/time, too. | ||
4197 | 1633 | |||
4198 | 1634 | 1999-11-11 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4199 | 1635 | |||
4200 | 1636 | * agent.c (next_deadline): New global variable, holds time when | ||
4201 | 1637 | next secret has to be killed. | ||
4202 | 1638 | (store): Keep it up-to-date. | ||
4203 | 1639 | (forget_old_stuff): New function, reaps secrets ready to kill, | ||
4204 | 1640 | keeps next_deadline updated. | ||
4205 | 1641 | (agent): Use it on all secrets, whenever a deadline is active. | ||
4206 | 1642 | |||
4207 | 1643 | 1999-11-08 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4208 | 1644 | |||
4209 | 1645 | * agent.h (request_put): Add flags, deadline. Increase REQUEST_MAGIC. | ||
4210 | 1646 | (reply_get): Ditto, and increase REPLY_MAGIC. | ||
4211 | 1647 | * agent.c (store): Store flags, deadline in reply. | ||
4212 | 1648 | (do_put): Hand flags, deadline from request on to store(). | ||
4213 | 1649 | (do_get): Store on-demand queried secrets without deadline or | ||
4214 | 1650 | special flags, for now. | ||
4215 | 1651 | (agent): Do not ignore obsolete clients, return an error reply. | ||
4216 | 1652 | * agentlib.c (agent_put): Add flags, deadline arguments, and copy | ||
4217 | 1653 | them into the request. | ||
4218 | 1654 | * agentlib.h (agent_put): Update prototype. | ||
4219 | 1655 | * * client.c (main): Added --time-to-live (-t) and --insure (-i) | ||
4220 | 1656 | options, influencing PUT's deadline and flags, respectively. | ||
4221 | 1657 | (main): Change list format to include new attributes. | ||
4222 | 1658 | |||
4223 | 1659 | 1999-11-05 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4224 | 1660 | |||
4225 | 1661 | * configure.in: <getopt.h> check had redundant definition. | ||
4226 | 1662 | * acconfig.h: Remove here, too. | ||
4227 | 1663 | |||
4228 | 1664 | * configure.in: Check for <inttypes.h>. If not found, check for | ||
4229 | 1665 | unsigned {int, long} sizes. | ||
4230 | 1666 | * agent.h: Either include <inttypes.h>, or try to define uint32_t | ||
4231 | 1667 | yourself. | ||
4232 | 1668 | Need to include "config.h". | ||
4233 | 1669 | |||
4234 | 1670 | 1999-11-04 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4235 | 1671 | |||
4236 | 1672 | * Makefile.am (signed-dist): New rule, generates sig for dist. | ||
4237 | 1673 | (%.sig): New rule, for detached signatures in general. | ||
4238 | 1674 | |||
4239 | 1675 | * configure.in: Check for ulong. | ||
4240 | 1676 | * acconfig.h: Document it. | ||
4241 | 1677 | * secmem.c: Unconditionally defining it is no longer necessary | ||
4242 | 1678 | here. But do include <sys/types.h> in all cases. | ||
4243 | 1679 | |||
4244 | 1680 | * 0.7 released. | ||
4245 | 1681 | |||
4246 | 1682 | * secmem.c: ulong is not defined on all systems. | ||
4247 | 1683 | |||
4248 | 1684 | * agent.h: <inttypes.h> should define `uint32_t' as per Unix98, so | ||
4249 | 1685 | we use that. | ||
4250 | 1686 | |||
4251 | 1687 | 1999-11-02 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4252 | 1688 | |||
4253 | 1689 | * agent.h: Augmented requests and replies with magic numbers. | ||
4254 | 1690 | Data structures heavily commented. | ||
4255 | 1691 | All structures and enums typedef'd. | ||
4256 | 1692 | * agent.c: Adapted. | ||
4257 | 1693 | (store): Set magic number in stored reply. | ||
4258 | 1694 | (do_put): Set magic number in reply. | ||
4259 | 1695 | (do_delete): Ditto. | ||
4260 | 1696 | (do_list): Ditto. | ||
4261 | 1697 | (agent): Check magic number in request. | ||
4262 | 1698 | * agentlib.c: Adapted. | ||
4263 | 1699 | (send_request): Set magic number in request. Check it in reply. | ||
4264 | 1700 | * agentlib.h: Adapted. | ||
4265 | 1701 | * agpg.c: Adapted. | ||
4266 | 1702 | * apgp.c: Adapted. | ||
4267 | 1703 | * client.c: Adapted. | ||
4268 | 1704 | |||
4269 | 1705 | 1999-10-31 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4270 | 1706 | |||
4271 | 1707 | * secmem.c: Instead of defining ulong directly, include | ||
4272 | 1708 | <sys/types.h> | ||
4273 | 1709 | |||
4274 | 1710 | * secret-query.c (constrain_size): New function, puts constrains | ||
4275 | 1711 | on size of toplevel window. | ||
4276 | 1712 | (grab_keyboard): Removed protection against multiple calls. | ||
4277 | 1713 | (ungrab_keyboard): New function, cancelling a keyboard grab. | ||
4278 | 1714 | (main): Hang `grab_keyboard' onto map-event which makes it | ||
4279 | 1715 | actually work, hang `ungrab_keyboard' onto unmap-event. | ||
4280 | 1716 | Hang `constrain_size' onto size-request. | ||
4281 | 1717 | |||
4282 | 1718 | * secmem.c: ulong was undefined on some systems. | ||
4283 | 1719 | |||
4284 | 1720 | 1999-10-19 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4285 | 1721 | |||
4286 | 1722 | * Makefile.am (install-exec-local): Ignore setcap errors. | ||
4287 | 1723 | |||
4288 | 1724 | * apgp.c: New program, based on agpg.c, but for pgp2.6. | ||
4289 | 1725 | * Makefile.am (bin_PROGRAMS, apgp_SOURCES): Added it. | ||
4290 | 1726 | |||
4291 | 1727 | * agpg.c (GPG): New constant. | ||
4292 | 1728 | (find_id, main): Use it throughout. | ||
4293 | 1729 | (find_id): Forgot to pclose on success. | ||
4294 | 1730 | |||
4295 | 1731 | * secret-query.c (main): Don't expand anything. | ||
4296 | 1732 | Use a button box for the buttons. | ||
4297 | 1733 | Prompt label can be overridden from the commandline. | ||
4298 | 1734 | * agent.c (do_get): Make spawned secret-query show the id. | ||
4299 | 1735 | * client.c (xgetpass): Pass prompt to secret-query. | ||
4300 | 1736 | (main): Include id in xgetpass prompt. | ||
4301 | 1737 | |||
4302 | 1738 | 1999-10-14 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4303 | 1739 | |||
4304 | 1740 | * configure.in: setcap must be searched outside the usual user | ||
4305 | 1741 | PATH, too. | ||
4306 | 1742 | * Makefile.am (install-exec-local): Set cap_ipc_lock permitted on | ||
4307 | 1743 | installed binaries, if possible. | ||
4308 | 1744 | |||
4309 | 1745 | * agent.c (xdup2): New function, dup2 with error handling. | ||
4310 | 1746 | (move_fd): New function, moves fds. | ||
4311 | 1747 | (store): New function, abstracted out from do_put. | ||
4312 | 1748 | (do_put): Use it. | ||
4313 | 1749 | (do_get): If secret was not found, and DISPLAY is set, try to | ||
4314 | 1750 | query the user about it. If successful, store it. | ||
4315 | 1751 | (main): Route standard file descriptors to /dev/null rather than | ||
4316 | 1752 | just closing them. The latter would confuse children. | ||
4317 | 1753 | |||
4318 | 1754 | 1999-10-13 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4319 | 1755 | |||
4320 | 1756 | * gtksecentry.c, gtksecentry.h: New files, being slightly modified | ||
4321 | 1757 | versions of GTK+'s gtkentry.[ch], spiffed up to use secure memory. | ||
4322 | 1758 | * secret-query.c (ok, unselect, main): Replace GtkEntry with | ||
4323 | 1759 | GtkSecureEntry. | ||
4324 | 1760 | (main): Initialize secure memory. | ||
4325 | 1761 | * Makefile.am (secret_query_SOURCES): Added gtksecentry.[ch]. | ||
4326 | 1762 | |||
4327 | 1763 | * README (Security): New chapter. | ||
4328 | 1764 | |||
4329 | 1765 | * configure.in, acconfig.h: Check for POSIX capabilities, and the | ||
4330 | 1766 | setcap program. | ||
4331 | 1767 | * Makefile.am: Link LIBCAP to those binaries using secmem.c. | ||
4332 | 1768 | |||
4333 | 1769 | * util.h: Include <sys/types.h> for size_t. | ||
4334 | 1770 | |||
4335 | 1771 | 1999-09-21 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4336 | 1772 | |||
4337 | 1773 | * secmem.c: Synced with gnupg-1.0 (top new feature: capabilities). | ||
4338 | 1774 | (log_fatal): New function, logs to stderr, and dies. | ||
4339 | 1775 | |||
4340 | 1776 | 1999-09-08 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4341 | 1777 | |||
4342 | 1778 | * secmem.c (log_info): New function, logs to stderr. | ||
4343 | 1779 | |||
4344 | 1780 | * agent.c (agent): select() expects the number of fds, not the | ||
4345 | 1781 | highest fd. So remember that number. | ||
4346 | 1782 | |||
4347 | 1783 | * agent.c (agent): Don't use FD_SETSIZE, which is not defined on | ||
4348 | 1784 | all systems. Remember the number of the highest descriptor | ||
4349 | 1785 | instead. | ||
4350 | 1786 | |||
4351 | 1787 | * configure.in: Replace getline() instead of getdelim() because | ||
4352 | 1788 | this is the function we really need. Still check for getdelim(), | ||
4353 | 1789 | though - there are systems out there where this is provided, but | ||
4354 | 1790 | getline() is not. | ||
4355 | 1791 | |||
4356 | 1792 | 1999-09-01 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4357 | 1793 | |||
4358 | 1794 | * 0.6 released. | ||
4359 | 1795 | |||
4360 | 1796 | * configure.in: Bump version. | ||
4361 | 1797 | |||
4362 | 1798 | * NEWS: Updated. | ||
4363 | 1799 | |||
4364 | 1800 | 1999-08-31 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4365 | 1801 | |||
4366 | 1802 | * util.c (init_uids, lower_privs, raise_privs, drop_privs): New | ||
4367 | 1803 | functions, for setuid binaries, extracted from agent.c. | ||
4368 | 1804 | * util.h: Add prototypes for them. | ||
4369 | 1805 | * agpg.c (main): Use them. | ||
4370 | 1806 | * client.c (main): Ditto. | ||
4371 | 1807 | * agent.c (main): Ditto. Removed code that did the same. | ||
4372 | 1808 | Unconditionally include "asprintf.h" (it protects itself now). | ||
4373 | 1809 | |||
4374 | 1810 | 1999-08-25 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4375 | 1811 | |||
4376 | 1812 | * Makefile.am (SUBDIRS): Process . before test so that "make | ||
4377 | 1813 | check" always builds all in . first. | ||
4378 | 1814 | |||
4379 | 1815 | 1999-08-21 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4380 | 1816 | |||
4381 | 1817 | * secret-query.c: Include "config.h". | ||
4382 | 1818 | |||
4383 | 1819 | * agent.h (reply_list_entry, reply_list): New reply structures. | ||
4384 | 1820 | * agent.c (send_list_entry): New function. | ||
4385 | 1821 | (do_list): First send number of entries, then each entry via | ||
4386 | 1822 | send_list_entry(). | ||
4387 | 1823 | * agentlib.c (agent_list): Read entries returned by LIST request. | ||
4388 | 1824 | * client.c (main): Output all entries returned by agent_list(). | ||
4389 | 1825 | |||
4390 | 1826 | * agentlib.c (agent_put): Don't construct PUT request in insecure | ||
4391 | 1827 | stack space. | ||
4392 | 1828 | |||
4393 | 1829 | 1999-08-20 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4394 | 1830 | |||
4395 | 1831 | * NEWS: Bump patchlevel. | ||
4396 | 1832 | |||
4397 | 1833 | * configure.in: Bump patchlevel. | ||
4398 | 1834 | Check for missing setenv(). | ||
4399 | 1835 | |||
4400 | 1836 | 1999-08-09 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4401 | 1837 | |||
4402 | 1838 | * configure.in: Check for strsignal(). | ||
4403 | 1839 | |||
4404 | 1840 | * client-test: Obsoleted by test/client. | ||
4405 | 1841 | |||
4406 | 1842 | * Makefile.am (SUBDIRS): New subdirectory. | ||
4407 | 1843 | * configure.in (AC_OUTPUT): Add here, too. | ||
4408 | 1844 | |||
4409 | 1845 | * 0.5 released. | ||
4410 | 1846 | |||
4411 | 1847 | * README: Explain why secret-client will not output secrets to a | ||
4412 | 1848 | tty, and mention the cat-trick. | ||
4413 | 1849 | |||
4414 | 1850 | * agent.c (main): If seteuid is not available, don't use it and | ||
4415 | 1851 | issue a warning if running setuid. | ||
4416 | 1852 | |||
4417 | 1853 | * configure.in: Run together two REPLACE_FUNCS. | ||
4418 | 1854 | Check for seteuid. | ||
4419 | 1855 | |||
4420 | 1856 | * client-test: Mask out insecure memory warnings. | ||
4421 | 1857 | |||
4422 | 1858 | * agentlib.c (send_request): Let the calling functions reserve | ||
4423 | 1859 | space for the reply, but offer a simple way for simple requests. | ||
4424 | 1860 | (agent_get): Allocate secure memory. | ||
4425 | 1861 | |||
4426 | 1862 | * agent.c (main): Moved secmem_init() after the fork, since that | ||
4427 | 1863 | seemingly munlock's all pages. | ||
4428 | 1864 | Drop priviledges just in case somebody wants to install this | ||
4429 | 1865 | suid-root. | ||
4430 | 1866 | Flush stdout. | ||
4431 | 1867 | |||
4432 | 1868 | * agpg.c (find_id): Would reorder arguments. | ||
4433 | 1869 | Initialize opt_version. | ||
4434 | 1870 | (main): Initialize secure memory. | ||
4435 | 1871 | |||
4436 | 1872 | * Makefile.am (agpg_SOURCES): Link with secure memory module. | ||
4437 | 1873 | |||
4438 | 1874 | * client.c (usage): Fixed another program name reference. | ||
4439 | 1875 | |||
4440 | 1876 | 1999-08-06 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4441 | 1877 | |||
4442 | 1878 | * configure.in: Conditionally define HAVE_GTK. | ||
4443 | 1879 | * acconfig.h: Add here too. | ||
4444 | 1880 | |||
4445 | 1881 | * client.c (xgetpass): Use "secret-query" only if it was built. | ||
4446 | 1882 | (main): Don't output secret (GET command) to ttys. | ||
4447 | 1883 | |||
4448 | 1884 | * agpg.c (find_id): Also print own version if "--version" is given. | ||
4449 | 1885 | (main): Check agent_init() errors. | ||
4450 | 1886 | Print error if exec fails. | ||
4451 | 1887 | |||
4452 | 1888 | * agent.c (main): Added an option to produce csh-compatible | ||
4453 | 1889 | output. | ||
4454 | 1890 | |||
4455 | 1891 | * agent.c, client.c: Forgot the terminating NULL in long options. | ||
4456 | 1892 | Fixed the program names in usage and version output. | ||
4457 | 1893 | |||
4458 | 1894 | * agent.c (create_socket): AF_UNIX and PF_UNIX are Unix98, so | ||
4459 | 1895 | that's what we use. AF_LOCAL, PF_LOCAL removed. | ||
4460 | 1896 | * agentlib.c (agent_init): Ditto. | ||
4461 | 1897 | |||
4462 | 1898 | 1999-08-05 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4463 | 1899 | |||
4464 | 1900 | * 0.4 released. | ||
4465 | 1901 | |||
4466 | 1902 | * configure.in: Bumped version. | ||
4467 | 1903 | Check for missing getdelim. | ||
4468 | 1904 | |||
4469 | 1905 | * cgpg: Removed, obsoleted by agpg. | ||
4470 | 1906 | * Makefile.am: Here, too. | ||
4471 | 1907 | |||
4472 | 1908 | * agpg.c (find_id): New function. | ||
4473 | 1909 | (main): Use it. | ||
4474 | 1910 | |||
4475 | 1911 | * Makefile.am (INCLUDES): Put GTK_FLAGS and GLIB_FLAGS here. It | ||
4476 | 1912 | is the easiest way for sources needing it, and it won't hurt those | ||
4477 | 1913 | that don't. | ||
4478 | 1914 | (agent.o): Explicit command removed accordingly. | ||
4479 | 1915 | |||
4480 | 1916 | 1999-08-04 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4481 | 1917 | |||
4482 | 1918 | * configure.in: Need double quoting in nested AC_MSG_WARN. | ||
4483 | 1919 | |||
4484 | 1920 | * client.c (xgetpass): If no tty is available, but a DISPLAY is, | ||
4485 | 1921 | fork off "secure-query" to read the secret. | ||
4486 | 1922 | Put the fgets into a loop that keeps reading until all of the | ||
4487 | 1923 | secret is read. | ||
4488 | 1924 | |||
4489 | 1925 | * client-test: Unset DISPLAY, so that "secret-query" is never used. | ||
4490 | 1926 | |||
4491 | 1927 | 1999-08-03 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4492 | 1928 | |||
4493 | 1929 | * agpg.c: New file, first cut at a C version of the gpg wrapper, | ||
4494 | 1930 | written in a hurry (20 keys waiting to be signed, and a growling | ||
4495 | 1931 | stomach). | ||
4496 | 1932 | * Makefile.am: Add it to built programs. | ||
4497 | 1933 | (LDADD): New default. | ||
4498 | 1934 | (secret_client_LDADD): Removed, since it was identical to default. | ||
4499 | 1935 | |||
4500 | 1936 | 1999-08-01 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4501 | 1937 | |||
4502 | 1938 | * secret-query.c: New program, queries the user for a password. | ||
4503 | 1939 | * Makefile.am (bin_PROGRAMS): Added it. | ||
4504 | 1940 | * configure.in: Check for GTK+, build "secret-query" only when | ||
4505 | 1941 | that is available. | ||
4506 | 1942 | |||
4507 | 1943 | * cgpg: Extra argument for ID is no longer necessary. cgpg will | ||
4508 | 1944 | scan the gpg args for switches that affect user-id, and determine | ||
4509 | 1945 | the right key itself. Per convention, the key-id is used by "GET". | ||
4510 | 1946 | |||
4511 | 1947 | * configure.in: The project name is now "secret-agent". | ||
4512 | 1948 | |||
4513 | 1949 | * Makefile.am: "agent" & "client" renamed to "secret-agent" & | ||
4514 | 1950 | "secret-client", respectively. | ||
4515 | 1951 | * client-test: Adapt to new names. | ||
4516 | 1952 | |||
4517 | 1953 | * Thoughts: Removed discussion of other names. | ||
4518 | 1954 | Added indication of which things already work. | ||
4519 | 1955 | |||
4520 | 1956 | * agent.c (make_tmpdir): Removed occurance of "gpg-agent." | ||
4521 | 1957 | |||
4522 | 1958 | * README: First proper version. | ||
4523 | 1959 | |||
4524 | 1960 | * client-test: Context diffs are more portable then unified diffs. | ||
4525 | 1961 | |||
4526 | 1962 | * agent.c, agent.h, agentlib.c, agentlib.h, client.c, memory.h, | ||
4527 | 1963 | util.c, util.h: Banner updated to new name. | ||
4528 | 1964 | |||
4529 | 1965 | 1999-07-29 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4530 | 1966 | |||
4531 | 1967 | * configure.in: Check for missing asprintf. | ||
4532 | 1968 | Check if -lsocket is needed. | ||
4533 | 1969 | |||
4534 | 1970 | * secmem.c (secmem_dump_stats): Replace usage of ulong. | ||
4535 | 1971 | |||
4536 | 1972 | * Makefile.am (INCLUDES): Add the lib subdirectory to include search. | ||
4537 | 1973 | |||
4538 | 1974 | * agent.c: Forgot to include <string.h>. | ||
4539 | 1975 | Include RYO asprintf header if this function is missing. | ||
4540 | 1976 | For the sake of compatibility, provide a definition for AF_LOCAL, | ||
4541 | 1977 | PF_LOCAL, if missing. | ||
4542 | 1978 | * agentlib.c: Ditto. | ||
4543 | 1979 | |||
4544 | 1980 | 1999-07-28 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4545 | 1981 | |||
4546 | 1982 | * Makefile.am (client_SOURCES): Add "secmem.c", "memory.h". | ||
4547 | 1983 | |||
4548 | 1984 | * client.c (xgetpass): Use secmem_malloc() instead of RYO. | ||
4549 | 1985 | (main): Init and shutdown secmem. | ||
4550 | 1986 | |||
4551 | 1987 | 1999-07-27 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4552 | 1988 | |||
4553 | 1989 | * Makefile.am (agent_SOURCES): Add "secmem.c", "i18n.h", "memory.h". | ||
4554 | 1990 | (client_SOURCES): Add "i18n.h". | ||
4555 | 1991 | |||
4556 | 1992 | * client.c (main): Exit on agent_init() failure. | ||
4557 | 1993 | |||
4558 | 1994 | * agent.c (main): Init secmem. | ||
4559 | 1995 | Make --debug switch cumulative. | ||
4560 | 1996 | (cleanup): Shutdown secmem. | ||
4561 | 1997 | (do_put): Use secmem for storage of secrets. | ||
4562 | 1998 | (do_delete): Use secmem_free(). Since this wipes the memory on its | ||
4563 | 1999 | own, wipe() is superflous now. | ||
4564 | 2000 | (agent): Use secmem for inbound requests. | ||
4565 | 2001 | (delete_secret): New function, takes part of do_delete's | ||
4566 | 2002 | functionality. | ||
4567 | 2003 | (do_put): Use it to remove old versions stored under the same id. | ||
4568 | 2004 | (do_delete): Use it to delete secrets. | ||
4569 | 2005 | |||
4570 | 2006 | * memory.h: New file. | ||
4571 | 2007 | |||
4572 | 2008 | * secmem.c: New file, snarfed from GnuPG and modified slightly. | ||
4573 | 2009 | |||
4574 | 2010 | * acinclude.m4: New file. | ||
4575 | 2011 | * configure.in: (ALL_LINGUAS): Expanded list of available | ||
4576 | 2012 | languages. Most of them only have a few translations from gpg, | ||
4577 | 2013 | tough ... | ||
4578 | 2014 | getopt_long test was commented out for debugging, | ||
4579 | 2015 | and left such. Fixed. | ||
4580 | 2016 | Check for mlock. | ||
4581 | 2017 | * acconfig.h: Comment HAVE_BROKEN_MLOCK. | ||
4582 | 2018 | |||
4583 | 2019 | * cgpg: A space was missing. | ||
4584 | 2020 | |||
4585 | 2021 | * i18n.h: New file, centralizing the gettext macro defs. | ||
4586 | 2022 | |||
4587 | 2023 | * agent.c (BLIND): New macro, that blinds out a secret if debug | ||
4588 | 2024 | level is too low. | ||
4589 | 2025 | (do_put): Use it. | ||
4590 | 2026 | (do_get): Use it. | ||
4591 | 2027 | Include i18n.h. | ||
4592 | 2028 | |||
4593 | 2029 | * agentlib.c: Include i18n.h | ||
4594 | 2030 | |||
4595 | 2031 | * client.c (usage): New function. | ||
4596 | 2032 | Usage-message made gettext-friendly. | ||
4597 | 2033 | (xgetpass): Use perror() instead of fprintf(). | ||
4598 | 2034 | (main): Use it. | ||
4599 | 2035 | Make comment an optional argument of PUT. | ||
4600 | 2036 | Include i18n.h. | ||
4601 | 2037 | |||
4602 | 2038 | 1999-07-26 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4603 | 2039 | |||
4604 | 2040 | * Makefile.am (client_LDADD): Add lib/libutil.a for portability. | ||
4605 | 2041 | (agent_LDADD): Ditto. | ||
4606 | 2042 | (SUBDIRS): Add lib directory. | ||
4607 | 2043 | (bin_SCRIPTS): New with cgpg, so it gets installed, too. | ||
4608 | 2044 | |||
4609 | 2045 | * configure.in: Add lib/Makefile to output. | ||
4610 | 2046 | |||
4611 | 2047 | 1999-07-24 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4612 | 2048 | |||
4613 | 2049 | * cgpg: New file. | ||
4614 | 2050 | * Makefile.am (EXTRA_DIST): Added it. | ||
4615 | 2051 | |||
4616 | 2052 | * agent.c: Moved inclusion of config.h before inclusion of | ||
4617 | 2053 | libintl.h since the latter needs HAVE_LC_MESSAGE. | ||
4618 | 2054 | * client.c: Ditto. | ||
4619 | 2055 | * clientlib.c: Ditto. | ||
4620 | 2056 | |||
4621 | 2057 | * client-test: Update for new client semantics. | ||
4622 | 2058 | |||
4623 | 2059 | * client.c (check_status): Use debugmsg(). Do nothing if not | ||
4624 | 2060 | debugging. | ||
4625 | 2061 | (xgetpass): New function, getpass replacement that uses mlock'ed | ||
4626 | 2062 | memory. | ||
4627 | 2063 | (main): PUT now asks for the secret rather then getting it from | ||
4628 | 2064 | the commandline. | ||
4629 | 2065 | GET prints only the secret to stdout. | ||
4630 | 2066 | |||
4631 | 2067 | * configure.in: Rearranged. | ||
4632 | 2068 | Check for socklen_t. | ||
4633 | 2069 | * acconfig.h: Added a definition for it. | ||
4634 | 2070 | |||
4635 | 2071 | * client.c: Include packaged getopt.h if the system doesn't provide | ||
4636 | 2072 | one. | ||
4637 | 2073 | * agent.c: Ditto. | ||
4638 | 2074 | (create_socket): Replace AF_FILE, PF_FILE with AF_LOCAL, PF_LOCAL | ||
4639 | 2075 | for portability. | ||
4640 | 2076 | * agentlib.c (agent_init): Ditto. | ||
4641 | 2077 | Explicitly cast addr to a sockaddr pointer. | ||
4642 | 2078 | |||
4643 | 2079 | * Makefile.am (client_LDADD): Added @INTLLIBS@. | ||
4644 | 2080 | (agent_LDADD): Ditto. | ||
4645 | 2081 | |||
4646 | 2082 | 1999-07-19 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4647 | 2083 | |||
4648 | 2084 | * configure.in: Check for getopt.h and getopt_long. | ||
4649 | 2085 | * acconfig.h (HAVE_GETOPT_H): New define. | ||
4650 | 2086 | * lib/getopt.c, lib/getopt1.c, lib/getopt.h: Added. | ||
4651 | 2087 | |||
4652 | 2088 | 1999-07-18 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4653 | 2089 | |||
4654 | 2090 | * 0.2 released. | ||
4655 | 2091 | |||
4656 | 2092 | * NEWS: Updated. | ||
4657 | 2093 | |||
4658 | 2094 | * Makefile.am (agent.o): Mentioning the source explicitly does not | ||
4659 | 2095 | work for srcdir!=builddir. | ||
4660 | 2096 | |||
4661 | 2097 | * client.c (main): Function arguments are not always evaluated in | ||
4662 | 2098 | order, so drop the neat ++optind in favor of optind+1, optind+2, | ||
4663 | 2099 | etc. | ||
4664 | 2100 | |||
4665 | 2101 | * configure.in: Upped version. | ||
4666 | 2102 | |||
4667 | 2103 | 1999-06-28 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4668 | 2104 | |||
4669 | 2105 | * util.h: Added multi-inclusion guard. | ||
4670 | 2106 | |||
4671 | 2107 | * agent.c Include "util.h". | ||
4672 | 2108 | (main): Forgot to exit at end. | ||
4673 | 2109 | (do_delete): Assume that value is a string and wipe it accordingly. | ||
4674 | 2110 | |||
4675 | 2111 | * configure.in (--enable-debug): New switch. | ||
4676 | 2112 | |||
4677 | 2113 | * agent.h (status_t): Added STATUS_COMM_ERR code. | ||
4678 | 2114 | Added multi-inclusion guard. | ||
4679 | 2115 | |||
4680 | 2116 | * client.c (main): Abstracted out most functionality into a | ||
4681 | 2117 | function library, namely: | ||
4682 | 2118 | * agentlib.c: New file. | ||
4683 | 2119 | * agentlib.h: New file. | ||
4684 | 2120 | * Makefile.am (client_SOURCES): Added agentlib.c, agentlib.h. | ||
4685 | 2121 | |||
4686 | 2122 | * Makefile.am (INCLUDES): GLIB_CFLAGS moved again, this time to | ||
4687 | 2123 | the agent.o target. | ||
4688 | 2124 | |||
4689 | 2125 | 1999-06-15 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4690 | 2126 | |||
4691 | 2127 | * 0.1 released. | ||
4692 | 2128 | |||
4693 | 2129 | * Makefile.am (agent_CFLAGS): Removed - did not work. | ||
4694 | 2130 | (INCLUDES): Moved the GLIB stuff here. | ||
4695 | 2131 | |||
4696 | 2132 | 1999-06-14 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4697 | 2133 | |||
4698 | 2134 | * configure.in (ALL_LINGUAS): Added `de'. | ||
4699 | 2135 | |||
4700 | 2136 | * agent.c (do_get): Added more debugmsgs. | ||
4701 | 2137 | (do_put): Wouldn't allocate enough for `value'. | ||
4702 | 2138 | (main): New option "--nofork" prevents forking. | ||
4703 | 2139 | Use macros for the std filedescriptor numbers. | ||
4704 | 2140 | Only close stderr if not debugging. | ||
4705 | 2141 | (main): Make Usage string gettext-friendly. | ||
4706 | 2142 | |||
4707 | 2143 | * client-test (cleanup): New function. | ||
4708 | 2144 | Call it on shell exit. | ||
4709 | 2145 | (client): New function. | ||
4710 | 2146 | Use it instead of calling client binary directly. | ||
4711 | 2147 | diff client output with expected one in GET testcases. | ||
4712 | 2148 | |||
4713 | 2149 | 1999-06-13 Robert Bihlmeyer <robbe@orcus.priv.at> | ||
4714 | 2150 | |||
4715 | 2151 | * agent.c (failed_reply): New constant. | ||
4716 | 2152 | (do_list): Use it. | ||
4717 | 2153 | (do_put): The hash key was overwritten - strdup it. | ||
4718 | 2154 | Construct a GET reply and save that in the hash. | ||
4719 | 2155 | (do_get): Just send the preconstructed reply if the id is present, | ||
4720 | 2156 | and failed_reply otherwise. | ||
4721 | 2157 | (do_delete): Actually free the hashed stuff. | ||
4722 | 2158 | |||
4723 | 2159 | * client.c: Exit with error if agent returned STATUS_FAIL. | ||
4724 | 2160 | |||
4725 | 2161 | * Makefile.am (EXTRA_DIST): Added autogen.sh, Thoughts, | ||
4726 | 2162 | client-test. | ||
4727 | 2163 | (TESTS): Added client-test. | ||
4728 | 2164 | (AUTOMAKE_OPTIONS): Added gnits. | ||
4729 | 2165 | |||
4730 | 2166 | |||
4731 | 2167 | Copyright 2002, 2003, 2010 g10 Code GmbH | ||
4732 | 2168 | |||
4733 | 2169 | This file is free software; as a special exception the author gives | ||
4734 | 2170 | unlimited permission to copy and/or distribute it, with or without | ||
4735 | 2171 | modifications, as long as this notice is preserved. | ||
4736 | 2172 | |||
4737 | 2173 | This file is distributed in the hope that it will be useful, but | ||
4738 | 2174 | WITHOUT ANY WARRANTY, to the extent permitted by law; without even the | ||
4739 | 2175 | implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | ||
4740 | 0 | 2176 | ||
4741 | === modified file 'Makefile.am' | |||
4742 | --- Makefile.am 2010-03-18 23:36:51 +0000 | |||
4743 | +++ Makefile.am 2014-01-24 03:16:14 +0000 | |||
4744 | @@ -1,18 +1,18 @@ | |||
4745 | 1 | # Makefile.am | 1 | # Makefile.am |
4748 | 2 | # Copyright (C) 2002 g10 Code GmbH | 2 | # Copyright (C) 2002, 2012 g10 Code GmbH |
4749 | 3 | # | 3 | # |
4750 | 4 | # This file is part of PINENTRY. | 4 | # This file is part of PINENTRY. |
4752 | 5 | # | 5 | # |
4753 | 6 | # PINENTRY is free software; you can redistribute it and/or modify | 6 | # PINENTRY is free software; you can redistribute it and/or modify |
4754 | 7 | # it under the terms of the GNU General Public License as published by | 7 | # it under the terms of the GNU General Public License as published by |
4755 | 8 | # the Free Software Foundation; either version 2 of the License, or | 8 | # the Free Software Foundation; either version 2 of the License, or |
4756 | 9 | # (at your option) any later version. | 9 | # (at your option) any later version. |
4758 | 10 | # | 10 | # |
4759 | 11 | # PINENTRY is distributed in the hope that it will be useful, | 11 | # PINENTRY is distributed in the hope that it will be useful, |
4760 | 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
4761 | 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4762 | 14 | # GNU General Public License for more details. | 14 | # GNU General Public License for more details. |
4764 | 15 | # | 15 | # |
4765 | 16 | # You should have received a copy of the GNU General Public License | 16 | # You should have received a copy of the GNU General Public License |
4766 | 17 | # along with this program; if not, write to the Free Software | 17 | # along with this program; if not, write to the Free Software |
4767 | 18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA | 18 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
4768 | @@ -20,43 +20,49 @@ | |||
4769 | 20 | ## Process this file with automake to produce Makefile.in | 20 | ## Process this file with automake to produce Makefile.in |
4770 | 21 | 21 | ||
4771 | 22 | ACLOCAL_AMFLAGS = -I m4 | 22 | ACLOCAL_AMFLAGS = -I m4 |
4774 | 23 | 23 | AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip | |
4775 | 24 | EXTRA_DIST = autogen.sh README.SVN Manifest | 24 | #DISTCHECK_CONFIGURE_FLAGS = --disable-pinentry-qt4 |
4776 | 25 | |||
4777 | 26 | GITLOG_TO_CHANGELOG=gitlog-to-changelog | ||
4778 | 27 | |||
4779 | 28 | EXTRA_DIST = autogen.sh README.GIT ChangeLog-old \ | ||
4780 | 29 | build-aux/gitlog-to-changelog \ | ||
4781 | 30 | build-aux/git-log-fix build-aux/git-log-footer | ||
4782 | 25 | 31 | ||
4783 | 26 | if BUILD_PINENTRY_CURSES | 32 | if BUILD_PINENTRY_CURSES |
4784 | 27 | pinentry_curses = curses | 33 | pinentry_curses = curses |
4785 | 28 | else | 34 | else |
4787 | 29 | pinentry_curses = | 35 | pinentry_curses = |
4788 | 30 | endif | 36 | endif |
4789 | 31 | 37 | ||
4790 | 32 | if BUILD_PINENTRY_GTK | 38 | if BUILD_PINENTRY_GTK |
4791 | 33 | pinentry_gtk = gtk | 39 | pinentry_gtk = gtk |
4792 | 34 | else | 40 | else |
4794 | 35 | pinentry_gtk = | 41 | pinentry_gtk = |
4795 | 36 | endif | 42 | endif |
4796 | 37 | 43 | ||
4797 | 38 | if BUILD_PINENTRY_GTK_2 | 44 | if BUILD_PINENTRY_GTK_2 |
4798 | 39 | pinentry_gtk_2 = gtk+-2 | 45 | pinentry_gtk_2 = gtk+-2 |
4799 | 40 | else | 46 | else |
4801 | 41 | pinentry_gtk_2 = | 47 | pinentry_gtk_2 = |
4802 | 42 | endif | 48 | endif |
4803 | 43 | 49 | ||
4804 | 44 | if BUILD_PINENTRY_QT | 50 | if BUILD_PINENTRY_QT |
4805 | 45 | pinentry_qt = qt | 51 | pinentry_qt = qt |
4806 | 46 | else | 52 | else |
4808 | 47 | pinentry_qt = | 53 | pinentry_qt = |
4809 | 48 | endif | 54 | endif |
4810 | 49 | 55 | ||
4811 | 50 | if BUILD_PINENTRY_QT4 | 56 | if BUILD_PINENTRY_QT4 |
4812 | 51 | pinentry_qt4 = qt4 | 57 | pinentry_qt4 = qt4 |
4813 | 52 | else | 58 | else |
4815 | 53 | pinentry_qt4 = | 59 | pinentry_qt4 = |
4816 | 54 | endif | 60 | endif |
4817 | 55 | 61 | ||
4818 | 56 | if BUILD_PINENTRY_W32 | 62 | if BUILD_PINENTRY_W32 |
4819 | 57 | pinentry_w32 = w32 | 63 | pinentry_w32 = w32 |
4820 | 58 | else | 64 | else |
4822 | 59 | pinentry_w32 = | 65 | pinentry_w32 = |
4823 | 60 | endif | 66 | endif |
4824 | 61 | 67 | ||
4825 | 62 | SUBDIRS = assuan secmem pinentry ${pinentry_curses} \ | 68 | SUBDIRS = assuan secmem pinentry ${pinentry_curses} \ |
4826 | @@ -73,3 +79,19 @@ | |||
4827 | 73 | (cd $(DESTDIR)$(bindir); \ | 79 | (cd $(DESTDIR)$(bindir); \ |
4828 | 74 | rm -f pinentry; \ | 80 | rm -f pinentry; \ |
4829 | 75 | $(LN_S) $(PINENTRY_DEFAULT)$(EXEEXT) pinentry) | 81 | $(LN_S) $(PINENTRY_DEFAULT)$(EXEEXT) pinentry) |
4830 | 82 | |||
4831 | 83 | dist-hook: gen-ChangeLog | ||
4832 | 84 | echo "$(VERSION)" > $(distdir)/VERSION | ||
4833 | 85 | |||
4834 | 86 | gen_start_date = 2012-08-08T00:00:00 | ||
4835 | 87 | .PHONY: gen-ChangeLog | ||
4836 | 88 | gen-ChangeLog: | ||
4837 | 89 | if test -d $(top_srcdir)/.git; then \ | ||
4838 | 90 | (cd $(top_srcdir) && \ | ||
4839 | 91 | $(GITLOG_TO_CHANGELOG) --append-dot --tear-off \ | ||
4840 | 92 | --amend=build-aux/git-log-fix \ | ||
4841 | 93 | --since=$(gen_start_date) ) > $(distdir)/cl-t; \ | ||
4842 | 94 | cat $(top_srcdir)/build-aux/git-log-footer >> $(distdir)/cl-t;\ | ||
4843 | 95 | rm -f $(distdir)/ChangeLog; \ | ||
4844 | 96 | mv $(distdir)/cl-t $(distdir)/ChangeLog; \ | ||
4845 | 97 | fi | ||
4846 | 76 | 98 | ||
4847 | === modified file 'Makefile.in' | |||
4848 | --- Makefile.in 2011-02-16 20:18:53 +0000 | |||
4849 | +++ Makefile.in 2014-01-24 03:16:14 +0000 | |||
4850 | @@ -1,8 +1,9 @@ | |||
4852 | 1 | # Makefile.in generated by automake 1.10.2 from Makefile.am. | 1 | # Makefile.in generated by automake 1.11.6 from Makefile.am. |
4853 | 2 | # @configure_input@ | 2 | # @configure_input@ |
4854 | 3 | 3 | ||
4855 | 4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, | 4 | # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
4857 | 5 | # 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. | 5 | # 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software |
4858 | 6 | # Foundation, Inc. | ||
4859 | 6 | # This Makefile.in is free software; the Free Software Foundation | 7 | # This Makefile.in is free software; the Free Software Foundation |
4860 | 7 | # gives unlimited permission to copy and/or distribute it, | 8 | # gives unlimited permission to copy and/or distribute it, |
4861 | 8 | # with or without modifications, as long as this notice is preserved. | 9 | # with or without modifications, as long as this notice is preserved. |
4862 | @@ -15,27 +16,45 @@ | |||
4863 | 15 | @SET_MAKE@ | 16 | @SET_MAKE@ |
4864 | 16 | 17 | ||
4865 | 17 | # Makefile.am | 18 | # Makefile.am |
4868 | 18 | # Copyright (C) 2002 g10 Code GmbH | 19 | # Copyright (C) 2002, 2012 g10 Code GmbH |
4869 | 19 | # | 20 | # |
4870 | 20 | # This file is part of PINENTRY. | 21 | # This file is part of PINENTRY. |
4872 | 21 | # | 22 | # |
4873 | 22 | # PINENTRY is free software; you can redistribute it and/or modify | 23 | # PINENTRY is free software; you can redistribute it and/or modify |
4874 | 23 | # it under the terms of the GNU General Public License as published by | 24 | # it under the terms of the GNU General Public License as published by |
4875 | 24 | # the Free Software Foundation; either version 2 of the License, or | 25 | # the Free Software Foundation; either version 2 of the License, or |
4876 | 25 | # (at your option) any later version. | 26 | # (at your option) any later version. |
4878 | 26 | # | 27 | # |
4879 | 27 | # PINENTRY is distributed in the hope that it will be useful, | 28 | # PINENTRY is distributed in the hope that it will be useful, |
4880 | 28 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 29 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
4881 | 29 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 30 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
4882 | 30 | # GNU General Public License for more details. | 31 | # GNU General Public License for more details. |
4884 | 31 | # | 32 | # |
4885 | 32 | # You should have received a copy of the GNU General Public License | 33 | # You should have received a copy of the GNU General Public License |
4886 | 33 | # along with this program; if not, write to the Free Software | 34 | # along with this program; if not, write to the Free Software |
4887 | 34 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA | 35 | # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
4888 | 35 | VPATH = @srcdir@ | 36 | VPATH = @srcdir@ |
4889 | 37 | am__make_dryrun = \ | ||
4890 | 38 | { \ | ||
4891 | 39 | am__dry=no; \ | ||
4892 | 40 | case $$MAKEFLAGS in \ | ||
4893 | 41 | *\\[\ \ ]*) \ | ||
4894 | 42 | echo 'am--echo: ; @echo "AM" OK' | $(MAKE) -f - 2>/dev/null \ | ||
4895 | 43 | | grep '^AM OK$$' >/dev/null || am__dry=yes;; \ | ||
4896 | 44 | *) \ | ||
4897 | 45 | for am__flg in $$MAKEFLAGS; do \ | ||
4898 | 46 | case $$am__flg in \ | ||
4899 | 47 | *=*|--*) ;; \ | ||
4900 | 48 | *n*) am__dry=yes; break;; \ | ||
4901 | 49 | esac; \ | ||
4902 | 50 | done;; \ | ||
4903 | 51 | esac; \ | ||
4904 | 52 | test $$am__dry = yes; \ | ||
4905 | 53 | } | ||
4906 | 36 | pkgdatadir = $(datadir)/@PACKAGE@ | 54 | pkgdatadir = $(datadir)/@PACKAGE@ |
4907 | 55 | pkgincludedir = $(includedir)/@PACKAGE@ | ||
4908 | 37 | pkglibdir = $(libdir)/@PACKAGE@ | 56 | pkglibdir = $(libdir)/@PACKAGE@ |
4910 | 38 | pkgincludedir = $(includedir)/@PACKAGE@ | 57 | pkglibexecdir = $(libexecdir)/@PACKAGE@ |
4911 | 39 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd | 58 | am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd |
4912 | 40 | install_sh_DATA = $(install_sh) -c -m 644 | 59 | install_sh_DATA = $(install_sh) -c -m 644 |
4913 | 41 | install_sh_PROGRAM = $(install_sh) -c | 60 | install_sh_PROGRAM = $(install_sh) -c |
4914 | @@ -69,6 +88,7 @@ | |||
4915 | 69 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs | 88 | mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs |
4916 | 70 | CONFIG_HEADER = config.h | 89 | CONFIG_HEADER = config.h |
4917 | 71 | CONFIG_CLEAN_FILES = | 90 | CONFIG_CLEAN_FILES = |
4918 | 91 | CONFIG_CLEAN_VPATH_FILES = | ||
4919 | 72 | SOURCES = | 92 | SOURCES = |
4920 | 73 | DIST_SOURCES = | 93 | DIST_SOURCES = |
4921 | 74 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ | 94 | RECURSIVE_TARGETS = all-recursive check-recursive dvi-recursive \ |
4922 | @@ -78,8 +98,16 @@ | |||
4923 | 78 | install-pdf-recursive install-ps-recursive install-recursive \ | 98 | install-pdf-recursive install-ps-recursive install-recursive \ |
4924 | 79 | installcheck-recursive installdirs-recursive pdf-recursive \ | 99 | installcheck-recursive installdirs-recursive pdf-recursive \ |
4925 | 80 | ps-recursive uninstall-recursive | 100 | ps-recursive uninstall-recursive |
4926 | 101 | am__can_run_installinfo = \ | ||
4927 | 102 | case $$AM_UPDATE_INFO_DIR in \ | ||
4928 | 103 | n|no|NO) false;; \ | ||
4929 | 104 | *) (install-info --version) >/dev/null 2>&1;; \ | ||
4930 | 105 | esac | ||
4931 | 81 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ | 106 | RECURSIVE_CLEAN_TARGETS = mostlyclean-recursive clean-recursive \ |
4932 | 82 | distclean-recursive maintainer-clean-recursive | 107 | distclean-recursive maintainer-clean-recursive |
4933 | 108 | AM_RECURSIVE_TARGETS = $(RECURSIVE_TARGETS:-recursive=) \ | ||
4934 | 109 | $(RECURSIVE_CLEAN_TARGETS:-recursive=) tags TAGS ctags CTAGS \ | ||
4935 | 110 | distdir dist dist-all distcheck | ||
4936 | 83 | ETAGS = etags | 111 | ETAGS = etags |
4937 | 84 | CTAGS = ctags | 112 | CTAGS = ctags |
4938 | 85 | DIST_SUBDIRS = assuan secmem pinentry curses gtk gtk+-2 qt qt4 w32 doc | 113 | DIST_SUBDIRS = assuan secmem pinentry curses gtk gtk+-2 qt qt4 w32 doc |
4939 | @@ -87,12 +115,41 @@ | |||
4940 | 87 | distdir = $(PACKAGE)-$(VERSION) | 115 | distdir = $(PACKAGE)-$(VERSION) |
4941 | 88 | top_distdir = $(distdir) | 116 | top_distdir = $(distdir) |
4942 | 89 | am__remove_distdir = \ | 117 | am__remove_distdir = \ |
4947 | 90 | { test ! -d $(distdir) \ | 118 | if test -d "$(distdir)"; then \ |
4948 | 91 | || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \ | 119 | find "$(distdir)" -type d ! -perm -200 -exec chmod u+w {} ';' \ |
4949 | 92 | && rm -fr $(distdir); }; } | 120 | && rm -rf "$(distdir)" \ |
4950 | 93 | DIST_ARCHIVES = $(distdir).tar.gz | 121 | || { sleep 5 && rm -rf "$(distdir)"; }; \ |
4951 | 122 | else :; fi | ||
4952 | 123 | am__relativize = \ | ||
4953 | 124 | dir0=`pwd`; \ | ||
4954 | 125 | sed_first='s,^\([^/]*\)/.*$$,\1,'; \ | ||
4955 | 126 | sed_rest='s,^[^/]*/*,,'; \ | ||
4956 | 127 | sed_last='s,^.*/\([^/]*\)$$,\1,'; \ | ||
4957 | 128 | sed_butlast='s,/*[^/]*$$,,'; \ | ||
4958 | 129 | while test -n "$$dir1"; do \ | ||
4959 | 130 | first=`echo "$$dir1" | sed -e "$$sed_first"`; \ | ||
4960 | 131 | if test "$$first" != "."; then \ | ||
4961 | 132 | if test "$$first" = ".."; then \ | ||
4962 | 133 | dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \ | ||
4963 | 134 | dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \ | ||
4964 | 135 | else \ | ||
4965 | 136 | first2=`echo "$$dir2" | sed -e "$$sed_first"`; \ | ||
4966 | 137 | if test "$$first2" = "$$first"; then \ | ||
4967 | 138 | dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \ | ||
4968 | 139 | else \ | ||
4969 | 140 | dir2="../$$dir2"; \ | ||
4970 | 141 | fi; \ | ||
4971 | 142 | dir0="$$dir0"/"$$first"; \ | ||
4972 | 143 | fi; \ | ||
4973 | 144 | fi; \ | ||
4974 | 145 | dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \ | ||
4975 | 146 | done; \ | ||
4976 | 147 | reldir="$$dir2" | ||
4977 | 94 | GZIP_ENV = --best | 148 | GZIP_ENV = --best |
4978 | 149 | DIST_ARCHIVES = $(distdir).tar.bz2 | ||
4979 | 95 | distuninstallcheck_listfiles = find . -type f -print | 150 | distuninstallcheck_listfiles = find . -type f -print |
4980 | 151 | am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \ | ||
4981 | 152 | | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$' | ||
4982 | 96 | distcleancheck_listfiles = find . -type f -print | 153 | distcleancheck_listfiles = find . -type f -print |
4983 | 97 | ACLOCAL = @ACLOCAL@ | 154 | ACLOCAL = @ACLOCAL@ |
4984 | 98 | AMTAR = @AMTAR@ | 155 | AMTAR = @AMTAR@ |
4985 | @@ -117,6 +174,8 @@ | |||
4986 | 117 | ECHO_T = @ECHO_T@ | 174 | ECHO_T = @ECHO_T@ |
4987 | 118 | EGREP = @EGREP@ | 175 | EGREP = @EGREP@ |
4988 | 119 | EXEEXT = @EXEEXT@ | 176 | EXEEXT = @EXEEXT@ |
4989 | 177 | #DISTCHECK_CONFIGURE_FLAGS = --disable-pinentry-qt4 | ||
4990 | 178 | GITLOG_TO_CHANGELOG = gitlog-to-changelog | ||
4991 | 120 | GLIB_CFLAGS = @GLIB_CFLAGS@ | 179 | GLIB_CFLAGS = @GLIB_CFLAGS@ |
4992 | 121 | GLIB_CONFIG = @GLIB_CONFIG@ | 180 | GLIB_CONFIG = @GLIB_CONFIG@ |
4993 | 122 | GLIB_LIBS = @GLIB_LIBS@ | 181 | GLIB_LIBS = @GLIB_LIBS@ |
4994 | @@ -240,7 +299,11 @@ | |||
4995 | 240 | top_srcdir = @top_srcdir@ | 299 | top_srcdir = @top_srcdir@ |
4996 | 241 | x_libraries = @x_libraries@ | 300 | x_libraries = @x_libraries@ |
4997 | 242 | ACLOCAL_AMFLAGS = -I m4 | 301 | ACLOCAL_AMFLAGS = -I m4 |
4999 | 243 | EXTRA_DIST = autogen.sh README.SVN Manifest | 302 | AUTOMAKE_OPTIONS = dist-bzip2 no-dist-gzip |
5000 | 303 | EXTRA_DIST = autogen.sh README.GIT ChangeLog-old \ |
The diff has been truncated for viewing.
Thanks. Uploaded.