/[winpt]/trunk/Src/ChangeLog
ViewVC logotype

Diff of /trunk/Src/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 67 by werner, Fri Nov 4 18:19:07 2005 UTC revision 297 by twoaday, Sat Mar 17 22:13:40 2007 UTC
# Line 1  Line 1 
1    2007-03-17  Timo Schulz  <[email protected]>
2    
3            * wptErrors.cpp (debug_end): Reset FP pointer.
4            (printf_box): Fix buffer calculation.
5            * wptOwnertrustDlg.cpp (gpg_import_ownertrust): Actually
6            return the error.
7    
8    2007-03-13  Timo Schulz  <[email protected]>
9    
10            * wptGPG.cpp (gpg_check_file_permissions): New.
11            (my_access): Renamed to..
12            (check_file_access): ..this.
13    
14    2007-03-12  Timo Schulz  <[email protected]>
15            
16            * wptVerifyList.cpp (extract_filename): Simplified.
17            * wptKeyserverSearchDlg.cpp (fetch_keys): Avoid possible memory
18            leak for some error cases.
19    
20    2007-03-10  Timo Schulz  <[email protected]>
21    
22            * wptKeyserver.cpp (kserver_recvkey): Use StringBuffer to
23            avoid possible allocation problems.
24            (kserver_seararch_begin): Likewise.
25            (parse_pub_record): Double check fpr to key ID problem.
26            Noted by Mike Culbertson.
27    
28    2007-03-09  Timo Schulz  <[email protected]>
29    
30            * wptClipImportDlg.cpp (print_import_status): Use the fingerprint
31            instead of the key ID to avoid problems with v3 keys.
32            * wptClipDecryptDlg.cpp (verify_get_clip_info): Use key ID
33            in case of v3 keys. Noted by Raphael
34            (verify_show_signature_state): Likewise.
35            * wptVerifyList.cpp (verlist_add_sig_log): Likewise.
36            (verlist_add_sig): Likewise.
37              
38    2006-12-30  Timo Schulz  <[email protected]>
39    
40            * StringBuffer.cpp (StringBuffer): New.
41            * wptPassphraseDlg.cpp (set_passphrase_hint): Replace error prone
42            sprintf code with the new string buffer implementation.
43            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
44    
45    2006-12-28  Timo Schulz  <[email protected]>
46    
47            * wptKeylist.cpp (get_key_desc): Avoid possible overflow.
48            * wptW32API.cpp (get_locale_time): New.
49            (get_locale_timedate): New.
50            * wptVerifyList.cpp (strtimestamp): Deleted. Changed all
51            callers to get_locale_timedate.
52            * wptMainProc.cpp (winpt_main_proc): Cleanup gettext resources.
53            * wptNLS.cpp (gettext_free_current_domain): New.
54            (gettext_set_file): Removed all '/' code.
55            * wptPassphraseCb.cpp (passphrase_callback_proc): Make sprintf
56            code more robust.
57    
58    2006-12-21  Timo Schulz  <[email protected]>
59    
60            * wptCryptDisk.cpp, wptCryptDiskSrv.cpp: Deleted.
61            The Code will be possibly used in a separate project.
62    
63    2006-12-05  Timo Schulz  <[email protected]>
64    
65            * wptClipDecryptDlg.cpp (verify_get_clip_info): If
66            there is no pubkey available, issue a hint and not BUG.
67            
68    2006-12-02  Timo Schulz  <[email protected]>
69    
70            * WinPT-en.rc: Remove wipe free space menu item.
71            * wptRegistry.cpp (get_reg_winpt_prefs): Remove wipemode.
72            * wptFileManageRDlg.cpp (file_secdel_confirm_dlg_proc):
73            Allow to set the passes here.
74            * wptFileManager.cpp (fm_encrypt): change all callers
75            for the wipe functions.
76            * wptListview.cpp (listview_sort_items): Extract code
77            to change the column image.
78            * wptKeylist.cpp (key_get_image_id): New.
79            (keylist_build): Change return type and all callers.
80            * wptGPG.cpp (gnupg_load_config): Kludge to detect
81            the 'textmode' option.
82            * wptPassCache.cpp (wipe_data): replaced with wipememory().    
83    
84    2006-11-12  Timo Schulz  <[email protected]>
85    
86            * wptGPG.cpp (check_gnupg_options): Fix sizeof != DIM problem.
87            * wptGPGOptDlg.cpp (gpg_opt_dlg_proc): Better checks to
88            avoid invalid gpg.conf entries.
89            Thanks to Ralf Latz.
90            
91    2006-11-04  Timo Schulz  <[email protected]>
92    
93            * wptW32API.cpp (set_clip_text2): Make sure enough memory
94            will be allocated.
95            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Delete list
96            view entries for none existing files.
97            * wptKeySignDlg.cpp (keysign_dlg_proc): Simplified.
98            * wptClipboard.cpp (gpg_data_change_version): Be more liberal.
99            * wptKeyserver.cpp (parse_pub_record): Convert FPR entries
100            into KEYID entries.
101            * wptGPG.cpp (gnupg_backup_keyrings): Release memory in case
102            of errors.
103            (get_backup_name): Use constant formant spec.
104            (extract_keyid): Simplified.
105            * wptKeyserver.cpp (kserver_connect): Return proxy error if
106            approriate.
107            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Correct memory
108            handling to avoid possible segfaults.
109            (fetch_key_from_keyserver): Real error handling.
110            * wptFileManager.cpp (fm_gpg_verify): New.
111            (fm_verify): Support to fetch key here to avoid problems later.
112            * wptFileCBS.cpp (file_data_rewind): New.
113            
114            
115    2006-10-27  Timo Schulz  <[email protected]>
116    
117            * wptGPG.cpp (get_backup_name): Make sure enough memory
118            will be allocated.
119            (gnupg_backup_keyrings): Release memory in case of errors.
120            
121    2006-10-21  Timo Schulz  <[email protected]>
122    
123            * wptKeyserver.cpp (get_reg_proxy_prefs): Load the protocol
124            and store it.
125            * wptKeyCache.cpp (parse_attr_data): Avoid zombie temp files.
126            
127    2006-10-04  Timo Schulz  <[email protected]>
128    
129            * wptFileManager.cpp (fm_check_armor_type): Remove space in
130            search pattern string.
131            (fm_check_for_entry): Case insentensive search.
132            (fm_add_dir_files): Use W32 API directly.
133            * wptVerifyList.cpp (verlist_add_sig_log): Use proper icon.
134            * wptGPGUtil.cpp (get_gpg_version): Cleanups.
135            
136    2006-08-30  Timo Schulz  <[email protected]>
137    
138            * wptRegistry.cpp (get_reg_entry): Do not use static buffers.
139            * wptKeyserverDlg.cpp (add_pattern_to_combox): New.
140            (save_pattern_from_combox): New.
141            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Solve icon problem.
142            * wptGPGMEWrapper.c (importFromBuffer): New.
143            * WinPT.cpp (check_crypto_engine): Only enable PC/SC when the
144            system really has smart card services enabled.
145            * wptKeyManger.cpp (km_http_import): Stricter error checking.
146            * wptFileManager.cpp (fm_send_file): Use at least MAX_PATH
147            for the file name.
148            
149    2006-08-24  Timo Schulz  <[email protected]>
150    
151            * wptHTTP.cpp (extraHostInfo): Handle case when no doc were given.
152            (get): Better error handling.
153            (head): Likewise.
154            * wptGPGME.cpp (sigsum_to_index): Just map the index without
155            any checks.
156            * wptCommonDlg.cpp (check_URL): Be more strict.
157            
158    2006-08-11  Timo Schulz  <[email protected]>
159    
160            * wptGPGMEWrapper.cpp (importFromFile): New.
161            (importFromClipboard): New.
162            (importGetResult): New.
163            * wptKeyManager.cpp (km_file_import): Use gpgme wrapper.
164            (km_clip_import): Ditto.
165            * wptKeyEdit.cpp (addCardKey): New.
166            * wptKeyEditCB.cpp (cmd_addcardkey_handler): New.
167            * wptCardEdit.cpp (get_str_timestamp): Use locale date format.
168            * wptCardDlg.cpp (card_edit_dlg_proc): Began to localize dialog.
169            * wptKeyCache.cpp (key_divert_to_card): Adjusted for 'addcardkey'.
170            
171    2006-08-10  Timo Schulz  <[email protected]>
172    
173            * wptFileManager.cpp (fm_verify_pasted_detsig): '=' should be
174            '=='.
175            * wptGPGME.cpp (sigsum_to_index): Correctly handle expired
176            keys and signatures.
177            (get_gpg_sigstat): Adjusted code.
178            * wptCardDlg.cpp (card_changepin_dlg_proc): Cleanups.
179            (gpg_card_load): Improved card detection code.
180            * wptFirstRunDlg.cpp (first_run_dlg_proc): Allow to generate
181            a key on a card. Suggested by Achim.
182            * wptUtil.cpp (check_email_address): Add sanity check for
183            the length.
184            * WinPT.cpp (WinMain): Handle cardgen request.
185            
186    2006-08-04  Timo Schulz  <[email protected]>
187    
188            * wptKeysignDlg.cpp (display_keyinfo): Skip revoked user IDs.
189            * wptKeyManagerDlg.cpp (reload_keylist): Use updated ptr.
190            * wptKeyCache.cpp (gpg_keycache_delete_key): Correct handling
191            for the situation that the last key in the cache is deleted.
192            * wptFileManagerDlg.cpp (update_ui_items): Fix file name
193            detection.
194            
195    2006-08-02  Timo Schulz  <[email protected]>
196    
197            * wptClipDecryptDlg.cpp (verify_get_clip_info): Fix problem
198            with static data.
199            (clip_decrypt_dlg_proc): Prefix keyid with 0x.
200            (get_key_userid): Fix problem when key was not found.
201            * wptClipVerifyDlg.cpp (fetch_key_from_keyserver): Correct
202            fingerprint to short keyid conversion.
203            * wptVerifyList.cpp (verlist_set_additional_info): Handle bad
204            sigs.
205            * wptKeyManagerDlg.cpp (update_status_bar): Faster update code.
206            
207            
208    2006-08-01  Timo Schulz  <[email protected]>
209    
210            * wptGPG.cpp (get_last_gnupg_access): Enhanced.
211            (gnupg_display_error): Removed unused code.
212            * wptPassphraseCB.cpp (parse_gpg_description): Text output
213            is now more human readable.
214            * wptKeyManager.cpp (km_refresh_from_keyserver): Return an
215            error code in all cases.
216            
217    2006-07-31  Timo Schulz  <[email protected]>
218    
219            * wptMainProc.cpp (clip_gpg_dlg): Merge in the current window
220            handling code.
221            * wptCurrWnd.cpp (wnd_msg_em_set_pos): Reset pos to 0, not 1.
222            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable sorting
223            for list view controls.
224            
225    2006-07-30  Timo Schulz  <[email protected]>
226    
227            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Change menu style.
228            * wptKeySignDlg.cpp (keysign_dlg_proc): List all user IDs.
229            (display_keyinfo): New.
230            * wptKeySigDlg.cpp (init_datepicker_from_time): New.
231            (keysig_dlg_proc): List creation time.
232            * wptKeyManager.cpp (km_send_to_mail_recipient): Fix file
233            handling.
234            
235    2006-07-28  Timo Schulz  <[email protected]>
236    
237            * wptKeyManager.cpp (lv_del_confirmed_keys): New.
238            * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Automatically
239            adjust key size.
240            * wptKeygenDlg.cpp (keygend_dlg_proc): Likewise.
241            
242    2006-07-25  Timo Schulz  <[email protected]>
243    
244            Applied spelling corrections from Anthony Bryan.
245            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Changed design.
246            * wptKeygenDlg.cpp (backup_keyrings): Change default keyring.
247            
248    2006-07-22  Timo Schulz  <[email protected]>
249    
250            * wptMainProc.cpp (elgamal_warn_dlg_proc): Properly handle
251            utf8 encoded user ids.
252            (winpt_main_proc): Cleanups.
253            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Allow to copy
254            email address to the clipboard.
255            
256    2006-07-15  Timo Schulz  <[email protected]>
257    
258            * WinPT.cpp (WinMain): Compare PTD and WinPT version to avoid
259            any compatibility problems.
260            * wptW32API.cpp (get_file_version): Cleanups.
261            
262    2006-07-10  Timo Schulz  <[email protected]>
263    
264            * wptUtil.cpp (check_file_name): New.
265            * wptKeyRevokeDlg.cpp (mk_cert_name): Avoid illegal chars.
266            (key_revoke_dlg_proc): Likewise.
267            * wptMDSumDlg.cpp (mdsum_dlg_proc): Corrected file handling.
268            * wptImportList.cpp (implist_load): Likewise.
269            * wptFileSaveDlg.cpp (file_save_dlg_proc): Likewise.
270            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Hide dialog item.
271            
272    2006-07-05  Timo Schulz  <[email protected]>
273    
274            * wptMainProc.cpp (winpt_main_proc): Change menu texts.
275            * wptClipEditDlg.cpp (clip_edit_dlg_proc): More lightweight
276            with a menu instead of dozen of buttons.
277            
278    2006-07-01  Timo Schulz  <[email protected]>
279    
280            * wptFileManager.cpp (fm_sort): Rewritten.
281            (fm_build): Modify param type. Change all callers.
282            (fm_cmp_cb): Adjusted for the new code.
283            * wptMDSumDlg.cpp (mdsum_dlg_proc): Minor changes and model
284            for the list view.
285            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use info
286            context and model for the list view.
287            (update_status_bar): Fix calculation of the size of the
288            selected files.
289            * wptProgressDlg.cpp (wait_for_progress_cb): Changed semantic
290            and return type.
291            
292    2006-06-28  Timo Schulz  <[email protected]>
293    
294            * wptGPGPrefsDlg.cpp (load_gpg4win_values): Fix control logic
295            and memory leak.
296            * wptListView.cpp (listview_find_substr): New.
297            (listview_sort_items): Use symbolic ids.
298            * wptKeyManager.cpp (km_find_key): Allow substring search.
299            
300    2006-06-27  Timo Schulz  <[email protected]>
301    
302            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Also call viewer
303            when no sig has been found (if requested).
304            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Use a button to
305            quote instead of the check box. Cleanups.
306            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Correct
307            sorting problem and wrong icon display.
308            * wptListView.cpp (listview_sort_items): Correct code for
309            checkbox based lists.
310            * wptKeylist.cpp (keylist_build): Add sorting icons.
311            * wptKeyEditDlgs.cpp (create_header_tooltip): New.
312            
313    2006-06-24  Timo Schulz  <[email protected]>
314    
315            * wptMainProc.cpp (winpt_main_proc): Localize missing string.
316            * wptKeyEditDlgs.cpp (do_add_new_subkey): Better fpr to keyid
317            conversion.
318            (subkey_list_init): Simplified.
319            
320    2006-06-22  Timo Schulz  <[email protected]>
321    
322            * WinPT-en.rc: Include versioninfo.rc to generate
323            the version info automatically.
324            
325    2006-06-19  Timo Schulz  <[email protected]>
326    
327            * wptClipDecryptDlg.cpp (verify_get_clip_info): Improved
328            format of the sig info text.
329            * wptKeyserver.cpp (check_hkp_response): Invert error logic.
330            * wptKeyserverDlg.cpp (keyserver_recv_key): Corrected error
331            handling.
332            * wptPassphraseDlg.cpp (request_key_passphrase): Return
333            utf8 encoded passphrase.
334            
335    2006-06-18  Timo Schulz  <[email protected]>
336    
337            * wptKeygenDlg.cpp (keygen_dlg_proc): Fix typo.
338            * wptClipDecryptDlg.cpp (verify_get_clip_info): New.
339            (verify_get_key_ownertrust): New.
340            (clip_decrypt_dlg_proc): New argument. Change all callers.
341            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle the case
342            that the dialog was called with a param.
343            * wptMainProc.cpp (winpt_main_proc): Wait for thread in
344            case of dbl-click.
345            
346    2006-06-16  Timo Schulz  <[email protected]>
347    
348            * wptProgressDlg.cpp (wait_for_progress_cb): New.
349            * wptMainProc.cpp (winpt_main_proc): Use this function
350            to disallow to access the cache during synchronisation.
351            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
352            * wptKeyserver.cpp (check_hkp_response): Improved text
353            extraction.
354            (parse_keyserver_error): New.
355            * wptPassphraseDlg.cpp (request_passphrase): Support utf8
356            encoding.
357            * wptKeyEditDlgs.cpp (keyedit_change_passwd): Warn if passhrase
358            needs to be utf8 encoded but still allow it.
359            * wptPassphraseCBDlg.cpp (passphrase_callback_proc): Utf8 support.
360            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
361            * wptKeyRevokeDlg.cpp (keyrevoke_dlg_proc): Likewise.
362            
363    2006-06-15  Timo Schulz  <[email protected]>
364    
365            * wptVerList.cpp (verlist_build): Use icons.
366            (verlist_add_sig): Set image number according to sig state.
367            
368    2006-06-14  Timo Schulz  <[email protected]>
369    
370            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Translate
371            authors string here. Noted by Eduardo.
372            * wptSymEnc.cpp (gpg_clip_sym_encrypt): Check all return codes.
373            
374    2006-06-09  Timo Schulz  <[email protected]>
375    
376            * wptKeyEditDlgs.cpp (do_add_new_subkey): Properly handle
377            RSA_E and RSA_S.
378            * wptFileManager.cpp (fm_sym_encrypt): Better dialog title.
379            
380    2006-06-08  Timo Schulz  <[email protected]>
381    
382            * wptKeyserver.cpp (parse_keyserver_url): Handle special case.
383            * wptKeySignDlg.cpp (keysign_dlg_proc): Show photo if possible.
384            (showphoto_dlg_proc): New.
385            * wptKeyManagerDlg.cpp (restore_window_size): New.
386            (keymanager_dlg_proc): Restore original window size on startup.
387            (copy_key_info): Allow to copy multiple key items.
388            
389    2006-06-06  Timo Schulz  <[email protected]>
390    
391            * wptKeyEditCB.cpp (cmd_sign_handler): Return 0 by default
392            if no expire date were given.
393            
394    2006-06-05  Timo Schulz  <[email protected]>
395    
396            * wptPassphraseDlg.cpp (request_passphrase): Release mem
397            in case of errors.
398            (request_key_passphrase): New.
399            (set_passphrase_hint): New.
400            * wptKeyEditDlgs.cpp (do_editkey_sign_userid): Show passphrase
401            hint. Suggested by vedaal.
402            
403    2006-06-03  Timo Schulz  <[email protected]>
404    
405            * wptPINDlg.cpp (pin_dlg_proc): Remove static var.
406            * wptClipEncryptDlg.cpp (show_invalid_recipients): Handle
407            the case that 'encrypt-to' points to a non-existing item.
408            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Do not close
409            the dialog if an error occurred.
410            * wptKeygenDlg.cpp (keygn_dlg_proc): Check expirate date.
411            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Release mem
412            in case of errors.
413            * wptKeyserverDlg.cpp (check_pattern): Improved code.
414            (keyserver_dlg_proc): All comparisons are case insentensive.
415            * wptKeyserver.cpp (parse_uid_record): utf8 decode user id.
416            
417    2006-06-02  Timo Schulz  <[email protected]>
418    
419            * wptKeygenDlg.cpp (keygen_dlg_proc): Forgot to apply patch.
420            
421    2006-06-01  Timo Schulz  <[email protected]>
422    
423            * wptKeyserver.cpp (check_URL): change semantic.
424            (skip_type_prefix): Use check_URL().
425            * wptGPG.cpp (gnupg_backup_keyrings): New argument to
426            include secret keyring backups. Change all callers.
427            * wptRegistry.cpp (get_reg_winpt_prefs): Support new option.
428            (set_reg_winpt_prefs): Likewise.
429            * wptPreferencesDlg.cpp (on_init_dialog): Adjust the code.
430            
431    2006-05-29  Timo Schulz  <[email protected]>
432    
433            * wptKeyserver.cpp (keyserver_set_default): Also set default port.
434    
435    2006-05-27  Timo Schulz  <[email protected]>
436    
437            * wptKeyEditDlgs.cpp (keyedit_change_passwd): Handle empty
438            passphrase requests.
439            * wptClipDecryptDlg.cpp (verify_show_signature_state): Modified
440            for global use.
441            * wptFileManager.cpp (fm_decrypt): Use it here.
442            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Simplified.
443            
444    2006-05-25  Timo Schulz  <[email protected]>
445    
446            * wptGPGUtil.cpp (gpg_rebuild_cache): Return error code.
447            * wptGPGME.cpp (winpt_get_seckey): Fix off-by-one bug.
448            * wptVerifyList.cpp (verlist_build): New argument type.
449            Change all callers.
450            (verlist_set_info_control): New.
451            (verlist_set_additional_info): New.
452            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Adjust code.
453            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
454            * wptFileCBS.cpp (read_cb, write_cb): Add logging.
455            
456    2006-05-23  Timo Schulz  <[email protected]>
457    
458            * wptKeyEditDlgs.cpp (do_add_new_userid): Fix re-introduced
459            problem.
460            (keyedit_main_dlg_proc): Popup menu for the user ID list
461            with common commands.
462            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Automatically
463            disable search for ldap servers.
464            Use subkeys.pgp.net by default when no server was selected.
465    
466    2006-05-22  Timo Schulz  <[email protected]>
467    
468            * wptRegistry.cpp (set_reg_winpt_prefs, get_reg_winpt_prefs):
469            Support for the new 'default ext' value.
470            * wptPreferencesDlg.cpp (on_init_dialog): Likewise.
471            (prefs_dlg_proc): Likewise.
472            * wptFileManager.cpp (file_get_extension): Likewise.
473            (get_output_file): Likewise.
474            (fm_export): Likewise.
475            
476    2006-05-20  Timo Schulz  <[email protected]>
477    
478            * wptKeyPropsDlg.cpp (keyprops_load_photo): avoid expensive
479            process call when no photo is available.
480            (keyprops_dlg_proc): avoid static data.
481            * wptFileManager.cpp (fm_add_sig_stat): Free memory in case
482            of on demand key requests.
483            (show_verify_result): Likewise.
484            (secret_key_available): Likewise.
485            (fm_decrypt, fm_sign): Handle the new on demand key request
486            mode and free all memory.
487            
488    2006-05-15  Timo Schulz  <[email protected]>
489    
490            * wptKeyEditDlgs.cpp (userid_list_init): Forgot to
491            apply patch. Thanks to vedaal.
492            
493    2006-05-14  Timo Schulz  <[email protected]>
494    
495            * wptKeyCache.cpp (gpg_keycache_update_attr): Parse
496            preferred keyserver URL.
497            * wptHTTP.cpp (extractHostInfo): Fix segv.
498            * wptGPGUtil.cpp (gpg_find_key_subpacket): Ignore default
499            gpg.conf.
500            * wptKeyserverSearchDlg.cpp (search_hkp_keys): Do not
501            assume an existing user id.
502            * wptPassphraseCB.cpp (passphrase_cb): Automatic cancel
503            if no passphrase is available.
504    
505    2006-05-13  Timo Schulz  <[email protected]>
506    
507            * wpMainProc.cpp (secret_key_available): Move it...
508            * wptGPGME.cpp: ..to this file.
509            (check_ultimate_trusted_key): Handle the case there
510            is no secret key available.
511            * wptFileManagerDlg.cpp (update_ui_items): Improved.
512            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Deactive
513            some functions when no secret key is available.
514            * wptKeyserverSearchDlg.cpp (search_hkp_keys): Adjust
515            code and also display pubkey algorithm.
516            * wptKeyserver.cpp (safe_alloc): New.
517            (count_keys_in_response): New.
518            (parse_pub_record): New.
519            (parse_uid_record): New.
520            (kserver_release_key): New.
521            (kserver_search_begin, kserver_search_next_key):
522            Adjust for the machine readable output. Removed old code.
523            (parse_keyserver_url): New.
524            * wptUtil.cpp (substr): New.
525            * wptKeyManager.cpp (km_refresh_one_key): Properly
526            parse the keyserver URL.
527            
528    2006-05-11  Timo Schulz  <[email protected]>
529    
530            * wptPassphraseCB.cpp (release_gpg_recipients): New.
531            (release_gpg_recipients): Use it here.
532            * wptFileManager.cpp (fm_decrypt): List all recipients.
533            Thanks to vedaal.
534            * wptGPG.cpp (extract_keyid): New.
535            (get_gnupg_default_key): Use it here.
536            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Allow to verify
537            one-pass-sigs again.
538            
539    2006-05-09  Timo Schulz  <[email protected]>
540    
541            * wptKeyRevokersDlg.cpp (revokelist_build): Store key ptr.
542            * wptClipSignDlg.cpp (gpg_clip_sign): Improve error handling.
543            * wptKeysigDlg.cpp (sigprops_dlg_proc): Correct expire date.
544            
545    2006-05-07  Timo Schulz  <[email protected]>
546    
547            * wptKeyserverDlg.cpp (hkp_err_box): Improved.
548            * wptKeyserver.cpp (wsock_strerror): Likewise.
549            * wptKeygenCBDlg.cpp (keygen_cb_dlg_destroy): New param.
550            Change all callers.
551            * wptKeysigDlg.cpp (do_load_keyprops): Correct key update
552            problem.
553            
554    2006-05-06  Timo Schulz  <[email protected]>
555    
556            * wptKeyManagerDlg.cpp (reload_keycache): Use pre-defined
557            sorting order if available.
558            * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use 0x prefix
559            for the key ID.
560            (get_pref_cipher): Differ between the AES algorithm IDs.
561            (key_is_valid): New.
562            * wptKeyserverDlg.cpp (check_pattern): Simplified.
563            
564    2006-05-03  Timo Schulz  <[email protected]>
565    
566            * wptKeyCache.cpp (keycache_prepare2): Fix possible segv.
567            Thanks to Mathias.
568            
569    2006-05-02  Timo Schulz  <[email protected]>
570    
571            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use a
572            caption for the radio button group.
573            * wptKeyserverDlg.cpp (keyserver_recv_key): Use new code.
574            * wptKeyserver.cpp (kserver_recvkey, finger_recvkey,
575            ldap_recvkey): Avoid fixed buffers.
576            (do_spawn_ldap_helper): New.
577            (ldap_recvkey): Factor out code into helper function.
578            * wptPassphraseCBDlg.cpp (passphrase_callback_proc):
579            Increase width of the list box to make sure even large
580            user IDs will be completly displayed.
581            
582    2006-05-01  Timo Schulz  <[email protected]>
583    
584            * WinPT.cpp (WinMain): Check if the user has admin privileges.
585            * wptW32API.cpp (user_is_admin): New.
586            * wptKeysigDlg.cpp (sigprops_dlg_proc): Cosmetical changes.
587            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use timer
588            to re-activate the window again.
589            * wptKeylist.cpp (get_key_trust2): Differ between "full"
590            and "ultimate".
591            * wptKeyCache.cpp (keycache_prepare2): Primary user-id
592            has now highest priority.
593            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use new utf8
594            system.
595            
596    2006-04-30  Timo Schulz  <[email protected]>
597    
598            * wptKeyCache.cpp (gpg_keycache_release): Release revoker
599            list if needed.
600            * wptKeyRevokersDlg.cpp (key_get_revokers): New.
601            (key_revokers_dlg_proc): Expect winpt_key_t. Change all callers.
602            * wptKeyEditDlgs.cpp (check_desig_rev): New.
603            (do_editkey_minimize): New.
604            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Support to
605            generate a revoc cert as a desig revoker.
606            
607    2006-04-29  Timo Schulz  <[email protected]>
608    
609            * wptVerifyList.cpp (verlist_build): Adjusted code for new
610            list view interface.
611            * wptSigList.cpp (siglist_build): Likewise.
612            * wptKeyEditDlgs.cpp (showpref_dlg_proc): Correct code
613            to display the preferences of the selected UID. Thanks to Mathias.
614            * wptKeyCacheDlg.cpp (keycache_dlg_proc): Return 1 in case
615            of an error.
616            * wptKeyCache.cpp (gpg_keycache_update_key): Always update
617            the utf8 decoded uid list.
618            * wptImportList.cpp (decode_userid): Do utf8 decoding here.
619            * wptListView.cpp (listview_new): New param for HWND handle.
620            Change all callers.
621            * wptFileManager.cpp (fm_add_sig_stat): Use utf8 decoding.
622            * wptGPGUtil.cpp (gpg_revoke_cert): Support --desig-revoker.
623            * wptClipVerifyDlg.cpp (wptClipVerifyDlg.cpp): Correct
624            keyid extraction.
625            
626    2006-04-28  Timo Schulz  <[email protected]>
627    
628            * wptMAPI.cpp (mapi_send_pubkey): Use new key struct.
629            * wptKeysigDlg.cpp (sigprops_dlg_proc): Prepare dialog
630            for handling policy URLs.
631            * wptKeyManagerDlg.cpp (save_column_info, restore_column_info):
632            New option KMSortBy.
633            * wptKeylist.cpp (get_key_algo): Lower priority for revoked keys.
634            * wptKeyEdit.cpp (minimizeKey): New.
635            * wptKeyCache.cpp (gpg_keycache_update_key): Reload utf8 uid list.
636            
637    2006-04-27  Timo Schulz  <[email protected]>
638    
639            * wptKeyManager.cpp (km_get_key_ptr): New.
640            * wptListview.cpp (listview_get_item_text): Drop utf8 support.
641            * wptKeyCache.cpp (keycache_decode_uids): New.
642            (free_native_uids): New.
643            * wptKeyEdit.cpp (uid_inf_colon_handler): Do utf8 decodig here.
644            
645    2006-04-26  Timo Schulz  <[email protected]>
646    
647            * wptKeylist.cpp (get_keyid_from_fpr): New.
648            * wptDecryptClipDlg.cpp (clip_decrypt_dlg): Use it here.
649            * wptVerifyList.cpp (verlist_add_sig): Likewise.
650            
651    2006-04-25  Timo Schulz  <[email protected]>
652    
653            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle IDCANCEL.
654            * wptMDSumDlg.cpp (hash_selected_files): New.
655            (mdsum_dlg_proc): Cleanups.
656            * wptKeysignDlg.cpp (keysign_dlg_proc): Fix segv.
657            
658    2006-04-23  Timo Schulz  <[email protected]>
659    
660            * wptW32API.cpp (SetDlgItemText_utf8): New.
661            (SetWindowText_utf8): New.
662            (GetDlgItemText_utf8): New.
663            * wptListView.cpp (listview_add_sub_item): Internal
664            utf8 support.
665            
666    2006-04-22  Timo Schulz  <[email protected]>
667    
668            * wptKeyEditDlgs.cpp (addrevoker_dlg_proc): Encode
669            revoker name in UTF8.
670            * wptKeysigDlg.cpp (keysig_dlg_proc): Fix utf8 problem
671            with the window title.
672            
673    2006-04-20  Timo Schulz  <[email protected]>
674    
675            * wptUTF8.cpp (native_to_utf8): Use c++ alloc.
676            * wptKeygenDlg.cpp (keygen_dlg_proc): Do not mix c and
677            c++ memory allocation.
678            * wptFileManager.cpp (show_verify_result): Show PKA status
679            if possible.
680            * wptClipVerifyDlg.cpp (get_pka_status): New.
681            (clip_verify_dlg_proc): Show PKA status if possible.
682            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle IDCANCEL
683            to use ESC to quit the dialog.
684            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Also
685            encode the comment in UTF8. Thanks to Werner and Jan.
686            
687    2006-04-16  Timo Schulz  <[email protected]>
688    
689            * wptHTTP.cpp (getErrorCode): New.
690            (connect): Store winsock error code.
691            * wptGPGMEData.cpp (is_armor_header): New.
692            * wptGPG.cpp (check_gnupg_engine): Free context.
693            (gnupg_backup_keyrings): Do not use global vars.
694            * wptGPGUtil.cpp (gpg_export_seckey): Export in ascii format.
695            
696    2006-04-15  Timo Schulz  <[email protected]>
697    
698            * wptKeyManager.cpp (km_get_key): New.
699            (km_key_show_revoc_info): New.
700            * wptKeyRevokeDlg.cpp (key_revoke_dlg): Cleanups.
701            (on_init_dialog): New.
702            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Factour
703            out some common code and use km_get_key() instead.
704            * wptKeyEditDlgs.cpp (do_init_keylist): Change second
705            param type. Change all callers.
706            * wptKeyEdit.cpp (addNotation): New.
707            * wptKeyEditCB.cpp (editkey_command_handler): Remove 'step'
708            param everywhere. Change all callers.
709            
710    2006-04-09  Timo Schulz  <[email protected]>
711    
712            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Only return true
713            if the homedir value was changed.
714            * wptGPG.cpp (default_key_from_cache): Only return secret key
715            if public part is available.
716            (set_gnupg_default_key): Fix NULL problem.
717            * wptKeyEditDlgs.cpp (do_editkey_clean): Set update flag.
718            * wptFileCBS.cpp (write_cb, read_cb): Better error handling.
719            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle
720            'always-on-top' correctly.
721            * wptKeylist.cpp (keylist_get_recipients): Allocate enough
722            mem to hold all possible keys.
723            (keylist_enum_keys): Likewise.
724            
725    2006-04-08  Timo Schulz  <[email protected]>
726    
727            * wptKeylist.cpp (keylist_get_recipients): Always use utf8 output.
728            * wptKeyserver.cpp (kserver_connect): Fixed proxy support.
729            * wptKeyserverSearchDlg.cpp (fetch_keys): New.
730            * WinPT.cpp (WinMain): if the default key was not found, reset
731            the gpg.conf entry.
732            * wptFileManager.cpp (fm_encrypt_into_zip): Use correct output
733            file name.
734            (show_verify_result): Always use utf8 output.
735            (get_output_file): Case in-sentensive comparison.
736            (fm_assume_onepass_sig): Fixed temp file handling.
737            * wptClipEncryptDlg.cpp (show_invalid_recipients): Fix utf8
738            output.
739            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix possible segv.
740            
741    2006-04-07  Timo Schulz  <[email protected]>
742    
743            * wptW32API.cpp (set_clip_text): Change code so it also
744            works again with non-XP systems.
745            
746    2006-04-02  Timo Schulz  <[email protected]>
747    
748            * wptKeyserver.cpp: decrease general threshold for timeout.
749            * wptKeyEditDlgs.cpp (do_editkey_clean): New.
750            
751    2006-04-01  Timo Schulz  <[email protected]>
752    
753            * wptFileVerifyDlg.cpp (file_verify_use_event): Removed.
754            * wptFileManager.cpp (restore_original_name): New.
755            (fm_decrypt): Restore original file name from literal
756            packet if possible.
757            
758    2006-03-31  Timo Schulz  <[email protected]>
759    
760            * wptCommonDlg.cpp (nls_load_langlist): New.
761            (nsl_set_language): New.
762            (nls_dlg_proc): New.
763            (select_language): New. Allow user to select the language.
764            * wptNLS.c (get_gettext_langid): Updated available languages.
765            * WinPT.cpp (WinMain): Allow to select the languag on first
766            start in non-installer environments.
767            * wptVerifyList.cpp (verlist_build): Simplified.
768            (verlist_add_sig_log): Likewise.
769            * wptListview.cpp (listview_set_column_width,
770            listview_get_selected_item): New.
771            * wptKeyManager.cpp (gpg_clip_export): Merged into..
772            (km_clip_export): ..this function.
773            
774    2006-03-30  Timo Schulz  <[email protected]>
775    
776            * wptW32API.cpp (insert_menu_item): New.
777            * wptSigTreeDlg.cpp (create_popup): Use it.
778            (sigtree_dlg_proc): Only show the name of the owner in the title.
779            * wptMainProc.cpp (init_common_controls): Initialize all
780            common controls here.
781            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Drop static
782            keyserver menu concept. Add all keyservers dynamically.
783            
784    2006-03-29  Timo Schulz  <[email protected]>
785    
786            * wptKeyManager.cpp (km_refresh_one_key): Fix problem
787            with preferred keyserver.
788            * wptCommonDlg.cpp (check_URL): Allow non-http URL.
789            * wptKeyEditDlgs.cpp (subkey_subclass_proc,
790            uid_subclass_proc): Disable shortcuts for non keypairs.
791            * wptMainProc.cpp (winpt_main_proc): No user interaction
792            on automatic shutdown. Thanks to Werner.
793            * wptGPGUtil.cpp (xcalloc): New.
794            (gpg_rebuild_cache): Use --batch.
795            
796    2006-03-26  Timo Schulz  <[email protected]>
797    
798            * wptSigTreeDlg.cpp (sigtree_load): Always use UTF8.
799            * wptMainProc.cpp (winpt_main_proc): Reload key cache
800            when the GPG settings were changed.
801            * wptKeygenDlg.cpp (keygen_wizard_dlg_proc,
802            keygen_dlg_proc): Improved check for the email address.
803            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Likewise.
804            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Modified design.
805            
806    2006-03-22  Timo Schulz  <[email protected]>
807    
808            * wptClipSignDlg.cpp (on_init_dialog): New.
809            Check that there is at least one useable signing key.
810            * wptSigTreeDlg.cpp (sigtree_load): Correct UTF8 handling.
811            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Show error
812            if needed.
813            
814    2006-03-21  Timo Schulz  <[email protected]>
815    
816            * wptUTF8.cpp (native_to_utf8): Use directly W32 API.
817            (utf8_to_native): Likewise. Remove cp850 conversion.
818            * wptKeyEditDlgs.cpp (do_find_userid): Correct UTF8 handling.
819            * wptKeyManager.cpp (km_delete_keys): Do not reset 'with_seckey'
820            flag.
821            
822    2006-03-20  Timo Schulz  <[email protected]>
823    
824            * wptUTF8.cpp (get_native_charset): Removed.
825            (utf8_to_native): Rewritten.
826            * wptKeyEditDlgs.cpp (do_add_new_userid): Correct charset
827            handling.
828            * wptKeygenCBDlg.cpp (keygen_cb): Do proper reset if needed.
829            
830    2006-03-16  Timo Schulz  <[email protected]>
831    
832            * wptMainProc.cpp (winpt_main_proc): Disable all CryptDisk code.
833            * wptCryptDisk.cpp: Disable code.
834            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): Support for
835            NONE proxy protocol.
836            (init_proxy_procotol): Likewise.
837            (read_proxy): Likewise.
838            * wptKeyserverSearchDlg.cpp (on_init_dialog): New.
839            (keyserver_search_dlg_proc): Use it here.
840            * wptKeyserverDlg.cpp (hkp_send_key): Use GPGME wrapper.
841            * wptKeyserver.cpp (kserver_search_end): New.
842            (kserver_search_begin): Be more strict on mem allocation.
843            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix 'redraw'
844            problem.
845            * wptAboutDlgs.cpp (about_dlg_proc): Hide 'Help' button.
846            
847    2006-03-12  Timo Schulz  <[email protected]>
848    
849            * wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'.
850            * wptKeyPropsDlg.cpp (display_key_info): Automatically update
851            sym algorithm preferences if needed.
852            * wptKeysignDlg.cpp (date_is_today): New.
853            (keysign_dlg_proc): Only allow to set cert expire date if
854            the option was found.
855            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set
856            'ask-cert-expire'.
857            
858    2006-03-10  Timo Schulz  <[email protected]>
859    
860            * wptHTTP.c: deleted.
861            * wptHTTP.cpp (wHTTP): Transformed old code into an object.
862            * wptKeyManager.cpp (km_http_import): Use new code.
863            (km_refresh_one_key): Use preferred keyserver if possible.
864            * wptComonDlg.cpp (check_URL): Better conformance checking.
865            * wptKeyEditCB.cpp (cmd_keyserver_handler): By default
866            set keyserver for all userids.
867            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Enable code
868            to set preferred keyserver.
869            * wptKeyCache.cpp (decode_subpacket): New.
870            (gpg_keycache_update_attr): New.
871            * wptGPGUtil.cpp (gpg_find_key_subpacket): New.
872            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Use
873            -1 as an index for all userids.
874            
875    2006-03-07  Timo Schulz  <[email protected]>
876    
877            * WinPT.cpp (set_default_keyserver): New.
878            * wptKeyserver.cpp (kserver_set_socket_timeout): New.
879            (kserver_set_default_keyserver): Initialize default settings
880            if needed.
881            * wptSymEnc.cpp (gpg_encrypt_symmetric): Disallow empty passwords.
882            * wptPassphraseDlg.cpp (request_passphrase): Handle new flag.
883            (passphrase_dlg_proc): Support new safe edit window procedure.
884            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
885            * wptPreferencesDlg.cpp (prefs_dlg_proc): Flush passphrase cache
886            if user disable it.
887            * wptKeylist.cpp (keylist_build): Do not scale images but use
888            original size.
889            * wptListView.cpp (listview_set_image_list): New size params.
890            Change all callers.
891            
892    2006-03-01  Timo Schulz  <[email protected]>
893    
894            * wptW32API.cpp (set_clip_text): Free all memory.
895            
896    2006-02-27  Timo Schulz  <[email protected]>
897    
898            * wptSOCKS.cpp (socks_handshake): New.
899            * wptMainProc.cpp (winpt_main_proc): A dbl-click forces
900            the key manager in teh foreground if possible.
901            * wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys.
902            * wptRegistry.cpp (get_reg_proxy_prefs,
903            set_reg_proxy_prefs): Use directly the proxy context.
904            Changed all callers.
905            * wptProxySettingsDlg.cpp (init_proxy_protocols): New.
906            (keyserver_proxy_dlg_proc): Use directly the proxy context.
907            * wptKeyserver.cpp (kserver_connect): Better proxy support.
908            (kserver_send_request, kserver_recvkey_request): Likewise.
909            * wptKeyserverDlg.cpp (name_from_proto): New.
910            (set_proxy): Adjusted for the new code.
911            
912    2006-02-26  Timo Schulz  <[email protected]>
913    
914            * WinPT.cpp (WinMain): Removed hotkey_modify() code.
915            * wptKeyEditDlgs.cpp (is_idea_protect_algo): Better support
916            v4 keys.
917            * wptKeyserver.cpp (sock_getline): Skip '\r'.
918            (base64_encode): Remove @maxlen param. Changed all callers.
919            (finger_readline): Removed.
920            (finger_recvkey): Use internal functions.
921            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Support a context menu.
922            (show_sigprops): New.
923            (create_popup): New.
924            * wptPreferenceDlg.cpp (prefs_dlg_proc): Cache amount is
925            now in minutes.
926            * wptRegistry.cpp (get_winpt_reg_prefs, set_winpt_reg_prefs):
927            Change code to use hotkeys directly.
928            * wptHotkeys.cpp (hotkeys_enable, hotkey_disable): Likewise.
929            
930    2006-02-24  Timo Schulz  <[email protected]>
931    
932            * wptGPG.cpp (set_gnupg_default_key): Allow to remove entry
933            when parameter is NULL.
934            * wptKeyManager.cpp (check_exist_default_key): New.
935            (km_delete_keys): Check if the default key is still valid,
936            if not delete entry.
937            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Forgot to localize
938            button.
939            
940    2006-02-21  Timo Schulz  <[email protected]>
941    
942            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Minor
943            cleanups.
944            * wptGPGUtil.cpp (file_extract_recipients): New.
945            (clip_extract_recipients): New.
946            (gpg_get_recipients): New.
947            * wptPassphraseCB.cpp (passphrase_callback_proc): Support
948            external recipient listings.
949            
950    2006-02-15  Timo Schulz  <[email protected]>
951    
952            * wptKeysignDlg.cpp (keysign_dlg_proc): Localize new checkbox.
953            * wptFileStatDlg.cpp (get_s2k_algo): New.
954            * wptFileManagerDlg.cpp (update_status_bar): Use human readable
955            formats.
956            
957    2006-02-14  Timo Schulz  <[email protected]>
958    
959            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'.
960            * wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'.
961            * wptFileManager.cpp (fm_sym_encrypt): Set cancel.
962            (fm_parse_files): Handle cancel.
963            
964    2006-02-10  Timo Schulz  <[email protected]>
965    
966            * wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars.
967            * wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t
968            for the dialog param.
969            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list
970            signature dialog by default.
971            * wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly
972            gpgme_key_sig_t as param.
973            (keysig_dlg_proc): Change param for property dialog.
974            * wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids
975            and use icons.
976            (sigtree_dlg_proc): Allow to execute old list dialog to
977            edit the signatures.
978            
979    2006-02-09  Timo Schulz  <[email protected]>
980    
981            * wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode.
982            * wptNLS.c (gettext_localize_dialog): New.
983            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button
984            to avoid to reload the key cache.
985            * wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal'
986            list mode.
987            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
988            * wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog
989            initiation code to this function.
990            (prefs_dlg_proc): Use it here.
991            
992    2006-02-07  Timo Schulz  <[email protected]>
993    
994            * wptKeyEdit.cpp (setNoPassphrase): New.
995            (getValidDays): New.
996            * wptKeysignDlg.cpp (keysign_dlg_proc): Check on init
997            if the key is protected.
998            * wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle
999            keys without a passphrase.
1000            (keyedit_addrevoker_dlg_proc): Likewise.
1001            
1002    2006-02-04  Timo Schulz  <[email protected]>
1003    
1004            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for
1005            at least one ultimately trusted key.
1006            * wptKeyManager.cpp (km_refresh_key_from_keyserver):
1007            Only check inet connection if we refresh all keys.
1008            * wptGPGUtil.cpp (gpg_extract_keys): New.
1009            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode.
1010            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
1011            * wptClipSignDlg.cpp (get_selected_key): New.
1012            (one_key_proc): Use it here.
1013            (count_useable_seckeys): New.
1014            * wptSigTreeDlg.cpp (sigtree_dlg_proc): New.
1015            * wptKeyEditDlgs.cpp (diff_time): Removed.
1016            (w32_mktime): New.
1017            (keyedit_addsubkey_dlg_proc): Use it here.
1018            
1019    2006-02-02  Timo Schulz  <[email protected]>
1020    
1021            * wptW32API.cpp (get_temp_name): New.
1022            * wptKeyserver.cpp (ldap_recvkey): Use it here.
1023            * wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise.
1024            * wptGPGUtil.cpp (create_tempfile): Likewise.
1025            * wptImportList.cpp (implist_load): Likewise.
1026            * wptKeyCache.cpp (parse_attr_data): Likewise.
1027            (w32_tempfile): Removed.
1028            * wptGPGME.cpp (check_ultimate_trusted_key): New.
1029            
1030    2006-01-31  Timo Schulz  <[email protected]>
1031    
1032            * wptMainProc.cpp (winpt_main_proc): Fix usage of the
1033            help system.
1034            * wptListView.cpp (listview_set_chkbox_style): New.
1035            (listview_get_item_state): Support new checkbox style.
1036            (listview_new): Reset flag var.
1037            * wptKeylist.cpp (keylist_build): Support new checkbox style.
1038            
1039    2006-01-30  Timo Schulz  <[email protected]>
1040    
1041            * WinPT.cpp (check_readonly_attr): New.
1042            (load_gpg_env): Use it here.
1043            (WinPT): Make the the default key is searched in the
1044            secret key cache.
1045            Change error message.
1046            * wptRegistry.cpp (regist_int_winpt): Make sure
1047            the register extension is only offered once to the user.
1048            * wptKeyPropsDlg.cpp (get_photo_tmpname): Always use
1049            temp directory. Fixed a privilege problem.
1050            
1051    2006-01-29  Timo Schulz  <[email protected]>
1052    
1053            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC
1054            to quit dialog.
1055            * wptKeysignDlg.cpp (sig_class_dlg_proc): More space for
1056            translations. Directly return sig class.
1057            (keysign_dlg_proc): Change msgbox title.
1058            * wptKeyEdit.cpp (signUserid): New.
1059            (getUseridIndex): New.
1060            (getKeyIndex): New.
1061            (getSigIndex): New.
1062            (clear): New.
1063            * wptKeyEditCB.cpp (cmd_sign_handler): Allow to select
1064            user-id first.
1065            * wptKeyEditDlgs.cpp (lookup_cmd): New.
1066            (do_editkey_sign_userid): New.
1067            (do_init_cmdlist): Differ between key pairs and public keys
1068            and allowed actions.
1069            (keyedit_change_ownertrust): Show msgbox on success.
1070            (get_default_key): New.
1071            * wptPassphraseDlg.cpp (request_passphrase): Reset @cancel.
1072            
1073    2006-01-27  Timo Schulz  <[email protected]>
1074    
1075            * WinPT.cpp (WinMain): Set minimal list mode as default.
1076            * wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys.
1077            
1078    2006-01-25  Timo Schulz  <[email protected]>
1079    
1080            * wptRegistry.cpp (get_reg_entry_gpg): Return NULL if
1081            the key exist with no value.
1082            * wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string.
1083            * wptKeysignDlg.cpp (do_fill_seclist): Select the
1084            default key if possible.
1085            * wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly
1086            return the choice.
1087            * wptKeylist.cpp (get_key_desc): New.
1088            (keylist_upd_key): Free memory.
1089            * wptKeyCache.cpp (gpg_keycache_get_default_key): New.
1090            (gpg_keycache_set_default_key): New.
1091            * WinPT.cpp (gpg_prefs_ok): New.
1092            (WinMain): Only start gpg prefs if needed.
1093            
1094    2006-01-24  Timo Schulz  <[email protected]>
1095    
1096            * wptKeyManager.cpp (km_dropped_file_import): New.
1097            * wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow
1098            to drop files and try to import them.
1099            (keymanager_dlg_proc): Pass kmi as opaque to the subclass
1100            proc.
1101            
1102    2006-01-23  Timo Schulz  <[email protected]>
1103    
1104            * wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output
1105            to the clipboard.
1106            * wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New.
1107            (do_editkey_enable_disable): New.
1108            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not
1109            close the dialog if the user cancelled the ownertrust dialog.
1110            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate
1111            an update of any value.
1112            
1113    2006-01-21  Timo Schulz  <[email protected]>
1114    
1115            * wptKeyCache.cpp (keycache_next_key): Handle the case
1116            that there is a secret key without a public part.
1117            * wptKeyserver.cpp (kserver_save_conf): Save ports.
1118            * wptKeyserverDlg.cpp (keyserver_modify_dlg_proc):
1119            Reset keyserver name.
1120            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate
1121            an update, do not update the cache.
1122            * wptFileManagerDlg.cpp (file_import_dlg_proc): Use one
1123            dialog for both clipboard and file imports.
1124            * wptKeyManager.cpp (km_file_import, km_clip_import):
1125            Changes to support new update system.
1126            (gpg_clip_import): New.
1127            * wptKeyManagerDlg.cpp (km_gui_import): New.
1128            (find_keypos): Rewritten.
1129            (refresh_keylist): Improved error checking.
1130            
1131    2006-01-20  Timo Schulz  <[email protected]>
1132    
1133            * wptKeyCache.cpp (w32_tmpfile): New.
1134            (parse_attr_data): Use it here.
1135            * wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var.
1136            
1137    2006-01-19  Timo Schulz  <[email protected]>
1138    
1139            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not
1140            reload the entire cache, just update the key.
1141            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise.
1142            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag.
1143            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1144            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
1145            if need after showing the properties.
1146            * wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
1147            * wptKeyManager.cpp (km_import_file): New param. Changed
1148            all callers.
1149            (km_import_clip): Likewise.
1150            (delete_keys_from_cache): Delete secret part if available.
1151            * wptClipImportDlg.cpp (print_import_status): If there
1152            are too many new keys, use reload code.
1153            
1154    2006-01-18  Timo Schulz  <[email protected]>
1155    
1156            * wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume
1157            the self sig is always index 0. Noted by Kurt.
1158            * wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume
1159            the key user-ID contains an email address.
1160            * wptKeyEditDlgs.cpp (do_find_userid): Likewise.
1161            (do_editkey_deluid): Likewise.
1162            (do_editkey_revuid): Likewise.
1163            
1164    2006-01-18  Timo Schulz  <[email protected]>
1165    
1166            * wptListview.cpp (listview_del_sel_items): Fixed index
1167            calculation. This fixed a lot of problems with the KM listview
1168            update.
1169            (listview_del_all): Renamed to...
1170            (listview_del_all_items): ..this. Changed all callers.
1171            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh
1172            list when file import contained new/updated keys.
1173            * wptKeyManager.cpp (km_file_import): Indicate if the
1174            import contained any new/update keys.
1175            * wptClipImportDlg.cpp (print_import_status): Just mark
1176            keys which actually changed.
1177            
1178    2006-01-17  Timo Schulz  <[email protected]>
1179    
1180            * wptMAPI.cpp (mapi_send_pubkey_ext): New.
1181            * wptKeysigDlg.cpp (do_delsig): Just flag the key, do not
1182            update it.
1183            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more
1184            careful about const pointers.
1185            * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to..
1186            (get_subkey_keyid): ..this. Fix problem that key was updated
1187            twice and this corrupted.
1188            (keyedit_add_subkey): Set @lv item in the callback context.
1189            
1190    2006-01-16  Timo Schulz  <[email protected]>
1191    
1192            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore
1193            window if it lost focus during the operation. Thanks to Kurt.
1194            Update keylist when the window is enabled.
1195            (find_keypos): New.
1196            * wptKeyCache.cpp (keycache_next_key): Reset update status.
1197            (gpg_keycache_next_updated_key): New arg @r_status. Change all
1198            callers.
1199            (gpg_keycache_update_key): Different status for new and updated.
1200            Include key signatures.
1201            * wptClipImportDlg.cpp (print_import_status): Mark all
1202            imported keys.
1203            * wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist.
1204            Thanks to Kurt.
1205            * wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys.
1206            (do_delsig): Directly reload key. Thanks to Kurt.
1207            * wptGPGME.cpp (keycache_set_reload, keycache_get_reload):
1208            Removed.
1209            * wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system.
1210            * wptClipImportDlg.cpp (clip_import_dlg_proc): Return
1211            FALSE if no keys were updated or operation was cancelled.
1212            * wptCommonDlg.cpp (http_dlg_proc): Fix title selection code.
1213            * wptKeylist.cpp (get_ext_validity): Handle disabled keys.
1214            * wptKeyPropsDlg.cpp (keyprops_dlg_proc):
1215            Do not allow to change ownertrust of invalid keys.
1216            Changed translation.
1217            Slightly different user interface.
1218            
1219    2006-11-14  Timo Schulz  <[email protected]>
1220    
1221            * wptW32API.cpp (make_special_filename): New.
1222            * wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs):
1223            Removed 'KeyServer' item.
1224            * wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver
1225            config item.
1226            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group
1227            window until we really use it.
1228            * wptKeyserver.cpp (kserver_save_conf): New.
1229            (wsock_end): Save keyserver config file.
1230            * wptKeyserverDlg.cpp (keyserver_edit): New.
1231            (keyserver_remove): New.
1232            (keyserver_add): New.
1233            (fill_keyserv_types): New.
1234            (keyserver_modify_dlg_proc): New.
1235            (keyserver_dlg_proc): Provide context menu to modify the
1236            keyserver list.
1237            (keyserver_build_list): Remove 'proto' column because it is
1238            not really useful.
1239            * WinPT.cpp (load_keyserver_conf): Store keyserver.conf at
1240            $APPDATA\winpt. If keyserver.conf exists in the current folder
1241            move it to the new destination.
1242            
1243    2006-11-13  Timo Schulz  <[email protected]>
1244    
1245            * wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation.
1246            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise.
1247            * wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about
1248            dialog isn't shown twice.
1249            * wptKeyCache.cpp (gpg_keycache_next_updated_key): New.
1250            (gpg_keycache_update_key): Set update flag.
1251            * wptKeyManagerDlg.cpp (refresh_keylist): New.
1252            (keymanager_dlg_proc): Use new refresh system for keyservers.
1253            * wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc):
1254            Update keycache.
1255            * wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise.
1256            * wptKeyserver.cpp (socket_read_ext): New.
1257            (kserver_recv_key_ext): New.
1258            (kserver_read_config, kserver_write_config): Removed.
1259            
1260    2006-01-12  Timo Schulz  <[email protected]>
1261    
1262            * wptListView.cpp (listview_set_image_list): Make icons
1263            always transparent.
1264            * wptImageList.cpp (imagelist_load): New icons.
1265            * wptGPGMEData.cpp (gpg_data_putc): New.
1266            * wptKeyManagerDlg.cpp (load_toolbar): Include new icons.
1267            (keymanager_dlg_proc): Add tooltips.
1268            * wptKeyserverDlg.cpp (keyserver_list_build): Use icons.
1269            * wptKeyserver.cpp (URL_encode): New.
1270            (URL_must_encode): New.
1271            (kserver_search_init): Properly encode pattern.
1272            (parse_iso_date): New.
1273            (keyserver_search): Be more strict to prevent buffer overflows.
1274            
1275    2006-01-11  Timo Schulz  <[email protected]>
1276    
1277            * wptKeyManagerDlg.cpp (load_toolbar): 2 new icons.
1278            (keymanager_dlg_proc): Adjust tooltips.
1279            (update_ui_items): Handle new icons.
1280            * wptImageList.cpp (imagelist_load): New icons.
1281            
1282    2006-01-10  Timo Schulz  <[email protected]>
1283    
1284            * wptMainProc.cpp (winpt_main_proc): Restore iconic
1285            File/Key Manager windows if needed.
1286            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button.
1287            * wptSiglist.cpp (init_cmp): New.
1288            (siglist_sort): New.
1289            (siglist_cmp_cb): New.
1290            (siglist_add_key): Force NOKEY status when key was not found.
1291            * wptKeysigDlg.cpp (recv_single_key): New.
1292            (recv_missing_keys): Reload entire key when more than one key
1293            was fetched.
1294            (keysig_dlg_proc): Support sorting the listview items.
1295            
1296    2006-01-09  Timo Schulz  <[email protected]>
1297    
1298            * WinPT.cpp (load_gettext): Remove file locking.
1299            (WinMain): Use pre-defined autoconf constants.
1300            * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
1301            * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
1302            Change all callers.
1303            
1304    2006-01-07  Timo Schulz  <[email protected]>
1305    
1306            * wptKeyManager.cpp (km_refresh_from_keyserver): Summarize
1307            import status if just one key was selected.
1308    
1309    2006-01-04  Timo Schulz  <[email protected]>
1310    
1311            * wptGPGMEWrapper.c (setChangeVersion): New.
1312            (exportToBuffer, exportToFile, exportToClipboard): New.
1313            (setArmor, getArmor): New.
1314            * wptKeylist.cpp (get_key_expire_date): Return locale specific
1315            date.
1316            (keylist_get_recipients): Do not fetch the key again.
1317            (keylist_enum_recipients): Likewise.
1318            * wptGPG.cpp (create_empty_keyring): New.
1319            (get_gnupg_keyring): Fixed 'strict' logic.
1320            * wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons
1321            when no secret keys are available.
1322            * wptKeyManager.cpp (km_send_to_mail_recipient): Release key data
1323            before the MAPI call is made.
1324            * WinPT.cpp (check_for_empty_keyrings): New.
1325            
1326    2006-01-03  Timo Schulz  <[email protected]>
1327    
1328            * pubkey.ico, keypair.ico: New.
1329            * wptListview.cpp (listview_add_item_image): New.
1330            (listview_set_image_list): New.
1331            * wptSigList.cpp (siglist_add_key): Correct order of the sigs.
1332            * wptKeyProps.cpp (keyprops_load_photo): Adjusted for new
1333            JPEG data.
1334            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to
1335            add items to revoked keys.
1336            * wptKeyManager.cpp (km_delete_keys): Do not use uninitialized
1337            keyid buffer. This fixes a segv.
1338            * wptKeyserver.cpp (spawn_application): New.
1339            (ldap_recv_key): Support recent protocols and several cleanups.
1340            * wptKeylist.cpp (do_addkey): Set image which depends on the
1341            key type.
1342            (keylist_enum_recipients): Cleanups.
1343            (keylist_get_keyflags): Rewritten.
1344            * wptKeyCache.cpp (free_attr_list): New.
1345            (parse_attr_list): New.
1346            (parse_attr_data): New.
1347            (keycache_update_photo): New.
1348            (keycache_update_photos): New.
1349            (gpg_keycache_update_key): Automatically reload photos if needed.
1350            * wptGPGUtil.cpp (create_process): New param @err. Change all
1351            callers.
1352            (map_tmpfile): New param @nread. Change all callers.
1353            (gpg_get_photoid_data): New.
1354            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to
1355            add items to revoked keys.
1356            (subkey_init_list): Store gpgme key object.
1357            
1358    2005-12-29  Timo Schulz  <[email protected]>
1359    
1360            * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
1361            (gpg_genkey_params): Simplified.
1362            * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
1363            exclusion of the dialog items.
1364            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
1365            quit the dialog.
1366            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1367            * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
1368            (id2algo): New.
1369    
1370    2005-12-28  Timo Schulz  <[email protected]>
1371    
1372            * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
1373            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1374            * wptKeylist.cpp (keylist_udp_key): Likewise.
1375            * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
1376            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
1377            when no signing key was found.
1378            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
1379            user IDs.
1380            (translate_popup_strings): s/Revoke/Revoke Cert.
1381            * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
1382            0x prefixed keyid.
1383            * wptKeyEditCB.cpp (editkey_command_handler): Also reset
1384            step in case of a bad passphrase.
1385            
1386    2005-12-27  Timo Schulz  <[email protected]>
1387    
1388            * wptListView.cpp (listview_set_view): New.
1389            (listview_del_column): New.
1390            * wptW32API.cpp (get_locale_date): New.
1391            (get_menu_state): New.
1392            (force_foreground_window): New.
1393            * wptVerifyList.cpp (strtimestamp): Support for
1394            locale date formats.
1395            * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
1396            passphrases.
1397            * wptKeyEditCB.cpp (editkey_command_handler): Immediately
1398            return when a bad passphrase was submitted.
1399            * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
1400            column order.
1401            * wptKeylist.cpp (keylist_upd_col): New.
1402            * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
1403            'Revocation' for public keys.
1404            (translate_menu_strings): s/Revoke/Revoke Cert.
1405            (modify_listview_columns): New.
1406            
1407    2005-12-18  Timo Schulz  <[email protected]>
1408    
1409            * wptKeyManagerDlg.cpp (save_column_size): New.
1410            (restore_column_size): New.
1411            (keymanager_dlg_proc): Save and restore column sizes for
1412            the listview control.
1413            * wptKeyManager.cpp (key_get_info): New.
1414            (km_delete_keys): Use it here to have a consistent message.
1415            Use stored key context and not the column data.
1416            (km_enable_disable_key): Likewise.
1417            (km_send_to_keyserver): Likewise.
1418            (km_set_implicit_trust): Likewise.
1419            * wptKeylist.cpp (get_key_pubalgo2): New.
1420            
1421    2005-12-17  Timo Schulz  <[email protected]>
1422    
1423            * wptUTF8.cpp: Removed unused charset array.
1424            * wptSigList.cpp (siglist_build): Increase size for 'class'
1425            column.
1426            * wptGPG.cpp (get_gnupg_path): Simplified.
1427            * WinPT.cpp (load_gpg_env): New.
1428            (check_crypto_engine): Return type is now bool.
1429            * wptRegistry.cpp (is_gpg4win_installed): New.
1430            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent
1431            dialog design.
1432            * wptKeyManagerDlg.cpp (translate_menu_strings): New.
1433            (translate_popupmenu_strings): New.
1434            * wptKeyEditDlgs.cpp (is_jpg_file): New.
1435            
1436    2005-12-13  Timo Schulz  <[email protected]>
1437    
1438            * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
1439            * wptKeyManagerDlg.cpp (change_edit_menu): New.
1440            (change_key_menu): Renamed from...
1441            (menu_gpg_readonly): ..this.
1442            (clip_contains_pgpkey): New.
1443            (update_ui_items): Do not allow to sign expired keys.
1444            (keymanager_dlg_proc): Same for popup menu.
1445            * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
1446            * wptKeyCache.cpp (copy_uid_prefs):
1447            (gpg_keycache_sync): Copy uid prefs so the key property
1448            dialog show the correct values. Thanks to Shane.
1449            
1450    2005-12-11  Timo Schulz  <[email protected]>
1451    
1452            * wptW32API.cpp (get_file_version): New.
1453            * wptGPGUtil.cpp (create_process): Always hide window.
1454            * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
1455            instead of 'Exit'.
1456            * wptKeyManager.cpp (km_http_import): New filename
1457            generation code.
1458            (km_send_to_mail_recipient): Cleanups.
1459            * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
1460            * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
1461            when multiple keys are selected.
1462            (popup_multiple): New.
1463            * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
1464            file versions are equal. Rewrote --keymanager code.
1465            
1466    2005-12-08  Timo Schulz  <[email protected]>
1467    
1468            * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
1469            (hkp_recv_key2): Show user-id of the imported key instead
1470            of just the pattern.
1471            * wptFileCBS.cpp (read_cb): Changed to W32 API.
1472            (write_cb): Likewise. Create output file on demand.
1473            (gpg_file_data_new): Adjusted code for new API.
1474            * wptKeyEdit.cpp (cleanKey): New.
1475            * wptKeyEditCB.cpp (cmd_clean_handler): New.
1476            (editkey_command_handler): Call clean handler.
1477            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
1478            keylist after inserting items.
1479            * wptFileManager.cpp (fm_set_status): Take care of
1480            cleartext sigs.
1481            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
1482            sure can be closed.
1483            
1484    2005-12-07  Timo Schulz  <[email protected]>
1485    
1486            * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
1487            Use 'Close' instead of 'Exit'.
1488            * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
1489            * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
1490            as the destination dir. Thanks to Werner.
1491            * wptRegistry.cpp (is_gpgee_installed): New.
1492            (regist_inst_winpt): Do not register file extensions
1493            if GPGee is available.
1494            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
1495            use of local vars.
1496            * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
1497            no illegal backup mode is saved.
1498            * wptKeyserverDlg.cpp (show_imported_key): New.
1499            (hkp_recv_key2): Show imported keys if the blob
1500            contained more than one.
1501            
1502    2005-12-06  Timo Schulz  <[email protected]>
1503    
1504            * WinPT.cpp (WinMain): Load the gettext environment soon
1505            as possible so all 'first start' messages are localized.
1506            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
1507            received via the keyserver, return the gpgme key context on
1508            success and add it directly to the list.
1509            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
1510            to store the key.
1511            (hkp_recv_key2): Add extra param for the fingerprint.
1512            (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
1513            
1514    2005-12-02  Werner Koch  <[email protected]>
1515    
1516            * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
1517    
1518    2005-12-01  Timo Schulz  <[email protected]>
1519    
1520            * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
1521            for get_gpg_sigstat().
1522            * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
1523            As a macro strings will not be translated at runtime.
1524            * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
1525            need to update the cache. Thanks to Jan-Oliver.
1526            * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
1527            
1528    2005-11-30  Timo Schulz  <[email protected]>
1529    
1530            * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
1531            * WinPT-en.rc: Removed string list.
1532            * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
1533            * wptKeylist.cpp (keylist_build): Cannot use global
1534            arrays for the columns due to gettext.
1535            
1536    2005-11-29  Timo Schulz  <[email protected]>
1537    
1538            * WinPT.cpp (WinMain): Modify --keymanager. If an instance
1539            is running, just send the command to open the manager.
1540            
1541    2005-11-25  Timo Schulz  <[email protected]>
1542    
1543            * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
1544            process when the revoker is already there.
1545            
1546    2005-11-24  Timo Schulz  <[email protected]>
1547    
1548            * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
1549            signing dialog items.
1550            * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
1551            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
1552            * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
1553            * wptKeylist.cpp (key_check_validity): Likewise.
1554            * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
1555            
1556    2005-11-22  Timo Schulz  <[email protected]>
1557    
1558            * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
1559            macro debug output will be generated in release version.
1560            
1561    2005-11-21  Timo Schulz  <[email protected]>
1562    
1563            * WinPT.cpp (WinMain): Implement --stop switch.
1564            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
1565            missing string.
1566            * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
1567            * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
1568            first. Thanks to Ralf.
1569            * wptFileManagerDlg.cpp (update_ui_items): New.
1570            * wptFileManager.cpp (fm_set_status): New sigmode param.
1571            Changed all callers.
1572            
1573    2005-11-17  Timo Schulz  <[email protected]>
1574    
1575            * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
1576            the cache will be loaded twice.
1577            * wptRegistry.cpp (regist_inst_winpt): More comments.
1578            * wptKeyManagerDlg.cpp (do_center_window): Make sure that
1579            neg. coordinates are never used.
1580            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
1581            strings.
1582            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
1583            * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
1584            and save 'AlwaysOnTop' in the registry.
1585            
1586    2005-11-16  Timo Schulz  <[email protected]>
1587    
1588            * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
1589            * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
1590            mode.
1591            * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
1592            * wptRegistry.cpp (regist_inst_winpt): Set install directory.
1593            Useful for other programs to figure out the path to the EXE.
1594            
1595    2005-11-14  Timo Schulz  <[email protected]>
1596    
1597            * wptGPG.cpp (check_gnupg_engine): Fix version check.
1598            * wptMainProc.cpp (winpt_main_proc): Check keyring
1599            file permissions always and do not use interative output
1600            when the windows session ends.
1601            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
1602            Localize all strings.
1603            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
1604            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
1605            * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
1606            non-valid keys.
1607            
1608    2005-11-12  Timo Schulz  <[email protected]>
1609    
1610            Fix more GCC warnings.
1611    
1612    2005-11-10  Timo Schulz  <[email protected]>
1613    
1614            * wptClipSignDlg.cpp (one_key_proc): Use
1615            release_gpg_passphrase_cb() to free the context.
1616            * wptListView.cpp (listview_deselect_all): New.
1617            * wptMAPI.cpp (mapi_send_pubkey): Works again.
1618            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
1619            zip.    
1620            * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
1621            caching for signing operations.
1622            * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
1623            * wptFileManager.cpp (fm_send_file): Likewise.
1624            (fm_encrypt_into_zip): New.      
1625            
1626    2005-11-09  Timo Schulz  <[email protected]>
1627    
1628            * wptNLS.c (get_gettext_langid): Map user language id to
1629            printable gettext language strings.
1630            * wptRegistry.cpp (get_reg_entry_mo): Support for the
1631            gettext environment.
1632            * wptFileManager.cpp (fm_encrypt): Close all files before
1633            the wipe procedure is called.
1634            * wptVerlist.cpp (verlist_add_sig): Handle the case the
1635            issuer is not valid but the signature is.
1636            (verlist_add_sig_log): Likewise. Thanks to the folks on
1637            winpt-users.
1638            
1639    2005-11-08  Werner Koch  <[email protected]>
1640    
1641            * SAFE.ICO, SIGN.ICO: Fixed capitalization.
1642            * WinPT-en.rc: Ditto.
1643            * winpt_km.ico:  Moved from ../.
1644    
1645            * Makefile.am (resource_files): Add missing backslash.
1646    
1647    2005-11-08  Timo Schulz  <[email protected]>
1648    
1649            More minor changes to avoid GCC warnings.
1650            
1651            * wptGPG.cpp (check_homedir): Free memory in case of errors.
1652            (multi_gnupg_path): Add strict mode. If non-strict mode return
1653            the folder even if it does not exist.
1654            (check_for_gpgwin): New.
1655            * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
1656            initialized.
1657            * wptRegistry.cpp (get_reg_entry_gpg4win): New.
1658            (get_reg_entry_mo): Support for gpg4win.
1659            
1660    2005-11-07  Timo Schulz  <[email protected]>
1661    
1662            * wptMainProc.cpp (winpt_main_proc): Disable
1663            some menu items when no secret key is available.
1664            
1665    2005-11-05  Timo Schulz  <[email protected]>
1666    
1667            More minor changes to avoid GCC warnings.
1668            
1669            * wptErrors.cp (winpt_strerror): Return w32
1670            formatted error and do not use 'break'.
1671            
1672  2005-11-04  Werner Koch  <[email protected]>  2005-11-04  Werner Koch  <[email protected]>
1673    
1674          * WinPT-en.rc: Fixed locations of icons.          * WinPT-en.rc: Fixed locations of icons.
# Line 837  Line 2508 
2508    
2509          * WinPT.cpp (load_keyserver_conf): New. Factored out some code          * WinPT.cpp (load_keyserver_conf): New. Factored out some code
2510          from WinMain ().          from WinMain ().
2511          (WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner          (WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner
2512          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver
2513          in the list control, add at least the internal default HKP server.          in the list control, add at least the internal default HKP server.
2514          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.

Legend:
Removed from v.67  
changed lines
  Added in v.297

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26