1 |
|
2006-03-21 Timo Schulz <[email protected]> |
2 |
|
|
3 |
|
* wptUTF8.cpp (native_to_utf8): Use directly W32 API. |
4 |
|
(utf8_to_native): Likewise. Remove cp850 conversion. |
5 |
|
* wptKeyEditDlgs.cpp (do_find_userid): Correct UTF8 handling. |
6 |
|
* wptKeyManager.cpp (km_delete_keys): Do not reset 'with_seckey' |
7 |
|
flag. |
8 |
|
|
9 |
|
2006-03-20 Timo Schulz <[email protected]> |
10 |
|
|
11 |
|
* wptUTF8.cpp (get_native_charset): Removed. |
12 |
|
(utf8_to_native): Rewritten. |
13 |
|
* wptKeyEditDlgs.cpp (do_add_new_userid): Correct charset |
14 |
|
handling. |
15 |
|
* wptKeygenCBDlg.cpp (keygen_cb): Do proper reset if needed. |
16 |
|
|
17 |
|
2006-03-16 Timo Schulz <[email protected]> |
18 |
|
|
19 |
|
* wptMainProc.cpp (winpt_main_proc): Disable all CryptDisk code. |
20 |
|
* wptCryptDisk.cpp: Disable code. |
21 |
|
* wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): Support for |
22 |
|
NONE proxy protocol. |
23 |
|
(init_proxy_procotol): Likewise. |
24 |
|
(read_proxy): Likewise. |
25 |
|
* wptKeyserverSearchDlg.cpp (on_init_dialog): New. |
26 |
|
(keyserver_search_dlg_proc): Use it here. |
27 |
|
* wptKeyserverDlg.cpp (hkp_send_key): Use GPGME wrapper. |
28 |
|
* wptKeyserver.cpp (kserver_search_end): New. |
29 |
|
(kserver_search_begin): Be more strict on mem allocation. |
30 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix 'redraw' |
31 |
|
problem. |
32 |
|
* wptAboutDlgs.cpp (about_dlg_proc): Hide 'Help' button. |
33 |
|
|
34 |
|
2006-03-12 Timo Schulz <[email protected]> |
35 |
|
|
36 |
|
* wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'. |
37 |
|
* wptKeyPropsDlg.cpp (display_key_info): Automatically update |
38 |
|
sym algorithm preferences if needed. |
39 |
|
* wptKeysignDlg.cpp (date_is_today): New. |
40 |
|
(keysign_dlg_proc): Only allow to set cert expire date if |
41 |
|
the option was found. |
42 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set |
43 |
|
'ask-cert-expire'. |
44 |
|
|
45 |
|
2006-03-10 Timo Schulz <[email protected]> |
46 |
|
|
47 |
|
* wptHTTP.c: deleted. |
48 |
|
* wptHTTP.cpp (wHTTP): Transformed old code into an object. |
49 |
|
* wptKeyManager.cpp (km_http_import): Use new code. |
50 |
|
(km_refresh_one_key): Use preferred keyserver if possible. |
51 |
|
* wptComonDlg.cpp (check_URL): Better conformance checking. |
52 |
|
* wptKeyEditCB.cpp (cmd_keyserver_handler): By default |
53 |
|
set keyserver for all userids. |
54 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Enable code |
55 |
|
to set preferred keyserver. |
56 |
|
* wptKeyCache.cpp (decode_subpacket): New. |
57 |
|
(gpg_keycache_update_attr): New. |
58 |
|
* wptGPGUtil.cpp (gpg_find_key_subpacket): New. |
59 |
|
* wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Use |
60 |
|
-1 as an index for all userids. |
61 |
|
|
62 |
|
2006-03-07 Timo Schulz <[email protected]> |
63 |
|
|
64 |
|
* WinPT.cpp (set_default_keyserver): New. |
65 |
|
* wptKeyserver.cpp (kserver_set_socket_timeout): New. |
66 |
|
(kserver_set_default_keyserver): Initialize default settings |
67 |
|
if needed. |
68 |
|
* wptSymEnc.cpp (gpg_encrypt_symmetric): Disallow empty passwords. |
69 |
|
* wptPassphraseDlg.cpp (request_passphrase): Handle new flag. |
70 |
|
(passphrase_dlg_proc): Support new safe edit window procedure. |
71 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
72 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Flush passphrase cache |
73 |
|
if user disable it. |
74 |
|
* wptKeylist.cpp (keylist_build): Do not scale images but use |
75 |
|
original size. |
76 |
|
* wptListView.cpp (listview_set_image_list): New size params. |
77 |
|
Change all callers. |
78 |
|
|
79 |
|
2006-03-01 Timo Schulz <[email protected]> |
80 |
|
|
81 |
|
* wptW32API.cpp (set_clip_text): Free all memory. |
82 |
|
|
83 |
|
2006-02-27 Timo Schulz <[email protected]> |
84 |
|
|
85 |
|
* wptSOCKS.cpp (socks_handshake): New. |
86 |
|
* wptMainProc.cpp (winpt_main_proc): A dbl-click forces |
87 |
|
the key manager in teh foreground if possible. |
88 |
|
* wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys. |
89 |
|
* wptRegistry.cpp (get_reg_proxy_prefs, |
90 |
|
set_reg_proxy_prefs): Use directly the proxy context. |
91 |
|
Changed all callers. |
92 |
|
* wptProxySettingsDlg.cpp (init_proxy_protocols): New. |
93 |
|
(keyserver_proxy_dlg_proc): Use directly the proxy context. |
94 |
|
* wptKeyserver.cpp (kserver_connect): Better proxy support. |
95 |
|
(kserver_send_request, kserver_recvkey_request): Likewise. |
96 |
|
* wptKeyserverDlg.cpp (name_from_proto): New. |
97 |
|
(set_proxy): Adjusted for the new code. |
98 |
|
|
99 |
|
2006-02-26 Timo Schulz <[email protected]> |
100 |
|
|
101 |
|
* WinPT.cpp (WinMain): Removed hotkey_modify() code. |
102 |
|
* wptKeyEditDlgs.cpp (is_idea_protect_algo): Better support |
103 |
|
v4 keys. |
104 |
|
* wptKeyserver.cpp (sock_getline): Skip '\r'. |
105 |
|
(base64_encode): Remove @maxlen param. Changed all callers. |
106 |
|
(finger_readline): Removed. |
107 |
|
(finger_recvkey): Use internal functions. |
108 |
|
* wptSigTreeDlg.cpp (sigtree_dlg_proc): Support a context menu. |
109 |
|
(show_sigprops): New. |
110 |
|
(create_popup): New. |
111 |
|
* wptPreferenceDlg.cpp (prefs_dlg_proc): Cache amount is |
112 |
|
now in minutes. |
113 |
|
* wptRegistry.cpp (get_winpt_reg_prefs, set_winpt_reg_prefs): |
114 |
|
Change code to use hotkeys directly. |
115 |
|
* wptHotkeys.cpp (hotkeys_enable, hotkey_disable): Likewise. |
116 |
|
|
117 |
|
2006-02-24 Timo Schulz <[email protected]> |
118 |
|
|
119 |
|
* wptGPG.cpp (set_gnupg_default_key): Allow to remove entry |
120 |
|
when parameter is NULL. |
121 |
|
* wptKeyManager.cpp (check_exist_default_key): New. |
122 |
|
(km_delete_keys): Check if the default key is still valid, |
123 |
|
if not delete entry. |
124 |
|
* wptSigTreeDlg.cpp (sigtree_dlg_proc): Forgot to localize |
125 |
|
button. |
126 |
|
|
127 |
|
2006-02-21 Timo Schulz <[email protected]> |
128 |
|
|
129 |
|
* wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Minor |
130 |
|
cleanups. |
131 |
|
* wptGPGUtil.cpp (file_extract_recipients): New. |
132 |
|
(clip_extract_recipients): New. |
133 |
|
(gpg_get_recipients): New. |
134 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Support |
135 |
|
external recipient listings. |
136 |
|
|
137 |
|
2006-02-15 Timo Schulz <[email protected]> |
138 |
|
|
139 |
|
* wptKeysignDlg.cpp (keysign_dlg_proc): Localize new checkbox. |
140 |
|
* wptFileStatDlg.cpp (get_s2k_algo): New. |
141 |
|
* wptFileManagerDlg.cpp (update_status_bar): Use human readable |
142 |
|
formats. |
143 |
|
|
144 |
|
2006-02-14 Timo Schulz <[email protected]> |
145 |
|
|
146 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'. |
147 |
|
* wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'. |
148 |
|
* wptFileManager.cpp (fm_sym_encrypt): Set cancel. |
149 |
|
(fm_parse_files): Handle cancel. |
150 |
|
|
151 |
|
2006-02-10 Timo Schulz <[email protected]> |
152 |
|
|
153 |
|
* wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars. |
154 |
|
* wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t |
155 |
|
for the dialog param. |
156 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list |
157 |
|
signature dialog by default. |
158 |
|
* wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly |
159 |
|
gpgme_key_sig_t as param. |
160 |
|
(keysig_dlg_proc): Change param for property dialog. |
161 |
|
* wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids |
162 |
|
and use icons. |
163 |
|
(sigtree_dlg_proc): Allow to execute old list dialog to |
164 |
|
edit the signatures. |
165 |
|
|
166 |
|
2006-02-09 Timo Schulz <[email protected]> |
167 |
|
|
168 |
|
* wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode. |
169 |
|
* wptNLS.c (gettext_localize_dialog): New. |
170 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button |
171 |
|
to avoid to reload the key cache. |
172 |
|
* wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal' |
173 |
|
list mode. |
174 |
|
* wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise. |
175 |
|
* wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog |
176 |
|
initiation code to this function. |
177 |
|
(prefs_dlg_proc): Use it here. |
178 |
|
|
179 |
|
2006-02-07 Timo Schulz <[email protected]> |
180 |
|
|
181 |
|
* wptKeyEdit.cpp (setNoPassphrase): New. |
182 |
|
(getValidDays): New. |
183 |
|
* wptKeysignDlg.cpp (keysign_dlg_proc): Check on init |
184 |
|
if the key is protected. |
185 |
|
* wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle |
186 |
|
keys without a passphrase. |
187 |
|
(keyedit_addrevoker_dlg_proc): Likewise. |
188 |
|
|
189 |
|
2006-02-04 Timo Schulz <[email protected]> |
190 |
|
|
191 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for |
192 |
|
at least one ultimately trusted key. |
193 |
|
* wptKeyManager.cpp (km_refresh_key_from_keyserver): |
194 |
|
Only check inet connection if we refresh all keys. |
195 |
|
* wptGPGUtil.cpp (gpg_extract_keys): New. |
196 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode. |
197 |
|
* wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise. |
198 |
|
* wptClipSignDlg.cpp (get_selected_key): New. |
199 |
|
(one_key_proc): Use it here. |
200 |
|
(count_useable_seckeys): New. |
201 |
|
* wptSigTreeDlg.cpp (sigtree_dlg_proc): New. |
202 |
|
* wptKeyEditDlgs.cpp (diff_time): Removed. |
203 |
|
(w32_mktime): New. |
204 |
|
(keyedit_addsubkey_dlg_proc): Use it here. |
205 |
|
|
206 |
|
2006-02-02 Timo Schulz <[email protected]> |
207 |
|
|
208 |
|
* wptW32API.cpp (get_temp_name): New. |
209 |
|
* wptKeyserver.cpp (ldap_recvkey): Use it here. |
210 |
|
* wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise. |
211 |
|
* wptGPGUtil.cpp (create_tempfile): Likewise. |
212 |
|
* wptImportList.cpp (implist_load): Likewise. |
213 |
|
* wptKeyCache.cpp (parse_attr_data): Likewise. |
214 |
|
(w32_tempfile): Removed. |
215 |
|
* wptGPGME.cpp (check_ultimate_trusted_key): New. |
216 |
|
|
217 |
|
2006-01-31 Timo Schulz <[email protected]> |
218 |
|
|
219 |
|
* wptMainProc.cpp (winpt_main_proc): Fix usage of the |
220 |
|
help system. |
221 |
|
* wptListView.cpp (listview_set_chkbox_style): New. |
222 |
|
(listview_get_item_state): Support new checkbox style. |
223 |
|
(listview_new): Reset flag var. |
224 |
|
* wptKeylist.cpp (keylist_build): Support new checkbox style. |
225 |
|
|
226 |
|
2006-01-30 Timo Schulz <[email protected]> |
227 |
|
|
228 |
|
* WinPT.cpp (check_readonly_attr): New. |
229 |
|
(load_gpg_env): Use it here. |
230 |
|
(WinPT): Make the the default key is searched in the |
231 |
|
secret key cache. |
232 |
|
Change error message. |
233 |
|
* wptRegistry.cpp (regist_int_winpt): Make sure |
234 |
|
the register extension is only offered once to the user. |
235 |
|
* wptKeyPropsDlg.cpp (get_photo_tmpname): Always use |
236 |
|
temp directory. Fixed a privilege problem. |
237 |
|
|
238 |
|
2006-01-29 Timo Schulz <[email protected]> |
239 |
|
|
240 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC |
241 |
|
to quit dialog. |
242 |
|
* wptKeysignDlg.cpp (sig_class_dlg_proc): More space for |
243 |
|
translations. Directly return sig class. |
244 |
|
(keysign_dlg_proc): Change msgbox title. |
245 |
|
* wptKeyEdit.cpp (signUserid): New. |
246 |
|
(getUseridIndex): New. |
247 |
|
(getKeyIndex): New. |
248 |
|
(getSigIndex): New. |
249 |
|
(clear): New. |
250 |
|
* wptKeyEditCB.cpp (cmd_sign_handler): Allow to select |
251 |
|
user-id first. |
252 |
|
* wptKeyEditDlgs.cpp (lookup_cmd): New. |
253 |
|
(do_editkey_sign_userid): New. |
254 |
|
(do_init_cmdlist): Differ between key pairs and public keys |
255 |
|
and allowed actions. |
256 |
|
(keyedit_change_ownertrust): Show msgbox on success. |
257 |
|
(get_default_key): New. |
258 |
|
* wptPassphraseDlg.cpp (request_passphrase): Reset @cancel. |
259 |
|
|
260 |
|
2006-01-27 Timo Schulz <[email protected]> |
261 |
|
|
262 |
|
* WinPT.cpp (WinMain): Set minimal list mode as default. |
263 |
|
* wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys. |
264 |
|
|
265 |
|
2006-01-25 Timo Schulz <[email protected]> |
266 |
|
|
267 |
|
* wptRegistry.cpp (get_reg_entry_gpg): Return NULL if |
268 |
|
the key exist with no value. |
269 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string. |
270 |
|
* wptKeysignDlg.cpp (do_fill_seclist): Select the |
271 |
|
default key if possible. |
272 |
|
* wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly |
273 |
|
return the choice. |
274 |
|
* wptKeylist.cpp (get_key_desc): New. |
275 |
|
(keylist_upd_key): Free memory. |
276 |
|
* wptKeyCache.cpp (gpg_keycache_get_default_key): New. |
277 |
|
(gpg_keycache_set_default_key): New. |
278 |
|
* WinPT.cpp (gpg_prefs_ok): New. |
279 |
|
(WinMain): Only start gpg prefs if needed. |
280 |
|
|
281 |
|
2006-01-24 Timo Schulz <[email protected]> |
282 |
|
|
283 |
|
* wptKeyManager.cpp (km_dropped_file_import): New. |
284 |
|
* wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow |
285 |
|
to drop files and try to import them. |
286 |
|
(keymanager_dlg_proc): Pass kmi as opaque to the subclass |
287 |
|
proc. |
288 |
|
|
289 |
|
2006-01-23 Timo Schulz <[email protected]> |
290 |
|
|
291 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output |
292 |
|
to the clipboard. |
293 |
|
* wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New. |
294 |
|
(do_editkey_enable_disable): New. |
295 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not |
296 |
|
close the dialog if the user cancelled the ownertrust dialog. |
297 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate |
298 |
|
an update of any value. |
299 |
|
|
300 |
|
2006-01-21 Timo Schulz <[email protected]> |
301 |
|
|
302 |
|
* wptKeyCache.cpp (keycache_next_key): Handle the case |
303 |
|
that there is a secret key without a public part. |
304 |
|
* wptKeyserver.cpp (kserver_save_conf): Save ports. |
305 |
|
* wptKeyserverDlg.cpp (keyserver_modify_dlg_proc): |
306 |
|
Reset keyserver name. |
307 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate |
308 |
|
an update, do not update the cache. |
309 |
|
* wptFileManagerDlg.cpp (file_import_dlg_proc): Use one |
310 |
|
dialog for both clipboard and file imports. |
311 |
|
* wptKeyManager.cpp (km_file_import, km_clip_import): |
312 |
|
Changes to support new update system. |
313 |
|
(gpg_clip_import): New. |
314 |
|
* wptKeyManagerDlg.cpp (km_gui_import): New. |
315 |
|
(find_keypos): Rewritten. |
316 |
|
(refresh_keylist): Improved error checking. |
317 |
|
|
318 |
|
2006-01-20 Timo Schulz <[email protected]> |
319 |
|
|
320 |
|
* wptKeyCache.cpp (w32_tmpfile): New. |
321 |
|
(parse_attr_data): Use it here. |
322 |
|
* wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var. |
323 |
|
|
324 |
|
2006-01-19 Timo Schulz <[email protected]> |
325 |
|
|
326 |
|
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not |
327 |
|
reload the entire cache, just update the key. |
328 |
|
* wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise. |
329 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag. |
330 |
|
* wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise. |
331 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key |
332 |
|
if need after showing the properties. |
333 |
|
* wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug. |
334 |
|
* wptKeyManager.cpp (km_import_file): New param. Changed |
335 |
|
all callers. |
336 |
|
(km_import_clip): Likewise. |
337 |
|
(delete_keys_from_cache): Delete secret part if available. |
338 |
|
* wptClipImportDlg.cpp (print_import_status): If there |
339 |
|
are too many new keys, use reload code. |
340 |
|
|
341 |
|
2006-01-18 Timo Schulz <[email protected]> |
342 |
|
|
343 |
|
* wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume |
344 |
|
the self sig is always index 0. Noted by Kurt. |
345 |
|
* wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume |
346 |
|
the key user-ID contains an email address. |
347 |
|
* wptKeyEditDlgs.cpp (do_find_userid): Likewise. |
348 |
|
(do_editkey_deluid): Likewise. |
349 |
|
(do_editkey_revuid): Likewise. |
350 |
|
|
351 |
|
2006-01-18 Timo Schulz <[email protected]> |
352 |
|
|
353 |
|
* wptListview.cpp (listview_del_sel_items): Fixed index |
354 |
|
calculation. This fixed a lot of problems with the KM listview |
355 |
|
update. |
356 |
|
(listview_del_all): Renamed to... |
357 |
|
(listview_del_all_items): ..this. Changed all callers. |
358 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh |
359 |
|
list when file import contained new/updated keys. |
360 |
|
* wptKeyManager.cpp (km_file_import): Indicate if the |
361 |
|
import contained any new/update keys. |
362 |
|
* wptClipImportDlg.cpp (print_import_status): Just mark |
363 |
|
keys which actually changed. |
364 |
|
|
365 |
|
2006-01-17 Timo Schulz <[email protected]> |
366 |
|
|
367 |
|
* wptMAPI.cpp (mapi_send_pubkey_ext): New. |
368 |
|
* wptKeysigDlg.cpp (do_delsig): Just flag the key, do not |
369 |
|
update it. |
370 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more |
371 |
|
careful about const pointers. |
372 |
|
* wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to.. |
373 |
|
(get_subkey_keyid): ..this. Fix problem that key was updated |
374 |
|
twice and this corrupted. |
375 |
|
(keyedit_add_subkey): Set @lv item in the callback context. |
376 |
|
|
377 |
|
2006-01-16 Timo Schulz <[email protected]> |
378 |
|
|
379 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore |
380 |
|
window if it lost focus during the operation. Thanks to Kurt. |
381 |
|
Update keylist when the window is enabled. |
382 |
|
(find_keypos): New. |
383 |
|
* wptKeyCache.cpp (keycache_next_key): Reset update status. |
384 |
|
(gpg_keycache_next_updated_key): New arg @r_status. Change all |
385 |
|
callers. |
386 |
|
(gpg_keycache_update_key): Different status for new and updated. |
387 |
|
Include key signatures. |
388 |
|
* wptClipImportDlg.cpp (print_import_status): Mark all |
389 |
|
imported keys. |
390 |
|
* wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist. |
391 |
|
Thanks to Kurt. |
392 |
|
* wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys. |
393 |
|
(do_delsig): Directly reload key. Thanks to Kurt. |
394 |
|
* wptGPGME.cpp (keycache_set_reload, keycache_get_reload): |
395 |
|
Removed. |
396 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system. |
397 |
|
* wptClipImportDlg.cpp (clip_import_dlg_proc): Return |
398 |
|
FALSE if no keys were updated or operation was cancelled. |
399 |
|
* wptCommonDlg.cpp (http_dlg_proc): Fix title selection code. |
400 |
|
* wptKeylist.cpp (get_ext_validity): Handle disabled keys. |
401 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): |
402 |
|
Do not allow to change ownertrust of invalid keys. |
403 |
|
Changed translation. |
404 |
|
Slightly different user interface. |
405 |
|
|
406 |
|
2006-11-14 Timo Schulz <[email protected]> |
407 |
|
|
408 |
|
* wptW32API.cpp (make_special_filename): New. |
409 |
|
* wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs): |
410 |
|
Removed 'KeyServer' item. |
411 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver |
412 |
|
config item. |
413 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group |
414 |
|
window until we really use it. |
415 |
|
* wptKeyserver.cpp (kserver_save_conf): New. |
416 |
|
(wsock_end): Save keyserver config file. |
417 |
|
* wptKeyserverDlg.cpp (keyserver_edit): New. |
418 |
|
(keyserver_remove): New. |
419 |
|
(keyserver_add): New. |
420 |
|
(fill_keyserv_types): New. |
421 |
|
(keyserver_modify_dlg_proc): New. |
422 |
|
(keyserver_dlg_proc): Provide context menu to modify the |
423 |
|
keyserver list. |
424 |
|
(keyserver_build_list): Remove 'proto' column because it is |
425 |
|
not really useful. |
426 |
|
* WinPT.cpp (load_keyserver_conf): Store keyserver.conf at |
427 |
|
$APPDATA\winpt. If keyserver.conf exists in the current folder |
428 |
|
move it to the new destination. |
429 |
|
|
430 |
|
2006-11-13 Timo Schulz <[email protected]> |
431 |
|
|
432 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation. |
433 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise. |
434 |
|
* wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about |
435 |
|
dialog isn't shown twice. |
436 |
|
* wptKeyCache.cpp (gpg_keycache_next_updated_key): New. |
437 |
|
(gpg_keycache_update_key): Set update flag. |
438 |
|
* wptKeyManagerDlg.cpp (refresh_keylist): New. |
439 |
|
(keymanager_dlg_proc): Use new refresh system for keyservers. |
440 |
|
* wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc): |
441 |
|
Update keycache. |
442 |
|
* wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise. |
443 |
|
* wptKeyserver.cpp (socket_read_ext): New. |
444 |
|
(kserver_recv_key_ext): New. |
445 |
|
(kserver_read_config, kserver_write_config): Removed. |
446 |
|
|
447 |
|
2006-01-12 Timo Schulz <[email protected]> |
448 |
|
|
449 |
|
* wptListView.cpp (listview_set_image_list): Make icons |
450 |
|
always transparent. |
451 |
|
* wptImageList.cpp (imagelist_load): New icons. |
452 |
|
* wptGPGMEData.cpp (gpg_data_putc): New. |
453 |
|
* wptKeyManagerDlg.cpp (load_toolbar): Include new icons. |
454 |
|
(keymanager_dlg_proc): Add tooltips. |
455 |
|
* wptKeyserverDlg.cpp (keyserver_list_build): Use icons. |
456 |
|
* wptKeyserver.cpp (URL_encode): New. |
457 |
|
(URL_must_encode): New. |
458 |
|
(kserver_search_init): Properly encode pattern. |
459 |
|
(parse_iso_date): New. |
460 |
|
(keyserver_search): Be more strict to prevent buffer overflows. |
461 |
|
|
462 |
|
2006-01-11 Timo Schulz <[email protected]> |
463 |
|
|
464 |
|
* wptKeyManagerDlg.cpp (load_toolbar): 2 new icons. |
465 |
|
(keymanager_dlg_proc): Adjust tooltips. |
466 |
|
(update_ui_items): Handle new icons. |
467 |
|
* wptImageList.cpp (imagelist_load): New icons. |
468 |
|
|
469 |
|
2006-01-10 Timo Schulz <[email protected]> |
470 |
|
|
471 |
|
* wptMainProc.cpp (winpt_main_proc): Restore iconic |
472 |
|
File/Key Manager windows if needed. |
473 |
|
* wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button. |
474 |
|
* wptSiglist.cpp (init_cmp): New. |
475 |
|
(siglist_sort): New. |
476 |
|
(siglist_cmp_cb): New. |
477 |
|
(siglist_add_key): Force NOKEY status when key was not found. |
478 |
|
* wptKeysigDlg.cpp (recv_single_key): New. |
479 |
|
(recv_missing_keys): Reload entire key when more than one key |
480 |
|
was fetched. |
481 |
|
(keysig_dlg_proc): Support sorting the listview items. |
482 |
|
|
483 |
|
2006-01-09 Timo Schulz <[email protected]> |
484 |
|
|
485 |
|
* WinPT.cpp (load_gettext): Remove file locking. |
486 |
|
(WinMain): Use pre-defined autoconf constants. |
487 |
|
* wptW32API.cpp (init_file_lock, release_file_lock): Deleted. |
488 |
|
* wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver. |
489 |
|
Change all callers. |
490 |
|
|
491 |
|
2006-01-07 Timo Schulz <[email protected]> |
492 |
|
|
493 |
|
* wptKeyManager.cpp (km_refresh_from_keyserver): Summarize |
494 |
|
import status if just one key was selected. |
495 |
|
|
496 |
|
2006-01-04 Timo Schulz <[email protected]> |
497 |
|
|
498 |
|
* wptGPGMEWrapper.c (setChangeVersion): New. |
499 |
|
(exportToBuffer, exportToFile, exportToClipboard): New. |
500 |
|
(setArmor, getArmor): New. |
501 |
|
* wptKeylist.cpp (get_key_expire_date): Return locale specific |
502 |
|
date. |
503 |
|
(keylist_get_recipients): Do not fetch the key again. |
504 |
|
(keylist_enum_recipients): Likewise. |
505 |
|
* wptGPG.cpp (create_empty_keyring): New. |
506 |
|
(get_gnupg_keyring): Fixed 'strict' logic. |
507 |
|
* wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons |
508 |
|
when no secret keys are available. |
509 |
|
* wptKeyManager.cpp (km_send_to_mail_recipient): Release key data |
510 |
|
before the MAPI call is made. |
511 |
|
* WinPT.cpp (check_for_empty_keyrings): New. |
512 |
|
|
513 |
|
2006-01-03 Timo Schulz <[email protected]> |
514 |
|
|
515 |
|
* pubkey.ico, keypair.ico: New. |
516 |
|
* wptListview.cpp (listview_add_item_image): New. |
517 |
|
(listview_set_image_list): New. |
518 |
|
* wptSigList.cpp (siglist_add_key): Correct order of the sigs. |
519 |
|
* wptKeyProps.cpp (keyprops_load_photo): Adjusted for new |
520 |
|
JPEG data. |
521 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to |
522 |
|
add items to revoked keys. |
523 |
|
* wptKeyManager.cpp (km_delete_keys): Do not use uninitialized |
524 |
|
keyid buffer. This fixes a segv. |
525 |
|
* wptKeyserver.cpp (spawn_application): New. |
526 |
|
(ldap_recv_key): Support recent protocols and several cleanups. |
527 |
|
* wptKeylist.cpp (do_addkey): Set image which depends on the |
528 |
|
key type. |
529 |
|
(keylist_enum_recipients): Cleanups. |
530 |
|
(keylist_get_keyflags): Rewritten. |
531 |
|
* wptKeyCache.cpp (free_attr_list): New. |
532 |
|
(parse_attr_list): New. |
533 |
|
(parse_attr_data): New. |
534 |
|
(keycache_update_photo): New. |
535 |
|
(keycache_update_photos): New. |
536 |
|
(gpg_keycache_update_key): Automatically reload photos if needed. |
537 |
|
* wptGPGUtil.cpp (create_process): New param @err. Change all |
538 |
|
callers. |
539 |
|
(map_tmpfile): New param @nread. Change all callers. |
540 |
|
(gpg_get_photoid_data): New. |
541 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to |
542 |
|
add items to revoked keys. |
543 |
|
(subkey_init_list): Store gpgme key object. |
544 |
|
|
545 |
|
2005-12-29 Timo Schulz <[email protected]> |
546 |
|
|
547 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically. |
548 |
|
(gpg_genkey_params): Simplified. |
549 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal |
550 |
|
exclusion of the dialog items. |
551 |
|
* wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to |
552 |
|
quit the dialog. |
553 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
554 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND. |
555 |
|
(id2algo): New. |
556 |
|
|
557 |
|
2005-12-28 Timo Schulz <[email protected]> |
558 |
|
|
559 |
|
* wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs. |
560 |
|
* wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise. |
561 |
|
* wptKeylist.cpp (keylist_udp_key): Likewise. |
562 |
|
* wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise. |
563 |
|
* wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem |
564 |
|
when no signing key was found. |
565 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode |
566 |
|
user IDs. |
567 |
|
(translate_popup_strings): s/Revoke/Revoke Cert. |
568 |
|
* wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a |
569 |
|
0x prefixed keyid. |
570 |
|
* wptKeyEditCB.cpp (editkey_command_handler): Also reset |
571 |
|
step in case of a bad passphrase. |
572 |
|
|
573 |
|
2005-12-27 Timo Schulz <[email protected]> |
574 |
|
|
575 |
|
* wptListView.cpp (listview_set_view): New. |
576 |
|
(listview_del_column): New. |
577 |
|
* wptW32API.cpp (get_locale_date): New. |
578 |
|
(get_menu_state): New. |
579 |
|
(force_foreground_window): New. |
580 |
|
* wptVerifyList.cpp (strtimestamp): Support for |
581 |
|
locale date formats. |
582 |
|
* wptGPGUtil.cpp (gpg_revoke_cert): Handle bad |
583 |
|
passphrases. |
584 |
|
* wptKeyEditCB.cpp (editkey_command_handler): Immediately |
585 |
|
return when a bad passphrase was submitted. |
586 |
|
* wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change |
587 |
|
column order. |
588 |
|
* wptKeylist.cpp (keylist_upd_col): New. |
589 |
|
* wptKeyManagerDlg.cpp (update_ui_items): Deactivate |
590 |
|
'Revocation' for public keys. |
591 |
|
(translate_menu_strings): s/Revoke/Revoke Cert. |
592 |
|
(modify_listview_columns): New. |
593 |
|
|
594 |
|
2005-12-18 Timo Schulz <[email protected]> |
595 |
|
|
596 |
|
* wptKeyManagerDlg.cpp (save_column_size): New. |
597 |
|
(restore_column_size): New. |
598 |
|
(keymanager_dlg_proc): Save and restore column sizes for |
599 |
|
the listview control. |
600 |
|
* wptKeyManager.cpp (key_get_info): New. |
601 |
|
(km_delete_keys): Use it here to have a consistent message. |
602 |
|
Use stored key context and not the column data. |
603 |
|
(km_enable_disable_key): Likewise. |
604 |
|
(km_send_to_keyserver): Likewise. |
605 |
|
(km_set_implicit_trust): Likewise. |
606 |
|
* wptKeylist.cpp (get_key_pubalgo2): New. |
607 |
|
|
608 |
|
2005-12-17 Timo Schulz <[email protected]> |
609 |
|
|
610 |
|
* wptUTF8.cpp: Removed unused charset array. |
611 |
|
* wptSigList.cpp (siglist_build): Increase size for 'class' |
612 |
|
column. |
613 |
|
* wptGPG.cpp (get_gnupg_path): Simplified. |
614 |
|
* WinPT.cpp (load_gpg_env): New. |
615 |
|
(check_crypto_engine): Return type is now bool. |
616 |
|
* wptRegistry.cpp (is_gpg4win_installed): New. |
617 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent |
618 |
|
dialog design. |
619 |
|
* wptKeyManagerDlg.cpp (translate_menu_strings): New. |
620 |
|
(translate_popupmenu_strings): New. |
621 |
|
* wptKeyEditDlgs.cpp (is_jpg_file): New. |
622 |
|
|
623 |
|
2005-12-13 Timo Schulz <[email protected]> |
624 |
|
|
625 |
|
* wptCommonDlg.cpp (http_dlg_proc): Localized missing elements. |
626 |
|
* wptKeyManagerDlg.cpp (change_edit_menu): New. |
627 |
|
(change_key_menu): Renamed from... |
628 |
|
(menu_gpg_readonly): ..this. |
629 |
|
(clip_contains_pgpkey): New. |
630 |
|
(update_ui_items): Do not allow to sign expired keys. |
631 |
|
(keymanager_dlg_proc): Same for popup menu. |
632 |
|
* wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling. |
633 |
|
* wptKeyCache.cpp (copy_uid_prefs): |
634 |
|
(gpg_keycache_sync): Copy uid prefs so the key property |
635 |
|
dialog show the correct values. Thanks to Shane. |
636 |
|
|
637 |
|
2005-12-11 Timo Schulz <[email protected]> |
638 |
|
|
639 |
|
* wptW32API.cpp (get_file_version): New. |
640 |
|
* wptGPGUtil.cpp (create_process): Always hide window. |
641 |
|
* wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close' |
642 |
|
instead of 'Exit'. |
643 |
|
* wptKeyManager.cpp (km_http_import): New filename |
644 |
|
generation code. |
645 |
|
(km_send_to_mail_recipient): Cleanups. |
646 |
|
* wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog. |
647 |
|
* wptKeyManagerDlg.cpp (update_ui_items): Handle the case |
648 |
|
when multiple keys are selected. |
649 |
|
(popup_multiple): New. |
650 |
|
* WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe |
651 |
|
file versions are equal. Rewrote --keymanager code. |
652 |
|
|
653 |
|
2005-12-08 Timo Schulz <[email protected]> |
654 |
|
|
655 |
|
* wptKeyserverDlg.cpp (show_imported_keys): Enhanced. |
656 |
|
(hkp_recv_key2): Show user-id of the imported key instead |
657 |
|
of just the pattern. |
658 |
|
* wptFileCBS.cpp (read_cb): Changed to W32 API. |
659 |
|
(write_cb): Likewise. Create output file on demand. |
660 |
|
(gpg_file_data_new): Adjusted code for new API. |
661 |
|
* wptKeyEdit.cpp (cleanKey): New. |
662 |
|
* wptKeyEditCB.cpp (cmd_clean_handler): New. |
663 |
|
(editkey_command_handler): Call clean handler. |
664 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort |
665 |
|
keylist after inserting items. |
666 |
|
* wptFileManager.cpp (fm_set_status): Take care of |
667 |
|
cleartext sigs. |
668 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make |
669 |
|
sure can be closed. |
670 |
|
|
671 |
|
2005-12-07 Timo Schulz <[email protected]> |
672 |
|
|
673 |
|
* wptOwnertrustDlg.cpp (ownertrust_dlg_proc): |
674 |
|
Use 'Close' instead of 'Exit'. |
675 |
|
* wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise. |
676 |
|
* wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA |
677 |
|
as the destination dir. Thanks to Werner. |
678 |
|
* wptRegistry.cpp (is_gpgee_installed): New. |
679 |
|
(regist_inst_winpt): Do not register file extensions |
680 |
|
if GPGee is available. |
681 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit |
682 |
|
use of local vars. |
683 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure |
684 |
|
no illegal backup mode is saved. |
685 |
|
* wptKeyserverDlg.cpp (show_imported_key): New. |
686 |
|
(hkp_recv_key2): Show imported keys if the blob |
687 |
|
contained more than one. |
688 |
|
|
689 |
|
2005-12-06 Timo Schulz <[email protected]> |
690 |
|
|
691 |
|
* WinPT.cpp (WinMain): Load the gettext environment soon |
692 |
|
as possible so all 'first start' messages are localized. |
693 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is |
694 |
|
received via the keyserver, return the gpgme key context on |
695 |
|
success and add it directly to the list. |
696 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param |
697 |
|
to store the key. |
698 |
|
(hkp_recv_key2): Add extra param for the fingerprint. |
699 |
|
(hkp_recv_key): Call hkp_recv_key2 without fingerprint. |
700 |
|
|
701 |
|
2005-12-02 Werner Koch <[email protected]> |
702 |
|
|
703 |
|
* wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs. |
704 |
|
|
705 |
|
2005-12-01 Timo Schulz <[email protected]> |
706 |
|
|
707 |
|
* wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic |
708 |
|
for get_gpg_sigstat(). |
709 |
|
* wptGPGME.cpp (get_gpg_sigstat): New. It is now a function. |
710 |
|
As a macro strings will not be translated at runtime. |
711 |
|
* wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we |
712 |
|
need to update the cache. Thanks to Jan-Oliver. |
713 |
|
* wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized. |
714 |
|
|
715 |
|
2005-11-30 Timo Schulz <[email protected]> |
716 |
|
|
717 |
|
* wptW32API.cpp (dialog_box_param): Removed LANG_DE code. |
718 |
|
* WinPT-en.rc: Removed string list. |
719 |
|
* wptFileSaveDlg.cpp (file_save_dlg_proc): Localized |
720 |
|
* wptKeylist.cpp (keylist_build): Cannot use global |
721 |
|
arrays for the columns due to gettext. |
722 |
|
|
723 |
|
2005-11-29 Timo Schulz <[email protected]> |
724 |
|
|
725 |
|
* WinPT.cpp (WinMain): Modify --keymanager. If an instance |
726 |
|
is running, just send the command to open the manager. |
727 |
|
|
728 |
|
2005-11-25 Timo Schulz <[email protected]> |
729 |
|
|
730 |
|
* wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging |
731 |
|
process when the revoker is already there. |
732 |
|
|
733 |
2005-11-24 Timo Schulz <[email protected]> |
2005-11-24 Timo Schulz <[email protected]> |
734 |
|
|
735 |
* wptPassphraseCB.cpp (passphrase_callback_proc): Localize |
* wptPassphraseCB.cpp (passphrase_callback_proc): Localize |
736 |
signing dialog items. |
signing dialog items. |
737 |
* wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items. |
* wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items. |
738 |
|
* wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now. |
739 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items. |
740 |
|
* wptKeylist.cpp (key_check_validity): Likewise. |
741 |
|
* wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise. |
742 |
|
|
743 |
2005-11-22 Timo Schulz <[email protected]> |
2005-11-22 Timo Schulz <[email protected]> |
744 |
|
|
1695 |
|
|
1696 |
* WinPT.cpp (load_keyserver_conf): New. Factored out some code |
* WinPT.cpp (load_keyserver_conf): New. Factored out some code |
1697 |
from WinMain (). |
from WinMain (). |
1698 |
(WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner |
(WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner |
1699 |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver |
1700 |
in the list control, add at least the internal default HKP server. |
in the list control, add at least the internal default HKP server. |
1701 |
* wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support. |
* wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support. |