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

Diff of /trunk/Src/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26