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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.95  
changed lines
  Added in v.255

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26