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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.67  
changed lines
  Added in v.233

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26