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

Diff of /trunk/Src/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26