1 |
|
2006-05-23 Timo Schulz <[email protected]> |
2 |
|
|
3 |
|
* wptKeyEditDlgs.cpp (do_add_new_userid): Fix re-introduced |
4 |
|
problem. |
5 |
|
(keyedit_main_dlg_proc): Popup menu for the user ID list |
6 |
|
with common commands. |
7 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Automatically |
8 |
|
disable search for ldap servers. |
9 |
|
Use subkeys.pgp.net by default when no server was selected. |
10 |
|
|
11 |
|
2006-05-22 Timo Schulz <[email protected]> |
12 |
|
|
13 |
|
* wptRegistry.cpp (set_reg_winpt_prefs, get_reg_winpt_prefs): |
14 |
|
Support for the new 'default ext' value. |
15 |
|
* wptPreferencesDlg.cpp (on_init_dialog): Likewise. |
16 |
|
(prefs_dlg_proc): Likewise. |
17 |
|
* wptFileManager.cpp (file_get_extension): Likewise. |
18 |
|
(get_output_file): Likewise. |
19 |
|
(fm_export): Likewise. |
20 |
|
|
21 |
|
2006-05-20 Timo Schulz <[email protected]> |
22 |
|
|
23 |
|
* wptKeyPropsDlg.cpp (keyprops_load_photo): avoid expensive |
24 |
|
process call when no photo is available. |
25 |
|
(keyprops_dlg_proc): avoid static data. |
26 |
|
* wptFileManager.cpp (fm_add_sig_stat): Free memory in case |
27 |
|
of on demand key requests. |
28 |
|
(show_verify_result): Likewise. |
29 |
|
(secret_key_available): Likewise. |
30 |
|
(fm_decrypt, fm_sign): Handle the new on demand key request |
31 |
|
mode and free all memory. |
32 |
|
|
33 |
|
2006-05-15 Timo Schulz <[email protected]> |
34 |
|
|
35 |
|
* wptKeyEditDlgs.cpp (userid_list_init): Forgot to |
36 |
|
apply patch. Thanks to vedaal. |
37 |
|
|
38 |
|
2006-05-14 Timo Schulz <[email protected]> |
39 |
|
|
40 |
|
* wptKeyCache.cpp (gpg_keycache_update_attr): Parse |
41 |
|
preferred keyserver URL. |
42 |
|
* wptHTTP.cpp (extractHostInfo): Fix segv. |
43 |
|
* wptGPGUtil.cpp (gpg_find_key_subpacket): Ignore default |
44 |
|
gpg.conf. |
45 |
|
* wptKeyserverSearchDlg.cpp (search_hkp_keys): Do not |
46 |
|
assume an existing user id. |
47 |
|
* wptPassphraseCB.cpp (passphrase_cb): Automatic cancel |
48 |
|
if no passphrase is available. |
49 |
|
|
50 |
|
2006-05-13 Timo Schulz <[email protected]> |
51 |
|
|
52 |
|
* wpMainProc.cpp (secret_key_available): Move it... |
53 |
|
* wptGPGME.cpp: ..to this file. |
54 |
|
(check_ultimate_trusted_key): Handle the case there |
55 |
|
is no secret key available. |
56 |
|
* wptFileManagerDlg.cpp (update_ui_items): Improved. |
57 |
|
* wptKeyManagerDlg.cpp (key_manager_dlg_proc): Deactive |
58 |
|
some functions when no secret key is available. |
59 |
|
* wptKeyserverSearchDlg.cpp (search_hkp_keys): Adjust |
60 |
|
code and also display pubkey algorithm. |
61 |
|
* wptKeyserver.cpp (safe_alloc): New. |
62 |
|
(count_keys_in_response): New. |
63 |
|
(parse_pub_record): New. |
64 |
|
(parse_uid_record): New. |
65 |
|
(kserver_release_key): New. |
66 |
|
(kserver_search_begin, kserver_search_next_key): |
67 |
|
Adjust for the machine readable output. Removed old code. |
68 |
|
(parse_keyserver_url): New. |
69 |
|
* wptUtil.cpp (substr): New. |
70 |
|
* wptKeyManager.cpp (km_refresh_one_key): Properly |
71 |
|
parse the keyserver URL. |
72 |
|
|
73 |
|
2006-05-11 Timo Schulz <[email protected]> |
74 |
|
|
75 |
|
* wptPassphraseCB.cpp (release_gpg_recipients): New. |
76 |
|
(release_gpg_recipients): Use it here. |
77 |
|
* wptFileManager.cpp (fm_decrypt): List all recipients. |
78 |
|
Thanks to vedaal. |
79 |
|
* wptGPG.cpp (extract_keyid): New. |
80 |
|
(get_gnupg_default_key): Use it here. |
81 |
|
* wptClipDecryptDlg.cpp (clip_decrypt_dlg): Allow to verify |
82 |
|
one-pass-sigs again. |
83 |
|
|
84 |
|
2006-05-09 Timo Schulz <[email protected]> |
85 |
|
|
86 |
|
* wptKeyRevokersDlg.cpp (revokelist_build): Store key ptr. |
87 |
|
* wptClipSignDlg.cpp (gpg_clip_sign): Improve error handling. |
88 |
|
* wptKeysigDlg.cpp (sigprops_dlg_proc): Correct expire date. |
89 |
|
|
90 |
|
2006-05-07 Timo Schulz <[email protected]> |
91 |
|
|
92 |
|
* wptKeyserverDlg.cpp (hkp_err_box): Improved. |
93 |
|
* wptKeyserver.cpp (wsock_strerror): Likewise. |
94 |
|
* wptKeygenCBDlg.cpp (keygen_cb_dlg_destroy): New param. |
95 |
|
Change all callers. |
96 |
|
* wptKeysigDlg.cpp (do_load_keyprops): Correct key update |
97 |
|
problem. |
98 |
|
|
99 |
|
2006-05-06 Timo Schulz <[email protected]> |
100 |
|
|
101 |
|
* wptKeyManagerDlg.cpp (reload_keycache): Use pre-defined |
102 |
|
sorting order if available. |
103 |
|
* wptKeyPropsDlg.cpp (key_props_dlg_proc): Use 0x prefix |
104 |
|
for the key ID. |
105 |
|
(get_pref_cipher): Differ between the AES algorithm IDs. |
106 |
|
(key_is_valid): New. |
107 |
|
* wptKeyserverDlg.cpp (check_pattern): Simplified. |
108 |
|
|
109 |
|
2006-05-03 Timo Schulz <[email protected]> |
110 |
|
|
111 |
|
* wptKeyCache.cpp (keycache_prepare2): Fix possible segv. |
112 |
|
Thanks to Mathias. |
113 |
|
|
114 |
|
2006-05-02 Timo Schulz <[email protected]> |
115 |
|
|
116 |
|
* wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use a |
117 |
|
caption for the radio button group. |
118 |
|
* wptKeyserverDlg.cpp (keyserver_recv_key): Use new code. |
119 |
|
* wptKeyserver.cpp (kserver_recvkey, finger_recvkey, |
120 |
|
ldap_recvkey): Avoid fixed buffers. |
121 |
|
(do_spawn_ldap_helper): New. |
122 |
|
(ldap_recvkey): Factor out code into helper function. |
123 |
|
* wptPassphraseCBDlg.cpp (passphrase_callback_proc): |
124 |
|
Increase width of the list box to make sure even large |
125 |
|
user IDs will be completly displayed. |
126 |
|
|
127 |
|
2006-05-01 Timo Schulz <[email protected]> |
128 |
|
|
129 |
|
* WinPT.cpp (WinMain): Check if the user has admin privileges. |
130 |
|
* wptW32API.cpp (user_is_admin): New. |
131 |
|
* wptKeysigDlg.cpp (sigprops_dlg_proc): Cosmetical changes. |
132 |
|
* wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use timer |
133 |
|
to re-activate the window again. |
134 |
|
* wptKeylist.cpp (get_key_trust2): Differ between "full" |
135 |
|
and "ultimate". |
136 |
|
* wptKeyCache.cpp (keycache_prepare2): Primary user-id |
137 |
|
has now highest priority. |
138 |
|
* wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use new utf8 |
139 |
|
system. |
140 |
|
|
141 |
|
2006-04-30 Timo Schulz <[email protected]> |
142 |
|
|
143 |
|
* wptKeyCache.cpp (gpg_keycache_release): Release revoker |
144 |
|
list if needed. |
145 |
|
* wptKeyRevokersDlg.cpp (key_get_revokers): New. |
146 |
|
(key_revokers_dlg_proc): Expect winpt_key_t. Change all callers. |
147 |
|
* wptKeyEditDlgs.cpp (check_desig_rev): New. |
148 |
|
(do_editkey_minimize): New. |
149 |
|
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Support to |
150 |
|
generate a revoc cert as a desig revoker. |
151 |
|
|
152 |
|
2006-04-29 Timo Schulz <[email protected]> |
153 |
|
|
154 |
|
* wptVerifyList.cpp (verlist_build): Adjusted code for new |
155 |
|
list view interface. |
156 |
|
* wptSigList.cpp (siglist_build): Likewise. |
157 |
|
* wptKeyEditDlgs.cpp (showpref_dlg_proc): Correct code |
158 |
|
to display the preferences of the selected UID. Thanks to Mathias. |
159 |
|
* wptKeyCacheDlg.cpp (keycache_dlg_proc): Return 1 in case |
160 |
|
of an error. |
161 |
|
* wptKeyCache.cpp (gpg_keycache_update_key): Always update |
162 |
|
the utf8 decoded uid list. |
163 |
|
* wptImportList.cpp (decode_userid): Do utf8 decoding here. |
164 |
|
* wptListView.cpp (listview_new): New param for HWND handle. |
165 |
|
Change all callers. |
166 |
|
* wptFileManager.cpp (fm_add_sig_stat): Use utf8 decoding. |
167 |
|
* wptGPGUtil.cpp (gpg_revoke_cert): Support --desig-revoker. |
168 |
|
* wptClipVerifyDlg.cpp (wptClipVerifyDlg.cpp): Correct |
169 |
|
keyid extraction. |
170 |
|
|
171 |
|
2006-04-28 Timo Schulz <[email protected]> |
172 |
|
|
173 |
|
* wptMAPI.cpp (mapi_send_pubkey): Use new key struct. |
174 |
|
* wptKeysigDlg.cpp (sigprops_dlg_proc): Prepare dialog |
175 |
|
for handling policy URLs. |
176 |
|
* wptKeyManagerDlg.cpp (save_column_info, restore_column_info): |
177 |
|
New option KMSortBy. |
178 |
|
* wptKeylist.cpp (get_key_algo): Lower priority for revoked keys. |
179 |
|
* wptKeyEdit.cpp (minimizeKey): New. |
180 |
|
* wptKeyCache.cpp (gpg_keycache_update_key): Reload utf8 uid list. |
181 |
|
|
182 |
|
2006-04-27 Timo Schulz <[email protected]> |
183 |
|
|
184 |
|
* wptKeyManager.cpp (km_get_key_ptr): New. |
185 |
|
* wptListview.cpp (listview_get_item_text): Drop utf8 support. |
186 |
|
* wptKeyCache.cpp (keycache_decode_uids): New. |
187 |
|
(free_native_uids): New. |
188 |
|
* wptKeyEdit.cpp (uid_inf_colon_handler): Do utf8 decodig here. |
189 |
|
|
190 |
|
2006-04-26 Timo Schulz <[email protected]> |
191 |
|
|
192 |
|
* wptKeylist.cpp (get_keyid_from_fpr): New. |
193 |
|
* wptDecryptClipDlg.cpp (clip_decrypt_dlg): Use it here. |
194 |
|
* wptVerifyList.cpp (verlist_add_sig): Likewise. |
195 |
|
|
196 |
|
2006-04-25 Timo Schulz <[email protected]> |
197 |
|
|
198 |
|
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle IDCANCEL. |
199 |
|
* wptMDSumDlg.cpp (hash_selected_files): New. |
200 |
|
(mdsum_dlg_proc): Cleanups. |
201 |
|
* wptKeysignDlg.cpp (keysign_dlg_proc): Fix segv. |
202 |
|
|
203 |
|
2006-04-23 Timo Schulz <[email protected]> |
204 |
|
|
205 |
|
* wptW32API.cpp (SetDlgItemText_utf8): New. |
206 |
|
(SetWindowText_utf8): New. |
207 |
|
(GetDlgItemText_utf8): New. |
208 |
|
* wptListView.cpp (listview_add_sub_item): Internal |
209 |
|
utf8 support. |
210 |
|
|
211 |
|
2006-04-22 Timo Schulz <[email protected]> |
212 |
|
|
213 |
|
* wptKeyEditDlgs.cpp (addrevoker_dlg_proc): Encode |
214 |
|
revoker name in UTF8. |
215 |
|
* wptKeysigDlg.cpp (keysig_dlg_proc): Fix utf8 problem |
216 |
|
with the window title. |
217 |
|
|
218 |
|
2006-04-20 Timo Schulz <[email protected]> |
219 |
|
|
220 |
|
* wptUTF8.cpp (native_to_utf8): Use c++ alloc. |
221 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Do not mix c and |
222 |
|
c++ memory allocation. |
223 |
|
* wptFileManager.cpp (show_verify_result): Show PKA status |
224 |
|
if possible. |
225 |
|
* wptClipVerifyDlg.cpp (get_pka_status): New. |
226 |
|
(clip_verify_dlg_proc): Show PKA status if possible. |
227 |
|
* wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle IDCANCEL |
228 |
|
to use ESC to quit the dialog. |
229 |
|
* wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Also |
230 |
|
encode the comment in UTF8. Thanks to Werner and Jan. |
231 |
|
|
232 |
|
2006-04-16 Timo Schulz <[email protected]> |
233 |
|
|
234 |
|
* wptHTTP.cpp (getErrorCode): New. |
235 |
|
(connect): Store winsock error code. |
236 |
|
* wptGPGMEData.cpp (is_armor_header): New. |
237 |
|
* wptGPG.cpp (check_gnupg_engine): Free context. |
238 |
|
(gnupg_backup_keyrings): Do not use global vars. |
239 |
|
* wptGPGUtil.cpp (gpg_export_seckey): Export in ascii format. |
240 |
|
|
241 |
|
2006-04-15 Timo Schulz <[email protected]> |
242 |
|
|
243 |
|
* wptKeyManager.cpp (km_get_key): New. |
244 |
|
(km_key_show_revoc_info): New. |
245 |
|
* wptKeyRevokeDlg.cpp (key_revoke_dlg): Cleanups. |
246 |
|
(on_init_dialog): New. |
247 |
|
* wptKeyManagerDlg.cpp (key_manager_dlg_proc): Factour |
248 |
|
out some common code and use km_get_key() instead. |
249 |
|
* wptKeyEditDlgs.cpp (do_init_keylist): Change second |
250 |
|
param type. Change all callers. |
251 |
|
* wptKeyEdit.cpp (addNotation): New. |
252 |
|
* wptKeyEditCB.cpp (editkey_command_handler): Remove 'step' |
253 |
|
param everywhere. Change all callers. |
254 |
|
|
255 |
|
2006-04-09 Timo Schulz <[email protected]> |
256 |
|
|
257 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Only return true |
258 |
|
if the homedir value was changed. |
259 |
|
* wptGPG.cpp (default_key_from_cache): Only return secret key |
260 |
|
if public part is available. |
261 |
|
(set_gnupg_default_key): Fix NULL problem. |
262 |
|
* wptKeyEditDlgs.cpp (do_editkey_clean): Set update flag. |
263 |
|
* wptFileCBS.cpp (write_cb, read_cb): Better error handling. |
264 |
|
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle |
265 |
|
'always-on-top' correctly. |
266 |
|
* wptKeylist.cpp (keylist_get_recipients): Allocate enough |
267 |
|
mem to hold all possible keys. |
268 |
|
(keylist_enum_keys): Likewise. |
269 |
|
|
270 |
|
2006-04-08 Timo Schulz <[email protected]> |
271 |
|
|
272 |
|
* wptKeylist.cpp (keylist_get_recipients): Always use utf8 output. |
273 |
|
* wptKeyserver.cpp (kserver_connect): Fixed proxy support. |
274 |
|
* wptKeyserverSearchDlg.cpp (fetch_keys): New. |
275 |
|
* WinPT.cpp (WinMain): if the default key was not found, reset |
276 |
|
the gpg.conf entry. |
277 |
|
* wptFileManager.cpp (fm_encrypt_into_zip): Use correct output |
278 |
|
file name. |
279 |
|
(show_verify_result): Always use utf8 output. |
280 |
|
(get_output_file): Case in-sentensive comparison. |
281 |
|
(fm_assume_onepass_sig): Fixed temp file handling. |
282 |
|
* wptClipEncryptDlg.cpp (show_invalid_recipients): Fix utf8 |
283 |
|
output. |
284 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix possible segv. |
285 |
|
|
286 |
|
2006-04-07 Timo Schulz <[email protected]> |
287 |
|
|
288 |
|
* wptW32API.cpp (set_clip_text): Change code so it also |
289 |
|
works again with non-XP systems. |
290 |
|
|
291 |
|
2006-04-02 Timo Schulz <[email protected]> |
292 |
|
|
293 |
|
* wptKeyserver.cpp: decrease general threshold for timeout. |
294 |
|
* wptKeyEditDlgs.cpp (do_editkey_clean): New. |
295 |
|
|
296 |
|
2006-04-01 Timo Schulz <[email protected]> |
297 |
|
|
298 |
|
* wptFileVerifyDlg.cpp (file_verify_use_event): Removed. |
299 |
|
* wptFileManager.cpp (restore_original_name): New. |
300 |
|
(fm_decrypt): Restore original file name from literal |
301 |
|
packet if possible. |
302 |
|
|
303 |
|
2006-03-31 Timo Schulz <[email protected]> |
304 |
|
|
305 |
|
* wptCommonDlg.cpp (nls_load_langlist): New. |
306 |
|
(nsl_set_language): New. |
307 |
|
(nls_dlg_proc): New. |
308 |
|
(select_language): New. Allow user to select the language. |
309 |
|
* wptNLS.c (get_gettext_langid): Updated available languages. |
310 |
|
* WinPT.cpp (WinMain): Allow to select the languag on first |
311 |
|
start in non-installer environments. |
312 |
|
* wptVerifyList.cpp (verlist_build): Simplified. |
313 |
|
(verlist_add_sig_log): Likewise. |
314 |
|
* wptListview.cpp (listview_set_column_width, |
315 |
|
listview_get_selected_item): New. |
316 |
|
* wptKeyManager.cpp (gpg_clip_export): Merged into.. |
317 |
|
(km_clip_export): ..this function. |
318 |
|
|
319 |
|
2006-03-30 Timo Schulz <[email protected]> |
320 |
|
|
321 |
|
* wptW32API.cpp (insert_menu_item): New. |
322 |
|
* wptSigTreeDlg.cpp (create_popup): Use it. |
323 |
|
(sigtree_dlg_proc): Only show the name of the owner in the title. |
324 |
|
* wptMainProc.cpp (init_common_controls): Initialize all |
325 |
|
common controls here. |
326 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Drop static |
327 |
|
keyserver menu concept. Add all keyservers dynamically. |
328 |
|
|
329 |
|
2006-03-29 Timo Schulz <[email protected]> |
330 |
|
|
331 |
|
* wptKeyManager.cpp (km_refresh_one_key): Fix problem |
332 |
|
with preferred keyserver. |
333 |
|
* wptCommonDlg.cpp (check_URL): Allow non-http URL. |
334 |
|
* wptKeyEditDlgs.cpp (subkey_subclass_proc, |
335 |
|
uid_subclass_proc): Disable shortcuts for non keypairs. |
336 |
|
* wptMainProc.cpp (winpt_main_proc): No user interaction |
337 |
|
on automatic shutdown. Thanks to Werner. |
338 |
|
* wptGPGUtil.cpp (xcalloc): New. |
339 |
|
(gpg_rebuild_cache): Use --batch. |
340 |
|
|
341 |
|
2006-03-26 Timo Schulz <[email protected]> |
342 |
|
|
343 |
|
* wptSigTreeDlg.cpp (sigtree_load): Always use UTF8. |
344 |
|
* wptMainProc.cpp (winpt_main_proc): Reload key cache |
345 |
|
when the GPG settings were changed. |
346 |
|
* wptKeygenDlg.cpp (keygen_wizard_dlg_proc, |
347 |
|
keygen_dlg_proc): Improved check for the email address. |
348 |
|
* wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Likewise. |
349 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Modified design. |
350 |
|
|
351 |
|
2006-03-22 Timo Schulz <[email protected]> |
352 |
|
|
353 |
|
* wptClipSignDlg.cpp (on_init_dialog): New. |
354 |
|
Check that there is at least one useable signing key. |
355 |
|
* wptSigTreeDlg.cpp (sigtree_load): Correct UTF8 handling. |
356 |
|
* wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Show error |
357 |
|
if needed. |
358 |
|
|
359 |
2006-03-21 Timo Schulz <[email protected]> |
2006-03-21 Timo Schulz <[email protected]> |
360 |
|
|
361 |
* wptUTF8.cpp (native_to_utf8): Use directly W32 API. |
* wptUTF8.cpp (native_to_utf8): Use directly W32 API. |