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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.41  
changed lines
  Added in v.288

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26