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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.47  
changed lines
  Added in v.308

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26