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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.2  
changed lines
  Added in v.256

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26