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

Diff of /trunk/Src/ChangeLog

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

revision 6 by twoaday, Mon Apr 4 06:59:24 2005 UTC revision 246 by twoaday, Tue Jul 11 08:55:57 2006 UTC
# Line 1  Line 1 
1  2001-01-21  Timo Schulz <[email protected]>  2006-07-05  Timo Schulz  <[email protected]>
2    
3      * wptNLS.cpp: ported to C++.          * wptMainProc.cpp (winpt_main_proc): Change menu texts.
4      (gettext): Remove CP850 to ISO88591 conversation.          * wptClipEditDlg.cpp (clip_edit_dlg_proc): More lightweight
5            with a menu instead of dozen of buttons.
6  2001-01-28  Timo Schulz <[email protected]>          
7    2006-07-01  Timo Schulz  <[email protected]>
8      * wptHotkey.cpp: (register_hotkey): Hotkey registration.  
9      (unregister_hotkey): Hotkey removing.          * wptFileManager.cpp (fm_sort): Rewritten.
10      * wptHokey.h: New.          (fm_build): Modify param type. Change all callers.
11      * wptWndHook.cpp:          (fm_cmp_cb): Adjusted for the new code.
12      (wpt_cpt_proc): Window hook to save the current windows.          * wptMDSumDlg.cpp (mdsum_dlg_proc): Minor changes and model
13      * wptWndHoo.h: New.          for the list view.
14      * wptMainProc.cpp: (wpt_main_proc): Add hotkey messages.          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use info
15      * WinPT.cpp: (WinMain): Add hotkey registration.          context and model for the list view.
16            (update_status_bar): Fix calculation of the size of the
17  2001-01-29  Timo Schulz <[email protected]>          selected files.
18            * wptProgressDlg.cpp (wait_for_progress_cb): Changed semantic
19      * wptClipboard.cpp: (clip_is_already_secure):          and return type.
20      Modify the pgp data detection.          
21    2006-06-28  Timo Schulz  <[email protected]>
22  2001-01-31  Timo Schulz <[email protected]>  
23            * wptGPGPrefsDlg.cpp (load_gpg4win_values): Fix control logic
24      * wptKeygenDlg.cpp: (wpt_keygen_proc): Passphrase sanity check.          and memory leak.
25      * wptW32API.cpp: New.          * wptListView.cpp (listview_find_substr): New.
26      * WinPT.cpp: (WinMain): Change the keyring checking code.          (listview_sort_items): Use symbolic ids.
27            * wptKeyManager.cpp (km_find_key): Allow substring search.
28  2001-02-01 Timo Schulz <[email protected]>          
29    2006-06-27  Timo Schulz  <[email protected]>
30      * wptW32API.cpp: (w32_get_edit_text): New.  
31      (w32_set_menu_text): New.          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Also call viewer
32      (w32_strdup): New.          when no sig has been found (if requested).
33      * wptMailPlugin.cpp: (oe_***): New. Basic OE interface.          * wptClipEditDlg.cpp (clip_edit_dlg_proc): Use a button to
34      * Create all dialogs windows in the foreground.          quote instead of the check box. Cleanups.
35            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Correct
36  2001-02-02  Timo Schulz <[email protected]>          sorting problem and wrong icon display.
37            * wptListView.cpp (listview_sort_items): Correct code for
38      * wptW32API.cpp: (w32_hit_key): New.          checkbox based lists.
39      (w32_rel_key): New.          * wptKeylist.cpp (keylist_build): Add sorting icons.
40      (w32_copy_to_clip): New.          * wptKeyEditDlgs.cpp (create_header_tooltip): New.
41      (w32_insert_from_clip): New.          
42      (w32_get_clip_text): New.  2006-06-24  Timo Schulz  <[email protected]>
43      (w32_set_clip_text: New.  
44      (w32_show_if_icon): New.          * wptMainProc.cpp (winpt_main_proc): Localize missing string.
45            * wptKeyEditDlgs.cpp (do_add_new_subkey): Better fpr to keyid
46  2001-02-03  Timo Schulz <[email protected]>          conversion.
47            (subkey_list_init): Simplified.
48      * wptMailPlugin.cpp: (oe_find_msg_window): Fix window handles.          
49      (oe_find_addr_window): Ditto.  2006-06-22  Timo Schulz  <[email protected]>
50      (oe_find_main_window): Ditto.  
51            * WinPT-en.rc: Include versioninfo.rc to generate
52  2001-02-04    Timo Schulz <[email protected]>          the version info automatically.
53            
54      * wptSignDlg.cpp: (wpt_sign_proc): Add secret key listing.  2006-06-19  Timo Schulz  <[email protected]>
55      * wptMainProc.cpp: (wpt_main_proc):  
56      Remove ciphertext checks for signing and encrypting.          * wptClipDecryptDlg.cpp (verify_get_clip_info): Improved
57      (allow double encryption).          format of the sig info text.
58            * wptKeyserver.cpp (check_hkp_response): Invert error logic.
59  2001-02-07    Timo Schulz <[email protected]>          * wptKeyserverDlg.cpp (keyserver_recv_key): Corrected error
60            handling.
61      * wptClipEditDlg.cpp: (clip_edit_dlg_proc): Add some sanity checks.          * wptPassphraseDlg.cpp (request_key_passphrase): Return
62      * wptExportDlg.cpp: (clip_export_dlg_proc): Ditto.          utf8 encoded passphrase.
63            
64  2001-02-10  Timo Schulz <[email protected]>  2006-06-18  Timo Schulz  <[email protected]>
65    
66      * wptMainProc.cpp: Move ctb_proc and hotkey inits to this file.          * wptKeygenDlg.cpp (keygen_dlg_proc): Fix typo.
67      * wptKeylistElement.cpp: New.          * wptClipDecryptDlg.cpp (verify_get_clip_info): New.
68      * wptListElement.cpp: Remove.          (verify_get_key_ownertrust): New.
69      * wptW32API.cpp: Insert all lv_*** functions.          (clip_decrypt_dlg_proc): New argument. Change all callers.
70      * wptKeylistElement.cpp: (wpt_lv_keylist_release_key): New.          * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle the case
71      (wpt_lv_keylist_release_keys): Ditto.          that the dialog was called with a param.
72      * wptW32API.cpp: (w32_get_thread_id): New.          * wptMainProc.cpp (winpt_main_proc): Wait for thread in
73      (w32_attach_thread_input): New.          case of dbl-click.
74      * wptMailPlugin.cpp: (oe_get_message): Add thread attach mechanism.          
75      (oe_get_message): Add thread attach mechanism.  2006-06-16  Timo Schulz  <[email protected]>
76      (oe_encrypt): Modify for the attach treach mechanism.  
77      Add sanity check for recipients.          * wptProgressDlg.cpp (wait_for_progress_cb): New.
78            * wptMainProc.cpp (winpt_main_proc): Use this function
79  2001-02-17  Timo Schulz <[email protected]>          to disallow to access the cache during synchronisation.
80            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
81      * wptRegistry.cpp: (get_reg_entry): Return the GnuPG homedir from          * wptKeyserver.cpp (check_hkp_response): Improved text
82      the registry.          extraction.
83      (set_reg_entry): Set a gnupg registry key.          (parse_keyserver_error): New.
84      * wptGPG.cpp: Modify all function for the use with get_reg_entry().          * wptPassphraseDlg.cpp (request_passphrase): Support utf8
85      * WinPT.cpp: Change the way for the gpg searching mechanism.          encoding.
86      * wptGPGPrefsDlg.cpp: New dialog for dynamic GPG configuration.          * wptKeyEditDlgs.cpp (keyedit_change_passwd): Warn if passhrase
87      * wptClipImportDlg.cpp: (key import dialog): New.          needs to be utf8 encoded but still allow it.
88      * wptKeylistElement.cpp:          * wptPassphraseCBDlg.cpp (passphrase_callback_proc): Utf8 support.
89      (wpt_lv_implist_build): Build up the key import list.          * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
90      (wpt_lv_implist_add_key): Insert a key into the import list.          * wptKeyRevokeDlg.cpp (keyrevoke_dlg_proc): Likewise.
91      (wpt_lv_implist_dummy): Dummy to build up a box with a fixed size.          
92    2006-06-15  Timo Schulz  <[email protected]>
93  2001-02-19  Timo Schulz <[email protected]>  
94            * wptVerList.cpp (verlist_build): Use icons.
95      * wptRegistry.cpp: (is_installed): Remove.          (verlist_add_sig): Set image number according to sig state.
96      (regist_inst_winpt): Add selfcheck.          
97      (regist_inst_gpg): New. Add gpg releated registry entries.  2006-06-14  Timo Schulz  <[email protected]>
98      (regist_inst_mo): New. Add nls related path.  
99      (get_reg_entry), set_reg_entry(): Modify to be more flexible.          * wptAboutDlgs.cpp (about_winpt_dlg_proc): Translate
100      (set_reg_entry_gpg): Handy functions for get_reg_entry.          authors string here. Noted by Eduardo.
101      (set_reg_entry_mo): Ditto.          * wptSymEnc.cpp (gpg_clip_sym_encrypt): Check all return codes.
102      (get_reg_entry_gpg): Ditto.          
103      (get_reg_entry_mo(): Ditto.  2006-06-09  Timo Schulz  <[email protected]>
104      * wptGPGPrefsDlg.cpp, wptNLS.cpp: Add support for the locale environment.  
105      * wptGPG.cpp: (check_gpg_optfile): Figure out if the option file.          * wptKeyEditDlgs.cpp (do_add_new_subkey): Properly handle
106      include keyring entries (2x)          RSA_E and RSA_S.
107      (check_gpg_path): Include the check_gpg_optfile() check.          * wptFileManager.cpp (fm_sym_encrypt): Better dialog title.
108            
109  2001-02-20  Timo Schulz <[email protected]>  2006-06-08  Timo Schulz  <[email protected]>
110    
111      * wptGPGPrefsDlg.cpp: Add some sanity checks for the value.          * wptKeyserver.cpp (parse_keyserver_url): Handle special case.
112      * wptClipImportDlg.cpp: Add some new code.          * wptKeySignDlg.cpp (keysign_dlg_proc): Show photo if possible.
113            (showphoto_dlg_proc): New.
114  2001-02-21  Timo Schulz <[email protected]>          * wptKeyManagerDlg.cpp (restore_window_size): New.
115            (keymanager_dlg_proc): Restore original window size on startup.
116      * wptGPG.cpp: Fix the check_gpg_optfile() code.          (copy_key_info): Allow to copy multiple key items.
117          (gpg_errstr): Define some error constants to be more verbose.          
118          (set_gpg_options): New. Manipulate the options file.  2006-06-06  Timo Schulz  <[email protected]>
119          (get_gpg_options): New. Read in the options file.  
120      * wptFile.cpp: (get_file_size): New.          * wptKeyEditCB.cpp (cmd_sign_handler): Return 0 by default
121      * wptGPGOptDlg.cpp: New. Dialog for editing the options file          if no expire date were given.
122            
123  2001-02-22  Timo Schulz <[email protected]>  2006-06-05  Timo Schulz  <[email protected]>
124    
125      * wptGPG.cpp: (check_line): New. Check if the line contains a valid          * wptPassphraseDlg.cpp (request_passphrase): Release mem
126      gpg argument.          in case of errors.
127      (check_gpg_options): New. Parses each buffer line to check_line().          (request_key_passphrase): New.
128            (set_passphrase_hint): New.
129  2001-02-24  Timo Schulz <[email protected]>          * wptKeyEditDlgs.cpp (do_editkey_sign_userid): Show passphrase
130            hint. Suggested by vedaal.
131      * wptGPG.cpp: (check_gpg_path): Fix a bug.          
132     (check_gpg_options): Fix some bugs.  2006-06-03  Timo Schulz  <[email protected]>
133    
134  2001-02-25  Timo Schulz <[email protected]>          * wptPINDlg.cpp (pin_dlg_proc): Remove static var.
135            * wptClipEncryptDlg.cpp (show_invalid_recipients): Handle
136      * wptGPGPrefsDlg.cpp: Add some new translation strings.          the case that 'encrypt-to' points to a non-existing item.
137      * wptKeyGenDlg.cpp: Add all dialog text to the NLS suite.          * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Do not close
138      * wptMainProc.cpp, wptClipDecryptDlg.cpp: Change to new packet parser.          the dialog if an error occurred.
139      * wptClipImportDlg.cpp: Finished basic interface.          * wptKeygenDlg.cpp (keygn_dlg_proc): Check expirate date.
140            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Release mem
141  2001-02-27  Timo Schulz <[email protected]>          in case of errors.
142            * wptKeyserverDlg.cpp (check_pattern): Improved code.
143      * wptKeylistWidget.cpp: New. Implementation of a W32 keylist control.          (keyserver_dlg_proc): All comparisons are case insentensive.
144      * wptClipKeytrustDlg.cpp: Index was counted from 0 (should be from 1):          * wptKeyserver.cpp (parse_uid_record): utf8 decode user id.
145      Fixed.          
146    2006-06-02  Timo Schulz  <[email protected]>
147  2001-03-15  Timo Schulz <[email protected]>  
148            * wptKeygenDlg.cpp (keygen_dlg_proc): Forgot to apply patch.
149      * wptClipEncryptDlg.cpp: Fix translation.          
150      * wptKeygenDlg.cpp: Fix the names of the button (avoid confused users).  2006-06-01  Timo Schulz  <[email protected]>
151      * wptKeymiscDlg.cpp: Fix the key deleting stuff.  
152            * wptKeyserver.cpp (check_URL): change semantic.
153  2001-03-16  Timo Schulz <[email protected]>          (skip_type_prefix): Use check_URL().
154            * wptGPG.cpp (gnupg_backup_keyrings): New argument to
155      * wptDlgs.h: Add new dialog callback function.          include secret keyring backups. Change all callers.
156      * wptKeysigDlg.cpp: New. Key signature listing dialog.          * wptRegistry.cpp (get_reg_winpt_prefs): Support new option.
157            (set_reg_winpt_prefs): Likewise.
158  2001-03-18  Timo Schulz <[email protected]>          * wptPreferencesDlg.cpp (on_init_dialog): Adjust the code.
159            
160      * wptClipVerifyDlg.cpp: New: stub for further verify dialogs.  2006-05-29  Timo Schulz  <[email protected]>
161      * wptAgent.cpp: New: Experimental passphrase caching.  
162            * wptKeyserver.cpp (keyserver_set_default): Also set default port.
163  2001-03-19  Timo Schulz <[email protected]>  
164    2006-05-27  Timo Schulz  <[email protected]>
165      * wptVerifyList.cpp: New control for the verify dialog.  
166      * wptClipVerifyDlg.cpp: Rewrote          * wptKeyEditDlgs.cpp (keyedit_change_passwd): Handle empty
167            passphrase requests.
168  2001-03-20  Timo Schulz <[email protected]>          * wptClipDecryptDlg.cpp (verify_show_signature_state): Modified
169            for global use.
170      * wptClipDecryptDlg.cpp: Rewrote          * wptFileManager.cpp (fm_decrypt): Use it here.
171            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Simplified.
172  2001-03-21  Timo Schulz <[email protected]>          
173    2006-05-25  Timo Schulz  <[email protected]>
174      * WinPT.cpp: (WinMain): Re-activate the enable debug switch.  
175      * wptKeylist.cpp: (keylist_add_key): Ignore invalid keys.          * wptGPGUtil.cpp (gpg_rebuild_cache): Return error code.
176            * wptGPGME.cpp (winpt_get_seckey): Fix off-by-one bug.
177  2001-03-28  Timo Schulz <[email protected]>          * wptVerifyList.cpp (verlist_build): New argument type.
178            Change all callers.
179      * wptClipEncryptDlg.cpp: (clip_encrypt_dlg_proc):          (verlist_set_info_control): New.
180      Added the keyid to the "no trust" message.          (verlist_set_additional_info): New.
181      * wptKeyserverDlg.cpp: (check_pattern): New:          * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Adjust code.
182      Do some sanity checks of the search pattern.          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
183      * wptMainProc.cpp: (wpt_main_proc): Add agent support.          * wptFileCBS.cpp (read_cb, write_cb): Add logging.
184      * wptHotkey.cpp: Add agent support.          
185    2006-05-23  Timo Schulz  <[email protected]>
186  2001-03-30  Timo Schulz <[email protected]>  
187            * wptKeyEditDlgs.cpp (do_add_new_userid): Fix re-introduced
188      * wptW32API.cpp: (new_strdup): Remove.          problem.
189      * wptW32API.h: Ditto.          (keyedit_main_dlg_proc): Popup menu for the user ID list
190      * wptWndHook.cpp: (get_cbt_curr_wnd): Return the current window.          with common commands.
191      * wptKeygenDlg.cpp: (clear_dlg_fields): New: Clear all text fields.          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Automatically
192            disable search for ldap servers.
193  2001-03-31  Timo Schulz <[email protected]>          Use subkeys.pgp.net by default when no server was selected.
194    
195      * wptClipSignDlg.cpp: (clip_sign_dlg_proc): If no key was choosen,  2006-05-22  Timo Schulz  <[email protected]>
196      the GPG default key will be used.  
197            * wptRegistry.cpp (set_reg_winpt_prefs, get_reg_winpt_prefs):
198  2001-04-02  Timo Schulz <[email protected]>          Support for the new 'default ext' value.
199            * wptPreferencesDlg.cpp (on_init_dialog): Likewise.
200      * WinPT.cpp: (set_gpgme_debug_env): New: Set the environment variable.          (prefs_dlg_proc): Likewise.
201      * wptClipSignDlg.cpp: (clip_sign_dlg_proc): Now the keylist widget only          * wptFileManager.cpp (file_get_extension): Likewise.
202      contains valid keys.          (get_output_file): Likewise.
203      * wptClipEncryptDlg.cpp: (clip_encrypt_dlg_proc): Ditto.          (fm_export): Likewise.
204            
205  2001-04-04  Timo Schulz <[email protected]>  2006-05-20  Timo Schulz  <[email protected]>
206    
207      * wptClipDecryptDlg.cpp (passphrase_callback_proc): Remove the static          * wptKeyPropsDlg.cpp (keyprops_load_photo): avoid expensive
208      passphrase. Now a callback context is used.          process call when no photo is available.
209      (passphrase_cb): Ditto.          (keyprops_dlg_proc): avoid static data.
210      (clip_decrypt_dlg): Ditto.          * wptFileManager.cpp (fm_add_sig_stat): Free memory in case
211      * wptWndHook.cpp (cbt_thread): New. Thread to enable CBT hook.          of on demand key requests.
212      (install_cbt_hook): Modify for the new thread model.          (show_verify_result): Likewise.
213      (remove_cbt_hook): Ditto.          (secret_key_available): Likewise.
214      * wptW32API.cpp: (init_crtical_section): New. Make the code MT safe.          (fm_decrypt, fm_sign): Handle the new on demand key request
215      (delete_critical_section): Ditto.          mode and free all memory.
216      (lock): Ditto.          
217      (unlock): Ditto.  2006-05-15  Timo Schulz  <[email protected]>
218    
219  2001-04-06  Timo Schulz <[email protected]>          * wptKeyEditDlgs.cpp (userid_list_init): Forgot to
220            apply patch. Thanks to vedaal.
221      * wptOwnertrustDlg.cpp: New. (ownertrust_dlg_proc): New.          
222      * wptKeyTrustDlg.cpp: (key_trust_dlg_proc): Add new button for the  2006-05-14  Timo Schulz  <[email protected]>
223      ownertrust dialog.  
224            * wptKeyCache.cpp (gpg_keycache_update_attr): Parse
225  2001-04-06  Timo Schulz <[email protected]>          preferred keyserver URL.
226            * wptHTTP.cpp (extractHostInfo): Fix segv.
227      * wptGPG.cpp: (check_gpg_path): Fix a small error.          * wptGPGUtil.cpp (gpg_find_key_subpacket): Ignore default
228      * WinPT.cpp: (WinMain): Add a dialog for the possibity that it's the          gpg.conf.
229      first time a user started WinPT.          * wptKeyserverSearchDlg.cpp (search_hkp_keys): Do not
230      * wptClipboard.cpp: (clip_isalready_secured): Check the begin and          assume an existing user id.
231      end PGP header.          * wptPassphraseCB.cpp (passphrase_cb): Automatic cancel
232            if no passphrase is available.
233  2001-04-07  Timo Schulz <[email protected]>  
234    2006-05-13  Timo Schulz  <[email protected]>
235      * wptAgent.cpp: (agent_new): Rename to agent_init and modify source.  
236      (agent_destroy): Ditto.          * wpMainProc.cpp (secret_key_available): Move it...
237      (agent_passphrase_cache): Ditto.          * wptGPGME.cpp: ..to this file.
238      (agent_passphrase_remove): Ditto.          (check_ultimate_trusted_key): Handle the case there
239      (agent_passphrase_get): Ditto.          is no secret key available.
240            * wptFileManagerDlg.cpp (update_ui_items): Improved.
241  2001-04-09  Timo Schulz <[email protected]>          * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Deactive
242            some functions when no secret key is available.
243      * wptClipboard.cpp: (clip_get_pgp_type): New. Return the PGP packet          * wptKeyserverSearchDlg.cpp (search_hkp_keys): Adjust
244      type. Kludge for decrypt/verify.          code and also display pubkey algorithm.
245      * wptMainProc.cpp: (wpt_main_proc): Remove verify and put the          * wptKeyserver.cpp (safe_alloc): New.
246      code into the decrypt routine.          (count_keys_in_response): New.
247      * wptClipImportDlg.cpp: (clip_import_dlg_proc): New button to start          (parse_pub_record): New.
248      the key management after import.          (parse_uid_record): New.
249            (kserver_release_key): New.
250  2001-04-09  Timo Schulz <[email protected]>          (kserver_search_begin, kserver_search_next_key):
251            Adjust for the machine readable output. Removed old code.
252      * wptGPG.cpp: (check_line): Ignore empty lines.          (parse_keyserver_url): New.
253      (check_gpg_options): Ditto.          * wptUtil.cpp (substr): New.
254            * wptKeyManager.cpp (km_refresh_one_key): Properly
255  2001-04-12  Timo Schulz <[email protected]>          parse the keyserver URL.
256            
257      * wptHotkeys.cpp: (register_single_hotkey): Add code for the current  2006-05-11  Timo Schulz  <[email protected]>
258      window stuff.  
259      * wptMainProc.cpp: (wpt_main_proc): WM_HOTKEY. Add the current window          * wptPassphraseCB.cpp (release_gpg_recipients): New.
260      hotkeys.          (release_gpg_recipients): Use it here.
261      * wptW32API.cpp: (attach_thread_input): Split up the functions into          * wptFileManager.cpp (fm_decrypt): List all recipients.
262      two parts. The attach flags is always set.          Thanks to vedaal.
263      (detach_thread_input): See above. The attach flags is never set.          * wptGPG.cpp (extract_keyid): New.
264      * wptCurrWnd.cpp: New. Code for the current window stuff.          (get_gnupg_default_key): Use it here.
265      (get_window_contents): Extract the text from the given window to          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Allow to verify
266      the clipboard.          one-pass-sigs again.
267      (set_window_contents): Insert clipboard into the given window.          
268    2006-05-09  Timo Schulz  <[email protected]>
269  2001-04-13  Timo Schulz <[email protected]>  
270            * wptKeyRevokersDlg.cpp (revokelist_build): Store key ptr.
271      * wptMailPlugin.cpp: (oe_set_message): Change the id's for          * wptClipSignDlg.cpp (gpg_clip_sign): Improve error handling.
272      the attach_thread_input.          * wptKeysigDlg.cpp (sigprops_dlg_proc): Correct expire date.
273      (oe_get_message): Ditto.          
274      * wptCurrWnd.cpp: (get_window_contents): Ditto.  2006-05-07  Timo Schulz  <[email protected]>
275      (set_window_contents): Ditto.  
276            * wptKeyserverDlg.cpp (hkp_err_box): Improved.
277  2001-04-14  Timo Schulz <[email protected]>          * wptKeyserver.cpp (wsock_strerror): Likewise.
278            * wptKeygenCBDlg.cpp (keygen_cb_dlg_destroy): New param.
279      * wptCurrWnd.cpp: (get_window_contents): Add an event to switch          Change all callers.
280      the windows. This is needed by the current code.          * wptKeysigDlg.cpp (do_load_keyprops): Correct key update
281      (set_window_contents): Ditto.          problem.
282      * wptWndSwitchDlg.cpp: (wndswitch_dlg_proc): Create a hidden dialog          
283      and force it to the foreground. This is the event needed by the code  2006-05-06  Timo Schulz  <[email protected]>
284      above.  
285      (create_wndswitch_event): Execute the dialog.          * wptKeyManagerDlg.cpp (reload_keycache): Use pre-defined
286      * wptMainProc.cpp: (wpt_main_proc): Add new links in the hotkey          sorting order if available.
287      section. Add message entries for the code.          * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use 0x prefix
288      * wptW32API.cpp: (copy_window_to_clip): Moved to the into the OE          for the key ID.
289      mailer code.          (get_pref_cipher): Differ between the AES algorithm IDs.
290      (insert_window_from_clip): Ditto.          (key_is_valid): New.
291      * wptMailPlugin.cpp: (oe_set_message): Insert the new code and add          * wptKeyserverDlg.cpp (check_pattern): Simplified.
292      the event to switch the windows.          
293      (oe_get_message): Ditto.  2006-05-03  Timo Schulz  <[email protected]>
294    
295  2001-04-16  Timo Schulz <[email protected]>          * wptKeyCache.cpp (keycache_prepare2): Fix possible segv.
296            Thanks to Mathias.
297      * wptWndHook,cpp (cbt_proc): Compare process ids to differ between          
298      WinPT and normal windows.  2006-05-02  Timo Schulz  <[email protected]>
299      (install_cbt_hook): Add pid to the context.  
300            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use a
301  2001-04-17  Timo Schulz <[email protected]>          caption for the radio button group.
302            * wptKeyserverDlg.cpp (keyserver_recv_key): Use new code.
303      * wptWndHook.cpp (is_taskbar_wnd): New. Alias to check if the window          * wptKeyserver.cpp (kserver_recvkey, finger_recvkey,
304      belongs to the taskbar area.          ldap_recvkey): Avoid fixed buffers.
305      (is_winpt_wnd): New. Alias to check if the window belongs to WinPT.          (do_spawn_ldap_helper): New.
306      (cbt_proc): Change code to include both functions.          (ldap_recvkey): Factor out code into helper function.
307      * wptCurrWnd.cpp (get_window_contents): Add switch if we use the          * wptPassphraseCBDlg.cpp (passphrase_callback_proc):
308      foreground or the CBT window.          Increase width of the list box to make sure even large
309      * wptMainProc.cpp (wpt_main_proc): All hotkey operations for the          user IDs will be completly displayed.
310      current window mode set the no_cbt variable.          
311      * wptGPG.cpp (keyring_check_last_access): New. Check if the keyring  2006-05-01  Timo Schulz  <[email protected]>
312      was modified by an external program.  
313      * wptKeyMiscDlg.cpp: (keymisc_dlg_proc): Now check for external          * WinPT.cpp (WinMain): Check if the user has admin privileges.
314      keyring changes.          * wptW32API.cpp (user_is_admin): New.
315            * wptKeysigDlg.cpp (sigprops_dlg_proc): Cosmetical changes.
316  2001-04-21  Timo Schulz <[email protected]>          * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use timer
317            to re-activate the window again.
318      * wptWndHook.cpp (install_cbt_hook): Remove the thread because the          * wptKeylist.cpp (get_key_trust2): Differ between "full"
319      system already is into a DLL.          and "ultimate".
320      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Remove checkbutton and use          * wptKeyCache.cpp (keycache_prepare2): Primary user-id
321      instead of it a button to check the key signatures.          has now highest priority.
322      * wptGPG.cpp (get_last_gpg_access): New. Retrieve the file timestamp          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use new utf8
323      from the given gpg object.          system.
324      (check_last_gpg_access): New. Compare the last file timestamp with the          
325      new timestamp.  2006-04-30  Timo Schulz  <[email protected]>
326      (init_gpg_table): New. Initialize the table with gpg objects who shall  
327      be watched.          * wptKeyCache.cpp (gpg_keycache_release): Release revoker
328      (keyring_check_last_access): Use the new code.          list if needed.
329      * wptCurrWnd.cpp (set_window_contents): Restore the window if it is          * wptKeyRevokersDlg.cpp (key_get_revokers): New.
330      now iconic.          (key_revokers_dlg_proc): Expect winpt_key_t. Change all callers.
331      * wptMainProc.cpp (wpt_main_proc): Add decrypt/verify for the          * wptKeyEditDlgs.cpp (check_desig_rev): New.
332      current window stuff.          (do_editkey_minimize): New.
333            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Support to
334  2001-04-22  Timo Schulz <[email protected]>          generate a revoc cert as a desig revoker.
335            
336      * wptGPG.cpp (check_last_gpg_access): Reset switch before testing  2006-04-29  Timo Schulz  <[email protected]>
337      the condition.  
338      * wptFindWnd.cpp (find_child_wnd_proc): New. Callback to enumerate          * wptVerifyList.cpp (verlist_build): Adjusted code for new
339      all children windows.          list view interface.
340      (find_parent_wnd_proc): New. Callback to enumerate all parent windows.          * wptSigList.cpp (siglist_build): Likewise.
341      (find_window): New. Return if the specified windows as found.          * wptKeyEditDlgs.cpp (showpref_dlg_proc): Correct code
342      * wptW32API.cpp: (dialog_box_param): New. Alias with the additional          to display the preferences of the selected UID. Thanks to Mathias.
343      feature to check if the dialog already exist (and then preventing          * wptKeyCacheDlg.cpp (keycache_dlg_proc): Return 1 in case
344      the creation).          of an error.
345      * wptMainProc.cpp (wpt_main_proc): Replace all DialogBoxParam with          * wptKeyCache.cpp (gpg_keycache_update_key): Always update
346      then new dialog_box_param function. Thanks to Martin who told me          the utf8 decoded uid list.
347      about this dialog problem.          * wptImportList.cpp (decode_userid): Do utf8 decoding here.
348      * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Ditto.          * wptListView.cpp (listview_new): New param for HWND handle.
349      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Ditto. Add translation for the          Change all callers.
350      new signature buttons.          * wptFileManager.cpp (fm_add_sig_stat): Use utf8 decoding.
351            * wptGPGUtil.cpp (gpg_revoke_cert): Support --desig-revoker.
352  2001-04-23  Timo Schulz <[email protected]>          * wptClipVerifyDlg.cpp (wptClipVerifyDlg.cpp): Correct
353            keyid extraction.
354      * wptFindWnd.cpp (find_child_wnd_proc): Removed. This functionality          
355      is not needed because all dialog windows are top level windows.  2006-04-28  Timo Schulz  <[email protected]>
356    
357  2001-04-24  Timo Schulz <[email protected]>          * wptMAPI.cpp (mapi_send_pubkey): Use new key struct.
358            * wptKeysigDlg.cpp (sigprops_dlg_proc): Prepare dialog
359      * wptEncryptDlg.cpp (encrypt_dlg_proc): Release the static listview          for handling policy URLs.
360      item and set it to zero.          * wptKeyManagerDlg.cpp (save_column_info, restore_column_info):
361      * wptSignDlg.cpp (sign_dlg_proc): Ditto.          New option KMSortBy.
362      * wptSignEncDlg.cpp (sign_encrypt_dlg_proc): Ditto.          * wptKeylist.cpp (get_key_algo): Lower priority for revoked keys.
363      * wptVerifyDlg.cpp (verify_dlg_proc): Ditto.          * wptKeyEdit.cpp (minimizeKey): New.
364      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Ditto.          * wptKeyCache.cpp (gpg_keycache_update_key): Reload utf8 uid list.
365      (keymisc_dlg_proc): Provide the functionality to delete key pairs          
366      secret+public.  2006-04-27  Timo Schulz  <[email protected]>
367      * wptWndHook.cpp (is_winpt_wnd): Remove this function and put  
368      all code into (check_wnd).          * wptKeyManager.cpp (km_get_key_ptr): New.
369      (check_wnd): Check if the window doesn't is a application related          * wptListview.cpp (listview_get_item_text): Drop utf8 support.
370      window.          * wptKeyCache.cpp (keycache_decode_uids): New.
371            (free_native_uids): New.
372  2001-04-25  Timo Schulz <[email protected]>          * wptKeyEdit.cpp (uid_inf_colon_handler): Do utf8 decodig here.
373            
374      * wptKeySignDlg.cpp (keysign_dlg_proc): Now we use a new GPGME  2006-04-26  Timo Schulz  <[email protected]>
375      callback system to pass the keyedit information to GPG.  
376      * wptKeyTrustDlg.cpp (keytrust_dlg_proc): Ditto.          * wptKeylist.cpp (get_keyid_from_fpr): New.
377            * wptDecryptClipDlg.cpp (clip_decrypt_dlg): Use it here.
378  2001-04-26  Timo Schulz <[email protected]>          * wptVerifyList.cpp (verlist_add_sig): Likewise.
379            
380      * wptKeyEditDlg.cpp (keyedit_dlg_proc): New. Dialog for the various  2006-04-25  Timo Schulz  <[email protected]>
381      edit-key commands.  
382      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Add the button for the edit          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle IDCANCEL.
383      key code.          * wptMDSumDlg.cpp (hash_selected_files): New.
384            (mdsum_dlg_proc): Cleanups.
385  2001-04-27  Timo Schulz <[email protected]>          * wptKeysignDlg.cpp (keysign_dlg_proc): Fix segv.
386            
387      * wptCurrWnd.cpp (get_window_contents): Change the code for the last  2006-04-23  Timo Schulz  <[email protected]>
388      window concept. Thanks to Oliver.  
389      (set_window_contents): Add some stuff to set the position if the          * wptW32API.cpp (SetDlgItemText_utf8): New.
390      current window is an edit control.          (SetWindowText_utf8): New.
391      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Add code for the 'adduid'          (GetDlgItemText_utf8): New.
392      stuff.          * wptListView.cpp (listview_add_sub_item): Internal
393      * wptKeyEditAddUidDlg.cpp: New. (keyedit_adduid_dlg_proc): Code to          utf8 support.
394      create a new user id for a GPG key.          
395    2006-04-22  Timo Schulz  <[email protected]>
396  2001-04-28  Timo Schulz <[email protected]>  
397            * wptKeyEditDlgs.cpp (addrevoker_dlg_proc): Encode
398      * wptGPGME.cpp: New. Move some additional GPGME code into WinPT.          revoker name in UTF8.
399      So it's easier to update GPGME and we can use NLS to translate          * wptKeysigDlg.cpp (keysig_dlg_proc): Fix utf8 problem
400      error strings.          with the window title.
401      * wptVerifyList.cpp (get_sig_date): New. Removed from the GPGME code          
402      because we only use it here.  2006-04-20  Timo Schulz  <[email protected]>
403      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Add the 'change passphrase'  
404      feature to the edit-key interface.          * wptUTF8.cpp (native_to_utf8): Use c++ alloc.
405            * wptKeygenDlg.cpp (keygen_dlg_proc): Do not mix c and
406  2001-04-29  Timo Schulz <[email protected]>          c++ memory allocation.
407            * wptFileManager.cpp (show_verify_result): Show PKA status
408      * wptKeyEditDlg.cpp (clear_dlg_fields): Clear all passphrase items.          if possible.
409      (keyedit_dlg_proc): Free gpgme context. Add the passphrase for the          * wptClipVerifyDlg.cpp (get_pka_status): New.
410      adduid command.          (clip_verify_dlg_proc): Show PKA status if possible.
411      * wptKeyEditAddUidDlg.cpp (keyedit_adduid_dlg_proc): Initialize          * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle IDCANCEL
412      the dialog with a KEY structure that holds the keyid and the userid.          to use ESC to quit the dialog.
413      * wptWndHook.cpp: Remove the global context and use instead of it          * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Also
414      static variables. Put all static variables into the SHARED data          encode the comment in UTF8. Thanks to Werner and Jan.
415      segment in the DLL.          
416    2006-04-16  Timo Schulz  <[email protected]>
417  2001-04-30  Timo Schulz <[email protected]>  
418            * wptHTTP.cpp (getErrorCode): New.
419      * wptClipEditDlg.cpp: Now the dialog uses the Courier font to          (connect): Store winsock error code.
420      enhance the format of keys and other GPG data.          * wptGPGMEData.cpp (is_armor_header): New.
421      * wptKeyserverDlg.cpp (keyserver_dlg_proc): Set the cache realod          * wptGPG.cpp (check_gnupg_engine): Free context.
422      flag after receiving a key.          (gnupg_backup_keyrings): Do not use global vars.
423      * wptKeyTrustDlg.cpp (keytrust_dlg_proc): Add error message when          * wptGPGUtil.cpp (gpg_export_seckey): Export in ascii format.
424      no listbox entry was choosen.          
425      * wptKeySignDlg.cpp (keysign_dlg_proc): Add Check button text to  2006-04-15  Timo Schulz  <[email protected]>
426      the NLS suite.  
427      * wptKeygenDlg.cpp (keygen_dlg_proc): Set the cache reload flag          * wptKeyManager.cpp (km_get_key): New.
428      instead of refresh the keycache.          (km_key_show_revoc_info): New.
429            * wptKeyRevokeDlg.cpp (key_revoke_dlg): Cleanups.
430  2001-05-01  Timo Schulz <[email protected]>          (on_init_dialog): New.
431            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Factour
432      * wptCurrWnd.cpp (wnd_msg_markall): New. Send the CTRL+a key sequence          out some common code and use km_get_key() instead.
433      to a window.          * wptKeyEditDlgs.cpp (do_init_keylist): Change second
434      (wnd_msg_copy): New. Send the CTRL+c key sequence to a window.          param type. Change all callers.
435      (wnd_msg_paste): New. Send the CTRL+v key sequence to a window.          * wptKeyEdit.cpp (addNotation): New.
436      (wnd_msg_em_set_pos): Manipulate an edit multiline control text pos.          * wptKeyEditCB.cpp (editkey_command_handler): Remove 'step'
437      * wptMainProc.cpp (wpt_main_proc): Fix some message string for          param everywhere. Change all callers.
438      the hotkey handling. Quit the program if a registration procedure          
439      failed.  2006-04-09  Timo Schulz  <[email protected]>
440      * wptErrors.cpp (log_box): Improved log handling to dump states  
441      of variables during regression tests.          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Only return true
442            if the homedir value was changed.
443  2001-05-02  Timo Schulz <[email protected]>          * wptGPG.cpp (default_key_from_cache): Only return secret key
444            if public part is available.
445      * wptKeyEditAddSubkeyDlg.cpp: New. Dialog to create additional          (set_gnupg_default_key): Fix NULL problem.
446      subkeys for the mainkeys.          * wptKeyEditDlgs.cpp (do_editkey_clean): Set update flag.
447      * wptKeyEditAddUidDlg.cpp: (keyedit_adduid_dlg_proc): Set foreground          * wptFileCBS.cpp (write_cb, read_cb): Better error handling.
448      window flag.          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle
449      * wptKeyEditDlg.cpp: (keyedit_dlg_proc): Added the code for the          'always-on-top' correctly.
450      addkey feature.          * wptKeylist.cpp (keylist_get_recipients): Allocate enough
451            mem to hold all possible keys.
452  2001-05-04  Timo Schulz <[email protected]>          (keylist_enum_keys): Likewise.
453            
454      * wptKeyTrustDlg.cpp: Renamed to wptKeyEditOwnertrustDlg.cpp.  2006-04-08  Timo Schulz  <[email protected]>
455      * wptKeyEditOwnertrustDlg.cpp (keyedit_ownertrust_dlg):  
456      Move all the GPGME specific code to the main dialog. Now only          * wptKeylist.cpp (keylist_get_recipients): Always use utf8 output.
457      the context values are set.          * wptKeyserver.cpp (kserver_connect): Fixed proxy support.
458      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Include the changed ownertrust          * wptKeyserverSearchDlg.cpp (fetch_keys): New.
459      code.          * WinPT.cpp (WinMain): if the default key was not found, reset
460            the gpg.conf entry.
461  2001-05-05  Timo Schulz <[email protected]>          * wptFileManager.cpp (fm_encrypt_into_zip): Use correct output
462            file name.
463      * wptCurrWnd.cpp (get_curr_wnd): Alternative code to retrieve          (show_verify_result): Always use utf8 output.
464      the current window handle. This code doesn't use the hook DLL.          (get_output_file): Case in-sentensive comparison.
465      Thanks to Oliver Nittka for his patch.          (fm_assume_onepass_sig): Fixed temp file handling.
466      * wptErrors.cpp (winpt_strerror): Fixed a small typo.          * wptClipEncryptDlg.cpp (show_invalid_recipients): Fix utf8
467      * wptGPG.cpp (check_last_gpg_access): Remove debug code.          output.
468      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Change the keycache reloading          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix possible segv.
469      scheme to prevent reloading the cache twice.          
470    2006-04-07  Timo Schulz  <[email protected]>
471  2001-05-08  Timo Schulz <[email protected]>  
472            * wptW32API.cpp (set_clip_text): Change code so it also
473      * wptKeyserver.cpp (wsock_init): Replace the kserver init          works again with non-XP systems.
474      code which initialized the Wsock2 interface.          
475      (wsock_end): Ditto.  2006-04-02  Timo Schulz  <[email protected]>
476      * wptAgent.cpp: Remove the passphrase caching code and add  
477      the GPG agent code.          * wptKeyserver.cpp: decrease general threshold for timeout.
478            * wptKeyEditDlgs.cpp (do_editkey_clean): New.
479  2001-05-09  Timo Schulz <[email protected]>          
480    2006-04-01  Timo Schulz  <[email protected]>
481      * wptAgent.cpp (gpga_writen): Write 'n' bytes into a socket.  
482      (gpga_readn): Read 'n' bytes from a socket.          * wptFileVerifyDlg.cpp (file_verify_use_event): Removed.
483      (gpga_open): Open the interface to the GPG-Agent.          * wptFileManager.cpp (restore_original_name): New.
484      (gpga_close): Close the GPG-Agent socket.          (fm_decrypt): Restore original file name from literal
485      (gpga_clear_passphrase): Clear a passphrase from the GPG-Agent.          packet if possible.
486      (agent_add_fpr): Add a fingerprint to the cache. If WinPT quits,          
487      this keys will be remove from the GPG-Agent cache.  2006-03-31  Timo Schulz  <[email protected]>
488      (agent_delete_fpr): Remove a fingerprint from the cache.  
489      (agent_init): Clear the cache.          * wptCommonDlg.cpp (nls_load_langlist): New.
490      (agent_timer_proc): Remove all stored passphrases which were          (nsl_set_language): New.
491      requested through the chache.          (nls_dlg_proc): New.
492            (select_language): New. Allow user to select the language.
493  2001-05-10  Timo Schulz <[email protected]>          * wptNLS.c (get_gettext_langid): Updated available languages.
494            * WinPT.cpp (WinMain): Allow to select the languag on first
495      * wptFindWnd.cpp (find_window_hwnd): New. Function to retrieve          start in non-installer environments.
496      the handle of the specified window.          * wptVerifyList.cpp (verlist_build): Simplified.
497      * wptAgent.cpp (agent_timer_proc): Changed the agent interface          (verlist_add_sig_log): Likewise.
498      to window messages instead of socket connections.          * wptListview.cpp (listview_set_column_width,
499      * wptMainProc.cpp (wpt_main_proc): Added the new preference dialog          listview_get_selected_item): New.
500      and menu entry.          * wptKeyManager.cpp (gpg_clip_export): Merged into..
501      * wptPreferencesDlg.cpp: New.          (km_clip_export): ..this function.
502            
503  2001-05-11  Timo Schulz <[email protected]>  2006-03-30  Timo Schulz  <[email protected]>
504    
505      * wptMainProc (wpt_main_proc): Change all related menu entries from          * wptW32API.cpp (insert_menu_item): New.
506      Encrypt & sign to Sign & Encrypt. Added the command to the current          * wptSigTreeDlg.cpp (create_popup): Use it.
507      window menu and the handling of the window messages.          (sigtree_dlg_proc): Only show the name of the owner in the title.
508      * wptSignEncDlg.cpp (clip_signenc_dlg_proc): Changed the window text.          * wptMainProc.cpp (init_common_controls): Initialize all
509      * wptRegistry.cpp (set_reg_winpt_prefs): New. Stores all WinPT          common controls here.
510      preferences in the registry.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Drop static
511      (get_reg_winpt_prefs): Read all preferences from the registry into          keyserver menu concept. Add all keyservers dynamically.
512      the options context.          
513      * WinPT.cpp (WinMain): Read in the registry preferences at the begin  2006-03-29  Timo Schulz  <[email protected]>
514      and store it.  
515      * wptAgent.cpp (agent_init): Check if the environment variable          * wptKeyManager.cpp (km_refresh_one_key): Fix problem
516      GPG_AGENT_INFO is set, otherwise set it.          with preferred keyserver.
517      (agent_is_running): Check wether the agent is running.          * wptCommonDlg.cpp (check_URL): Allow non-http URL.
518      (agent_start): Automated function that read all needed information          * wptKeyEditDlgs.cpp (subkey_subclass_proc,
519      from global variables.          uid_subclass_proc): Disable shortcuts for non keypairs.
520            * wptMainProc.cpp (winpt_main_proc): No user interaction
521  2001-05-12  Timo Schulz <[email protected]>          on automatic shutdown. Thanks to Werner.
522            * wptGPGUtil.cpp (xcalloc): New.
523      * wptMainProc.cpp (wpt_main_proc): Start the agent before the decryption          (gpg_rebuild_cache): Use --batch.
524      call.          
525    2006-03-26  Timo Schulz  <[email protected]>
526  2001-05-13  Timo Schulz <[email protected]>  
527            * wptSigTreeDlg.cpp (sigtree_load): Always use UTF8.
528      * wptRegistry.cpp (set_reg_key): Open a subkey, if it doesn't exist          * wptMainProc.cpp (winpt_main_proc): Reload key cache
529      the function create it.          when the GPG settings were changed.
530      (set_reg_winpt_prefs): Use the new function to set the subkey values.          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc,
531      All functions now return WPTERR_REGISTRY instead of 1.          keygen_dlg_proc): Improved check for the email address.
532      Add some error handling to prevent errors in the registry.          * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Likewise.
533      * wptPreferencesDlg.cpp (preferences_dlg): Add the code for the Clipboard          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Modified design.
534      hotkeys and the caching time.          
535    2006-03-22  Timo Schulz  <[email protected]>
536    
537  2001-05-18  Timo Schulz <[email protected]>          * wptClipSignDlg.cpp (on_init_dialog): New.
538            Check that there is at least one useable signing key.
539      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Check the state of the various          * wptSigTreeDlg.cpp (sigtree_load): Correct UTF8 handling.
540      edit key commands. In the case the dialog was canceled, return without          * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Show error
541      modifying anything.          if needed.
542      * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Check the state of the          
543      signature. If it doesn't contain a valid key, do nothing.  2006-03-21  Timo Schulz  <[email protected]>
544      * wptMainProc: (wpt_main_proc): If the hotkey setup doesn't work, don't  
545      quit the program. In some cases the hotkeys are possible locked.          * wptUTF8.cpp (native_to_utf8): Use directly W32 API.
546      * WinPT.cpp (WinMain): If there is an error with the gpg program/path,          (utf8_to_native): Likewise. Remove cp850 conversion.
547      give the user the chance to start the GPG preference dialog.          * wptKeyEditDlgs.cpp (do_find_userid): Correct UTF8 handling.
548      * wptPreferencesDlg.cpp (preferences_dlg_proc): Added the CWS hotkey          * wptKeyManager.cpp (km_delete_keys): Do not reset 'with_seckey'
549      support. Flag to disable all hotkeys. Reload new hotkeys (in the case          flag.
550      they changed). Load the registry entry on startup.          
551      * wptHotkey.cpp (mod_hotkeys): Overwrite the default hotkeys with the  2006-03-20  Timo Schulz  <[email protected]>
552      stored registry entries.  
553            * wptUTF8.cpp (get_native_charset): Removed.
554  2001-05-19  Timo Schulz <[email protected]>          (utf8_to_native): Rewritten.
555            * wptKeyEditDlgs.cpp (do_add_new_userid): Correct charset
556      * wptPreferencesDlg.cpp (preferences_dlg_proc): If the disable hotkey          handling.
557      flag is set, also disable all input items.          * wptKeygenCBDlg.cpp (keygen_cb): Do proper reset if needed.
558      (disable_dlg_item): New. Disable dialog items (windows).          
559      * wptMainProc.cpp (wpt_main_proc): Only set hotkeys if the no_hotkeys  2006-03-16  Timo Schulz  <[email protected]>
560      flag isn't set.  
561      * wptKeyserverDlg.cpp (send_key): Forget to set the armor flag, as          * wptMainProc.cpp (winpt_main_proc): Disable all CryptDisk code.
562      a result the code only sended parts of the key.          * wptCryptDisk.cpp: Disable code.
563      * wptConfig.cpp: Removed. Not used any longer.          * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): Support for
564            NONE proxy protocol.
565  2001-05-20  Timo Schulz <[email protected]>          (init_proxy_procotol): Likewise.
566            (read_proxy): Likewise.
567      * wptGPG.cpp (check_gpg_optfile): Count each of the keyring entries          * wptKeyserverSearchDlg.cpp (on_init_dialog): New.
568      to figure out if both parts are available.          (keyserver_search_dlg_proc): Use it here.
569            * wptKeyserverDlg.cpp (hkp_send_key): Use GPGME wrapper.
570  2001-05-21  Timo Schulz <[email protected]>          * wptKeyserver.cpp (kserver_search_end): New.
571            (kserver_search_begin): Be more strict on mem allocation.
572      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Add new button for userid          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix 'redraw'
573      management.          problem.
574      * wptKeyUidDlg.cpp (keyuid_dlg_proc): Finished code to show all userids          * wptAboutDlgs.cpp (about_dlg_proc): Hide 'Help' button.
575      from a special key.          
576    2006-03-12  Timo Schulz  <[email protected]>
577  2001-05-25  Timo Schulz <[email protected]>  
578            * wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'.
579      * wptKeyUidDlg.cpp (keyuid_dlg_proc): Add button to delete a choosen          * wptKeyPropsDlg.cpp (display_key_info): Automatically update
580      user id. End the dialog if there was an error during the Gpgme operations.          sym algorithm preferences if needed.
581      * wptClipboard.cpp (clip_istext_avail): First check if the pointer is          * wptKeysignDlg.cpp (date_is_today): New.
582      valid and then look at the length. Avoid crashes for some texts.          (keysign_dlg_proc): Only allow to set cert expire date if
583            the option was found.
584  2001-05-27  Timo Schulz <[email protected]>          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set
585            'ask-cert-expire'.
586      * wptRegistry.cpp (set_reg_winpt_prefs): Add word wrapping.          
587      (get_reg_winpt_prefs): Ditto.  2006-03-10  Timo Schulz  <[email protected]>
588      * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Set focus after the  
589      gpg process finished.          * wptHTTP.c: deleted.
590      * wptSigList.cpp (siglist_add_key): Parse the numeric timestamp to          * wptHTTP.cpp (wHTTP): Transformed old code into an object.
591      a humand readable date.          * wptKeyManager.cpp (km_http_import): Use new code.
592            (km_refresh_one_key): Use preferred keyserver if possible.
593            * wptComonDlg.cpp (check_URL): Better conformance checking.
594  2001-06-01  Timo Schulz <[email protected]>          * wptKeyEditCB.cpp (cmd_keyserver_handler): By default
595            set keyserver for all userids.
596      * wptKeyEditDlg.cpp (keyedit_dlg_proc): IDC_KEYEDIT_OWNERTRUST:          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Enable code
597      Release context in the case of an error.          to set preferred keyserver.
598      * wptMainProc.cpp (wpt_main_proc): Fix typo.          * wptKeyCache.cpp (decode_subpacket): New.
599      * wptGPG.cpp: (init_gpg_table): Remove the case code. Now we use          (gpg_keycache_update_attr): New.
600      a static gpg object array that contains all filenames.          * wptGPGUtil.cpp (gpg_find_key_subpacket): New.
601            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Use
602            -1 as an index for all userids.
603  2001-06-04  Timo Schulz <[email protected]>          
604    2006-03-07  Timo Schulz  <[email protected]>
605      * wptClipImportDlg.cpp (clip_import_dlg_proc): Added the code for  
606      the improved import status.          * WinPT.cpp (set_default_keyserver): New.
607            * wptKeyserver.cpp (kserver_set_socket_timeout): New.
608            (kserver_set_default_keyserver): Initialize default settings
609  2001-06-05  Timo Schulz <[email protected]>          if needed.
610            * wptSymEnc.cpp (gpg_encrypt_symmetric): Disallow empty passwords.
611      * wptAboutGPGDlg.cpp (about_gpg_dlg_proc): Check if the returned          * wptPassphraseDlg.cpp (request_passphrase): Handle new flag.
612      buffer is valid. Remove the fixme, because it's possible that there          (passphrase_dlg_proc): Support new safe edit window procedure.
613      were new cipher modules loaded.          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
614      * wptClipDecryptDlg.cpp (passphrase_callback_proc): Check if the          * wptPreferencesDlg.cpp (prefs_dlg_proc): Flush passphrase cache
615      context is valid.          if user disable it.
616      * wptClipEditDlg.cpp (clip_edit_dlg_proc): Check if the context is valid.          * wptKeylist.cpp (keylist_build): Do not scale images but use
617      * wptW32API.cpp (status_box): New. Message box that is always forced          original size.
618      to the foreground.          * wptListView.cpp (listview_set_image_list): New size params.
619            Change all callers.
620  2001-06-07  Timo Schulz <[email protected]>          
621    2006-03-01  Timo Schulz  <[email protected]>
622      * wptOwnertrustDlg.cpp (ownertrust_dlg_proc): Set to foreground,  
623      add windows title.          * wptW32API.cpp (set_clip_text): Free all memory.
624            
625  2001-06-08  Timo Schulz <[email protected]>  2006-02-27  Timo Schulz  <[email protected]>
626    
627      * wptHotkey.cpp (mod_hotkeys): Change code to support the new          * wptSOCKS.cpp (socks_handshake): New.
628      registry style.          * wptMainProc.cpp (winpt_main_proc): A dbl-click forces
629      * wptRegistry.cpp (get_reg_winpt_prefs): Support to disable          the key manager in teh foreground if possible.
630      single hotkeys. Suggested by Jonathan.          * wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys.
631      * wptPreferencesDlg.cpp (preferences_dlg_proc): Support to disable          * wptRegistry.cpp (get_reg_proxy_prefs,
632      single hotkeys.          set_reg_proxy_prefs): Use directly the proxy context.
633      * wptKeyserver.cpp (kserver_connect): Reset winsock error var.          Changed all callers.
634      (keyserver_recv): Ditto.          * wptProxySettingsDlg.cpp (init_proxy_protocols): New.
635      (keyserver_send): Ditto.          (keyserver_proxy_dlg_proc): Use directly the proxy context.
636      (wsock_strerror): Returns a description of the winsock problem.          * wptKeyserver.cpp (kserver_connect): Better proxy support.
637      * wptClipboard.cpp (clip_get_pgp_type): Check if the returned buffer          (kserver_send_request, kserver_recvkey_request): Likewise.
638      is valid.          * wptKeyserverDlg.cpp (name_from_proto): New.
639            (set_proxy): Adjusted for the new code.
640  2001-06-10  Timo Schulz <[email protected]>          
641    2006-02-26  Timo Schulz  <[email protected]>
642      * wptHotkey.cpp (enable_hotkey): New. Set enable flag for a single  
643      hotkey.          * WinPT.cpp (WinMain): Removed hotkey_modify() code.
644      (mod_hotkeys): Take care of the enable flags.          * wptKeyEditDlgs.cpp (is_idea_protect_algo): Better support
645      (register_hotkeys): Ditto.          v4 keys.
646      (unregister_hotkeys): Ditto.          * wptKeyserver.cpp (sock_getline): Skip '\r'.
647      * WinPT.cpp (WinMain): If the registry entry of WinPT doesn't exist,          (base64_encode): Remove @maxlen param. Changed all callers.
648      don't try to modify hotkeys.          (finger_readline): Removed.
649      * WptMainProc.cpp (wpt_main_proc): All message boxes are forced to          (finger_recvkey): Use internal functions.
650      the foreground.          * wptSigTreeDlg.cpp (sigtree_dlg_proc): Support a context menu.
651            (show_sigprops): New.
652  2001-06-12  Timo Schulz <[email protected]>          (create_popup): New.
653            * wptPreferenceDlg.cpp (prefs_dlg_proc): Cache amount is
654      * wptPreferencesDlg.cpp (check_hotkey): Check if the hotkey key is          now in minutes.
655      a big letter, otherwise convert.          * wptRegistry.cpp (get_winpt_reg_prefs, set_winpt_reg_prefs):
656      (preferences_dlg_proc): Check hotkeys.          Change code to use hotkeys directly.
657      * wptKeylist.cpp (add_keys): Static functions to add a single key.          * wptHotkeys.cpp (hotkeys_enable, hotkey_disable): Likewise.
658      (keylist_add_key): Now it adds all subkeys to the dialog.          
659      (keylist_alloc): Remove because it's not needed any longer.  2006-02-24  Timo Schulz  <[email protected]>
660      * wptImportList.cpp (implist_alloc): Ditto.      
661      * wptSigList.cpp (siglist_alloc): Ditto.          * wptGPG.cpp (set_gnupg_default_key): Allow to remove entry
662      * wptVerifyList.cpp (verlist_alloc): Ditto.          when parameter is NULL.
663            * wptKeyManager.cpp (check_exist_default_key): New.
664  2001-06-15  Timo Schulz <[email protected]>          (km_delete_keys): Check if the default key is still valid,
665            if not delete entry.
666      * wptKeylist.cpp (keylist_add_key): Change encrypt param to mode.          * wptSigTreeDlg.cpp (sigtree_dlg_proc): Forgot to localize
667      Differ between the new keylist styles.          button.
668      * wptGPGME.cpp (keycache_xxx): Move the caching interface to this          
669      file. For an easier handling between dialogs and code.  2006-02-21  Timo Schulz  <[email protected]>
670      (keycache_rewind): New. Rewind a global keycache context.  
671      (keycache_next_key): New. Retrieve the next key from the keycache.          * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Minor
672      (get_default_key): New. Return the default key, this is the secret          cleanups.
673      key with the index 0.          * wptGPGUtil.cpp (file_extract_recipients): New.
674      * wptClipSignDlg.cpp (clip_sign_dlg_proc): Modify the default key          (clip_extract_recipients): New.
675      handling. Now the signer is set in any case. Prevent hanging GPG          (gpg_get_recipients): New.
676      processes.          * wptPassphraseCB.cpp (passphrase_callback_proc): Support
677      * wptSecmem.cpp (vm_safe_init): New. Initialize the safe memory.          external recipient listings.
678      (vm_safe_init_noswap): New. Initialize safe memory with tail data.          
679      See source for more information.  2006-02-15  Timo Schulz  <[email protected]>
680      (vm_safe_free): New. Free all used pointer and burn all buffers.  
681      (vm_safe_get): New. Get the begin of the alloced buffer.          * wptKeysignDlg.cpp (keysign_dlg_proc): Localize new checkbox.
682      (vm_safe_set_swapfile): New. Set global swapfile name.          * wptFileStatDlg.cpp (get_s2k_algo): New.
683      (vm_safe_create_swapfile): New. Creats a swapfile and set its          * wptFileManagerDlg.cpp (update_status_bar): Use human readable
684      contents to zero.          formats.
685            
686  2001-06-16  Timo Schulz <[email protected]>  2006-02-14  Timo Schulz  <[email protected]>
687    
688      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Added missing return.          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'.
689      Corrected return values.          * wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'.
690      * wptErrors.cpp (winpt_strerror): Removed all unused error strings.          * wptFileManager.cpp (fm_sym_encrypt): Set cancel.
691      * wptGPG.cpp (get_gpg_path): Change to default path and prevent          (fm_parse_files): Handle cancel.
692      buffer overflows.          
693      (get_gpg_prog): Ditto.  2006-02-10  Timo Schulz  <[email protected]>
694    
695            * wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars.
696  2001-06-17  Timo Schulz <[email protected]>          * wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t
697            for the dialog param.
698      * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Force to use the          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list
699      default key for signing.          signature dialog by default.
700            * wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly
701  2001-06-18  Timo Schulz <[email protected]>          gpgme_key_sig_t as param.
702            (keysig_dlg_proc): Change param for property dialog.
703      * wptKeyserver.cpp (check_hkp_response): More detailed error check          * wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids
704      of the http response.          and use icons.
705      (kserver_send_request): Debug mode now uses logfile.          (sigtree_dlg_proc): Allow to execute old list dialog to
706      (kserver_recv_request): Ditto.          edit the signatures.
707      (kserver_index_request): New. Create a request for a key index.          
708      (kserver_send): Now uses check_hkp_response.  2006-02-09  Timo Schulz  <[email protected]>
709      (kserver_recv): Ditto.  
710      (kserver_search): New. Start the key index loop.          * wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode.
711      * wptKeyserverDlg.cpp (recv_key): Check if the key was really          * wptNLS.c (gettext_localize_dialog): New.
712      imported and received.          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button
713            to avoid to reload the key cache.
714  2001-06-22  Timo Schulz <[email protected]>          * wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal'
715            list mode.
716      * wptHKPSearchDlg.cpp (hkpsearch_dlg_proc): New. Dialog to perform          * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
717      keyserver seraching. As an additional feature it's also posible to          * wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog
718      import the keys directly.          initiation code to this function.
719            (prefs_dlg_proc): Use it here.
720  2001-06-23  Timo Schulz <[email protected]>          
721    2006-02-07  Timo Schulz  <[email protected]>
722      * wptGPG.cpp (get_gpg_default_keyid): Determine the keyid with the  
723      options file.          * wptKeyEdit.cpp (setNoPassphrase): New.
724            (getValidDays): New.
725  2001-06-24  Timo Schulz <[email protected]>          * wptKeysignDlg.cpp (keysign_dlg_proc): Check on init
726            if the key is protected.
727      * wptGPG.cpp (get_gpg_path): Add null termination to the string.          * wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle
728      Thanks to Jonathan who pointed this out.          keys without a passphrase.
729      (get_gpg_prog): Ditto.          (keyedit_addrevoker_dlg_proc): Likewise.
730      (gpg_check_file_ext): Check the file extension for the given GPG          
731      type.  2006-02-04  Timo Schulz  <[email protected]>
732      (get_gpg_default_keyid): Return null if there isn't an entry in the  
733      options file.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for
734      * wptKeylist.cpp (add_key): Fixed the wrong return codes of listview_xxx          at least one ultimately trusted key.
735      style functions.          * wptKeyManager.cpp (km_refresh_key_from_keyserver):
736      * wptImpList.cpp (implist_add_key): Ditto.          Only check inet connection if we refresh all keys.
737      * wptSigList.cpp (siglist_add_key): Ditto.          * wptGPGUtil.cpp (gpg_extract_keys): New.
738      * wptVerifyList.cpp (verlist_add_key): Ditto.          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode.
739            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
740  2001-06-25  Timo Schulz <[email protected]>          * wptClipSignDlg.cpp (get_selected_key): New.
741            (one_key_proc): Use it here.
742      * wptKeylist.cpp (keylist_load): New. Initialize a keylist item with          (count_useable_seckeys): New.
743      the contents from the given cache context.          * wptSigTreeDlg.cpp (sigtree_dlg_proc): New.
744      (keylist_add_to_recipients): New. Add the selected keys to the          * wptKeyEditDlgs.cpp (diff_time): Removed.
745      recipient set.          (w32_mktime): New.
746      * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use the new keylist          (keyedit_addsubkey_dlg_proc): Use it here.
747      function to load the listview.          
748      * wptClipExportDlg.cpp (clip_export_dlg_proc): Ditto.  2006-02-02  Timo Schulz  <[email protected]>
749      * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.  
750      * wptClipDecryptDlg.cpp (parse_gpg_describtion): Beautify the userid          * wptW32API.cpp (get_temp_name): New.
751      and the keyid hint.          * wptKeyserver.cpp (ldap_recvkey): Use it here.
752            * wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise.
753  2001-06-27  Timo Schulz <[email protected]>          * wptGPGUtil.cpp (create_tempfile): Likewise.
754            * wptImportList.cpp (implist_load): Likewise.
755      * wptRFC2440.cpp (get_pkt_type): New. Extract the OpenPGP packet type.          * wptKeyCache.cpp (parse_attr_data): Likewise.
756      (get_pkt_len): New. Extract the OpenPGP packet length.          (w32_tempfile): Removed.
757      (parse_pke_sesskey): Read a public key encrypted session key          * wptGPGME.cpp (check_ultimate_trusted_key): New.
758      but without data.          
759      * wptFilemanagerDlg.cpp (quote_filename): Do some quotings if the  2006-01-31  Timo Schulz  <[email protected]>
760      filename contains spaces. Just to make GPG happy.  
761      (file_manager_dlg_proc): Check if the file exist after encryption.          * wptMainProc.cpp (winpt_main_proc): Fix usage of the
762      * wptFile.cpp (get_keyid_from_file): Checks the file for an valid          help system.
763      packet and then extract the keyid.          * wptListView.cpp (listview_set_chkbox_style): New.
764            (listview_get_item_state): Support new checkbox style.
765  2001-06-28  Timo Schulz <[email protected]>          (listview_new): Reset flag var.
766            * wptKeylist.cpp (keylist_build): Support new checkbox style.
767      * wptRFC2440.cpp (get_pkttype): Renamed from get_pkt_type and all new          
768      flag variables to support RFC1991.  2006-01-30  Timo Schulz  <[email protected]>
769      (get_rfc2440_pktlen): Renamed from get_pkt_len to support RFC1991.  
770      (get_rfc1991_pktlen): Ditto.          * WinPT.cpp (check_readonly_attr): New.
771            (load_gpg_env): Use it here.
772  2001-06-29  Timo Schulz <[email protected]>          (WinPT): Make the the default key is searched in the
773            secret key cache.
774      * wptClipEditDlg.cpp (clip_edit_dlg_proc): Fix a small bug that prevent          Change error message.
775      to send data to the clipboard.          * wptRegistry.cpp (regist_int_winpt): Make sure
776      * wptMainProc.cpp (wpt_main_proc): Change the SetForegroundWindow to          the register extension is only offered once to the user.
777      destroy the window immediately.          * wptKeyPropsDlg.cpp (get_photo_tmpname): Always use
778      * wptKeyserver.cpp (kserver_getip): Removed.          temp directory. Fixed a privilege problem.
779      (kserver_get_langname): Removed.          
780      (kserver_load_conf): New. Load the keyserver.conf file and set the  2006-01-29  Timo Schulz  <[email protected]>
781      included keyserver addresses into the global context.  
782      * WinPT.cpp (WinMain): Add the kserver_load_conf to intialize the          * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC
783      keyserver context.          to quit dialog.
784      * wptImplist.cpp (get_key_date): New. Transform integer timestamp          * wptKeysignDlg.cpp (sig_class_dlg_proc): More space for
785      to ISO date.          translations. Directly return sig class.
786      (implist_add_key): Now it uses the context instead of all single          (keysign_dlg_proc): Change msgbox title.
787      variables.          * wptKeyEdit.cpp (signUserid): New.
788            (getUseridIndex): New.
789  2001-06-30  Timo Schulz <[email protected]>          (getKeyIndex): New.
790            (getSigIndex): New.
791      * wptFilemanagerDlg.cpp (file_manager_dlg_proc): Uses the new passphrase          (clear): New.
792      code.          * wptKeyEditCB.cpp (cmd_sign_handler): Allow to select
793      * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.          user-id first.
794      * wptClipSignEncDlg.cpp (clip_sign_dlg_proc): Ditto.          * wptKeyEditDlgs.cpp (lookup_cmd): New.
795      * wptFileManager.cpp: New. (fm_build): New. Initialize the filemanager.          (do_editkey_sign_userid): New.
796      (fm_delete): New.          (do_init_cmdlist): Differ between key pairs and public keys
797      (fm_encrypt): New.          and allowed actions.
798      (fm_get_current_pos): New.          (keyedit_change_ownertrust): Show msgbox on success.
799      (fm_get_file_type): New.          (get_default_key): New.
800      (fm_add_dropped_files): New.          * wptPassphraseDlg.cpp (request_passphrase): Reset @cancel.
801            
802  2001-07-01  Timo Schulz <[email protected]>  2006-01-27  Timo Schulz  <[email protected]>
803    
804      * wptFileManager.cpp (fm_verify): New.          * WinPT.cpp (WinMain): Set minimal list mode as default.
805      (fm_decrypt): New.          * wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys.
806      * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): New.          
807    2006-01-25  Timo Schulz  <[email protected]>
808    
809  2001-07-04  Timo Schulz <[email protected]>          * wptRegistry.cpp (get_reg_entry_gpg): Return NULL if
810            the key exist with no value.
811      * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Auto retrieve key          * wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string.
812      if the user agree.          * wptKeysignDlg.cpp (do_fill_seclist): Select the
813      * wptKeylist.cpp (keyload_load): Use the mode from the param, not          default key if possible.
814      the hardcoded.          * wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly
815      * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Load options file on startup.          return the choice.
816      Rename 'load' to 'reload' to make sense with the new code.          * wptKeylist.cpp (get_key_desc): New.
817      * wptHotkeys.cpp (mod_hotkeys): Rewrite the entire code for the          (keylist_upd_key): Free memory.
818      registry stuff.          * wptKeyCache.cpp (gpg_keycache_get_default_key): New.
819      * wptRegistry.cpp (set_reg_winpt_prefs): Ditto.          (gpg_keycache_set_default_key): New.
820      (get_reg_winpt_prefs): Ditto.          * WinPT.cpp (gpg_prefs_ok): New.
821      (regist_inst_winpt): Remove the old code.          (WinMain): Only start gpg prefs if needed.
822      (register_single_filetype): Replacement for the old code.          
823    2006-01-24  Timo Schulz  <[email protected]>
824  2001-07-05  Timo Schulz <[email protected]>  
825            * wptKeyManager.cpp (km_dropped_file_import): New.
826      * wptHotkey.cpp (mod_hotkeys): Fix a small typo.          * wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow
827            to drop files and try to import them.
828  2001-07-11  Timo Schulz <[email protected]>          (keymanager_dlg_proc): Pass kmi as opaque to the subclass
829            proc.
830      * wptKeyserver.cpp (wsock_strerror): If it's an unknown error, add          
831      the integer.  2006-01-23  Timo Schulz  <[email protected]>
832      (keyserver_create_conf): Create a config file instead of the error.  
833      * wptGPG.cpp (create_gpg_options): If the file doesn't exist create          * wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output
834      a default file. This prevents confusing error messages.          to the clipboard.
835      (get_gpg_options): Use new code.          * wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New.
836      * wptErrors.cpp (winpt_debug_msg): Improved debug message that tells          (do_editkey_enable_disable): New.
837      the user how to find the files.          * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not
838            close the dialog if the user cancelled the ownertrust dialog.
839  2001-07-12  Timo Schulz <[email protected]>          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate
840            an update of any value.
841      * wptClipDecryptDlg.cpp (clip_decrypt_dlg): If the dialog was canceled,          
842      just quit without any messages. Suggested by Rich.  2006-01-21  Timo Schulz  <[email protected]>
843    
844            * wptKeyCache.cpp (keycache_next_key): Handle the case
845  2001-07-13  Timo Schulz <[email protected]>          that there is a secret key without a public part.
846            * wptKeyserver.cpp (kserver_save_conf): Save ports.
847      * wptKeyserver.cpp (kserver_send_request): Add the "keytext" string to          * wptKeyserverDlg.cpp (keyserver_modify_dlg_proc):
848      the request. Arggg!          Reset keyserver name.
849      (check_hkp_response): Add flag to differ between 'send' and 'recv' mode.          * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate
850            an update, do not update the cache.
851            * wptFileManagerDlg.cpp (file_import_dlg_proc): Use one
852  2001-07-14  Timo Schulz <[email protected]>          dialog for both clipboard and file imports.
853            * wptKeyManager.cpp (km_file_import, km_clip_import):
854      * wptKeylist.cpp (keylist_add_key): Check for secret keys before adding          Changes to support new update system.
855      it to the signing keylist.          (gpg_clip_import): New.
856      * wptClipSignDlg.cpp (clip_sign_dlg_proc): Add newline if the passphrase          * wptKeyManagerDlg.cpp (km_gui_import): New.
857      is empty.          (find_keypos): Rewritten.
858      * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.          (refresh_keylist): Improved error checking.
859            
860    2006-01-20  Timo Schulz  <[email protected]>
861  2001-07-17  Timo Schulz <[email protected]>  
862            * wptKeyCache.cpp (w32_tmpfile): New.
863      * wptKeylist.cpp (keylist_build_small): Support for a minimal keybox          (parse_attr_data): Use it here.
864      and increment the 'cols' variable inside the structure for further use.          * wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var.
865      (add_key): Watch for the 'cols' variable to figure out how much columns          
866      are used.  2006-01-19  Timo Schulz  <[email protected]>
867      * wptListView.cpp (listview_set_ext_style): Set an extended style for  
868      the given listview.          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not
869      * wptKeyserverDlg.cpp (keyserver_dlg_proc): Use WM_NOTIFY to save the          reload the entire cache, just update the key.
870      selected server.          * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise.
871      * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.          * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag.
872      * wptKeyserver.cpp (kserver_connect): IP address support. This is faster          * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
873      and no DNS lookup is needed.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
874            if need after showing the properties.
875  2001-07-19  Timo Schulz <[email protected]>          * wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
876            * wptKeyManager.cpp (km_import_file): New param. Changed
877      * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Support for more          all callers.
878      detailed error messages in the case for a missing key or an included          (km_import_clip): Likewise.
879      signature.          (delete_keys_from_cache): Delete secret part if available.
880            * wptClipImportDlg.cpp (print_import_status): If there
881  2001-07-20  Timo Schulz <[email protected]>          are too many new keys, use reload code.
882            
883      * wptKeyserver.cpp: (kserver_send_request): Correct the octect length  2006-01-18  Timo Schulz  <[email protected]>
884      of the request.  
885      (check_hkp_response): If an error ocurred, copy the error message into          * wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume
886      the static buffer.          the self sig is always index 0. Noted by Kurt.
887      (kserver_strerror): Interface for the static error buffer.          * wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume
888      * wptKeyserverDlg.cpp (hkp_err_box): Generates a HKP specific message          the key user-ID contains an email address.
889      box.          * wptKeyEditDlgs.cpp (do_find_userid): Likewise.
890      (hkp_send_key): Add more verbose messages at the end.          (do_editkey_deluid): Likewise.
891      (hkp_recv_key): Ditto.          (do_editkey_revuid): Likewise.
892      (check_pattern): Rewrote the entire code to be more bug proof.          
893      * wptKeylist.cpp (keylist_add_to_recipients): Add a flag to indicate  2006-01-18  Timo Schulz  <[email protected]>
894      that the recipient list contains untrusted entries.  
895      * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use the new flag to          * wptListview.cpp (listview_del_sel_items): Fixed index
896      force GPG to add the need options.          calculation. This fixed a lot of problems with the KM listview
897      * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.          update.
898            (listview_del_all): Renamed to...
899  2001-07-21  Timo Schulz <[email protected]>          (listview_del_all_items): ..this. Changed all callers.
900            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh
901      * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): Set cancel mode in          list when file import contained new/updated keys.
902      the case of IDCANCEL.          * wptKeyManager.cpp (km_file_import): Indicate if the
903      * wptFileSignDlg.cpp (file_sign_dlg_proc): Ditto.          import contained any new/update keys.
904      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Check if the key is a key pair          * wptClipImportDlg.cpp (print_import_status): Just mark
905      pair and only if activate the passphrase dlg items.          keys which actually changed.
906      Do sanity checks for all buttons that require key pairs.          
907      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Support the new code.  2006-01-17  Timo Schulz  <[email protected]>
908        
909  2001-07-22  Timo Schulz <[email protected]>          * wptMAPI.cpp (mapi_send_pubkey_ext): New.
910            * wptKeysigDlg.cpp (do_delsig): Just flag the key, do not
911       * wptKeyPrefsDlg.cpp (keyprefs_dlg_proc): New.          update it.
912       (get_key_created): New. Transform ulong timestamp to ascii.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more
913       (get_key_algo): New. Returns a formatted algorithm (depend on subkeys).          careful about const pointers.
914       (get_key_size): New. Returns a formatted size depend (depend on subkeys).          * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to..
915       * wptSigList.cpp (siglist_add_key): Fix the timestamp.          (get_subkey_keyid): ..this. Fix problem that key was updated
916       * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Removed "list sigs" and replace          twice and this corrupted.
917       this with list trust path.          (keyedit_add_subkey): Set @lv item in the callback context.
918       * wptKeySigDlg.cpp (keysig_dlg_proc): Remove the set_check_mode function          
919       because we always check the signatures.  2006-01-16  Timo Schulz  <[email protected]>
920       * wptKeyTrustPathDlg.cpp (keytrust_dlg_proc): New.  
921                * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore
922  2001-07-24  Timo Schulz <[email protected]>          window if it lost focus during the operation. Thanks to Kurt.
923            Update keylist when the window is enabled.
924      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Get new cache context after          (find_keypos): New.
925      reloading the keycache. Fixed the memory leaks. Thanks to Andreas.          * wptKeyCache.cpp (keycache_next_key): Reset update status.
926      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Better GPGME callback to inform          (gpg_keycache_next_updated_key): New arg @r_status. Change all
927      the user about errors.          callers.
928      * wptKeyTrustPathDlg.cpp (copy_trust_item): New. Copy the GPGME structure          (gpg_keycache_update_key): Different status for new and updated.
929      in our own context.          Include key signatures.
930      (treeview_insert_item): New. Handy function to insert an entry.          * wptClipImportDlg.cpp (print_import_status): Mark all
931      (treeview_create_child_item): New. Insert a trustlist node.          imported keys.
932      (treeview_add_trustpath): New. Add recursively the whole trust path          * wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist.
933      int the tree view.          Thanks to Kurt.
934      * wptKeysigDlg.cpp (check_for_missing_keys): New. Checks if the          * wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys.
935      signature list contains entries with a NOKEY status.          (do_delsig): Directly reload key. Thanks to Kurt.
936      (recv_missing_keys): New. Receive all keys with a NOKEY as the signature          * wptGPGME.cpp (keycache_set_reload, keycache_get_reload):
937      status.          Removed.
938      * wptImportList.cpp (implist_load): New. Initialize the listview item          * wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system.
939      with an import overview.          * wptClipImportDlg.cpp (clip_import_dlg_proc): Return
940      * wptClipImportDlg.cpp (clip_import_dlg_proc): Use implist_load instead          FALSE if no keys were updated or operation was cancelled.
941      of the code.          * wptCommonDlg.cpp (http_dlg_proc): Fix title selection code.
942      (print_import_status): Summarize the results. We need this because file          * wptKeylist.cpp (get_ext_validity): Handle disabled keys.
943      import needs the same function.          * wptKeyPropsDlg.cpp (keyprops_dlg_proc):
944      * wptFileImportDlg.cpp (file_import_dlg_proc): New. Interface for the          Do not allow to change ownertrust of invalid keys.
945      file manager.          Changed translation.
946      * wptFileManagerDlg.cpp (file_manager_dlg_proc): New code for the key          Slightly different user interface.
947      import from file.          
948      * wptFileManager.cpp (fm_import): New. Ditto.  2006-11-14  Timo Schulz  <[email protected]>
949      * wptKeyserver.cpp (kserver_connect): Take care for some return values  
950      and set the socket to non blocking mode.          * wptW32API.cpp (make_special_filename): New.
951      Moved the Winsock2 init code to wptMainProc.cpp          * wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs):
952      * wptMainProc.cpp (wpt_main_proc): Wsock2 code.          Removed 'KeyServer' item.
953      * wptHKPSearchDlg.cpp (hkpsearch_dlg_prog): Remove Wsock2 init code.          * wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver
954            config item.
955  2001-07-25  Timo Schulz <[email protected]>          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group
956            window until we really use it.
957      * WinPT.cpp (WinMain): Add a sanity check for the keycache to detect          * wptKeyserver.cpp (kserver_save_conf): New.
958      serious GPG errors.          (wsock_end): Save keyserver config file.
959      * wptFileManager.cpp (fm_sym_encrypt): New. Symmetric encryption.          * wptKeyserverDlg.cpp (keyserver_edit): New.
960      Suggested by Graham.          (keyserver_remove): New.
961      (fm_decrypt): Change code to support symmetric decryption.          (keyserver_add): New.
962      (fm_get_file_type): Fixed some typos.          (fill_keyserv_types): New.
963            (keyserver_modify_dlg_proc): New.
964  2001-07-26  Timo Schulz <[email protected]>          (keyserver_dlg_proc): Provide context menu to modify the
965            keyserver list.
966      * wptGPG.cpp (check_gpg_keyring): New. Check if a gpg keyring          (keyserver_build_list): Remove 'proto' column because it is
967      exists. Useful if the keyring was moved during some commands.          not really useful.
968      * wptMainProc.cpp (wpt_main_proc): Use the new code. Thanks to          * WinPT.cpp (load_keyserver_conf): Store keyserver.conf at
969      Rich to discover this.          $APPDATA\winpt. If keyserver.conf exists in the current folder
970            move it to the new destination.
971  2001-07-29  Timo Schulz <[email protected]>          
972    2006-11-13  Timo Schulz  <[email protected]>
973      * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): New. Dialog for creating  
974      a key revocation certificate. Add a hint to show how sentensive this          * wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation.
975      data is.          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise.
976      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Added the code to handle the          * wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about
977      revocation.          dialog isn't shown twice.
978      * wptAgent.cpp: Source for the server interface removed.          * wptKeyCache.cpp (gpg_keycache_next_updated_key): New.
979      (agent_is_avail): New. Checks if the agent is available.          (gpg_keycache_update_key): Set update flag.
980      * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Added the interface code          * wptKeyManagerDlg.cpp (refresh_keylist): New.
981      for the agent.          (keymanager_dlg_proc): Use new refresh system for keyservers.
982            * wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc):
983  2001-07-30  Timo Schulz <[email protected]>          Update keycache.
984            * wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise.
985      * wptClipSignDlg.cpp (clip_sign_dlg_proc): Added the interface code          * wptKeyserver.cpp (socket_read_ext): New.
986      for the agent.          (kserver_recv_key_ext): New.
987      * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.          (kserver_read_config, kserver_write_config): Removed.
988            
989  2001-08-01  Timo Schulz <[email protected]>  2006-01-12  Timo Schulz  <[email protected]>
990    
991      * wptKeyserver.cpp (kserver_urlencode): Create a HTTP compatible          * wptListView.cpp (listview_set_image_list): Make icons
992      request for uploading a key.          always transparent.
993      (kserver_send_request): Use the urlencode to send the key.          * wptImageList.cpp (imagelist_load): New icons.
994      (sock_read): New. Improved read function to replace recv.          * wptGPGMEData.cpp (gpg_data_putc): New.
995      (sock_write): New. Improved write function to replace send.          * wptKeyManagerDlg.cpp (load_toolbar): Include new icons.
996      * wptFileManager.cpp (fm_get_file_type): If the data is armored,          (keymanager_dlg_proc): Add tooltips.
997      call fm_check_armor_type().          * wptKeyserverDlg.cpp (keyserver_list_build): Use icons.
998      (fm_check_armor_type): New. Figure out the armor type of the data.          * wptKeyserver.cpp (URL_encode): New.
999      * wptKeyMisc.cpp (key_misc_dlg_proc): Use a menu instead of the          (URL_must_encode): New.
1000      buttons. Optimized the code.          (kserver_search_init): Properly encode pattern.
1001            (parse_iso_date): New.
1002  2001-08-02  Timo Schulz <[email protected]>          (keyserver_search): Be more strict to prevent buffer overflows.
1003            
1004      * wptGPG.cpp (check_gpg_path): Check the size of both keyrings too.  2006-01-11  Timo Schulz  <[email protected]>
1005      Useful in the case the file was generated but it's empty.  
1006      * wptKeyEditDlg.cpp (key_edit_dlg_proc): Fixed some typos.          * wptKeyManagerDlg.cpp (load_toolbar): 2 new icons.
1007            (keymanager_dlg_proc): Adjust tooltips.
1008            (update_ui_items): Handle new icons.
1009  2001-08-03  Timo Schulz <[email protected]>          * wptImageList.cpp (imagelist_load): New icons.
1010            
1011      * wptMainProc.cpp (wpt_main_proc): The GPG menu was removed, now  2006-01-10  Timo Schulz  <[email protected]>
1012      we support this code in the key manager.  
1013      * wptKeyMisc.cpp (key_misc_dlg_proc): Supports new GPG commands.          * wptMainProc.cpp (winpt_main_proc): Restore iconic
1014      * wptKeyserver.cpp (kserver_index_request), (kserver_recv_request):          File/Key Manager windows if needed.
1015      Removed. The code moved into the main functions.          * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button.
1016      (kserver_send), (kserver_recv): Ditto.          * wptSiglist.cpp (init_cmp): New.
1017      (sock_write): Improved code.          (siglist_sort): New.
1018      (sock_read): Ditto and some additional timeout.          (siglist_cmp_cb): New.
1019      (sock_select): New. Figure out the socket state.          (siglist_add_key): Force NOKEY status when key was not found.
1020      (kserver_search_init): New. Make connection to the server.          * wptKeysigDlg.cpp (recv_single_key): New.
1021      * wptHKPSearchDlg.cpp (hkp_search_dlg_proc): Now it uses the new          (recv_missing_keys): Reload entire key when more than one key
1022      keyserver code.          was fetched.
1023      * wptFile.cpp (get_keyid_from_file): Add support for the PGP marker          (keysig_dlg_proc): Support sorting the listview items.
1024      packet. Thanks to Alan.          
1025      (check_for_symenc_data): Ditto.  2006-01-09  Timo Schulz  <[email protected]>
1026      * wptFileManager.cpp (fm_get_file_type): Ditto.  
1027      (fm_decrypt): Move the keycache in the if loop and fix the keycache          * WinPT.cpp (load_gettext): Remove file locking.
1028      type.          (WinMain): Use pre-defined autoconf constants.
1029            * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
1030  2001-08-05  Timo Schulz <[email protected]>          * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
1031            Change all callers.
1032      * wptKeylist.cpp (keylist_add_key): Change the schematics to support          
1033      all keyids.  2006-01-07  Timo Schulz  <[email protected]>
1034      * wptSigList.cpp (siglist_build): New. Interface code to load the  
1035      signature list.          * wptKeyManager.cpp (km_refresh_from_keyserver): Summarize
1036      * wptKeysigDlg.cpp (keysig_dlg_proc): Uses siglist_build.          import status if just one key was selected.
1037    
1038  2001-08-06  Timo Schulz <[email protected]>  2006-01-04  Timo Schulz  <[email protected]>
1039    
1040      * wptFilemanager.cpp (fm_sign): Set the keyid length to 16.          * wptGPGMEWrapper.c (setChangeVersion): New.
1041            (exportToBuffer, exportToFile, exportToClipboard): New.
1042  2001-08-08  Timo Schulz <[email protected]>          (setArmor, getArmor): New.
1043            * wptKeylist.cpp (get_key_expire_date): Return locale specific
1044      * wptGPG.cpp (check_gpg_path): Sanity check for size of the options file.          date.
1045      Support for more configurations.          (keylist_get_recipients): Do not fetch the key again.
1046      * wptFileSignDlg.cpp (file_sign_dlg_proc): Fixed error in signature mode.          (keylist_enum_recipients): Likewise.
1047      Add all strings to the translation suite.          * wptGPG.cpp (create_empty_keyring): New.
1048      * Updated all NLS dialog strings.          (get_gnupg_keyring): Fixed 'strict' logic.
1049      * wptRFC2440.cpp (get_pkttype): Fixed error to check the CTB.          * wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons
1050      * wptFileManager.cpp (fm_decrypt): Support to decrypt armored file,          when no secret keys are available.
1051      with a dynamic callback for the passphrase.          * wptKeyManager.cpp (km_send_to_mail_recipient): Release key data
1052            before the MAPI call is made.
1053  2001-08-11  Timo Schulz <[email protected]>          * WinPT.cpp (check_for_empty_keyrings): New.
1054            
1055      * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Beautify the dialog and  2006-01-03  Timo Schulz  <[email protected]>
1056      separate the fingerprint from the othr information.  
1057      * wptGPG.cpp (check_opt_keyring): New. Do a sanity check if the          * pubkey.ico, keypair.ico: New.
1058      file, specified in the options line, does exist.          * wptListview.cpp (listview_add_item_image): New.
1059            (listview_set_image_list): New.
1060  2001-08-17  Timo Schulz <[email protected]>          * wptSigList.cpp (siglist_add_key): Correct order of the sigs.
1061            * wptKeyProps.cpp (keyprops_load_photo): Adjusted for new
1062      * wptClipSignDlg.cpp (clip_sign_dlg_proc): Choose key if there is only          JPEG data.
1063      one by default.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to
1064      * wptKeyList.cpp (keylist_add_to_recipients): Ditto.          add items to revoked keys.
1065      * wptGPG.cpp (gpg_check_homedir): Creates the GPGME specific gpgProgram          * wptKeyManager.cpp (km_delete_keys): Do not use uninitialized
1066      entry in the registry in the case it's missing (whenever it's possible!).          keyid buffer. This fixes a segv.
1067      (check_gpg_path): Rewrite parts of the code.          * wptKeyserver.cpp (spawn_application): New.
1068            (ldap_recv_key): Support recent protocols and several cleanups.
1069  2001-08-20  Timo Schulz <[email protected]>          * wptKeylist.cpp (do_addkey): Set image which depends on the
1070            key type.
1071      * wptGPG.cpp (create_gpg_options): Fixed nul byte bug. Thanks to Thomas.          (keylist_enum_recipients): Cleanups.
1072      * wptPreferencesDlg.cpp (prefs_dlg_proc): Fixed the code to disable          (keylist_get_keyflags): Rewritten.
1073      the hotkeys. Automatically enable or disable the hotkey field depend          * wptKeyCache.cpp (free_attr_list): New.
1074      on the switch.          (parse_attr_list): New.
1075            (parse_attr_data): New.
1076  2001-08-21  Timo Schulz <[email protected]>          (keycache_update_photo): New.
1077            (keycache_update_photos): New.
1078      * wptGPG.cpp (get_gpg_default_keyid): Modify the code and now it          (gpg_keycache_update_key): Automatically reload photos if needed.
1079      also supports "encrypt-to" entries as default keys.          * wptGPGUtil.cpp (create_process): New param @err. Change all
1080      * wptWipeExt.cpp (wipe_init_ext): New. Load the DLL to provide          callers.
1081      secure wiping.          (map_tmpfile): New param @nread. Change all callers.
1082      (wipe_deinit_ext): New. Unload the DLL and free all pointer.          (gpg_get_photoid_data): New.
1083      (wipe_loaded_ext): New. Checks wether the DLL was loaded.          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to
1084      * wptW32API.cpp (set_menu_state): New.          add items to revoked keys.
1085            (subkey_init_list): Store gpgme key object.
1086  2001-08-25  Timo Schulz <[email protected]>          
1087    2005-12-29  Timo Schulz  <[email protected]>
1088      * wptStringUtil.cpp (strlist_new): New. Linked list to hold strings.  
1089      (strlist_release): New. Release the linked list.          * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
1090      (strlist_add): New.          (gpg_genkey_params): Simplified.
1091            * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
1092  2001-08-26  Timo Schulz <[email protected]>          exclusion of the dialog items.
1093            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
1094      * wptFileManager.cpp (fm_entry_new): New.          quit the dialog.
1095      (fm_entry_release): New.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1096      (fm_state_new): New.          * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
1097      (fm_state_release). New.          (id2algo): New.
1098      (fm_get_current_file): New.  
1099      * wptKeylist.cpp (strlist_add_recipients): New.  2005-12-28  Timo Schulz  <[email protected]>
1100    
1101  2001-08-28  Timo Schulz <[email protected]>          * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
1102            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1103      * wptKeylist.cpp (strlist_add_recipients): Fixed the listview handling.          * wptKeylist.cpp (keylist_udp_key): Likewise.
1104      * wptKeyserver.cpp (kserver_load_conf): Proxy support          * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
1105      (kserver_connect): Ditto.          * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
1106            when no signing key was found.
1107  2001-08-30  Timo Schulz <[email protected]>          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
1108            user IDs.
1109      * wptFilemanager.cpp (fm_encrypt): Add minor changes.          (translate_popup_strings): s/Revoke/Revoke Cert.
1110       (fm_decrypt): Ditto.          * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
1111       (fm_sign): Ditto.          0x prefixed keyid.
1112       (fm_verify): Make the code more modular.          * wptKeyEditCB.cpp (editkey_command_handler): Also reset
1113       (fm_add_sig_stat): New. For new fm_verify code.          step in case of a bad passphrase.
1114            
1115  2001-08-31  Timo Schulz <[email protected]>  2005-12-27  Timo Schulz  <[email protected]>
1116    
1117      * wptFileManager.cpp (fm_add_opened_files): New. Use a standard          * wptListView.cpp (listview_set_view): New.
1118      file open dialog instead of drag & drop.          (listview_del_column): New.
1119      * wptHotkeys.cpp (hotkey_strerror): More detailed information which          * wptW32API.cpp (get_locale_date): New.
1120      hotkey couldn't set up.          (get_menu_state): New.
1121      (hotkey_register_single): Ditto.          (force_foreground_window): New.
1122            * wptVerifyList.cpp (strtimestamp): Support for
1123  2001-09-01  Timo Schulz <[email protected]>          locale date formats.
1124            * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
1125      * wptMainProc.cpp (wpt_main_proc): Remove the im- and export operations.          passphrases.
1126      These code is now part of the key manager.          * wptKeyEditCB.cpp (editkey_command_handler): Immediately
1127      * wptKeyPropsDlg.cpp (key_props_dlg): Removed the get_key_xxx functions.          return when a bad passphrase was submitted.
1128      * wptKeylist.cpp (get_key_algo): New.          * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
1129      (get_key_created): New.          column order.
1130      (get_key_type): New.          * wptKeylist.cpp (keylist_upd_col): New.
1131      (get_key_size): New.          * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
1132      (get_key_fpr): New.          'Revocation' for public keys.
1133      * wptClipExportDlg.cpp (clip_export_dlg_proc): Removed. This is now          (translate_menu_strings): s/Revoke/Revoke Cert.
1134      a part of the keymanager.          (modify_listview_columns): New.
1135            
1136  2001-09-04  Timo Schulz <[email protected]>  2005-12-18  Timo Schulz  <[email protected]>
1137    
1138      * Rewrote most parts of the keymanager.          * wptKeyManagerDlg.cpp (save_column_size): New.
1139      * Ditto for the filemanager.          (restore_column_size): New.
1140            (keymanager_dlg_proc): Save and restore column sizes for
1141  2001-09-05  Timo Schulz <[email protected]>          the listview control.
1142            * wptKeyManager.cpp (key_get_info): New.
1143      * wptKeyMiscDlg.cpp (clip_export): New. Handy function to export keys.          (km_delete_keys): Use it here to have a consistent message.
1144      (clip_import): New. Handy function to import keys.          Use stored key context and not the column data.
1145      * wptKeygenDlg.cpp (keygen_dlg_proc): Added a warning when the passphrase          (km_enable_disable_key): Likewise.
1146      is too short.          (km_send_to_keyserver): Likewise.
1147            (km_set_implicit_trust): Likewise.
1148  2001-09-07  Timo Schulz <[email protected]>          * wptKeylist.cpp (get_key_pubalgo2): New.
1149            
1150      * wptFileManagerDlg.cpp (file_manager_dlg_proc): Fix memory leaks.  2005-12-17  Timo Schulz  <[email protected]>
1151    
1152  2001-09-12  Timo Schulz <[email protected]>          * wptUTF8.cpp: Removed unused charset array.
1153            * wptSigList.cpp (siglist_build): Increase size for 'class'
1154      * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Fixed a format error.          column.
1155      Thanks to Rich who pointed this out.          * wptGPG.cpp (get_gnupg_path): Simplified.
1156            * WinPT.cpp (load_gpg_env): New.
1157  2001-09-13  Timo Schulz <[email protected]>          (check_crypto_engine): Return type is now bool.
1158            * wptRegistry.cpp (is_gpg4win_installed): New.
1159      * Revamped the whole plugin code for OE5.          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent
1160      * wptMailPlugin.cpp (oe_plugin_new): New. Allocates new structure.          dialog design.
1161      (oe_plugin_releae): New.          * wptKeyManagerDlg.cpp (translate_menu_strings): New.
1162      (oe_plugin_init): New. Searches for the OE main window and select          (translate_popupmenu_strings): New.
1163      all the recipients from the fields.          * wptKeyEditDlgs.cpp (is_jpg_file): New.
1164      (oe_get_msg): This code now uses the menu command id's to          
1165      execute the commands.  2005-12-13  Timo Schulz  <[email protected]>
1166      (oe_set_msg): Ditto.  
1167      (oe_encrypt): Changed for the new code.          * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
1168      * wptMainProc.cpp (wpt_main_proc): Re-activate the code.          * wptKeyManagerDlg.cpp (change_edit_menu): New.
1169      * wptHotkeys.cpp: Ditto.          (change_key_menu): Renamed from...
1170      * Removed the hook project.          (menu_gpg_readonly): ..this.
1171            (clip_contains_pgpkey): New.
1172  2001-09-14  Timo Schulz <[email protected]>          (update_ui_items): Do not allow to sign expired keys.
1173            (keymanager_dlg_proc): Same for popup menu.
1174      * wptWAB.cpp: (wab_read): New. Interface to read all address book          * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
1175      entries.          * wptKeyCache.cpp (copy_uid_prefs):
1176      (wab_open): New. Internal function to load the WAB.          (gpg_keycache_sync): Copy uid prefs so the key property
1177      (wab_release): New. Release the WAB contexts.          dialog show the correct values. Thanks to Shane.
1178      (wab_load): New. Load the contents of the WAB into a linked list.          
1179      (addr_list_new): New. Linked address list.  2005-12-11  Timo Schulz  <[email protected]>
1180      (addr_list_add): New.  
1181      (addr_list_release): New.          * wptW32API.cpp (get_file_version): New.
1182            * wptGPGUtil.cpp (create_process): Always hide window.
1183  2001-09-16  Timo Schulz <[email protected]>          * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
1184            instead of 'Exit'.
1185      * wptExtensions.h: New. This file is now used for the extenion          * wptKeyManager.cpp (km_http_import): New filename
1186      declarations.          generation code.
1187      * wptExtensions.new: (register_extensions): New. Enumerate and          (km_send_to_mail_recipient): Cleanups.
1188      load all possible extensions.          * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
1189      (unregister_extentions): New. Release all loaded extensions.          * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
1190      * wptKeyserver.cpp (kserver_load_conf): Added support for different          when multiple keys are selected.
1191      keyservers. Currently only HTTP/LDAP.          (popup_multiple): New.
1192      * wptKeyserverDlg.cpp (keyserver_dlg_proc): Added LDAP support.          * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
1193      (hkp_recv_key): Ditto.          file versions are equal. Rewrote --keymanager code.
1194      * wptMailPlugin.cpp (oe_set_focus): Fixed silly bug that prevents          
1195      to set the focus.  2005-12-08  Timo Schulz  <[email protected]>
1196      * (oe_check_recipient): New. Checks if the key is able to encrypt  
1197      and valid in the sense of revocation.          * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
1198            (hkp_recv_key2): Show user-id of the imported key instead
1199  2001-09-17  Timo Schulz <[email protected]>          of just the pattern.
1200            * wptFileCBS.cpp (read_cb): Changed to W32 API.
1201      * wptClipboard.cpp (clip_isalready_secured): Fixed two silly bugs          (write_cb): Likewise. Create output file on demand.
1202      who prevent the correct return value in the case of an clipboard error.          (gpg_file_data_new): Adjusted code for new API.
1203      (clip_parse_pgp_id): New. Returns the PGP message type.          * wptKeyEdit.cpp (cleanKey): New.
1204      * wptHotkey.cpp (hotkeys_strerror): Fixed bug in the indexes.          * wptKeyEditCB.cpp (cmd_clean_handler): New.
1205      (hotkey_single_register): Return correct error value.          (editkey_command_handler): Call clean handler.
1206      (hotkey_single_unregister): Ditto.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
1207      * wptW32API.cpp (get_thread_id): Removed.          keylist after inserting items.
1208      (attach_thread_input): Ditto.          * wptFileManager.cpp (fm_set_status): Take care of
1209      (detach_thread_input): Ditto.          cleartext sigs.
1210      * wptCurrWnd.cpp (get_window_contents): Store main and focused window          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
1211      for later use.          sure can be closed.
1212      (set_window_contents): Use the new code.          
1213    2005-12-07  Timo Schulz  <[email protected]>
1214  2001-09-23  Timo Schulz <[email protected]>  
1215            * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
1216      * wptSubkeyDlg.cpp (key_subkey_dlg_proc): New. Lists the subkeys.          Use 'Close' instead of 'Exit'.
1217      The same as the userid dialog.          * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
1218      * wptWndSwitchDlg.cpp: Removed.          * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
1219      * wptWipeExt.cpp: Removed. Code is now included.          as the destination dir. Thanks to Werner.
1220      * wptGPGME.cpp (get_default_keyid): If the keyid from the options          * wptRegistry.cpp (is_gpgee_installed): New.
1221      file is in the keycache.          (regist_inst_winpt): Do not register file extensions
1222      * wptKeylist.cpp (keylist_reload): New. Reload a keylist.          if GPGee is available.
1223            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
1224  2001-09-26  Timo Schulz <[email protected]>          use of local vars.
1225            * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
1226      * wptW32API.cpp (listbox_add_string): New. Shortcut to avoid long casts.          no illegal backup mode is saved.
1227      (listbox_get_cursel): Ditto.          * wptKeyserverDlg.cpp (show_imported_key): New.
1228            (hkp_recv_key2): Show imported keys if the blob
1229            contained more than one.
1230  2001-09-27  Timo Schulz <[email protected]>          
1231    2005-12-06  Timo Schulz  <[email protected]>
1232      * wptMainProc.cpp (wpt_main_proc): Fixed typo. Thanks to Andy who  
1233      discovered this.          * WinPT.cpp (WinMain): Load the gettext environment soon
1234      * wptPasswdDlg.cpp (passwd_dlg_proc): New. Handy dialog to get the          as possible so all 'first start' messages are localized.
1235      passphrase.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
1236      * wptEditKeyDlg.cpp: Removed. The edit-key code is now moved to          received via the keyserver, return the gpgme key context on
1237      the various other dialogs to make the use more easier.          success and add it directly to the list.
1238      * wptKeyUIDDlg.cpp: (keyuid_dlg_proc): ADDUID code, use it here.          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
1239      * wptSubkeyDlg.cpp: (subkey_dlg_proc): ADDKEY code. Ditto.          to store the key.
1240            (hkp_recv_key2): Add extra param for the fingerprint.
1241            (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
1242  2001-09-28  Timo Schulz <[email protected]>          
1243    2005-12-02  Werner Koch  <[email protected]>
1244      * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): WM_NOTIFY to handle  
1245      the double click messages.          * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
1246      * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.  
1247      * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.  2005-12-01  Timo Schulz  <[email protected]>
1248      * wptFileManager.cpp (overwrite_file): Check if the file exists and  
1249      then let the user decide.          * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
1250      (fm_encrypt): Use the code here.          for get_gpg_sigstat().
1251      (fm_sign): And here.          * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
1252      (fm_sym_encrypt): And here. Now we use the passphrase dialog.          As a macro strings will not be translated at runtime.
1253      (fm_decrypt): And here.          * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
1254      * wptFile.cpp (unlink_file): Removed. We can use sunlink if we need          need to update the cache. Thanks to Jan-Oliver.
1255      a secure wipe.          * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
1256            
1257      Make the memory checking more strict.  2005-11-30  Timo Schulz  <[email protected]>
1258    
1259  2001-10-04  Timo Schulz <[email protected]>          * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
1260            * WinPT-en.rc: Removed string list.
1261      * wptPassphraseCB.cpp (parse_gpg_describtion): Free buffer.          * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
1262      * wptKeyserver.cpp (kserver_search_init): Set buffer to NULL.          * wptKeylist.cpp (keylist_build): Cannot use global
1263      Both were pointed out my Timo (not me ;-)).          arrays for the columns due to gettext.
1264      * wptKeylist.cpp (add_key): Fix a typo and now the code is more          
1265      strict with returned attributes.  2005-11-29  Timo Schulz  <[email protected]>
1266      * wptKeysignDlg.cpp (keysign_dlg_proc): Modify GPGME interface  
1267      for local signatures.          * WinPT.cpp (WinMain): Modify --keymanager. If an instance
1268            is running, just send the command to open the manager.
1269  2001-10-05  Timo Schulz <[email protected]>          
1270    2005-11-25  Timo Schulz  <[email protected]>
1271      * wptKeylist.cpp: (addkey): Check if the used userID is not revoked.  
1272      In the case it is, use the first userID.          * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
1273      * wptKeySubkeyDlg.cpp (key_subkey_dlg_proc): Change the listbox.          process when the revoker is already there.
1274      Remove the Pos column and add a status column instead.          
1275      Add expire stuff for subkeys.  2005-11-24  Timo Schulz  <[email protected]>
1276      (init_dtp): Initialize the common control.  
1277      * wptClipEditDlg.cpp (clip_edit_dlg_proc): New code to load a file          * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
1278      into the clipboard.          signing dialog items.
1279      * wptKeyPropsDlg.cpp (ot_id_to_string): New. Returns a long description          * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
1280      of the ownertrust value.          * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
1281      (keyprops_dlg_proc): Fixed ownertrust handling.          * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
1282            * wptKeylist.cpp (key_check_validity): Likewise.
1283  2001-10-06  Timo Schulz <[email protected]>          * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
1284            
1285      * wptPassphraseCB.cpp (parse_gpg_description): Fixed a memory leak.  2005-11-22  Timo Schulz  <[email protected]>
1286    
1287  2001-10-08  Timo Schulz <[email protected]>          * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
1288            macro debug output will be generated in release version.
1289      * wptKeyserver (kserver_connect): If the proxy settings are valid,          
1290      use the proxy port instead of the HKP port.  2005-11-21  Timo Schulz  <[email protected]>
1291      (kserver_recvkey): Proxy support.  
1292      (kserver_search_init): Ditto.          * WinPT.cpp (WinMain): Implement --stop switch.
1293            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
1294  2001-10-09  Timo Schulz <[email protected]>          missing string.
1295            * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
1296      * wptFileManagerDlg.cpp (file_manager_dlg_proc): Check the return          * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
1297      code of sunlink.          first. Thanks to Ralf.
1298      * wptGPG.cpp (get_keyring_from_optfile): New.          * wptFileManagerDlg.cpp (update_ui_items): New.
1299      Renamed gpg_errstr to gpg_strerror.          * wptFileManager.cpp (fm_set_status): New sigmode param.
1300      (set_default_key): New.          Changed all callers.
1301      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Support for default key setting.          
1302        2005-11-17  Timo Schulz  <[email protected]>
1303  2001-10-10      Timo Schulz <[email protected]>  
1304            * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
1305          * wptGPG.cpp (set_gpg_default_key): Use spaces if the entry in the          the cache will be loaded twice.
1306          file is longer then the keyid.          * wptRegistry.cpp (regist_inst_winpt): More comments.
1307          (get_gpg_default_key): Replaced get_gpg_default_keyid. Check if the          * wptKeyManagerDlg.cpp (do_center_window): Make sure that
1308          entry is an userid.          neg. coordinates are never used.
1309          * wptFileManager.cpp (fm_check_for_entry): New. Avoid to add a file          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
1310          more then one time.          strings.
1311          (fm_add_dropped_files): Use it here.          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
1312      * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support for common          * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
1313      keys.          and save 'AlwaysOnTop' in the registry.
1314            
1315  2001-10-13  Timo Schulz <[email protected]>  2005-11-16  Timo Schulz  <[email protected]>
1316    
1317      Set all ListviewControls to 'NULL' in all dialogs to be more crash          * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
1318      resistent.          * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
1319            mode.
1320      * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): Rebuild interface.          * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
1321      * wptFileExportDlg.cpp (file_export_dlg_proc): Ditto.          * wptRegistry.cpp (regist_inst_winpt): Set install directory.
1322      * wptFileImportDlg.cpp (file_import_dlg_proc): Ditto.          Useful for other programs to figure out the path to the EXE.
1323      * wptFileSignDlg.cpp (file_sign_dlg_proc): Ditto.          
1324      * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Ditto.  2005-11-14  Timo Schulz  <[email protected]>
1325      * wptStringUtil.cpp: Removed.  
1326      * wptFileManager.cpp: Rewrote the complete interface code for          * wptGPG.cpp (check_gnupg_engine): Fix version check.
1327      the file manager.          * wptMainProc.cpp (winpt_main_proc): Check keyring
1328      * wptFileManagerDlg.cpp: Rewrote the whole file manager dialog.          file permissions always and do not use interative output
1329            when the windows session ends.
1330  2001-10-15  Timo Schulz <[email protected]>          * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
1331            Localize all strings.
1332      * wptFileManager.cpp (fm_wipe): New.          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
1333      (fm_set_status): Add temporary wipe status and handle default values.          * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
1334      (fm_parse_files): Use fm_wipe instead of sunlink. Delete all wiped          * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
1335      files with a successful opeation.          non-valid keys.
1336      * wptKeygenCbDlg.cpp (keygen_cb_dlg_proc): New. Static dialog procedure.          
1337      (keygen_cb_thread): New. Static dialog thread.  2005-11-12  Timo Schulz  <[email protected]>
1338      (keygen_cb_dlg_create): New. Interface.  
1339      (keygen_cb_dlg_destroy): New. Destroy the dialog.          Fix more GCC warnings.
1340      (keygen_cb): GPGME interface.  
1341    2005-11-10  Timo Schulz  <[email protected]>
1342  2001-10-16  Timo Schulz <[email protected]>  
1343            * wptClipSignDlg.cpp (one_key_proc): Use
1344      * wptW32API.cpp (check_date): New.          release_gpg_passphrase_cb() to free the context.
1345      (get_open_filename): New.          * wptListView.cpp (listview_deselect_all): New.
1346      * wptDlgs.cpp (init_dtp): New. Initialize a special common control.          * wptMAPI.cpp (mapi_send_pubkey): Works again.
1347      * wptKeygenDlg.cpp (keygen_dlg_proc): Add support for exipre dates.          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
1348            zip.    
1349  2001-10-17  Timo Schulz <[email protected]>          * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
1350            caching for signing operations.
1351      * wptCurrWnd.cpp (get_window_contents): Only minimize the window          * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
1352      when the clipboard contains text.          * wptFileManager.cpp (fm_send_file): Likewise.
1353      * wptKeylist.cpp (keylist_add_key): Check only for invalid keys          (fm_encrypt_into_zip): New.      
1354      in the mainloop. The other flags are checked in the various cases.          
1355      (add_key): Use the ** foo ** notation for invalid flags instead of  2005-11-09  Timo Schulz  <[email protected]>
1356      skipping the key.  
1357      * wptKeyMiscDlg.cpp (clip_export): Check for revoked keys and print          * wptNLS.c (get_gettext_langid): Map user language id to
1358      out a warning.          printable gettext language strings.
1359      Change all error messages to one header.          * wptRegistry.cpp (get_reg_entry_mo): Support for the
1360      (check_key_status): Check if the key is valid in the sense of          gettext environment.
1361      revocation and expire dates. If not, print out a warning.          * wptFileManager.cpp (fm_encrypt): Close all files before
1362      (keymisc_dlg_proc): Use the new code.          the wipe procedure is called.
1363            * wptVerlist.cpp (verlist_add_sig): Handle the case the
1364  2001-10-19  Timo Schulz <[email protected]>          issuer is not valid but the signature is.
1365            (verlist_add_sig_log): Likewise. Thanks to the folks on
1366      * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Support for various          winpt-users.
1367      option files.          
1368      * wptMainProc.cpp (wpt_main_proc): Remove the preferences menu and  2005-11-08  Werner Koch  <[email protected]>
1369      use a popup menu.  
1370      * wptExtensions.cpp (gpgoe_load_plugin): New. Try to load the GPGOE          * SAFE.ICO, SIGN.ICO: Fixed capitalization.
1371      plug-in.          * WinPT-en.rc: Ditto.
1372      (gpgoe_unload_plugin): New.          * winpt_km.ico:  Moved from ../.
1373    
1374  2001-10-22      Timo Schulz <[email protected]>          * Makefile.am (resource_files): Add missing backslash.
1375    
1376          Remove all MyGPGME code from the main project. Now we use the  2005-11-08  Timo Schulz  <[email protected]>
1377          libmygpgme.dll to provide all cryptographic functions and interfaces.  
1378            More minor changes to avoid GCC warnings.
1379          * wptKeylist.cpp (key_array_new): New.          
1380          (key_array_release): New.          * wptGPG.cpp (check_homedir): Free memory in case of errors.
1381          (key_array_search): New.          (multi_gnupg_path): Add strict mode. If non-strict mode return
1382          * wptKeylist.cpp (keylist_add_to_recipients): Check if an untrusted key was          the folder even if it does not exist.
1383          already checked and don't bother the user if all userid's were selected.          (check_for_gpgwin): New.
1384          * wptPassphraseCB.cpp (passphrase_cb_init): Now void.          * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
1385          (passphrase_cb_gpgme): Ditto.          initialized.
1386          (passphrase_callback_proc): Support for a list of recipients.          * wptRegistry.cpp (get_reg_entry_gpg4win): New.
1387          * wptImportList.cpp (implist_add_key): Support for secret keys.          (get_reg_entry_mo): Support for gpg4win.
1388            
1389  2001-10-23      Timo Schulz <[email protected]>  2005-11-07  Timo Schulz  <[email protected]>
1390    
1391          * wptClipSignDlg.cpp (clip_sign_dlg_proc): Replace for with while          * wptMainProc.cpp (winpt_main_proc): Disable
1392          because it's shorter.          some menu items when no secret key is available.
1393          * wptFileSignDlg.cpp (file_sign_dlg_proc): Use keylist instead of          
1394          the default keyid.  2005-11-05  Timo Schulz  <[email protected]>
1395          * wptFileManager.cpp (fm_sign): Remove the default key ID code. Now  
1396          we use the signer from the keylist.          More minor changes to avoid GCC warnings.
1397          * wptGPGME.cpp (get_default_keyid): Revamp most of the code and fix          
1398          some silly bugs.          * wptErrors.cp (winpt_strerror): Return w32
1399          * WinPT.cpp (WinMain): if there is no valid keyring after the new          formatted error and do not use 'break'.
1400          preferences, start the key generation dialog.          
1401    2005-11-04  Werner Koch  <[email protected]>
1402  2001-10-25      Timo Schulz <[email protected]>  
1403            * WinPT-en.rc: Fixed locations of icons.
1404          * wptGPG.cpp (get_gpg_default_key): Support for the users options file.  
1405          (check_gpg_path): Ditto.  2005-11-03  Timo Schulz  <[email protected]>
1406          (get_gpg_options): Ditto.  
1407          (set_gpg_default_key): Ditto.          A lot of minor changes to avoid GCC warnings.
1408          (set_gpg_options): Ditto.  
1409          (gpg_check_keyring): Ditto.          * wptGPG.cpp (get_gnupg_keyring): Only check size for
1410          (set_gpg_default_keyid): Fix a typo.          public keyring.
1411          * wptGPGME.cpp (get_default_keyid): Rewrote most of the code.          * wptKeyManager.cpp (km_update_default_key_str): Do
1412            not issue a bug message when no secret key was found.
1413  2001-10-26      Timo Schulz <[email protected]>          * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
1414            
1415          * wptExtensions.cpp: Removed.  2005-11-02  Werner Koch  <[email protected]>
1416          * wptLDAPExt.cpp: Removed.  
1417          * wptLDAP.cpp: New. This code now contains a direct interface to          * WinPT.cpp (WinMain): Disabled PTD version tests.
1418          the WLDAP library so we don't need extra DLL's to handle LDAP keyservers.          (check_crypto_engine): Fixed version check for scard.
1419          (wldap_init): New.  
1420          (wldap_end): New.          * wptErrors.cpp (debug_end): Add dummy function.
1421          (ldap_set_verbose): New.  
1422          (ldap_get_key_info): New.          * Makefile.am (code_files): Added wptCardEditCB.cpp and
1423          (ldap_recvkey): New.          wptKeyEditCB.cpp.
1424          (init_ldap): New. Internal use only.  
1425          (get_key): New. Ditto.  2005-10-31  Werner Koch  <[email protected]>
1426          (send_key): New. Ditto.  
1427          * wptMainProc.cpp (wpt_main_proc): Init and de-init the LDAP dll.          * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
1428            functions.
1429  2001-10-27      Timo Schulz <[email protected]>  
1430            * wptKeyEditDlgs.cpp: Include oleauto.h
1431          * wptKeylist.cpp (keylist_enum_recipients): Add a type to make          * wptKeyEdit.cpp: Include time.h.
1432          the code more flexible.          * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
1433          * wptKeyMiscDlg.cpp (file_import): New.          * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
1434          (file_export): New.  
1435          * wptKeySigDlg.cpp (recv_missing_keys): Fixed a typo.          * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
1436            wptKeyEdit.cpp and wptKeycache.cpp.
1437          Removed all OE code snippets.  
1438            * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
1439  2001-10-28      Timo Schulz <[email protected]>          * wptImportList.cpp (implist_load): Use remove and not unlink.
1440            * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
1441          * wptKeyMiscDlg.cpp (key_misc_dlg_proc): New virtual key support          * wptImportList.cpp (implist_load): Use remove and not unlink.
1442          for ENTER/SPACE and DELETE. Suggested by Graham.          * wptKeyManager.cpp (km_http_import): Ditto
1443          * wptKeyList.cpp (add_key): New code to figure out how trustworthy          * wptMainProc.cpp: Include wptCrypto.h
1444          a expired/revoked secret key is.          * wptKeyManager.cpp: Ditto.
1445          (keylist_enum_recipients): Show the key ID of the key when it's          * wptFileManager.cpp: Ditto.
1446          revoked.          * wptImportList.cpp (parse_colon_key): Need to cast argument for
1447          * wptFileManager.cpp (fm_decrypt): Parse all PKE packets and not          isdigit.  Include ctype.h.
1448          only the first to figure out if a secret is available. Thanks to          * wptGPG.cpp: Include shlobj.h.
1449          Graham.  
1450          * wptFile.cpp (get_keyid_from_file): Ditto.          Fixed double inclusion of windows.h.
1451            
1452  2001-10-30      Timo Schulz <[email protected]>          * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
1453            * wptKeylist.cpp (get_key_created): Broke up trigraph.
1454          * wptHotkey.h: Fixed typo. Thanks to Timo.          (get_key_status): Removed dangerous use of sprintf.  Still other
1455          * wptGPG.cpp: (gpg_check_homedir): Fixed memory leak. By Timo.          flaws present, see comment.
1456          (get_gpg_default_key): Skip comment lines immediately.  
1457          * wptRegisty.cpp (get_reg_winpt_prefs): Ditto.          * wptCardPCSC.c: Don't include winscard.h.
1458          * wptKeyManagerDlg.cpp (keylist_subclass_proc): New. Procedure          (pcsc_readerstate_t, pcsc_context_t): New.  Changed call users to
1459          for subclassing.          use these types.
1460            (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
1461          Remove all unsafe WM_NOTIFY stuff because this was propably the          (SCARD_S_SUCCESS): Changed all compares to test the value directly
1462          reason for the crashes. And add as a sanity check if the control          against zero.
1463          sent the message.  
1464            * WinPT.cpp: Include wptCrypto.h.
1465  2001-11-02      Timo Schulz <[email protected]>          (WinMain): Don't shard S. Removed usunsed variable SIZE.
1466            * Makefile.am (code_files): Actually add files by adding a first
1467          * WinPT.cpp (WinMain): Add the chance to start the preferences dialog          backslash.
1468          in the case a GPG error was detected.          * wptMDSumDlg.cpp: Include wptCrypto.h.
1469          * wptKeyManagerDlg.cpp (delete_keys): Interface to delete all selected          * wptProxySettingsDlg.cpp: Included ctype.h.
1470          keys.          * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
1471            * wptKeysignDlg.cpp: Ditto
1472  2001-11-03      Timo Schulz <[email protected]>          * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
1473            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
1474          (fm_remove_crit_file_attrs): First check if the file exists.          Removed unused variable.
1475          Thanks to Peter.          * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
1476            silly c++ operator synonyms.
1477  2001-11-07      Timo Schulz <[email protected]>          * wptKeyEditDlgs.cpp: Include time.h.
1478            * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
1479          * wptGPG.cpp (set_gpg_default_key): Rewrote the part of changing          * wptFileManagerDlg.cpp: Ditto.
1480          the key id.          (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
1481          * wptKeyManagerDlg.cpp (file_import): Use force trust to allow secret          matter if it does an rmdir for a directory.
1482          key imports.  
1483          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): If the options file exists and          Fixed include of resource.h which is not anymore in the top
1484          the user doesn't set the field, try to do this automatically.          directory.
1485    
1486  2001-11-13      Timo Schulz <[email protected]>  2005-10-28  Werner Koch  <[email protected]>
1487    
1488          * wptGPG.cpp (get_gpg_optfile): Check for the case the OptFile entry          * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
1489          is set but to "". Then use default gpg directory.          unsigned.  Never ever use a possible signed char as argument for
1490          * wptKeyManagerDlg.cpp (send_to): New. Context entry for sending keys.          ctype tests.  An alternative is to first test using isascii ().
1491          (refresh_from_keyserver): New. Context entry for update keys.          (keyserver_proxy_dlg_proc): Removed unused variable.
1492          (keymisc_dlg_proc): Modify the way the popup is shown.  
1493    2005-10-27  Timo Schulz  <[email protected]>
1494  2001-11-18  Timo Schulz <[email protected]>  
1495            * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
1496      * wptKeyManager.cpp: New. Contains all handy functions from the          * wptKeylist.cpp (keylist_add_key): Check global key flag to
1497      wptKeyManagerDlg.cpp. This should help to cleanup the dialog code.          see if the key is disabled and not each subkey.
1498      (km_quote_uid): New.          (seclist_init): Likewise.
1499      (km_check_for_seckey): New.          * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
1500      (km_check_key_status): New.          gpgme_op_decrypt_verify.
1501      (km_clip_export): New.          (clip_decrypt_dlg_proc): Fixed fingerprint
1502      (km_clip_import): New.          to keyid conversation. This also fixes a crash.
1503      (km_file_export): New.          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
1504      (km_file_import): New.          * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
1505      (km_delete_keys): New.          already expired if the user wants to change the date.
1506      (km_send_to_keyserver): New.          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
1507      (km_refersh_from_keyserver): New.          'v3 sig' option with the 'ask cert level' option. Sync
1508      (km_update_default_key_str): New.          with global preferences.
1509          * wptKeygenDlg.cpp (ask_for_backup): New.          * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
1510          (keygen_dlg_proc): Use new function to give the chance to the          gpg.conf contains 'ask-cert-level'. If not disable button.
1511          user for a complete backup.          * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
1512            the button when the key is available.
1513  2001-11-22      Timo Schulz <[email protected]>          Reload key directly, not the entire cache.
1514            
1515          * wptW32API.cpp (set_foreground_wnd): New.  2005-10-26  Timo Schulz  <[email protected]>
1516    
1517          Fixed the return value of all EndDialogs.          * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
1518            possible overflow.
1519          * wptMainProc.cpp: Remove all code parts which did the same for the          (is_openpgp_ext): Compare case insentensive.
1520          current window support. Now the code uses a dialog switch which is          (add_single_file): New.
1521          much smaller.          (fm_add_opened_files): Support multi file selection.
1522            * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
1523  2001-11-23      Timo Schulz <[email protected]>          * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
1524            reload flag. Just update the single key.
1525          * wptW32API.cpp (set_active_window): New.          * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
1526          (reset_active_window): New.          and disable anonymize recipient for now.
1527          (window_reminder): New. This is a delayed thread procedure to  
1528          force the focus (foreground) to the dialogs for the current          Begin to port code to GCC. Fix all warning issued by the gcc
1529          window mode.          compiler.
1530          * wptMainProc.cpp (winpt_main_proc): Use it here.  
1531          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Ditto.  2005-10-25  Timo Schulz  <[email protected]>
1532          * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.  
1533          * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.          * wptGPGUtil.cpp (create_process): Hide window.
1534          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Ditto.          * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
1535            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
1536  2001-11-24      Timo Schulz <[email protected]>          static var 'enable'.
1537            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
1538          * wptKeyManager.cpp (km_groups_new): New.          (gpg_genkey_params): Make sure all primary keys are capable
1539          (km_groups_release): New.          for signing and certification.
1540          (km_groups_load): Rewritten.          * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
1541          (km_groups_add): New.          * wptGPG.cpp (gnupg_access_keyring): Check return value for
1542          (km_groups_del): New.          NULL. Noted by Ralf.
1543          (km_groupdb_open): New.          (get_gnupg_prog): Simplified.
1544          * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Added group support.          (check_homedir): Fixed. Return 0 when the dir is successfully created.
1545          * wptGroups.c (groupdb_enum_read): Store the record before increment it.          * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
1546            indicate a pending GPG process.
1547  2001-11-27      Timo Schulz <[email protected]>          * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
1548            and and of an operation. For now just the cursor changes.
1549          * wptKeyserver.cpp (base64_encode): New. Marco provided HTTP          (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
1550          proxy authentifcation support for each command.          * WinPT.cpp (WinMain): Check if there is already an instance and
1551          (kserver_update_proxyuser): New. Ditto.          set a variable early as possible.
1552          (kserver_send_request): Ditto.          (load_gettext): If a previous instance was found, do not output
1553          (kserver_recv_request): Ditto.          any errors. Kudos to Ralf.      
1554          (kserver_search_init): Ditto.  
1555    2005-10-24  Timo Schulz  <[email protected]>
1556  2001-11-29      Timo Schulz <[email protected]>  
1557            * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use
1558          * wptKeyManager.cpp (km_groupdb_expand_recipients): New.          pre-defined recipients.
1559          * wptMainProc.cpp (clip_gpg_dlg): New.          (release_gpg_passphrase_cb): Release recipients.
1560          Modify the whole event loop so we don't need all the same code          * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id
1561          for each command. And we use the new foreground code.          validity if needed.
1562          * wptW32API.cpp (check_date): Fixed.          (keyprops_dlg_proc): Issue a warning if the photo is valid.
1563    
1564  2001-12-02      Timo Schulz <[email protected]>  2005-10-23  Timo Schulz  <[email protected]>
1565    
1566          * wptGroups.c: Revamped from the base. Arggg.          * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.  
1567            * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
1568  2001-12-15  Timo Schulz <[email protected]>          (get_ext_validity): New.
1569            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
1570      * wptKeyManagerDlg.cpp (keymisc_dlg_proc): New menu items for          * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
1571      copy and paste.          this function.
1572            (load_clipboard_from_file): Likewise.
1573  2001-12-19      Timo Schulz <[email protected]>          (save_clipboard_to_file): New.
1574            * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.
1575          * Completed work on the temporary file support for GPG.  
1576          * wptRegistry.cpp (set_reg_winpt_prefs): Add mode for the  2005-10-22  Timo Schulz  <[email protected]>
1577          plaintext viewer option. Suggested by Markus Winkler.  
1578          (get_reg_winpt_prefs): Ditto.          Localized a lot of more strings.
1579          * wptPreferencesDlg.cpp (prefs_dlg_proc): Ditto.  
1580          * wptMainProc.cpp (winpt_main_proc): Ditto.          * wptMainProc.cpp (load_smartcard): New.
1581            * wptFileManager.cpp (fm_parse_command_line): Simplify code.
1582  2001-12-21      Timo Schulz <[email protected]>          (fm_check_armor_type): Add new arg. Change all callers.
1583            (fm_get_file_type): Likewise.
1584          * wptTextInputDlg.cpp (text_input_dlg_proc): New.          * wptKeyPropsDlg.cpp (display_key_info): New.  
1585          * wptMainProc (clip_gpg_dlg): Support for deached signatures.          (keyprops_show_photo): Factored out some code into..
1586          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Ditto.          (keyprops_load_photo): ..this function.
1587    
1588  2001-12-30      Timo Schulz <[email protected]>  2005-10-21  Timo Schulz  <[email protected]>
1589    
1590          * wptFileManager.cpp (fm_sign): Always use callbacks for the          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use
1591          passphrase.          WM_INITPOPUPMENU to localize popup menu texts.
1592          (fm_decrypt): Ditto.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1593          (fm_parse_files): Cache the passphrase for the session and check          * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.  
1594          if the file still exists.  
1595          * wptRFC2240.cpp (parse_ske_sesskey): Removed. We no longer use  2005-10-20  Timo Schulz  <[email protected]>
1596          low level stuff here.  
1597          * wptFile.cpp (get_keyid_from_file): Ditto.          Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.
1598    
1599  2002-01-01      Timo Schulz <[email protected]>          * wptPassphraseCB.cpp (passphrase_cb): Complete card support.
1600            * wptCardEdit.cpp (genKey): Handle cancel case.
1601          * wptFileManager.cpp (fm_verify): Support for the case there is          * keycache.c: Renamed into...
1602          no public key to verify the signature.          * wptKeyCache.cpp: ...this.
1603            * wptW32API.cpp (set_menu_text): Removed unused code.
1604  2002-01-06  Timo Schulz <[email protected]>          (set_menu_text_bypos): New.
1605            * wptCrypto.h: New.
1606      * wptPreferencesDlg.cpp (prefs_dlg_proc): Support for the sign+encrypt          * wptMainProc.cpp (winpt_main_proc): Complete localize
1607      hotkey.          menu texts.
1608          * wptRegistry.cpp: Ditto.          * wptErrors.cpp (log_debug): Use a static var so the file
1609          * wptRegistry.h: Ditto.          is only opened once.
1610          * wptHotkey.h: Ditto.          (debug_end): Cleanup. Currently just close the log file.
1611          * wptGPG.cpp (gpg_load_options): New.          * wptErrors.h (wipememory): New.
1612          (gpg_save_options): New.          (sfree_if_alloc): Use it here.
1613            * WinPT.cpp (WinMain): Display the min. GPGME version which
1614  2002-01-13      Timo Schulz <[email protected]>          is needed in case of an error.
1615    
1616          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Fixed some boolesche  2005-10-17  Timo Schulz  <[email protected]>
1617          settings.  
1618          * wptGPG.cpp (gpg_backup_options): New.          Free all memory returned by the GPGME dll with gpgme_free ().
1619          (gpg_load_options): Ignore comment lines.  
1620          (gpg_save_options): Rewritten.          s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.
1621    
1622  2002-01-18      Timo Schulz <[email protected]>          * wptKeyEdit.cpp (getCardStatus): Remove dummy key.
1623            (list_handler): With user interaction to allow to insert
1624          * wptMainProc.cpp (winpt_main_proc): NLS support for new menu style.          the card into the reader.
1625          * wptPassphraseCB.cpp (parse_gpg_description): Support when no          * wptKeyEditCB.cpp (gpg_edit_card): Likewise.
1626          description was given. One example is when symmetric was used.          (common_card_handler): Fixed incorrect command string.
1627            * wptKeyPropsDlg.cpp (get_card_type): New.
1628  2002-01-20      Timo Schulz <[email protected]>          (keyprops_dlg_proc): Show card information if present.
1629            * wptFileManager.cpp (secret_key_available): Make the code faster.
1630          * wptMainProc.cpp (winpt_main_proc): Fix the error, that the user          
1631          have to click twice before the menu appears. Richard told me this.  
1632    2005-10-16  Timo Schulz  <[email protected]>
1633    
1634  2002-01-23      Timo Schulz <[email protected]>          * wptPassphraseCB.cpp (passphrase_cb): Fix problem
1635            with hanging GPG process on cancel.
1636          * wptClipEditDlg.cpp (clip_edit_dlg_proc): Release the buffer for          * keycache.c (gpg_keycache_release): Release all objects.
1637          loading a file.  
1638          Add new code to save file with clipboard contents.  2005-10-15  Timo Schulz  <[email protected]>
1639    
1640  2002-01-26      Timo Schulz <[email protected]>          * wptCardEdit.cpp (setResult, getResult): New.
1641            (reset): New.
1642          * wptKeylist.cpp (keylist_add_key): Use flags for the file manager          (getCardStatus): Check return codes and release all objects
1643          to avoid to show all userid's. Thanks to Frank.          in case of errors.
1644          * wptDateDlg.cpp (date_dlg_proc): New context to use different          * wptCardEditCB.cpp (change_pin_handler): Call reset()
1645          window texts and some other features.          before quit.
1646          * wptKeygenDlg.cpp (keygen_dlg_proc): Use it here.          (editcard_handler): Likewise.
1647          * wptKeySubkeyDlg.cpp (subkey_dlg_proc): Ditto.          (common_card_handler): New.
1648          * wptGPG.cpp (gpg_create_groupdb): Create the groupdb.gpg file if          * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask
1649          it doesn't exist.          the old PIN when 'Hide Typing' is disabled.
1650          * WinPT.cpp (WinMain): Use the new code here.          * wptPassphraseCB.cpp (passphrase_cb): The card detection
1651            works again. Support to re-enter passphrase.
1652  2002-02-04      Timo Schulz <[email protected]>  
1653    2005-10-14  Timo Schulz  <[email protected]>
1654          * WinPT.rc: Set LVS_SHOWSELALWAYS for all listview elements  
1655          which need it. Thanks to Timo who find this out.          * wptCardDlg.cpp (card_status): New fields for the
1656          * WinPT.cpp (WinMain): We don't quit in the case the user changed          fingerprint creation time. Display card info as title.
1657          the preferences.          (get_printable_version): New.
1658          (update_keycache): New. Handy function to update the keycache.          * wptCardEditCB.cpp (editcard_handler): Fix problem
1659            with the counter comparison.
1660          * Use quotation for the options file in any case.  
1661    2005-10-11  Timo Schulz  <[email protected]>
1662          * clipboard.c (gpgme_clipboard_verify): When the NO_PUBKEY status  
1663          is set, we don' try to get the sig key.          Port to GPGME basically finished.
1664    
1665          * wptGPG.cpp (get_gpg_default_key): Revamped.  2005-09-20  Timo Schulz  <[email protected]>
1666    
1667  2002-02-05      Timo Schulz <[email protected]>          * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):
1668                    Do not use gpgme_recipients_t but the listview directly
1669          wptGPG.cpp (gpg_save_options): Fixed the code for the case the          to add the selected files.
1670          values don't exist in the options file. Thanks to Lutz who found this out.  
1671          (get_gpg_default): First search for "default-key" then for "encrypt-to".  2005-09-07  Timo Schulz  <[email protected]>
1672    
1673  2002-02-05      Timo Schulz <[email protected]>          * Make sure all GetOpenFileName filters are terminated by \0\0.
1674    
1675          * wptGPG.cpp (gpg_save_options): Catch the case when the options file  2005-09-01  Timo Schulz  <[email protected]>
1676          exist but it has a length of zero.  
1677          (gpg_display_error): Print out the data from the GPG stderr          * wptW32API.cpp (center_window): New argument for parent window.
1678          (when available).          Change all callers.
1679          * w32-util.c (_gpgme_get_gpg_optfile): Check if the file exists and if          (center_window2): Likewise.
1680          not, return NULL.          * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.
1681          * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Add support to export secret          * wptGPG.cpp (gnupg_backup_options): Remove param. One backup
1682          keys.          file is enough. Changed all callers.
1683    
1684          * Fixed a lot of memory allocation all over the place.  2005-08-15  Timo Schulz  <[email protected]>
1685    
1686  2002-02-08      Timo Schulz <[email protected]>          * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.
1687            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.
1688          * wptNLS.c: Now it's C-source because GPGME needs gettext too.          * Make sure the passphrase is always overwritten before it is
1689          (stpcpy): Makes it static.          freed (or the function returns).
1690          * errors.c: localize all error strings.          * wptKeyPropDlg.cpp (get_pref_cipher): New.
1691          * WinPT.cpp (get_gettext_lang): Move the code in this file because          (keyprops_dlg_proc): Use it here.
1692          we can't use it in plain C.  
1693    2005-08-06  Timo Schulz  <[email protected]>
1694  2002-02-23      Timo Schulz     <[email protected]>  
1695            * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
1696          * wptListview.cpp (listview_del_items): New.          of the secret key.
1697          * wptKeyManager.cpp (km_delete_keys): Use it here.          (keycache_init): cache name of secret keyring.
1698          * wptKeygenDlg.cpp (keygen_dlg_proc): UTF8 support.          * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
1699          * wptKeylist.cpp (add_key): UTF8 support.          (get_key_type): Do not assume 'ultimate' means key pair.
1700            * wptKeyEditDlgs.cpp (diff_time): New.
1701  2002-02-28      Timo Schulz <[email protected]>          (keyedit_addsubkey_dlg_proc): Changed design and use
1702            diff_time. Drop checks for invalid keylength (< 1024, > 4096)
1703          * wptImplist.cpp (implist_add_key): UTF8 support.          because the combo box automatically handles this.
1704          Handle invalid userID's.          * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
1705          * wptPassphraseCB.cpp (parse_gpg_description): UTF8 support.          * wptGPG.cpp (get_backup_name): New.
1706          (passphrase_callback_proc): Ditto.          (gnupg_backup_keyrings): Rotate backup names, from 0..3.
1707            * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
1708            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
1709  2002-03-01      Timo Schulz <[email protected]>          not the long keyid.
1710    
1711          * wptWipeFile: Replaced all low level I/O functions with W32 API  2005-08-05  Timo Schulz  <[email protected]>
1712          functions. And support for more wiping modes. I don't know to  
1713          support all, but those makes sense for me:          * wptListView.cpp (listview_set_item2): New.
1714          1. Simple (2 random passes)          * wptKeyManager.cpp (km_check_if_protected): Directly
1715          2. DoD (as described in the standard)          retrieve gpgme_key_t from the list.
1716          3. Peter Gutmanns method (from the paper)          (km_check_key_status): Likewise.        
1717            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use
1718            a human-readable name for secret key export.
1719  2002-03-02      Timo Schulz <[email protected]>          Reload just the keys which were affected by updates
1720            (edit-key).
1721          * Use capital letters in the main menus and applied Patricks spelling          (update_key): New.
1722          corrections.          * wptKeyList.cpp ((keylist_upd_key): Stripped down
1723            version of keylist_add_key.
1724          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): keyID is a string          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not
1725          not an integer. Thanks to scrumpy.                reload the keycache here, just flag 'update'. Give the
1726          * wptWipeFile.cpp (rename_unlink): Use '\' instead of '/'.          control to the calling dialog.
1727          (overwrite): Some bugfixes to set the pointer to the begin of the file.          * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t
1728          * wptVerlist.cpp (verlist_build): New keyID column.          as parameter. Changed all callers.
1729          (verlist_add_sig): Use it here.          Add date of expiration to the key info.
1730            (get_expire_date): New.
1731  2002-03-22      Timo Schulz <[email protected]>          Use a checkbox to allow to ask for the cert level.
1732            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload
1733          * wptMainProc.cpp (currwnd_gpg_dlg): If the viewer is used, doesn't          the cache.
1734          set window contents for some commands.  
1735          (winpt_main_proc): Use the code here.  2005-08-04  Timo Schulz  <[email protected]>
1736          * wptKeygenDlg.cpp (keygen_dlg_proc): Allow to generate keys > 2048 bits.  
1737          * wptProxySettingsDlg.cpp: (keyserver_proxy_dlg_proc): New.          * wptListView.cpp (listview_scroll): New.
1738          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Use the proxy dialog here.          (listview_get_item2): New.
1739          * wptKeyserver.cpp (kserver_load_conf): Fixed malformed strings.          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the
1740            item was found, make it visible with scrolling.
1741  2002-03-29      Timo Schulz <[email protected]>          * wptKeyManager.cpp (km_find_key): New.
1742            (keylist_subclass_proc): Support to handle some acceleators.
1743            Strg+{C, P, F, A}.
1744            (km_get_key_status): Get the gpgme_key_t object directly
1745            from the list.
1746            * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set
1747            the config file (if it exists).
1748            * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code
1749            to handle the click->activate situation.
1750            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
1751            Support to check the passphrase quality.
1752            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
1753            (request_passphrase): Rename 'init' to 'flags' to allow more
1754            options.
1755            * wptMAPI.cpp: Check all *alloc results.
1756            * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary
1757            passphrase quality check.
1758            * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file
1759            format and allow to save the checksum in a file.
1760            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning
1761            when the PGP mode is disabled.
1762            wptKeyEditDlgs.cpp (do_editkey_primary): Return if just
1763            one user-ID exists.
1764            (keyedit_dlg_proc): Fixed index problem.
1765            * wptKeyPropsDlg.cpp (get_validity): New.
1766            (keyprops_dlg_proc): Actually show extended validity if possible.
1767            * wptKeyList.cpp (get_key_fpr): Support for old v3 format.
1768            (do_addkey): Use listview_add_item2 to store key as opaque
1769            param inside the list.
1770            * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.
1771            (file_stat_dlg_proc): End dialog if no PGP data was found.
1772            (do_list_packets): Return the number of valid PGP packets
1773            of the file.
1774    
1775    2005-08-02  Timo Schulz  <[email protected]>
1776    
1777            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of
1778            using 'Default Keyserver' add the real keyserver name to
1779            the menu.
1780            The rebuild command does not reload the cache any longer.
1781            Use ATTR_NAME + .asc as the filename and not keyid + .asc.
1782            * wptProxySettingsDlg.cpp (enable_proxy_auth): New.
1783            (keyserver_proxy_dlg_proc): Changed the design a little
1784            and add some additional sanity checks.
1785            * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.
1786            This fixes the problem that the GPG option dialog does not show
1787            very nice lines.
1788            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.
1789            * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected
1790            check for 'NOKEY' before asking a keyserver.
1791            * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.
1792            If a lot of keys were selected, ask if the user wants to confirm
1793            each delete procedure or allow to cancel the operation.
1794            * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much
1795            keys the file contain.
1796            * wptKeyList.cpp (get_key_algo): Beautified.
1797            (get_key_status): Drop the "[XYZ] Unknown" format, it is too
1798            confusing for users.
1799            * wptKeyManager.cpp (km_check_key_status): Adjustments for the
1800            new code.
1801            (km_check_for_seckey): Reset utrust parameter. Return -1 for
1802            invalid (exp+rev+dis) keys.
1803    
1804    2005-08-01  Timo Schulz  <[email protected]>
1805    
1806            * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given
1807            sizes.
1808            (check_IP_or_hostname): New.
1809            (kserver_load_conf): Correct finger URL parsing problem.
1810            (port_from_proto): New.
1811            (keyserver_load_conf): Guess the port.
1812            (keyserver_set_default): Allocate new buffer.
1813            (kserver_load_conf): Likewise.
1814            * wptHTTP.c (parse_reqline, parse_request): Removed.
1815            Use WinPT error code and remove all unused code.
1816            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.
1817            * wptProxySettingsDlg.cpp (read_proxy): Simple check for
1818            invalid host/IP addresses.
1819            * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.
1820            Changed all callers.
1821            * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,
1822            automatically set 'backup to homedir'.
1823            * WinPT.cpp (WinMain): Use desktop window as the parent window
1824            to load 'first-start' dialogs.
1825            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'
1826            flag after deleting keys.
1827            * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure
1828            for passing the arguments.
1829            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for
1830            the OptFile. This was responsible for a lot of 'General Errors'
1831            after the first start related to key caching.
1832            Automatically set the gpg binary if possible.
1833    
1834    2005-07-22  Timo Schulz  <[email protected]>
1835    
1836            * wptMainProc.cpp (winpt_main_proc): Take care for shutdown
1837            messages and make sure WinPT make a keyring backup in this case.
1838            * wptGPGME.cpp (keycache_reload): Do not rebuild the signature
1839            cache each time. Just do it on startup.
1840            * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.
1841            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag
1842            was set by the calling function.
1843            * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.
1844            (keygen_dlg_proc): Only add the generated key to the keycache
1845            and do not reload the entire cache.
1846            * wptKeyManager.cpp (km_delete_keys): Store the number of keys
1847            because in each loop iteration it will be new calculated.
1848            * wptListView.cpp (listview_del_items): Likewise.
1849            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the
1850            generated key to the list instead of reloading the entire cache.
1851            * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.
1852    
1853    2005-05-09  Timo Schulz  <[email protected]>
1854    
1855            * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..
1856            (http_dlg_proc): ..this.
1857            (get_keyserver_URL_dlg): New.
1858            (check_URL): New.
1859            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): New.
1860            (keyedit_main_dlg_proc): Avoid massive keycache reloads, just reload
1861            the single key.
1862            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Show the key
1863            properties of the selected desig. revoker.
1864            * wptVerifyList.cpp (verlist_build): Increase the column
1865            size of 'keyid'.
1866            * wptGPGME.cpp (keycache_update): New.
1867            * wptKeySigDlg.cpp (keysig_dlg_proc): Update the key if a signature
1868            was deleted.
1869            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Zeroing the key struct
1870            before we set any values.      
1871    
1872    2005-05-03  Timo Schulz  <[email protected]>
1873    
1874            * wptFileManager.cpp (fm_parse_command_line): Handle
1875            'SYMKEYENC' files. Thanks to the user who reported it.
1876            * wptKeyEditDlgs.cpp (do_find_userid): Optionally return the context.
1877            (showpref_dlg_proc): New.
1878            (keyedit_main_dlg_proc): Support SHOWPREF.
1879            (userid_list_init): New field 'Email'. Split userID into 'Name' + 'Email'.
1880            (do_add_new_userid): Adjust for new ListView.
1881            (do_find_userid): Use email for searching.
1882            (parse_preflist): New.
1883    
1884    2005-04-19  Timo Schulz  <[email protected]>
1885    
1886            * wptKeyserver.cpp (kserver_update_proxyuser): Fixed
1887            buffer overflow that occurred when the proxy password
1888            is > 29 chars. Thanks to the friendly user who reported this.
1889            (kserver_search): Handle the case the key is revoked. Thanks
1890            to Ralf.
1891            (kserver_connect): More logging.
1892            (kserver_sendkey): Likewise.
1893            * wptProxySettingsDlg.cpp (check_number): New.
1894            (read_proxy): Check the entered port number.
1895            * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.
1896            * wptW32API.cpp (get_folder_dlg): Free memory.
1897    
1898    2005-04-11  Timo Schulz  <[email protected]>
1899    
1900            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Reset
1901            'enable' flag always at the begin.
1902            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Show correct
1903            key trust. Noted by a friendly user.
1904            * wptListView.cpp (listview_add_item_pos): New.
1905            * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Due to
1906            the fact that GPG does not return the fingerprint of
1907            the generated subkey any longer, we need to get it manually.
1908            Thanks to Maxime Brandt.
1909            (keyedit_addsubkey_dlg_proc): If key size too large, ask
1910            if this was a mistake.
1911            (keyedit_add_subkey): Use it here.
1912            (do_add_new_subkey): Fix list contrl insertion.
1913            * wptTypes.h (DEFAULT_KEYSIZE): Define new default keysize constant.
1914    
1915    2005-04-04  Timo Schulz  <[email protected]>
1916    
1917            * WinPT.cpp (check_crypto_engine): Correct version
1918            check. Noted by Werner.
1919    
1920    2005-03-22  Timo Schulz  <[email protected]>
1921    
1922            * WinPT.cpp (WinMain): --debug as an alias for --enable-debug.
1923            (enable_mobile_mode): New.
1924            * wptKeyEditDlg.cpp (keyedit_addsubkey_dlg_proc): Use new
1925            ID's for adding subkeys.
1926    
1927    2005-03-06  Timo Schulz  <[email protected]>
1928    
1929            * wptKeySignDlg.cpp (do_fill_seckeylist): Skip secret keys without
1930            a public key. Noted by Kurt Fitzner.
1931    
1932    2005-03-04  Timo Schulz  <[email protected]>
1933    
1934            * GPG asks twice for the new PIN. Thanks to Achim.
1935            * wptCardDlg.cpp (card_changepin_dlg_proc): Reset the 'safety' pin also.
1936            Only check the passphrase if the backup flag is enabled. Again thanks to
1937            Achim.
1938    
1939    2005-03-03  Timo Schulz  <[email protected]>
1940    
1941            * wptCardDlg.cpp (card_changepin_dlg_proc): Add item to re-type the
1942            new PIN. Suggested by Achim.
1943            Support to show the unmasked PIN.
1944            Modified TAB-order.
1945            * wptPINDlg.cpp (pin_cb_dlg_proc): Show unmasked PIN.
1946    
1947            * Fixed wrong GPG --command-fd strings. Thanks to Achim.
1948    
1949    2005-02-23  Timo Schulz  <[email protected]>
1950    
1951            * wptKeyserver.cpp (check_hkp_response): Support for HTTP/1.1.
1952            (kserver_search): Be more strict.
1953            * WinPT.cpp (WinMain): Enable FM progress by default.
1954            * wptFileManagerDlg.cpp (file_preferences_dlg_proc): New.
1955            (fm_parse_files): Use progress dialog only if it is
1956            enabled.
1957    
1958    2005-02-07  Timo Schulz  <[email protected]>
1959    
1960            * wptFileManager.cpp (fm_parse_files): Do not use the progress dialog
1961            for signing and verifying. But this does not fix the problem tha the
1962            dialog sometimes stay and is not destroyed.
1963    
1964    2005-02-04  Timo Schulz  <[email protected]>
1965    
1966            * wptProgressDlg.cpp (progress_cb_thread): Set root window if available.
1967            If the progress window survives by accident, it will be closed when the
1968            File Manager (root window) is closed.
1969    
1970    2005-02-02  Timo Schulz  <[email protected]>
1971    
1972            * wptPassphraseDlg.cpp (passwd_dlg_proc): use center_window2, otherwise
1973            it is invisible.
1974            * wptPassphraseCB.cpp (passphrase_callback_proc): Do not cache symmetric
1975            passphrases.
1976            * Enable the progress dialog for symmetric encryption.
1977            * wptFileManager.cpp (fm_check_file_type): Also check for 'SYMKEYENC' in
1978            FM_ENCRYPT mode.
1979            * WinPT.cpp (WinMain): SETUP_EXISTING implemented.
1980            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Reset 'Locale directory' when
1981            no value is entered.
1982    
1983    2005-01-26  Timo Schulz  <[email protected]>
1984    
1985            * wptGPG.cpp (multi_gnupg_path): Zero buffer before use.
1986            * wptKeyManagerDlg.cpp: Add 'Select All' feature.
1987            Move 'Edit->Key' to 'Key->Edit'.
1988            * wptFileManagerDlg.cpp: Likewise.
1989            * wptKeyPropsDlg.cpp (keyprops_show_photo): Show the JPG photo directly.
1990            * wptKeyManager.cpp (spawn_loadimage): Removed.
1991            (km_show_photo): Removed.
1992            * wptRevokersDlg.cpp (revokelist_init): Fixed index.
1993            * wptErrors.cpp (winpt_strerror): Show system error for registry
1994            related problems.
1995    
1996    2005-01-25  Timo Schulz  <[email protected]>
1997    
1998            * wptCardDlg.cpp (card_keygen_dlg_proc): Make 'backup keys' default
1999            and that all values are 7-bit ASCII.
2000            Use '*' for the passphrase field.
2001            * wptGPG.cpp (multi_gnupg_path): New.
2002            (get_gnupg_path): Use it here.
2003            (check_homedir): Likewise.
2004            * wptKeyserverDlg.cpp (save_default_ks): Fix problem that the port
2005            is actually set.
2006            * wptFileManager.cpp (fm_clearsign_8bit): New.
2007            (fm_parse_files): Check if the file to clearsign is really 7-bit.
2008            Thanks to djek.
2009            (fm_set_ftype): Factored out some code from...
2010            (fm_add_dropped_files): ...here. Simplied the code.
2011            (fm_add_dir_files): New.
2012            * Removed MD5 from MyGPGME and the new default sym cipher is AES.
2013            * wptProgressDlg.cpp (progress_dlg_proc): Use additional HAND var
2014            to track the window handle.
2015            (progress_cleanup): Try to close tracking handle first.
2016    
2017    2005-01-21  Timo Schulz  <[email protected]>
2018    
2019            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Allow to retrieve keys
2020            which are not in the keyring. Suggested by djek.
2021            * wptFileManagerDlg.cpp (filemanager_dlg_proc): Implement basic
2022            'Always on Top'.
2023            Allow to send encrypted files via MAPI.        
2024            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Only reload the keycache
2025            if the HKP retrieval succeeded.
2026            * wptFileStatDlg.cpp (do_list_packets): Make sure that the pkt pointer
2027            is not NULL.
2028            * wptKeyManager.cpp (km_clip_export): Prefix the clipboard text with
2029            a header similar to 'gpg -k name'.
2030            * wptErrors.cpp (log_box): Use msg_box to make sure the box is visible
2031            with 'Always on Top' windows.
2032            * wptFileManager.cpp (fm_parse_files): Set progress callback for
2033            wiping files.
2034            (fm_add_opened_files): Do not add the file in case of an error.
2035            * wptKeyserverDlg.cpp (kserver_get_port): New.
2036            (save_default_ks): Save port.
2037            * wptKeyserver.cpp (set_default_kserver): Get port or use default.
2038            (kserver_connect): Logging.
2039            (kserver_send_request): Likewise. Thanks to Markus.
2040            * wptError.cpp (w32_fmt_msg): New.
2041            (winpt_strerror): Show the W32 API error if the hotkey could not
2042            be registered.
2043    
2044    2005-01-20  Timo Schulz  <[email protected]>
2045    
2046            * wptKeycacheDlg.cpp (keycache_dlg_proc): Be less strict with the
2047            keyring check. If the file exists, it is enough.
2048            * wptKeyring.cpp (kserver_load_conf): Use C++ new for proxy_host.
2049            Several cleanups and allow to specify the port of the keyserver.
2050            * wptMainProc.cpp (winpt_main_proc): Handle WM_CLOSE to make sure
2051            the application terminates clearly when Windows shutdown.
2052    
2053    2005-01-10  Timo Schulz  <[email protected]>
2054    
2055            * WinPT.cpp (load_gettext): New.
2056            (WinMain): Use it here to load it before --keymanager. Thanks to Ralf.
2057    
2058    2005-01-08  Timo Schulz  <[email protected]>
2059    
2060            * Applied the patches to make the source G++ compatible.
2061            * wptKeyserver.cpp (kserver_load_conf): Use the stripped string.
2062            * wptKeygenDlg.cpp (keygen_dlg_proc): Default key size is now 2048.
2063            * wptFileManagerDlg.cpp (fill_drive_combobox): Do not add CD-Roms.
2064    
2065    2005-01-07  Timo Schulz  <[email protected]>
2066    
2067            * wptKeyserver.cpp (skip_type_prefix): Support all URL schemes.
2068            (finger_recvkey): Use skip_type_prefix and prevent buffer overflows.
2069            (ldap_recvkey): Likewise.
2070            (check_hkp_response): Be more liberal with error strings.
2071            (kserver_connect): Prevent buffer overflow and use the right return
2072            code for inet_addr().
2073            (kserver_search_chkresp): New.
2074            (kserver_search): Fixed. Now it works with modern keyservers.
2075            * wptKeylist.cpp (seclist_init): Add new flags param.
2076            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use short secret key
2077            listing.
2078            * wptClipboardSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
2079            * wptMainProc.cpp (winpt_main_proc): GPGME cleanup.
2080            * WinPT.cpp (WinMain): call GPGME init.
2081            Reword the 'you have no keyring' problem and revamp the first run dialog.
2082            * wptGPG.cpp (gnupg_access_keyring): New.
2083            (gnupg_check_keyring): Removed unused code.
2084            * wptFirstRunDlg.cpp (first_run_dlg_proc): Adjust dialog for the
2085            new texts and remove unused elements.
2086            * wptKeyserverDlg.cpp (keyserver_dlg_proc): s/keyserver/kserver. The
2087            last annoying typo.
2088            * wptKeyserverSearchDlg.cpp (hkpsearch_dlg_proc): End dialog in case of
2089            an error.
2090    
2091    2004-12-30  Timo Schulz  <[email protected]>
2092    
2093            * wptKeyserverDlg.cpp (keyserver_list_build): Initialize pointer.
2094            This fixes the problem that the dialog crashes when the user selects
2095            anything. Thanks to my users.
2096            (keyserver_dlg_proc): s/keyserver/kserver. Thanks to Ulf.
2097            
2098    2004-12-20  Timo Schulz  <[email protected]>
2099    
2100            * wptGPG.cpp (check_gnupg_engine): Fixed version checking.
2101            * wptFileManager.cpp (fm_encrypt): Delete the passphrase from the
2102            cache if it is not valid.
2103            
2104            Fix problem with a NULL pointer.
2105    
2106    2004-12-15  Timo Schulz  <[email protected]>
2107    
2108            * wptFileManagerDlg.cpp (space_wipefrees_dlg_proc): Use the right
2109            temp name.
2110            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable 'OK' button
2111            when no secret key is available.
2112    
2113    2004-12-11  Timo Schulz  <[email protected]>
2114    
2115            * wptFileManager.cpp (fm_add_opened_files): Fix broken code to detect
2116            the file type.
2117            (fm_parse_command_line): Likewise.
2118    
2119    2004-12-02  Timo Schulz  <[email protected]>
2120    
2121            * wptKeySigDlg.cpp (do_load_keyprops): Only issue errors for non-main nodes.
2122    
2123    2004-11-04  Timo Schulz  <[email protected]>
2124    
2125            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Support preferred
2126            keyserver sub packets.
2127    
2128            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Set a flag to
2129            indicate we need to reload the cache. If a user deletes a key
2130            and exits the manager and loads it again the deleted key is
2131            still in cache and provoked an error.
2132            
2133            * wptKeySigDlg.cpp (do_load_keyprops): Stricter key checks.
2134    
2135            * wptW32API.cpp (center_window): Replaced with real code which calculates
2136            the position relative to the desktop window.
2137    
2138    2004-10-25  Timo Schulz  <[email protected]>
2139    
2140            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Issue an info box
2141            if the PGP message is complete but broken during the transport.
2142            Thanks to Werner and Achim.
2143            * wptFileManager.cpp (fm_sym_encrypt): Do not force CAST5. Thanks
2144            to the gnupg-users.
2145            * Automatically add '\r\n' to the text before signing. This solves
2146            the problem the last line is not included if no \r\n is present.
2147            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Add a 'mail quote' mode
2148            which prepends the text with '> '. This makes it easier to quote
2149            decrypted text.
2150            * wptKeyserverDlg.cpp (keyserver_list_build): Code which was factored
2151            out from..
2152            (keyserver_dlg_proc): ..here.
2153    
2154    2004-10-15  Timo Schulz  <[email protected]>
2155    
2156            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Make sure that opt
2157            is really initialized.
2158    
2159    2004-10-07  Timo Schulz  <[email protected]>
2160    
2161            * wptErrors.cpp (winpt_errmsg): Use a generic header when no
2162            filename is supplied.
2163            * wptMainProc.cpp (cleanup_tmp_files): Do not use BUG but
2164            an error message which is more clean. Thanks to Ralf.
2165            * wptCardDlg.cpp (card_keygen_dlg_proc): Support new card
2166            admin mode.
2167            * wptKeySignDlg.cpp (do_check_protection): Also check for smart
2168            card protection.
2169            (get_keyinfo): Return if this is a smart card key.
2170            * wptKeyEditDlgs.cpp (do_find_userid): Use UTF8 encoding before
2171            comparing the names.
2172            * winpt.cpp: Now depends on PTD 0.7.1.
2173    
2174    2004-10-01  Timo Schulz  <[email protected]>
2175    
2176            * wptClipSignDlg.cpp: Really use the selected subkey with the
2177            right '!' syntax. Thanks to Vedaal for pointing this out.
2178            * wptGPG.cpp (gnupg_backup_keyrings): Check if the backup device
2179            is accessable and writeable, otherwise inform the user. Kudos to
2180            the one who reported this problem.
2181    
2182    2004-09-20  Timo Schulz  <[email protected]>
2183    
2184            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable 'Sign' in
2185            context menus when the key is flagged as revoked.
2186            (update_ui_items): Likewise and set the 'ShowPhoto' flag only if
2187            the key has such an item.
2188    
2189    2004-09-08  Timo Schulz  <[email protected]>
2190    
2191            * wptKeyserverDlg.cpp (kserver_get_pos): If only one element is
2192            in the list, return zero.
2193    
2194    2004-09-07  Timo Schulz  <[email protected]>
2195    
2196            * wptAboutDlg.cpp (about_dlg_proc): Add 'Help' button. Suggested by Ralf.
2197            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
2198    
2199    2004-09-01  Timo Schulz  <[email protected]>
2200    
2201            * wptGPG.cpp (GPG_CONF): Define it. Use gpg.conf by default.
2202            (default_key_from_cache): Use new key attribute 'usable'.
2203            * WinPT.cpp (show_unprotected_keys): Removed.
2204            * wptKeylist.cpp (check_key): Removed.
2205            (seclist_init): Use new 'usable' key attribute.
2206            (keylist_add_key): Likewise.
2207            * wptKeyManagerDlg.cpp (keylist_subclass_proc): support to
2208            add keys via 'INSERT'.
2209            * wptListView.cpp (listview_select_one): New.
2210            (listview_find): New.
2211            * wptFileManager.cpp (fm_get_current_pos): If there is only
2212            one item, return 0 but also select it. Thanks to Christian.
2213    
2214    2004-08-28  Timo Schulz  <[email protected]>
2215    
2216            * WinPT.cpp (WinMain): Free gpg table in case of an error.
2217            * wptFileManagerDlg.cpp (filelist_subclass_proc): New.
2218            (filemanager_dlg_proc): Subclass the list control.
2219            * Fix Alt+C for the winpt_prefs_dlg_proc.
2220            * wptKeyserver.cpp (kserver_load_conf): Ignore lines with
2221            just whitespaces. Thanks to the folks on winpt-users.
2222    
2223    2004-08-27  Timo Schulz  <[email protected]>
2224    
2225            * wptKeyserver.cpp (skip_whitespace): New.
2226            * Fix a problem with the key cache. The new hash item was
2227            not initialized to zero and thus the free caused an illegal access.
2228            Thanks to Ralf for pointing this out.
2229            * wptTextInputDlg.cpp (text_input_dlg_proc): Finished with localisation.
2230            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
2231            * wptFirstRunDlg.cpp (first_run_dlg_proc): Remove global variable and
2232            use a context to store the value. Loalize all text strings.
2233            * wptKeyList.cpp (key_check_validity): Cannot use gettext here.
2234            (keylist_get_recipients): Increase buffer for gettext messages.
2235    
2236    2004-08-26  Timo Schulz  <[email protected]>
2237    
2238            * WinPT.cpp (load_keyserver_conf): New. Factored out some code
2239            from WinMain ().
2240            (WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner
2241            * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver
2242            in the list control, add at least the internal default HKP server.
2243            * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.
2244            * wptKeySignDlg.cpp (sig_class_dlg_proc): Likewise.
2245            (keysign_dlg_proc): Likewise.
2246            * wptKeySigDlg.cpp (keysig_dlg_proc): Likewise.
2247            * wptKeyserver.cpp (skip_type_prefix): New. Thanks to Marcus Junk.
2248            (kserver_connect): use it here.
2249            (kserver_send_request): Likewise.
2250            (kserver_recvkey): Likewise.
2251    
2252    2004-08-25  Timo Schulz  <[email protected]>
2253    
2254            * wptFileManager.cpp (fm_get_file_type): Skip files over 32 MB
2255            and skip to read large files on floppy discs.
2256            (fm_wipe): Display a 'wait' cursor until the wipe is complete.
2257            (is_floppy_disc): New.
2258            * wptFileManagerDlg.cpp (filelist_subclass_proc): New.
2259            (file_manager_dlg_proc): Use subclassing to allow some hotkeys.
2260    
2261    2004-08-24  Timo Schulz  <[email protected]>
2262    
2263            * wptKeyEditDlgs.cpp (userid_list_init): Add creation date for
2264            the user-ids.
2265            * wptKeygenDlg.cpp (key_wizard_dlg_proc): Allow to switch into
2266            expert mode when the non-interactive mode is used.
2267            * WinPT.cpp (WinMain): Start the keygen wizard instead of the
2268            expert dialog and allow to switch to it.
2269    
2270    2004-08-20  Timo Schulz  <[email protected]>
2271    
2272            * wptKeyManagerDlg.cpp (do_create_minpopup): In read-only
2273            mode the menu is not available.
2274            (popup_gpg_readonly): New.
2275            (menu_gpg_readonly): New.
2276            (keymanager_dlg_proc): Use it here. Do not check the permissions
2277            any longer since this is now handle via the read-only code.
2278            * wptMainProc.cpp (winpt_main_proc): Check if the keyrings
2279            are in read-only mode.
2280            * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): RSA support.
2281            * wptKeySignDlg.cpp (keysign_dlg_proc): Allow non-revocably
2282            signatures in expert mode.
2283            * wptKEyEditDlgs.cpp (do_find_userid): Release context.
2284            * wptGPG.cpp (gpg_check_permissions): Only print out a warning
2285            in the interactive mode.
2286            * wptTrayPopDlg.cpp (WndProc): Destroy the window when the left
2287            mouse button is clicked.
2288    
2289    2004-08-19  Timo Schulz  <[email protected]>
2290    
2291            * wptKeyEditDlg.cpp (keyedit_addsubkey_dlg_proc): Corrected
2292            key numbers.
2293    
2294            * wptKeysigDlg.cpp (do_delsig): New. Implement 'delsig' command.
2295            (is_sig): Change code to allow to check pre-defined fields.
2296    
2297            * WinPT.cpp (WinMain): Allow read-only support for keyrings.
2298    
2299    2004-08-06  Timo Schulz  <[email protected]>
2300    
2301            * wptContext.h: Move subclass_s context to this file.
2302    
2303            * wptKeysigDlg.cpp (subclass_dlg_proc): New.
2304    
2305    
2306    2004-08-05  Timo Schulz  <[email protected]>
2307    
2308            * wptKeySigDlg.cpp (sigprops_dlg_proc): Set the 'expired' flag
2309            when possible.
2310            New dialog layout to enhance the readability of the text. Use
2311            flat check boxes for the same reason.
2312    
2313            * wptKeyEditDlgs.cpp (do_editkey_expire): Set new value to
2314            the right column (3 not 4).
2315    
2316            * wptFileManagerDlg.cpp: Make sure the wipe freespace tempfile
2317            uses a unique name.
2318    
2319    
2320    2004-08-04  Timo Schulz  <[email protected]>
2321    
2322            * wptClipEditdlg.cpp (clip_edit_dlg_proc): Removed the
2323            edit-field to display the text. Now a RichEdit field is
2324            used. This solves the XP problem that the viewer is empty
2325            even if there is text in it.
2326    
2327            * wptKeyManger.cpp (km_file_export): Add WinPT specific comment.
2328    
2329            * wptKeySigDlg.cpp (sigprops_dlg_proc): New.
2330            (keysig_dlg_proc): Add new 'Properties' button and implement
2331            the code for it.
2332    
2333            * wptSigList.cpp: Add support to show the expiration date.
2334    
2335            * wptGPGME.cpp (keycache_init): Support to show the progress bar.
2336            (keycache_release): Store the amount of keys in the registry for
2337            the progress dialog.
2338    
2339            * wptPreferenceDlg.cpp (prefs_dlg_proc): Add support to generate
2340            default keyserver.conf.
2341    
2342            * wptKeyserver.cpp (kserver_load_conf): Store the mod-time of the file.
2343            Fix possible buffer overflow.
2344            (wsock_end): Release stored keyserver list.
2345    
2346            * wptEncryptDlg.cpp (clip_encrypt_dlg_proc): Allow to search for
2347            a specific recipient and select it.
2348    
2349    2004-08-02  Timo Schulz  <[email protected]>
2350    
2351            * wptKeysigDlg.cpp (do_create_popup): New.
2352            (do_load_keyprops): New.
2353    
2354            (keysig_dlg_proc): Factor out some common code and use
2355            do_load_keyprops.
2356    
2357            * wptKeyServer.cpp (kserver_check_inet_connection): New.
2358    
2359            * wptKeyManger.cpp (km_refresh_from_keyserver): First check
2360            for an active internet connection. It's annoying for the
2361            user to confirm an connection error for each key (n>40).
2362    
2363    2004-07-27  Timo Schulz  <[email protected]>
2364    
2365            * wptKeyManagerDlgProc.cpp (keymanager_dlg_proc): Set the new
2366            value for the ownertrust.
2367    
2368            * wptKeyManager.cpp (get_key_trust): Make it public.
2369            (get_key_trust_str): New.
2370            (km_refresh_from_keyserver): Allow to select random keys.
2371            (km_refresh_one_key): New.
2372    
2373            * wptKeyserver.cpp: Use default keyserver if possible.
2374    
2375    2004-07-13  Timo Schulz  <[email protected]>
2376    
2377            * wptFileManager.cpp (fm_assume_onepass_sig): New.
2378            Thanks to Vedaal who found out that armored one-pass sigs are not
2379            correctly recognized.
2380    
2381            (ask_filename): New.
2382            Again thanks to Vedaal who suggested to ask for a new output name
2383            for the case the user does not want to overwrite the file.
2384    
2385            (fm_encrypt): Use it here.
2386            (fm_decrypt): Likewise.
2387            (fm_sign): Likewise.
2388    
2389            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): New context menu entry
2390            to set secret keys to ultimate trust.  
2391    
2392            * wptKeyManager.cpp (km_check_for_seckey): Optionally return if the
2393            key has ultimate trust.
2394            (km_set_implicit_trust): New.
2395    
2396    2004-07-12  Timo Schulz <[email protected]>
2397    
2398            * wptRegistry.cpp: Support for disable compression of multi-media files.
2399            (set_reg_winpt_single): New.
2400            (get_reg_winpt_single): New.
2401    
2402            * wptFileManager.cpp (is_multi_media): New.
2403            (fm_encrypt): Disable compression of multi-media files.
2404            (fm_state_new): Set comment to indicate armored files were generated
2405            by WinPT. This is a replacement due to the fact the WinPT string is not
2406            added in the 'Version' for larger files.
2407    
2408            * WinPT.cpp (WinMain): Extract the loadimage.exe from the DLL if not found.
2409    
2410    2004-07-11  Timo Schulz  <[email protected]>
2411    
2412            * Bug fix for the validity revoked status. Now it is 'revoked'
2413            and not 'unknown' any longer.
2414    
2415            * Feature to disable encryption. This might be useful for filetypes
2416            GPG does not recognize as compress (movies, ...).
2417    
2418            * wptFileManager.cpp (fm_get_file_type): Skip packet detction if
2419            the file is large and it has no openpgp extension.
2420    
2421    2004-06-19  Timo Schulz  <[email protected]>
2422    
2423            * wptInet.cpp: Renamed to ...
2424            * wptHttp.c: ... this.
2425            * wptKeyManager.cpp (km_http_import): Release 'p' not too early.
2426            * WinPT.cpp (WinMain): If there is a problem with the homedir,
2427            jump to the first start settings.
2428    
2429    2004-06-12  Timo Schulz  <[email protected]>
2430    
2431            * wptInet.cpp: Updated.
2432            * wptKeyManager.cpp (km_http_import): Use http_send_request2() to
2433            parse the URL.
2434            * wptCommonDlg.cpp (http_file_dlg_proc): New.
2435            (get_http_file_dlg): New.
2436    
2437    2004-06-08  Timo Schulz  <[email protected]>
2438    
2439            * wptInet.cpp: New.
2440            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Support for http
2441            transfers.
2442            * wptKeyManager.cpp (km_http_import): New.
2443    
2444    
2445    2004-06-02  Timo Schulz  <[email protected]>
2446    
2447            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Do not issue an error
2448            if there is no clipboard data.
2449    
2450            Release memory in case of an error.
2451    
2452            * wptKeyManager.cpp (keylist_cmp_cb): Allow to sort by algorithm.
2453    
2454            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
2455    
2456    
2457    2004-05-31  Timo Schulz  <[email protected]>
2458    
2459            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Implement the
2460            'X' close button. Noted by a friendly user.
2461            
2462            Disable 'Save' button.
2463    
2464            * wptMainProc.cpp (cleanup_tmp_files): Delete all related temp files.
2465    
2466            * wptFileManager.cpp (fm_set_status): Do not use the data file name
2467            for signatures but keep the original file name.
2468    
2469            (fm_verify_pasted_detsig): Try to verify detached signatures from
2470            the clipboard.
2471    
2472    2004-05-14  Timo Schulz  <[email protected]>
2473    
2474            * WinPT.cpp (check_crypto_engine): Due to some
2475            internal  GPG changes the min. version for smart card
2476            support is now 1.3.6.
2477    
2478            * wptProxySettingsDlg.cpp (read_proxy): Correct prefix
2479            handling. Thanks to the folks who reported this via SF.net.
2480    
2481            * wptRegistry.cpp (get_reg_winpt_prefs): Corrected enum ids.
2482            Thanks to the folks on winpt-users who reported it.
2483    
2484            * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix code in case of
2485            the hotkeys are disabled.
2486    
2487            * wptKeylist.cpp (do_addkey): Broken ElGamal dection, fixed.
2488    
2489            * wptFileManager.cpp (fm_get_file_type): Do not parse the entire
2490            file if the size is >= 256MB.
2491    
2492    2004-03-15  Timo Schulz  <[email protected]>
2493    
2494            * Decrypt list box has now a vertical scroll bar.
2495    
2496    2004-03-11  Timo Schulz  <[email protected]>
2497    
2498            * The DLL is now complety C-source.
2499    
2500    2004-03-08  Timo Schulz  <[email protected]>
2501    
2502            * wptGPG.cpp (gnupg_import_keyrings): cleanups.
2503    
2504            * wptUTF8.c (utf8_to_wincp): New. Directly convert UTF-8 to Windows
2505            CP.
2506            (wincp_to_utf8): Likewise.
2507            (conv_charset): Now internal and static.
2508    
2509            * wptUTF8.h: New prototypes and remove the old prototypes.
2510    
2511            * WinPT.cpp (WinMain): Destroy the windows handle in case of an error.
2512    
2513    
2514    2004-03-07  Timo Schulz  <[email protected]>
2515    
2516            * wptGPG.cpp (get_gnupg_keyring): Special case because GPG creats
2517            dummy keyrings with a size of zero in the homedir.
2518    
2519            (gpg_check_permissions): Check for read-only keyrings and add code
2520            for this case.
2521    
2522            This problem fixes a lof of other problems related to the OpenPGP
2523            parsing stuff for the key cache.
2524    
2525            * WinPT.cpp (check_crypto_engine): Store the GPG version for later use.
2526    
2527    2004-03-04  Timo Schulz  <[email protected]>
2528    
2529            * wptKeyserver.cpp (finger_recvkey): Error if key was not found
2530            or garbled.
2531    
2532            * wptGPG.cpp (gpg_check_permissions): Take care of the entries
2533            in gpg.conf.
2534    
2535            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Support to select
2536            the signer. Suggested by Sebastian.
2537    
2538            * wptKeylist.cpp (seclist_init): Moved from the clip dialog file to
2539            this file.
2540            (seclist_free): Likewise.
2541            (seclist_select_key): Likewise.
2542    
2543            * wptFileManager.cpp (fm_encrypt): Handle the case the signer was
2544            already set.
2545    
2546    2004-03-02  Timo Schulz  <[email protected]>
2547    
2548            * wptGPG.cpp (check_keyring): Handle the case that the keyring
2549            is set in the gpg.conf file and the pubring.gpg file is zero bytes.
2550    
2551            (gnupg_backup_keyrings): Support backup of keyrings which were set
2552            in gpg.conf. Thanks to the user who reminded me of this problem.
2553    
2554            (gnupg_check_file_ext): Make check not case sentensive.
2555    
2556            * (sfree_if_alloc): Overwrite the memory with zeros before freeing
2557            it. This only works with c-strings! Use it everywhere we handle
2558            sentensive information (passphrases).
2559    
2560            * Try to improve the usability with better menu names and new
2561            ordering.
2562    
2563            * wptKeyMangerDlg.cpp: Make the 'Trust' column sortable.
2564    
2565            * wptMainProc.cpp (winpt_main_proc): Removed GPG about dialog. Now
2566            it is part of the WinPt about dialog. This way we can minimize the
2567            elements in the popup menu.
2568    
2569    2004-02-29  Timo Schulz  <[email protected]>
2570    
2571            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Support throw-keyid.
2572    
2573            * wptKeySignDlg.cpp (do_fill_seckeylist): Make sure we skip key itself
2574            so we are not allowing to sign ourself.
2575    
2576            * wptSigList.cpp (siglist_add_key): Support for the signature
2577            flags (local, non-revocably, ...).
2578    
2579            * Key signing with GPG 1.2.x should work again. Hopefully.
2580    
2581    2004-02-26  Timo Schulz  <[email protected]>
2582    
2583            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Issue an error
2584            if no recipient was selected.
2585    
2586            * wptFileManager.cpp (fm_parse_files): Make sure the progress dialog
2587            is destroyed. This fixes the bug that the dialog sometimes exist even
2588            after the procedure ended.
2589    
2590            * wptProgressDlg.cpp (progress_callback): Change the if-then-else
2591            struct to prevent zombie dialogs.
2592    
2593            * wptKeyserver.cpp: Removed unused prototypes.
2594    
2595    2004-02-25  Timo Schulz  <[email protected]>
2596    
2597            * wptKeyManagerDlg.cpp: Use consequently 'List Signatures' and
2598            do not mix the names in the different menus.
2599    
2600            * wptSigList.cpp: Support to show the signature class.
2601    
2602            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable the combo
2603            box when there is no secret key available.
2604    
2605            (do_init_keylist): Do not allow to use the owners key as a desig
2606            revoker.
2607    
2608            * wptKeylist.cpp (get_key_trust): New.
2609            (do_addkey): Use it here.
2610    
2611    2004-02-24  Timo Schulz  <[email protected]>
2612    
2613            * WinPT.cpp (WinMain): Call a selftest check procedure to
2614            make sure all cryptographic code works as expected.
2615    
2616    2004-02-22  Timo Schulz  <[email protected]>
2617    
2618            * PTD: Cryptdisk seems to have problems with locking. Use
2619            a forced flag to tell the code if it should bail out or
2620            ignore locking errors.
2621    
2622            * wptCryptdisk.cpp (cryptdisk_umount_dlg_proc): Use new
2623            locking code.
2624            (cryptdisk_new_dlg_proc): Adjust size of the volume.
2625    
2626    2004-02-21  Timo Schulz  <[email protected]>
2627    
2628            * wptCryptdisk.cpp (cryptdisk_cleanup): New.
2629            (is_nt4): Because my Platform-SDK is too old I need to load
2630            some prototypes dynamically.
2631            (init_drives): Return the first useable drive letter if
2632            called with appropriate parameters.
2633            * wptMainProc.cpp (winpt_main_proc): Use it here.
2634    
2635    2004-02-18  Timo Schulz  <[email protected]>
2636    
2637            * Modify the cryptdisk code for crosscrypt 0.4.1.
2638            * wptCryptDisk.cpp (do_mount): Add key algorithm param.
2639    
2640    2004-02-17  Timo Schulz  <[email protected]>
2641    
2642            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Also encrypt
2643            to the signers key. Suggested by Alexander.
2644            Use new keycache system, we use the public key part of the
2645            cache because it has all flags set.
2646            * wptGPG.cpp (default_key_from_cache): Use new cache system.
2647            * wptKeySignDlg.cpp (do_fill_seckeylist): Likewise.
2648    
2649    
2650    2004-02-12  Timo Schulz  <[email protected]>
2651    
2652            * wptErrors.cpp: New error codes for the cryptdisk feature.
2653            * wptCryptdisk.cpp (do_dispatch): Better error handling.
2654            (cryptdisk_mount_dlg_proc): Use it here.
2655            (cryptdisk_umount_dlg_proc): Likewise.
2656            (init_drives): Use system list.
2657    
2658            Localized all strings.
2659    
2660    2004-02-09  Timo Schulz  <[email protected]>
2661    
2662            * wptCryptdisk.cpp (cryptdisk_umount_dlg_proc): New.
2663            (do_reaping): New. Release the list if all items are 'expired'.
2664            (cryptdisk_mount_dlg_proc): New.
2665            (init_drives): New.
2666            * wptMainProc.cpp (cryptdisk_proc): Renamed from...
2667            (handle_cryptdisk): this. And filled with life.
2668    
2669    2004-02-08  Timo Schulz  <[email protected]>
2670    
2671            * wptCryptdisk.{cpp,h}: New. Support for the extended
2672            filedisk application.
2673            * wptMainProc.cpp (winpt_main_proc): Likewise.
2674            * WinPT.cpp (WinMain): Make sure the new PTD lib is installed.
2675    
2676    2004-02-05  Timo Schulz  <[email protected]>
2677    
2678            * wptRegistry.cpp (set_reg_winpt_prefs): Forget to handle
2679            CMD_DISHOTKEYS. Thanks to the user who reminded me.
2680            * wptMainProc.cpp (spawn_cryptdisk): New interface to
2681            the Cryptdisk application.
2682    
2683    2004-02-04  Timo Schulz  <[email protected]>
2684    
2685            * wptRegistry.cpp (get_reg_winpt_prefs): Revamped the core.
2686    
2687    2004-02-03  Timo Schulz  <[email protected]>
2688    
2689            * WinPT.cpp (check_crypto_engine): New. Factor out common code.
2690            (WinMain): Check the crypto engine after the first start.
2691    
2692            * wptRegistry.cpp (set_reg_winpt_prefs): Make sure an error is
2693            issued if the values could not stored. Revamped the core.
2694    
2695            * Removed the last appearance of the GPG agent support.
2696    
2697            * wptGPG.cpp (init_gnupg_table): Do not use static buffers.
2698            (free_gnupg_table): Free memory.
2699    
2700            * wptClipImportDlg.cpp (clip_import_dlg_proc): Make sure the
2701            ctx pointer get malloced and set the contents to zero.
2702    
2703    
2704    2004-02-02  Timo Schulz  <[email protected]>
2705    
2706            * wptCardDlg.cpp (card_keygen_dlg_proc): Make sure the name
2707            is long enough. The same check for the mail address.
2708    
2709            Thanks to Achim.
2710    
2711    2004-01-28  Timo Schulz  <[email protected]>
2712    
2713            * wptCardDlg.cpp (card_keygen_dlg_proc): A info is issued
2714            if keys on the card exist but the user does not said overwrite.
2715    
2716            Make sure the expire date is not in the past.
2717    
2718            * wptMainProc.cpp (winpt_main_proc): Avoid to release the file
2719            lock twice. Not sure if this fixes some other problems but it
2720            was definitely a bug.
2721    
2722            * wptMapi.cpp (mapi_init): Make sure all function ptrs are
2723            initialized otherwise bail out.
2724            (mapi_send_message): New. Interface to allow to send an
2725            encrypted mail with zero ore more encrypted attachments.
2726            (secure_attachment): New.
2727            (parse_recipients): New.
2728    
2729    2004-01-25  Timo Schulz  <[email protected]>
2730    
2731            * WinPT.cpp (WinMain): Silently die when an instance is already
2732            running. Do not confuse the user with a message. Suggested by
2733            Sebastian.
2734            * wptKeyManager.cpp (delete_keys_from_cache): New.
2735            (km_delete_keys): Use it here. Thanks to Achim.
2736    
2737    2004-01-23  Timo Schulz  <[email protected]>
2738    
2739            * wptCardDlg.cpp (check_pin_len): New. Check if the
2740            PIN is long enough and give an appropriate error.
2741            (card_changepin_dlg_proc): Use the new check function.
2742    
2743    2004-01-22  Timo Schulz  <[email protected]>
2744    
2745            * Remove all internal card reader config. It's up to the
2746            user to do this. It would be too error proune to offer it.
2747            * wptCard.h: Removed all card driver stuff.
2748            * wptPinDLG.cpp (pin_cb_dlg): Use better names to differ
2749            between the admin and the user (normal) PIN.
2750    
2751    2004-01-04  Timo Schulz  <[email protected]>
2752    
2753            * wptImageList.{cpp,h}: New. Contributed by Andreas Jobs.
2754            * wptKeylist.cpp (keylist_cmp_cb): More patches from Andreas
2755            and minor changes.
2756            * wptListView.cpp (listview_sort_items): Likewise.
2757            * wptKeyManager.cpp (key_manager_dlg_proc): Likewise.
2758            (regist_sep_wnd): Factored out some code.
2759    
2760    2004-01-03  Timo Schulz  <[email protected]>
2761    
2762            * wptClipImportDlg.cpp (clip_import_dlg_proc): automatically allow
2763            to import secret keys.
2764    
2765    2003-12-31  Timo Schulz  <[email protected]>
2766    
2767            * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Do not sort
2768            the list otherwise the index is wrong.
2769            * wptKeySignDlg.cpp (keysign_dlg_proc): Add the ability to set
2770            a signature expire date.
2771    
2772    2003-12-30  Timo Schulz  <[email protected]>
2773    
2774            * fixed the GPG edit-key commands sign and addrevoker.
2775    
2776    2003-12-23  Timo Schulz  <[email protected]>
2777    
2778            * wptKeyEditAddKEyDlg.cpp (keyedit_addsubkey_dlg_proc): Remove
2779            ElGamal s+e support. Oops, this should be already done.
2780            * wptGPGME.cpp (keycache_init): Sync both key caches. In other
2781            words transfer some flags from the sec-cache to the pub-cache.
2782            * wptKeySignDlg.cpp (key_sign_dlg_proc): A workaround for the
2783            key sign procedure. If it is already signed, the process
2784            sometimes hangs.
2785    
2786    2003-12-14  Timo Schulz  <[email protected]>
2787    
2788            * wptKeyeditSetPrefDlg.cpp (get_userid_preflist): New.
2789            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Support for updpref.
2790            (do_editkey_setpref): Implement updpref command.
2791    
2792    
2793    2003-12-10  Timo Schulz  <[email protected]>
2794    
2795            * GPGME support to change key preferences.
2796            * wptKeyeditSetPrefDlg.cpp (keyedit_setpref_dlg_proc): New.
2797            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use the new feature here.
2798    
2799    
2800    2003-11-29  Timo Schulz  <[email protected]>
2801    
2802            * wptMAPI.cpp (mapi_init): New.
2803            (mapi_deinit): New.
2804            (mapi_send_pubkey): New.
2805            * wptKeyManager.cpp (km_send_to_mail_recipient): New.
2806            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Support
2807            to send the public key via MAPI to a recipient.
2808            * wptKeySignDlg.cpp (do_fill_seckeylist): Make sure we rewind
2809            the secret key cache so it's not at the end.
2810            (keysign_dlg_proc): Issue a warning when no secret key was
2811            found which could be used for signing the key.
2812            * wptKeylist.cpp (do_addkey): Never add an Elgamal sign+encrypt key.
2813            * wptKeySignDlg.cpp (do_fill_seckeylist): Likewise.
2814    
2815    2003-11-28  Timo Schulz  <[email protected]>
2816    
2817            * Remove all support for ElGamal sign+encrypt keys.
2818    
2819            There is a flaw in GPG which makes all such keys useable and
2820            they are comprised even if one signature they made is accessable.
2821            And due to the fact the key is self signed, such a sig is always
2822            available for the public.
2823    
2824            We warn the user at startup if such keys were found!
2825    
2826            * wptMainProc.cpp (elgamal_warn_dlg_proc): New.
2827            * wptGPGME.cpp (count_insecure_elgkeys): New.
2828            * WinPT (WinMain): Use it here.
2829    
2830    2003-11-14  Timo Schulz  <[email protected]>
2831    
2832            * wptCardDlg.cpp (card_edit_dlg_proc): Release the second PIN.
2833    
2834    2003-11-13  Timo Schulz  <[email protected]>
2835    
2836            * Clarify pin names. Now all PIN's are labeled 'Admin' or 'User'.
2837            * wptPINDlg.cpp (pin_cb_dlg_proc): Length check for the PINs.
2838            Thanks to Achim.
2839            * Change PIN interface. Now it is easier when an operation requires
2840            both PINs.
2841            * wptCardDlg.cpp (do_proc_card_cmds): Now GPG requires both PINs
2842            to change card attributes. Do not ask me why, but now the user
2843            needs to enter 2 PINs.
2844    
2845            Name parts were swapped, now they have the right order again.
2846    
2847    2003-10-02  Timo Schulz  <[email protected]>
2848    
2849            * Prepare test release.
2850            * wptGPGCmds.h: New from GPG 1.3.4-cvs.
2851    
2852    2003-10-29  Timo Schulz  <[email protected]>
2853    
2854            * wptKeyEditDlgs.cpp: New logging scheme. Changed all callers.
2855    
2856            * Create a new interface for an interactive card callback. GPG
2857            provides card control status messages if the wrong card is inserted.
2858    
2859            * wptCardManager.cpp (card_cb_dlg_proc): New.
2860            (card_callback): New.
2861    
2862            * wptCardPCSC.cpp (pcsc_loadlib): Use some 'A' to declare we use
2863            the ASCII functions and not the Unicode function names. Thanks to
2864            Werner for pointing this out.
2865    
2866            * wptPassphraseCB.cpp (passphrase_cb): Better card interface. Now the
2867            serial card number is shown to help the user to find the right card.
2868    
2869            * wptClipSignDlg.cpp (clip_sign_dlg_proc): New logging scheme.
2870    
2871    2003-10-26  Timo Schulz  <[email protected]>
2872    
2873            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Implement new logging.
2874    
2875            * Changed the code at several other places to support the new logging
2876            scheme.
2877    
2878    
2879    2003-10-24  Timo Schulz  <[email protected]>
2880    
2881            * Implemented a better logging system. If the return code
2882            of GPG is != 0 and the error is not known, display the errors
2883            from stderr.
2884    
2885            * wptGPGME.cpp (logging_cb): New.
2886    
2887    2003-10-23  Timo Schulz  <[email protected]>
2888    
2889            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Show GPG output
2890            if the error is unknown.
2891            (clip_sign_dlg_proc): Likewise.
2892            (clip_signenc_dlg_proc): Likewise.
2893            (clip_import_dlg_proc): Likewise.
2894    
2895    2003-10-21  Timo Schulz  <[email protected]>
2896    
2897            * wptClipDecryptDlg.cpp (list_recipients): New.
2898            (algo_from_list): New.
2899            (clip_decrypt_dlg): New concept to list all recipients.
2900            * wptFileManager.cpp (fm_list_keys): New.
2901            (fm_decrypt): Same changes as for the clipboard decryption.
2902    
2903    2003-10-21  Timo Schulz  <[email protected]>
2904    
2905            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): If the passphrase
2906            was wrong, delete the cache item (if available).
2907            * wptClipSignDlg.cpp (clip_sign_dlg): Likewise.
2908            * wptClipSignEncDlg.cpp (clip_signenc_dlg): Likewise.
2909            * wptPassphraseCB.cpp (set_gpg_passphrase_cb): Set 'is_card'
2910            flag to zero.
2911            
2912    
2913    2003-10-19  Timo Schulz  <[email protected]>
2914    
2915            * wptPINDlg.cpp (pin_cb_dlg_proc): Support to store the admin and
2916            the working PIN.
2917            wptCardDlg.cpp (free_pincb): New.
2918            (card_keygen_dlg_proc): Pin callback implemented.
2919            Simple check for the e-mail address.
2920            (card_edit_dlg_proc): End the dialog if no changes were made.
2921    
2922            * Expanded GPGME passphrase interface to work both with PINs
2923            and passphrases.
2924    
2925    2003-10-18  Timo Schulz  <[email protected]>
2926    
2927            * wptCardDlg.cpp (card_keygen_dlg_proc): New.
2928            (do_askpin): Handle the case there is no card.
2929            (card_edit_dlg_proc): Add 'New Keys' feature.
2930            (card_changepin_dlg_proc): Implemented.
2931            * WinPT.cpp (WinMain): Ability to start the card manager directly.
2932            * wptMainProc.cpp (smartcard_init): Global stuff to init the reader
2933            driver and the inserted card.
2934    
2935    2003-10-17  Timo Schulz  <[email protected]>
2936    
2937            * wptGPGME.cpp (keycache_init): Do not use secring the first time.
2938            * wptKeySignDlg.cpp (keysign_dlg_proc): Make sure only the short
2939            keyid will be displayed.        
2940    
2941    2003-10-16  Timo Schulz  <[email protected]>
2942    
2943            * Changed GPGME interface for edit card. Now one context is
2944            used for all edit card operations.
2945            * wptCardDlg.cpp (card_edit_dlg_proc): Support for working
2946            and admin PIN. Changed gpgme interface.
2947            (ask_pin): Renamed to..
2948            (do_askpin): this. Provide more information about the card
2949            and its holder.
2950            (do_proc_card_cmds): If no error, reset modify flags for
2951            all controls. Show a short message that the operation ended.
2952            * wptCardPCSC.c (pcsc_free_readers): New.
2953            (pcsc_scan_readers): New.
2954            (pcsc_get_reader): New.
2955            (pcsc_get_card_status): New.
2956    
2957    
2958    2003-10-14  Timo Schulz  <[email protected]>
2959    
2960            * wptKeyList.cpp (do_addkey): Add the case the secret key
2961            is stored on a smart card.
2962            (km_check_for_seckey): Take care of the new code.
2963            * wptKeyManager.cpp (km_delete_keys): Extra warning when
2964            the secret key is stored on a card.
2965            * wptKeyEditDlgs.cpp (subkey_list_init): Add the key cabilities
2966            to the list view. Now the user can see if the key is useable
2967            for: signing, certifying or encrypting.
2968    
2969    2003-10-13  Timo Schulz  <[email protected]>
2970    
2971            * Extended the GPGME API that it is possible to retrieve
2972            the key data. This is for the planned card login but it
2973            might be also useful for other purposes.
2974    
2975            * wptCardPCSC.c: New. General code for PC/SC card readers.
2976    
2977    
2978    2003-10-12  Timo Schulz  <[email protected]>
2979    
2980            * wptCardDlg.cpp (guess_libname): New.
2981            (card_status): Simplified the code with an attribute
2982            table. Now it is a loop and not hard coded.
2983            * The card interface has changed. Now the surname and
2984            the given name are two fields and not one field.
2985            * wptMainProc.cpp (winpt_main_proc): Check if the card
2986            reader is configured where appropriate.
2987    
2988    2003-10-09  Timo Schulz  <[email protected]>
2989    
2990            * wptCardDlg.cpp (get_card_status): New.
2991            (show_card_status): New. Retrieve the card status and show an
2992            error if approprioate.
2993            * Make sure that WinPT does not try to use non-OpenPGP cards.
2994            * Add GPGME support for the forthcoming AUTH flag for keys.
2995            * Implemented the detection of keys where the secret key components
2996            are stored on a smart card.
2997    
2998    
2999    2003-10-08  Timo Schulz  <[email protected]>
3000    
3001            * wptCardDlg.cpp (do_proc_card_cmds): Check that only US-ASCII
3002            is used. Otherwise reject the value.
3003            (ask_pin): New. Enable PIN caching for the 'dialog session' so
3004            the user does not need to re-enter it again and again.
3005    
3006    2003-10-07  Timo Schulz  <[email protected]>
3007    
3008            * wptPINDlg.cpp (pin_cb_dlg_proc): New.
3009            * wptCardDlg.cpp (do_proc_card_cmds): New.
3010            (card_edit_dlg_proc): Use it here.
3011    
3012    2003-10-06  Timo Schulz  <[email protected]>
3013    
3014            * wptFileManager.cpp (fm_encrypt): Wipe files in both modes.
3015            * wptGPG.cpp (gnupg_display_error): Display general error
3016            when the file does not exit.
3017            * wptW32API.cpp (get_folder_dlg): New.
3018            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Ability to select
3019            the folder for the home directory.
3020            * wptKeyManager.cpp (km_update_default_key_str): Return length
3021            of the string.
3022            (km_complete_status_bar): Use the offset of the default
3023            key string so it is not appened twice.
3024            * wptRegistry.cpp (regist_inst_winpt): Create 'Card' subkey.
3025            * wptCard.h: New.
3026            * wptCardDlg.cpp (new_card_driver): New.
3027            (load_card_driver): New.
3028            (free_card_driver): New.
3029            (card_config_dlg_proc): If the reader is configured, load the
3030            values. This is needful to change the driver later.
3031            (gpg_load_scard): Use driver as a parameter.
3032            * wptMainProc.cpp (winpt_main_proc): Load card driver and
3033            unload it after use.
3034    
3035    2003-09-28  Timo Schulz  <[email protected]>
3036    
3037            * wptCardDlg.cpp (card_edit_dlg_proc): New.
3038            (gpg_load_scard): New. Try to use GPG load the card info.
3039            (print_fpr): New. Print beautified fingerprint.
3040            (card_status): New. Set all dialog fields with the values from
3041            the card.
3042            (prepare_dialog): New. Load combo boxes with pre-defined strings.
3043    
3044    
3045    2003-09-25  Timo Schulz  <[email protected]>
3046    
3047            * wptProgressDlg.cpp (progress_cb_thread): New.
3048            (progress_callback): Use asynchron code.
3049            * wptFileManager.cpp (fm_parse_files): Implement progress callback.
3050    
3051    
3052    2003-09-25  Timo Schulz  <[email protected]>
3053    
3054            * wptClipSignEncDlg.cpp (seclist_dlg_proc): The dialog was broken.
3055            (check_key): New.
3056            Removed the old Secret Key List dialog. Now the key can be directly
3057            chose in the dialog.
3058            (seclist_init): New.
3059            (seclist_destroy): New.
3060            (seclist_select_key): New.
3061            * wptFileManager.cpp (fm_sign): Ask for output file if needed.
3062    
3063            * Client side implementation of the --enable-progress-filter feature.
3064    
3065            * wptProgressDlg.cpp: Server side implementation.
3066            (progress_dlg_proc): New. The actual dialog procedure.
3067            (progress_callback): The GPGME wrapper callback.
3068    
3069    2003-09-24  Timo Schulz  <[email protected]>
3070    
3071            * wptKeygenDlg.cpp (keygen_dlg_proc): Implement 'Hide Typing' feature.
3072            * wptFileManager.cpp (fm_encrypt): Ask for output file if needed.
3073            * wptFileManagerDlg.cpp (fm_dlg_proc): Removed im- and export from
3074            the menu. We use import internally, but export was not useful and
3075            thus the code were removed.
3076            * wptPreferenceDlg.cpp (prefs_dlg_proc): Disable some controle at
3077            startup when they are not allowed.
3078            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Removed PGP2 option.
3079            Make the parsing code much shorter (read).
3080    
3081    
3082    2003-09-22  Timo Schulz  <[email protected]>
3083    
3084            * wptSigList.cpp (extract_filename): Make sure there is a '\',
3085            otherwise just dup the string and return.
3086            * wptVerifyList.cpp (verlist_add_sig): Use a variable for the key
3087            to make the code more readable.
3088            * Implemented the GPGME part of the new smartcard interface.
3089            The WinPT interface will be open until the scard stuff is back
3090            ported to GPG 1.3.x.
3091            * wptKeyEditDlgs.cpp (do_editkey_revuid): Need a secret key to do it.
3092            Several code cleanups.
3093    
3094    2003-09-08  Timo Schulz  <[email protected]>
3095    
3096            * wptRegistry.cpp: Remove some hotkeys to correct index calculation.
3097            (get_reg_winpt_flag): Check buffer first.
3098            (get_reg_winpt_prefs): Support for the new backup system.
3099            (set_reg_winpt_prefs): Likewise.
3100            * wptHotkey.h: Removed import and export hotkey. Re-ordered elements.
3101            * wptRegistry.h: Cleaned up the hotkey interface.
3102            * wptPreferenceDlg.cpp (enable_backup_items): New.
3103            (prefs_dlg_proc): Simplified hotkey handling. Use new code.
3104            * wptMainProc.cpp (clip_gpg_dlg): Remove hotkey handling for
3105            im- and export. Use the code directly.
3106            (currwnd_gpg_dlg): Likewise.
3107            * wptGPG.cpp (gnupg_backup_keyrings): New.
3108            (backup_one_file): New.
3109    
3110    2003-09-04  Timo Schulz  <[email protected]>
3111    
3112            * wptFileManager.cpp (fm_get_file_type): Due to an unknown reason,
3113            the packet parsing return value check was wrong again. Now it does
3114            not recognize Word documents as SECKEY or ENCRYPTED any longer.
3115    
3116    2003-09-03  Timo Schulz  <[email protected]>
3117    
3118            * The secret key listing does not contain any 'validity' or
3119            'status' flags any longer. Thus we only can use the cache to
3120            make sure we have a secret key. All attributes need to be retrieved
3121            from the public key listing.
3122    
3123            * wptGPG.cpp (default_key_from_cache): New.
3124            (get_gnupg_default_key): Use new function to make sure we try
3125            to get the key from cache if there is a problem with the config
3126            file.
3127    
3128    2003-08-30  Timo Schulz  <[email protected]>
3129    
3130            * wptGPG.h: Support for the GPG status messages REVKEYSIG and
3131            EXPKEYSIG. With this new feature, GPG 1.2.3 is required.
3132            * Make sure that the signature status does not cause an
3133            segfault.
3134            * WinPT.cpp: Use new check to detect the GPG version and make sure
3135            it is the minimum.
3136            * wptGPG.cpp (parse_version_nr): New.
3137            (check_gnupg_engine): Improved. Now it returns the actual version.
3138    
3139    2003-08-24  Timo Schulz <[email protected]>
3140    
3141            * wptPreferencesDlg.cpp (prefs_dlg_proc): Use better code to disable
3142            dialog controls.
3143    
3144    2003-08-17  Timo Schulz  <[email protected]>
3145    
3146            * wptKeyManagerDlg.cpp (keymanager_dlg_proc):
3147            #ID_KEYMISC_EXPORT_PRIVKEY: Retrieve the current list view index. The
3148            value was malformed.
3149            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Free global memory.
3150            * wptKeyserver.cpp (kserver_load_conf): If the file does not exist,
3151            don't bother the user with an error message. Closes #782751.
3152            * wptKeyEditDlgs.cpp (do_editkey_primary): New. Implement the
3153            "primary" edit key command.
3154            * wptKeyserverDlg.cpp (hkp_recv_key): New flag parameter. Now it is
3155            possible to supress the status message. This is useful when the whole
3156            keyring will be refreshed.
3157            * wptFileManager.cpp (fm_parse_command_line): Unquote file if needed.
3158            (quote_file): Avoid double quotes.
3159            * GPGME support for quoted file names.
3160            (fm_sym_encrypt): Double check password and to additional 8-bit checks.
3161            * WinPT.cpp (my_acces): Moved to this file..
3162            * wptGPG.cpp: ..here.
3163            (gpg_check_permissions): Renamed from check_permissions and make it global.
3164            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Check to make sure we
3165            have write access to the keyring for some commands.
3166    
3167    2003-07-22  Timo Schulz  <[email protected]>
3168    
3169            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Figure out the size of
3170            the text instead of allocating the maximum.
3171    
3172    2003-07-13  Timo Schulz  <[email protected]>
3173    
3174            * wptKeygenDlg.cpp (check_passphrase): Check if the passphrase contains
3175            characters >= 127. Due to the fact that we use CP-1250 and GPG uses CP-850
3176            it would be a bad idea to use such passphrases. And thus we disallow it.
3177            * wptKeyEditDlgs.cpp (keyedit_change_passwd): Likewise.
3178            * wptSymEnc.cpp (gpgme_encrypt_symmetric): Likewise.
3179            * wptHotkey.cpp (hotkeys_strerror): Use capital letters.
3180    
3181    2003-07-12  Timo Schulz  <[email protected]>
3182    
3183            * wptFileManager.cpp (fm_verify): Support for multiple signatures.
3184            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
3185            * wptProxySettingsDlg.cpp (read_proxy): Skip http:// prefix.
3186            * wptKeyserver.cpp (check_URL): Support for hkp://. Closes #755156.
3187            (kserver_connect): Likewise.
3188            (kserver_read_config): Likewise.
3189            * wptSymEnc.cpp (gpgme_encrypt_symmetric): Free memory if the passphrases
3190            are not equal.
3191            * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): New. An easy to use wizard to
3192            generate a key pair.
3193    
3194    2003-06-24  Timo Schulz  <[email protected]>
3195    
3196            * Fixed filter code in Get{Open,Save}FileName. Changed all callers.
3197            Thanks to Alex.
3198            * wptKeyManager.cpp (km_delete_keys): Quote the user-id.
3199    
3200    
3201    2003-06-13  Timo Schulz  <[email protected]>
3202    
3203            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Quote the user-id name.
3204            * wptClipSignDlg.cpp (clip_sign_dlg_proc): Fix the code due to
3205            the fact the signer is now dymanic and not static.
3206            * wptGPG.cpp (check_gnupg_engine): Check if IDEA is available and
3207            change all code that it only shows an error if no plug-in was loaded.
3208            * wptKeyEditDlgs.cpp (is_cmd_openpgp): Remove REVKEY since you
3209            can revoke v3 keys.
3210            (do_editkey_revoke): Clarify command because it can be only used
3211            for secondary keys.
3212            * wptKeyManagerDlg.cpp (file_sign_dlg_proc): Make sure an error
3213            is issued when no key was selected. Thanks to vedaal.
3214    
3215    2003-06-11  Timo Schulz  <[email protected]>
3216    
3217            * wptKeylist.cpp (keylist_add_key): Now the user-ids are in the
3218            right order and we do not use the last user-id but the first
3219            because this is always the primary user-id or the newest user-id.
3220            * wptGPGME.cpp (get_default_keyid): Removed. Some better code
3221            were added to get_gnupg_default_key.
3222    
3223    2003-06-10  Timo Schulz  <[email protected]>
3224    
3225            * wptKeysignDlg.cpp (do_fill_seckeylist): Make sure disabled keys
3226            are skipped.
3227            (keysign_dlg_proc): Removed some redundant code.
3228            * wptKeyEditDlgs.cpp (is_idea_protect_algo): New. Find out if
3229            it is possible to change the passphrase.
3230    
3231    2003-06-06  Timo Schulz  <[email protected]>
3232    
3233            * wptKeylist.cpp (keylist_get_recipients): Use a stronger warning
3234            message and include the user-id.
3235            * Encryption: use force overwrite (--yes) to make sure there are
3236            no complications with GPG.
3237            * Import: skip all record types we do not understand.
3238    
3239    
3240    2003-06-05  Timo Schulz  <[email protected]>
3241    
3242            * wptPassphraseCB.cpp (passphrase_callback_proc): Now the dialog
3243            shows all involved recipients and also the public key algorithm.
3244            * wptRegistry.cpp (reg_inst_winpt): If the user does not want
3245            the extensions, set the entry to "1" so the message is not shown
3246            again.
3247    
3248    2003-06-04  Timo Schulz  <[email protected]>
3249    
3250            * wptKeylist.cpp (get_key_algo, get_key_size): Due to the fact
3251            that GPG uses the newest subkey by default, we always return
3252            the info of this subkey and not the first.
3253            * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Fixed off-by-one
3254            bug. Now the indicies are correctly.
3255            * wptGPG.cpp (gnupg_check_keyring): Do not free the value before
3256            get_file_size is called.
3257            * WinPT.cpp (WinMain): Only check the GPG engine version if there
3258            were no problems with the GPG config. And differ between a problem
3259            to get the version and if a wrong version were detected.
3260    
3261    
3262    2003-06-01      Timo Schulz  <[email protected]>
3263    
3264            * wptCurrWnd.cpp (rel_key, hit_key): Replaced with macros...
3265            (KEYDOWN, KEYUP): macros for the functions above.
3266    
3267    2003-05-31  Timo Schulz  <[email protected]>
3268    
3269            * wptKeyManager.cpp (km_key_is_v3): Return if the selected
3270            key is an old PGP 2 (v3) key.
3271            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Only allow
3272            (#ID_KEYMISC_EDITKEY): Bail out if no key was selected.
3273            to add extented items if the key is NOT version 3.
3274            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Check if the
3275            key is v3 and forbid most commands.
3276            (is_cmd_openpgp): New.
3277    
3278    2003-05-28  Timo Schulz  <[email protected]>
3279    
3280            * wptKeyManager.cpp (km_set_clip_info): New.
3281            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use it here.
3282            * wptImportList.cpp (implist_build): Some column changes for
3283            the listview control.
3284            (implist_load): Return if secret keys were found.
3285            * wptClipImportDlg.cpp (data_cb_dlg_proc): Store if secret keys
3286            were found.
3287            (clip_import_dlg_proc): New message if secret keys were found.
3288    
3289    
3290    2003-05-25  Timo Schulz  <[email protected]>
3291    
3292            * wptImportList.cpp (implist_add_key): Address charset problem.
3293            * wptVerifyList.cpp (verlist_add_sig_log): Use UTF8 decoding.
3294            * wptKeyserver.cpp (set_default_kserver): New.
3295            (wsock_init): Call the new function.
3296            (kserver_load_conf): If the FP is invalid, skip to read the file.
3297            * WinPT.cpp (WinMain): Call set_default_kserver to make sure the
3298            item has a value.
3299    
3300    2003-05-24  Timo Schulz  <[email protected]>
3301    
3302            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Subclass the two lists
3303            to allow to use virtual keys (DEL, INS).
3304            Release the uid control context when the dialog will be destroyed.
3305    
3306    
3307    2003-05-22  Timo Schulz  <[email protected]>
3308    
3309            * wptMainProc.cpp (winpt_main_proc): Set use_hotkey for current
3310            window mode sign+encrypt. This fixes a couple of other problems.
3311            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Get new values of the
3312            key when the cache was reloaded.
3313    
3314    
3315    2003-05-21  Timo Schulz  <[email protected]>
3316    
3317            * wptSiglist.cpp (siglist_add_key): Only list signatures which are
3318            user-id certificates (0x10-0x13) and ignore key and subkey sigs.
3319            c-strings are now handle correctly and decoded into GPGME.
3320    
3321    2003-05-20  Timo Schulz  <[email protected]>
3322    
3323            * wptKeyPropsDlg.cpp (key_props_dlg_proc): Factor out code to change
3324            the passphrase from here to...
3325            * wptKeyEditDlgs.cpp (keyedit_change_passwd): ...this place.
3326    
3327    2003-05-19  Timo Schulz  <[email protected]>
3328    
3329            * wptPasswdDlg.cpp (create_passwd_dlg): Removed.
3330            (request_passphrase): New.
3331            The passphrase_s context is now internal, all externl function use now
3332            request_passphrase. Changed all callers.
3333            * wptKeygenDlg.cpp (keygen_dlg_proc): Reworded the passphrase
3334            warning and a check for the comment field was added.
3335            * wptKeyEditDlgs.cpp: New. This file now combines the dialogs which
3336            has shown the subkeys and the userids.
3337            * wptKeySubkeyDlg.cpp: Deleted and stuff merged into wptKeyEditDlgs.cpp.
3338    
3339    2003-05-17  Timo Schulz  <[email protected]>
3340    
3341            * wptFileManager.cpp: Moved gpgme_file_get_extension to this file
3342            and renamed it to...
3343            (file_get_extension): this. gpgme_control now also returns the
3344            (get_file_name): Corrected the calculation of the basename.
3345            state of the command if you use -1 as the value.
3346            * wptImportList.cpp (implist_load): Make sure we really have the key ID.
3347            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Some small changes all over
3348            the place.
3349    
3350    2003-05-14  Timo Schulz  <[email protected]>
3351    
3352            * wptKeyManager.cpp (km_enable_disable_key): New.
3353    
3354    2003-05-13  Timo Schulz  <[email protected]>
3355    
3356            * wptKeyList.cpp (keylist_add_key): Add 'DISABLED' flag for keys.
3357            (key_check_validity): Moved from GPGME to this file.
3358            * wptKeyManager.cpp (km_get_key_status): New.
3359    
3360    2003-05-09  Timo Schulz  <[email protected]>
3361    
3362            * wptMDSumDlg.cpp (mdsum_dlg_proc): New.
3363            * wptFileManager.cpp (fm_print_md): New.
3364            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support for the Print MD
3365            command.
3366    
3367    2003-05-08  Timo Schulz  <[email protected]>
3368    
3369            * wptMainProc.cpp (winpt_main_proc): Symmetric encryption for the current
3370            window mode.
3371            (currwnd_gpg_dlg): Likewise.
3372            * wptCurrWnd.cpp (wnd_msg_em_set_pos): Fix an off-by-one bug.
3373            * WinPT.cpp (WinMain): If the default key was not found, show the string
3374            in the error message to make it easier for the user to fix the problem.
3375            * wptImportStatusDlg.cpp (import_status_dlg_proc): Take care of secret
3376            keys.
3377            * wptfileManager.cpp (fm_get_file_type): Fix packet type detection error.
3378            This makes the priority of the rc2 update more urgent.
3379    
3380    2003-05-07  Timo Schulz  <[email protected]>
3381    
3382            * Clean up the outer GPGME interface. Internal functions should be
3383            invisible in gpgme.h.
3384            Merge the photo-id, formerly attribute id stuff with gpgme_key_get_xxx_attr.
3385            * wptKeyserver.cpp: Some cleanups.
3386            (finger_recvkey): Skip URL postfix if there.
3387    
3388    2003-05-06  Timo Schulz  <[email protected]>
3389    
3390            * wptKeySigDlg.cpp (keysig_dlg_proc): Disable the button when all keys
3391            are available. Removed old [unused] code.
3392            Make sure we really have the key in the cache.
3393    
3394    2003-05-04  Timo Schulz  <[email protected]>
3395    
3396            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If invalid recipients
3397            were found, output a more precise error message. Now the GPGME code
3398            first tests for special cases and if no one hit the nail on the head,
3399            a general error is used.
3400    
3401    2003-05-03  Timo Schulz  <[email protected]>
3402    
3403            * wptParser.cpp: Renamed to...
3404            * wptGPGParser.cpp: this.
3405            (release_option): Renamed to...
3406            (release_gpg_options): this.
3407            (commit_option): Renamed to...
3408            (commit_gpg_options): this.
3409            (parse_option): Renamed to...
3410            (parse_gpg_options): this.
3411            * wptGPG.cpp: Use new parser function names.
3412            (set_gnupg_default_key): Free memory.
3413            * wptKeylist.cpp (keylist_add_groups): New group code.
3414            * wptGroups.{c,h}: Removed. Now we use the GPG group command.
3415            * wptKeySigListDlg.cpp (keysig_dlg_proc): Change column from
3416            2 to 4.
3417            (recv_missing_keys): Likewise. Now it is possible to retrieve
3418            missing keys. Thanks to Klaus.
3419            * wptKeyserverDlg.cpp (hkp_recv_key): Use a dymanic buffer rather
3420            than a static buffer to avoid garbled keys. There are some very
3421            large keys and these cause some trouble with a 16k buffer.
3422            (keyserver_dlg_proc): Localized some strings.
3423            * wptKeyserverSearchDlg.cpp (hkpsearch_dlg_proc): Use new column
3424            names which are equal to the names we use in the Key Manager.
3425            * wptKeySignDlg.cpp (keysign_dlg_proc): Fix a silly '=' but
3426            should be "==" bug.
3427            * wptKeygenDlg.cpp (mbox): Removed. Too much overhead.
3428            * Add --expert option for the GPG procedure call if needed.
3429    
3430    2003-05-02  Timo Schulz  <[email protected]>
3431    
3432            * wptW32API.cpp (set_foreground_wnd): Removed. Changed all callers.
3433    
3434    2003-04-30  Timo Schulz  <[email protected]>
3435    
3436            * wptKeyManagerdlg.cpp (keymanager_dlg_proc): Support for the
3437            next context menu ("Add"). Make sure the entries are disabled
3438            when the key has no secret key.
3439            * wptKeyEditAddPhotoDlg.cpp (keyedit_addphoto_dlg_proc): New.
3440            * wptFileManager.cpp (fm_decrypt): Set sig to NULL so it won't
3441            cause a segfault when the pointer free tries to deallocate the
3442            pointer.
3443    
3444    2003-04-27  Timo Schulz  <[email protected]>
3445    
3446            * wptKeysigDlg.cpp (keysig_dlg_proc): A double click now allows
3447            to show the properties of the signers keys.
3448            * wptKeyEditAddRevokerDlg.cpp (keyedit_addrevocer_dlg_proc): New.
3449    
3450    2003-04-26  Timo Schulz  <[email protected]>
3451    
3452            * wptParser.cpp: A lot of structural changes. Always add items
3453            at the end of the list so we don't need to make a copy of the list
3454            to restore the original order. Fix the group problem.
3455            * wptKeylist.cpp (keylist_build): Use OR to get the flags and
3456            not ==.
3457            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): The export command
3458            (file) does not use the keyid as the file name when more than one
3459            keys were selected.
3460            Allow allow to set default keys which are not revoked or expired.
3461            * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): Allow to sort
3462            the columns.
3463            Set the force trust flag in GPGME if there are some recipients
3464            with no validity.
3465    
3466    2003-04-25  Timo Schulz  <[email protected]>
3467    
3468            * wptVerList.cpp (verlist_build): Change the name of some columns.
3469            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Instead of just the
3470            notation (if present!) present the user a general message box
3471            with extended signature information. This means the notation
3472            data and a possible policy URL.
3473    
3474    
3475    2003-04-24  Timo Schulz  <[email protected]>
3476    
3477            * wptKeyEditAddSubKeyDlg.cpp (keyedit_addsubkey_dlg_proc): Init
3478            default values to make it easier for newbies.
3479            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use a better error
3480            when no secret key was found. Also mention the public key algo.
3481            * wptFileManager.cpp (fm_decrypt): Likewise.
3482    
3483    2003-04-23  Timo Schulz  <[email protected]>
3484    
3485            * wptKeyPropsDlg.cpp (ownertrust_to_string): Moved the function
3486            from GPGME#gpgme_ownertrust_to_string into WinPT.
3487    
3488    2003-04-20  Timo Schulz  <[email protected]>
3489    
3490            * wptClipboard.cpp: Removed. All these functions and constants
3491            are now available in MyGPGME/clip.c and thus part of GPGME.
3492            * wptKeylist.cpp (keylist_add_to_recipients): Renamed to...
3493            (keylist_get_recipients): this. Return the context instead of
3494            an argument.
3495            (get_key_size): Add key index.
3496            (get_key_algo): Likewise.
3497            (keylist_build): Use a special mode when signing is used.
3498            (keylist_enum_recipients): Return a malloced pointer to the
3499            recipients.
3500            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Add primary fingerprint
3501            when we have a signature result and we do not trust the key.
3502    
3503    2003-04-20  Timo Schulz <[email protected]>
3504    
3505            * wptFindWnd.h: Removed. We don't use it any longer.
3506            * wptGPG.h: Merged GPGERR_xxx constants with WPTERR_xxx.
3507            (gpg_strerror): Removed. Now it is handled in winpt_strerror.
3508            * wptFileManager.cpp (fm_get_file_name): move this to
3509            * wptVerifyList.cpp (get_file_name): ..this place and declare
3510            it as static because no other file need this function.
3511    
3512    2003-04-15  Timo Schulz  <[email protected]>
3513    
3514            * wptClipImportDlg.cpp (data_cb_dlg_proc): New.
3515            (data_cb_thread): New.
3516            (data_cb_dlg_create): New.
3517            (data_cb_dlg_destroy): New.
3518            (data_cb_new): New.
3519            (clip_import_dlg_proc): Use a callback dialog to
3520            show the user the data decoding procedure is in
3521            progress. This dialog is destroyed in the key
3522            import statistics dialog.
3523    
3524    
3525    2003-04-13  Timo Schulz  <[email protected]>
3526    
3527            * wptSubkeyDlgProc.cpp (key_subkey_dlg_proc): Use a callback
3528            context.
3529            * wptUidDlgProc.cpp (keyuid_dlg_proc): Likewise.
3530            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Set the protect
3531            flag inside the KEY contect if needed.
3532            * wptKeySubkeyDlg.cpp (key_subkey_dlg_proc): Only ask for a
3533            passphrase if the protect flag is set.
3534            Display the callback dialog to show the progress.
3535            Implemented the "revkey" feature.
3536            * wptKeyUidDlg.cpp (key_uid_dlg_proc): Likewise.
3537            (do_add_new_userid): New. Add an entry to the list box
3538            after the GPG process finished.
3539            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Initialize sig
3540            to zero to avoid segfaults.
3541    
3542    2003-04-12  Timo Schulz  <[email protected]>
3543    
3544            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Use the new
3545            GPGME code.
3546            * wptVerifyList.cpp (verlist_add_sig_log): Likewise.
3547            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Likewise.
3548            * wptFileManager.cpp (fm_decrypt): Likewise.
3549            * WinPT.cpp (check_default_key): Check if the keys in gpg.conf
3550            are valid and in the keyring.
3551            * wptKeySignDlg.cpp (do_check_protection): Disable the passphrase
3552            item if the key is not protected.
3553    
3554    
3555    2003-04-09  Timo Schulz  <[email protected]>
3556    
3557            * wptFirstRunDlg.cpp (first_run_dlg_proc): Mark selection as
3558            invalid for cancel.
3559    
3560    2003-03-20  Timo Schulz  <[email protected]>
3561    
3562            * wptFindWnd.cpp: Removed.
3563            * wptW32API.c (dialog_box_param): Use FindWindowEx() instead of
3564            find_window.
3565            * Whenever it's possible, use case insentensive searches to avoid
3566            problems.
3567    
3568    2003-03-19  Timo Schulz  <[email protected]>
3569    
3570            * wptMainProc.cpp (winpt_main_proc): Put the init_dtp code here.
3571            * wptPassphraseCB.cpp (hide_typing): Removed. Use short code directly
3572            in the code.
3573            * wptPasswdDlg.cpp: Likewise.
3574            (passphrase_cb_init): Declare as static.
3575            (passphrase_cb_gpgme): Modified to use the static function and rename
3576            it to...
3577            (passphrase_gpgme_set_cb): ..this. New.
3578            * wptSecListDlg.cpp: Complete new appraoch. Now we use CB_SETITEMDATA
3579            and friends to assign data to each item.
3580            Move dialog code to...
3581            * wptClipSignEncDlg.cpp: ..here.
3582            * MyGPGME/keycache.c: We first look for directly key signatures and
3583            then we skip all other signatures if we've already seen the key. This
3584            is needed to gather the designated revoker keys.
3585    
3586    2003-03-18  Timo Schulz  <[email protected]>
3587    
3588            * wptKeyImportStatDlg.cpp (import_status_dlg_proc): Fix index
3589            of revocation from 9 to 8.
3590            Set the text that no key was updated only if no new sig, subkey,
3591            userid and no public were added.
3592            Add more information: new {subkeys, signatures, userid}.
3593            * wptKeyManager.cpp (km_delete_keys): Fixme lame, '=' instead of '==' bug.
3594            * wptDlgs.cpp: Removed.
3595            * wptDlgs.h: (dlg_fatal_error): New. Macro.
3596    
3597    2002-03-16  Timo Schulz  <[email protected]>
3598    
3599            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Encode the
3600            optional text in UTF-8 to avoid charset problems.
3601            * wptKeyManager.cpp (km_quote_uid): Use dynamic memory instead
3602            of a static buffer. Changed all callers.
3603            * wptKeylist.cpp (keylist_cmp_cb): Implemented sort functions
3604            for the rest of the columns.
3605            (keylist_handle_column_click): New.
3606            * wptKeyEditOwnertrustdlg.cpp (keyedit_ownertrust_dlg_proc):
3607            Removed the 'Advanced' button because it only confuses users
3608            and it is not often used.
3609            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Support to ex-
3610            and import the trustdb values (ownertrust).
3611            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Ability to
3612            sort columns.
3613    
3614    2002-03-09  Timo Schulz  <[email protected]>
3615    
3616            * 64-bit support for wipe operations.
3617    
3618    2002-03-08  Timo Schulz  <[email protected]>
3619    
3620            * wptFileManager.cpp (fm_parse_command_line): Ignore lines with '--'
3621            because they are options rather than files.
3622            * WinPT.cpp (WinMain): Allow to start the key manager directly
3623            via --keymanager.
3624            * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): New.
3625            (wipe_cb): New. Wipe callback function.
3626            (fill_drive_combobox): New. Fill in all logical drives into
3627            the given combo box.
3628            (wipe_thread): New. Worker thread.
3629            (update_disc_stats): New. Set the disc statistics for the
3630            given drive entry.
3631            (space_wipefrees_dlg_proc): New.
3632    
3633    2002-03-01  Timo Schulz  <[email protected]>
3634    
3635            * wptFileManager.cpp (fm_check_file_type): Fix bug in the detection
3636            logic. Now we can decrypt symmetrically encrypted files again.
3637            Be stricter on memory alloaction checks.
3638            (fm_get_file_type): Be more strict with the return code of
3639            parse_packet. This avoids bogus file types for MS-Word files and
3640            other non-PGP data.
3641            (fm_wipe): Use the wipe mode from the registry and not a fixed value.
3642            * WptRegistry.cpp (set_reg_winpt_prefs): Support wipe mode.
3643            (get_reg_winpt_prefs): Likewise.
3644            * wptFilePrefsDlg.cpp: Removed. We don't use it any longer.
3645            * wptDlgs.h: Corrected all dialog protypes to BOOL.
3646            LRESULT was not correct.
3647    
3648    2002-02-08  Timo Schulz  <[email protected]>
3649    
3650            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Only export
3651            the secret key when a file was chosen.
3652    
3653    2002-02-01  Timo Schulz  <[email protected]>
3654    
3655            * wptKeyserver.cpp (kserver_search): Fix <KEYID bug.
3656    
3657    2002-01-25  Timo Schulz  <[email protected]>
3658    
3659            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Support to copy the key id
3660            and the fingerprint to the clipboard. Closes #674455.
3661            Automatically reload the keycache when a command is chosen and the cache
3662            state is set to 'reload requested'. Closes #671218.
3663            * wptKeySignDlg.cpp (do_fill_seckeylist): Make sure the public key parts
3664            are not invalid.
3665            * WinPT.cpp (check_permissions): Make sure we have the permission to
3666            write the keyring. Stop if not because it's expected at many other places.
3667            * wptSigList.cpp (siglist_add_key): Indent signatures under the root entry.
3668            (siglist_build): Use a placeholder sig to avoid the position chaos.
3669            * wptKeyUidDlg.cpp: Unified text for 'user-ID'.
3670            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): If a key is not found,
3671            display more information and use a GPG like output.
3672            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Force trust if there is
3673            an invalid key in the list of recipients. Closes #674965.
3674    
3675    
3676    2002-01-21  Timo Schulz  <[email protected]>
3677    
3678            * wptSymEnc.cpp (gpgme_encrypt_symmetric): Ask the passphrase twice to
3679            avoid typing mistakes.
3680    
3681    2003-01-19  Timo Schulz  <[email protected]>
3682    
3683            * winpt.cpp (WinMain): Fixed spelling mistake. Closes #669321.
3684            * wptKeyManagerDlg.cpp (do_resize_window): New.
3685            (do_create_minpopup): New. Closes #669730.
3686            * wptVerifyList.cpp (get_sig_date): Renamed to...
3687            (longdate_to_strdate): New. Changed all callers.
3688            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): If the ciphertext contains
3689            a signature, also display the time of it. Closes #669780.
3690            * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localize 2 strings.
3691            * wptEditKeyOwnertrust.cpp (keyedit_ownertrust_dlg_proc): Fixed a typo.
3692            * wptKeySignDlg.cpp (do_add_local_user): New. Now the dialog has the ability
3693            to choose the signer.
3694            (keysign_dlg_proc): Implemented a feature request. See above.
3695    
3696    2003-01-08  Timo Schulz   <[email protected]>
3697    
3698            * wptKeyEditAddUidDlg.cpp (keyedit_adduid_dlg_proc): Output a warning
3699            if the user tries to add the email address in the name field.
3700            * wptKeyserver.cpp: Add support for protocols.
3701            (finger_readline): New.
3702            (finger_recvkey): New.
3703            * wptKeyUidDlg.cpp (keyuid_dlg_proc): Add a warning icon to the revoke
3704            message box to show it's a serious decision.
3705            * wptPasswdDlg.cpp (passwd_dlg_proc): Center dialog window.
3706            * wptRegistry.cpp (regist_single_filetype): Now internal and we use
3707            an easier way to get the location of the binary.
3708            (regist_inst_winpt): Implemented the 'with_ext' part and add a registry
3709            entry to avoid double file registering.
3710    
3711    2003-01-07  Timo Schulz  <[email protected]>
3712    
3713            * wptKeyManagerDlg.cpp (do_center_window): New. Try to set the window
3714            pos from the coordinates from the registry.
3715            (keymanager_dlg_proc): Store the window pos in the registry.
3716            * wptKeyRevokeDlg.cpp (key_revoke_dlg): Check box for PGP compatible certs.
3717            * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Print out a hint when
3718            a revcert was found.
3719            * wptKeyserverDlg.cpp (hkp_recv_key): Print an error if the LDAP import does
3720            not succeed.
3721            (keyserver_dlg_proc): Corrected some listview index values.
3722            * wptKeylist.cpp (keylist_add_key): Use primary user-id when possible.
3723    
3724    2002-12-23  Timo Schulz  <[email protected]>
3725    
3726            * wptRegistry.cpp (regist_inst_winpt): Try to create \Keyserver
3727            directory if does not exist.
3728            * wptKeyserver.cpp: Simpliefied config file.
3729            (kserver_change_proxy): Write config to the registry. Remove
3730            code for the config file.
3731            * wptProxySettingsDlg.cpp (read_proxy): More robust code.
3732            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Removed the feature
3733            to send keys. The Key Manager is better for this.
3734    
3735    
3736    2002-12-21  Timo Schulz  <[email protected]>
3737    
3738            * Fixed some language mistakes.
3739            * wptMainproc.cpp: Use the desktop window as the parent window
3740            for the main dialogs so they are visible in the taskbar.
3741            * wptKeyManagerDlg.cpp: Enable minimize.
3742            * wptFileManager.cpp (fm_parse_command_line): Support for detached
3743            signatures.
3744            (fm_encrypt_directory): New.
3745            * wptKeylist.cpp (keylist_add_key): Check the current key if it
3746            is not expired, not the primary (idx=0).
3747    
3748    2002-12-18  Timo Schulz  <[email protected]>
3749    
3750            * wptGPG.cpp (get_gnupg_optfile): Support for gpg.conf instead
3751            of the old name "options".
3752            * WinPT.cpp (WinMain): Try to repair broken home directories
3753            in the registry. Thanks to Gustavo who reminded me of it.
3754            * wptKeyserver.cpp (check_hkp_response): Only copy the text
3755            between <p> and </p> when possible.
3756            * wptAgent.cpp: Re-activated the old code. Now the passphrase
3757            timer can be used.
3758    
3759    2002-12-14  Timo Schulz  <[email protected]>
3760    
3761            * wptKeyManager.cpp (km_check_for_seckey): Ultimate doesn't mean
3762            any longer there is also a secret key.
3763            (km_check_photo): New.
3764            (km_complete_status_bar): New.
3765            * wptFileManager.cpp (fm_verify): Support for bad signatures.
3766            Set the sigmode if not set.
3767            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Output a warning when
3768            the ownertrust of a non-valid (not signed) key is changed.
3769            * wptRegistry.cpp (expand_path): New. Use this code because it's
3770            much shorter.
3771    
3772    2002-10-14  Timo Schulz  <[email protected]>
3773    
3774            * wptKeyserver.c: Replaced all strdup's with m_strdup and free
3775            with free_if_alloc.
3776            (ldap_recvkey): Fill with life. We use the GPG plugin to avoid
3777            all the LDAP overhead.
3778    
3779    2002-10-13  Timo Schulz  <[email protected]>
3780    
3781            * wptKeyManager.cpp (km_file_import): Alloc buffer, it's not static
3782            any longer.
3783    
3784    2002-10-31  Timo Schulz  <[email protected]>
3785    
3786            * wptKeyManager.cpp (km_update_default_key_str): Fixed '0x' handling.
3787            Thanks to Gustavo.
3788            * wptKeylist.cpp (add_key): Now we only use find_secret_key to detect
3789            whether it's a key pair or not.
3790            * Callback struct into KEY so we can modify the values in the background.
3791            * wptKeyPropsDlg.cpp (change_ownertrust): New.
3792    
3793    2002-10-30  Timo Schulz  <[email protected]>
3794    
3795            * wptLDAP.cpp, wptLDAP.h: Removed. The plan is to use the gpgkey_xxx.exe
3796            LDAP plugin for this purpose.
3797            * wptMainproc.cpp (winpt_main_proc): Removed all LDAP stubs.
3798            * wldap32.lib is now not longer needed.
3799            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Copy userid to clipboard.
3800            * Updated the resource file.
3801            * wptFileManager.cpp (fm_parse_command_line): Implemented the stuff
3802            for 'Decrypt', 'Verify', 'Import'.
3803    
3804    2002-10-15  Timo Schulz  <[email protected]>
3805    
3806            * Changed all s(n)printf -> msg_box constructs to log_box.
3807    
3808    2002-10-13  Timo Schulz  <[email protected]>
3809    
3810            * wptKeylist.cpp (get_key_expire_date): New.
3811            * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use it here.
3812    
3813            * Removed global keycache from GPGME. It's a bad style to mix
3814            general and specific interfaces.
3815    
3816            * wptGPGME.cpp (get_pubkey): New. Used to hide keycache implementation
3817            details. Useful to replace it later.
3818            (get_seckey): Ditto.
3819            (keycache_reload): Moved from the GPGME library.
3820            (keycache_release): New.
3821            (keycache_init): New.
3822            (keycache_set_reload): New.
3823            (keycache_get_reload): New.
3824            (keycache_get_ctx): New.
3825    
3826            * wptSigList.cpp (siglist_add_key): Use the new code.
3827            (siglist_build): Ditto.
3828    
3829    
3830    2002-10-10  Timo Schulz  <[email protected]>
3831    
3832            * wptW32API.cpp (get_filename_dlg): Added default filename parameter.
3833            Changed all callers.
3834            * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Adjusted the code for the
3835            new get_filename_dlg.
3836            * wptFileManager.cpp (fm_export): Likewise.
3837            * wptClipDecryptDlg (clip_decrypt_dlg): Modified the verify message box.
3838            * wptKeySignDlg.cpp (keysign_dlg_proc): Changed the code for edit-key.
3839            Use signature class dialog.
3840            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Use the new code and the
3841            keyid instead of the userid to avoid charset problems.
3842            (err_message): New.
3843    
3844            * Moved all wipe specific code (random, rmd160) to the DLL so we can
3845            save some memory for the tray section.
3846    
3847            * wptKeyRevokersDlg.cpp (revokelist_build): New.
3848            (revokelist_init): New.
3849            (key_revokers_dlg_proc): New.
3850    
3851            * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use the designated revoker
3852            code here when available.
3853    
3854    2002-09-25  Timo Schulz  <[email protected]>
3855    
3856            * wptClipboard.cpp (clip_parse_pgp_id): Add a flag when the text
3857            is dash escaped. This is useful for keys to avoid errors.
3858            * wptKeyManager.cpp (extract_dash_escaped_key): New. Extract an
3859            OpenPGP key from the clipboard which is dash escaped.
3860            (km_clip_import): Use the new code here.
3861    
3862    2002-09-23  Timo Schulz  <[email protected]>
3863    
3864            * wptParser.cpp (add_multi_option): Support for values with more ' 's
3865            and skip the ' ' after the name.
3866            (modify_entry): New.
3867            * wptGPG.cpp (gnupg_save_options): Removed.
3868            (gnupg_load_options): Removed.
3869            (gnupg_release_options): Removed.
3870            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Use the new code.
3871    
3872    2002-09-17  Timo Schulz  <[email protected]>
3873    
3874            * winpt.cpp (WinMain): Use make_filename and no static buffer.
3875            Modified for the new gnupg interface.
3876            * wptFile.cpp (make_filename): New.
3877            * wptGpgCmds.h: New from GPG 1.1.92
3878            * wptGPG.cpp (gnupg_import_keyrings): Use dynamic buffers
3879            and make_filename.
3880            * wptKeygenDlg.cpp (ask_for_backup): Use new gpg code and
3881            make_filename instead of static buffers.
3882            * wptKeyCacheDlg.cpp (keycache_dlg_proc): Likewise.
3883            * wptParser.cpp: Changed to new allocation instead of malloc.
3884            * wptGPGOptSkel.h: Updated from GPG 1.1.92
3885            * wptRegistry.cpp (get_reg_entry): Expand %s like registry strings.
3886    
3887    2002-09-13  Timo Schulz  <[email protected]>
3888    
3889            * wptKeyManager.cpp (km_show_photo): Use a const buffer for the
3890            image and do NOT free it.
3891            * wptKeyUidDlg.cpp (keyuid_dlg_proc): Implement "revoke" function.
3892            (find_user_id): Use keyid to find the key. Changed all callers.
3893    
3894            * Removed global gpg_version variable. Now we also support GPG 1.1.9x
3895            so we don't need to check this after the start again.
3896    
3897    2002-09-12  Timo Schulz  <[email protected]>
3898    
3899            * wptPasswdDlg.cpp (passwd_dlg_proc): Implement the "Hide Typing" fature.
3900            * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Off by one bug for secret
3901            key export.
3902            * wptKeyManager.cpp (fm_encrypt): Use the new GPG status messages to
3903            check if the encryption failed.
3904            (km_show_photo): Fixed offset calculation.
3905            Use keyid as filename and delete the tempfile after use.
3906            * wptFile.cpp (init_file_lock): Use dynamic buffer.
3907            (release_file_lock): Free this buffer.
3908            * wptFileManager.cpp (quote_filename): Removed.
3909            (quote_file): New. Use dynamic buffers.
3910            (fm_import, fm_decrypt, fm_encrypt, fm_sym_encrypt, fm_export):
3911            Use it here.
3912            * wptFileStatDlg.cpp (do_list_packets): Do not cache FD.
3913            Initalize packet at the begin and during the loop.
3914            * wptFileManager.cpp: Replaced all static memory handling with
3915            dynamic routines.
3916            * wptKeyCacheDlg.cpp (key_cache_dlg): Remove obsolete ownertrust
3917            functions.
3918            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Ditto.        
3919    
3920    2002-09-10  Timo Schulz  <[email protected]>
3921    
3922            * wptFileManager.cpp (fm_get_file_type): Disable FD cache.
3923            (fm_decrypt): Only cut off the extension if it belong to GPG.
3924            Added user ID to the box if the file was signed.
3925            Ask for the filename if the name has no valid GPG extension.
3926    
3927    2002-09-09  Timo Schulz  <[email protected]>
3928    
3929            * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Improved code for
3930            the privat key (export).
3931    
3932    2002-09-08  Timo Schulz  <[email protected]>
3933    
3934            * wptKeygenDlg.cpp (ask_for_backup): Check if the copy process
3935            really succeeded.
3936            (mbox): Alias for msg_box with fixed title to avoid long lines.
3937            * wptKeyEditAddSubkeyDlg.cpp (keyedit_addsubkey_dlg_proc): Allow
3938            to generate keys with a length til 4096 bits.
3939            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Check for
3940            invalid recipients and print out the reasons.
3941            * wptKeylist.cpp (keylist_add_to_recipients): Improved error message
3942            and corrected the validity checking.
3943    
3944    2002-09-07  Timo Schulz  <[email protected]>
3945    
3946            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc):
3947            Print notation data when available.
3948            Show if the signature is expired or not.
3949    
3950            * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Added the show photo
3951            command to the context menu.
3952    
3953            * wptKeygenDlg.cpp (keygen_dlg_proc): New default keysize is 1792.
3954            This is 256 bits more than the old size. Hopefully it's enough
3955            security to protect against the most enemies ;-).
3956    
3957    2002-09-04  Timo Schulz  <[email protected]>
3958    
3959            * wptKeyManager.cpp (km_check_key_status): Parse new fields.
3960    
3961    2002-09-03  Timo Schulz  <[email protected]>
3962    
3963            Removed all OpenCDK code from PTD. The code is not tested very
3964            well and it might contain some errors. Now we used a stripped down
3965            version of GnuPG code. This has two advantages. First the code is
3966            stable and second we can easier port other parts to native GPG code.
3967    
3968            * wptFileManager.cpp (fm_get_file_type): Use native GPG code.
3969            * wptKeyCacheDlg.cpp (keycache_dlg_proc): Add photos from the
3970            keyring when present to the keycache.
3971            * wptKeyManager.cpp (km_show_photo): Fixes to work again with the
3972            modified code.
3973            (km_check_for_seckey): Check substrings of the value because we
3974            don't use '**' values any longer.
3975            * wptFileStat.cpp (do_list_packets): New. Adapted from the old code.
3976            (file_stat_dlg_proc): Uses the new code.
3977    
3978    2002-09-02  Timo Schulz  <[email protected]>
3979    
3980            * wptKeyManager.cpp (km_privkey_export): Check return codes and
3981            some types has been changed.
3982            (km_file_export): Likewise.
3983    
3984    2002-09-01  Timo Schulz  <[email protected]>
3985    
3986            * wptFirstRunDlg.cpp (get_setup_choice): New. Returns the choice
3987            of the dialog.
3988            * WinPT.cpp (WinMain): Use it here. Reworded the error message.
3989            * wptGPG.cpp (gpg_import_keyrings): New.
3990            Let the user chose the keyrings and then they are copied to the
3991            homedir. After the procedure, the key cache will be reloaded.
3992            * wptKeyManager.cpp (km_delete_keys): New delete confirmation messages.
3993            * wptSigClassDlg.cpp (sig_class_dlg_proc): New.
3994            (get_sig_class_choice): New.
3995            * wptKeySignDlg.cpp (get_printable_fpr): New. More human readable
3996            fingerprint.
3997            (keysign_dlg_proc): Added new value for the GPG callback to handle
3998            the signature class.
3999            * wptKeyUIDDlg.cpp (find_user_id): New. Find the index of the
4000            userID by calling edit-key with colons.
4001            (keyuid_dlg_proc): Use it here.
4002    
4003    2002-08-31  Timo Schulz  <[email protected]>
4004    
4005            * wptGPG.cpp (gpg_check_homedir): Some fixes for the return codes.
4006            (check_homedir): Ask the user whether to create the directory.
4007            * wptKeysigDlg.cpp (keysig_dlg_proc): Fixed keyid. Now it works
4008            to retrieve missing keys from a HKP server.
4009            (recv_missing_keys): Likewise.
4010            * wptPassphraseCB.cpp (passphrase_callback_proc):
4011            Implemented     the "Hide Typing" feature.
4012            (hide_typing): New.
4013            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Improved error messages.
4014            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Improved MDC handling.
4015            Due to some attacks a MDC error is treated as a fatal error and a
4016            possible security risk.
4017            * wptClipImportDlg.cpp (print_import_status): Use a dialog instead
4018            of a silly message box. Furthermore the user gets more information
4019            about the import procedure.
4020            * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): New.
4021            * wptFileManager.cpp (fm_import): Report invalid user ID's.
4022            (fm_verify): Try to guess the data name for detached signatures
4023            before we bother the user. When it's found, use it.
4024            * wptKeyManager.cpp (km_file_import): Ditto.
4025    
4026    2002-08-28  Timo Schulz  <[email protected]>
4027    
4028            * wptClipboard.cpp (clip_parse_pgp_id): Support for PGP 2.6.x types.
4029            * wptFileMananger.cpp (fm_check_armor_type): Ditto.
4030    
4031    
4032    2002-08-26  Timo Schulz  <[email protected]>
4033    
4034            * wptTypes.h (free_if_alloc, CHECK_BOUND): New.
4035            * wptClipEditDlg.cpp (gpgopt_dlg_proc): Use free_if_alloc to make sure
4036            the memory is really released. Some strict checks for return values.
4037            Ident file.
4038    
4039            * wptAboutDlg.cpp: Ditto. (ident)
4040            * wptGPGAboutDlg.cpp: Ditto.
4041            * wptClipDecryptDlg.cpp: Ditto.
4042            (clip_decrypt_dlg): Stricter return value checkings.
4043            Avoid one indent level.
4044    
4045            * wptImportList.cpp (implist_add_key): More strict return value
4046            checking.
4047            * wptKeylist.cpp (keylist_cmp_cb): Fixed a typo.
4048            (add_key): New key status system.
4049            (keylist_get_keyflags): New.
4050            (keylist_enum_recipients): Simplified and use the new key flags.
4051    
4052            * wptSiglist.cpp (siglist_add_key): Fix possible overflows.
4053            (verlist_add_sig_log): More stricter checks.
4054    
4055            * wptRegistry.cpp (get_reg_winpt_prefs): Fixed possible bug.
4056    
4057    2002-06-16      Timo Schulz <[email protected]>
4058    
4059            Don't put the questions in the message box title bar.
4060    
4061            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Only close FP if it
4062            is really opened. Thanks to Nelson.
4063    
4064            * wptKeyProps.cpp (keyprops_dlg_proc): Use a more informative title
4065            for chaning the passphrase. Suggested by Ed.
4066    
4067    2002-06-07      Timo Schulz <[email protected]>
4068    
4069            * wptMainProc.cpp (winpt_main_proc): Support for sign & encrypt hotkeys.
4070            * wptKeyManagerDlg.cpp: Refresh keys was added in the menu.
4071            * wptListView.cpp (listview_select_all): New.
4072            * wptClipSignDlg.cpp (clip_sign_dlg_proc): Fixed the return code.
4073    
4074    2002-05-31      Timo Schulz <[email protected]>
4075    
4076            * wptTrayPop.cpp: Revamped some parts of the code.
4077    
4078            Changed all status_box functions to show_msg. The advantage
4079            is that we only wait a fixed time and the user doesn't need
4080            to hit the OK key. We should add  the time delay in the preferences.
4081    
4082            * wptKeyManager.cpp (km_show_photo): New.
4083    
4084    2002-05-30  Timo Schulz <[email protected]>
4085    
4086            * wptFileManager.cpp (fm_verify): Corrected the handling
4087            for detached RSA signatures.
4088            (fm_add_sig_stat): Added support for short fingerprints.
4089    
4090    2002-05-08      Timo Schulz <[email protected]>
4091    
4092            * wptKeyserver.cpp (kserver_change_proxy): Check the values.
4093            Thanks to njek for reporting it.
4094    
4095    2002-05-07      Timo Schulz <[email protected]>
4096    
4097            * wptGPG.cpp (check_gpg_engine): New.
4098    
4099            * wptKeyCacheDlg.cpp (keycache_dlg_proc): Add GPG 1.0.6 compatible
4100            routines.
4101    
4102            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Ditto.
4103    
4104            * wptKeyEditOwnertrustDlg.cpp (keyedit_owerntrust_dlg_proc): Ditto.
4105    
4106    2002-05-06      Timo Schulz <[email protected]>
4107    
4108            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Change the wording of
4109            the buttons.
4110    
4111    2002-05-05      Timo Schulz <[email protected]>
4112    
4113            * Fixed problem with rev certs for imports stats.
4114    
4115            * Cosmetical changes for the GPGME libraray.
4116    
4117    2002-05-01      Timo Schulz <[email protected]>
4118    
4119            * wptKeygenDlg.cpp (fill_keytype_box): New.
4120            (keygen_dlg_proc): Use a combo box for various key types. With GPG 1.0.7
4121            there is full RSA support.
4122    
4123            Now we use the new status code by GPG (INV_RECP, NO_RECP) to figure out
4124            what the problem was when no encryption was done.
4125    
4126            * wptKeysignDlg.cpp (keysign_dlg_proc): Before we sign a key, we make
4127            sure it was not already signed (ALREADY_SIGNED).
4128    
4129            * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Due to the new trust system,
4130            now we also support to sign ultimate trusted keys.
4131    
4132            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Try to check if the button
4133            is checked and do not check it.
4134    
4135            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): New format for the verify
4136            box and now we also support the date of the signature.
4137    
4138            Applied Rich's spelling and grammer mistakes.
4139            Fixed a lot of minor spelling mistakes and capital letters for dialogs.
4140    
4141    2002-04-30      Timo Schulz <[email protected]>
4142    
4143            Merge ownertrust handling into the keycache. Now GPG outputs the
4144            ownertrust in the key listing which means we can get the ownertrust
4145            value from the keycache.
4146    
4147            (keymisc_dlg_proc): Add a button to rebuild the sig database cache.
4148            Please not that this is not the same as the key cache! The key cache
4149            will be updated when a new key was imported or a subkey was added/changed.
4150            The signature cache only affects the validity of the keys.
4151    
4152            Removed the MyGPGME trustlist code. Now we can use the field in the key
4153            listing to determine the ownertrust (which makes things a lot of easier).
4154    
4155    2002-04-29      Timo Schulz <[email protected]>
4156    
4157            Adjustments for GPG 1.0.7
4158    
4159            * wptKeyEditDlg.cpp (keyedit_ownertrust_dlg_proc): Support ultimate trust
4160            and ask the user if he knows what he's doing.
4161            * wptKeyManager.cpp
4162            (keylist_subclass_proc): Use double click to open the props.
4163            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow the user even to modify a
4164            ultimate ownertrust value.
4165            * wptKeyEditAddSubkeyDlg.cpp (keyedit_addsubkey_dlg_proc): Support for
4166            new RSA keys.
4167    
4168    2002-04-28      Timo Schulz <[email protected]>
4169    
4170            * wptRegistry.cpp (get_reg_winpt_prefs): New option for keylist mode.
4171            (set_reg_winpt_prefs): Ditto.
4172            * wptPreferencesDlg.cpp (prefs_dlg_proc): Support for keylist mode option.
4173            (set_keylist_mode): New.
4174    
4175            Implement minimal keylist mode. Suggested by Fabian.
4176    
4177            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Implement it here.
4178            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
4179            * wptKeylist.cpp (keylist_add_key): Ditto.
4180            (keylist_load): Ditto.
4181            (keylist_build): Ditto.
4182    
4183    2002-04-27      Timo Schulz <[email protected]>
4184    
4185            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Support for the  new dialog.
4186            * wptFileSaveDlg.cpp (file_save_dlg_proc): New.
4187            * wptClipboard.cpp (clip_parse_pgp_id): use logical OR to concat the values.
4188            * wptMainProc.cpp (clip_gpg_dlg): Use the new PGP id's.
4189            (currwnd_gpg_dlg): Ditto.
4190            
4191            Now it's possible to parse cleartext signatures which contains an
4192            encrypted message inside the body.
4193    
4194            * wptTextInputDlg.cpp (load_file_contents): New.
4195            (text_input_dlg_proc): Support for choosing the data file.
4196    
4197            * wptFileManager.cpp (fm_verify): Support for detached signatures.
4198            (fm_parse_files): Ditto.
4199    
4200    
         * wptGPG.cpp (create_groupdb): Only close the file handling if it  
         really exists. Thanks to Mark.  
         (gpg_check_homedir): Applied the patch. Now we're a little stricter  
         about the homedir checks.  
         (check_homedir): Fixed a possible memory leak.  
         * WinPT.cpp (WinMain): Check the homedir functions to exit the program  
         if      we've found some problems.  
         * wptErrors.cpp (winpt_strerror): New value if a directory could not  
         created.  
         * wptMainProc (winpt_main_proc): Use new code for the current window mode.  
         * wptCurrWnd.cpp (get_curr_wnd): Ditto.  
         (get_window_contents): Always set focus to the current window.  
   
 2002-03-31      Timo Schulz <[email protected]>  
   
         * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ask if the user wants to  
         select the key used for signing.  
         * wptSeclistDlg.cpp (seclist_dlg_proc): New. Dialog for secret selecting.  
         * wptFilePrefsDlg.cpp (file_prefs_dlg): Fixes for the combo box ;-).  
         * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Reload the keycache after  
         fetching keys via HKP and try to update the Gpgmekey inside.  
         * wptVerifyList.cpp (verlist_add_sig): Check if the key context was  
         set inside the signature. Fixes some segfaults related to the HKP key  
         fetching during verification. Thanks to Julian. And force to use UTF8  
         for user ID's.  
         * wptClipSignDlg.cpp (one_key_proc): If only one secret exists,  
         prevent that the dialog is loaded and ask for the passphrase directly.  
   
   
 2002-04-05      Timo Schulz <[email protected]>  
   
         * wptSigList.cpp (siglist_add_key): Added UTF8 support. Thanks to Scire.  
         * wptKeyUidDlg.cpp (keyuid_dlg_proc): Ditto.  
         * wptKeySignDlg.cpp (keysign_dlg_proc): Ditto.  
         * wptKeyAddUidDlg.cpp (keyedit_adduid_dlg_proc): Ditto.  
   
 2002-04-19      Timo Schulz <[email protected]>  
   
         * wptImplist.cpp (implist_load): Support for the advanced PGP parser code.  
   
 2002-04-23      Timo Schulz <[email protected]>  
   
         * wptRFC2440.cpp: Removed. We now use the OpenCDK package.  
         * wptFileManager.cpp (fm_get_file_type): Removed the old RFC2440 code.  
         (fm_encrypt): Modified code to allow sign & encrypt.  
         (fm_parse_file): Ditto.  
         (fm_decrypt): Support for checking signatures.  
         * wptFileManagerDlg.cpp (file_manager_dlg_proc): Ditto.  
   
 2002-04-24      Timo Schulz <[email protected]>  
   
         * wptKeyManagerDlg.cpp (key_misc_dlg_proc): Support to maximize windows.  
           
         Changed the way to modify the "Version:" string.  
   
         * wptKeyserver.cpp (add_node): New.  
         (kserver_change_proxy): New.  
         (kserver_read_config): New.  
         (kserver_write_config): New.      
         (kserver_cfgfile_release): New.  
         (proxy_release): New.  
   
         * wptProxySettingsDlg.cpp (read_proxy): New.  
         * wptFileStatDlg.cpp (file_stat_dlg_proc): New.  
         * wptFileManager.cpp (fm_list): New.  
         (fm_parse_files): Support the new list command.  
   
 2002-04-25      Timo Schulz <[email protected]>  
   
         * wptImplist.cpp (implist_add_key): Catch possible segfault.  
         * wptVerifyList.cpp (verlist_add_sig): Ditto.  
         * wptKeyManager.cpp (km_check_for_seckey): Modified for GPG 1.0.7.  
         * wptKeylist.cpp (find_secret_key): New.  
         (add_key): Use it here.  
         (keylist_add_key): And here.  
   
         * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Fixed a bug that prevent  
         to fetch the key.  
   
4201  2002-04-26      Timo Schulz <[email protected]>  2002-04-26      Timo Schulz <[email protected]>
4202    
4203          * wptKeyUidDlg.cpp: Fixed a typo. Kudos to Dugan Chen.          * wptKeyUidDlg.cpp: Fixed a typo. Kudos to Dugan Chen.
4204          * wptKeyUidDlg.cpp: Ditto.          * wptKeyUidDlg.cpp: Ditto.
4205    
4206  2002-04-27      Timo Schulz <[email protected]>  2002-04-25      Timo Schulz <[email protected]>
4207    
4208          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Support for the  new dialog.          * wptImplist.cpp (implist_add_key): Catch possible segfault.
4209          * wptFileSaveDlg.cpp (file_save_dlg_proc): New.          * wptVerifyList.cpp (verlist_add_sig): Ditto.
4210          * wptClipboard.cpp (clip_parse_pgp_id): use logical OR to concat the values.          * wptKeyManager.cpp (km_check_for_seckey): Modified for GPG 1.0.7.
4211          * wptMainProc.cpp (clip_gpg_dlg): Use the new PGP id's.          * wptKeylist.cpp (find_secret_key): New.
4212          (currwnd_gpg_dlg): Ditto.          (add_key): Use it here.
4213                    (keylist_add_key): And here.
4214          Now it's possible to parse cleartext signatures which contains an  
4215          encrypted message inside the body.          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Fixed a bug that prevent
4216            to fetch the key.
4217          * wptTextInputDlg.cpp (load_file_contents): New.  
4218          (text_input_dlg_proc): Support for choosing the data file.  2002-04-24      Timo Schulz <[email protected]>
4219    
4220          * wptFileManager.cpp (fm_verify): Support for detached signatures.          * wptKeyManagerDlg.cpp (key_misc_dlg_proc): Support to maximize windows.
4221          (fm_parse_files): Ditto.          
4222            Changed the way to modify the "Version:" string.
4223    
4224  2002-04-28      Timo Schulz <[email protected]>          * wptKeyserver.cpp (add_node): New.
4225            (kserver_change_proxy): New.
4226          * wptRegistry.cpp (get_reg_winpt_prefs): New option for keylist mode.          (kserver_read_config): New.
4227          (set_reg_winpt_prefs): Ditto.          (kserver_write_config): New.    
4228          * wptPreferencesDlg.cpp (prefs_dlg_proc): Support for keylist mode option.          (kserver_cfgfile_release): New.
4229          (set_keylist_mode): New.          (proxy_release): New.
4230    
4231          Implement minimal keylist mode. Suggested by Fabian.          * wptProxySettingsDlg.cpp (read_proxy): New.
4232            * wptFileStatDlg.cpp (file_stat_dlg_proc): New.
4233          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Implement it here.          * wptFileManager.cpp (fm_list): New.
4234          * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.          (fm_parse_files): Support the new list command.
4235          * wptKeylist.cpp (keylist_add_key): Ditto.  
4236          (keylist_load): Ditto.  2002-04-23      Timo Schulz <[email protected]>
4237          (keylist_build): Ditto.  
4238            * wptRFC2440.cpp: Removed. We now use the OpenCDK package.
4239  2002-04-29      Timo Schulz <[email protected]>          * wptFileManager.cpp (fm_get_file_type): Removed the old RFC2440 code.
4240            (fm_encrypt): Modified code to allow sign & encrypt.
4241          Adjustments for GPG 1.0.7          (fm_parse_file): Ditto.
4242            (fm_decrypt): Support for checking signatures.
4243          * wptKeyEditDlg.cpp (keyedit_ownertrust_dlg_proc): Support ultimate trust          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Ditto.
4244          and ask the user if he knows what he's doing.  
4245          * wptKeyManager.cpp  2002-04-19      Timo Schulz <[email protected]>
4246          (keylist_subclass_proc): Use double click to open the props.  
4247          * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow the user even to modify a          * wptImplist.cpp (implist_load): Support for the advanced PGP parser code.
4248          ultimate ownertrust value.  
4249          * wptKeyEditAddSubkeyDlg.cpp (keyedit_addsubkey_dlg_proc): Support for  2002-04-05      Timo Schulz <[email protected]>
4250          new RSA keys.  
4251            * wptSigList.cpp (siglist_add_key): Added UTF8 support. Thanks to Scire.
4252  2002-04-30      Timo Schulz <[email protected]>          * wptKeyUidDlg.cpp (keyuid_dlg_proc): Ditto.
4253            * wptKeySignDlg.cpp (keysign_dlg_proc): Ditto.
4254          Merge ownertrust handling into the keycache. Now GPG outputs the          * wptKeyAddUidDlg.cpp (keyedit_adduid_dlg_proc): Ditto.
4255          ownertrust in the key listing which means we can get the ownertrust  
4256          value from the keycache.  2002-03-31      Timo Schulz <[email protected]>
4257    
4258          (keymisc_dlg_proc): Add a button to rebuild the sig database cache.          * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ask if the user wants to
4259          Please not that this is not the same as the key cache! The key cache          select the key used for signing.
4260          will be updated when a new key was imported or a subkey was added/changed.          * wptSeclistDlg.cpp (seclist_dlg_proc): New. Dialog for secret selecting.
4261          The signature cache only affects the validity of the keys.          * wptFilePrefsDlg.cpp (file_prefs_dlg): Fixes for the combo box ;-).
4262            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Reload the keycache after
4263          Removed the MyGPGME trustlist code. Now we can use the field in the key          fetching keys via HKP and try to update the Gpgmekey inside.
4264          listing to determine the ownertrust (which makes things a lot of easier).          * wptVerifyList.cpp (verlist_add_sig): Check if the key context was
4265            set inside the signature. Fixes some segfaults related to the HKP key
4266  2002-05-01      Timo Schulz <[email protected]>          fetching during verification. Thanks to Julian. And force to use UTF8
4267            for user ID's.
4268          * wptKeygenDlg.cpp (fill_keytype_box): New.          * wptClipSignDlg.cpp (one_key_proc): If only one secret exists,
4269          (keygen_dlg_proc): Use a combo box for various key types. With GPG 1.0.7          prevent that the dialog is loaded and ask for the passphrase directly.
4270          there is full RSA support.  
4271    
4272          Now we use the new status code by GPG (INV_RECP, NO_RECP) to figure out  2002-03-29      Timo Schulz <[email protected]>
4273          what the problem was when no encryption was done.  
4274            * wptGPG.cpp (create_groupdb): Only close the file handling if it
4275          * wptKeysignDlg.cpp (keysign_dlg_proc): Before we sign a key, we make          really exists. Thanks to Mark.
4276          sure it was not already signed (ALREADY_SIGNED).          (gpg_check_homedir): Applied the patch. Now we're a little stricter
4277            about the homedir checks.
4278          * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Due to the new trust system,          (check_homedir): Fixed a possible memory leak.
4279          now we also support to sign ultimate trusted keys.          * WinPT.cpp (WinMain): Check the homedir functions to exit the program
4280            if      we've found some problems.
4281          * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Try to check if the button          * wptErrors.cpp (winpt_strerror): New value if a directory could not
4282          is checked and do not check it.          created.
4283            * wptMainProc (winpt_main_proc): Use new code for the current window mode.
4284          * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): New format for the verify          * wptCurrWnd.cpp (get_curr_wnd): Ditto.
4285          box and now we also support the date of the signature.          (get_window_contents): Always set focus to the current window.
4286    
4287          Applied Rich's spelling and grammer mistakes.  2002-03-22      Timo Schulz <[email protected]>
4288          Fixed a lot of minor spelling mistakes and capital letters for dialogs.  
4289            * wptMainProc.cpp (currwnd_gpg_dlg): If the viewer is used, doesn't
4290  2002-05-05      Timo Schulz <[email protected]>          set window contents for some commands.
4291            (winpt_main_proc): Use the code here.
4292          * Fixed problem with rev certs for imports stats.          * wptKeygenDlg.cpp (keygen_dlg_proc): Allow to generate keys > 2048 bits.
4293            * wptProxySettingsDlg.cpp: (keyserver_proxy_dlg_proc): New.
4294          * Cosmetical changes for the GPGME libraray.          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Use the proxy dialog here.
4295            * wptKeyserver.cpp (kserver_load_conf): Fixed malformed strings.
4296  2002-05-06      Timo Schulz <[email protected]>  
4297    2002-03-02      Timo Schulz <[email protected]>
4298          * wptClipEditDlg.cpp (clip_edit_dlg_proc): Change the wording of  
4299          the buttons.          * Use capital letters in the main menus and applied Patricks spelling
4300            corrections.
4301  2002-05-07      Timo Schulz <[email protected]>  
4302            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): keyID is a string
4303          * wptGPG.cpp (check_gpg_engine): New.          not an integer. Thanks to scrumpy.      
4304            * wptWipeFile.cpp (rename_unlink): Use '\' instead of '/'.
4305          * wptKeyCacheDlg.cpp (keycache_dlg_proc): Add GPG 1.0.6 compatible          (overwrite): Some bugfixes to set the pointer to the begin of the file.
4306          routines.          * wptVerlist.cpp (verlist_build): New keyID column.
4307            (verlist_add_sig): Use it here.
4308          * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Ditto.  
4309    2002-03-01      Timo Schulz <[email protected]>
4310          * wptKeyEditOwnertrustDlg.cpp (keyedit_owerntrust_dlg_proc): Ditto.  
4311            * wptWipeFile: Replaced all low level I/O functions with W32 API
4312  2002-05-08      Timo Schulz <[email protected]>          functions. And support for more wiping modes. I don't know to
4313            support all, but those makes sense for me:
4314          * wptKeyserver.cpp (kserver_change_proxy): Check the values.          1. Simple (2 random passes)
4315          Thanks to njek for reporting it.          2. DoD (as described in the standard)
4316            3. Peter Gutmanns method (from the paper)
4317  2002-05-30  Timo Schulz <[email protected]>  
4318    
4319          * wptFileManager.cpp (fm_verify): Corrected the handling  2002-02-28      Timo Schulz <[email protected]>
4320          for detached RSA signatures.  
4321          (fm_add_sig_stat): Added support for short fingerprints.          * wptImplist.cpp (implist_add_key): UTF8 support.
4322            Handle invalid userID's.
4323  2002-05-31      Timo Schulz <[email protected]>          * wptPassphraseCB.cpp (parse_gpg_description): UTF8 support.
4324            (passphrase_callback_proc): Ditto.
4325          * wptTrayPop.cpp: Revamped some parts of the code.  
4326    
4327          Changed all status_box functions to show_msg. The advantage  2002-02-23      Timo Schulz     <[email protected]>
4328          is that we only wait a fixed time and the user doesn't need  
4329          to hit the OK key. We should add  the time delay in the preferences.          * wptListview.cpp (listview_del_items): New.
4330            * wptKeyManager.cpp (km_delete_keys): Use it here.
4331          * wptKeyManager.cpp (km_show_photo): New.          * wptKeygenDlg.cpp (keygen_dlg_proc): UTF8 support.
4332            * wptKeylist.cpp (add_key): UTF8 support.
4333  2002-06-07      Timo Schulz <[email protected]>  
4334    2002-02-08      Timo Schulz <[email protected]>
4335          * wptMainProc.cpp (winpt_main_proc): Support for sign & encrypt hotkeys.  
4336          * wptKeyManagerDlg.cpp: Refresh keys was added in the menu.          * wptNLS.c: Now it's C-source because GPGME needs gettext too.
4337          * wptListView.cpp (listview_select_all): New.          (stpcpy): Makes it static.
4338          * wptClipSignDlg.cpp (clip_sign_dlg_proc): Fixed the return code.          * errors.c: localize all error strings.
4339            * WinPT.cpp (get_gettext_lang): Move the code in this file because
4340  2002-06-16      Timo Schulz <[email protected]>          we can't use it in plain C.
4341    
4342          Don't put the questions in the message box title bar.  2002-02-05      Timo Schulz <[email protected]>
4343    
4344          * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Only close FP if it          * wptGPG.cpp (gpg_save_options): Catch the case when the options file
4345          is really opened. Thanks to Nelson.          exist but it has a length of zero.
4346            (gpg_display_error): Print out the data from the GPG stderr
4347          * wptKeyProps.cpp (keyprops_dlg_proc): Use a more informative title          (when available).
4348          for chaning the passphrase. Suggested by Ed.          * w32-util.c (_gpgme_get_gpg_optfile): Check if the file exists and if
4349            not, return NULL.
4350  2002-08-26  Timo Schulz  <[email protected]>          * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Add support to export secret
4351            keys.
4352          * wptTypes.h (free_if_alloc, CHECK_BOUND): New.  
4353          * wptClipEditDlg.cpp (gpgopt_dlg_proc): Use free_if_alloc to make sure          * Fixed a lot of memory allocation all over the place.
4354          the memory is really released. Some strict checks for return values.  
4355          Ident file.  2002-02-05      Timo Schulz <[email protected]>
4356            
4357          * wptAboutDlg.cpp: Ditto. (ident)          wptGPG.cpp (gpg_save_options): Fixed the code for the case the
4358          * wptGPGAboutDlg.cpp: Ditto.          values don't exist in the options file. Thanks to Lutz who found this out.
4359          * wptClipDecryptDlg.cpp: Ditto.          (get_gpg_default): First search for "default-key" then for "encrypt-to".
4360          (clip_decrypt_dlg): Stricter return value checkings.  
4361          Avoid one indent level.  2002-02-04      Timo Schulz <[email protected]>
4362    
4363          * wptImportList.cpp (implist_add_key): More strict return value          * WinPT.rc: Set LVS_SHOWSELALWAYS for all listview elements
4364          checking.          which need it. Thanks to Timo who find this out.
4365          * wptKeylist.cpp (keylist_cmp_cb): Fixed a typo.          * WinPT.cpp (WinMain): We don't quit in the case the user changed
4366          (add_key): New key status system.          the preferences.
4367          (keylist_get_keyflags): New.          (update_keycache): New. Handy function to update the keycache.
4368          (keylist_enum_recipients): Simplified and use the new key flags.  
4369            * Use quotation for the options file in any case.
4370          * wptSiglist.cpp (siglist_add_key): Fix possible overflows.  
4371          (verlist_add_sig_log): More stricter checks.          * clipboard.c (gpgme_clipboard_verify): When the NO_PUBKEY status
4372            is set, we don' try to get the sig key.
4373          * wptRegistry.cpp (get_reg_winpt_prefs): Fixed possible bug.  
4374            * wptGPG.cpp (get_gpg_default_key): Revamped.
4375  2002-08-28  Timo Schulz  <[email protected]>  
4376    2002-01-26      Timo Schulz <[email protected]>
4377          * wptClipboard.cpp (clip_parse_pgp_id): Support for PGP 2.6.x types.  
4378          * wptFileMananger.cpp (fm_check_armor_type): Ditto.          * wptKeylist.cpp (keylist_add_key): Use flags for the file manager
4379            to avoid to show all userid's. Thanks to Frank.
4380            * wptDateDlg.cpp (date_dlg_proc): New context to use different
4381  2002-08-31  Timo Schulz  <[email protected]>          window texts and some other features.
4382            * wptKeygenDlg.cpp (keygen_dlg_proc): Use it here.
4383          * wptGPG.cpp (gpg_check_homedir): Some fixes for the return codes.          * wptKeySubkeyDlg.cpp (subkey_dlg_proc): Ditto.
4384          (check_homedir): Ask the user whether to create the directory.          * wptGPG.cpp (gpg_create_groupdb): Create the groupdb.gpg file if
4385          * wptKeysigDlg.cpp (keysig_dlg_proc): Fixed keyid. Now it works          it doesn't exist.
4386          to retrieve missing keys from a HKP server.          * WinPT.cpp (WinMain): Use the new code here.
4387          (recv_missing_keys): Likewise.  
4388          * wptPassphraseCB.cpp (passphrase_callback_proc):  2002-01-23      Timo Schulz <[email protected]>
4389          Implemented     the "Hide Typing" feature.  
4390          (hide_typing): New.          * wptClipEditDlg.cpp (clip_edit_dlg_proc): Release the buffer for
4391          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Improved error messages.          loading a file.
4392          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Improved MDC handling.          Add new code to save file with clipboard contents.
4393          Due to some attacks a MDC error is treated as a fatal error and a  
4394          possible security risk.  2002-01-20      Timo Schulz <[email protected]>
4395          * wptClipImportDlg.cpp (print_import_status): Use a dialog instead  
4396          of a silly message box. Furthermore the user gets more information          * wptMainProc.cpp (winpt_main_proc): Fix the error, that the user
4397          about the import procedure.          have to click twice before the menu appears. Richard told me this.
4398          * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): New.  
4399          * wptFileManager.cpp (fm_import): Report invalid user ID's.  
4400          (fm_verify): Try to guess the data name for detached signatures  2002-01-18      Timo Schulz <[email protected]>
4401          before we bother the user. When it's found, use it.  
4402          * wptKeyManager.cpp (km_file_import): Ditto.          * wptMainProc.cpp (winpt_main_proc): NLS support for new menu style.
4403            * wptPassphraseCB.cpp (parse_gpg_description): Support when no
4404  2002-09-01  Timo Schulz  <[email protected]>          description was given. One example is when symmetric was used.
4405    
4406          * wptFirstRunDlg.cpp (get_setup_choice): New. Returns the choice  2002-01-13      Timo Schulz <[email protected]>
4407          of the dialog.  
4408          * WinPT.cpp (WinMain): Use it here. Reworded the error message.          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Fixed some boolesche
4409          * wptGPG.cpp (gpg_import_keyrings): New.          settings.
4410          Let the user chose the keyrings and then they are copied to the          * wptGPG.cpp (gpg_backup_options): New.
4411          homedir. After the procedure, the key cache will be reloaded.          (gpg_load_options): Ignore comment lines.
4412          * wptKeyManager.cpp (km_delete_keys): New delete confirmation messages.          (gpg_save_options): Rewritten.
4413          * wptSigClassDlg.cpp (sig_class_dlg_proc): New.  
4414          (get_sig_class_choice): New.  2002-01-06  Timo Schulz <[email protected]>
4415          * wptKeySignDlg.cpp (get_printable_fpr): New. More human readable  
4416          fingerprint.      * wptPreferencesDlg.cpp (prefs_dlg_proc): Support for the sign+encrypt
4417          (keysign_dlg_proc): Added new value for the GPG callback to handle      hotkey.
4418          the signature class.          * wptRegistry.cpp: Ditto.
4419          * wptKeyUIDDlg.cpp (find_user_id): New. Find the index of the          * wptRegistry.h: Ditto.
4420          userID by calling edit-key with colons.          * wptHotkey.h: Ditto.
4421          (keyuid_dlg_proc): Use it here.          * wptGPG.cpp (gpg_load_options): New.
4422            (gpg_save_options): New.
4423  2002-09-02  Timo Schulz  <[email protected]>  
4424    2002-01-01      Timo Schulz <[email protected]>
4425          * wptKeyManager.cpp (km_privkey_export): Check return codes and  
4426          some types has been changed.          * wptFileManager.cpp (fm_verify): Support for the case there is
4427          (km_file_export): Likewise.          no public key to verify the signature.
4428    
4429  2002-09-03  Timo Schulz  <[email protected]>  2001-12-30      Timo Schulz <[email protected]>
4430    
4431          Removed all OpenCDK code from PTD. The code is not tested very          * wptFileManager.cpp (fm_sign): Always use callbacks for the
4432          well and it might contain some errors. Now we used a stripped down          passphrase.
4433          version of GnuPG code. This has two advantages. First the code is          (fm_decrypt): Ditto.
4434          stable and second we can easier port other parts to native GPG code.          (fm_parse_files): Cache the passphrase for the session and check
4435            if the file still exists.
4436          * wptFileManager.cpp (fm_get_file_type): Use native GPG code.          * wptRFC2240.cpp (parse_ske_sesskey): Removed. We no longer use
4437          * wptKeyCacheDlg.cpp (keycache_dlg_proc): Add photos from the          low level stuff here.
4438          keyring when present to the keycache.          * wptFile.cpp (get_keyid_from_file): Ditto.
4439          * wptKeyManager.cpp (km_show_photo): Fixes to work again with the  
4440          modified code.  2001-12-21      Timo Schulz <[email protected]>
4441          (km_check_for_seckey): Check substrings of the value because we  
4442          don't use '**' values any longer.          * wptTextInputDlg.cpp (text_input_dlg_proc): New.
4443          * wptFileStat.cpp (do_list_packets): New. Adapted from the old code.          * wptMainProc (clip_gpg_dlg): Support for deached signatures.
4444          (file_stat_dlg_proc): Uses the new code.          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Ditto.
4445    
4446  2002-09-04  Timo Schulz  <[email protected]>  2001-12-19      Timo Schulz <[email protected]>
4447    
4448          * wptKeyManager.cpp (km_check_key_status): Parse new fields.          * Completed work on the temporary file support for GPG.
4449            * wptRegistry.cpp (set_reg_winpt_prefs): Add mode for the
4450  2002-09-07  Timo Schulz  <[email protected]>          plaintext viewer option. Suggested by Markus Winkler.
4451            (get_reg_winpt_prefs): Ditto.
4452          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc):          * wptPreferencesDlg.cpp (prefs_dlg_proc): Ditto.
4453          Print notation data when available.          * wptMainProc.cpp (winpt_main_proc): Ditto.
4454          Show if the signature is expired or not.  
4455    2001-12-15  Timo Schulz <[email protected]>
4456          * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Added the show photo  
4457          command to the context menu.      * wptKeyManagerDlg.cpp (keymisc_dlg_proc): New menu items for
4458        copy and paste.
4459          * wptKeygenDlg.cpp (keygen_dlg_proc): New default keysize is 1792.  
4460          This is 256 bits more than the old size. Hopefully it's enough  2001-12-02      Timo Schulz <[email protected]>
4461          security to protect against the most enemies ;-).  
4462            * wptGroups.c: Revamped from the base. Arggg.
4463  2002-09-08  Timo Schulz  <[email protected]>  
4464    2001-11-29      Timo Schulz <[email protected]>
4465          * wptKeygenDlg.cpp (ask_for_backup): Check if the copy process  
4466          really succeeded.          * wptKeyManager.cpp (km_groupdb_expand_recipients): New.
4467          (mbox): Alias for msg_box with fixed title to avoid long lines.          * wptMainProc.cpp (clip_gpg_dlg): New.
4468          * wptKeyEditAddSubkeyDlg.cpp (keyedit_addsubkey_dlg_proc): Allow          Modify the whole event loop so we don't need all the same code
4469          to generate keys with a length til 4096 bits.          for each command. And we use the new foreground code.
4470          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Check for          * wptW32API.cpp (check_date): Fixed.
4471          invalid recipients and print out the reasons.  
4472          * wptKeylist.cpp (keylist_add_to_recipients): Improved error message  2001-11-27      Timo Schulz <[email protected]>
4473          and corrected the validity checking.  
4474            * wptKeyserver.cpp (base64_encode): New. Marco provided HTTP
4475  2002-09-09  Timo Schulz  <[email protected]>          proxy authentifcation support for each command.
4476            (kserver_update_proxyuser): New. Ditto.
4477          * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Improved code for          (kserver_send_request): Ditto.
4478          the privat key (export).          (kserver_recv_request): Ditto.
4479            (kserver_search_init): Ditto.
4480  2002-09-10  Timo Schulz  <[email protected]>  
4481    2001-11-24      Timo Schulz <[email protected]>
4482          * wptFileManager.cpp (fm_get_file_type): Disable FD cache.  
4483          (fm_decrypt): Only cut off the extension if it belong to GPG.          * wptKeyManager.cpp (km_groups_new): New.
4484          Added user ID to the box if the file was signed.          (km_groups_release): New.
4485          Ask for the filename if the name has no valid GPG extension.          (km_groups_load): Rewritten.
4486            (km_groups_add): New.
4487  2002-09-12  Timo Schulz  <[email protected]>          (km_groups_del): New.
4488            (km_groupdb_open): New.
4489          * wptPasswdDlg.cpp (passwd_dlg_proc): Implement the "Hide Typing" fature.          * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Added group support.
4490          * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Off by one bug for secret          * wptGroups.c (groupdb_enum_read): Store the record before increment it.
4491          key export.  
4492          * wptKeyManager.cpp (fm_encrypt): Use the new GPG status messages to  2001-11-23      Timo Schulz <[email protected]>
4493          check if the encryption failed.  
4494          (km_show_photo): Fixed offset calculation.          * wptW32API.cpp (set_active_window): New.
4495          Use keyid as filename and delete the tempfile after use.          (reset_active_window): New.
4496          * wptFile.cpp (init_file_lock): Use dynamic buffer.          (window_reminder): New. This is a delayed thread procedure to
4497          (release_file_lock): Free this buffer.          force the focus (foreground) to the dialogs for the current
4498          * wptFileManager.cpp (quote_filename): Removed.          window mode.
4499          (quote_file): New. Use dynamic buffers.          * wptMainProc.cpp (winpt_main_proc): Use it here.
4500          (fm_import, fm_decrypt, fm_encrypt, fm_sym_encrypt, fm_export):          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Ditto.
4501          Use it here.          * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
4502          * wptFileStatDlg.cpp (do_list_packets): Do not cache FD.          * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.
4503          Initalize packet at the begin and during the loop.          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Ditto.
4504          * wptFileManager.cpp: Replaced all static memory handling with  
4505          dynamic routines.  2001-11-22      Timo Schulz <[email protected]>
4506          * wptKeyCacheDlg.cpp (key_cache_dlg): Remove obsolete ownertrust  
4507          functions.          * wptW32API.cpp (set_foreground_wnd): New.
4508          * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Ditto.          
4509            Fixed the return value of all EndDialogs.
4510  2002-09-13  Timo Schulz  <[email protected]>  
4511            * wptMainProc.cpp: Remove all code parts which did the same for the
4512          * wptKeyManager.cpp (km_show_photo): Use a const buffer for the          current window support. Now the code uses a dialog switch which is
4513          image and do NOT free it.          much smaller.
4514          * wptKeyUidDlg.cpp (keyuid_dlg_proc): Implement "revoke" function.  
4515          (find_user_id): Use keyid to find the key. Changed all callers.  2001-11-18  Timo Schulz <[email protected]>
4516    
4517          * Removed global gpg_version variable. Now we also support GPG 1.1.9x      * wptKeyManager.cpp: New. Contains all handy functions from the
4518          so we don't need to check this after the start again.      wptKeyManagerDlg.cpp. This should help to cleanup the dialog code.
4519        (km_quote_uid): New.
4520  2002-09-17  Timo Schulz  <[email protected]>      (km_check_for_seckey): New.
4521        (km_check_key_status): New.
4522          * winpt.cpp (WinMain): Use make_filename and no static buffer.      (km_clip_export): New.
4523          Modified for the new gnupg interface.      (km_clip_import): New.
4524          * wptFile.cpp (make_filename): New.      (km_file_export): New.
4525          * wptGpgCmds.h: New from GPG 1.1.92      (km_file_import): New.
4526          * wptGPG.cpp (gnupg_import_keyrings): Use dynamic buffers      (km_delete_keys): New.
4527          and make_filename.      (km_send_to_keyserver): New.
4528          * wptKeygenDlg.cpp (ask_for_backup): Use new gpg code and      (km_refersh_from_keyserver): New.
4529          make_filename instead of static buffers.      (km_update_default_key_str): New.
4530          * wptKeyCacheDlg.cpp (keycache_dlg_proc): Likewise.          * wptKeygenDlg.cpp (ask_for_backup): New.
4531          * wptParser.cpp: Changed to new allocation instead of malloc.          (keygen_dlg_proc): Use new function to give the chance to the
4532          * wptGPGOptSkel.h: Updated from GPG 1.1.92          user for a complete backup.
4533          * wptRegistry.cpp (get_reg_entry): Expand %s like registry strings.  
4534    2001-11-13      Timo Schulz <[email protected]>
4535  2002-09-23  Timo Schulz  <[email protected]>  
4536            * wptGPG.cpp (get_gpg_optfile): Check for the case the OptFile entry
4537          * wptParser.cpp (add_multi_option): Support for values with more ' 's          is set but to "". Then use default gpg directory.
4538          and skip the ' ' after the name.          * wptKeyManagerDlg.cpp (send_to): New. Context entry for sending keys.
4539          (modify_entry): New.          (refresh_from_keyserver): New. Context entry for update keys.
4540          * wptGPG.cpp (gnupg_save_options): Removed.          (keymisc_dlg_proc): Modify the way the popup is shown.
4541          (gnupg_load_options): Removed.  
4542          (gnupg_release_options): Removed.  2001-11-07      Timo Schulz <[email protected]>
4543          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Use the new code.  
4544            * wptGPG.cpp (set_gpg_default_key): Rewrote the part of changing
4545  2002-09-25  Timo Schulz  <[email protected]>          the key id.
4546            * wptKeyManagerDlg.cpp (file_import): Use force trust to allow secret
4547          * wptClipboard.cpp (clip_parse_pgp_id): Add a flag when the text          key imports.
4548          is dash escaped. This is useful for keys to avoid errors.          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): If the options file exists and
4549          * wptKeyManager.cpp (extract_dash_escaped_key): New. Extract an          the user doesn't set the field, try to do this automatically.
4550          OpenPGP key from the clipboard which is dash escaped.  
4551          (km_clip_import): Use the new code here.  2001-11-03      Timo Schulz <[email protected]>
4552    
4553  2002-10-10  Timo Schulz  <[email protected]>          (fm_remove_crit_file_attrs): First check if the file exists.
4554            Thanks to Peter.
4555          * wptW32API.cpp (get_filename_dlg): Added default filename parameter.  
4556          Changed all callers.  2001-11-02      Timo Schulz <[email protected]>
4557          * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Adjusted the code for the  
4558          new get_filename_dlg.          * WinPT.cpp (WinMain): Add the chance to start the preferences dialog
4559          * wptFileManager.cpp (fm_export): Likewise.          in the case a GPG error was detected.
4560          * wptClipDecryptDlg (clip_decrypt_dlg): Modified the verify message box.          * wptKeyManagerDlg.cpp (delete_keys): Interface to delete all selected
4561          * wptKeySignDlg.cpp (keysign_dlg_proc): Changed the code for edit-key.          keys.
4562          Use signature class dialog.  
4563          * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Use the new code and the  2001-10-30      Timo Schulz <[email protected]>
4564          keyid instead of the userid to avoid charset problems.  
4565          (err_message): New.          * wptHotkey.h: Fixed typo. Thanks to Timo.
4566            * wptGPG.cpp: (gpg_check_homedir): Fixed memory leak. By Timo.
4567          * Moved all wipe specific code (random, rmd160) to the DLL so we can          (get_gpg_default_key): Skip comment lines immediately.
4568          save some memory for the tray section.          * wptRegisty.cpp (get_reg_winpt_prefs): Ditto.
4569            * wptKeyManagerDlg.cpp (keylist_subclass_proc): New. Procedure
4570          * wptKeyRevokersDlg.cpp (revokelist_build): New.          for subclassing.
4571          (revokelist_init): New.  
4572          (key_revokers_dlg_proc): New.          Remove all unsafe WM_NOTIFY stuff because this was propably the
4573            reason for the crashes. And add as a sanity check if the control
4574          * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use the designated revoker          sent the message.
4575          code here when available.  
4576    2001-10-28      Timo Schulz <[email protected]>
4577  2002-10-13  Timo Schulz  <[email protected]>  
4578            * wptKeyMiscDlg.cpp (key_misc_dlg_proc): New virtual key support
4579          * wptKeylist.cpp (get_key_expire_date): New.          for ENTER/SPACE and DELETE. Suggested by Graham.
4580          * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use it here.          * wptKeyList.cpp (add_key): New code to figure out how trustworthy
4581            a expired/revoked secret key is.
4582          * Removed global keycache from GPGME. It's a bad style to mix          (keylist_enum_recipients): Show the key ID of the key when it's
4583          general and specific interfaces.          revoked.
4584            * wptFileManager.cpp (fm_decrypt): Parse all PKE packets and not
4585          * wptGPGME.cpp (get_pubkey): New. Used to hide keycache implementation          only the first to figure out if a secret is available. Thanks to
4586          details. Useful to replace it later.          Graham.
4587          (get_seckey): Ditto.          * wptFile.cpp (get_keyid_from_file): Ditto.
4588          (keycache_reload): Moved from the GPGME library.  
4589          (keycache_release): New.  2001-10-27      Timo Schulz <[email protected]>
4590          (keycache_init): New.  
4591          (keycache_set_reload): New.          * wptKeylist.cpp (keylist_enum_recipients): Add a type to make
4592          (keycache_get_reload): New.          the code more flexible.
4593          (keycache_get_ctx): New.          * wptKeyMiscDlg.cpp (file_import): New.
4594            (file_export): New.
4595          * wptSigList.cpp (siglist_add_key): Use the new code.          * wptKeySigDlg.cpp (recv_missing_keys): Fixed a typo.
4596          (siglist_build): Ditto.  
4597            Removed all OE code snippets.
4598    
4599  2002-10-15  Timo Schulz  <[email protected]>  2001-10-26      Timo Schulz <[email protected]>
4600    
4601          * Changed all s(n)printf -> msg_box constructs to log_box.          * wptExtensions.cpp: Removed.
4602            * wptLDAPExt.cpp: Removed.
4603  2002-10-30  Timo Schulz  <[email protected]>          * wptLDAP.cpp: New. This code now contains a direct interface to
4604            the WLDAP library so we don't need extra DLL's to handle LDAP keyservers.
4605          * wptLDAP.cpp, wptLDAP.h: Removed. The plan is to use the gpgkey_xxx.exe          (wldap_init): New.
4606          LDAP plugin for this purpose.          (wldap_end): New.
4607          * wptMainproc.cpp (winpt_main_proc): Removed all LDAP stubs.          (ldap_set_verbose): New.
4608          * wldap32.lib is now not longer needed.          (ldap_get_key_info): New.
4609          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Copy userid to clipboard.          (ldap_recvkey): New.
4610          * Updated the resource file.          (init_ldap): New. Internal use only.
4611          * wptFileManager.cpp (fm_parse_command_line): Implemented the stuff          (get_key): New. Ditto.
4612          for 'Decrypt', 'Verify', 'Import'.          (send_key): New. Ditto.
4613            * wptMainProc.cpp (wpt_main_proc): Init and de-init the LDAP dll.
4614  2002-10-31  Timo Schulz  <[email protected]>  
4615    2001-10-25      Timo Schulz <[email protected]>
4616          * wptKeyManager.cpp (km_update_default_key_str): Fixed '0x' handling.  
4617          Thanks to Gustavo.          * wptGPG.cpp (get_gpg_default_key): Support for the users options file.
4618          * wptKeylist.cpp (add_key): Now we only use find_secret_key to detect          (check_gpg_path): Ditto.
4619          whether it's a key pair or not.          (get_gpg_options): Ditto.
4620          * Callback struct into KEY so we can modify the values in the background.          (set_gpg_default_key): Ditto.
4621          * wptKeyPropsDlg.cpp (change_ownertrust): New.          (set_gpg_options): Ditto.
4622            (gpg_check_keyring): Ditto.
4623  2002-10-13  Timo Schulz  <[email protected]>          (set_gpg_default_keyid): Fix a typo.
4624            * wptGPGME.cpp (get_default_keyid): Rewrote most of the code.
4625          * wptKeyManager.cpp (km_file_import): Alloc buffer, it's not static  
4626          any longer.  2001-10-23      Timo Schulz <[email protected]>
4627    
4628  2002-10-14  Timo Schulz  <[email protected]>          * wptClipSignDlg.cpp (clip_sign_dlg_proc): Replace for with while
4629            because it's shorter.
4630          * wptKeyserver.c: Replaced all strdup's with m_strdup and free          * wptFileSignDlg.cpp (file_sign_dlg_proc): Use keylist instead of
4631          with free_if_alloc.          the default keyid.
4632          (ldap_recvkey): Fill with life. We use the GPG plugin to avoid          * wptFileManager.cpp (fm_sign): Remove the default key ID code. Now
4633          all the LDAP overhead.          we use the signer from the keylist.
4634            * wptGPGME.cpp (get_default_keyid): Revamp most of the code and fix
4635  2002-12-14  Timo Schulz  <[email protected]>          some silly bugs.
4636            * WinPT.cpp (WinMain): if there is no valid keyring after the new
4637          * wptKeyManager.cpp (km_check_for_seckey): Ultimate doesn't mean          preferences, start the key generation dialog.
4638          any longer there is also a secret key.  
4639          (km_check_photo): New.  2001-10-22      Timo Schulz <[email protected]>
4640          (km_complete_status_bar): New.  
4641          * wptFileManager.cpp (fm_verify): Support for bad signatures.          Remove all MyGPGME code from the main project. Now we use the
4642          Set the sigmode if not set.          libmygpgme.dll to provide all cryptographic functions and interfaces.
4643          * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Output a warning when  
4644          the ownertrust of a non-valid (not signed) key is changed.          * wptKeylist.cpp (key_array_new): New.
4645          * wptRegistry.cpp (expand_path): New. Use this code because it's          (key_array_release): New.
4646          much shorter.          (key_array_search): New.
4647            * wptKeylist.cpp (keylist_add_to_recipients): Check if an untrusted key was
4648  2002-12-18  Timo Schulz  <[email protected]>          already checked and don't bother the user if all userid's were selected.
4649            * wptPassphraseCB.cpp (passphrase_cb_init): Now void.
4650          * wptGPG.cpp (get_gnupg_optfile): Support for gpg.conf instead          (passphrase_cb_gpgme): Ditto.
4651          of the old name "options".          (passphrase_callback_proc): Support for a list of recipients.
4652          * WinPT.cpp (WinMain): Try to repair broken home directories          * wptImportList.cpp (implist_add_key): Support for secret keys.
4653          in the registry. Thanks to Gustavo who reminded me of it.  
4654          * wptKeyserver.cpp (check_hkp_response): Only copy the text  2001-10-19  Timo Schulz <[email protected]>
4655          between <p> and </p> when possible.  
4656          * wptAgent.cpp: Re-activated the old code. Now the passphrase      * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Support for various
4657          timer can be used.      option files.
4658        * wptMainProc.cpp (wpt_main_proc): Remove the preferences menu and
4659  2002-12-21  Timo Schulz  <[email protected]>      use a popup menu.
4660        * wptExtensions.cpp (gpgoe_load_plugin): New. Try to load the GPGOE
4661          * Fixed some language mistakes.      plug-in.
4662          * wptMainproc.cpp: Use the desktop window as the parent window      (gpgoe_unload_plugin): New.
4663          for the main dialogs so they are visible in the taskbar.  
4664          * wptKeyManagerDlg.cpp: Enable minimize.  2001-10-17  Timo Schulz <[email protected]>
4665          * wptFileManager.cpp (fm_parse_command_line): Support for detached  
4666          signatures.      * wptCurrWnd.cpp (get_window_contents): Only minimize the window
4667          (fm_encrypt_directory): New.      when the clipboard contains text.
4668          * wptKeylist.cpp (keylist_add_key): Check the current key if it      * wptKeylist.cpp (keylist_add_key): Check only for invalid keys
4669          is not expired, not the primary (idx=0).      in the mainloop. The other flags are checked in the various cases.
4670        (add_key): Use the ** foo ** notation for invalid flags instead of
4671  2002-12-23  Timo Schulz  <[email protected]>      skipping the key.
4672        * wptKeyMiscDlg.cpp (clip_export): Check for revoked keys and print
4673          * wptRegistry.cpp (regist_inst_winpt): Try to create \Keyserver      out a warning.
4674          directory if does not exist.      Change all error messages to one header.
4675          * wptKeyserver.cpp: Simpliefied config file.      (check_key_status): Check if the key is valid in the sense of
4676          (kserver_change_proxy): Write config to the registry. Remove      revocation and expire dates. If not, print out a warning.
4677          code for the config file.      (keymisc_dlg_proc): Use the new code.
4678          * wptProxySettingsDlg.cpp (read_proxy): More robust code.  
4679          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Removed the feature  2001-10-16  Timo Schulz <[email protected]>
4680          to send keys. The Key Manager is better for this.  
4681        * wptW32API.cpp (check_date): New.
4682        (get_open_filename): New.
4683  2003-01-07  Timo Schulz  <[email protected]>      * wptDlgs.cpp (init_dtp): New. Initialize a special common control.
4684        * wptKeygenDlg.cpp (keygen_dlg_proc): Add support for exipre dates.
4685          * wptKeyManagerDlg.cpp (do_center_window): New. Try to set the window  
4686          pos from the coordinates from the registry.  2001-10-15  Timo Schulz <[email protected]>
4687          (keymanager_dlg_proc): Store the window pos in the registry.  
4688          * wptKeyRevokeDlg.cpp (key_revoke_dlg): Check box for PGP compatible certs.      * wptFileManager.cpp (fm_wipe): New.
4689          * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Print out a hint when      (fm_set_status): Add temporary wipe status and handle default values.
4690          a revcert was found.      (fm_parse_files): Use fm_wipe instead of sunlink. Delete all wiped
4691          * wptKeyserverDlg.cpp (hkp_recv_key): Print an error if the LDAP import does      files with a successful opeation.
4692          not succeed.      * wptKeygenCbDlg.cpp (keygen_cb_dlg_proc): New. Static dialog procedure.
4693          (keyserver_dlg_proc): Corrected some listview index values.      (keygen_cb_thread): New. Static dialog thread.
4694          * wptKeylist.cpp (keylist_add_key): Use primary user-id when possible.      (keygen_cb_dlg_create): New. Interface.
4695        (keygen_cb_dlg_destroy): New. Destroy the dialog.
4696  2003-01-08  Timo Schulz   <[email protected]>      (keygen_cb): GPGME interface.
4697    
4698          * wptKeyEditAddUidDlg.cpp (keyedit_adduid_dlg_proc): Output a warning  2001-10-13  Timo Schulz <[email protected]>
4699          if the user tries to add the email address in the name field.  
4700          * wptKeyserver.cpp: Add support for protocols.      Set all ListviewControls to 'NULL' in all dialogs to be more crash
4701          (finger_readline): New.      resistent.
4702          (finger_recvkey): New.  
4703          * wptKeyUidDlg.cpp (keyuid_dlg_proc): Add a warning icon to the revoke      * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): Rebuild interface.
4704          message box to show it's a serious decision.      * wptFileExportDlg.cpp (file_export_dlg_proc): Ditto.
4705          * wptPasswdDlg.cpp (passwd_dlg_proc): Center dialog window.      * wptFileImportDlg.cpp (file_import_dlg_proc): Ditto.
4706          * wptRegistry.cpp (regist_single_filetype): Now internal and we use      * wptFileSignDlg.cpp (file_sign_dlg_proc): Ditto.
4707          an easier way to get the location of the binary.      * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Ditto.
4708          (regist_inst_winpt): Implemented the 'with_ext' part and add a registry      * wptStringUtil.cpp: Removed.
4709          entry to avoid double file registering.      * wptFileManager.cpp: Rewrote the complete interface code for
4710        the file manager.
4711  2003-01-19  Timo Schulz  <[email protected]>      * wptFileManagerDlg.cpp: Rewrote the whole file manager dialog.
4712    
4713          * winpt.cpp (WinMain): Fixed spelling mistake. Closes #669321.  2001-10-10      Timo Schulz <[email protected]>
4714          * wptKeyManagerDlg.cpp (do_resize_window): New.  
4715          (do_create_minpopup): New. Closes #669730.          * wptGPG.cpp (set_gpg_default_key): Use spaces if the entry in the
4716          * wptVerifyList.cpp (get_sig_date): Renamed to...          file is longer then the keyid.
4717          (longdate_to_strdate): New. Changed all callers.          (get_gpg_default_key): Replaced get_gpg_default_keyid. Check if the
4718          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): If the ciphertext contains          entry is an userid.
4719          a signature, also display the time of it. Closes #669780.          * wptFileManager.cpp (fm_check_for_entry): New. Avoid to add a file
4720          * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localize 2 strings.          more then one time.
4721          * wptEditKeyOwnertrust.cpp (keyedit_ownertrust_dlg_proc): Fixed a typo.          (fm_add_dropped_files): Use it here.
4722          * wptKeySignDlg.cpp (do_add_local_user): New. Now the dialog has the ability      * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support for common
4723          to choose the signer.      keys.
4724          (keysign_dlg_proc): Implemented a feature request. See above.  
4725    2001-10-09  Timo Schulz <[email protected]>
4726  2002-01-21  Timo Schulz  <[email protected]>  
4727        * wptFileManagerDlg.cpp (file_manager_dlg_proc): Check the return
4728          * wptSymEnc.cpp (gpgme_encrypt_symmetric): Ask the passphrase twice to      code of sunlink.
4729          avoid typing mistakes.      * wptGPG.cpp (get_keyring_from_optfile): New.
4730        Renamed gpg_errstr to gpg_strerror.
4731  2002-01-25  Timo Schulz  <[email protected]>      (set_default_key): New.
4732        * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Support for default key setting.
4733          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Support to copy the key id      
4734          and the fingerprint to the clipboard. Closes #674455.  2001-10-08  Timo Schulz <[email protected]>
4735          Automatically reload the keycache when a command is chosen and the cache  
4736          state is set to 'reload requested'. Closes #671218.      * wptKeyserver (kserver_connect): If the proxy settings are valid,
4737          * wptKeySignDlg.cpp (do_fill_seckeylist): Make sure the public key parts      use the proxy port instead of the HKP port.
4738          are not invalid.      (kserver_recvkey): Proxy support.
4739          * WinPT.cpp (check_permissions): Make sure we have the permission to      (kserver_search_init): Ditto.
4740          write the keyring. Stop if not because it's expected at many other places.  
4741          * wptSigList.cpp (siglist_add_key): Indent signatures under the root entry.  2001-10-06  Timo Schulz <[email protected]>
4742          (siglist_build): Use a placeholder sig to avoid the position chaos.  
4743          * wptKeyUidDlg.cpp: Unified text for 'user-ID'.      * wptPassphraseCB.cpp (parse_gpg_description): Fixed a memory leak.
4744          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): If a key is not found,  
4745          display more information and use a GPG like output.  2001-10-05  Timo Schulz <[email protected]>
4746          * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Force trust if there is  
4747          an invalid key in the list of recipients. Closes #674965.      * wptKeylist.cpp: (addkey): Check if the used userID is not revoked.
4748        In the case it is, use the first userID.
4749        * wptKeySubkeyDlg.cpp (key_subkey_dlg_proc): Change the listbox.
4750  2002-02-01  Timo Schulz  <[email protected]>      Remove the Pos column and add a status column instead.
4751        Add expire stuff for subkeys.
4752          * wptKeyserver.cpp (kserver_search): Fix <KEYID bug.      (init_dtp): Initialize the common control.
4753        * wptClipEditDlg.cpp (clip_edit_dlg_proc): New code to load a file
4754  2002-02-08  Timo Schulz  <[email protected]>      into the clipboard.
4755        * wptKeyPropsDlg.cpp (ot_id_to_string): New. Returns a long description
4756          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Only export      of the ownertrust value.
4757          the secret key when a file was chosen.      (keyprops_dlg_proc): Fixed ownertrust handling.
4758    
4759  2002-03-01  Timo Schulz  <[email protected]>  2001-10-04  Timo Schulz <[email protected]>
4760    
4761          * wptFileManager.cpp (fm_check_file_type): Fix bug in the detection      * wptPassphraseCB.cpp (parse_gpg_describtion): Free buffer.
4762          logic. Now we can decrypt symmetrically encrypted files again.      * wptKeyserver.cpp (kserver_search_init): Set buffer to NULL.
4763          Be stricter on memory alloaction checks.      Both were pointed out my Timo (not me ;-)).
4764          (fm_get_file_type): Be more strict with the return code of      * wptKeylist.cpp (add_key): Fix a typo and now the code is more
4765          parse_packet. This avoids bogus file types for MS-Word files and      strict with returned attributes.
4766          other non-PGP data.      * wptKeysignDlg.cpp (keysign_dlg_proc): Modify GPGME interface
4767          (fm_wipe): Use the wipe mode from the registry and not a fixed value.      for local signatures.
4768          * WptRegistry.cpp (set_reg_winpt_prefs): Support wipe mode.  
4769          (get_reg_winpt_prefs): Likewise.  2001-09-28  Timo Schulz <[email protected]>
4770          * wptFilePrefsDlg.cpp: Removed. We don't use it any longer.  
4771          * wptDlgs.h: Corrected all dialog protypes to BOOL.      * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): WM_NOTIFY to handle
4772          LRESULT was not correct.      the double click messages.
4773        * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.
4774  2002-03-08  Timo Schulz  <[email protected]>      * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
4775        * wptFileManager.cpp (overwrite_file): Check if the file exists and
4776          * wptFileManager.cpp (fm_parse_command_line): Ignore lines with '--'      then let the user decide.
4777          because they are options rather than files.      (fm_encrypt): Use the code here.
4778          * WinPT.cpp (WinMain): Allow to start the key manager directly      (fm_sign): And here.
4779          via --keymanager.      (fm_sym_encrypt): And here. Now we use the passphrase dialog.
4780          * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): New.      (fm_decrypt): And here.
4781          (wipe_cb): New. Wipe callback function.      * wptFile.cpp (unlink_file): Removed. We can use sunlink if we need
4782          (fill_drive_combobox): New. Fill in all logical drives into      a secure wipe.
4783          the given combo box.  
4784          (wipe_thread): New. Worker thread.      Make the memory checking more strict.
4785          (update_disc_stats): New. Set the disc statistics for the  
4786          given drive entry.  2001-09-27  Timo Schulz <[email protected]>
4787          (space_wipefrees_dlg_proc): New.  
4788        * wptMainProc.cpp (wpt_main_proc): Fixed typo. Thanks to Andy who
4789  2002-03-09  Timo Schulz  <[email protected]>      discovered this.
4790        * wptPasswdDlg.cpp (passwd_dlg_proc): New. Handy dialog to get the
4791          * 64-bit support for wipe operations.      passphrase.
4792        * wptEditKeyDlg.cpp: Removed. The edit-key code is now moved to
4793  2002-03-16  Timo Schulz  <[email protected]>      the various other dialogs to make the use more easier.
4794        * wptKeyUIDDlg.cpp: (keyuid_dlg_proc): ADDUID code, use it here.
4795          * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Encode the      * wptSubkeyDlg.cpp: (subkey_dlg_proc): ADDKEY code. Ditto.
4796          optional text in UTF-8 to avoid charset problems.  
4797          * wptKeyManager.cpp (km_quote_uid): Use dynamic memory instead  
4798          of a static buffer. Changed all callers.  2001-09-26  Timo Schulz <[email protected]>
4799          * wptKeylist.cpp (keylist_cmp_cb): Implemented sort functions  
4800          for the rest of the columns.      * wptW32API.cpp (listbox_add_string): New. Shortcut to avoid long casts.
4801          (keylist_handle_column_click): New.      (listbox_get_cursel): Ditto.
4802          * wptKeyEditOwnertrustdlg.cpp (keyedit_ownertrust_dlg_proc):  
4803          Removed the 'Advanced' button because it only confuses users  
4804          and it is not often used.  2001-09-23  Timo Schulz <[email protected]>
4805          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Support to ex-  
4806          and import the trustdb values (ownertrust).      * wptSubkeyDlg.cpp (key_subkey_dlg_proc): New. Lists the subkeys.
4807          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Ability to      The same as the userid dialog.
4808          sort columns.      * wptWndSwitchDlg.cpp: Removed.
4809        * wptWipeExt.cpp: Removed. Code is now included.
4810  2003-03-18  Timo Schulz  <[email protected]>      * wptGPGME.cpp (get_default_keyid): If the keyid from the options
4811        file is in the keycache.
4812          * wptKeyImportStatDlg.cpp (import_status_dlg_proc): Fix index      * wptKeylist.cpp (keylist_reload): New. Reload a keylist.
4813          of revocation from 9 to 8.  
4814          Set the text that no key was updated only if no new sig, subkey,  2001-09-17  Timo Schulz <[email protected]>
4815          userid and no public were added.  
4816          Add more information: new {subkeys, signatures, userid}.      * wptClipboard.cpp (clip_isalready_secured): Fixed two silly bugs
4817          * wptKeyManager.cpp (km_delete_keys): Fixme lame, '=' instead of '==' bug.      who prevent the correct return value in the case of an clipboard error.
4818          * wptDlgs.cpp: Removed.      (clip_parse_pgp_id): New. Returns the PGP message type.
4819          * wptDlgs.h: (dlg_fatal_error): New. Macro.      * wptHotkey.cpp (hotkeys_strerror): Fixed bug in the indexes.
4820        (hotkey_single_register): Return correct error value.
4821  2003-03-19  Timo Schulz  <[email protected]>      (hotkey_single_unregister): Ditto.
4822        * wptW32API.cpp (get_thread_id): Removed.
4823          * wptMainProc.cpp (winpt_main_proc): Put the init_dtp code here.      (attach_thread_input): Ditto.
4824          * wptPassphraseCB.cpp (hide_typing): Removed. Use short code directly      (detach_thread_input): Ditto.
4825          in the code.      * wptCurrWnd.cpp (get_window_contents): Store main and focused window
4826          * wptPasswdDlg.cpp: Likewise.      for later use.
4827          (passphrase_cb_init): Declare as static.      (set_window_contents): Use the new code.
4828          (passphrase_cb_gpgme): Modified to use the static function and rename  
4829          it to...  2001-09-16  Timo Schulz <[email protected]>
4830          (passphrase_gpgme_set_cb): ..this. New.  
4831          * wptSecListDlg.cpp: Complete new appraoch. Now we use CB_SETITEMDATA      * wptExtensions.h: New. This file is now used for the extenion
4832          and friends to assign data to each item.      declarations.
4833          Move dialog code to...      * wptExtensions.new: (register_extensions): New. Enumerate and
4834          * wptClipSignEncDlg.cpp: ..here.      load all possible extensions.
4835          * MyGPGME/keycache.c: We first look for directly key signatures and      (unregister_extentions): New. Release all loaded extensions.
4836          then we skip all other signatures if we've already seen the key. This      * wptKeyserver.cpp (kserver_load_conf): Added support for different
4837          is needed to gather the designated revoker keys.      keyservers. Currently only HTTP/LDAP.
4838        * wptKeyserverDlg.cpp (keyserver_dlg_proc): Added LDAP support.
4839  2003-03-20  Timo Schulz  <[email protected]>      (hkp_recv_key): Ditto.
4840        * wptMailPlugin.cpp (oe_set_focus): Fixed silly bug that prevents
4841          * wptFindWnd.cpp: Removed.      to set the focus.
4842          * wptW32API.c (dialog_box_param): Use FindWindowEx() instead of      * (oe_check_recipient): New. Checks if the key is able to encrypt
4843          find_window.      and valid in the sense of revocation.
4844          * Whenever it's possible, use case insentensive searches to avoid  
4845          problems.  2001-09-14  Timo Schulz <[email protected]>
4846    
4847  2003-04-09  Timo Schulz  <[email protected]>      * wptWAB.cpp: (wab_read): New. Interface to read all address book
4848        entries.
4849          * wptFirstRunDlg.cpp (first_run_dlg_proc): Mark selection as      (wab_open): New. Internal function to load the WAB.
4850          invalid for cancel.      (wab_release): New. Release the WAB contexts.
4851        (wab_load): New. Load the contents of the WAB into a linked list.
4852  2003-04-12  Timo Schulz  <[email protected]>      (addr_list_new): New. Linked address list.
4853        (addr_list_add): New.
4854          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Use the new      (addr_list_release): New.
4855          GPGME code.  
4856          * wptVerifyList.cpp (verlist_add_sig_log): Likewise.  2001-09-13  Timo Schulz <[email protected]>
4857          * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Likewise.  
4858          * wptFileManager.cpp (fm_decrypt): Likewise.      * Revamped the whole plugin code for OE5.
4859          * WinPT.cpp (check_default_key): Check if the keys in gpg.conf      * wptMailPlugin.cpp (oe_plugin_new): New. Allocates new structure.
4860          are valid and in the keyring.      (oe_plugin_releae): New.
4861          * wptKeySignDlg.cpp (do_check_protection): Disable the passphrase      (oe_plugin_init): New. Searches for the OE main window and select
4862          item if the key is not protected.      all the recipients from the fields.
4863        (oe_get_msg): This code now uses the menu command id's to
4864        execute the commands.
4865  2003-04-13  Timo Schulz  <[email protected]>      (oe_set_msg): Ditto.
4866        (oe_encrypt): Changed for the new code.
4867          * wptSubkeyDlgProc.cpp (key_subkey_dlg_proc): Use a callback      * wptMainProc.cpp (wpt_main_proc): Re-activate the code.
4868          context.      * wptHotkeys.cpp: Ditto.
4869          * wptUidDlgProc.cpp (keyuid_dlg_proc): Likewise.      * Removed the hook project.
4870          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Set the protect  
4871          flag inside the KEY contect if needed.  2001-09-12  Timo Schulz <[email protected]>
4872          * wptKeySubkeyDlg.cpp (key_subkey_dlg_proc): Only ask for a  
4873          passphrase if the protect flag is set.      * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Fixed a format error.
4874          Display the callback dialog to show the progress.      Thanks to Rich who pointed this out.
4875          Implemented the "revkey" feature.  
4876          * wptKeyUidDlg.cpp (key_uid_dlg_proc): Likewise.  2001-09-07  Timo Schulz <[email protected]>
4877          (do_add_new_userid): New. Add an entry to the list box  
4878          after the GPG process finished.      * wptFileManagerDlg.cpp (file_manager_dlg_proc): Fix memory leaks.
4879          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Initialize sig  
4880          to zero to avoid segfaults.  2001-09-05  Timo Schulz <[email protected]>
4881    
4882  2003-04-15  Timo Schulz  <[email protected]>      * wptKeyMiscDlg.cpp (clip_export): New. Handy function to export keys.
4883        (clip_import): New. Handy function to import keys.
4884          * wptClipImportDlg.cpp (data_cb_dlg_proc): New.      * wptKeygenDlg.cpp (keygen_dlg_proc): Added a warning when the passphrase
4885          (data_cb_thread): New.      is too short.
4886          (data_cb_dlg_create): New.  
4887          (data_cb_dlg_destroy): New.  2001-09-04  Timo Schulz <[email protected]>
4888          (data_cb_new): New.  
4889          (clip_import_dlg_proc): Use a callback dialog to      * Rewrote most parts of the keymanager.
4890          show the user the data decoding procedure is in      * Ditto for the filemanager.
4891          progress. This dialog is destroyed in the key  
4892          import statistics dialog.  2001-09-01  Timo Schulz <[email protected]>
4893    
4894        * wptMainProc.cpp (wpt_main_proc): Remove the im- and export operations.
4895  2003-04-20  Timo Schulz <[email protected]>      These code is now part of the key manager.
4896        * wptKeyPropsDlg.cpp (key_props_dlg): Removed the get_key_xxx functions.
4897          * wptFindWnd.h: Removed. We don't use it any longer.      * wptKeylist.cpp (get_key_algo): New.
4898          * wptGPG.h: Merged GPGERR_xxx constants with WPTERR_xxx.      (get_key_created): New.
4899          (gpg_strerror): Removed. Now it is handled in winpt_strerror.      (get_key_type): New.
4900          * wptFileManager.cpp (fm_get_file_name): move this to      (get_key_size): New.
4901          * wptVerifyList.cpp (get_file_name): ..this place and declare      (get_key_fpr): New.
4902          it as static because no other file need this function.      * wptClipExportDlg.cpp (clip_export_dlg_proc): Removed. This is now
4903        a part of the keymanager.
4904  2003-04-20  Timo Schulz  <[email protected]>  
4905    2001-08-31  Timo Schulz <[email protected]>
4906          * wptClipboard.cpp: Removed. All these functions and constants  
4907          are now available in MyGPGME/clip.c and thus part of GPGME.      * wptFileManager.cpp (fm_add_opened_files): New. Use a standard
4908          * wptKeylist.cpp (keylist_add_to_recipients): Renamed to...      file open dialog instead of drag & drop.
4909          (keylist_get_recipients): this. Return the context instead of      * wptHotkeys.cpp (hotkey_strerror): More detailed information which
4910          an argument.      hotkey couldn't set up.
4911          (get_key_size): Add key index.      (hotkey_register_single): Ditto.
4912          (get_key_algo): Likewise.  
4913          (keylist_build): Use a special mode when signing is used.  2001-08-30  Timo Schulz <[email protected]>
4914          (keylist_enum_recipients): Return a malloced pointer to the  
4915          recipients.      * wptFilemanager.cpp (fm_encrypt): Add minor changes.
4916          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Add primary fingerprint       (fm_decrypt): Ditto.
4917          when we have a signature result and we do not trust the key.       (fm_sign): Ditto.
4918         (fm_verify): Make the code more modular.
4919  2003-04-23  Timo Schulz  <[email protected]>       (fm_add_sig_stat): New. For new fm_verify code.
4920    
4921          * wptKeyPropsDlg.cpp (ownertrust_to_string): Moved the function  2001-08-28  Timo Schulz <[email protected]>
4922          from GPGME#gpgme_ownertrust_to_string into WinPT.  
4923        * wptKeylist.cpp (strlist_add_recipients): Fixed the listview handling.
4924  2003-04-24  Timo Schulz  <[email protected]>      * wptKeyserver.cpp (kserver_load_conf): Proxy support
4925        (kserver_connect): Ditto.
4926          * wptKeyEditAddSubKeyDlg.cpp (keyedit_addsubkey_dlg_proc): Init  
4927          default values to make it easier for newbies.  2001-08-26  Timo Schulz <[email protected]>
4928          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use a better error  
4929          when no secret key was found. Also mention the public key algo.      * wptFileManager.cpp (fm_entry_new): New.
4930          * wptFileManager.cpp (fm_decrypt): Likewise.      (fm_entry_release): New.
4931        (fm_state_new): New.
4932  2003-04-25  Timo Schulz  <[email protected]>      (fm_state_release). New.
4933        (fm_get_current_file): New.
4934          * wptVerList.cpp (verlist_build): Change the name of some columns.      * wptKeylist.cpp (strlist_add_recipients): New.
4935          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Instead of just the  
4936          notation (if present!) present the user a general message box  2001-08-25  Timo Schulz <[email protected]>
4937          with extended signature information. This means the notation  
4938          data and a possible policy URL.      * wptStringUtil.cpp (strlist_new): New. Linked list to hold strings.
4939        (strlist_release): New. Release the linked list.
4940        (strlist_add): New.
4941  2003-04-26  Timo Schulz  <[email protected]>  
4942    2001-08-21  Timo Schulz <[email protected]>
4943          * wptParser.cpp: A lot of structural changes. Always add items  
4944          at the end of the list so we don't need to make a copy of the list      * wptGPG.cpp (get_gpg_default_keyid): Modify the code and now it
4945          to restore the original order. Fix the group problem.      also supports "encrypt-to" entries as default keys.
4946          * wptKeylist.cpp (keylist_build): Use OR to get the flags and      * wptWipeExt.cpp (wipe_init_ext): New. Load the DLL to provide
4947          not ==.      secure wiping.
4948          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): The export command      (wipe_deinit_ext): New. Unload the DLL and free all pointer.
4949          (file) does not use the keyid as the file name when more than one      (wipe_loaded_ext): New. Checks wether the DLL was loaded.
4950          keys were selected.      * wptW32API.cpp (set_menu_state): New.
4951          Allow allow to set default keys which are not revoked or expired.  
4952          * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): Allow to sort  2001-08-20  Timo Schulz <[email protected]>
4953          the columns.  
4954          Set the force trust flag in GPGME if there are some recipients      * wptGPG.cpp (create_gpg_options): Fixed nul byte bug. Thanks to Thomas.
4955          with no validity.      * wptPreferencesDlg.cpp (prefs_dlg_proc): Fixed the code to disable
4956        the hotkeys. Automatically enable or disable the hotkey field depend
4957  2003-04-27  Timo Schulz  <[email protected]>      on the switch.
4958    
4959          * wptKeysigDlg.cpp (keysig_dlg_proc): A double click now allows  2001-08-17  Timo Schulz <[email protected]>
4960          to show the properties of the signers keys.  
4961          * wptKeyEditAddRevokerDlg.cpp (keyedit_addrevocer_dlg_proc): New.      * wptClipSignDlg.cpp (clip_sign_dlg_proc): Choose key if there is only
4962        one by default.
4963  2003-04-30  Timo Schulz  <[email protected]>      * wptKeyList.cpp (keylist_add_to_recipients): Ditto.
4964        * wptGPG.cpp (gpg_check_homedir): Creates the GPGME specific gpgProgram
4965          * wptKeyManagerdlg.cpp (keymanager_dlg_proc): Support for the      entry in the registry in the case it's missing (whenever it's possible!).
4966          next context menu ("Add"). Make sure the entries are disabled      (check_gpg_path): Rewrite parts of the code.
4967          when the key has no secret key.  
4968          * wptKeyEditAddPhotoDlg.cpp (keyedit_addphoto_dlg_proc): New.  2001-08-11  Timo Schulz <[email protected]>
4969          * wptFileManager.cpp (fm_decrypt): Set sig to NULL so it won't  
4970          cause a segfault when the pointer free tries to deallocate the      * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Beautify the dialog and
4971          pointer.      separate the fingerprint from the othr information.
4972        * wptGPG.cpp (check_opt_keyring): New. Do a sanity check if the
4973  2003-05-02  Timo Schulz  <[email protected]>      file, specified in the options line, does exist.
4974    
4975          * wptW32API.cpp (set_foreground_wnd): Removed. Changed all callers.  2001-08-08  Timo Schulz <[email protected]>
4976    
4977  2003-05-03  Timo Schulz  <[email protected]>      * wptGPG.cpp (check_gpg_path): Sanity check for size of the options file.
4978        Support for more configurations.
4979          * wptParser.cpp: Renamed to...      * wptFileSignDlg.cpp (file_sign_dlg_proc): Fixed error in signature mode.
4980          * wptGPGParser.cpp: this.      Add all strings to the translation suite.
4981          (release_option): Renamed to...      * Updated all NLS dialog strings.
4982          (release_gpg_options): this.      * wptRFC2440.cpp (get_pkttype): Fixed error to check the CTB.
4983          (commit_option): Renamed to...      * wptFileManager.cpp (fm_decrypt): Support to decrypt armored file,
4984          (commit_gpg_options): this.      with a dynamic callback for the passphrase.
4985          (parse_option): Renamed to...  
4986          (parse_gpg_options): this.  2001-08-06  Timo Schulz <[email protected]>
4987          * wptGPG.cpp: Use new parser function names.  
4988          (set_gnupg_default_key): Free memory.      * wptFilemanager.cpp (fm_sign): Set the keyid length to 16.
4989          * wptKeylist.cpp (keylist_add_groups): New group code.  
4990          * wptGroups.{c,h}: Removed. Now we use the GPG group command.  2001-08-05  Timo Schulz <[email protected]>
4991          * wptKeySigListDlg.cpp (keysig_dlg_proc): Change column from  
4992          2 to 4.      * wptKeylist.cpp (keylist_add_key): Change the schematics to support
4993          (recv_missing_keys): Likewise. Now it is possible to retrieve      all keyids.
4994          missing keys. Thanks to Klaus.      * wptSigList.cpp (siglist_build): New. Interface code to load the
4995          * wptKeyserverDlg.cpp (hkp_recv_key): Use a dymanic buffer rather      signature list.
4996          than a static buffer to avoid garbled keys. There are some very      * wptKeysigDlg.cpp (keysig_dlg_proc): Uses siglist_build.
4997          large keys and these cause some trouble with a 16k buffer.  
4998          (keyserver_dlg_proc): Localized some strings.  2001-08-03  Timo Schulz <[email protected]>
4999          * wptKeyserverSearchDlg.cpp (hkpsearch_dlg_proc): Use new column  
5000          names which are equal to the names we use in the Key Manager.      * wptMainProc.cpp (wpt_main_proc): The GPG menu was removed, now
5001          * wptKeySignDlg.cpp (keysign_dlg_proc): Fix a silly '=' but      we support this code in the key manager.
5002          should be "==" bug.      * wptKeyMisc.cpp (key_misc_dlg_proc): Supports new GPG commands.
5003          * wptKeygenDlg.cpp (mbox): Removed. Too much overhead.      * wptKeyserver.cpp (kserver_index_request), (kserver_recv_request):
5004          * Add --expert option for the GPG procedure call if needed.      Removed. The code moved into the main functions.
5005        (kserver_send), (kserver_recv): Ditto.
5006  2003-05-04  Timo Schulz  <[email protected]>      (sock_write): Improved code.
5007        (sock_read): Ditto and some additional timeout.
5008          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If invalid recipients      (sock_select): New. Figure out the socket state.
5009          were found, output a more precise error message. Now the GPGME code      (kserver_search_init): New. Make connection to the server.
5010          first tests for special cases and if no one hit the nail on the head,      * wptHKPSearchDlg.cpp (hkp_search_dlg_proc): Now it uses the new
5011          a general error is used.      keyserver code.
5012        * wptFile.cpp (get_keyid_from_file): Add support for the PGP marker
5013  2003-05-06  Timo Schulz  <[email protected]>      packet. Thanks to Alan.
5014        (check_for_symenc_data): Ditto.
5015          * wptKeySigDlg.cpp (keysig_dlg_proc): Disable the button when all keys      * wptFileManager.cpp (fm_get_file_type): Ditto.
5016          are available. Removed old [unused] code.      (fm_decrypt): Move the keycache in the if loop and fix the keycache
5017          Make sure we really have the key in the cache.      type.
5018    
5019  2003-05-07  Timo Schulz  <[email protected]>  2001-08-02  Timo Schulz <[email protected]>
5020    
5021          * Clean up the outer GPGME interface. Internal functions should be      * wptGPG.cpp (check_gpg_path): Check the size of both keyrings too.
5022          invisible in gpgme.h.      Useful in the case the file was generated but it's empty.
5023          Merge the photo-id, formerly attribute id stuff with gpgme_key_get_xxx_attr.      * wptKeyEditDlg.cpp (key_edit_dlg_proc): Fixed some typos.
5024          * wptKeyserver.cpp: Some cleanups.  
5025          (finger_recvkey): Skip URL postfix if there.  
5026    2001-08-01  Timo Schulz <[email protected]>
5027  2003-05-08  Timo Schulz  <[email protected]>  
5028        * wptKeyserver.cpp (kserver_urlencode): Create a HTTP compatible
5029          * wptMainProc.cpp (winpt_main_proc): Symmetric encryption for the current      request for uploading a key.
5030          window mode.      (kserver_send_request): Use the urlencode to send the key.
5031          (currwnd_gpg_dlg): Likewise.      (sock_read): New. Improved read function to replace recv.
5032          * wptCurrWnd.cpp (wnd_msg_em_set_pos): Fix an off-by-one bug.      (sock_write): New. Improved write function to replace send.
5033          * WinPT.cpp (WinMain): If the default key was not found, show the string      * wptFileManager.cpp (fm_get_file_type): If the data is armored,
5034          in the error message to make it easier for the user to fix the problem.      call fm_check_armor_type().
5035          * wptImportStatusDlg.cpp (import_status_dlg_proc): Take care of secret      (fm_check_armor_type): New. Figure out the armor type of the data.
5036          keys.      * wptKeyMisc.cpp (key_misc_dlg_proc): Use a menu instead of the
5037          * wptfileManager.cpp (fm_get_file_type): Fix packet type detection error.      buttons. Optimized the code.
5038          This makes the priority of the rc2 update more urgent.  
5039    2001-07-30  Timo Schulz <[email protected]>
5040  2003-05-09  Timo Schulz  <[email protected]>  
5041        * wptClipSignDlg.cpp (clip_sign_dlg_proc): Added the interface code
5042          * wptMDSumDlg.cpp (mdsum_dlg_proc): New.      for the agent.
5043          * wptFileManager.cpp (fm_print_md): New.      * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
5044          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support for the Print MD  
5045          command.  2001-07-29  Timo Schulz <[email protected]>
5046    
5047  2003-05-13  Timo Schulz  <[email protected]>      * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): New. Dialog for creating
5048        a key revocation certificate. Add a hint to show how sentensive this
5049          * wptKeyList.cpp (keylist_add_key): Add 'DISABLED' flag for keys.      data is.
5050          (key_check_validity): Moved from GPGME to this file.      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Added the code to handle the
5051          * wptKeyManager.cpp (km_get_key_status): New.      revocation.
5052        * wptAgent.cpp: Source for the server interface removed.
5053  2003-05-14  Timo Schulz  <[email protected]>      (agent_is_avail): New. Checks if the agent is available.
5054        * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Added the interface code
5055          * wptKeyManager.cpp (km_enable_disable_key): New.      for the agent.
5056    
5057  2003-05-17  Timo Schulz  <[email protected]>  2001-07-26  Timo Schulz <[email protected]>
5058    
5059          * wptFileManager.cpp: Moved gpgme_file_get_extension to this file      * wptGPG.cpp (check_gpg_keyring): New. Check if a gpg keyring
5060          and renamed it to...      exists. Useful if the keyring was moved during some commands.
5061          (file_get_extension): this. gpgme_control now also returns the      * wptMainProc.cpp (wpt_main_proc): Use the new code. Thanks to
5062          (get_file_name): Corrected the calculation of the basename.      Rich to discover this.
5063          state of the command if you use -1 as the value.  
5064          * wptImportList.cpp (implist_load): Make sure we really have the key ID.  2001-07-25  Timo Schulz <[email protected]>
5065          * wptClipEditDlg.cpp (clip_edit_dlg_proc): Some small changes all over  
5066          the place.      * WinPT.cpp (WinMain): Add a sanity check for the keycache to detect
5067        serious GPG errors.
5068  2003-05-19  Timo Schulz  <[email protected]>      * wptFileManager.cpp (fm_sym_encrypt): New. Symmetric encryption.
5069        Suggested by Graham.
5070          * wptPasswdDlg.cpp (create_passwd_dlg): Removed.      (fm_decrypt): Change code to support symmetric decryption.
5071          (request_passphrase): New.      (fm_get_file_type): Fixed some typos.
5072          The passphrase_s context is now internal, all externl function use now  
5073          request_passphrase. Changed all callers.  2001-07-24  Timo Schulz <[email protected]>
5074          * wptKeygenDlg.cpp (keygen_dlg_proc): Reworded the passphrase  
5075          warning and a check for the comment field was added.      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Get new cache context after
5076          * wptKeyEditDlgs.cpp: New. This file now combines the dialogs which      reloading the keycache. Fixed the memory leaks. Thanks to Andreas.
5077          has shown the subkeys and the userids.      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Better GPGME callback to inform
5078          * wptKeySubkeyDlg.cpp: Deleted and stuff merged into wptKeyEditDlgs.cpp.      the user about errors.
5079        * wptKeyTrustPathDlg.cpp (copy_trust_item): New. Copy the GPGME structure
5080  2003-05-20  Timo Schulz  <[email protected]>      in our own context.
5081        (treeview_insert_item): New. Handy function to insert an entry.
5082          * wptKeyPropsDlg.cpp (key_props_dlg_proc): Factor out code to change      (treeview_create_child_item): New. Insert a trustlist node.
5083          the passphrase from here to...      (treeview_add_trustpath): New. Add recursively the whole trust path
5084          * wptKeyEditDlgs.cpp (keyedit_change_passwd): ...this place.      int the tree view.
5085        * wptKeysigDlg.cpp (check_for_missing_keys): New. Checks if the
5086  2003-05-21  Timo Schulz  <[email protected]>      signature list contains entries with a NOKEY status.
5087        (recv_missing_keys): New. Receive all keys with a NOKEY as the signature
5088          * wptSiglist.cpp (siglist_add_key): Only list signatures which are      status.
5089          user-id certificates (0x10-0x13) and ignore key and subkey sigs.      * wptImportList.cpp (implist_load): New. Initialize the listview item
5090          c-strings are now handle correctly and decoded into GPGME.      with an import overview.
5091        * wptClipImportDlg.cpp (clip_import_dlg_proc): Use implist_load instead
5092  2003-05-22  Timo Schulz  <[email protected]>      of the code.
5093        (print_import_status): Summarize the results. We need this because file
5094          * wptMainProc.cpp (winpt_main_proc): Set use_hotkey for current      import needs the same function.
5095          window mode sign+encrypt. This fixes a couple of other problems.      * wptFileImportDlg.cpp (file_import_dlg_proc): New. Interface for the
5096          * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Get new values of the      file manager.
5097          key when the cache was reloaded.      * wptFileManagerDlg.cpp (file_manager_dlg_proc): New code for the key
5098        import from file.
5099        * wptFileManager.cpp (fm_import): New. Ditto.
5100  2003-05-24  Timo Schulz  <[email protected]>      * wptKeyserver.cpp (kserver_connect): Take care for some return values
5101        and set the socket to non blocking mode.
5102          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Subclass the two lists      Moved the Winsock2 init code to wptMainProc.cpp
5103          to allow to use virtual keys (DEL, INS).      * wptMainProc.cpp (wpt_main_proc): Wsock2 code.
5104          Release the uid control context when the dialog will be destroyed.      * wptHKPSearchDlg.cpp (hkpsearch_dlg_prog): Remove Wsock2 init code.
5105    
5106    2001-07-22  Timo Schulz <[email protected]>
5107  2003-05-25  Timo Schulz  <[email protected]>  
5108         * wptKeyPrefsDlg.cpp (keyprefs_dlg_proc): New.
5109          * wptImportList.cpp (implist_add_key): Address charset problem.       (get_key_created): New. Transform ulong timestamp to ascii.
5110          * wptVerifyList.cpp (verlist_add_sig_log): Use UTF8 decoding.       (get_key_algo): New. Returns a formatted algorithm (depend on subkeys).
5111          * wptKeyserver.cpp (set_default_kserver): New.       (get_key_size): New. Returns a formatted size depend (depend on subkeys).
5112          (wsock_init): Call the new function.       * wptSigList.cpp (siglist_add_key): Fix the timestamp.
5113          (kserver_load_conf): If the FP is invalid, skip to read the file.       * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Removed "list sigs" and replace
5114          * WinPT.cpp (WinMain): Call set_default_kserver to make sure the       this with list trust path.
5115          item has a value.       * wptKeySigDlg.cpp (keysig_dlg_proc): Remove the set_check_mode function
5116         because we always check the signatures.
5117  2003-05-28  Timo Schulz  <[email protected]>       * wptKeyTrustPathDlg.cpp (keytrust_dlg_proc): New.
5118        
5119          * wptKeyManager.cpp (km_set_clip_info): New.  2001-07-21  Timo Schulz <[email protected]>
5120          * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use it here.  
5121          * wptImportList.cpp (implist_build): Some column changes for      * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): Set cancel mode in
5122          the listview control.      the case of IDCANCEL.
5123          (implist_load): Return if secret keys were found.      * wptFileSignDlg.cpp (file_sign_dlg_proc): Ditto.
5124          * wptClipImportDlg.cpp (data_cb_dlg_proc): Store if secret keys      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Check if the key is a key pair
5125          were found.      pair and only if activate the passphrase dlg items.
5126          (clip_import_dlg_proc): New message if secret keys were found.      Do sanity checks for all buttons that require key pairs.
5127        * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Support the new code.
5128        
5129  2003-05-31  Timo Schulz  <[email protected]>  2001-07-20  Timo Schulz <[email protected]>
5130    
5131          * wptKeyManager.cpp (km_key_is_v3): Return if the selected      * wptKeyserver.cpp: (kserver_send_request): Correct the octect length
5132          key is an old PGP 2 (v3) key.      of the request.
5133          * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Only allow      (check_hkp_response): If an error ocurred, copy the error message into
5134          (#ID_KEYMISC_EDITKEY): Bail out if no key was selected.      the static buffer.
5135          to add extented items if the key is NOT version 3.      (kserver_strerror): Interface for the static error buffer.
5136          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Check if the      * wptKeyserverDlg.cpp (hkp_err_box): Generates a HKP specific message
5137          key is v3 and forbid most commands.      box.
5138          (is_cmd_openpgp): New.      (hkp_send_key): Add more verbose messages at the end.
5139        (hkp_recv_key): Ditto.
5140  2003-06-01      Timo Schulz  <[email protected]>      (check_pattern): Rewrote the entire code to be more bug proof.
5141        * wptKeylist.cpp (keylist_add_to_recipients): Add a flag to indicate
5142          * wptCurrWnd.cpp (rel_key, hit_key): Replaced with macros...      that the recipient list contains untrusted entries.
5143          (KEYDOWN, KEYUP): macros for the functions above.      * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use the new flag to
5144        force GPG to add the need options.
5145  2003-06-04  Timo Schulz  <[email protected]>      * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
5146    
5147          * wptKeylist.cpp (get_key_algo, get_key_size): Due to the fact  2001-07-19  Timo Schulz <[email protected]>
5148          that GPG uses the newest subkey by default, we always return  
5149          the info of this subkey and not the first.      * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Support for more
5150          * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Fixed off-by-one      detailed error messages in the case for a missing key or an included
5151          bug. Now the indicies are correctly.      signature.
5152          * wptGPG.cpp (gnupg_check_keyring): Do not free the value before  
5153          get_file_size is called.  2001-07-17  Timo Schulz <[email protected]>
5154          * WinPT.cpp (WinMain): Only check the GPG engine version if there  
5155          were no problems with the GPG config. And differ between a problem      * wptKeylist.cpp (keylist_build_small): Support for a minimal keybox
5156          to get the version and if a wrong version were detected.      and increment the 'cols' variable inside the structure for further use.
5157        (add_key): Watch for the 'cols' variable to figure out how much columns
5158        are used.
5159  2003-06-05  Timo Schulz  <[email protected]>      * wptListView.cpp (listview_set_ext_style): Set an extended style for
5160        the given listview.
5161          * wptPassphraseCB.cpp (passphrase_callback_proc): Now the dialog      * wptKeyserverDlg.cpp (keyserver_dlg_proc): Use WM_NOTIFY to save the
5162          shows all involved recipients and also the public key algorithm.      selected server.
5163          * wptRegistry.cpp (reg_inst_winpt): If the user does not want      * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.
5164          the extensions, set the entry to "1" so the message is not shown      * wptKeyserver.cpp (kserver_connect): IP address support. This is faster
5165          again.      and no DNS lookup is needed.
5166    
5167  2003-06-06  Timo Schulz  <[email protected]>  2001-07-14  Timo Schulz <[email protected]>
5168    
5169          * wptKeylist.cpp (keylist_get_recipients): Use a stronger warning      * wptKeylist.cpp (keylist_add_key): Check for secret keys before adding
5170          message and include the user-id.      it to the signing keylist.
5171          * Encryption: use force overwrite (--yes) to make sure there are      * wptClipSignDlg.cpp (clip_sign_dlg_proc): Add newline if the passphrase
5172          no complications with GPG.      is empty.
5173          * Import: skip all record types we do not understand.      * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
5174    
5175    
5176  2003-06-10  Timo Schulz  <[email protected]>  2001-07-13  Timo Schulz <[email protected]>
5177    
5178          * wptKeysignDlg.cpp (do_fill_seckeylist): Make sure disabled keys      * wptKeyserver.cpp (kserver_send_request): Add the "keytext" string to
5179          are skipped.      the request. Arggg!
5180          (keysign_dlg_proc): Removed some redundant code.      (check_hkp_response): Add flag to differ between 'send' and 'recv' mode.
5181          * wptKeyEditDlgs.cpp (is_idea_protect_algo): New. Find out if  
5182          it is possible to change the passphrase.  
5183    2001-07-12  Timo Schulz <[email protected]>
5184  2003-06-11  Timo Schulz  <[email protected]>  
5185        * wptClipDecryptDlg.cpp (clip_decrypt_dlg): If the dialog was canceled,
5186          * wptKeylist.cpp (keylist_add_key): Now the user-ids are in the      just quit without any messages. Suggested by Rich.
5187          right order and we do not use the last user-id but the first  
5188          because this is always the primary user-id or the newest user-id.  
5189          * wptGPGME.cpp (get_default_keyid): Removed. Some better code  2001-07-11  Timo Schulz <[email protected]>
5190          were added to get_gnupg_default_key.  
5191        * wptKeyserver.cpp (wsock_strerror): If it's an unknown error, add
5192  2003-06-13  Timo Schulz  <[email protected]>      the integer.
5193        (keyserver_create_conf): Create a config file instead of the error.
5194          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Quote the user-id name.      * wptGPG.cpp (create_gpg_options): If the file doesn't exist create
5195          * wptClipSignDlg.cpp (clip_sign_dlg_proc): Fix the code due to      a default file. This prevents confusing error messages.
5196          the fact the signer is now dymanic and not static.      (get_gpg_options): Use new code.
5197          * wptGPG.cpp (check_gnupg_engine): Check if IDEA is available and      * wptErrors.cpp (winpt_debug_msg): Improved debug message that tells
5198          change all code that it only shows an error if no plug-in was loaded.      the user how to find the files.
5199          * wptKeyEditDlgs.cpp (is_cmd_openpgp): Remove REVKEY since you  
5200          can revoke v3 keys.  2001-07-05  Timo Schulz <[email protected]>
5201          (do_editkey_revoke): Clarify command because it can be only used  
5202          for secondary keys.      * wptHotkey.cpp (mod_hotkeys): Fix a small typo.
5203          * wptKeyManagerDlg.cpp (file_sign_dlg_proc): Make sure an error  
5204          is issued when no key was selected. Thanks to vedaal.  2001-07-04  Timo Schulz <[email protected]>
5205    
5206  2003-06-24  Timo Schulz  <[email protected]>      * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Auto retrieve key
5207        if the user agree.
5208          * Fixed filter code in Get{Open,Save}FileName. Changed all callers.      * wptKeylist.cpp (keyload_load): Use the mode from the param, not
5209          Thanks to Alex.      the hardcoded.
5210          * wptKeyManager.cpp (km_delete_keys): Quote the user-id.      * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Load options file on startup.
5211        Rename 'load' to 'reload' to make sense with the new code.
5212        * wptHotkeys.cpp (mod_hotkeys): Rewrite the entire code for the
5213  2003-07-12  Timo Schulz  <[email protected]>      registry stuff.
5214        * wptRegistry.cpp (set_reg_winpt_prefs): Ditto.
5215          * wptFileManager.cpp (fm_verify): Support for multiple signatures.      (get_reg_winpt_prefs): Ditto.
5216          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.      (regist_inst_winpt): Remove the old code.
5217          * wptProxySettingsDlg.cpp (read_proxy): Skip http:// prefix.      (register_single_filetype): Replacement for the old code.
5218          * wptKeyserver.cpp (check_URL): Support for hkp://. Closes #755156.  
5219          (kserver_connect): Likewise.  2001-07-01  Timo Schulz <[email protected]>
5220          (kserver_read_config): Likewise.  
5221          * wptSymEnc.cpp (gpgme_encrypt_symmetric): Free memory if the passphrases      * wptFileManager.cpp (fm_verify): New.
5222          are not equal.      (fm_decrypt): New.
5223          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): New. An easy to use wizard to      * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): New.
5224          generate a key pair.  
5225    
5226  2003-07-13  Timo Schulz  <[email protected]>  2001-06-30  Timo Schulz <[email protected]>
5227    
5228          * wptKeygenDlg.cpp (check_passphrase): Check if the passphrase contains      * wptFilemanagerDlg.cpp (file_manager_dlg_proc): Uses the new passphrase
5229          characters >= 127. Due to the fact that we use CP-1250 and GPG uses CP-850      code.
5230          it would be a bad idea to use such passphrases. And thus we disallow it.      * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.
5231          * wptKeyEditDlgs.cpp (keyedit_change_passwd): Likewise.      * wptClipSignEncDlg.cpp (clip_sign_dlg_proc): Ditto.
5232          * wptSymEnc.cpp (gpgme_encrypt_symmetric): Likewise.      * wptFileManager.cpp: New. (fm_build): New. Initialize the filemanager.
5233          * wptHotkey.cpp (hotkeys_strerror): Use capital letters.      (fm_delete): New.
5234        (fm_encrypt): New.
5235  2003-07-22  Timo Schulz  <[email protected]>      (fm_get_current_pos): New.
5236        (fm_get_file_type): New.
5237          * wptClipEditDlg.cpp (clip_edit_dlg_proc): Figure out the size of      (fm_add_dropped_files): New.
5238          the text instead of allocating the maximum.  
5239    2001-06-29  Timo Schulz <[email protected]>
5240  2003-08-17  Timo Schulz  <[email protected]>  
5241        * wptClipEditDlg.cpp (clip_edit_dlg_proc): Fix a small bug that prevent
5242          * wptKeyManagerDlg.cpp (keymanager_dlg_proc):      to send data to the clipboard.
5243          #ID_KEYMISC_EXPORT_PRIVKEY: Retrieve the current list view index. The      * wptMainProc.cpp (wpt_main_proc): Change the SetForegroundWindow to
5244          value was malformed.      destroy the window immediately.
5245          * wptClipEditDlg.cpp (clip_edit_dlg_proc): Free global memory.      * wptKeyserver.cpp (kserver_getip): Removed.
5246          * wptKeyserver.cpp (kserver_load_conf): If the file does not exist,      (kserver_get_langname): Removed.
5247          don't bother the user with an error message. Closes #782751.      (kserver_load_conf): New. Load the keyserver.conf file and set the
5248          * wptKeyEditDlgs.cpp (do_editkey_primary): New. Implement the      included keyserver addresses into the global context.
5249          "primary" edit key command.      * WinPT.cpp (WinMain): Add the kserver_load_conf to intialize the
5250          * wptKeyserverDlg.cpp (hkp_recv_key): New flag parameter. Now it is      keyserver context.
5251          possible to supress the status message. This is useful when the whole      * wptImplist.cpp (get_key_date): New. Transform integer timestamp
5252          keyring will be refreshed.      to ISO date.
5253          * wptFileManager.cpp (fm_parse_command_line): Unquote file if needed.      (implist_add_key): Now it uses the context instead of all single
5254          (quote_file): Avoid double quotes.      variables.
5255          * GPGME support for quoted file names.  
5256          (fm_sym_encrypt): Double check password and to additional 8-bit checks.  2001-06-28  Timo Schulz <[email protected]>
5257          * WinPT.cpp (my_acces): Moved to this file..  
5258          * wptGPG.cpp: ..here.      * wptRFC2440.cpp (get_pkttype): Renamed from get_pkt_type and all new
5259          (gpg_check_permissions): Renamed from check_permissions and make it global.      flag variables to support RFC1991.
5260          * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Check to make sure we      (get_rfc2440_pktlen): Renamed from get_pkt_len to support RFC1991.
5261          have write access to the keyring for some commands.      (get_rfc1991_pktlen): Ditto.
5262    
5263  2003-08-24  Timo Schulz <[email protected]>  2001-06-27  Timo Schulz <[email protected]>
5264    
5265          * wptPreferencesDlg.cpp (prefs_dlg_proc): Use better code to disable      * wptRFC2440.cpp (get_pkt_type): New. Extract the OpenPGP packet type.
5266          dialog controls.      (get_pkt_len): New. Extract the OpenPGP packet length.
5267        (parse_pke_sesskey): Read a public key encrypted session key
5268  2003-08-30  Timo Schulz  <[email protected]>      but without data.
5269        * wptFilemanagerDlg.cpp (quote_filename): Do some quotings if the
5270          * wptGPG.h: Support for the GPG status messages REVKEYSIG and      filename contains spaces. Just to make GPG happy.
5271          EXPKEYSIG. With this new feature, GPG 1.2.3 is required.      (file_manager_dlg_proc): Check if the file exist after encryption.
5272          * Make sure that the signature status does not cause an      * wptFile.cpp (get_keyid_from_file): Checks the file for an valid
5273          segfault.      packet and then extract the keyid.
5274          * WinPT.cpp: Use new check to detect the GPG version and make sure  
5275          it is the minimum.  2001-06-25  Timo Schulz <[email protected]>
5276          * wptGPG.cpp (parse_version_nr): New.  
5277          (check_gnupg_engine): Improved. Now it returns the actual version.      * wptKeylist.cpp (keylist_load): New. Initialize a keylist item with
5278        the contents from the given cache context.
5279  2003-09-03  Timo Schulz  <[email protected]>      (keylist_add_to_recipients): New. Add the selected keys to the
5280        recipient set.
5281          * The secret key listing does not contain any 'validity' or      * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use the new keylist
5282          'status' flags any longer. Thus we only can use the cache to      function to load the listview.
5283          make sure we have a secret key. All attributes need to be retrieved      * wptClipExportDlg.cpp (clip_export_dlg_proc): Ditto.
5284          from the public key listing.      * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
5285        * wptClipDecryptDlg.cpp (parse_gpg_describtion): Beautify the userid
5286          * wptGPG.cpp (default_key_from_cache): New.      and the keyid hint.
5287          (get_gnupg_default_key): Use new function to make sure we try  
5288          to get the key from cache if there is a problem with the config  2001-06-24  Timo Schulz <[email protected]>
5289          file.  
5290        * wptGPG.cpp (get_gpg_path): Add null termination to the string.
5291  2003-09-04  Timo Schulz  <[email protected]>      Thanks to Jonathan who pointed this out.
5292        (get_gpg_prog): Ditto.
5293          * wptFileManager.cpp (fm_get_file_type): Due to an unknown reason,      (gpg_check_file_ext): Check the file extension for the given GPG
5294          the packet parsing return value check was wrong again. Now it does      type.
5295          not recognize Word documents as SECKEY or ENCRYPTED any longer.      (get_gpg_default_keyid): Return null if there isn't an entry in the
5296        options file.
5297  2003-09-08  Timo Schulz  <[email protected]>      * wptKeylist.cpp (add_key): Fixed the wrong return codes of listview_xxx
5298        style functions.
5299          * wptRegistry.cpp: Remove some hotkeys to correct index calculation.      * wptImpList.cpp (implist_add_key): Ditto.
5300          (get_reg_winpt_flag): Check buffer first.      * wptSigList.cpp (siglist_add_key): Ditto.
5301          (get_reg_winpt_prefs): Support for the new backup system.      * wptVerifyList.cpp (verlist_add_key): Ditto.
5302          (set_reg_winpt_prefs): Likewise.  
5303          * wptHotkey.h: Removed import and export hotkey. Re-ordered elements.  2001-06-23  Timo Schulz <[email protected]>
5304          * wptRegistry.h: Cleaned up the hotkey interface.  
5305          * wptPreferenceDlg.cpp (enable_backup_items): New.      * wptGPG.cpp (get_gpg_default_keyid): Determine the keyid with the
5306          (prefs_dlg_proc): Simplified hotkey handling. Use new code.      options file.
5307          * wptMainProc.cpp (clip_gpg_dlg): Remove hotkey handling for  
5308          im- and export. Use the code directly.  2001-06-22  Timo Schulz <[email protected]>
5309          (currwnd_gpg_dlg): Likewise.  
5310          * wptGPG.cpp (gnupg_backup_keyrings): New.      * wptHKPSearchDlg.cpp (hkpsearch_dlg_proc): New. Dialog to perform
5311          (backup_one_file): New.      keyserver seraching. As an additional feature it's also posible to
5312        import the keys directly.
5313  2003-09-22  Timo Schulz  <[email protected]>  
5314    2001-06-18  Timo Schulz <[email protected]>
5315          * wptSigList.cpp (extract_filename): Make sure there is a '\',  
5316          otherwise just dup the string and return.      * wptKeyserver.cpp (check_hkp_response): More detailed error check
5317          * wptVerifyList.cpp (verlist_add_sig): Use a variable for the key      of the http response.
5318          to make the code more readable.      (kserver_send_request): Debug mode now uses logfile.
5319          * Implemented the GPGME part of the new smartcard interface.      (kserver_recv_request): Ditto.
5320          The WinPT interface will be open until the scard stuff is back      (kserver_index_request): New. Create a request for a key index.
5321          ported to GPG 1.3.x.      (kserver_send): Now uses check_hkp_response.
5322          * wptKeyEditDlgs.cpp (do_editkey_revuid): Need a secret key to do it.      (kserver_recv): Ditto.
5323          Several code cleanups.      (kserver_search): New. Start the key index loop.
5324        * wptKeyserverDlg.cpp (recv_key): Check if the key was really
5325  2003-09-24  Timo Schulz  <[email protected]>      imported and received.
5326    
5327          * wptKeygenDlg.cpp (keygen_dlg_proc): Implement 'Hide Typing' feature.  2001-06-17  Timo Schulz <[email protected]>
5328          * wptFileManager.cpp (fm_encrypt): Ask for output file if needed.  
5329          * wptFileManagerDlg.cpp (fm_dlg_proc): Removed im- and export from      * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Force to use the
5330          the menu. We use import internally, but export was not useful and      default key for signing.
5331          thus the code were removed.  
5332          * wptPreferenceDlg.cpp (prefs_dlg_proc): Disable some controle at  2001-06-16  Timo Schulz <[email protected]>
5333          startup when they are not allowed.  
5334          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Removed PGP2 option.      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Added missing return.
5335          Make the parsing code much shorter (read).      Corrected return values.
5336        * wptErrors.cpp (winpt_strerror): Removed all unused error strings.
5337        * wptGPG.cpp (get_gpg_path): Change to default path and prevent
5338  2003-09-25  Timo Schulz  <[email protected]>      buffer overflows.
5339        (get_gpg_prog): Ditto.
5340          * wptClipSignEncDlg.cpp (seclist_dlg_proc): The dialog was broken.  
5341          (check_key): New.  
5342          Removed the old Secret Key List dialog. Now the key can be directly  2001-06-15  Timo Schulz <[email protected]>
5343          chose in the dialog.  
5344          (seclist_init): New.      * wptKeylist.cpp (keylist_add_key): Change encrypt param to mode.
5345          (seclist_destroy): New.      Differ between the new keylist styles.
5346          (seclist_select_key): New.      * wptGPGME.cpp (keycache_xxx): Move the caching interface to this
5347          * wptFileManager.cpp (fm_sign): Ask for output file if needed.      file. For an easier handling between dialogs and code.
5348        (keycache_rewind): New. Rewind a global keycache context.
5349          * Client side implementation of the --enable-progress-filter feature.      (keycache_next_key): New. Retrieve the next key from the keycache.
5350        (get_default_key): New. Return the default key, this is the secret
5351          * wptProgressDlg.cpp: Server side implementation.      key with the index 0.
5352          (progress_dlg_proc): New. The actual dialog procedure.      * wptClipSignDlg.cpp (clip_sign_dlg_proc): Modify the default key
5353          (progress_callback): The GPGME wrapper callback.      handling. Now the signer is set in any case. Prevent hanging GPG
5354        processes.
5355  2003-09-25  Timo Schulz  <[email protected]>      * wptSecmem.cpp (vm_safe_init): New. Initialize the safe memory.
5356        (vm_safe_init_noswap): New. Initialize safe memory with tail data.
5357          * wptProgressDlg.cpp (progress_cb_thread): New.      See source for more information.
5358          (progress_callback): Use asynchron code.      (vm_safe_free): New. Free all used pointer and burn all buffers.
5359          * wptFileManager.cpp (fm_parse_files): Implement progress callback.      (vm_safe_get): New. Get the begin of the alloced buffer.
5360        (vm_safe_set_swapfile): New. Set global swapfile name.
5361        (vm_safe_create_swapfile): New. Creats a swapfile and set its
5362  2003-09-28  Timo Schulz  <[email protected]>      contents to zero.
5363    
5364          * wptCardDlg.cpp (card_edit_dlg_proc): New.  2001-06-12  Timo Schulz <[email protected]>
5365          (gpg_load_scard): New. Try to use GPG load the card info.  
5366          (print_fpr): New. Print beautified fingerprint.      * wptPreferencesDlg.cpp (check_hotkey): Check if the hotkey key is
5367          (card_status): New. Set all dialog fields with the values from      a big letter, otherwise convert.
5368          the card.      (preferences_dlg_proc): Check hotkeys.
5369          (prepare_dialog): New. Load combo boxes with pre-defined strings.      * wptKeylist.cpp (add_keys): Static functions to add a single key.
5370        (keylist_add_key): Now it adds all subkeys to the dialog.
5371        (keylist_alloc): Remove because it's not needed any longer.
5372  2003-10-06  Timo Schulz  <[email protected]>      * wptImportList.cpp (implist_alloc): Ditto.    
5373        * wptSigList.cpp (siglist_alloc): Ditto.
5374          * wptFileManager.cpp (fm_encrypt): Wipe files in both modes.      * wptVerifyList.cpp (verlist_alloc): Ditto.
5375          * wptGPG.cpp (gnupg_display_error): Display general error  
5376          when the file does not exit.  2001-06-10  Timo Schulz <[email protected]>
5377          * wptW32API.cpp (get_folder_dlg): New.  
5378          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Ability to select      * wptHotkey.cpp (enable_hotkey): New. Set enable flag for a single
5379          the folder for the home directory.      hotkey.
5380          * wptKeyManager.cpp (km_update_default_key_str): Return length      (mod_hotkeys): Take care of the enable flags.
5381          of the string.      (register_hotkeys): Ditto.
5382          (km_complete_status_bar): Use the offset of the default      (unregister_hotkeys): Ditto.
5383          key string so it is not appened twice.      * WinPT.cpp (WinMain): If the registry entry of WinPT doesn't exist,
5384          * wptRegistry.cpp (regist_inst_winpt): Create 'Card' subkey.      don't try to modify hotkeys.
5385          * wptCard.h: New.      * WptMainProc.cpp (wpt_main_proc): All message boxes are forced to
5386          * wptCardDlg.cpp (new_card_driver): New.      the foreground.
5387          (load_card_driver): New.  
5388          (free_card_driver): New.  2001-06-08  Timo Schulz <[email protected]>
5389          (card_config_dlg_proc): If the reader is configured, load the  
5390          values. This is needful to change the driver later.      * wptHotkey.cpp (mod_hotkeys): Change code to support the new
5391          (gpg_load_scard): Use driver as a parameter.      registry style.
5392          * wptMainProc.cpp (winpt_main_proc): Load card driver and      * wptRegistry.cpp (get_reg_winpt_prefs): Support to disable
5393          unload it after use.      single hotkeys. Suggested by Jonathan.
5394        * wptPreferencesDlg.cpp (preferences_dlg_proc): Support to disable
5395  2003-10-07  Timo Schulz  <[email protected]>      single hotkeys.
5396        * wptKeyserver.cpp (kserver_connect): Reset winsock error var.
5397          * wptPINDlg.cpp (pin_cb_dlg_proc): New.      (keyserver_recv): Ditto.
5398          * wptCardDlg.cpp (do_proc_card_cmds): New.      (keyserver_send): Ditto.
5399          (card_edit_dlg_proc): Use it here.      (wsock_strerror): Returns a description of the winsock problem.
5400        * wptClipboard.cpp (clip_get_pgp_type): Check if the returned buffer
5401  2003-10-08  Timo Schulz  <[email protected]>      is valid.
5402    
5403          * wptCardDlg.cpp (do_proc_card_cmds): Check that only US-ASCII  2001-06-07  Timo Schulz <[email protected]>
5404          is used. Otherwise reject the value.  
5405          (ask_pin): New. Enable PIN caching for the 'dialog session' so      * wptOwnertrustDlg.cpp (ownertrust_dlg_proc): Set to foreground,
5406          the user does not need to re-enter it again and again.      add windows title.
5407    
5408  2003-10-09  Timo Schulz  <[email protected]>  2001-06-05  Timo Schulz <[email protected]>
5409    
5410          * wptCardDlg.cpp (get_card_status): New.      * wptAboutGPGDlg.cpp (about_gpg_dlg_proc): Check if the returned
5411          (show_card_status): New. Retrieve the card status and show an      buffer is valid. Remove the fixme, because it's possible that there
5412          error if approprioate.      were new cipher modules loaded.
5413          * Make sure that WinPT does not try to use non-OpenPGP cards.      * wptClipDecryptDlg.cpp (passphrase_callback_proc): Check if the
5414          * Add GPGME support for the forthcoming AUTH flag for keys.      context is valid.
5415          * Implemented the detection of keys where the secret key components      * wptClipEditDlg.cpp (clip_edit_dlg_proc): Check if the context is valid.
5416          are stored on a smart card.      * wptW32API.cpp (status_box): New. Message box that is always forced
5417        to the foreground.
5418    
5419  2003-10-12  Timo Schulz  <[email protected]>  2001-06-04  Timo Schulz <[email protected]>
5420    
5421          * wptCardDlg.cpp (guess_libname): New.      * wptClipImportDlg.cpp (clip_import_dlg_proc): Added the code for
5422          (card_status): Simplified the code with an attribute      the improved import status.
5423          table. Now it is a loop and not hard coded.  
5424          * The card interface has changed. Now the surname and  
5425          the given name are two fields and not one field.  2001-06-01  Timo Schulz <[email protected]>
5426          * wptMainProc.cpp (winpt_main_proc): Check if the card  
5427          reader is configured where appropriate.      * wptKeyEditDlg.cpp (keyedit_dlg_proc): IDC_KEYEDIT_OWNERTRUST:
5428        Release context in the case of an error.
5429  2003-10-13  Timo Schulz  <[email protected]>      * wptMainProc.cpp (wpt_main_proc): Fix typo.
5430        * wptGPG.cpp: (init_gpg_table): Remove the case code. Now we use
5431          * Extended the GPGME API that it is possible to retrieve      a static gpg object array that contains all filenames.
5432          the key data. This is for the planned card login but it  
5433          might be also useful for other purposes.  
5434    2001-05-27  Timo Schulz <[email protected]>
5435          * wptCardPCSC.c: New. General code for PC/SC card readers.  
5436        * wptRegistry.cpp (set_reg_winpt_prefs): Add word wrapping.
5437        (get_reg_winpt_prefs): Ditto.
5438  2003-10-14  Timo Schulz  <[email protected]>      * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Set focus after the
5439        gpg process finished.
5440          * wptKeyList.cpp (do_addkey): Add the case the secret key      * wptSigList.cpp (siglist_add_key): Parse the numeric timestamp to
5441          is stored on a smart card.      a humand readable date.
5442          (km_check_for_seckey): Take care of the new code.  
5443          * wptKeyManager.cpp (km_delete_keys): Extra warning when  
5444          the secret key is stored on a card.  2001-05-25  Timo Schulz <[email protected]>
5445          * wptKeyEditDlgs.cpp (subkey_list_init): Add the key cabilities  
5446          to the list view. Now the user can see if the key is useable      * wptKeyUidDlg.cpp (keyuid_dlg_proc): Add button to delete a choosen
5447          for: signing, certifying or encrypting.      user id. End the dialog if there was an error during the Gpgme operations.
5448        * wptClipboard.cpp (clip_istext_avail): First check if the pointer is
5449  2003-10-16  Timo Schulz  <[email protected]>      valid and then look at the length. Avoid crashes for some texts.
5450    
5451          * Changed GPGME interface for edit card. Now one context is  2001-05-21  Timo Schulz <[email protected]>
5452          used for all edit card operations.  
5453          * wptCardDlg.cpp (card_edit_dlg_proc): Support for working      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Add new button for userid
5454          and admin PIN. Changed gpgme interface.      management.
5455          (ask_pin): Renamed to..      * wptKeyUidDlg.cpp (keyuid_dlg_proc): Finished code to show all userids
5456          (do_askpin): this. Provide more information about the card      from a special key.
5457          and its holder.  
5458          (do_proc_card_cmds): If no error, reset modify flags for  2001-05-20  Timo Schulz <[email protected]>
5459          all controls. Show a short message that the operation ended.  
5460          * wptCardPCSC.c (pcsc_free_readers): New.      * wptGPG.cpp (check_gpg_optfile): Count each of the keyring entries
5461          (pcsc_scan_readers): New.      to figure out if both parts are available.
5462          (pcsc_get_reader): New.  
5463          (pcsc_get_card_status): New.  2001-05-19  Timo Schulz <[email protected]>
5464    
5465        * wptPreferencesDlg.cpp (preferences_dlg_proc): If the disable hotkey
5466  2003-10-17  Timo Schulz  <[email protected]>      flag is set, also disable all input items.
5467        (disable_dlg_item): New. Disable dialog items (windows).
5468          * wptGPGME.cpp (keycache_init): Do not use secring the first time.      * wptMainProc.cpp (wpt_main_proc): Only set hotkeys if the no_hotkeys
5469          * wptKeySignDlg.cpp (keysign_dlg_proc): Make sure only the short      flag isn't set.
5470          keyid will be displayed.              * wptKeyserverDlg.cpp (send_key): Forget to set the armor flag, as
5471        a result the code only sended parts of the key.
5472  2003-10-18  Timo Schulz  <[email protected]>      * wptConfig.cpp: Removed. Not used any longer.
5473    
5474          * wptCardDlg.cpp (card_keygen_dlg_proc): New.  2001-05-18  Timo Schulz <[email protected]>
5475          (do_askpin): Handle the case there is no card.  
5476          (card_edit_dlg_proc): Add 'New Keys' feature.      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Check the state of the various
5477          (card_changepin_dlg_proc): Implemented.      edit key commands. In the case the dialog was canceled, return without
5478          * WinPT.cpp (WinMain): Ability to start the card manager directly.      modifying anything.
5479          * wptMainProc.cpp (smartcard_init): Global stuff to init the reader      * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Check the state of the
5480          driver and the inserted card.      signature. If it doesn't contain a valid key, do nothing.
5481        * wptMainProc: (wpt_main_proc): If the hotkey setup doesn't work, don't
5482  2003-10-19  Timo Schulz  <[email protected]>      quit the program. In some cases the hotkeys are possible locked.
5483        * WinPT.cpp (WinMain): If there is an error with the gpg program/path,
5484          * wptPINDlg.cpp (pin_cb_dlg_proc): Support to store the admin and      give the user the chance to start the GPG preference dialog.
5485          the working PIN.      * wptPreferencesDlg.cpp (preferences_dlg_proc): Added the CWS hotkey
5486          wptCardDlg.cpp (free_pincb): New.      support. Flag to disable all hotkeys. Reload new hotkeys (in the case
5487          (card_keygen_dlg_proc): Pin callback implemented.      they changed). Load the registry entry on startup.
5488          Simple check for the e-mail address.      * wptHotkey.cpp (mod_hotkeys): Overwrite the default hotkeys with the
5489          (card_edit_dlg_proc): End the dialog if no changes were made.      stored registry entries.
5490    
5491          * Expanded GPGME passphrase interface to work both with PINs  2001-05-13  Timo Schulz <[email protected]>
5492          and passphrases.  
5493        * wptRegistry.cpp (set_reg_key): Open a subkey, if it doesn't exist
5494  2003-10-21  Timo Schulz  <[email protected]>      the function create it.
5495        (set_reg_winpt_prefs): Use the new function to set the subkey values.
5496          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): If the passphrase      All functions now return WPTERR_REGISTRY instead of 1.
5497          was wrong, delete the cache item (if available).      Add some error handling to prevent errors in the registry.
5498          * wptClipSignDlg.cpp (clip_sign_dlg): Likewise.      * wptPreferencesDlg.cpp (preferences_dlg): Add the code for the Clipboard
5499          * wptClipSignEncDlg.cpp (clip_signenc_dlg): Likewise.      hotkeys and the caching time.
5500          * wptPassphraseCB.cpp (set_gpg_passphrase_cb): Set 'is_card'  
5501          flag to zero.  
5502            2001-05-12  Timo Schulz <[email protected]>
5503    
5504  2003-10-21  Timo Schulz  <[email protected]>      * wptMainProc.cpp (wpt_main_proc): Start the agent before the decryption
5505        call.
5506          * wptClipDecryptDlg.cpp (list_recipients): New.  
5507          (algo_from_list): New.  2001-05-11  Timo Schulz <[email protected]>
5508          (clip_decrypt_dlg): New concept to list all recipients.  
5509          * wptFileManager.cpp (fm_list_keys): New.      * wptMainProc (wpt_main_proc): Change all related menu entries from
5510          (fm_decrypt): Same changes as for the clipboard decryption.      Encrypt & sign to Sign & Encrypt. Added the command to the current
5511        window menu and the handling of the window messages.
5512  2003-10-23  Timo Schulz  <[email protected]>      * wptSignEncDlg.cpp (clip_signenc_dlg_proc): Changed the window text.
5513        * wptRegistry.cpp (set_reg_winpt_prefs): New. Stores all WinPT
5514          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Show GPG output      preferences in the registry.
5515          if the error is unknown.      (get_reg_winpt_prefs): Read all preferences from the registry into
5516          (clip_sign_dlg_proc): Likewise.      the options context.
5517          (clip_signenc_dlg_proc): Likewise.      * WinPT.cpp (WinMain): Read in the registry preferences at the begin
5518          (clip_import_dlg_proc): Likewise.      and store it.
5519        * wptAgent.cpp (agent_init): Check if the environment variable
5520  2003-10-24  Timo Schulz  <[email protected]>      GPG_AGENT_INFO is set, otherwise set it.
5521        (agent_is_running): Check wether the agent is running.
5522          * Implemented a better logging system. If the return code      (agent_start): Automated function that read all needed information
5523          of GPG is != 0 and the error is not known, display the errors      from global variables.
5524          from stderr.  
5525    2001-05-10  Timo Schulz <[email protected]>
5526          * wptGPGME.cpp (logging_cb): New.  
5527        * wptFindWnd.cpp (find_window_hwnd): New. Function to retrieve
5528  2003-10-26  Timo Schulz  <[email protected]>      the handle of the specified window.
5529        * wptAgent.cpp (agent_timer_proc): Changed the agent interface
5530          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Implement new logging.      to window messages instead of socket connections.
5531        * wptMainProc.cpp (wpt_main_proc): Added the new preference dialog
5532          * Changed the code at several other places to support the new logging      and menu entry.
5533          scheme.      * wptPreferencesDlg.cpp: New.
5534    
5535    2001-05-09  Timo Schulz <[email protected]>
5536  2003-10-29  Timo Schulz  <[email protected]>  
5537        * wptAgent.cpp (gpga_writen): Write 'n' bytes into a socket.
5538          * wptKeyEditDlgs.cpp: New logging scheme. Changed all callers.      (gpga_readn): Read 'n' bytes from a socket.
5539        (gpga_open): Open the interface to the GPG-Agent.
5540          * Create a new interface for an interactive card callback. GPG      (gpga_close): Close the GPG-Agent socket.
5541          provides card control status messages if the wrong card is inserted.      (gpga_clear_passphrase): Clear a passphrase from the GPG-Agent.
5542        (agent_add_fpr): Add a fingerprint to the cache. If WinPT quits,
5543          * wptCardManager.cpp (card_cb_dlg_proc): New.      this keys will be remove from the GPG-Agent cache.
5544          (card_callback): New.      (agent_delete_fpr): Remove a fingerprint from the cache.
5545        (agent_init): Clear the cache.
5546          * wptCardPCSC.cpp (pcsc_loadlib): Use some 'A' to declare we use      (agent_timer_proc): Remove all stored passphrases which were
5547          the ASCII functions and not the Unicode function names. Thanks to      requested through the chache.
5548          Werner for pointing this out.  
5549    2001-05-08  Timo Schulz <[email protected]>
5550          * wptPassphraseCB.cpp (passphrase_cb): Better card interface. Now the  
5551          serial card number is shown to help the user to find the right card.      * wptKeyserver.cpp (wsock_init): Replace the kserver init
5552        code which initialized the Wsock2 interface.
5553          * wptClipSignDlg.cpp (clip_sign_dlg_proc): New logging scheme.      (wsock_end): Ditto.
5554        * wptAgent.cpp: Remove the passphrase caching code and add
5555  2003-10-02  Timo Schulz  <[email protected]>      the GPG agent code.
5556    
5557          * Prepare test release.  2001-05-05  Timo Schulz <[email protected]>
5558          * wptGPGCmds.h: New from GPG 1.3.4-cvs.  
5559        * wptCurrWnd.cpp (get_curr_wnd): Alternative code to retrieve
5560  2003-11-13  Timo Schulz  <[email protected]>      the current window handle. This code doesn't use the hook DLL.
5561        Thanks to Oliver Nittka for his patch.
5562          * Clarify pin names. Now all PIN's are labeled 'Admin' or 'User'.      * wptErrors.cpp (winpt_strerror): Fixed a small typo.
5563          * wptPINDlg.cpp (pin_cb_dlg_proc): Length check for the PINs.      * wptGPG.cpp (check_last_gpg_access): Remove debug code.
5564          Thanks to Achim.      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Change the keycache reloading
5565          * Change PIN interface. Now it is easier when an operation requires      scheme to prevent reloading the cache twice.
5566          both PINs.  
5567          * wptCardDlg.cpp (do_proc_card_cmds): Now GPG requires both PINs  2001-05-04  Timo Schulz <[email protected]>
5568          to change card attributes. Do not ask me why, but now the user  
5569          needs to enter 2 PINs.      * wptKeyTrustDlg.cpp: Renamed to wptKeyEditOwnertrustDlg.cpp.
5570        * wptKeyEditOwnertrustDlg.cpp (keyedit_ownertrust_dlg):
5571          Name parts were swapped, now they have the right order again.      Move all the GPGME specific code to the main dialog. Now only
5572        the context values are set.
5573  2003-11-14  Timo Schulz  <[email protected]>      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Include the changed ownertrust
5574        code.
5575          * wptCardDlg.cpp (card_edit_dlg_proc): Release the second PIN.  
5576    2001-05-02  Timo Schulz <[email protected]>
5577  2003-11-28  Timo Schulz  <[email protected]>  
5578        * wptKeyEditAddSubkeyDlg.cpp: New. Dialog to create additional
5579          * Remove all support for ElGamal sign+encrypt keys.      subkeys for the mainkeys.
5580        * wptKeyEditAddUidDlg.cpp: (keyedit_adduid_dlg_proc): Set foreground
5581          There is a flaw in GPG which makes all such keys useable and      window flag.
5582          they are comprised even if one signature they made is accessable.      * wptKeyEditDlg.cpp: (keyedit_dlg_proc): Added the code for the
5583          And due to the fact the key is self signed, such a sig is always      addkey feature.
5584          available for the public.  
5585    2001-05-01  Timo Schulz <[email protected]>
5586          We warn the user at startup if such keys were found!  
5587        * wptCurrWnd.cpp (wnd_msg_markall): New. Send the CTRL+a key sequence
5588          * wptMainProc.cpp (elgamal_warn_dlg_proc): New.      to a window.
5589          * wptGPGME.cpp (count_insecure_elgkeys): New.      (wnd_msg_copy): New. Send the CTRL+c key sequence to a window.
5590          * WinPT (WinMain): Use it here.      (wnd_msg_paste): New. Send the CTRL+v key sequence to a window.
5591        (wnd_msg_em_set_pos): Manipulate an edit multiline control text pos.
5592  2003-11-29  Timo Schulz  <[email protected]>      * wptMainProc.cpp (wpt_main_proc): Fix some message string for
5593        the hotkey handling. Quit the program if a registration procedure
5594          * wptMAPI.cpp (mapi_init): New.      failed.
5595          (mapi_deinit): New.      * wptErrors.cpp (log_box): Improved log handling to dump states
5596          (mapi_send_pubkey): New.      of variables during regression tests.
5597          * wptKeyManager.cpp (km_send_to_mail_recipient): New.  
5598          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Support  2001-04-30  Timo Schulz <[email protected]>
5599          to send the public key via MAPI to a recipient.  
5600          * wptKeySignDlg.cpp (do_fill_seckeylist): Make sure we rewind      * wptClipEditDlg.cpp: Now the dialog uses the Courier font to
5601          the secret key cache so it's not at the end.      enhance the format of keys and other GPG data.
5602          (keysign_dlg_proc): Issue a warning when no secret key was      * wptKeyserverDlg.cpp (keyserver_dlg_proc): Set the cache realod
5603          found which could be used for signing the key.      flag after receiving a key.
5604          * wptKeylist.cpp (do_addkey): Never add an Elgamal sign+encrypt key.      * wptKeyTrustDlg.cpp (keytrust_dlg_proc): Add error message when
5605          * wptKeySignDlg.cpp (do_fill_seckeylist): Likewise.      no listbox entry was choosen.
5606        * wptKeySignDlg.cpp (keysign_dlg_proc): Add Check button text to
5607  2003-12-10  Timo Schulz  <[email protected]>      the NLS suite.
5608        * wptKeygenDlg.cpp (keygen_dlg_proc): Set the cache reload flag
5609          * GPGME support to change key preferences.      instead of refresh the keycache.
5610          * wptKeyeditSetPrefDlg.cpp (keyedit_setpref_dlg_proc): New.  
5611          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use the new feature here.  2001-04-29  Timo Schulz <[email protected]>
5612    
5613        * wptKeyEditDlg.cpp (clear_dlg_fields): Clear all passphrase items.
5614  2003-12-14  Timo Schulz  <[email protected]>      (keyedit_dlg_proc): Free gpgme context. Add the passphrase for the
5615        adduid command.
5616          * wptKeyeditSetPrefDlg.cpp (get_userid_preflist): New.      * wptKeyEditAddUidDlg.cpp (keyedit_adduid_dlg_proc): Initialize
5617          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Support for updpref.      the dialog with a KEY structure that holds the keyid and the userid.
5618          (do_editkey_setpref): Implement updpref command.      * wptWndHook.cpp: Remove the global context and use instead of it
5619        static variables. Put all static variables into the SHARED data
5620        segment in the DLL.
5621  2003-12-23  Timo Schulz  <[email protected]>  
5622    2001-04-28  Timo Schulz <[email protected]>
5623          * wptKeyEditAddKEyDlg.cpp (keyedit_addsubkey_dlg_proc): Remove  
5624          ElGamal s+e support. Oops, this should be already done.      * wptGPGME.cpp: New. Move some additional GPGME code into WinPT.
5625          * wptGPGME.cpp (keycache_init): Sync both key caches. In other      So it's easier to update GPGME and we can use NLS to translate
5626          words transfer some flags from the sec-cache to the pub-cache.      error strings.
5627          * wptKeySignDlg.cpp (key_sign_dlg_proc): A workaround for the      * wptVerifyList.cpp (get_sig_date): New. Removed from the GPGME code
5628          key sign procedure. If it is already signed, the process      because we only use it here.
5629          sometimes hangs.      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Add the 'change passphrase'
5630        feature to the edit-key interface.
5631  2003-12-30  Timo Schulz  <[email protected]>  
5632    2001-04-27  Timo Schulz <[email protected]>
5633          * fixed the GPG edit-key commands sign and addrevoker.  
5634        * wptCurrWnd.cpp (get_window_contents): Change the code for the last
5635  2003-12-31  Timo Schulz  <[email protected]>      window concept. Thanks to Oliver.
5636        (set_window_contents): Add some stuff to set the position if the
5637          * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Do not sort      current window is an edit control.
5638          the list otherwise the index is wrong.      * wptKeyEditDlg.cpp (keyedit_dlg_proc): Add code for the 'adduid'
5639          * wptKeySignDlg.cpp (keysign_dlg_proc): Add the ability to set      stuff.
5640          a signature expire date.      * wptKeyEditAddUidDlg.cpp: New. (keyedit_adduid_dlg_proc): Code to
5641        create a new user id for a GPG key.
5642  2004-01-03  Timo Schulz  <[email protected]>  
5643    2001-04-26  Timo Schulz <[email protected]>
5644          * wptClipImportDlg.cpp (clip_import_dlg_proc): automatically allow  
5645          to import secret keys.      * wptKeyEditDlg.cpp (keyedit_dlg_proc): New. Dialog for the various
5646        edit-key commands.
5647  2004-01-04  Timo Schulz  <[email protected]>      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Add the button for the edit
5648        key code.
5649          * wptImageList.{cpp,h}: New. Contributed by Andreas Jobs.  
5650          * wptKeylist.cpp (keylist_cmp_cb): More patches from Andreas  2001-04-25  Timo Schulz <[email protected]>
5651          and minor changes.  
5652          * wptListView.cpp (listview_sort_items): Likewise.      * wptKeySignDlg.cpp (keysign_dlg_proc): Now we use a new GPGME
5653          * wptKeyManager.cpp (key_manager_dlg_proc): Likewise.      callback system to pass the keyedit information to GPG.
5654          (regist_sep_wnd): Factored out some code.      * wptKeyTrustDlg.cpp (keytrust_dlg_proc): Ditto.
5655    
5656  2004-01-22  Timo Schulz  <[email protected]>  2001-04-24  Timo Schulz <[email protected]>
5657    
5658          * Remove all internal card reader config. It's up to the      * wptEncryptDlg.cpp (encrypt_dlg_proc): Release the static listview
5659          user to do this. It would be too error proune to offer it.      item and set it to zero.
5660          * wptCard.h: Removed all card driver stuff.      * wptSignDlg.cpp (sign_dlg_proc): Ditto.
5661          * wptPinDLG.cpp (pin_cb_dlg): Use better names to differ      * wptSignEncDlg.cpp (sign_encrypt_dlg_proc): Ditto.
5662          between the admin and the user (normal) PIN.      * wptVerifyDlg.cpp (verify_dlg_proc): Ditto.
5663        * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Ditto.
5664  2004-01-23  Timo Schulz  <[email protected]>      (keymisc_dlg_proc): Provide the functionality to delete key pairs
5665        secret+public.
5666          * wptCardDlg.cpp (check_pin_len): New. Check if the      * wptWndHook.cpp (is_winpt_wnd): Remove this function and put
5667          PIN is long enough and give an appropriate error.      all code into (check_wnd).
5668          (card_changepin_dlg_proc): Use the new check function.      (check_wnd): Check if the window doesn't is a application related
5669        window.
5670  2004-01-25  Timo Schulz  <[email protected]>  
5671    2001-04-23  Timo Schulz <[email protected]>
5672          * WinPT.cpp (WinMain): Silently die when an instance is already  
5673          running. Do not confuse the user with a message. Suggested by      * wptFindWnd.cpp (find_child_wnd_proc): Removed. This functionality
5674          Sebastian.      is not needed because all dialog windows are top level windows.
5675          * wptKeyManager.cpp (delete_keys_from_cache): New.  
5676          (km_delete_keys): Use it here. Thanks to Achim.  2001-04-22  Timo Schulz <[email protected]>
5677    
5678  2004-01-28  Timo Schulz  <[email protected]>      * wptGPG.cpp (check_last_gpg_access): Reset switch before testing
5679        the condition.
5680          * wptCardDlg.cpp (card_keygen_dlg_proc): A info is issued      * wptFindWnd.cpp (find_child_wnd_proc): New. Callback to enumerate
5681          if keys on the card exist but the user does not said overwrite.      all children windows.
5682        (find_parent_wnd_proc): New. Callback to enumerate all parent windows.
5683          Make sure the expire date is not in the past.      (find_window): New. Return if the specified windows as found.
5684        * wptW32API.cpp: (dialog_box_param): New. Alias with the additional
5685          * wptMainProc.cpp (winpt_main_proc): Avoid to release the file      feature to check if the dialog already exist (and then preventing
5686          lock twice. Not sure if this fixes some other problems but it      the creation).
5687          was definitely a bug.      * wptMainProc.cpp (wpt_main_proc): Replace all DialogBoxParam with
5688        then new dialog_box_param function. Thanks to Martin who told me
5689          * wptMapi.cpp (mapi_init): Make sure all function ptrs are      about this dialog problem.
5690          initialized otherwise bail out.      * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Ditto.
5691          (mapi_send_message): New. Interface to allow to send an      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Ditto. Add translation for the
5692          encrypted mail with zero ore more encrypted attachments.      new signature buttons.
5693          (secure_attachment): New.  
5694          (parse_recipients): New.  2001-04-21  Timo Schulz <[email protected]>
5695    
5696  2004-02-02  Timo Schulz  <[email protected]>      * wptWndHook.cpp (install_cbt_hook): Remove the thread because the
5697        system already is into a DLL.
5698          * wptCardDlg.cpp (card_keygen_dlg_proc): Make sure the name      * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Remove checkbutton and use
5699          is long enough. The same check for the mail address.      instead of it a button to check the key signatures.
5700        * wptGPG.cpp (get_last_gpg_access): New. Retrieve the file timestamp
5701          Thanks to Achim.      from the given gpg object.
5702        (check_last_gpg_access): New. Compare the last file timestamp with the
5703  2004-02-03  Timo Schulz  <[email protected]>      new timestamp.
5704        (init_gpg_table): New. Initialize the table with gpg objects who shall
5705          * WinPT.cpp (check_crypto_engine): New. Factor out common code.      be watched.
5706          (WinMain): Check the crypto engine after the first start.      (keyring_check_last_access): Use the new code.
5707        * wptCurrWnd.cpp (set_window_contents): Restore the window if it is
5708          * wptRegistry.cpp (set_reg_winpt_prefs): Make sure an error is      now iconic.
5709          issued if the values could not stored. Revamped the core.      * wptMainProc.cpp (wpt_main_proc): Add decrypt/verify for the
5710        current window stuff.
5711          * Removed the last appearance of the GPG agent support.  
5712    2001-04-17  Timo Schulz <[email protected]>
5713          * wptGPG.cpp (init_gnupg_table): Do not use static buffers.  
5714          (free_gnupg_table): Free memory.      * wptWndHook.cpp (is_taskbar_wnd): New. Alias to check if the window
5715        belongs to the taskbar area.
5716          * wptClipImportDlg.cpp (clip_import_dlg_proc): Make sure the      (is_winpt_wnd): New. Alias to check if the window belongs to WinPT.
5717          ctx pointer get malloced and set the contents to zero.      (cbt_proc): Change code to include both functions.
5718        * wptCurrWnd.cpp (get_window_contents): Add switch if we use the
5719        foreground or the CBT window.
5720  2004-02-04  Timo Schulz  <[email protected]>      * wptMainProc.cpp (wpt_main_proc): All hotkey operations for the
5721        current window mode set the no_cbt variable.
5722          * wptRegistry.cpp (get_reg_winpt_prefs): Revamped the core.      * wptGPG.cpp (keyring_check_last_access): New. Check if the keyring
5723        was modified by an external program.
5724  2004-02-05  Timo Schulz  <[email protected]>      * wptKeyMiscDlg.cpp: (keymisc_dlg_proc): Now check for external
5725        keyring changes.
5726          * wptRegistry.cpp (set_reg_winpt_prefs): Forget to handle  
5727          CMD_DISHOTKEYS. Thanks to the user who reminded me.  2001-04-16  Timo Schulz <[email protected]>
5728          * wptMainProc.cpp (spawn_cryptdisk): New interface to  
5729          the Cryptdisk application.      * wptWndHook,cpp (cbt_proc): Compare process ids to differ between
5730        WinPT and normal windows.
5731  2004-02-08  Timo Schulz  <[email protected]>      (install_cbt_hook): Add pid to the context.
5732    
5733          * wptCryptdisk.{cpp,h}: New. Support for the extended  2001-04-14  Timo Schulz <[email protected]>
5734          filedisk application.  
5735          * wptMainProc.cpp (winpt_main_proc): Likewise.      * wptCurrWnd.cpp: (get_window_contents): Add an event to switch
5736          * WinPT.cpp (WinMain): Make sure the new PTD lib is installed.      the windows. This is needed by the current code.
5737        (set_window_contents): Ditto.
5738  2004-02-09  Timo Schulz  <[email protected]>      * wptWndSwitchDlg.cpp: (wndswitch_dlg_proc): Create a hidden dialog
5739        and force it to the foreground. This is the event needed by the code
5740          * wptCryptdisk.cpp (cryptdisk_umount_dlg_proc): New.      above.
5741          (do_reaping): New. Release the list if all items are 'expired'.      (create_wndswitch_event): Execute the dialog.
5742          (cryptdisk_mount_dlg_proc): New.      * wptMainProc.cpp: (wpt_main_proc): Add new links in the hotkey
5743          (init_drives): New.      section. Add message entries for the code.
5744          * wptMainProc.cpp (cryptdisk_proc): Renamed from...      * wptW32API.cpp: (copy_window_to_clip): Moved to the into the OE
5745          (handle_cryptdisk): this. And filled with life.      mailer code.
5746        (insert_window_from_clip): Ditto.
5747  2004-02-12  Timo Schulz  <[email protected]>      * wptMailPlugin.cpp: (oe_set_message): Insert the new code and add
5748        the event to switch the windows.
5749          * wptErrors.cpp: New error codes for the cryptdisk feature.      (oe_get_message): Ditto.
5750          * wptCryptdisk.cpp (do_dispatch): Better error handling.  
5751          (cryptdisk_mount_dlg_proc): Use it here.  2001-04-13  Timo Schulz <[email protected]>
5752          (cryptdisk_umount_dlg_proc): Likewise.  
5753          (init_drives): Use system list.      * wptMailPlugin.cpp: (oe_set_message): Change the id's for
5754        the attach_thread_input.
5755          Localized all strings.      (oe_get_message): Ditto.
5756        * wptCurrWnd.cpp: (get_window_contents): Ditto.
5757  2004-02-17  Timo Schulz  <[email protected]>      (set_window_contents): Ditto.
5758    
5759          * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Also encrypt  2001-04-12  Timo Schulz <[email protected]>
5760          to the signers key. Suggested by Alexander.  
5761          Use new keycache system, we use the public key part of the      * wptHotkeys.cpp: (register_single_hotkey): Add code for the current
5762          cache because it has all flags set.      window stuff.
5763          * wptGPG.cpp (default_key_from_cache): Use new cache system.      * wptMainProc.cpp: (wpt_main_proc): WM_HOTKEY. Add the current window
5764          * wptKeySignDlg.cpp (do_fill_seckeylist): Likewise.      hotkeys.
5765        * wptW32API.cpp: (attach_thread_input): Split up the functions into
5766        two parts. The attach flags is always set.
5767  2004-02-18  Timo Schulz  <[email protected]>      (detach_thread_input): See above. The attach flags is never set.
5768        * wptCurrWnd.cpp: New. Code for the current window stuff.
5769          * Modify the cryptdisk code for crosscrypt 0.4.1.      (get_window_contents): Extract the text from the given window to
5770          * wptCryptDisk.cpp (do_mount): Add key algorithm param.      the clipboard.
5771        (set_window_contents): Insert clipboard into the given window.
5772  2004-02-21  Timo Schulz  <[email protected]>  
5773    2001-04-09  Timo Schulz <[email protected]>
5774          * wptCryptdisk.cpp (cryptdisk_cleanup): New.  
5775          (is_nt4): Because my Platform-SDK is too old I need to load      * wptGPG.cpp: (check_line): Ignore empty lines.
5776          some prototypes dynamically.      (check_gpg_options): Ditto.
5777          (init_drives): Return the first useable drive letter if  
5778          called with appropriate parameters.  2001-04-09  Timo Schulz <[email protected]>
5779          * wptMainProc.cpp (winpt_main_proc): Use it here.  
5780        * wptClipboard.cpp: (clip_get_pgp_type): New. Return the PGP packet
5781  2004-02-22  Timo Schulz  <[email protected]>      type. Kludge for decrypt/verify.
5782        * wptMainProc.cpp: (wpt_main_proc): Remove verify and put the
5783          * PTD: Cryptdisk seems to have problems with locking. Use      code into the decrypt routine.
5784          a forced flag to tell the code if it should bail out or      * wptClipImportDlg.cpp: (clip_import_dlg_proc): New button to start
5785          ignore locking errors.      the key management after import.
5786    
5787          * wptCryptdisk.cpp (cryptdisk_umount_dlg_proc): Use new  2001-04-07  Timo Schulz <[email protected]>
5788          locking code.  
5789          (cryptdisk_new_dlg_proc): Adjust size of the volume.      * wptAgent.cpp: (agent_new): Rename to agent_init and modify source.
5790        (agent_destroy): Ditto.
5791  2004-02-24  Timo Schulz  <[email protected]>      (agent_passphrase_cache): Ditto.
5792        (agent_passphrase_remove): Ditto.
5793          * WinPT.cpp (WinMain): Call a selftest check procedure to      (agent_passphrase_get): Ditto.
5794          make sure all cryptographic code works as expected.  
5795    2001-04-06  Timo Schulz <[email protected]>
5796  2004-02-25  Timo Schulz  <[email protected]>  
5797        * wptGPG.cpp: (check_gpg_path): Fix a small error.
5798          * wptKeyManagerDlg.cpp: Use consequently 'List Signatures' and      * WinPT.cpp: (WinMain): Add a dialog for the possibity that it's the
5799          do not mix the names in the different menus.      first time a user started WinPT.
5800        * wptClipboard.cpp: (clip_isalready_secured): Check the begin and
5801          * wptSigList.cpp: Support to show the signature class.      end PGP header.
5802    
5803          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable the combo  2001-04-06  Timo Schulz <[email protected]>
5804          box when there is no secret key available.  
5805        * wptOwnertrustDlg.cpp: New. (ownertrust_dlg_proc): New.
5806          (do_init_keylist): Do not allow to use the owners key as a desig      * wptKeyTrustDlg.cpp: (key_trust_dlg_proc): Add new button for the
5807          revoker.      ownertrust dialog.
5808    
5809          * wptKeylist.cpp (get_key_trust): New.  2001-04-04  Timo Schulz <[email protected]>
5810          (do_addkey): Use it here.  
5811        * wptClipDecryptDlg.cpp (passphrase_callback_proc): Remove the static
5812  2004-02-26  Timo Schulz  <[email protected]>      passphrase. Now a callback context is used.
5813        (passphrase_cb): Ditto.
5814          * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Issue an error      (clip_decrypt_dlg): Ditto.
5815          if no recipient was selected.      * wptWndHook.cpp (cbt_thread): New. Thread to enable CBT hook.
5816        (install_cbt_hook): Modify for the new thread model.
5817          * wptFileManager.cpp (fm_parse_files): Make sure the progress dialog      (remove_cbt_hook): Ditto.
5818          is destroyed. This fixes the bug that the dialog sometimes exist even      * wptW32API.cpp: (init_crtical_section): New. Make the code MT safe.
5819          after the procedure ended.      (delete_critical_section): Ditto.
5820        (lock): Ditto.
5821          * wptProgressDlg.cpp (progress_callback): Change the if-then-else      (unlock): Ditto.
5822          struct to prevent zombie dialogs.  
5823    2001-04-02  Timo Schulz <[email protected]>
5824          * wptKeyserver.cpp: Removed unused prototypes.  
5825        * WinPT.cpp: (set_gpgme_debug_env): New: Set the environment variable.
5826  2004-02-29  Timo Schulz  <[email protected]>      * wptClipSignDlg.cpp: (clip_sign_dlg_proc): Now the keylist widget only
5827        contains valid keys.
5828          * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Support throw-keyid.      * wptClipEncryptDlg.cpp: (clip_encrypt_dlg_proc): Ditto.
5829    
5830          * wptKeySignDlg.cpp (do_fill_seckeylist): Make sure we skip key itself  2001-03-31  Timo Schulz <[email protected]>
5831          so we are not allowing to sign ourself.  
5832        * wptClipSignDlg.cpp: (clip_sign_dlg_proc): If no key was choosen,
5833          * wptSigList.cpp (siglist_add_key): Support for the signature      the GPG default key will be used.
5834          flags (local, non-revocably, ...).  
5835    2001-03-30  Timo Schulz <[email protected]>
5836          * Key signing with GPG 1.2.x should work again. Hopefully.  
5837        * wptW32API.cpp: (new_strdup): Remove.
5838  2004-03-02  Timo Schulz  <[email protected]>      * wptW32API.h: Ditto.
5839        * wptWndHook.cpp: (get_cbt_curr_wnd): Return the current window.
5840          * wptGPG.cpp (check_keyring): Handle the case that the keyring      * wptKeygenDlg.cpp: (clear_dlg_fields): New: Clear all text fields.
5841          is set in the gpg.conf file and the pubring.gpg file is zero bytes.  
5842    2001-03-28  Timo Schulz <[email protected]>
5843          (gnupg_backup_keyrings): Support backup of keyrings which were set  
5844          in gpg.conf. Thanks to the user who reminded me of this problem.      * wptClipEncryptDlg.cpp: (clip_encrypt_dlg_proc):
5845        Added the keyid to the "no trust" message.
5846          (gnupg_check_file_ext): Make check not case sentensive.      * wptKeyserverDlg.cpp: (check_pattern): New:
5847        Do some sanity checks of the search pattern.
5848          * (sfree_if_alloc): Overwrite the memory with zeros before freeing      * wptMainProc.cpp: (wpt_main_proc): Add agent support.
5849          it. This only works with c-strings! Use it everywhere we handle      * wptHotkey.cpp: Add agent support.
5850          sentensive information (passphrases).  
5851    2001-03-21  Timo Schulz <[email protected]>
5852          * Try to improve the usability with better menu names and new  
5853          ordering.      * WinPT.cpp: (WinMain): Re-activate the enable debug switch.
5854        * wptKeylist.cpp: (keylist_add_key): Ignore invalid keys.
5855          * wptKeyMangerDlg.cpp: Make the 'Trust' column sortable.  
5856    2001-03-20  Timo Schulz <[email protected]>
5857          * wptMainProc.cpp (winpt_main_proc): Removed GPG about dialog. Now  
5858          it is part of the WinPt about dialog. This way we can minimize the      * wptClipDecryptDlg.cpp: Rewrote
5859          elements in the popup menu.  
5860    2001-03-19  Timo Schulz <[email protected]>
5861  2004-03-04  Timo Schulz  <[email protected]>  
5862        * wptVerifyList.cpp: New control for the verify dialog.
5863          * wptKeyserver.cpp (finger_recvkey): Error if key was not found      * wptClipVerifyDlg.cpp: Rewrote
5864          or garbled.  
5865    2001-03-18  Timo Schulz <[email protected]>
5866          * wptGPG.cpp (gpg_check_permissions): Take care of the entries  
5867          in gpg.conf.      * wptClipVerifyDlg.cpp: New: stub for further verify dialogs.
5868        * wptAgent.cpp: New: Experimental passphrase caching.
5869          * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Support to select  
5870          the signer. Suggested by Sebastian.  2001-03-16  Timo Schulz <[email protected]>
5871    
5872          * wptKeylist.cpp (seclist_init): Moved from the clip dialog file to      * wptDlgs.h: Add new dialog callback function.
5873          this file.      * wptKeysigDlg.cpp: New. Key signature listing dialog.
5874          (seclist_free): Likewise.  
5875          (seclist_select_key): Likewise.  2001-03-15  Timo Schulz <[email protected]>
5876    
5877          * wptFileManager.cpp (fm_encrypt): Handle the case the signer was      * wptClipEncryptDlg.cpp: Fix translation.
5878          already set.      * wptKeygenDlg.cpp: Fix the names of the button (avoid confused users).
5879        * wptKeymiscDlg.cpp: Fix the key deleting stuff.
5880  2004-03-07  Timo Schulz  <[email protected]>  
5881    2001-02-27  Timo Schulz <[email protected]>
5882          * wptGPG.cpp (get_gnupg_keyring): Special case because GPG creats  
5883          dummy keyrings with a size of zero in the homedir.      * wptKeylistWidget.cpp: New. Implementation of a W32 keylist control.
5884        * wptClipKeytrustDlg.cpp: Index was counted from 0 (should be from 1):
5885          (gpg_check_permissions): Check for read-only keyrings and add code      Fixed.
5886          for this case.  
5887    2001-02-25  Timo Schulz <[email protected]>
5888          This problem fixes a lof of other problems related to the OpenPGP  
5889          parsing stuff for the key cache.      * wptGPGPrefsDlg.cpp: Add some new translation strings.
5890        * wptKeyGenDlg.cpp: Add all dialog text to the NLS suite.
5891          * WinPT.cpp (check_crypto_engine): Store the GPG version for later use.      * wptMainProc.cpp, wptClipDecryptDlg.cpp: Change to new packet parser.
5892        * wptClipImportDlg.cpp: Finished basic interface.
5893  2004-03-08  Timo Schulz  <[email protected]>  
5894    2001-02-24  Timo Schulz <[email protected]>
5895          * wptGPG.cpp (gnupg_import_keyrings): cleanups.  
5896        * wptGPG.cpp: (check_gpg_path): Fix a bug.
5897          * wptUTF8.c (utf8_to_wincp): New. Directly convert UTF-8 to Windows     (check_gpg_options): Fix some bugs.
5898          CP.  
5899          (wincp_to_utf8): Likewise.  2001-02-22  Timo Schulz <[email protected]>
5900          (conv_charset): Now internal and static.  
5901        * wptGPG.cpp: (check_line): New. Check if the line contains a valid
5902          * wptUTF8.h: New prototypes and remove the old prototypes.      gpg argument.
5903        (check_gpg_options): New. Parses each buffer line to check_line().
5904          * WinPT.cpp (WinMain): Destroy the windows handle in case of an error.  
5905    2001-02-21  Timo Schulz <[email protected]>
5906    
5907  2004-03-11  Timo Schulz  <[email protected]>      * wptGPG.cpp: Fix the check_gpg_optfile() code.
5908            (gpg_errstr): Define some error constants to be more verbose.
5909          * The DLL is now complety C-source.          (set_gpg_options): New. Manipulate the options file.
5910            (get_gpg_options): New. Read in the options file.
5911  2004-03-15  Timo Schulz  <[email protected]>      * wptFile.cpp: (get_file_size): New.
5912        * wptGPGOptDlg.cpp: New. Dialog for editing the options file
5913          * Decrypt list box has now a vertical scroll bar.  
5914    2001-02-20  Timo Schulz <[email protected]>
5915  2004-05-14  Timo Schulz  <[email protected]>  
5916        * wptGPGPrefsDlg.cpp: Add some sanity checks for the value.
5917          * WinPT.cpp (check_crypto_engine): Due to some      * wptClipImportDlg.cpp: Add some new code.
5918          internal  GPG changes the min. version for smart card  
5919          support is now 1.3.6.  2001-02-19  Timo Schulz <[email protected]>
5920    
5921          * wptProxySettingsDlg.cpp (read_proxy): Correct prefix      * wptRegistry.cpp: (is_installed): Remove.
5922          handling. Thanks to the folks who reported this via SF.net.      (regist_inst_winpt): Add selfcheck.
5923        (regist_inst_gpg): New. Add gpg releated registry entries.
5924          * wptRegistry.cpp (get_reg_winpt_prefs): Corrected enum ids.      (regist_inst_mo): New. Add nls related path.
5925          Thanks to the folks on winpt-users who reported it.      (get_reg_entry), set_reg_entry(): Modify to be more flexible.
5926        (set_reg_entry_gpg): Handy functions for get_reg_entry.
5927          * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix code in case of      (set_reg_entry_mo): Ditto.
5928          the hotkeys are disabled.      (get_reg_entry_gpg): Ditto.
5929        (get_reg_entry_mo(): Ditto.
5930          * wptKeylist.cpp (do_addkey): Broken ElGamal dection, fixed.      * wptGPGPrefsDlg.cpp, wptNLS.cpp: Add support for the locale environment.
5931        * wptGPG.cpp: (check_gpg_optfile): Figure out if the option file.
5932          * wptFileManager.cpp (fm_get_file_type): Do not parse the entire      include keyring entries (2x)
5933          file if the size is >= 256MB.      (check_gpg_path): Include the check_gpg_optfile() check.
5934    
5935  2004-05-31  Timo Schulz  <[email protected]>  2001-02-17  Timo Schulz <[email protected]>
5936    
5937          * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Implement the      * wptRegistry.cpp: (get_reg_entry): Return the GnuPG homedir from
5938          'X' close button. Noted by a friendly user.      the registry.
5939                (set_reg_entry): Set a gnupg registry key.
5940          Disable 'Save' button.      * wptGPG.cpp: Modify all function for the use with get_reg_entry().
5941        * WinPT.cpp: Change the way for the gpg searching mechanism.
5942          * wptMainProc.cpp (cleanup_tmp_files): Delete all related temp files.      * wptGPGPrefsDlg.cpp: New dialog for dynamic GPG configuration.
5943        * wptClipImportDlg.cpp: (key import dialog): New.
5944          * wptFileManager.cpp (fm_set_status): Do not use the data file name      * wptKeylistElement.cpp:
5945          for signatures but keep the original file name.      (wpt_lv_implist_build): Build up the key import list.
5946        (wpt_lv_implist_add_key): Insert a key into the import list.
5947          (fm_verify_pasted_detsig): Try to verify detached signatures from      (wpt_lv_implist_dummy): Dummy to build up a box with a fixed size.
5948          the clipboard.  
5949    2001-02-10  Timo Schulz <[email protected]>
5950  2004-06-02  Timo Schulz  <[email protected]>  
5951        * wptMainProc.cpp: Move ctb_proc and hotkey inits to this file.
5952          * wptClipEditDlg.cpp (clip_edit_dlg_proc): Do not issue an error      * wptKeylistElement.cpp: New.
5953          if there is no clipboard data.      * wptListElement.cpp: Remove.
5954        * wptW32API.cpp: Insert all lv_*** functions.
5955          Release memory in case of an error.      * wptKeylistElement.cpp: (wpt_lv_keylist_release_key): New.
5956        (wpt_lv_keylist_release_keys): Ditto.
5957          * wptKeyManager.cpp (keylist_cmp_cb): Allow to sort by algorithm.      * wptW32API.cpp: (w32_get_thread_id): New.
5958        (w32_attach_thread_input): New.
5959          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.      * wptMailPlugin.cpp: (oe_get_message): Add thread attach mechanism.
5960        (oe_get_message): Add thread attach mechanism.
5961        (oe_encrypt): Modify for the attach treach mechanism.
5962  2004-06-08  Timo Schulz  <[email protected]>      Add sanity check for recipients.
5963    
5964          * wptInet.cpp: New.  2001-02-07    Timo Schulz <[email protected]>
5965          * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Support for http  
5966          transfers.      * wptClipEditDlg.cpp: (clip_edit_dlg_proc): Add some sanity checks.
5967          * wptKeyManager.cpp (km_http_import): New.      * wptExportDlg.cpp: (clip_export_dlg_proc): Ditto.
5968    
5969    2001-02-04    Timo Schulz <[email protected]>
5970  2004-06-12  Timo Schulz  <[email protected]>  
5971        * wptSignDlg.cpp: (wpt_sign_proc): Add secret key listing.
5972          * wptInet.cpp: Updated.      * wptMainProc.cpp: (wpt_main_proc):
5973          * wptKeyManager.cpp (km_http_import): Use http_send_request2() to      Remove ciphertext checks for signing and encrypting.
5974          parse the URL.      (allow double encryption).
5975          * wptCommonDlg.cpp (http_file_dlg_proc): New.  
5976          (get_http_file_dlg): New.  2001-02-03  Timo Schulz <[email protected]>
5977    
5978  2004-06-19  Timo Schulz  <[email protected]>      * wptMailPlugin.cpp: (oe_find_msg_window): Fix window handles.
5979        (oe_find_addr_window): Ditto.
5980          * wptInet.cpp: Renamed to ...      (oe_find_main_window): Ditto.
5981          * wptHttp.c: ... this.  
5982          * wptKeyManager.cpp (km_http_import): Release 'p' not too early.  2001-02-02  Timo Schulz <[email protected]>
5983          * WinPT.cpp (WinMain): If there is a problem with the homedir,  
5984          jump to the first start settings.      * wptW32API.cpp: (w32_hit_key): New.
5985        (w32_rel_key): New.
5986  2004-07-11  Timo Schulz  <[email protected]>      (w32_copy_to_clip): New.
5987        (w32_insert_from_clip): New.
5988          * Bug fix for the validity revoked status. Now it is 'revoked'      (w32_get_clip_text): New.
5989          and not 'unknown' any longer.      (w32_set_clip_text: New.
5990        (w32_show_if_icon): New.
5991          * Feature to disable encryption. This might be useful for filetypes  
5992          GPG does not recognize as compress (movies, ...).  2001-02-01 Timo Schulz <[email protected]>
5993    
5994          * wptFileManager.cpp (fm_get_file_type): Skip packet detction if      * wptW32API.cpp: (w32_get_edit_text): New.
5995          the file is large and it has no openpgp extension.      (w32_set_menu_text): New.
5996        (w32_strdup): New.
5997  2004-07-12  Timo Schulz <[email protected]>      * wptMailPlugin.cpp: (oe_***): New. Basic OE interface.
5998        * Create all dialogs windows in the foreground.
5999          * wptRegistry.cpp: Support for disable compression of multi-media files.  
6000          (set_reg_winpt_single): New.  2001-01-31  Timo Schulz <[email protected]>
6001          (get_reg_winpt_single): New.  
6002        * wptKeygenDlg.cpp: (wpt_keygen_proc): Passphrase sanity check.
6003          * wptFileManager.cpp (is_multi_media): New.      * wptW32API.cpp: New.
6004          (fm_encrypt): Disable compression of multi-media files.      * WinPT.cpp: (WinMain): Change the keyring checking code.
6005          (fm_state_new): Set comment to indicate armored files were generated  
6006          by WinPT. This is a replacement due to the fact the WinPT string is not  2001-01-29  Timo Schulz <[email protected]>
6007          added in the 'Version' for larger files.  
6008        * wptClipboard.cpp: (clip_is_already_secure):
6009          * WinPT.cpp (WinMain): Extract the loadimage.exe from the DLL if not found.      Modify the pgp data detection.
6010    
6011  2004-07-13  Timo Schulz  <[email protected]>  2001-01-28  Timo Schulz <[email protected]>
6012    
6013          * wptFileManager.cpp (fm_assume_onepass_sig): New.      * wptHotkey.cpp: (register_hotkey): Hotkey registration.
6014          Thanks to Vedaal who found out that armored one-pass sigs are not      (unregister_hotkey): Hotkey removing.
6015          correctly recognized.      * wptHokey.h: New.
6016        * wptWndHook.cpp:
6017          (ask_filename): New.      (wpt_cpt_proc): Window hook to save the current windows.
6018          Again thanks to Vedaal who suggested to ask for a new output name      * wptWndHoo.h: New.
6019          for the case the user does not want to overwrite the file.      * wptMainProc.cpp: (wpt_main_proc): Add hotkey messages.
6020        * WinPT.cpp: (WinMain): Add hotkey registration.
6021          (fm_encrypt): Use it here.  
6022          (fm_decrypt): Likewise.  2001-01-21  Timo Schulz <[email protected]>
6023          (fm_sign): Likewise.  
6024        * wptNLS.cpp: ported to C++.
6025          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): New context menu entry      (gettext): Remove CP850 to ISO88591 conversation.
6026          to set secret keys to ultimate trust.    
   
         * wptKeyManager.cpp (km_check_for_seckey): Optionally return if the  
         key has ultimate trust.  
         (km_set_implicit_trust): New.  
   
 2004-07-27  Timo Schulz  <[email protected]>  
   
         * wptKeyManagerDlgProc.cpp (keymanager_dlg_proc): Set the new  
         value for the ownertrust.  
   
         * wptKeyManager.cpp (get_key_trust): Make it public.  
         (get_key_trust_str): New.  
         (km_refresh_from_keyserver): Allow to select random keys.  
         (km_refresh_one_key): New.  
   
         * wptKeyserver.cpp: Use default keyserver if possible.  
   
 2004-08-02  Timo Schulz  <[email protected]>  
   
         * wptKeysigDlg.cpp (do_create_popup): New.  
         (do_load_keyprops): New.  
   
         (keysig_dlg_proc): Factor out some common code and use  
         do_load_keyprops.  
   
         * wptKeyServer.cpp (kserver_check_inet_connection): New.  
   
         * wptKeyManger.cpp (km_refresh_from_keyserver): First check  
         for an active internet connection. It's annoying for the  
         user to confirm an connection error for each key (n>40).  
   
 2004-08-04  Timo Schulz  <[email protected]>  
   
         * wptClipEditdlg.cpp (clip_edit_dlg_proc): Removed the  
         edit-field to display the text. Now a RichEdit field is  
         used. This solves the XP problem that the viewer is empty  
         even if there is text in it.  
   
         * wptKeyManger.cpp (km_file_export): Add WinPT specific comment.  
   
         * wptKeySigDlg.cpp (sigprops_dlg_proc): New.  
         (keysig_dlg_proc): Add new 'Properties' button and implement  
         the code for it.  
   
         * wptSigList.cpp: Add support to show the expiration date.  
   
         * wptGPGME.cpp (keycache_init): Support to show the progress bar.  
         (keycache_release): Store the amount of keys in the registry for  
         the progress dialog.  
   
         * wptPreferenceDlg.cpp (prefs_dlg_proc): Add support to generate  
         default keyserver.conf.  
   
         * wptKeyserver.cpp (kserver_load_conf): Store the mod-time of the file.  
         Fix possible buffer overflow.  
         (wsock_end): Release stored keyserver list.  
   
         * wptEncryptDlg.cpp (clip_encrypt_dlg_proc): Allow to search for  
         a specific recipient and select it.  
   
 2004-08-05  Timo Schulz  <[email protected]>  
   
         * wptKeySigDlg.cpp (sigprops_dlg_proc): Set the 'expired' flag  
         when possible.  
         New dialog layout to enhance the readability of the text. Use  
         flat check boxes for the same reason.  
   
         * wptKeyEditDlgs.cpp (do_editkey_expire): Set new value to  
         the right column (3 not 4).  
   
         * wptFileManagerDlg.cpp: Make sure the wipe freespace tempfile  
         uses a unique name.  
   
   
 2004-08-06  Timo Schulz  <[email protected]>  
   
         * wptContext.h: Move subclass_s context to this file.  
   
         * wptKeysigDlg.cpp (subclass_dlg_proc): New.  
   
   
 2004-08-19  Timo Schulz  <[email protected]>  
   
         * wptKeyEditDlg.cpp (keyedit_addsubkey_dlg_proc): Corrected  
         key numbers.  
   
         * wptKeysigDlg.cpp (do_delsig): New. Implement 'delsig' command.  
         (is_sig): Change code to allow to check pre-defined fields.  
   
         * WinPT.cpp (WinMain): Allow read-only support for keyrings.  
   
 2004-08-20  Timo Schulz  <[email protected]>  
   
         * wptKeyManagerDlg.cpp (do_create_minpopup): In read-only  
         mode the menu is not available.  
         (popup_gpg_readonly): New.  
         (menu_gpg_readonly): New.  
         (keymanager_dlg_proc): Use it here. Do not check the permissions  
         any longer since this is now handle via the read-only code.  
         * wptMainProc.cpp (winpt_main_proc): Check if the keyrings  
         are in read-only mode.  
         * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): RSA support.  
         * wptKeySignDlg.cpp (keysign_dlg_proc): Allow non-revocably  
         signatures in expert mode.  
         * wptKEyEditDlgs.cpp (do_find_userid): Release context.  
         * wptGPG.cpp (gpg_check_permissions): Only print out a warning  
         in the interactive mode.  
         * wptTrayPopDlg.cpp (WndProc): Destroy the window when the left  
         mouse button is clicked.  
   
 2004-08-24  Timo Schulz  <[email protected]>  
   
         * wptKeyEditDlgs.cpp (userid_list_init): Add creation date for  
         the user-ids.  
         * wptKeygenDlg.cpp (key_wizard_dlg_proc): Allow to switch into  
         expert mode when the non-interactive mode is used.  
         * WinPT.cpp (WinMain): Start the keygen wizard instead of the  
         expert dialog and allow to switch to it.  
   
 2004-08-25  Timo Schulz  <[email protected]>  
   
         * wptFileManager.cpp (fm_get_file_type): Skip files over 32 MB  
         and skip to read large files on floppy discs.  
         (fm_wipe): Display a 'wait' cursor until the wipe is complete.  
         (is_floppy_disc): New.  
         * wptFileManagerDlg.cpp (filelist_subclass_proc): New.  
         (file_manager_dlg_proc): Use subclassing to allow some hotkeys.  
   
 2004-08-26  Timo Schulz  <[email protected]>  
   
         * WinPT.cpp (load_keyserver_conf): New. Factored out some code  
         from WinMain ().  
         (WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner  
         * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver  
         in the list control, add at least the internal default HKP server.  
         * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.  
         * wptKeySignDlg.cpp (sig_class_dlg_proc): Likewise.  
         (keysign_dlg_proc): Likewise.  
         * wptKeySigDlg.cpp (keysig_dlg_proc): Likewise.  
         * wptKeyserver.cpp (skip_type_prefix): New. Thanks to Marcus Junk.  
         (kserver_connect): use it here.  
         (kserver_send_request): Likewise.  
         (kserver_recvkey): Likewise.  
   
 2004-08-27  Timo Schulz  <[email protected]>  
   
         * wptKeyserver.cpp (skip_whitespace): New.  
         * Fix a problem with the key cache. The new hash item was  
         not initialized to zero and thus the free caused an illegal access.  
         Thanks to Ralf for pointing this out.  
         * wptTextInputDlg.cpp (text_input_dlg_proc): Finished with localisation.  
         * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.  
         * wptFirstRunDlg.cpp (first_run_dlg_proc): Remove global variable and  
         use a context to store the value. Loalize all text strings.  
         * wptKeyList.cpp (key_check_validity): Cannot use gettext here.  
         (keylist_get_recipients): Increase buffer for gettext messages.  
   
 2004-08-28  Timo Schulz  <[email protected]>  
   
         * WinPT.cpp (WinMain): Free gpg table in case of an error.  
         * wptFileManagerDlg.cpp (filelist_subclass_proc): New.  
         (filemanager_dlg_proc): Subclass the list control.  
         * Fix Alt+C for the winpt_prefs_dlg_proc.  
         * wptKeyserver.cpp (kserver_load_conf): Ignore lines with  
         just whitespaces. Thanks to the folks on winpt-users.  
   
 2004-09-01  Timo Schulz  <[email protected]>  
   
         * wptGPG.cpp (GPG_CONF): Define it. Use gpg.conf by default.  
         (default_key_from_cache): Use new key attribute 'usable'.  
         * WinPT.cpp (show_unprotected_keys): Removed.  
         * wptKeylist.cpp (check_key): Removed.  
         (seclist_init): Use new 'usable' key attribute.  
         (keylist_add_key): Likewise.  
         * wptKeyManagerDlg.cpp (keylist_subclass_proc): support to  
         add keys via 'INSERT'.  
         * wptListView.cpp (listview_select_one): New.  
         (listview_find): New.  
         * wptFileManager.cpp (fm_get_current_pos): If there is only  
         one item, return 0 but also select it. Thanks to Christian.  
   
 2004-09-07  Timo Schulz  <[email protected]>  
   
         * wptAboutDlg.cpp (about_dlg_proc): Add 'Help' button. Suggested by Ralf.  
         * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.  
   
 2004-09-08  Timo Schulz  <[email protected]>  
   
         * wptKeyserverDlg.cpp (kserver_get_pos): If only one element is  
         in the list, return zero.  
   
 2004-09-20  Timo Schulz  <[email protected]>  
   
         * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable 'Sign' in  
         context menus when the key is flagged as revoked.  
         (update_ui_items): Likewise and set the 'ShowPhoto' flag only if  
         the key has such an item.  
   
 2004-10-01  Timo Schulz  <[email protected]>  
   
         * wptClipSignDlg.cpp: Really use the selected subkey with the  
         right '!' syntax. Thanks to Vedaal for pointing this out.  
         * wptGPG.cpp (gnupg_backup_keyrings): Check if the backup device  
         is accessable and writeable, otherwise inform the user. Kudos to  
         the one who reported this problem.  
   
 2004-10-07  Timo Schulz  <[email protected]>  
   
         * wptErrors.cpp (winpt_errmsg): Use a generic header when no  
         filename is supplied.  
         * wptMainProc.cpp (cleanup_tmp_files): Do not use BUG but  
         an error message which is more clean. Thanks to Ralf.  
         * wptCardDlg.cpp (card_keygen_dlg_proc): Support new card  
         admin mode.  
         * wptKeySignDlg.cpp (do_check_protection): Also check for smart  
         card protection.  
         (get_keyinfo): Return if this is a smart card key.  
         * wptKeyEditDlgs.cpp (do_find_userid): Use UTF8 encoding before  
         comparing the names.  
         * winpt.cpp: Now depends on PTD 0.7.1.  
   
 2004-10-15  Timo Schulz  <[email protected]>  
   
         * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Make sure that opt  
         is really initialized.  
   
 2004-10-25  Timo Schulz  <[email protected]>  
   
         * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Issue an info box  
         if the PGP message is complete but broken during the transport.  
         Thanks to Werner and Achim.  
         * wptFileManager.cpp (fm_sym_encrypt): Do not force CAST5. Thanks  
         to the gnupg-users.  
         * Automatically add '\r\n' to the text before signing. This solves  
         the problem the last line is not included if no \r\n is present.  
         * wptClipEditDlg.cpp (clip_edit_dlg_proc): Add a 'mail quote' mode  
         which prepends the text with '> '. This makes it easier to quote  
         decrypted text.  
         * wptKeyserverDlg.cpp (keyserver_list_build): Code which was factored  
         out from..  
         (keyserver_dlg_proc): ..here.  
   
 2004-11-04  Timo Schulz  <[email protected]>  
   
         * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Support preferred  
         keyserver sub packets.  
   
         * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Set a flag to  
         indicate we need to reload the cache. If a user deletes a key  
         and exits the manager and loads it again the deleted key is  
         still in cache and provoked an error.  
           
         * wptKeySigDlg.cpp (do_load_keyprops): Stricter key checks.  
   
         * wptW32API.cpp (center_window): Replaced with real code which calculates  
         the position relative to the desktop window.  
   
 2004-12-02  Timo Schulz  <[email protected]>  
   
         * wptKeySigDlg.cpp (do_load_keyprops): Only issue errors for non-main nodes.  
   
 2004-12-11  Timo Schulz  <[email protected]>  
   
         * wptFileManager.cpp (fm_add_opened_files): Fix broken code to detect  
         the file type.  
         (fm_parse_command_line): Likewise.  
   
 2004-12-15  Timo Schulz  <[email protected]>  
   
         * wptFileManagerDlg.cpp (space_wipefrees_dlg_proc): Use the right  
         temp name.  
         * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable 'OK' button  
         when no secret key is available.  
   
 2004-12-20  Timo Schulz  <[email protected]>  
   
         * wptGPG.cpp (check_gnupg_engine): Fixed version checking.  
         * wptFileManager.cpp (fm_encrypt): Delete the passphrase from the  
         cache if it is not valid.  
           
         Fix problem with a NULL pointer.  
   
 2004-12-30  Timo Schulz  <[email protected]>  
   
         * wptKeyserverDlg.cpp (keyserver_list_build): Initialize pointer.  
         This fixes the problem that the dialog crashes when the user selects  
         anything. Thanks to my users.  
         (keyserver_dlg_proc): s/keyserver/kserver. Thanks to Ulf.  
           
 2005-01-07  Timo Schulz  <[email protected]>  
   
         * wptKeyserver.cpp (skip_type_prefix): Support all URL schemes.  
         (finger_recvkey): Use skip_type_prefix and prevent buffer overflows.  
         (ldap_recvkey): Likewise.  
         (check_hkp_response): Be more liberal with error strings.  
         (kserver_connect): Prevent buffer overflow and use the right return  
         code for inet_addr().  
         (kserver_search_chkresp): New.  
         (kserver_search): Fixed. Now it works with modern keyservers.  
         * wptKeylist.cpp (seclist_init): Add new flags param.  
         * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use short secret key  
         listing.  
         * wptClipboardSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.  
         * wptMainProc.cpp (winpt_main_proc): GPGME cleanup.  
         * WinPT.cpp (WinMain): call GPGME init.  
         Reword the 'you have no keyring' problem and revamp the first run dialog.  
         * wptGPG.cpp (gnupg_access_keyring): New.  
         (gnupg_check_keyring): Removed unused code.  
         * wptFirstRunDlg.cpp (first_run_dlg_proc): Adjust dialog for the  
         new texts and remove unused elements.  
         * wptKeyserverDlg.cpp (keyserver_dlg_proc): s/keyserver/kserver. The  
         last annoying typo.  
         * wptKeyserverSearchDlg.cpp (hkpsearch_dlg_proc): End dialog in case of  
         an error.  
   
 2005-01-08  Timo Schulz  <[email protected]>  
   
         * Applied the patches to make the source G++ compatible.  
         * wptKeyserver.cpp (kserver_load_conf): Use the stripped string.  
         * wptKeygenDlg.cpp (keygen_dlg_proc): Default key size is now 2048.  
         * wptFileManagerDlg.cpp (fill_drive_combobox): Do not add CD-Roms.  
   
 2005-01-10  Timo Schulz  <[email protected]>  
   
         * WinPT.cpp (load_gettext): New.  
         (WinMain): Use it here to load it before --keymanager. Thanks to Ralf.  
   
 2005-01-20  Timo Schulz  <[email protected]>  
   
         * wptKeycacheDlg.cpp (keycache_dlg_proc): Be less strict with the  
         keyring check. If the file exists, it is enough.  
         * wptKeyring.cpp (kserver_load_conf): Use C++ new for proxy_host.  
         Several cleanups and allow to specify the port of the keyserver.  
         * wptMainProc.cpp (winpt_main_proc): Handle WM_CLOSE to make sure  
         the application terminates clearly when Windows shutdown.  
   
 2005-01-21  Timo Schulz  <[email protected]>  
   
         * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Allow to retrieve keys  
         which are not in the keyring. Suggested by djek.  
         * wptFileManagerDlg.cpp (filemanager_dlg_proc): Implement basic  
         'Always on Top'.  
         Allow to send encrypted files via MAPI.          
         * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Only reload the keycache  
         if the HKP retrieval succeeded.  
         * wptFileStatDlg.cpp (do_list_packets): Make sure that the pkt pointer  
         is not NULL.  
         * wptKeyManager.cpp (km_clip_export): Prefix the clipboard text with  
         a header similar to 'gpg -k name'.  
         * wptErrors.cpp (log_box): Use msg_box to make sure the box is visible  
         with 'Always on Top' windows.  
         * wptFileManager.cpp (fm_parse_files): Set progress callback for  
         wiping files.  
         (fm_add_opened_files): Do not add the file in case of an error.  
         * wptKeyserverDlg.cpp (kserver_get_port): New.  
         (save_default_ks): Save port.  
         * wptKeyserver.cpp (set_default_kserver): Get port or use default.  
         (kserver_connect): Logging.  
         (kserver_send_request): Likewise. Thanks to Markus.  
         * wptError.cpp (w32_fmt_msg): New.  
         (winpt_strerror): Show the W32 API error if the hotkey could not  
         be registered.  
   
 2005-01-25  Timo Schulz  <[email protected]>  
   
         * wptCardDlg.cpp (card_keygen_dlg_proc): Make 'backup keys' default  
         and that all values are 7-bit ASCII.  
         Use '*' for the passphrase field.  
         * wptGPG.cpp (multi_gnupg_path): New.  
         (get_gnupg_path): Use it here.  
         (check_homedir): Likewise.  
         * wptKeyserverDlg.cpp (save_default_ks): Fix problem that the port  
         is actually set.  
         * wptFileManager.cpp (fm_clearsign_8bit): New.  
         (fm_parse_files): Check if the file to clearsign is really 7-bit.  
         Thanks to djek.  
         (fm_set_ftype): Factored out some code from...  
         (fm_add_dropped_files): ...here. Simplied the code.  
         (fm_add_dir_files): New.  
         * Removed MD5 from MyGPGME and the new default sym cipher is AES.  
         * wptProgressDlg.cpp (progress_dlg_proc): Use additional HAND var  
         to track the window handle.  
         (progress_cleanup): Try to close tracking handle first.  
   
 2005-01-26  Timo Schulz  <[email protected]>  
   
         * wptGPG.cpp (multi_gnupg_path): Zero buffer before use.  
         * wptKeyManagerDlg.cpp: Add 'Select All' feature.  
         Move 'Edit->Key' to 'Key->Edit'.  
         * wptFileManagerDlg.cpp: Likewise.  
         * wptKeyPropsDlg.cpp (keyprops_show_photo): Show the JPG photo directly.  
         * wptKeyManager.cpp (spawn_loadimage): Removed.  
         (km_show_photo): Removed.  
         * wptRevokersDlg.cpp (revokelist_init): Fixed index.  
         * wptErrors.cpp (winpt_strerror): Show system error for registry  
         related problems.  
   
 2005-02-02  Timo Schulz  <[email protected]>  
   
         * wptPassphraseDlg.cpp (passwd_dlg_proc): use center_window2, otherwise  
         it is invisible.  
         * wptPassphraseCB.cpp (passphrase_callback_proc): Do not cache symmetric  
         passphrases.  
         * Enable the progress dialog for symmetric encryption.  
         * wptFileManager.cpp (fm_check_file_type): Also check for 'SYMKEYENC' in  
         FM_ENCRYPT mode.  
         * WinPT.cpp (WinMain): SETUP_EXISTING implemented.  
         * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Reset 'Locale directory' when  
         no value is entered.  
   
 2005-02-04  Timo Schulz  <[email protected]>  
   
         * wptProgressDlg.cpp (progress_cb_thread): Set root window if available.  
         If the progress window survives by accident, it will be closed when the  
         File Manager (root window) is closed.  
   
 2005-02-07  Timo Schulz  <[email protected]>  
   
         * wptFileManager.cpp (fm_parse_files): Do not use the progress dialog  
         for signing and verifying. But this does not fix the problem tha the  
         dialog sometimes stay and is not destroyed.  
   
 2005-02-23  Timo Schulz  <[email protected]>  
   
         * wptKeyserver.cpp (check_hkp_response): Support for HTTP/1.1.  
         (kserver_search): Be more strict.  
         * WinPT.cpp (WinMain): Enable FM progress by default.  
         * wptFileManagerDlg.cpp (file_preferences_dlg_proc): New.  
         (fm_parse_files): Use progress dialog only if it is  
         enabled.  
   
 2005-03-03  Timo Schulz  <[email protected]>  
   
         * wptCardDlg.cpp (card_changepin_dlg_proc): Add item to re-type the  
         new PIN. Suggested by Achim.  
         Support to show the unmasked PIN.  
         Modified TAB-order.  
         * wptPINDlg.cpp (pin_cb_dlg_proc): Show unmasked PIN.  
   
         * Fixed wrong GPG --command-fd strings. Thanks to Achim.  
   
 2005-03-04  Timo Schulz  <[email protected]>  
   
         * GPG asks twice for the new PIN. Thanks to Achim.  
         * wptCardDlg.cpp (card_changepin_dlg_proc): Reset the 'safety' pin also.  
         Only check the passphrase if the backup flag is enabled. Again thanks to  
         Achim.  
   
 2005-03-06  Timo Schulz  <[email protected]>  
   
         * wptKeySignDlg.cpp (do_fill_seckeylist): Skip secret keys without  
         a public key. Noted by Kurt Fitzner.  
   
 2005-03-22  Timo Schulz  <[email protected]>  
   
         * WinPT.cpp (WinMain): --debug as an alias for --enable-debug.  
         (enable_mobile_mode): New.  
         * wptKeyEditDlg.cpp (keyedit_addsubkey_dlg_proc): Use new  
         ID's for adding subkeys.  
   
   
   
   
   

Legend:
Removed from v.6  
changed lines
  Added in v.246

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26