1 |
2005-07-22 Timo Schulz <[email protected]> |
2006-11-13 Timo Schulz <[email protected]> |
2 |
|
|
3 |
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
* wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation. |
4 |
messages and make sure WinPT make a keyring backup in this case. |
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise. |
5 |
* wptGPGME.cpp (keycache_reload): Do not rebuild the signature |
* wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about |
6 |
cache each time. Just do it on startup. |
dialog isn't shown twice. |
7 |
* wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION. |
* wptKeyCache.cpp (gpg_keycache_next_updated_key): New. |
8 |
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag |
(gpg_keycache_update_key): Set update flag. |
9 |
was set by the calling function. |
* wptKeyManagerDlg.cpp (refresh_keylist): New. |
10 |
* wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups. |
(keymanager_dlg_proc): Use new refresh system for keyservers. |
11 |
(keygen_dlg_proc): Only add the generated key to the keycache |
* wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc): |
12 |
and do not reload the entire cache. |
Update keycache. |
13 |
* wptKeyManager.cpp (km_delete_keys): Store the number of keys |
* wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise. |
14 |
because in each loop iteration it will be new calculated. |
* wptKeyserver.cpp (socket_read_ext): New. |
15 |
* wptListView.cpp (listview_del_items): Likewise. |
(kserver_recv_key_ext): New. |
16 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the |
(kserver_read_config, kserver_write_config): Removed. |
17 |
generated key to the list instead of reloading the entire cache. |
|
18 |
* wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn. |
2006-01-12 Timo Schulz <[email protected]> |
19 |
|
|
20 |
|
* wptListView.cpp (listview_set_image_list): Make icons |
21 |
|
always transparent. |
22 |
|
* wptImageList.cpp (imagelist_load): New icons. |
23 |
|
* wptGPGMEData.cpp (gpg_data_putc): New. |
24 |
|
* wptKeyManagerDlg.cpp (load_toolbar): Include new icons. |
25 |
|
(keymanager_dlg_proc): Add tooltips. |
26 |
|
* wptKeyserverDlg.cpp (keyserver_list_build): Use icons. |
27 |
|
* wptKeyserver.cpp (URL_encode): New. |
28 |
|
(URL_must_encode): New. |
29 |
|
(kserver_search_init): Properly encode pattern. |
30 |
|
(parse_iso_date): New. |
31 |
|
(keyserver_search): Be more strict to prevent buffer overflows. |
32 |
|
|
33 |
|
2006-01-11 Timo Schulz <[email protected]> |
34 |
|
|
35 |
|
* wptKeyManagerDlg.cpp (load_toolbar): 2 new icons. |
36 |
|
(keymanager_dlg_proc): Adjust tooltips. |
37 |
|
(update_ui_items): Handle new icons. |
38 |
|
* wptImageList.cpp (imagelist_load): New icons. |
39 |
|
|
40 |
|
2006-01-10 Timo Schulz <[email protected]> |
41 |
|
|
42 |
|
* wptMainProc.cpp (winpt_main_proc): Restore iconic |
43 |
|
File/Key Manager windows if needed. |
44 |
|
* wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button. |
45 |
|
* wptSiglist.cpp (init_cmp): New. |
46 |
|
(siglist_sort): New. |
47 |
|
(siglist_cmp_cb): New. |
48 |
|
(siglist_add_key): Force NOKEY status when key was not found. |
49 |
|
* wptKeysigDlg.cpp (recv_single_key): New. |
50 |
|
(recv_missing_keys): Reload entire key when more than one key |
51 |
|
was fetched. |
52 |
|
(keysig_dlg_proc): Support sorting the listview items. |
53 |
|
|
54 |
|
2006-01-09 Timo Schulz <[email protected]> |
55 |
|
|
56 |
|
* WinPT.cpp (load_gettext): Remove file locking. |
57 |
|
(WinMain): Use pre-defined autoconf constants. |
58 |
|
* wptW32API.cpp (init_file_lock, release_file_lock): Deleted. |
59 |
|
* wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver. |
60 |
|
Change all callers. |
61 |
|
|
62 |
|
2006-01-07 Timo Schulz <[email protected]> |
63 |
|
|
64 |
|
* wptKeyManager.cpp (km_refresh_from_keyserver): Summarize |
65 |
|
import status if just one key was selected. |
66 |
|
|
67 |
|
2006-01-04 Timo Schulz <[email protected]> |
68 |
|
|
69 |
|
* wptGPGMEWrapper.c (setChangeVersion): New. |
70 |
|
(exportToBuffer, exportToFile, exportToClipboard): New. |
71 |
|
(setArmor, getArmor): New. |
72 |
|
* wptKeylist.cpp (get_key_expire_date): Return locale specific |
73 |
|
date. |
74 |
|
(keylist_get_recipients): Do not fetch the key again. |
75 |
|
(keylist_enum_recipients): Likewise. |
76 |
|
* wptGPG.cpp (create_empty_keyring): New. |
77 |
|
(get_gnupg_keyring): Fixed 'strict' logic. |
78 |
|
* wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons |
79 |
|
when no secret keys are available. |
80 |
|
* wptKeyManager.cpp (km_send_to_mail_recipient): Release key data |
81 |
|
before the MAPI call is made. |
82 |
|
* WinPT.cpp (check_for_empty_keyrings): New. |
83 |
|
|
84 |
|
2006-01-03 Timo Schulz <[email protected]> |
85 |
|
|
86 |
|
* pubkey.ico, keypair.ico: New. |
87 |
|
* wptListview.cpp (listview_add_item_image): New. |
88 |
|
(listview_set_image_list): New. |
89 |
|
* wptSigList.cpp (siglist_add_key): Correct order of the sigs. |
90 |
|
* wptKeyProps.cpp (keyprops_load_photo): Adjusted for new |
91 |
|
JPEG data. |
92 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to |
93 |
|
add items to revoked keys. |
94 |
|
* wptKeyManager.cpp (km_delete_keys): Do not use uninitialized |
95 |
|
keyid buffer. This fixes a segv. |
96 |
|
* wptKeyserver.cpp (spawn_application): New. |
97 |
|
(ldap_recv_key): Support recent protocols and several cleanups. |
98 |
|
* wptKeylist.cpp (do_addkey): Set image which depends on the |
99 |
|
key type. |
100 |
|
(keylist_enum_recipients): Cleanups. |
101 |
|
(keylist_get_keyflags): Rewritten. |
102 |
|
* wptKeyCache.cpp (free_attr_list): New. |
103 |
|
(parse_attr_list): New. |
104 |
|
(parse_attr_data): New. |
105 |
|
(keycache_update_photo): New. |
106 |
|
(keycache_update_photos): New. |
107 |
|
(gpg_keycache_update_key): Automatically reload photos if needed. |
108 |
|
* wptGPGUtil.cpp (create_process): New param @err. Change all |
109 |
|
callers. |
110 |
|
(map_tmpfile): New param @nread. Change all callers. |
111 |
|
(gpg_get_photoid_data): New. |
112 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to |
113 |
|
add items to revoked keys. |
114 |
|
(subkey_init_list): Store gpgme key object. |
115 |
|
|
116 |
|
2005-12-29 Timo Schulz <[email protected]> |
117 |
|
|
118 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically. |
119 |
|
(gpg_genkey_params): Simplified. |
120 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal |
121 |
|
exclusion of the dialog items. |
122 |
|
* wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to |
123 |
|
quit the dialog. |
124 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
125 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND. |
126 |
|
(id2algo): New. |
127 |
|
|
128 |
|
2005-12-28 Timo Schulz <[email protected]> |
129 |
|
|
130 |
|
* wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs. |
131 |
|
* wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise. |
132 |
|
* wptKeylist.cpp (keylist_udp_key): Likewise. |
133 |
|
* wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise. |
134 |
|
* wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem |
135 |
|
when no signing key was found. |
136 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode |
137 |
|
user IDs. |
138 |
|
(translate_popup_strings): s/Revoke/Revoke Cert. |
139 |
|
* wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a |
140 |
|
0x prefixed keyid. |
141 |
|
* wptKeyEditCB.cpp (editkey_command_handler): Also reset |
142 |
|
step in case of a bad passphrase. |
143 |
|
|
144 |
|
2005-12-27 Timo Schulz <[email protected]> |
145 |
|
|
146 |
|
* wptListView.cpp (listview_set_view): New. |
147 |
|
(listview_del_column): New. |
148 |
|
* wptW32API.cpp (get_locale_date): New. |
149 |
|
(get_menu_state): New. |
150 |
|
(force_foreground_window): New. |
151 |
|
* wptVerifyList.cpp (strtimestamp): Support for |
152 |
|
locale date formats. |
153 |
|
* wptGPGUtil.cpp (gpg_revoke_cert): Handle bad |
154 |
|
passphrases. |
155 |
|
* wptKeyEditCB.cpp (editkey_command_handler): Immediately |
156 |
|
return when a bad passphrase was submitted. |
157 |
|
* wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change |
158 |
|
column order. |
159 |
|
* wptKeylist.cpp (keylist_upd_col): New. |
160 |
|
* wptKeyManagerDlg.cpp (update_ui_items): Deactivate |
161 |
|
'Revocation' for public keys. |
162 |
|
(translate_menu_strings): s/Revoke/Revoke Cert. |
163 |
|
(modify_listview_columns): New. |
164 |
|
|
165 |
|
2005-12-18 Timo Schulz <[email protected]> |
166 |
|
|
167 |
|
* wptKeyManagerDlg.cpp (save_column_size): New. |
168 |
|
(restore_column_size): New. |
169 |
|
(keymanager_dlg_proc): Save and restore column sizes for |
170 |
|
the listview control. |
171 |
|
* wptKeyManager.cpp (key_get_info): New. |
172 |
|
(km_delete_keys): Use it here to have a consistent message. |
173 |
|
Use stored key context and not the column data. |
174 |
|
(km_enable_disable_key): Likewise. |
175 |
|
(km_send_to_keyserver): Likewise. |
176 |
|
(km_set_implicit_trust): Likewise. |
177 |
|
* wptKeylist.cpp (get_key_pubalgo2): New. |
178 |
|
|
179 |
|
2005-12-17 Timo Schulz <[email protected]> |
180 |
|
|
181 |
|
* wptUTF8.cpp: Removed unused charset array. |
182 |
|
* wptSigList.cpp (siglist_build): Increase size for 'class' |
183 |
|
column. |
184 |
|
* wptGPG.cpp (get_gnupg_path): Simplified. |
185 |
|
* WinPT.cpp (load_gpg_env): New. |
186 |
|
(check_crypto_engine): Return type is now bool. |
187 |
|
* wptRegistry.cpp (is_gpg4win_installed): New. |
188 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent |
189 |
|
dialog design. |
190 |
|
* wptKeyManagerDlg.cpp (translate_menu_strings): New. |
191 |
|
(translate_popupmenu_strings): New. |
192 |
|
* wptKeyEditDlgs.cpp (is_jpg_file): New. |
193 |
|
|
194 |
|
2005-12-13 Timo Schulz <[email protected]> |
195 |
|
|
196 |
|
* wptCommonDlg.cpp (http_dlg_proc): Localized missing elements. |
197 |
|
* wptKeyManagerDlg.cpp (change_edit_menu): New. |
198 |
|
(change_key_menu): Renamed from... |
199 |
|
(menu_gpg_readonly): ..this. |
200 |
|
(clip_contains_pgpkey): New. |
201 |
|
(update_ui_items): Do not allow to sign expired keys. |
202 |
|
(keymanager_dlg_proc): Same for popup menu. |
203 |
|
* wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling. |
204 |
|
* wptKeyCache.cpp (copy_uid_prefs): |
205 |
|
(gpg_keycache_sync): Copy uid prefs so the key property |
206 |
|
dialog show the correct values. Thanks to Shane. |
207 |
|
|
208 |
|
2005-12-11 Timo Schulz <[email protected]> |
209 |
|
|
210 |
|
* wptW32API.cpp (get_file_version): New. |
211 |
|
* wptGPGUtil.cpp (create_process): Always hide window. |
212 |
|
* wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close' |
213 |
|
instead of 'Exit'. |
214 |
|
* wptKeyManager.cpp (km_http_import): New filename |
215 |
|
generation code. |
216 |
|
(km_send_to_mail_recipient): Cleanups. |
217 |
|
* wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog. |
218 |
|
* wptKeyManagerDlg.cpp (update_ui_items): Handle the case |
219 |
|
when multiple keys are selected. |
220 |
|
(popup_multiple): New. |
221 |
|
* WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe |
222 |
|
file versions are equal. Rewrote --keymanager code. |
223 |
|
|
224 |
|
2005-12-08 Timo Schulz <[email protected]> |
225 |
|
|
226 |
|
* wptKeyserverDlg.cpp (show_imported_keys): Enhanced. |
227 |
|
(hkp_recv_key2): Show user-id of the imported key instead |
228 |
|
of just the pattern. |
229 |
|
* wptFileCBS.cpp (read_cb): Changed to W32 API. |
230 |
|
(write_cb): Likewise. Create output file on demand. |
231 |
|
(gpg_file_data_new): Adjusted code for new API. |
232 |
|
* wptKeyEdit.cpp (cleanKey): New. |
233 |
|
* wptKeyEditCB.cpp (cmd_clean_handler): New. |
234 |
|
(editkey_command_handler): Call clean handler. |
235 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort |
236 |
|
keylist after inserting items. |
237 |
|
* wptFileManager.cpp (fm_set_status): Take care of |
238 |
|
cleartext sigs. |
239 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make |
240 |
|
sure can be closed. |
241 |
|
|
242 |
|
2005-12-07 Timo Schulz <[email protected]> |
243 |
|
|
244 |
|
* wptOwnertrustDlg.cpp (ownertrust_dlg_proc): |
245 |
|
Use 'Close' instead of 'Exit'. |
246 |
|
* wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise. |
247 |
|
* wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA |
248 |
|
as the destination dir. Thanks to Werner. |
249 |
|
* wptRegistry.cpp (is_gpgee_installed): New. |
250 |
|
(regist_inst_winpt): Do not register file extensions |
251 |
|
if GPGee is available. |
252 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit |
253 |
|
use of local vars. |
254 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure |
255 |
|
no illegal backup mode is saved. |
256 |
|
* wptKeyserverDlg.cpp (show_imported_key): New. |
257 |
|
(hkp_recv_key2): Show imported keys if the blob |
258 |
|
contained more than one. |
259 |
|
|
260 |
|
2005-12-06 Timo Schulz <[email protected]> |
261 |
|
|
262 |
|
* WinPT.cpp (WinMain): Load the gettext environment soon |
263 |
|
as possible so all 'first start' messages are localized. |
264 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is |
265 |
|
received via the keyserver, return the gpgme key context on |
266 |
|
success and add it directly to the list. |
267 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param |
268 |
|
to store the key. |
269 |
|
(hkp_recv_key2): Add extra param for the fingerprint. |
270 |
|
(hkp_recv_key): Call hkp_recv_key2 without fingerprint. |
271 |
|
|
272 |
|
2005-12-02 Werner Koch <[email protected]> |
273 |
|
|
274 |
|
* wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs. |
275 |
|
|
276 |
|
2005-12-01 Timo Schulz <[email protected]> |
277 |
|
|
278 |
|
* wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic |
279 |
|
for get_gpg_sigstat(). |
280 |
|
* wptGPGME.cpp (get_gpg_sigstat): New. It is now a function. |
281 |
|
As a macro strings will not be translated at runtime. |
282 |
|
* wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we |
283 |
|
need to update the cache. Thanks to Jan-Oliver. |
284 |
|
* wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized. |
285 |
|
|
286 |
|
2005-11-30 Timo Schulz <[email protected]> |
287 |
|
|
288 |
|
* wptW32API.cpp (dialog_box_param): Removed LANG_DE code. |
289 |
|
* WinPT-en.rc: Removed string list. |
290 |
|
* wptFileSaveDlg.cpp (file_save_dlg_proc): Localized |
291 |
|
* wptKeylist.cpp (keylist_build): Cannot use global |
292 |
|
arrays for the columns due to gettext. |
293 |
|
|
294 |
|
2005-11-29 Timo Schulz <[email protected]> |
295 |
|
|
296 |
|
* WinPT.cpp (WinMain): Modify --keymanager. If an instance |
297 |
|
is running, just send the command to open the manager. |
298 |
|
|
299 |
|
2005-11-25 Timo Schulz <[email protected]> |
300 |
|
|
301 |
|
* wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging |
302 |
|
process when the revoker is already there. |
303 |
|
|
304 |
|
2005-11-24 Timo Schulz <[email protected]> |
305 |
|
|
306 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Localize |
307 |
|
signing dialog items. |
308 |
|
* wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items. |
309 |
|
* wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now. |
310 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items. |
311 |
|
* wptKeylist.cpp (key_check_validity): Likewise. |
312 |
|
* wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise. |
313 |
|
|
314 |
|
2005-11-22 Timo Schulz <[email protected]> |
315 |
|
|
316 |
|
* wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG |
317 |
|
macro debug output will be generated in release version. |
318 |
|
|
319 |
|
2005-11-21 Timo Schulz <[email protected]> |
320 |
|
|
321 |
|
* WinPT.cpp (WinMain): Implement --stop switch. |
322 |
|
* wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize |
323 |
|
missing string. |
324 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise. |
325 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context |
326 |
|
first. Thanks to Ralf. |
327 |
|
* wptFileManagerDlg.cpp (update_ui_items): New. |
328 |
|
* wptFileManager.cpp (fm_set_status): New sigmode param. |
329 |
|
Changed all callers. |
330 |
|
|
331 |
|
2005-11-17 Timo Schulz <[email protected]> |
332 |
|
|
333 |
|
* wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that |
334 |
|
the cache will be loaded twice. |
335 |
|
* wptRegistry.cpp (regist_inst_winpt): More comments. |
336 |
|
* wptKeyManagerDlg.cpp (do_center_window): Make sure that |
337 |
|
neg. coordinates are never used. |
338 |
|
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all |
339 |
|
strings. |
340 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
341 |
|
* wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu |
342 |
|
and save 'AlwaysOnTop' in the registry. |
343 |
|
|
344 |
|
2005-11-16 Timo Schulz <[email protected]> |
345 |
|
|
346 |
|
* WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2. |
347 |
|
* wptKeylist.cpp (keylist_add_key): Add disabled keys in list |
348 |
|
mode. |
349 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings. |
350 |
|
* wptRegistry.cpp (regist_inst_winpt): Set install directory. |
351 |
|
Useful for other programs to figure out the path to the EXE. |
352 |
|
|
353 |
|
2005-11-14 Timo Schulz <[email protected]> |
354 |
|
|
355 |
|
* wptGPG.cpp (check_gnupg_engine): Fix version check. |
356 |
|
* wptMainProc.cpp (winpt_main_proc): Check keyring |
357 |
|
file permissions always and do not use interative output |
358 |
|
when the windows session ends. |
359 |
|
* wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): |
360 |
|
Localize all strings. |
361 |
|
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
362 |
|
* wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise. |
363 |
|
* wptKeyEditDlgs.cpp (do_init_keylist): Skip all |
364 |
|
non-valid keys. |
365 |
|
|
366 |
|
2005-11-12 Timo Schulz <[email protected]> |
367 |
|
|
368 |
|
Fix more GCC warnings. |
369 |
|
|
370 |
|
2005-11-10 Timo Schulz <[email protected]> |
371 |
|
|
372 |
|
* wptClipSignDlg.cpp (one_key_proc): Use |
373 |
|
release_gpg_passphrase_cb() to free the context. |
374 |
|
* wptListView.cpp (listview_deselect_all): New. |
375 |
|
* wptMAPI.cpp (mapi_send_pubkey): Works again. |
376 |
|
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt & |
377 |
|
zip. |
378 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase |
379 |
|
caching for signing operations. |
380 |
|
* wptKeyManager.cpp (km_send_to_mail_recipient): Works again. |
381 |
|
* wptFileManager.cpp (fm_send_file): Likewise. |
382 |
|
(fm_encrypt_into_zip): New. |
383 |
|
|
384 |
|
2005-11-09 Timo Schulz <[email protected]> |
385 |
|
|
386 |
|
* wptNLS.c (get_gettext_langid): Map user language id to |
387 |
|
printable gettext language strings. |
388 |
|
* wptRegistry.cpp (get_reg_entry_mo): Support for the |
389 |
|
gettext environment. |
390 |
|
* wptFileManager.cpp (fm_encrypt): Close all files before |
391 |
|
the wipe procedure is called. |
392 |
|
* wptVerlist.cpp (verlist_add_sig): Handle the case the |
393 |
|
issuer is not valid but the signature is. |
394 |
|
(verlist_add_sig_log): Likewise. Thanks to the folks on |
395 |
|
winpt-users. |
396 |
|
|
397 |
|
2005-11-08 Werner Koch <[email protected]> |
398 |
|
|
399 |
|
* SAFE.ICO, SIGN.ICO: Fixed capitalization. |
400 |
|
* WinPT-en.rc: Ditto. |
401 |
|
* winpt_km.ico: Moved from ../. |
402 |
|
|
403 |
|
* Makefile.am (resource_files): Add missing backslash. |
404 |
|
|
405 |
|
2005-11-08 Timo Schulz <[email protected]> |
406 |
|
|
407 |
|
More minor changes to avoid GCC warnings. |
408 |
|
|
409 |
|
* wptGPG.cpp (check_homedir): Free memory in case of errors. |
410 |
|
(multi_gnupg_path): Add strict mode. If non-strict mode return |
411 |
|
the folder even if it does not exist. |
412 |
|
(check_for_gpgwin): New. |
413 |
|
* wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is |
414 |
|
initialized. |
415 |
|
* wptRegistry.cpp (get_reg_entry_gpg4win): New. |
416 |
|
(get_reg_entry_mo): Support for gpg4win. |
417 |
|
|
418 |
|
2005-11-07 Timo Schulz <[email protected]> |
419 |
|
|
420 |
|
* wptMainProc.cpp (winpt_main_proc): Disable |
421 |
|
some menu items when no secret key is available. |
422 |
|
|
423 |
|
2005-11-05 Timo Schulz <[email protected]> |
424 |
|
|
425 |
|
More minor changes to avoid GCC warnings. |
426 |
|
|
427 |
|
* wptErrors.cp (winpt_strerror): Return w32 |
428 |
|
formatted error and do not use 'break'. |
429 |
|
|
430 |
|
2005-11-04 Werner Koch <[email protected]> |
431 |
|
|
432 |
|
* WinPT-en.rc: Fixed locations of icons. |
433 |
|
|
434 |
|
2005-11-03 Timo Schulz <[email protected]> |
435 |
|
|
436 |
|
A lot of minor changes to avoid GCC warnings. |
437 |
|
|
438 |
|
* wptGPG.cpp (get_gnupg_keyring): Only check size for |
439 |
|
public keyring. |
440 |
|
* wptKeyManager.cpp (km_update_default_key_str): Do |
441 |
|
not issue a bug message when no secret key was found. |
442 |
|
* wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct. |
443 |
|
|
444 |
|
2005-11-02 Werner Koch <[email protected]> |
445 |
|
|
446 |
|
* WinPT.cpp (WinMain): Disabled PTD version tests. |
447 |
|
(check_crypto_engine): Fixed version check for scard. |
448 |
|
|
449 |
|
* wptErrors.cpp (debug_end): Add dummy function. |
450 |
|
|
451 |
|
* Makefile.am (code_files): Added wptCardEditCB.cpp and |
452 |
|
wptKeyEditCB.cpp. |
453 |
|
|
454 |
|
2005-10-31 Werner Koch <[email protected]> |
455 |
|
|
456 |
|
* wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD |
457 |
|
functions. |
458 |
|
|
459 |
|
* wptKeyEditDlgs.cpp: Include oleauto.h |
460 |
|
* wptKeyEdit.cpp: Include time.h. |
461 |
|
* wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h. |
462 |
|
* wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/. |
463 |
|
|
464 |
|
* Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp, |
465 |
|
wptKeyEdit.cpp and wptKeycache.cpp. |
466 |
|
|
467 |
|
* wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h |
468 |
|
* wptImportList.cpp (implist_load): Use remove and not unlink. |
469 |
|
* wptGPG.cpp: Fixed spelling of wptGpgCmds.h |
470 |
|
* wptImportList.cpp (implist_load): Use remove and not unlink. |
471 |
|
* wptKeyManager.cpp (km_http_import): Ditto |
472 |
|
* wptMainProc.cpp: Include wptCrypto.h |
473 |
|
* wptKeyManager.cpp: Ditto. |
474 |
|
* wptFileManager.cpp: Ditto. |
475 |
|
* wptImportList.cpp (parse_colon_key): Need to cast argument for |
476 |
|
isdigit. Include ctype.h. |
477 |
|
* wptGPG.cpp: Include shlobj.h. |
478 |
|
|
479 |
|
Fixed double inclusion of windows.h. |
480 |
|
|
481 |
|
* Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now. |
482 |
|
* wptKeylist.cpp (get_key_created): Broke up trigraph. |
483 |
|
(get_key_status): Removed dangerous use of sprintf. Still other |
484 |
|
flaws present, see comment. |
485 |
|
|
486 |
|
* wptCardPCSC.c: Don't include winscard.h. |
487 |
|
(pcsc_readerstate_t, pcsc_context_t): New. Changed call users to |
488 |
|
use these types. |
489 |
|
(PCSC_): Added a lot of constants, all taked from GnuPG 1.9. |
490 |
|
(SCARD_S_SUCCESS): Changed all compares to test the value directly |
491 |
|
against zero. |
492 |
|
|
493 |
|
* WinPT.cpp: Include wptCrypto.h. |
494 |
|
(WinMain): Don't shard S. Removed usunsed variable SIZE. |
495 |
|
* Makefile.am (code_files): Actually add files by adding a first |
496 |
|
backslash. |
497 |
|
* wptMDSumDlg.cpp: Include wptCrypto.h. |
498 |
|
* wptProxySettingsDlg.cpp: Included ctype.h. |
499 |
|
* wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h. |
500 |
|
* wptKeysignDlg.cpp: Ditto |
501 |
|
* wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h. |
502 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove. |
503 |
|
Removed unused variable. |
504 |
|
* wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to |
505 |
|
silly c++ operator synonyms. |
506 |
|
* wptKeyEditDlgs.cpp: Include time.h. |
507 |
|
* wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE. |
508 |
|
* wptFileManagerDlg.cpp: Ditto. |
509 |
|
(space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't |
510 |
|
matter if it does an rmdir for a directory. |
511 |
|
|
512 |
|
Fixed include of resource.h which is not anymore in the top |
513 |
|
directory. |
514 |
|
|
515 |
|
2005-10-28 Werner Koch <[email protected]> |
516 |
|
|
517 |
|
* wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to |
518 |
|
unsigned. Never ever use a possible signed char as argument for |
519 |
|
ctype tests. An alternative is to first test using isascii (). |
520 |
|
(keyserver_proxy_dlg_proc): Removed unused variable. |
521 |
|
|
522 |
|
2005-10-27 Timo Schulz <[email protected]> |
523 |
|
|
524 |
|
* wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys. |
525 |
|
* wptKeylist.cpp (keylist_add_key): Check global key flag to |
526 |
|
see if the key is disabled and not each subkey. |
527 |
|
(seclist_init): Likewise. |
528 |
|
* wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use |
529 |
|
gpgme_op_decrypt_verify. |
530 |
|
(clip_decrypt_dlg_proc): Fixed fingerprint |
531 |
|
to keyid conversation. This also fixes a crash. |
532 |
|
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise. |
533 |
|
* wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key |
534 |
|
already expired if the user wants to change the date. |
535 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old |
536 |
|
'v3 sig' option with the 'ask cert level' option. Sync |
537 |
|
with global preferences. |
538 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the |
539 |
|
gpg.conf contains 'ask-cert-level'. If not disable button. |
540 |
|
* wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable |
541 |
|
the button when the key is available. |
542 |
|
Reload key directly, not the entire cache. |
543 |
|
|
544 |
|
2005-10-26 Timo Schulz <[email protected]> |
545 |
|
|
546 |
|
* wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but |
547 |
|
possible overflow. |
548 |
|
(is_openpgp_ext): Compare case insentensive. |
549 |
|
(add_single_file): New. |
550 |
|
(fm_add_opened_files): Support multi file selection. |
551 |
|
* wptKeyPropsDlg.cpp (do_change_ownertrust): Removed. |
552 |
|
* wptKeyManager.cpp (km_enable_disable_key): Do not set cache |
553 |
|
reload flag. Just update the single key. |
554 |
|
* wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var |
555 |
|
and disable anonymize recipient for now. |
556 |
|
|
557 |
|
Begin to port code to GCC. Fix all warning issued by the gcc |
558 |
|
compiler. |
559 |
|
|
560 |
|
2005-10-25 Timo Schulz <[email protected]> |
561 |
|
|
562 |
|
* wptGPGUtil.cpp (create_process): Hide window. |
563 |
|
* wptKeyPropsDlg.cpp (get_photo_tmpname): New. |
564 |
|
* wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove |
565 |
|
static var 'enable'. |
566 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Likewise. |
567 |
|
(gpg_genkey_params): Make sure all primary keys are capable |
568 |
|
for signing and certification. |
569 |
|
* wptKeySigDlg.cpp (is_sig): If no item is selected, return 0. |
570 |
|
* wptGPG.cpp (gnupg_access_keyring): Check return value for |
571 |
|
NULL. Noted by Ralf. |
572 |
|
(get_gnupg_prog): Simplified. |
573 |
|
(check_homedir): Fixed. Return 0 when the dir is successfully created. |
574 |
|
* wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to |
575 |
|
indicate a pending GPG process. |
576 |
|
* wptFileManager.cpp (op_begin, op_end): New. Indicate an start |
577 |
|
and and of an operation. For now just the cursor changes. |
578 |
|
(fm_parse_command_line): Remove debug output. Thanks to Ralf again. |
579 |
|
* WinPT.cpp (WinMain): Check if there is already an instance and |
580 |
|
set a variable early as possible. |
581 |
|
(load_gettext): If a previous instance was found, do not output |
582 |
|
any errors. Kudos to Ralf. |
583 |
|
|
584 |
|
2005-10-24 Timo Schulz <[email protected]> |
585 |
|
|
586 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use |
587 |
|
pre-defined recipients. |
588 |
|
(release_gpg_passphrase_cb): Release recipients. |
589 |
|
* wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id |
590 |
|
validity if needed. |
591 |
|
(keyprops_dlg_proc): Issue a warning if the photo is valid. |
592 |
|
|
593 |
|
2005-10-23 Timo Schulz <[email protected]> |
594 |
|
|
595 |
|
* wptFileManager.cpp (fm_get_file_type): Detect detached sigs. |
596 |
|
* wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys. |
597 |
|
(get_ext_validity): New. |
598 |
|
* wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups. |
599 |
|
* wptClipEditDlg.cpp (load_clipboard): Factored out some code into |
600 |
|
this function. |
601 |
|
(load_clipboard_from_file): Likewise. |
602 |
|
(save_clipboard_to_file): New. |
603 |
|
* wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow. |
604 |
|
|
605 |
|
2005-10-22 Timo Schulz <[email protected]> |
606 |
|
|
607 |
|
Localized a lot of more strings. |
608 |
|
|
609 |
|
* wptMainProc.cpp (load_smartcard): New. |
610 |
|
* wptFileManager.cpp (fm_parse_command_line): Simplify code. |
611 |
|
(fm_check_armor_type): Add new arg. Change all callers. |
612 |
|
(fm_get_file_type): Likewise. |
613 |
|
* wptKeyPropsDlg.cpp (display_key_info): New. |
614 |
|
(keyprops_show_photo): Factored out some code into.. |
615 |
|
(keyprops_load_photo): ..this function. |
616 |
|
|
617 |
|
2005-10-21 Timo Schulz <[email protected]> |
618 |
|
|
619 |
|
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Use |
620 |
|
WM_INITPOPUPMENU to localize popup menu texts. |
621 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
622 |
|
* wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset. |
623 |
|
|
624 |
|
2005-10-20 Timo Schulz <[email protected]> |
625 |
|
|
626 |
|
Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0. |
627 |
|
|
628 |
|
* wptPassphraseCB.cpp (passphrase_cb): Complete card support. |
629 |
|
* wptCardEdit.cpp (genKey): Handle cancel case. |
630 |
|
* keycache.c: Renamed into... |
631 |
|
* wptKeyCache.cpp: ...this. |
632 |
|
* wptW32API.cpp (set_menu_text): Removed unused code. |
633 |
|
(set_menu_text_bypos): New. |
634 |
|
* wptCrypto.h: New. |
635 |
|
* wptMainProc.cpp (winpt_main_proc): Complete localize |
636 |
|
menu texts. |
637 |
|
* wptErrors.cpp (log_debug): Use a static var so the file |
638 |
|
is only opened once. |
639 |
|
(debug_end): Cleanup. Currently just close the log file. |
640 |
|
* wptErrors.h (wipememory): New. |
641 |
|
(sfree_if_alloc): Use it here. |
642 |
|
* WinPT.cpp (WinMain): Display the min. GPGME version which |
643 |
|
is needed in case of an error. |
644 |
|
|
645 |
|
2005-10-17 Timo Schulz <[email protected]> |
646 |
|
|
647 |
|
Free all memory returned by the GPGME dll with gpgme_free (). |
648 |
|
|
649 |
|
s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT. |
650 |
|
|
651 |
|
* wptKeyEdit.cpp (getCardStatus): Remove dummy key. |
652 |
|
(list_handler): With user interaction to allow to insert |
653 |
|
the card into the reader. |
654 |
|
* wptKeyEditCB.cpp (gpg_edit_card): Likewise. |
655 |
|
(common_card_handler): Fixed incorrect command string. |
656 |
|
* wptKeyPropsDlg.cpp (get_card_type): New. |
657 |
|
(keyprops_dlg_proc): Show card information if present. |
658 |
|
* wptFileManager.cpp (secret_key_available): Make the code faster. |
659 |
|
|
660 |
|
|
661 |
|
2005-10-16 Timo Schulz <[email protected]> |
662 |
|
|
663 |
|
* wptPassphraseCB.cpp (passphrase_cb): Fix problem |
664 |
|
with hanging GPG process on cancel. |
665 |
|
* keycache.c (gpg_keycache_release): Release all objects. |
666 |
|
|
667 |
|
2005-10-15 Timo Schulz <[email protected]> |
668 |
|
|
669 |
|
* wptCardEdit.cpp (setResult, getResult): New. |
670 |
|
(reset): New. |
671 |
|
(getCardStatus): Check return codes and release all objects |
672 |
|
in case of errors. |
673 |
|
* wptCardEditCB.cpp (change_pin_handler): Call reset() |
674 |
|
before quit. |
675 |
|
(editcard_handler): Likewise. |
676 |
|
(common_card_handler): New. |
677 |
|
* wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask |
678 |
|
the old PIN when 'Hide Typing' is disabled. |
679 |
|
* wptPassphraseCB.cpp (passphrase_cb): The card detection |
680 |
|
works again. Support to re-enter passphrase. |
681 |
|
|
682 |
|
2005-10-14 Timo Schulz <[email protected]> |
683 |
|
|
684 |
|
* wptCardDlg.cpp (card_status): New fields for the |
685 |
|
fingerprint creation time. Display card info as title. |
686 |
|
(get_printable_version): New. |
687 |
|
* wptCardEditCB.cpp (editcard_handler): Fix problem |
688 |
|
with the counter comparison. |
689 |
|
|
690 |
|
2005-10-11 Timo Schulz <[email protected]> |
691 |
|
|
692 |
|
Port to GPGME basically finished. |
693 |
|
|
694 |
|
2005-09-20 Timo Schulz <[email protected]> |
695 |
|
|
696 |
|
* wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): |
697 |
|
Do not use gpgme_recipients_t but the listview directly |
698 |
|
to add the selected files. |
699 |
|
|
700 |
|
2005-09-07 Timo Schulz <[email protected]> |
701 |
|
|
702 |
|
* Make sure all GetOpenFileName filters are terminated by \0\0. |
703 |
|
|
704 |
|
2005-09-01 Timo Schulz <[email protected]> |
705 |
|
|
706 |
|
* wptW32API.cpp (center_window): New argument for parent window. |
707 |
|
Change all callers. |
708 |
|
(center_window2): Likewise. |
709 |
|
* GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'. |
710 |
|
* wptGPG.cpp (gnupg_backup_options): Remove param. One backup |
711 |
|
file is enough. Changed all callers. |
712 |
|
|
713 |
|
2005-08-15 Timo Schulz <[email protected]> |
714 |
|
|
715 |
|
* wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys. |
716 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title. |
717 |
|
* Make sure the passphrase is always overwritten before it is |
718 |
|
freed (or the function returns). |
719 |
|
* wptKeyPropDlg.cpp (get_pref_cipher): New. |
720 |
|
(keyprops_dlg_proc): Use it here. |
721 |
|
|
722 |
|
2005-08-06 Timo Schulz <[email protected]> |
723 |
|
|
724 |
|
* wptGPGME.cpp (keycache_update): Reload OpenPGP parts |
725 |
|
of the secret key. |
726 |
|
(keycache_init): cache name of secret keyring. |
727 |
|
* wptKeyList.cpp (keylist_upd_key): Do not add long keyid. |
728 |
|
(get_key_type): Do not assume 'ultimate' means key pair. |
729 |
|
* wptKeyEditDlgs.cpp (diff_time): New. |
730 |
|
(keyedit_addsubkey_dlg_proc): Changed design and use |
731 |
|
diff_time. Drop checks for invalid keylength (< 1024, > 4096) |
732 |
|
because the combo box automatically handles this. |
733 |
|
* wptKeyManager.cpp (km_set_implicit_trust): Return error code. |
734 |
|
* wptGPG.cpp (get_backup_name): New. |
735 |
|
(gnupg_backup_keyrings): Rotate backup names, from 0..3. |
736 |
|
* wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory. |
737 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and |
738 |
|
not the long keyid. |
739 |
|
|
740 |
|
2005-08-05 Timo Schulz <[email protected]> |
741 |
|
|
742 |
|
* wptListView.cpp (listview_set_item2): New. |
743 |
|
* wptKeyManager.cpp (km_check_if_protected): Directly |
744 |
|
retrieve gpgme_key_t from the list. |
745 |
|
(km_check_key_status): Likewise. |
746 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use |
747 |
|
a human-readable name for secret key export. |
748 |
|
Reload just the keys which were affected by updates |
749 |
|
(edit-key). |
750 |
|
(update_key): New. |
751 |
|
* wptKeyList.cpp ((keylist_upd_key): Stripped down |
752 |
|
version of keylist_add_key. |
753 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not |
754 |
|
reload the keycache here, just flag 'update'. Give the |
755 |
|
control to the calling dialog. |
756 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t |
757 |
|
as parameter. Changed all callers. |
758 |
|
Add date of expiration to the key info. |
759 |
|
(get_expire_date): New. |
760 |
|
Use a checkbox to allow to ask for the cert level. |
761 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload |
762 |
|
the cache. |
763 |
|
|
764 |
|
2005-08-04 Timo Schulz <[email protected]> |
765 |
|
|
766 |
|
* wptListView.cpp (listview_scroll): New. |
767 |
|
(listview_get_item2): New. |
768 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the |
769 |
|
item was found, make it visible with scrolling. |
770 |
|
* wptKeyManager.cpp (km_find_key): New. |
771 |
|
(keylist_subclass_proc): Support to handle some acceleators. |
772 |
|
Strg+{C, P, F, A}. |
773 |
|
(km_get_key_status): Get the gpgme_key_t object directly |
774 |
|
from the list. |
775 |
|
* wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set |
776 |
|
the config file (if it exists). |
777 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code |
778 |
|
to handle the click->activate situation. |
779 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
780 |
|
Support to check the passphrase quality. |
781 |
|
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
782 |
|
(request_passphrase): Rename 'init' to 'flags' to allow more |
783 |
|
options. |
784 |
|
* wptMAPI.cpp: Check all *alloc results. |
785 |
|
* wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary |
786 |
|
passphrase quality check. |
787 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file |
788 |
|
format and allow to save the checksum in a file. |
789 |
|
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning |
790 |
|
when the PGP mode is disabled. |
791 |
|
wptKeyEditDlgs.cpp (do_editkey_primary): Return if just |
792 |
|
one user-ID exists. |
793 |
|
(keyedit_dlg_proc): Fixed index problem. |
794 |
|
* wptKeyPropsDlg.cpp (get_validity): New. |
795 |
|
(keyprops_dlg_proc): Actually show extended validity if possible. |
796 |
|
* wptKeyList.cpp (get_key_fpr): Support for old v3 format. |
797 |
|
(do_addkey): Use listview_add_item2 to store key as opaque |
798 |
|
param inside the list. |
799 |
|
* wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx. |
800 |
|
(file_stat_dlg_proc): End dialog if no PGP data was found. |
801 |
|
(do_list_packets): Return the number of valid PGP packets |
802 |
|
of the file. |
803 |
|
|
804 |
|
2005-08-02 Timo Schulz <[email protected]> |
805 |
|
|
806 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of |
807 |
|
using 'Default Keyserver' add the real keyserver name to |
808 |
|
the menu. |
809 |
|
The rebuild command does not reload the cache any longer. |
810 |
|
Use ATTR_NAME + .asc as the filename and not keyid + .asc. |
811 |
|
* wptProxySettingsDlg.cpp (enable_proxy_auth): New. |
812 |
|
(keyserver_proxy_dlg_proc): Changed the design a little |
813 |
|
and add some additional sanity checks. |
814 |
|
* wptGPGParser.cpp (commit_gpg_options): Use W32 line endings. |
815 |
|
This fixes the problem that the GPG option dialog does not show |
816 |
|
very nice lines. |
817 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config. |
818 |
|
* wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected |
819 |
|
check for 'NOKEY' before asking a keyserver. |
820 |
|
* wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag. |
821 |
|
If a lot of keys were selected, ask if the user wants to confirm |
822 |
|
each delete procedure or allow to cancel the operation. |
823 |
|
* wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much |
824 |
|
keys the file contain. |
825 |
|
* wptKeyList.cpp (get_key_algo): Beautified. |
826 |
|
(get_key_status): Drop the "[XYZ] Unknown" format, it is too |
827 |
|
confusing for users. |
828 |
|
* wptKeyManager.cpp (km_check_key_status): Adjustments for the |
829 |
|
new code. |
830 |
|
(km_check_for_seckey): Reset utrust parameter. Return -1 for |
831 |
|
invalid (exp+rev+dis) keys. |
832 |
|
|
833 |
|
2005-08-01 Timo Schulz <[email protected]> |
834 |
|
|
835 |
|
* wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given |
836 |
|
sizes. |
837 |
|
(check_IP_or_hostname): New. |
838 |
|
(kserver_load_conf): Correct finger URL parsing problem. |
839 |
|
(port_from_proto): New. |
840 |
|
(keyserver_load_conf): Guess the port. |
841 |
|
(keyserver_set_default): Allocate new buffer. |
842 |
|
(kserver_load_conf): Likewise. |
843 |
|
* wptHTTP.c (parse_reqline, parse_request): Removed. |
844 |
|
Use WinPT error code and remove all unused code. |
845 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs. |
846 |
|
* wptProxySettingsDlg.cpp (read_proxy): Simple check for |
847 |
|
invalid host/IP addresses. |
848 |
|
* wptGPG.cpp (multi_gnupg_path): Return allocated buffer. |
849 |
|
Changed all callers. |
850 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start, |
851 |
|
automatically set 'backup to homedir'. |
852 |
|
* WinPT.cpp (WinMain): Use desktop window as the parent window |
853 |
|
to load 'first-start' dialogs. |
854 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh' |
855 |
|
flag after deleting keys. |
856 |
|
* wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure |
857 |
|
for passing the arguments. |
858 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for |
859 |
|
the OptFile. This was responsible for a lot of 'General Errors' |
860 |
|
after the first start related to key caching. |
861 |
|
Automatically set the gpg binary if possible. |
862 |
|
|
863 |
|
2005-07-22 Timo Schulz <[email protected]> |
864 |
|
|
865 |
|
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
866 |
|
messages and make sure WinPT make a keyring backup in this case. |
867 |
|
* wptGPGME.cpp (keycache_reload): Do not rebuild the signature |
868 |
|
cache each time. Just do it on startup. |
869 |
|
* wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION. |
870 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag |
871 |
|
was set by the calling function. |
872 |
|
* wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups. |
873 |
|
(keygen_dlg_proc): Only add the generated key to the keycache |
874 |
|
and do not reload the entire cache. |
875 |
|
* wptKeyManager.cpp (km_delete_keys): Store the number of keys |
876 |
|
because in each loop iteration it will be new calculated. |
877 |
|
* wptListView.cpp (listview_del_items): Likewise. |
878 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the |
879 |
|
generated key to the list instead of reloading the entire cache. |
880 |
|
* wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn. |
881 |
|
|
882 |
2005-05-09 Timo Schulz <[email protected]> |
2005-05-09 Timo Schulz <[email protected]> |
883 |
|
|
884 |
* wptCommonDlg.cpp (http_file_dlg_proc): Renamed to.. |
* wptCommonDlg.cpp (http_file_dlg_proc): Renamed to.. |
922 |
* wptProxySettingsDlg.cpp (check_number): New. |
* wptProxySettingsDlg.cpp (check_number): New. |
923 |
(read_proxy): Check the entered port number. |
(read_proxy): Check the entered port number. |
924 |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
925 |
|
* wptW32API.cpp (get_folder_dlg): Free memory. |
926 |
|
|
927 |
2005-04-11 Timo Schulz <[email protected]> |
2005-04-11 Timo Schulz <[email protected]> |
928 |
|
|
1266 |
|
|
1267 |
* WinPT.cpp (load_keyserver_conf): New. Factored out some code |
* WinPT.cpp (load_keyserver_conf): New. Factored out some code |
1268 |
from WinMain (). |
from WinMain (). |
1269 |
(WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner |
(WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner |
1270 |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver |
1271 |
in the list control, add at least the internal default HKP server. |
in the list control, add at least the internal default HKP server. |
1272 |
* wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support. |
* wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support. |