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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.20  
changed lines
  Added in v.414

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26