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

Diff of /trunk/Src/ChangeLog

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

revision 30 by twoaday, Sat Oct 22 10:17:59 2005 UTC revision 286 by twoaday, Fri Mar 9 19:34:17 2007 UTC
# Line 1  Line 1 
1  2005-10-21  Timo Schulz  <[email protected]>  2007-03-09  Timo Schulz  <[email protected]>
2    
3          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use          * wptClipImportDlg.cpp (print_import_status): Use the fingerprint
4          WM_INITPOPUPMENU to localize popup menu texts.          instead of the key ID to avoid problems with v3 keys.
5          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.          * wptClipDecryptDlg.cpp (verify_get_clip_info): Use key ID
6          * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.            in case of v3 keys. Noted by Raphael
7            (verify_show_signature_state): Likewise.
8  2005-10-20  Timo Schulz  <[email protected]>          * wptVerifyList.cpp (verlist_add_sig_log): Likewise.
9            (verlist_add_sig): Likewise.
10          Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.            
11    2006-12-30  Timo Schulz  <[email protected]>
12          * wptPassphraseCB.cpp (passphrase_cb): Complete card support.  
13          * wptCardEdit.cpp (genKey): Handle cancel case.          * StringBuffer.cpp (StringBuffer): New.
14          * keycache.c: Renamed into...          * wptPassphraseDlg.cpp (set_passphrase_hint): Replace error prone
15          * wptKeyCache.cpp: ...this.          sprintf code with the new string buffer implementation.
16          * wptW32API.cpp (set_menu_text): Removed unused code.          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
17          (set_menu_text_bypos): New.  
18          * wptCrypto.h: New.  2006-12-28  Timo Schulz  <[email protected]>
19          * wptMainProc.cpp (winpt_main_proc): Complete localize  
20          menu texts.          * wptKeylist.cpp (get_key_desc): Avoid possible overflow.
21          * wptErrors.cpp (log_debug): Use a static var so the file          * wptW32API.cpp (get_locale_time): New.
22          is only opened once.          (get_locale_timedate): New.
23          (debug_end): Cleanup. Currently just close the log file.          * wptVerifyList.cpp (strtimestamp): Deleted. Changed all
24          * wptErrors.h (wipememory): New.          callers to get_locale_timedate.
25          (sfree_if_alloc): Use it here.          * wptMainProc.cpp (winpt_main_proc): Cleanup gettext resources.
26          * WinPT.cpp (WinMain): Display the min. GPGME version which          * wptNLS.cpp (gettext_free_current_domain): New.
27          is needed in case of an error.          (gettext_set_file): Removed all '/' code.
28            * wptPassphraseCb.cpp (passphrase_callback_proc): Make sprintf
29  2005-10-17  Timo Schulz  <[email protected]>          code more robust.
30    
31          Free all memory returned by the GPGME dll with gpgme_free ().  2006-12-21  Timo Schulz  <[email protected]>
32    
33          s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.          * wptCryptDisk.cpp, wptCryptDiskSrv.cpp: Deleted.
34            The Code will be possibly used in a separate project.
35          * wptKeyEdit.cpp (getCardStatus): Remove dummy key.  
36          (list_handler): With user interaction to allow to insert  2006-12-05  Timo Schulz  <[email protected]>
37          the card into the reader.  
38          * wptKeyEditCB.cpp (gpg_edit_card): Likewise.          * wptClipDecryptDlg.cpp (verify_get_clip_info): If
39          (common_card_handler): Fixed incorrect command string.          there is no pubkey available, issue a hint and not BUG.
40          * wptKeyPropsDlg.cpp (get_card_type): New.          
41          (keyprops_dlg_proc): Show card information if present.  2006-12-02  Timo Schulz  <[email protected]>
42          * wptFileManager.cpp (secret_key_available): Make the code faster.  
43                    * WinPT-en.rc: Remove wipe free space menu item.
44            * wptRegistry.cpp (get_reg_winpt_prefs): Remove wipemode.
45  2005-10-16  Timo Schulz  <[email protected]>          * wptFileManageRDlg.cpp (file_secdel_confirm_dlg_proc):
46            Allow to set the passes here.
47          * wptPassphraseCB.cpp (passphrase_cb): Fix problem          * wptFileManager.cpp (fm_encrypt): change all callers
48          with hanging GPG process on cancel.          for the wipe functions.
49          * keycache.c (gpg_keycache_release): Release all objects.          * wptListview.cpp (listview_sort_items): Extract code
50            to change the column image.
51  2005-10-15  Timo Schulz  <[email protected]>          * wptKeylist.cpp (key_get_image_id): New.
52            (keylist_build): Change return type and all callers.
53          * wptCardEdit.cpp (setResult, getResult): New.          * wptGPG.cpp (gnupg_load_config): Kludge to detect
54          (reset): New.          the 'textmode' option.
55          (getCardStatus): Check return codes and release all objects          * wptPassCache.cpp (wipe_data): replaced with wipememory().    
56          in case of errors.  
57          * wptCardEditCB.cpp (change_pin_handler): Call reset()  2006-11-12  Timo Schulz  <[email protected]>
58          before quit.  
59          (editcard_handler): Likewise.          * wptGPG.cpp (check_gnupg_options): Fix sizeof != DIM problem.
60          (common_card_handler): New.          * wptGPGOptDlg.cpp (gpg_opt_dlg_proc): Better checks to
61          * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask          avoid invalid gpg.conf entries.
62          the old PIN when 'Hide Typing' is disabled.          Thanks to Ralf Latz.
63          * wptPassphraseCB.cpp (passphrase_cb): The card detection          
64          works again. Support to re-enter passphrase.  2006-11-04  Timo Schulz  <[email protected]>
65    
66  2005-10-14  Timo Schulz  <[email protected]>          * wptW32API.cpp (set_clip_text2): Make sure enough memory
67            will be allocated.
68          * wptCardDlg.cpp (card_status): New fields for the          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Delete list
69          fingerprint creation time. Display card info as title.          view entries for none existing files.
70          (get_printable_version): New.          * wptKeySignDlg.cpp (keysign_dlg_proc): Simplified.
71          * wptCardEditCB.cpp (editcard_handler): Fix problem          * wptClipboard.cpp (gpg_data_change_version): Be more liberal.
72          with the counter comparison.          * wptKeyserver.cpp (parse_pub_record): Convert FPR entries
73            into KEYID entries.
74  2005-10-11  Timo Schulz  <[email protected]>          * wptGPG.cpp (gnupg_backup_keyrings): Release memory in case
75            of errors.
76          Port to GPGME basically finished.          (get_backup_name): Use constant formant spec.
77            (extract_keyid): Simplified.
78  2005-09-20  Timo Schulz  <[email protected]>          * wptKeyserver.cpp (kserver_connect): Return proxy error if
79            approriate.
80          * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Correct memory
81          Do not use gpgme_recipients_t but the listview directly          handling to avoid possible segfaults.
82          to add the selected files.          (fetch_key_from_keyserver): Real error handling.
83            * wptFileManager.cpp (fm_gpg_verify): New.
84  2005-09-07  Timo Schulz  <[email protected]>          (fm_verify): Support to fetch key here to avoid problems later.
85            * wptFileCBS.cpp (file_data_rewind): New.
86          * Make sure all GetOpenFileName filters are terminated by \0\0.          
87            
88  2005-09-01  Timo Schulz  <[email protected]>  2006-10-27  Timo Schulz  <[email protected]>
89    
90          * wptW32API.cpp (center_window): New argument for parent window.          * wptGPG.cpp (get_backup_name): Make sure enough memory
91          Change all callers.          will be allocated.
92          (center_window2): Likewise.          (gnupg_backup_keyrings): Release memory in case of errors.
93          * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.          
94          * wptGPG.cpp (gnupg_backup_options): Remove param. One backup  2006-10-21  Timo Schulz  <[email protected]>
95          file is enough. Changed all callers.  
96            * wptKeyserver.cpp (get_reg_proxy_prefs): Load the protocol
97  2005-08-15  Timo Schulz  <[email protected]>          and store it.
98            * wptKeyCache.cpp (parse_attr_data): Avoid zombie temp files.
99          * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.          
100          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.  2006-10-04  Timo Schulz  <[email protected]>
101          * Make sure the passphrase is always overwritten before it is  
102          freed (or the function returns).          * wptFileManager.cpp (fm_check_armor_type): Remove space in
103          * wptKeyPropDlg.cpp (get_pref_cipher): New.          search pattern string.
104          (keyprops_dlg_proc): Use it here.          (fm_check_for_entry): Case insentensive search.
105            (fm_add_dir_files): Use W32 API directly.
106  2005-08-06  Timo Schulz  <[email protected]>          * wptVerifyList.cpp (verlist_add_sig_log): Use proper icon.
107            * wptGPGUtil.cpp (get_gpg_version): Cleanups.
108          * wptGPGME.cpp (keycache_update): Reload OpenPGP parts          
109          of the secret key.  2006-08-30  Timo Schulz  <[email protected]>
110          (keycache_init): cache name of secret keyring.  
111          * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.          * wptRegistry.cpp (get_reg_entry): Do not use static buffers.
112          (get_key_type): Do not assume 'ultimate' means key pair.          * wptKeyserverDlg.cpp (add_pattern_to_combox): New.
113          * wptKeyEditDlgs.cpp (diff_time): New.          (save_pattern_from_combox): New.
114          (keyedit_addsubkey_dlg_proc): Changed design and use          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Solve icon problem.
115          diff_time. Drop checks for invalid keylength (< 1024, > 4096)          * wptGPGMEWrapper.c (importFromBuffer): New.
116          because the combo box automatically handles this.          * WinPT.cpp (check_crypto_engine): Only enable PC/SC when the
117          * wptKeyManager.cpp (km_set_implicit_trust): Return error code.          system really has smart card services enabled.
118          * wptGPG.cpp (get_backup_name): New.          * wptKeyManger.cpp (km_http_import): Stricter error checking.
119          (gnupg_backup_keyrings): Rotate backup names, from 0..3.          * wptFileManager.cpp (fm_send_file): Use at least MAX_PATH
120          * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.          for the file name.
121          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and          
122          not the long keyid.  2006-08-24  Timo Schulz  <[email protected]>
123    
124  2005-08-05  Timo Schulz  <[email protected]>          * wptHTTP.cpp (extraHostInfo): Handle case when no doc were given.
125            (get): Better error handling.
126          * wptListView.cpp (listview_set_item2): New.          (head): Likewise.
127          * wptKeyManager.cpp (km_check_if_protected): Directly          * wptGPGME.cpp (sigsum_to_index): Just map the index without
128          retrieve gpgme_key_t from the list.          any checks.
129          (km_check_key_status): Likewise.                  * wptCommonDlg.cpp (check_URL): Be more strict.
130          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use          
131          a human-readable name for secret key export.  2006-08-11  Timo Schulz  <[email protected]>
132          Reload just the keys which were affected by updates  
133          (edit-key).          * wptGPGMEWrapper.cpp (importFromFile): New.
134          (update_key): New.          (importFromClipboard): New.
135          * wptKeyList.cpp ((keylist_upd_key): Stripped down          (importGetResult): New.
136          version of keylist_add_key.          * wptKeyManager.cpp (km_file_import): Use gpgme wrapper.
137          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not          (km_clip_import): Ditto.
138          reload the keycache here, just flag 'update'. Give the          * wptKeyEdit.cpp (addCardKey): New.
139          control to the calling dialog.          * wptKeyEditCB.cpp (cmd_addcardkey_handler): New.
140          * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t          * wptCardEdit.cpp (get_str_timestamp): Use locale date format.
141          as parameter. Changed all callers.          * wptCardDlg.cpp (card_edit_dlg_proc): Began to localize dialog.
142          Add date of expiration to the key info.          * wptKeyCache.cpp (key_divert_to_card): Adjusted for 'addcardkey'.
143          (get_expire_date): New.          
144          Use a checkbox to allow to ask for the cert level.  2006-08-10  Timo Schulz  <[email protected]>
145          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload  
146          the cache.          * wptFileManager.cpp (fm_verify_pasted_detsig): '=' should be
147            '=='.
148  2005-08-04  Timo Schulz  <[email protected]>          * wptGPGME.cpp (sigsum_to_index): Correctly handle expired
149            keys and signatures.
150          * wptListView.cpp (listview_scroll): New.          (get_gpg_sigstat): Adjusted code.
151          (listview_get_item2): New.          * wptCardDlg.cpp (card_changepin_dlg_proc): Cleanups.
152          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the          (gpg_card_load): Improved card detection code.
153          item was found, make it visible with scrolling.          * wptFirstRunDlg.cpp (first_run_dlg_proc): Allow to generate
154          * wptKeyManager.cpp (km_find_key): New.          a key on a card. Suggested by Achim.
155          (keylist_subclass_proc): Support to handle some acceleators.          * wptUtil.cpp (check_email_address): Add sanity check for
156          Strg+{C, P, F, A}.          the length.
157          (km_get_key_status): Get the gpgme_key_t object directly          * WinPT.cpp (WinMain): Handle cardgen request.
158          from the list.          
159          * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set  2006-08-04  Timo Schulz  <[email protected]>
160          the config file (if it exists).  
161          * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code          * wptKeysignDlg.cpp (display_keyinfo): Skip revoked user IDs.
162          to handle the click->activate situation.          * wptKeyManagerDlg.cpp (reload_keylist): Use updated ptr.
163          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.          * wptKeyCache.cpp (gpg_keycache_delete_key): Correct handling
164          Support to check the passphrase quality.          for the situation that the last key in the cache is deleted.
165          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.          * wptFileManagerDlg.cpp (update_ui_items): Fix file name
166          (request_passphrase): Rename 'init' to 'flags' to allow more          detection.
167          options.          
168          * wptMAPI.cpp: Check all *alloc results.  2006-08-02  Timo Schulz  <[email protected]>
169          * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary  
170          passphrase quality check.          * wptClipDecryptDlg.cpp (verify_get_clip_info): Fix problem
171          * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file          with static data.
172          format and allow to save the checksum in a file.          (clip_decrypt_dlg_proc): Prefix keyid with 0x.
173          * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning          (get_key_userid): Fix problem when key was not found.
174          when the PGP mode is disabled.          * wptClipVerifyDlg.cpp (fetch_key_from_keyserver): Correct
175          wptKeyEditDlgs.cpp (do_editkey_primary): Return if just          fingerprint to short keyid conversion.
176          one user-ID exists.          * wptVerifyList.cpp (verlist_set_additional_info): Handle bad
177          (keyedit_dlg_proc): Fixed index problem.          sigs.
178          * wptKeyPropsDlg.cpp (get_validity): New.          * wptKeyManagerDlg.cpp (update_status_bar): Faster update code.
179          (keyprops_dlg_proc): Actually show extended validity if possible.          
180          * wptKeyList.cpp (get_key_fpr): Support for old v3 format.          
181          (do_addkey): Use listview_add_item2 to store key as opaque  2006-08-01  Timo Schulz  <[email protected]>
182          param inside the list.  
183          * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.          * wptGPG.cpp (get_last_gnupg_access): Enhanced.
184          (file_stat_dlg_proc): End dialog if no PGP data was found.          (gnupg_display_error): Removed unused code.
185          (do_list_packets): Return the number of valid PGP packets          * wptPassphraseCB.cpp (parse_gpg_description): Text output
186          of the file.          is now more human readable.
187            * wptKeyManager.cpp (km_refresh_from_keyserver): Return an
188  2005-08-02  Timo Schulz  <[email protected]>          error code in all cases.
189            
190          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of  2006-07-31  Timo Schulz  <[email protected]>
191          using 'Default Keyserver' add the real keyserver name to  
192          the menu.          * wptMainProc.cpp (clip_gpg_dlg): Merge in the current window
193          The rebuild command does not reload the cache any longer.          handling code.
194          Use ATTR_NAME + .asc as the filename and not keyid + .asc.          * wptCurrWnd.cpp (wnd_msg_em_set_pos): Reset pos to 0, not 1.
195          * wptProxySettingsDlg.cpp (enable_proxy_auth): New.          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable sorting
196          (keyserver_proxy_dlg_proc): Changed the design a little          for list view controls.
197          and add some additional sanity checks.          
198          * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.  2006-07-30  Timo Schulz  <[email protected]>
199          This fixes the problem that the GPG option dialog does not show  
200          very nice lines.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Change menu style.
201          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.          * wptKeySignDlg.cpp (keysign_dlg_proc): List all user IDs.
202          * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected          (display_keyinfo): New.
203          check for 'NOKEY' before asking a keyserver.          * wptKeySigDlg.cpp (init_datepicker_from_time): New.
204          * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.          (keysig_dlg_proc): List creation time.
205          If a lot of keys were selected, ask if the user wants to confirm          * wptKeyManager.cpp (km_send_to_mail_recipient): Fix file
206          each delete procedure or allow to cancel the operation.          handling.
207          * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much          
208          keys the file contain.  2006-07-28  Timo Schulz  <[email protected]>
209          * wptKeyList.cpp (get_key_algo): Beautified.  
210          (get_key_status): Drop the "[XYZ] Unknown" format, it is too          * wptKeyManager.cpp (lv_del_confirmed_keys): New.
211          confusing for users.          * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Automatically
212          * wptKeyManager.cpp (km_check_key_status): Adjustments for the          adjust key size.
213          new code.          * wptKeygenDlg.cpp (keygend_dlg_proc): Likewise.
214          (km_check_for_seckey): Reset utrust parameter. Return -1 for          
215          invalid (exp+rev+dis) keys.  2006-07-25  Timo Schulz  <[email protected]>
216    
217  2005-08-01  Timo Schulz  <[email protected]>          Applied spelling corrections from Anthony Bryan.
218            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Changed design.
219          * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given          * wptKeygenDlg.cpp (backup_keyrings): Change default keyring.
220          sizes.          
221          (check_IP_or_hostname): New.  2006-07-22  Timo Schulz  <[email protected]>
222          (kserver_load_conf): Correct finger URL parsing problem.  
223          (port_from_proto): New.          * wptMainProc.cpp (elgamal_warn_dlg_proc): Properly handle
224          (keyserver_load_conf): Guess the port.          utf8 encoded user ids.
225          (keyserver_set_default): Allocate new buffer.          (winpt_main_proc): Cleanups.
226          (kserver_load_conf): Likewise.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Allow to copy
227          * wptHTTP.c (parse_reqline, parse_request): Removed.          email address to the clipboard.
228          Use WinPT error code and remove all unused code.          
229          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.  2006-07-15  Timo Schulz  <[email protected]>
230          * wptProxySettingsDlg.cpp (read_proxy): Simple check for  
231          invalid host/IP addresses.          * WinPT.cpp (WinMain): Compare PTD and WinPT version to avoid
232          * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.          any compatibility problems.
233          Changed all callers.          * wptW32API.cpp (get_file_version): Cleanups.
234          * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,          
235          automatically set 'backup to homedir'.  2006-07-10  Timo Schulz  <[email protected]>
236          * WinPT.cpp (WinMain): Use desktop window as the parent window  
237          to load 'first-start' dialogs.          * wptUtil.cpp (check_file_name): New.
238          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'          * wptKeyRevokeDlg.cpp (mk_cert_name): Avoid illegal chars.
239          flag after deleting keys.          (key_revoke_dlg_proc): Likewise.
240          * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure          * wptMDSumDlg.cpp (mdsum_dlg_proc): Corrected file handling.
241          for passing the arguments.          * wptImportList.cpp (implist_load): Likewise.
242          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for          * wptFileSaveDlg.cpp (file_save_dlg_proc): Likewise.
243          the OptFile. This was responsible for a lot of 'General Errors'          * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Hide dialog item.
244          after the first start related to key caching.          
245          Automatically set the gpg binary if possible.  2006-07-05  Timo Schulz  <[email protected]>
246    
247  2005-07-22  Timo Schulz  <[email protected]>          * wptMainProc.cpp (winpt_main_proc): Change menu texts.
248            * wptClipEditDlg.cpp (clip_edit_dlg_proc): More lightweight
249          * wptMainProc.cpp (winpt_main_proc): Take care for shutdown          with a menu instead of dozen of buttons.
250          messages and make sure WinPT make a keyring backup in this case.          
251          * wptGPGME.cpp (keycache_reload): Do not rebuild the signature  2006-07-01  Timo Schulz  <[email protected]>
252          cache each time. Just do it on startup.  
253          * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.          * wptFileManager.cpp (fm_sort): Rewritten.
254          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag          (fm_build): Modify param type. Change all callers.
255          was set by the calling function.          (fm_cmp_cb): Adjusted for the new code.
256          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.          * wptMDSumDlg.cpp (mdsum_dlg_proc): Minor changes and model
257          (keygen_dlg_proc): Only add the generated key to the keycache          for the list view.
258          and do not reload the entire cache.          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use info
259          * wptKeyManager.cpp (km_delete_keys): Store the number of keys          context and model for the list view.
260          because in each loop iteration it will be new calculated.          (update_status_bar): Fix calculation of the size of the
261          * wptListView.cpp (listview_del_items): Likewise.          selected files.
262          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the          * wptProgressDlg.cpp (wait_for_progress_cb): Changed semantic
263          generated key to the list instead of reloading the entire cache.          and return type.
264          * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.          
265    2006-06-28  Timo Schulz  <[email protected]>
266    
267            * wptGPGPrefsDlg.cpp (load_gpg4win_values): Fix control logic
268            and memory leak.
269            * wptListView.cpp (listview_find_substr): New.
270            (listview_sort_items): Use symbolic ids.
271            * wptKeyManager.cpp (km_find_key): Allow substring search.
272            
273    2006-06-27  Timo Schulz  <[email protected]>
274    
275            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Also call viewer
276            when no sig has been found (if requested).
277            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Use a button to
278            quote instead of the check box. Cleanups.
279            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Correct
280            sorting problem and wrong icon display.
281            * wptListView.cpp (listview_sort_items): Correct code for
282            checkbox based lists.
283            * wptKeylist.cpp (keylist_build): Add sorting icons.
284            * wptKeyEditDlgs.cpp (create_header_tooltip): New.
285            
286    2006-06-24  Timo Schulz  <[email protected]>
287    
288            * wptMainProc.cpp (winpt_main_proc): Localize missing string.
289            * wptKeyEditDlgs.cpp (do_add_new_subkey): Better fpr to keyid
290            conversion.
291            (subkey_list_init): Simplified.
292            
293    2006-06-22  Timo Schulz  <[email protected]>
294    
295            * WinPT-en.rc: Include versioninfo.rc to generate
296            the version info automatically.
297            
298    2006-06-19  Timo Schulz  <[email protected]>
299    
300            * wptClipDecryptDlg.cpp (verify_get_clip_info): Improved
301            format of the sig info text.
302            * wptKeyserver.cpp (check_hkp_response): Invert error logic.
303            * wptKeyserverDlg.cpp (keyserver_recv_key): Corrected error
304            handling.
305            * wptPassphraseDlg.cpp (request_key_passphrase): Return
306            utf8 encoded passphrase.
307            
308    2006-06-18  Timo Schulz  <[email protected]>
309    
310            * wptKeygenDlg.cpp (keygen_dlg_proc): Fix typo.
311            * wptClipDecryptDlg.cpp (verify_get_clip_info): New.
312            (verify_get_key_ownertrust): New.
313            (clip_decrypt_dlg_proc): New argument. Change all callers.
314            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle the case
315            that the dialog was called with a param.
316            * wptMainProc.cpp (winpt_main_proc): Wait for thread in
317            case of dbl-click.
318            
319    2006-06-16  Timo Schulz  <[email protected]>
320    
321            * wptProgressDlg.cpp (wait_for_progress_cb): New.
322            * wptMainProc.cpp (winpt_main_proc): Use this function
323            to disallow to access the cache during synchronisation.
324            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
325            * wptKeyserver.cpp (check_hkp_response): Improved text
326            extraction.
327            (parse_keyserver_error): New.
328            * wptPassphraseDlg.cpp (request_passphrase): Support utf8
329            encoding.
330            * wptKeyEditDlgs.cpp (keyedit_change_passwd): Warn if passhrase
331            needs to be utf8 encoded but still allow it.
332            * wptPassphraseCBDlg.cpp (passphrase_callback_proc): Utf8 support.
333            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
334            * wptKeyRevokeDlg.cpp (keyrevoke_dlg_proc): Likewise.
335            
336    2006-06-15  Timo Schulz  <[email protected]>
337    
338            * wptVerList.cpp (verlist_build): Use icons.
339            (verlist_add_sig): Set image number according to sig state.
340            
341    2006-06-14  Timo Schulz  <[email protected]>
342    
343            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Translate
344            authors string here. Noted by Eduardo.
345            * wptSymEnc.cpp (gpg_clip_sym_encrypt): Check all return codes.
346            
347    2006-06-09  Timo Schulz  <[email protected]>
348    
349            * wptKeyEditDlgs.cpp (do_add_new_subkey): Properly handle
350            RSA_E and RSA_S.
351            * wptFileManager.cpp (fm_sym_encrypt): Better dialog title.
352            
353    2006-06-08  Timo Schulz  <[email protected]>
354    
355            * wptKeyserver.cpp (parse_keyserver_url): Handle special case.
356            * wptKeySignDlg.cpp (keysign_dlg_proc): Show photo if possible.
357            (showphoto_dlg_proc): New.
358            * wptKeyManagerDlg.cpp (restore_window_size): New.
359            (keymanager_dlg_proc): Restore original window size on startup.
360            (copy_key_info): Allow to copy multiple key items.
361            
362    2006-06-06  Timo Schulz  <[email protected]>
363    
364            * wptKeyEditCB.cpp (cmd_sign_handler): Return 0 by default
365            if no expire date were given.
366            
367    2006-06-05  Timo Schulz  <[email protected]>
368    
369            * wptPassphraseDlg.cpp (request_passphrase): Release mem
370            in case of errors.
371            (request_key_passphrase): New.
372            (set_passphrase_hint): New.
373            * wptKeyEditDlgs.cpp (do_editkey_sign_userid): Show passphrase
374            hint. Suggested by vedaal.
375            
376    2006-06-03  Timo Schulz  <[email protected]>
377    
378            * wptPINDlg.cpp (pin_dlg_proc): Remove static var.
379            * wptClipEncryptDlg.cpp (show_invalid_recipients): Handle
380            the case that 'encrypt-to' points to a non-existing item.
381            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Do not close
382            the dialog if an error occurred.
383            * wptKeygenDlg.cpp (keygn_dlg_proc): Check expirate date.
384            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Release mem
385            in case of errors.
386            * wptKeyserverDlg.cpp (check_pattern): Improved code.
387            (keyserver_dlg_proc): All comparisons are case insentensive.
388            * wptKeyserver.cpp (parse_uid_record): utf8 decode user id.
389            
390    2006-06-02  Timo Schulz  <[email protected]>
391    
392            * wptKeygenDlg.cpp (keygen_dlg_proc): Forgot to apply patch.
393            
394    2006-06-01  Timo Schulz  <[email protected]>
395    
396            * wptKeyserver.cpp (check_URL): change semantic.
397            (skip_type_prefix): Use check_URL().
398            * wptGPG.cpp (gnupg_backup_keyrings): New argument to
399            include secret keyring backups. Change all callers.
400            * wptRegistry.cpp (get_reg_winpt_prefs): Support new option.
401            (set_reg_winpt_prefs): Likewise.
402            * wptPreferencesDlg.cpp (on_init_dialog): Adjust the code.
403            
404    2006-05-29  Timo Schulz  <[email protected]>
405    
406            * wptKeyserver.cpp (keyserver_set_default): Also set default port.
407    
408    2006-05-27  Timo Schulz  <[email protected]>
409    
410            * wptKeyEditDlgs.cpp (keyedit_change_passwd): Handle empty
411            passphrase requests.
412            * wptClipDecryptDlg.cpp (verify_show_signature_state): Modified
413            for global use.
414            * wptFileManager.cpp (fm_decrypt): Use it here.
415            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Simplified.
416            
417    2006-05-25  Timo Schulz  <[email protected]>
418    
419            * wptGPGUtil.cpp (gpg_rebuild_cache): Return error code.
420            * wptGPGME.cpp (winpt_get_seckey): Fix off-by-one bug.
421            * wptVerifyList.cpp (verlist_build): New argument type.
422            Change all callers.
423            (verlist_set_info_control): New.
424            (verlist_set_additional_info): New.
425            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Adjust code.
426            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
427            * wptFileCBS.cpp (read_cb, write_cb): Add logging.
428            
429    2006-05-23  Timo Schulz  <[email protected]>
430    
431            * wptKeyEditDlgs.cpp (do_add_new_userid): Fix re-introduced
432            problem.
433            (keyedit_main_dlg_proc): Popup menu for the user ID list
434            with common commands.
435            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Automatically
436            disable search for ldap servers.
437            Use subkeys.pgp.net by default when no server was selected.
438    
439    2006-05-22  Timo Schulz  <[email protected]>
440    
441            * wptRegistry.cpp (set_reg_winpt_prefs, get_reg_winpt_prefs):
442            Support for the new 'default ext' value.
443            * wptPreferencesDlg.cpp (on_init_dialog): Likewise.
444            (prefs_dlg_proc): Likewise.
445            * wptFileManager.cpp (file_get_extension): Likewise.
446            (get_output_file): Likewise.
447            (fm_export): Likewise.
448            
449    2006-05-20  Timo Schulz  <[email protected]>
450    
451            * wptKeyPropsDlg.cpp (keyprops_load_photo): avoid expensive
452            process call when no photo is available.
453            (keyprops_dlg_proc): avoid static data.
454            * wptFileManager.cpp (fm_add_sig_stat): Free memory in case
455            of on demand key requests.
456            (show_verify_result): Likewise.
457            (secret_key_available): Likewise.
458            (fm_decrypt, fm_sign): Handle the new on demand key request
459            mode and free all memory.
460            
461    2006-05-15  Timo Schulz  <[email protected]>
462    
463            * wptKeyEditDlgs.cpp (userid_list_init): Forgot to
464            apply patch. Thanks to vedaal.
465            
466    2006-05-14  Timo Schulz  <[email protected]>
467    
468            * wptKeyCache.cpp (gpg_keycache_update_attr): Parse
469            preferred keyserver URL.
470            * wptHTTP.cpp (extractHostInfo): Fix segv.
471            * wptGPGUtil.cpp (gpg_find_key_subpacket): Ignore default
472            gpg.conf.
473            * wptKeyserverSearchDlg.cpp (search_hkp_keys): Do not
474            assume an existing user id.
475            * wptPassphraseCB.cpp (passphrase_cb): Automatic cancel
476            if no passphrase is available.
477    
478    2006-05-13  Timo Schulz  <[email protected]>
479    
480            * wpMainProc.cpp (secret_key_available): Move it...
481            * wptGPGME.cpp: ..to this file.
482            (check_ultimate_trusted_key): Handle the case there
483            is no secret key available.
484            * wptFileManagerDlg.cpp (update_ui_items): Improved.
485            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Deactive
486            some functions when no secret key is available.
487            * wptKeyserverSearchDlg.cpp (search_hkp_keys): Adjust
488            code and also display pubkey algorithm.
489            * wptKeyserver.cpp (safe_alloc): New.
490            (count_keys_in_response): New.
491            (parse_pub_record): New.
492            (parse_uid_record): New.
493            (kserver_release_key): New.
494            (kserver_search_begin, kserver_search_next_key):
495            Adjust for the machine readable output. Removed old code.
496            (parse_keyserver_url): New.
497            * wptUtil.cpp (substr): New.
498            * wptKeyManager.cpp (km_refresh_one_key): Properly
499            parse the keyserver URL.
500            
501    2006-05-11  Timo Schulz  <[email protected]>
502    
503            * wptPassphraseCB.cpp (release_gpg_recipients): New.
504            (release_gpg_recipients): Use it here.
505            * wptFileManager.cpp (fm_decrypt): List all recipients.
506            Thanks to vedaal.
507            * wptGPG.cpp (extract_keyid): New.
508            (get_gnupg_default_key): Use it here.
509            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Allow to verify
510            one-pass-sigs again.
511            
512    2006-05-09  Timo Schulz  <[email protected]>
513    
514            * wptKeyRevokersDlg.cpp (revokelist_build): Store key ptr.
515            * wptClipSignDlg.cpp (gpg_clip_sign): Improve error handling.
516            * wptKeysigDlg.cpp (sigprops_dlg_proc): Correct expire date.
517            
518    2006-05-07  Timo Schulz  <[email protected]>
519    
520            * wptKeyserverDlg.cpp (hkp_err_box): Improved.
521            * wptKeyserver.cpp (wsock_strerror): Likewise.
522            * wptKeygenCBDlg.cpp (keygen_cb_dlg_destroy): New param.
523            Change all callers.
524            * wptKeysigDlg.cpp (do_load_keyprops): Correct key update
525            problem.
526            
527    2006-05-06  Timo Schulz  <[email protected]>
528    
529            * wptKeyManagerDlg.cpp (reload_keycache): Use pre-defined
530            sorting order if available.
531            * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use 0x prefix
532            for the key ID.
533            (get_pref_cipher): Differ between the AES algorithm IDs.
534            (key_is_valid): New.
535            * wptKeyserverDlg.cpp (check_pattern): Simplified.
536            
537    2006-05-03  Timo Schulz  <[email protected]>
538    
539            * wptKeyCache.cpp (keycache_prepare2): Fix possible segv.
540            Thanks to Mathias.
541            
542    2006-05-02  Timo Schulz  <[email protected]>
543    
544            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use a
545            caption for the radio button group.
546            * wptKeyserverDlg.cpp (keyserver_recv_key): Use new code.
547            * wptKeyserver.cpp (kserver_recvkey, finger_recvkey,
548            ldap_recvkey): Avoid fixed buffers.
549            (do_spawn_ldap_helper): New.
550            (ldap_recvkey): Factor out code into helper function.
551            * wptPassphraseCBDlg.cpp (passphrase_callback_proc):
552            Increase width of the list box to make sure even large
553            user IDs will be completly displayed.
554            
555    2006-05-01  Timo Schulz  <[email protected]>
556    
557            * WinPT.cpp (WinMain): Check if the user has admin privileges.
558            * wptW32API.cpp (user_is_admin): New.
559            * wptKeysigDlg.cpp (sigprops_dlg_proc): Cosmetical changes.
560            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use timer
561            to re-activate the window again.
562            * wptKeylist.cpp (get_key_trust2): Differ between "full"
563            and "ultimate".
564            * wptKeyCache.cpp (keycache_prepare2): Primary user-id
565            has now highest priority.
566            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use new utf8
567            system.
568            
569    2006-04-30  Timo Schulz  <[email protected]>
570    
571            * wptKeyCache.cpp (gpg_keycache_release): Release revoker
572            list if needed.
573            * wptKeyRevokersDlg.cpp (key_get_revokers): New.
574            (key_revokers_dlg_proc): Expect winpt_key_t. Change all callers.
575            * wptKeyEditDlgs.cpp (check_desig_rev): New.
576            (do_editkey_minimize): New.
577            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Support to
578            generate a revoc cert as a desig revoker.
579            
580    2006-04-29  Timo Schulz  <[email protected]>
581    
582            * wptVerifyList.cpp (verlist_build): Adjusted code for new
583            list view interface.
584            * wptSigList.cpp (siglist_build): Likewise.
585            * wptKeyEditDlgs.cpp (showpref_dlg_proc): Correct code
586            to display the preferences of the selected UID. Thanks to Mathias.
587            * wptKeyCacheDlg.cpp (keycache_dlg_proc): Return 1 in case
588            of an error.
589            * wptKeyCache.cpp (gpg_keycache_update_key): Always update
590            the utf8 decoded uid list.
591            * wptImportList.cpp (decode_userid): Do utf8 decoding here.
592            * wptListView.cpp (listview_new): New param for HWND handle.
593            Change all callers.
594            * wptFileManager.cpp (fm_add_sig_stat): Use utf8 decoding.
595            * wptGPGUtil.cpp (gpg_revoke_cert): Support --desig-revoker.
596            * wptClipVerifyDlg.cpp (wptClipVerifyDlg.cpp): Correct
597            keyid extraction.
598            
599    2006-04-28  Timo Schulz  <[email protected]>
600    
601            * wptMAPI.cpp (mapi_send_pubkey): Use new key struct.
602            * wptKeysigDlg.cpp (sigprops_dlg_proc): Prepare dialog
603            for handling policy URLs.
604            * wptKeyManagerDlg.cpp (save_column_info, restore_column_info):
605            New option KMSortBy.
606            * wptKeylist.cpp (get_key_algo): Lower priority for revoked keys.
607            * wptKeyEdit.cpp (minimizeKey): New.
608            * wptKeyCache.cpp (gpg_keycache_update_key): Reload utf8 uid list.
609            
610    2006-04-27  Timo Schulz  <[email protected]>
611    
612            * wptKeyManager.cpp (km_get_key_ptr): New.
613            * wptListview.cpp (listview_get_item_text): Drop utf8 support.
614            * wptKeyCache.cpp (keycache_decode_uids): New.
615            (free_native_uids): New.
616            * wptKeyEdit.cpp (uid_inf_colon_handler): Do utf8 decodig here.
617            
618    2006-04-26  Timo Schulz  <[email protected]>
619    
620            * wptKeylist.cpp (get_keyid_from_fpr): New.
621            * wptDecryptClipDlg.cpp (clip_decrypt_dlg): Use it here.
622            * wptVerifyList.cpp (verlist_add_sig): Likewise.
623            
624    2006-04-25  Timo Schulz  <[email protected]>
625    
626            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle IDCANCEL.
627            * wptMDSumDlg.cpp (hash_selected_files): New.
628            (mdsum_dlg_proc): Cleanups.
629            * wptKeysignDlg.cpp (keysign_dlg_proc): Fix segv.
630            
631    2006-04-23  Timo Schulz  <[email protected]>
632    
633            * wptW32API.cpp (SetDlgItemText_utf8): New.
634            (SetWindowText_utf8): New.
635            (GetDlgItemText_utf8): New.
636            * wptListView.cpp (listview_add_sub_item): Internal
637            utf8 support.
638            
639    2006-04-22  Timo Schulz  <[email protected]>
640    
641            * wptKeyEditDlgs.cpp (addrevoker_dlg_proc): Encode
642            revoker name in UTF8.
643            * wptKeysigDlg.cpp (keysig_dlg_proc): Fix utf8 problem
644            with the window title.
645            
646    2006-04-20  Timo Schulz  <[email protected]>
647    
648            * wptUTF8.cpp (native_to_utf8): Use c++ alloc.
649            * wptKeygenDlg.cpp (keygen_dlg_proc): Do not mix c and
650            c++ memory allocation.
651            * wptFileManager.cpp (show_verify_result): Show PKA status
652            if possible.
653            * wptClipVerifyDlg.cpp (get_pka_status): New.
654            (clip_verify_dlg_proc): Show PKA status if possible.
655            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle IDCANCEL
656            to use ESC to quit the dialog.
657            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Also
658            encode the comment in UTF8. Thanks to Werner and Jan.
659            
660    2006-04-16  Timo Schulz  <[email protected]>
661    
662            * wptHTTP.cpp (getErrorCode): New.
663            (connect): Store winsock error code.
664            * wptGPGMEData.cpp (is_armor_header): New.
665            * wptGPG.cpp (check_gnupg_engine): Free context.
666            (gnupg_backup_keyrings): Do not use global vars.
667            * wptGPGUtil.cpp (gpg_export_seckey): Export in ascii format.
668            
669    2006-04-15  Timo Schulz  <[email protected]>
670    
671            * wptKeyManager.cpp (km_get_key): New.
672            (km_key_show_revoc_info): New.
673            * wptKeyRevokeDlg.cpp (key_revoke_dlg): Cleanups.
674            (on_init_dialog): New.
675            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Factour
676            out some common code and use km_get_key() instead.
677            * wptKeyEditDlgs.cpp (do_init_keylist): Change second
678            param type. Change all callers.
679            * wptKeyEdit.cpp (addNotation): New.
680            * wptKeyEditCB.cpp (editkey_command_handler): Remove 'step'
681            param everywhere. Change all callers.
682            
683    2006-04-09  Timo Schulz  <[email protected]>
684    
685            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Only return true
686            if the homedir value was changed.
687            * wptGPG.cpp (default_key_from_cache): Only return secret key
688            if public part is available.
689            (set_gnupg_default_key): Fix NULL problem.
690            * wptKeyEditDlgs.cpp (do_editkey_clean): Set update flag.
691            * wptFileCBS.cpp (write_cb, read_cb): Better error handling.
692            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle
693            'always-on-top' correctly.
694            * wptKeylist.cpp (keylist_get_recipients): Allocate enough
695            mem to hold all possible keys.
696            (keylist_enum_keys): Likewise.
697            
698    2006-04-08  Timo Schulz  <[email protected]>
699    
700            * wptKeylist.cpp (keylist_get_recipients): Always use utf8 output.
701            * wptKeyserver.cpp (kserver_connect): Fixed proxy support.
702            * wptKeyserverSearchDlg.cpp (fetch_keys): New.
703            * WinPT.cpp (WinMain): if the default key was not found, reset
704            the gpg.conf entry.
705            * wptFileManager.cpp (fm_encrypt_into_zip): Use correct output
706            file name.
707            (show_verify_result): Always use utf8 output.
708            (get_output_file): Case in-sentensive comparison.
709            (fm_assume_onepass_sig): Fixed temp file handling.
710            * wptClipEncryptDlg.cpp (show_invalid_recipients): Fix utf8
711            output.
712            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix possible segv.
713            
714    2006-04-07  Timo Schulz  <[email protected]>
715    
716            * wptW32API.cpp (set_clip_text): Change code so it also
717            works again with non-XP systems.
718            
719    2006-04-02  Timo Schulz  <[email protected]>
720    
721            * wptKeyserver.cpp: decrease general threshold for timeout.
722            * wptKeyEditDlgs.cpp (do_editkey_clean): New.
723            
724    2006-04-01  Timo Schulz  <[email protected]>
725    
726            * wptFileVerifyDlg.cpp (file_verify_use_event): Removed.
727            * wptFileManager.cpp (restore_original_name): New.
728            (fm_decrypt): Restore original file name from literal
729            packet if possible.
730            
731    2006-03-31  Timo Schulz  <[email protected]>
732    
733            * wptCommonDlg.cpp (nls_load_langlist): New.
734            (nsl_set_language): New.
735            (nls_dlg_proc): New.
736            (select_language): New. Allow user to select the language.
737            * wptNLS.c (get_gettext_langid): Updated available languages.
738            * WinPT.cpp (WinMain): Allow to select the languag on first
739            start in non-installer environments.
740            * wptVerifyList.cpp (verlist_build): Simplified.
741            (verlist_add_sig_log): Likewise.
742            * wptListview.cpp (listview_set_column_width,
743            listview_get_selected_item): New.
744            * wptKeyManager.cpp (gpg_clip_export): Merged into..
745            (km_clip_export): ..this function.
746            
747    2006-03-30  Timo Schulz  <[email protected]>
748    
749            * wptW32API.cpp (insert_menu_item): New.
750            * wptSigTreeDlg.cpp (create_popup): Use it.
751            (sigtree_dlg_proc): Only show the name of the owner in the title.
752            * wptMainProc.cpp (init_common_controls): Initialize all
753            common controls here.
754            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Drop static
755            keyserver menu concept. Add all keyservers dynamically.
756            
757    2006-03-29  Timo Schulz  <[email protected]>
758    
759            * wptKeyManager.cpp (km_refresh_one_key): Fix problem
760            with preferred keyserver.
761            * wptCommonDlg.cpp (check_URL): Allow non-http URL.
762            * wptKeyEditDlgs.cpp (subkey_subclass_proc,
763            uid_subclass_proc): Disable shortcuts for non keypairs.
764            * wptMainProc.cpp (winpt_main_proc): No user interaction
765            on automatic shutdown. Thanks to Werner.
766            * wptGPGUtil.cpp (xcalloc): New.
767            (gpg_rebuild_cache): Use --batch.
768            
769    2006-03-26  Timo Schulz  <[email protected]>
770    
771            * wptSigTreeDlg.cpp (sigtree_load): Always use UTF8.
772            * wptMainProc.cpp (winpt_main_proc): Reload key cache
773            when the GPG settings were changed.
774            * wptKeygenDlg.cpp (keygen_wizard_dlg_proc,
775            keygen_dlg_proc): Improved check for the email address.
776            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Likewise.
777            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Modified design.
778            
779    2006-03-22  Timo Schulz  <[email protected]>
780    
781            * wptClipSignDlg.cpp (on_init_dialog): New.
782            Check that there is at least one useable signing key.
783            * wptSigTreeDlg.cpp (sigtree_load): Correct UTF8 handling.
784            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Show error
785            if needed.
786            
787    2006-03-21  Timo Schulz  <[email protected]>
788    
789            * wptUTF8.cpp (native_to_utf8): Use directly W32 API.
790            (utf8_to_native): Likewise. Remove cp850 conversion.
791            * wptKeyEditDlgs.cpp (do_find_userid): Correct UTF8 handling.
792            * wptKeyManager.cpp (km_delete_keys): Do not reset 'with_seckey'
793            flag.
794            
795    2006-03-20  Timo Schulz  <[email protected]>
796    
797            * wptUTF8.cpp (get_native_charset): Removed.
798            (utf8_to_native): Rewritten.
799            * wptKeyEditDlgs.cpp (do_add_new_userid): Correct charset
800            handling.
801            * wptKeygenCBDlg.cpp (keygen_cb): Do proper reset if needed.
802            
803    2006-03-16  Timo Schulz  <[email protected]>
804    
805            * wptMainProc.cpp (winpt_main_proc): Disable all CryptDisk code.
806            * wptCryptDisk.cpp: Disable code.
807            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): Support for
808            NONE proxy protocol.
809            (init_proxy_procotol): Likewise.
810            (read_proxy): Likewise.
811            * wptKeyserverSearchDlg.cpp (on_init_dialog): New.
812            (keyserver_search_dlg_proc): Use it here.
813            * wptKeyserverDlg.cpp (hkp_send_key): Use GPGME wrapper.
814            * wptKeyserver.cpp (kserver_search_end): New.
815            (kserver_search_begin): Be more strict on mem allocation.
816            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix 'redraw'
817            problem.
818            * wptAboutDlgs.cpp (about_dlg_proc): Hide 'Help' button.
819            
820    2006-03-12  Timo Schulz  <[email protected]>
821    
822            * wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'.
823            * wptKeyPropsDlg.cpp (display_key_info): Automatically update
824            sym algorithm preferences if needed.
825            * wptKeysignDlg.cpp (date_is_today): New.
826            (keysign_dlg_proc): Only allow to set cert expire date if
827            the option was found.
828            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set
829            'ask-cert-expire'.
830            
831    2006-03-10  Timo Schulz  <[email protected]>
832    
833            * wptHTTP.c: deleted.
834            * wptHTTP.cpp (wHTTP): Transformed old code into an object.
835            * wptKeyManager.cpp (km_http_import): Use new code.
836            (km_refresh_one_key): Use preferred keyserver if possible.
837            * wptComonDlg.cpp (check_URL): Better conformance checking.
838            * wptKeyEditCB.cpp (cmd_keyserver_handler): By default
839            set keyserver for all userids.
840            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Enable code
841            to set preferred keyserver.
842            * wptKeyCache.cpp (decode_subpacket): New.
843            (gpg_keycache_update_attr): New.
844            * wptGPGUtil.cpp (gpg_find_key_subpacket): New.
845            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Use
846            -1 as an index for all userids.
847            
848    2006-03-07  Timo Schulz  <[email protected]>
849    
850            * WinPT.cpp (set_default_keyserver): New.
851            * wptKeyserver.cpp (kserver_set_socket_timeout): New.
852            (kserver_set_default_keyserver): Initialize default settings
853            if needed.
854            * wptSymEnc.cpp (gpg_encrypt_symmetric): Disallow empty passwords.
855            * wptPassphraseDlg.cpp (request_passphrase): Handle new flag.
856            (passphrase_dlg_proc): Support new safe edit window procedure.
857            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
858            * wptPreferencesDlg.cpp (prefs_dlg_proc): Flush passphrase cache
859            if user disable it.
860            * wptKeylist.cpp (keylist_build): Do not scale images but use
861            original size.
862            * wptListView.cpp (listview_set_image_list): New size params.
863            Change all callers.
864            
865    2006-03-01  Timo Schulz  <[email protected]>
866    
867            * wptW32API.cpp (set_clip_text): Free all memory.
868            
869    2006-02-27  Timo Schulz  <[email protected]>
870    
871            * wptSOCKS.cpp (socks_handshake): New.
872            * wptMainProc.cpp (winpt_main_proc): A dbl-click forces
873            the key manager in teh foreground if possible.
874            * wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys.
875            * wptRegistry.cpp (get_reg_proxy_prefs,
876            set_reg_proxy_prefs): Use directly the proxy context.
877            Changed all callers.
878            * wptProxySettingsDlg.cpp (init_proxy_protocols): New.
879            (keyserver_proxy_dlg_proc): Use directly the proxy context.
880            * wptKeyserver.cpp (kserver_connect): Better proxy support.
881            (kserver_send_request, kserver_recvkey_request): Likewise.
882            * wptKeyserverDlg.cpp (name_from_proto): New.
883            (set_proxy): Adjusted for the new code.
884            
885    2006-02-26  Timo Schulz  <[email protected]>
886    
887            * WinPT.cpp (WinMain): Removed hotkey_modify() code.
888            * wptKeyEditDlgs.cpp (is_idea_protect_algo): Better support
889            v4 keys.
890            * wptKeyserver.cpp (sock_getline): Skip '\r'.
891            (base64_encode): Remove @maxlen param. Changed all callers.
892            (finger_readline): Removed.
893            (finger_recvkey): Use internal functions.
894            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Support a context menu.
895            (show_sigprops): New.
896            (create_popup): New.
897            * wptPreferenceDlg.cpp (prefs_dlg_proc): Cache amount is
898            now in minutes.
899            * wptRegistry.cpp (get_winpt_reg_prefs, set_winpt_reg_prefs):
900            Change code to use hotkeys directly.
901            * wptHotkeys.cpp (hotkeys_enable, hotkey_disable): Likewise.
902            
903    2006-02-24  Timo Schulz  <[email protected]>
904    
905            * wptGPG.cpp (set_gnupg_default_key): Allow to remove entry
906            when parameter is NULL.
907            * wptKeyManager.cpp (check_exist_default_key): New.
908            (km_delete_keys): Check if the default key is still valid,
909            if not delete entry.
910            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Forgot to localize
911            button.
912            
913    2006-02-21  Timo Schulz  <[email protected]>
914    
915            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Minor
916            cleanups.
917            * wptGPGUtil.cpp (file_extract_recipients): New.
918            (clip_extract_recipients): New.
919            (gpg_get_recipients): New.
920            * wptPassphraseCB.cpp (passphrase_callback_proc): Support
921            external recipient listings.
922            
923    2006-02-15  Timo Schulz  <[email protected]>
924    
925            * wptKeysignDlg.cpp (keysign_dlg_proc): Localize new checkbox.
926            * wptFileStatDlg.cpp (get_s2k_algo): New.
927            * wptFileManagerDlg.cpp (update_status_bar): Use human readable
928            formats.
929            
930    2006-02-14  Timo Schulz  <[email protected]>
931    
932            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'.
933            * wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'.
934            * wptFileManager.cpp (fm_sym_encrypt): Set cancel.
935            (fm_parse_files): Handle cancel.
936            
937    2006-02-10  Timo Schulz  <[email protected]>
938    
939            * wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars.
940            * wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t
941            for the dialog param.
942            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list
943            signature dialog by default.
944            * wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly
945            gpgme_key_sig_t as param.
946            (keysig_dlg_proc): Change param for property dialog.
947            * wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids
948            and use icons.
949            (sigtree_dlg_proc): Allow to execute old list dialog to
950            edit the signatures.
951            
952    2006-02-09  Timo Schulz  <[email protected]>
953    
954            * wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode.
955            * wptNLS.c (gettext_localize_dialog): New.
956            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button
957            to avoid to reload the key cache.
958            * wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal'
959            list mode.
960            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
961            * wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog
962            initiation code to this function.
963            (prefs_dlg_proc): Use it here.
964            
965    2006-02-07  Timo Schulz  <[email protected]>
966    
967            * wptKeyEdit.cpp (setNoPassphrase): New.
968            (getValidDays): New.
969            * wptKeysignDlg.cpp (keysign_dlg_proc): Check on init
970            if the key is protected.
971            * wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle
972            keys without a passphrase.
973            (keyedit_addrevoker_dlg_proc): Likewise.
974            
975    2006-02-04  Timo Schulz  <[email protected]>
976    
977            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for
978            at least one ultimately trusted key.
979            * wptKeyManager.cpp (km_refresh_key_from_keyserver):
980            Only check inet connection if we refresh all keys.
981            * wptGPGUtil.cpp (gpg_extract_keys): New.
982            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode.
983            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
984            * wptClipSignDlg.cpp (get_selected_key): New.
985            (one_key_proc): Use it here.
986            (count_useable_seckeys): New.
987            * wptSigTreeDlg.cpp (sigtree_dlg_proc): New.
988            * wptKeyEditDlgs.cpp (diff_time): Removed.
989            (w32_mktime): New.
990            (keyedit_addsubkey_dlg_proc): Use it here.
991            
992    2006-02-02  Timo Schulz  <[email protected]>
993    
994            * wptW32API.cpp (get_temp_name): New.
995            * wptKeyserver.cpp (ldap_recvkey): Use it here.
996            * wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise.
997            * wptGPGUtil.cpp (create_tempfile): Likewise.
998            * wptImportList.cpp (implist_load): Likewise.
999            * wptKeyCache.cpp (parse_attr_data): Likewise.
1000            (w32_tempfile): Removed.
1001            * wptGPGME.cpp (check_ultimate_trusted_key): New.
1002            
1003    2006-01-31  Timo Schulz  <[email protected]>
1004    
1005            * wptMainProc.cpp (winpt_main_proc): Fix usage of the
1006            help system.
1007            * wptListView.cpp (listview_set_chkbox_style): New.
1008            (listview_get_item_state): Support new checkbox style.
1009            (listview_new): Reset flag var.
1010            * wptKeylist.cpp (keylist_build): Support new checkbox style.
1011            
1012    2006-01-30  Timo Schulz  <[email protected]>
1013    
1014            * WinPT.cpp (check_readonly_attr): New.
1015            (load_gpg_env): Use it here.
1016            (WinPT): Make the the default key is searched in the
1017            secret key cache.
1018            Change error message.
1019            * wptRegistry.cpp (regist_int_winpt): Make sure
1020            the register extension is only offered once to the user.
1021            * wptKeyPropsDlg.cpp (get_photo_tmpname): Always use
1022            temp directory. Fixed a privilege problem.
1023            
1024    2006-01-29  Timo Schulz  <[email protected]>
1025    
1026            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC
1027            to quit dialog.
1028            * wptKeysignDlg.cpp (sig_class_dlg_proc): More space for
1029            translations. Directly return sig class.
1030            (keysign_dlg_proc): Change msgbox title.
1031            * wptKeyEdit.cpp (signUserid): New.
1032            (getUseridIndex): New.
1033            (getKeyIndex): New.
1034            (getSigIndex): New.
1035            (clear): New.
1036            * wptKeyEditCB.cpp (cmd_sign_handler): Allow to select
1037            user-id first.
1038            * wptKeyEditDlgs.cpp (lookup_cmd): New.
1039            (do_editkey_sign_userid): New.
1040            (do_init_cmdlist): Differ between key pairs and public keys
1041            and allowed actions.
1042            (keyedit_change_ownertrust): Show msgbox on success.
1043            (get_default_key): New.
1044            * wptPassphraseDlg.cpp (request_passphrase): Reset @cancel.
1045            
1046    2006-01-27  Timo Schulz  <[email protected]>
1047    
1048            * WinPT.cpp (WinMain): Set minimal list mode as default.
1049            * wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys.
1050            
1051    2006-01-25  Timo Schulz  <[email protected]>
1052    
1053            * wptRegistry.cpp (get_reg_entry_gpg): Return NULL if
1054            the key exist with no value.
1055            * wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string.
1056            * wptKeysignDlg.cpp (do_fill_seclist): Select the
1057            default key if possible.
1058            * wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly
1059            return the choice.
1060            * wptKeylist.cpp (get_key_desc): New.
1061            (keylist_upd_key): Free memory.
1062            * wptKeyCache.cpp (gpg_keycache_get_default_key): New.
1063            (gpg_keycache_set_default_key): New.
1064            * WinPT.cpp (gpg_prefs_ok): New.
1065            (WinMain): Only start gpg prefs if needed.
1066            
1067    2006-01-24  Timo Schulz  <[email protected]>
1068    
1069            * wptKeyManager.cpp (km_dropped_file_import): New.
1070            * wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow
1071            to drop files and try to import them.
1072            (keymanager_dlg_proc): Pass kmi as opaque to the subclass
1073            proc.
1074            
1075    2006-01-23  Timo Schulz  <[email protected]>
1076    
1077            * wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output
1078            to the clipboard.
1079            * wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New.
1080            (do_editkey_enable_disable): New.
1081            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not
1082            close the dialog if the user cancelled the ownertrust dialog.
1083            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate
1084            an update of any value.
1085            
1086    2006-01-21  Timo Schulz  <[email protected]>
1087    
1088            * wptKeyCache.cpp (keycache_next_key): Handle the case
1089            that there is a secret key without a public part.
1090            * wptKeyserver.cpp (kserver_save_conf): Save ports.
1091            * wptKeyserverDlg.cpp (keyserver_modify_dlg_proc):
1092            Reset keyserver name.
1093            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate
1094            an update, do not update the cache.
1095            * wptFileManagerDlg.cpp (file_import_dlg_proc): Use one
1096            dialog for both clipboard and file imports.
1097            * wptKeyManager.cpp (km_file_import, km_clip_import):
1098            Changes to support new update system.
1099            (gpg_clip_import): New.
1100            * wptKeyManagerDlg.cpp (km_gui_import): New.
1101            (find_keypos): Rewritten.
1102            (refresh_keylist): Improved error checking.
1103            
1104    2006-01-20  Timo Schulz  <[email protected]>
1105    
1106            * wptKeyCache.cpp (w32_tmpfile): New.
1107            (parse_attr_data): Use it here.
1108            * wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var.
1109            
1110    2006-01-19  Timo Schulz  <[email protected]>
1111    
1112            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not
1113            reload the entire cache, just update the key.
1114            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise.
1115            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag.
1116            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1117            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
1118            if need after showing the properties.
1119            * wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
1120            * wptKeyManager.cpp (km_import_file): New param. Changed
1121            all callers.
1122            (km_import_clip): Likewise.
1123            (delete_keys_from_cache): Delete secret part if available.
1124            * wptClipImportDlg.cpp (print_import_status): If there
1125            are too many new keys, use reload code.
1126            
1127    2006-01-18  Timo Schulz  <[email protected]>
1128    
1129            * wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume
1130            the self sig is always index 0. Noted by Kurt.
1131            * wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume
1132            the key user-ID contains an email address.
1133            * wptKeyEditDlgs.cpp (do_find_userid): Likewise.
1134            (do_editkey_deluid): Likewise.
1135            (do_editkey_revuid): Likewise.
1136            
1137    2006-01-18  Timo Schulz  <[email protected]>
1138    
1139            * wptListview.cpp (listview_del_sel_items): Fixed index
1140            calculation. This fixed a lot of problems with the KM listview
1141            update.
1142            (listview_del_all): Renamed to...
1143            (listview_del_all_items): ..this. Changed all callers.
1144            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh
1145            list when file import contained new/updated keys.
1146            * wptKeyManager.cpp (km_file_import): Indicate if the
1147            import contained any new/update keys.
1148            * wptClipImportDlg.cpp (print_import_status): Just mark
1149            keys which actually changed.
1150            
1151    2006-01-17  Timo Schulz  <[email protected]>
1152    
1153            * wptMAPI.cpp (mapi_send_pubkey_ext): New.
1154            * wptKeysigDlg.cpp (do_delsig): Just flag the key, do not
1155            update it.
1156            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more
1157            careful about const pointers.
1158            * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to..
1159            (get_subkey_keyid): ..this. Fix problem that key was updated
1160            twice and this corrupted.
1161            (keyedit_add_subkey): Set @lv item in the callback context.
1162            
1163    2006-01-16  Timo Schulz  <[email protected]>
1164    
1165            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore
1166            window if it lost focus during the operation. Thanks to Kurt.
1167            Update keylist when the window is enabled.
1168            (find_keypos): New.
1169            * wptKeyCache.cpp (keycache_next_key): Reset update status.
1170            (gpg_keycache_next_updated_key): New arg @r_status. Change all
1171            callers.
1172            (gpg_keycache_update_key): Different status for new and updated.
1173            Include key signatures.
1174            * wptClipImportDlg.cpp (print_import_status): Mark all
1175            imported keys.
1176            * wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist.
1177            Thanks to Kurt.
1178            * wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys.
1179            (do_delsig): Directly reload key. Thanks to Kurt.
1180            * wptGPGME.cpp (keycache_set_reload, keycache_get_reload):
1181            Removed.
1182            * wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system.
1183            * wptClipImportDlg.cpp (clip_import_dlg_proc): Return
1184            FALSE if no keys were updated or operation was cancelled.
1185            * wptCommonDlg.cpp (http_dlg_proc): Fix title selection code.
1186            * wptKeylist.cpp (get_ext_validity): Handle disabled keys.
1187            * wptKeyPropsDlg.cpp (keyprops_dlg_proc):
1188            Do not allow to change ownertrust of invalid keys.
1189            Changed translation.
1190            Slightly different user interface.
1191            
1192    2006-11-14  Timo Schulz  <[email protected]>
1193    
1194            * wptW32API.cpp (make_special_filename): New.
1195            * wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs):
1196            Removed 'KeyServer' item.
1197            * wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver
1198            config item.
1199            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group
1200            window until we really use it.
1201            * wptKeyserver.cpp (kserver_save_conf): New.
1202            (wsock_end): Save keyserver config file.
1203            * wptKeyserverDlg.cpp (keyserver_edit): New.
1204            (keyserver_remove): New.
1205            (keyserver_add): New.
1206            (fill_keyserv_types): New.
1207            (keyserver_modify_dlg_proc): New.
1208            (keyserver_dlg_proc): Provide context menu to modify the
1209            keyserver list.
1210            (keyserver_build_list): Remove 'proto' column because it is
1211            not really useful.
1212            * WinPT.cpp (load_keyserver_conf): Store keyserver.conf at
1213            $APPDATA\winpt. If keyserver.conf exists in the current folder
1214            move it to the new destination.
1215            
1216    2006-11-13  Timo Schulz  <[email protected]>
1217    
1218            * wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation.
1219            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise.
1220            * wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about
1221            dialog isn't shown twice.
1222            * wptKeyCache.cpp (gpg_keycache_next_updated_key): New.
1223            (gpg_keycache_update_key): Set update flag.
1224            * wptKeyManagerDlg.cpp (refresh_keylist): New.
1225            (keymanager_dlg_proc): Use new refresh system for keyservers.
1226            * wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc):
1227            Update keycache.
1228            * wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise.
1229            * wptKeyserver.cpp (socket_read_ext): New.
1230            (kserver_recv_key_ext): New.
1231            (kserver_read_config, kserver_write_config): Removed.
1232            
1233    2006-01-12  Timo Schulz  <[email protected]>
1234    
1235            * wptListView.cpp (listview_set_image_list): Make icons
1236            always transparent.
1237            * wptImageList.cpp (imagelist_load): New icons.
1238            * wptGPGMEData.cpp (gpg_data_putc): New.
1239            * wptKeyManagerDlg.cpp (load_toolbar): Include new icons.
1240            (keymanager_dlg_proc): Add tooltips.
1241            * wptKeyserverDlg.cpp (keyserver_list_build): Use icons.
1242            * wptKeyserver.cpp (URL_encode): New.
1243            (URL_must_encode): New.
1244            (kserver_search_init): Properly encode pattern.
1245            (parse_iso_date): New.
1246            (keyserver_search): Be more strict to prevent buffer overflows.
1247            
1248    2006-01-11  Timo Schulz  <[email protected]>
1249    
1250            * wptKeyManagerDlg.cpp (load_toolbar): 2 new icons.
1251            (keymanager_dlg_proc): Adjust tooltips.
1252            (update_ui_items): Handle new icons.
1253            * wptImageList.cpp (imagelist_load): New icons.
1254            
1255    2006-01-10  Timo Schulz  <[email protected]>
1256    
1257            * wptMainProc.cpp (winpt_main_proc): Restore iconic
1258            File/Key Manager windows if needed.
1259            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button.
1260            * wptSiglist.cpp (init_cmp): New.
1261            (siglist_sort): New.
1262            (siglist_cmp_cb): New.
1263            (siglist_add_key): Force NOKEY status when key was not found.
1264            * wptKeysigDlg.cpp (recv_single_key): New.
1265            (recv_missing_keys): Reload entire key when more than one key
1266            was fetched.
1267            (keysig_dlg_proc): Support sorting the listview items.
1268            
1269    2006-01-09  Timo Schulz  <[email protected]>
1270    
1271            * WinPT.cpp (load_gettext): Remove file locking.
1272            (WinMain): Use pre-defined autoconf constants.
1273            * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
1274            * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
1275            Change all callers.
1276            
1277    2006-01-07  Timo Schulz  <[email protected]>
1278    
1279            * wptKeyManager.cpp (km_refresh_from_keyserver): Summarize
1280            import status if just one key was selected.
1281    
1282    2006-01-04  Timo Schulz  <[email protected]>
1283    
1284            * wptGPGMEWrapper.c (setChangeVersion): New.
1285            (exportToBuffer, exportToFile, exportToClipboard): New.
1286            (setArmor, getArmor): New.
1287            * wptKeylist.cpp (get_key_expire_date): Return locale specific
1288            date.
1289            (keylist_get_recipients): Do not fetch the key again.
1290            (keylist_enum_recipients): Likewise.
1291            * wptGPG.cpp (create_empty_keyring): New.
1292            (get_gnupg_keyring): Fixed 'strict' logic.
1293            * wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons
1294            when no secret keys are available.
1295            * wptKeyManager.cpp (km_send_to_mail_recipient): Release key data
1296            before the MAPI call is made.
1297            * WinPT.cpp (check_for_empty_keyrings): New.
1298            
1299    2006-01-03  Timo Schulz  <[email protected]>
1300    
1301            * pubkey.ico, keypair.ico: New.
1302            * wptListview.cpp (listview_add_item_image): New.
1303            (listview_set_image_list): New.
1304            * wptSigList.cpp (siglist_add_key): Correct order of the sigs.
1305            * wptKeyProps.cpp (keyprops_load_photo): Adjusted for new
1306            JPEG data.
1307            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to
1308            add items to revoked keys.
1309            * wptKeyManager.cpp (km_delete_keys): Do not use uninitialized
1310            keyid buffer. This fixes a segv.
1311            * wptKeyserver.cpp (spawn_application): New.
1312            (ldap_recv_key): Support recent protocols and several cleanups.
1313            * wptKeylist.cpp (do_addkey): Set image which depends on the
1314            key type.
1315            (keylist_enum_recipients): Cleanups.
1316            (keylist_get_keyflags): Rewritten.
1317            * wptKeyCache.cpp (free_attr_list): New.
1318            (parse_attr_list): New.
1319            (parse_attr_data): New.
1320            (keycache_update_photo): New.
1321            (keycache_update_photos): New.
1322            (gpg_keycache_update_key): Automatically reload photos if needed.
1323            * wptGPGUtil.cpp (create_process): New param @err. Change all
1324            callers.
1325            (map_tmpfile): New param @nread. Change all callers.
1326            (gpg_get_photoid_data): New.
1327            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to
1328            add items to revoked keys.
1329            (subkey_init_list): Store gpgme key object.
1330            
1331    2005-12-29  Timo Schulz  <[email protected]>
1332    
1333            * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
1334            (gpg_genkey_params): Simplified.
1335            * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
1336            exclusion of the dialog items.
1337            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
1338            quit the dialog.
1339            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1340            * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
1341            (id2algo): New.
1342    
1343    2005-12-28  Timo Schulz  <[email protected]>
1344    
1345            * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
1346            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1347            * wptKeylist.cpp (keylist_udp_key): Likewise.
1348            * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
1349            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
1350            when no signing key was found.
1351            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
1352            user IDs.
1353            (translate_popup_strings): s/Revoke/Revoke Cert.
1354            * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
1355            0x prefixed keyid.
1356            * wptKeyEditCB.cpp (editkey_command_handler): Also reset
1357            step in case of a bad passphrase.
1358            
1359    2005-12-27  Timo Schulz  <[email protected]>
1360    
1361            * wptListView.cpp (listview_set_view): New.
1362            (listview_del_column): New.
1363            * wptW32API.cpp (get_locale_date): New.
1364            (get_menu_state): New.
1365            (force_foreground_window): New.
1366            * wptVerifyList.cpp (strtimestamp): Support for
1367            locale date formats.
1368            * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
1369            passphrases.
1370            * wptKeyEditCB.cpp (editkey_command_handler): Immediately
1371            return when a bad passphrase was submitted.
1372            * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
1373            column order.
1374            * wptKeylist.cpp (keylist_upd_col): New.
1375            * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
1376            'Revocation' for public keys.
1377            (translate_menu_strings): s/Revoke/Revoke Cert.
1378            (modify_listview_columns): New.
1379            
1380    2005-12-18  Timo Schulz  <[email protected]>
1381    
1382            * wptKeyManagerDlg.cpp (save_column_size): New.
1383            (restore_column_size): New.
1384            (keymanager_dlg_proc): Save and restore column sizes for
1385            the listview control.
1386            * wptKeyManager.cpp (key_get_info): New.
1387            (km_delete_keys): Use it here to have a consistent message.
1388            Use stored key context and not the column data.
1389            (km_enable_disable_key): Likewise.
1390            (km_send_to_keyserver): Likewise.
1391            (km_set_implicit_trust): Likewise.
1392            * wptKeylist.cpp (get_key_pubalgo2): New.
1393            
1394    2005-12-17  Timo Schulz  <[email protected]>
1395    
1396            * wptUTF8.cpp: Removed unused charset array.
1397            * wptSigList.cpp (siglist_build): Increase size for 'class'
1398            column.
1399            * wptGPG.cpp (get_gnupg_path): Simplified.
1400            * WinPT.cpp (load_gpg_env): New.
1401            (check_crypto_engine): Return type is now bool.
1402            * wptRegistry.cpp (is_gpg4win_installed): New.
1403            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent
1404            dialog design.
1405            * wptKeyManagerDlg.cpp (translate_menu_strings): New.
1406            (translate_popupmenu_strings): New.
1407            * wptKeyEditDlgs.cpp (is_jpg_file): New.
1408            
1409    2005-12-13  Timo Schulz  <[email protected]>
1410    
1411            * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
1412            * wptKeyManagerDlg.cpp (change_edit_menu): New.
1413            (change_key_menu): Renamed from...
1414            (menu_gpg_readonly): ..this.
1415            (clip_contains_pgpkey): New.
1416            (update_ui_items): Do not allow to sign expired keys.
1417            (keymanager_dlg_proc): Same for popup menu.
1418            * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
1419            * wptKeyCache.cpp (copy_uid_prefs):
1420            (gpg_keycache_sync): Copy uid prefs so the key property
1421            dialog show the correct values. Thanks to Shane.
1422            
1423    2005-12-11  Timo Schulz  <[email protected]>
1424    
1425            * wptW32API.cpp (get_file_version): New.
1426            * wptGPGUtil.cpp (create_process): Always hide window.
1427            * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
1428            instead of 'Exit'.
1429            * wptKeyManager.cpp (km_http_import): New filename
1430            generation code.
1431            (km_send_to_mail_recipient): Cleanups.
1432            * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
1433            * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
1434            when multiple keys are selected.
1435            (popup_multiple): New.
1436            * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
1437            file versions are equal. Rewrote --keymanager code.
1438            
1439    2005-12-08  Timo Schulz  <[email protected]>
1440    
1441            * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
1442            (hkp_recv_key2): Show user-id of the imported key instead
1443            of just the pattern.
1444            * wptFileCBS.cpp (read_cb): Changed to W32 API.
1445            (write_cb): Likewise. Create output file on demand.
1446            (gpg_file_data_new): Adjusted code for new API.
1447            * wptKeyEdit.cpp (cleanKey): New.
1448            * wptKeyEditCB.cpp (cmd_clean_handler): New.
1449            (editkey_command_handler): Call clean handler.
1450            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
1451            keylist after inserting items.
1452            * wptFileManager.cpp (fm_set_status): Take care of
1453            cleartext sigs.
1454            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
1455            sure can be closed.
1456            
1457    2005-12-07  Timo Schulz  <[email protected]>
1458    
1459            * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
1460            Use 'Close' instead of 'Exit'.
1461            * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
1462            * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
1463            as the destination dir. Thanks to Werner.
1464            * wptRegistry.cpp (is_gpgee_installed): New.
1465            (regist_inst_winpt): Do not register file extensions
1466            if GPGee is available.
1467            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
1468            use of local vars.
1469            * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
1470            no illegal backup mode is saved.
1471            * wptKeyserverDlg.cpp (show_imported_key): New.
1472            (hkp_recv_key2): Show imported keys if the blob
1473            contained more than one.
1474            
1475    2005-12-06  Timo Schulz  <[email protected]>
1476    
1477            * WinPT.cpp (WinMain): Load the gettext environment soon
1478            as possible so all 'first start' messages are localized.
1479            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
1480            received via the keyserver, return the gpgme key context on
1481            success and add it directly to the list.
1482            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
1483            to store the key.
1484            (hkp_recv_key2): Add extra param for the fingerprint.
1485            (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
1486            
1487    2005-12-02  Werner Koch  <[email protected]>
1488    
1489            * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
1490    
1491    2005-12-01  Timo Schulz  <[email protected]>
1492    
1493            * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
1494            for get_gpg_sigstat().
1495            * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
1496            As a macro strings will not be translated at runtime.
1497            * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
1498            need to update the cache. Thanks to Jan-Oliver.
1499            * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
1500            
1501    2005-11-30  Timo Schulz  <[email protected]>
1502    
1503            * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
1504            * WinPT-en.rc: Removed string list.
1505            * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
1506            * wptKeylist.cpp (keylist_build): Cannot use global
1507            arrays for the columns due to gettext.
1508            
1509    2005-11-29  Timo Schulz  <[email protected]>
1510    
1511            * WinPT.cpp (WinMain): Modify --keymanager. If an instance
1512            is running, just send the command to open the manager.
1513            
1514    2005-11-25  Timo Schulz  <[email protected]>
1515    
1516            * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
1517            process when the revoker is already there.
1518            
1519    2005-11-24  Timo Schulz  <[email protected]>
1520    
1521            * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
1522            signing dialog items.
1523            * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
1524            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
1525            * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
1526            * wptKeylist.cpp (key_check_validity): Likewise.
1527            * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
1528            
1529    2005-11-22  Timo Schulz  <[email protected]>
1530    
1531            * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
1532            macro debug output will be generated in release version.
1533            
1534    2005-11-21  Timo Schulz  <[email protected]>
1535    
1536            * WinPT.cpp (WinMain): Implement --stop switch.
1537            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
1538            missing string.
1539            * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
1540            * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
1541            first. Thanks to Ralf.
1542            * wptFileManagerDlg.cpp (update_ui_items): New.
1543            * wptFileManager.cpp (fm_set_status): New sigmode param.
1544            Changed all callers.
1545            
1546    2005-11-17  Timo Schulz  <[email protected]>
1547    
1548            * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
1549            the cache will be loaded twice.
1550            * wptRegistry.cpp (regist_inst_winpt): More comments.
1551            * wptKeyManagerDlg.cpp (do_center_window): Make sure that
1552            neg. coordinates are never used.
1553            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
1554            strings.
1555            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
1556            * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
1557            and save 'AlwaysOnTop' in the registry.
1558            
1559    2005-11-16  Timo Schulz  <[email protected]>
1560    
1561            * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
1562            * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
1563            mode.
1564            * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
1565            * wptRegistry.cpp (regist_inst_winpt): Set install directory.
1566            Useful for other programs to figure out the path to the EXE.
1567            
1568    2005-11-14  Timo Schulz  <[email protected]>
1569    
1570            * wptGPG.cpp (check_gnupg_engine): Fix version check.
1571            * wptMainProc.cpp (winpt_main_proc): Check keyring
1572            file permissions always and do not use interative output
1573            when the windows session ends.
1574            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
1575            Localize all strings.
1576            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
1577            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
1578            * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
1579            non-valid keys.
1580            
1581    2005-11-12  Timo Schulz  <[email protected]>
1582    
1583            Fix more GCC warnings.
1584    
1585    2005-11-10  Timo Schulz  <[email protected]>
1586    
1587            * wptClipSignDlg.cpp (one_key_proc): Use
1588            release_gpg_passphrase_cb() to free the context.
1589            * wptListView.cpp (listview_deselect_all): New.
1590            * wptMAPI.cpp (mapi_send_pubkey): Works again.
1591            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
1592            zip.    
1593            * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
1594            caching for signing operations.
1595            * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
1596            * wptFileManager.cpp (fm_send_file): Likewise.
1597            (fm_encrypt_into_zip): New.      
1598            
1599    2005-11-09  Timo Schulz  <[email protected]>
1600    
1601            * wptNLS.c (get_gettext_langid): Map user language id to
1602            printable gettext language strings.
1603            * wptRegistry.cpp (get_reg_entry_mo): Support for the
1604            gettext environment.
1605            * wptFileManager.cpp (fm_encrypt): Close all files before
1606            the wipe procedure is called.
1607            * wptVerlist.cpp (verlist_add_sig): Handle the case the
1608            issuer is not valid but the signature is.
1609            (verlist_add_sig_log): Likewise. Thanks to the folks on
1610            winpt-users.
1611            
1612    2005-11-08  Werner Koch  <[email protected]>
1613    
1614            * SAFE.ICO, SIGN.ICO: Fixed capitalization.
1615            * WinPT-en.rc: Ditto.
1616            * winpt_km.ico:  Moved from ../.
1617    
1618            * Makefile.am (resource_files): Add missing backslash.
1619    
1620    2005-11-08  Timo Schulz  <[email protected]>
1621    
1622            More minor changes to avoid GCC warnings.
1623            
1624            * wptGPG.cpp (check_homedir): Free memory in case of errors.
1625            (multi_gnupg_path): Add strict mode. If non-strict mode return
1626            the folder even if it does not exist.
1627            (check_for_gpgwin): New.
1628            * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
1629            initialized.
1630            * wptRegistry.cpp (get_reg_entry_gpg4win): New.
1631            (get_reg_entry_mo): Support for gpg4win.
1632            
1633    2005-11-07  Timo Schulz  <[email protected]>
1634    
1635            * wptMainProc.cpp (winpt_main_proc): Disable
1636            some menu items when no secret key is available.
1637            
1638    2005-11-05  Timo Schulz  <[email protected]>
1639    
1640            More minor changes to avoid GCC warnings.
1641            
1642            * wptErrors.cp (winpt_strerror): Return w32
1643            formatted error and do not use 'break'.
1644            
1645    2005-11-04  Werner Koch  <[email protected]>
1646    
1647            * WinPT-en.rc: Fixed locations of icons.
1648    
1649    2005-11-03  Timo Schulz  <[email protected]>
1650    
1651            A lot of minor changes to avoid GCC warnings.
1652    
1653            * wptGPG.cpp (get_gnupg_keyring): Only check size for
1654            public keyring.
1655            * wptKeyManager.cpp (km_update_default_key_str): Do
1656            not issue a bug message when no secret key was found.
1657            * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
1658            
1659    2005-11-02  Werner Koch  <[email protected]>
1660    
1661            * WinPT.cpp (WinMain): Disabled PTD version tests.
1662            (check_crypto_engine): Fixed version check for scard.
1663    
1664            * wptErrors.cpp (debug_end): Add dummy function.
1665    
1666            * Makefile.am (code_files): Added wptCardEditCB.cpp and
1667            wptKeyEditCB.cpp.
1668    
1669    2005-10-31  Werner Koch  <[email protected]>
1670    
1671            * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
1672            functions.
1673    
1674            * wptKeyEditDlgs.cpp: Include oleauto.h
1675            * wptKeyEdit.cpp: Include time.h.
1676            * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
1677            * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
1678    
1679            * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
1680            wptKeyEdit.cpp and wptKeycache.cpp.
1681    
1682            * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
1683            * wptImportList.cpp (implist_load): Use remove and not unlink.
1684            * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
1685            * wptImportList.cpp (implist_load): Use remove and not unlink.
1686            * wptKeyManager.cpp (km_http_import): Ditto
1687            * wptMainProc.cpp: Include wptCrypto.h
1688            * wptKeyManager.cpp: Ditto.
1689            * wptFileManager.cpp: Ditto.
1690            * wptImportList.cpp (parse_colon_key): Need to cast argument for
1691            isdigit.  Include ctype.h.
1692            * wptGPG.cpp: Include shlobj.h.
1693    
1694            Fixed double inclusion of windows.h.
1695            
1696            * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
1697            * wptKeylist.cpp (get_key_created): Broke up trigraph.
1698            (get_key_status): Removed dangerous use of sprintf.  Still other
1699            flaws present, see comment.
1700    
1701            * wptCardPCSC.c: Don't include winscard.h.
1702            (pcsc_readerstate_t, pcsc_context_t): New.  Changed call users to
1703            use these types.
1704            (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
1705            (SCARD_S_SUCCESS): Changed all compares to test the value directly
1706            against zero.
1707    
1708            * WinPT.cpp: Include wptCrypto.h.
1709            (WinMain): Don't shard S. Removed usunsed variable SIZE.
1710            * Makefile.am (code_files): Actually add files by adding a first
1711            backslash.
1712            * wptMDSumDlg.cpp: Include wptCrypto.h.
1713            * wptProxySettingsDlg.cpp: Included ctype.h.
1714            * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
1715            * wptKeysignDlg.cpp: Ditto
1716            * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
1717            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
1718            Removed unused variable.
1719            * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
1720            silly c++ operator synonyms.
1721            * wptKeyEditDlgs.cpp: Include time.h.
1722            * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
1723            * wptFileManagerDlg.cpp: Ditto.
1724            (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
1725            matter if it does an rmdir for a directory.
1726    
1727            Fixed include of resource.h which is not anymore in the top
1728            directory.
1729    
1730    2005-10-28  Werner Koch  <[email protected]>
1731    
1732            * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
1733            unsigned.  Never ever use a possible signed char as argument for
1734            ctype tests.  An alternative is to first test using isascii ().
1735            (keyserver_proxy_dlg_proc): Removed unused variable.
1736    
1737    2005-10-27  Timo Schulz  <[email protected]>
1738    
1739            * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
1740            * wptKeylist.cpp (keylist_add_key): Check global key flag to
1741            see if the key is disabled and not each subkey.
1742            (seclist_init): Likewise.
1743            * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
1744            gpgme_op_decrypt_verify.
1745            (clip_decrypt_dlg_proc): Fixed fingerprint
1746            to keyid conversation. This also fixes a crash.
1747            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
1748            * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
1749            already expired if the user wants to change the date.
1750            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
1751            'v3 sig' option with the 'ask cert level' option. Sync
1752            with global preferences.
1753            * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
1754            gpg.conf contains 'ask-cert-level'. If not disable button.
1755            * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
1756            the button when the key is available.
1757            Reload key directly, not the entire cache.
1758            
1759    2005-10-26  Timo Schulz  <[email protected]>
1760    
1761            * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
1762            possible overflow.
1763            (is_openpgp_ext): Compare case insentensive.
1764            (add_single_file): New.
1765            (fm_add_opened_files): Support multi file selection.
1766            * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
1767            * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
1768            reload flag. Just update the single key.
1769            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
1770            and disable anonymize recipient for now.
1771    
1772            Begin to port code to GCC. Fix all warning issued by the gcc
1773            compiler.
1774    
1775    2005-10-25  Timo Schulz  <[email protected]>
1776    
1777            * wptGPGUtil.cpp (create_process): Hide window.
1778            * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
1779            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
1780            static var 'enable'.
1781            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
1782            (gpg_genkey_params): Make sure all primary keys are capable
1783            for signing and certification.
1784            * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
1785            * wptGPG.cpp (gnupg_access_keyring): Check return value for
1786            NULL. Noted by Ralf.
1787            (get_gnupg_prog): Simplified.
1788            (check_homedir): Fixed. Return 0 when the dir is successfully created.
1789            * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
1790            indicate a pending GPG process.
1791            * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
1792            and and of an operation. For now just the cursor changes.
1793            (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
1794            * WinPT.cpp (WinMain): Check if there is already an instance and
1795            set a variable early as possible.
1796            (load_gettext): If a previous instance was found, do not output
1797            any errors. Kudos to Ralf.      
1798    
1799    2005-10-24  Timo Schulz  <[email protected]>
1800    
1801            * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use
1802            pre-defined recipients.
1803            (release_gpg_passphrase_cb): Release recipients.
1804            * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id
1805            validity if needed.
1806            (keyprops_dlg_proc): Issue a warning if the photo is valid.
1807    
1808    2005-10-23  Timo Schulz  <[email protected]>
1809    
1810            * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.  
1811            * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
1812            (get_ext_validity): New.
1813            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
1814            * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
1815            this function.
1816            (load_clipboard_from_file): Likewise.
1817            (save_clipboard_to_file): New.
1818            * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.
1819    
1820    2005-10-22  Timo Schulz  <[email protected]>
1821    
1822            Localized a lot of more strings.
1823    
1824            * wptMainProc.cpp (load_smartcard): New.
1825            * wptFileManager.cpp (fm_parse_command_line): Simplify code.
1826            (fm_check_armor_type): Add new arg. Change all callers.
1827            (fm_get_file_type): Likewise.
1828            * wptKeyPropsDlg.cpp (display_key_info): New.  
1829            (keyprops_show_photo): Factored out some code into..
1830            (keyprops_load_photo): ..this function.
1831    
1832    2005-10-21  Timo Schulz  <[email protected]>
1833    
1834            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use
1835            WM_INITPOPUPMENU to localize popup menu texts.
1836            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1837            * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.  
1838    
1839    2005-10-20  Timo Schulz  <[email protected]>
1840    
1841            Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.
1842    
1843            * wptPassphraseCB.cpp (passphrase_cb): Complete card support.
1844            * wptCardEdit.cpp (genKey): Handle cancel case.
1845            * keycache.c: Renamed into...
1846            * wptKeyCache.cpp: ...this.
1847            * wptW32API.cpp (set_menu_text): Removed unused code.
1848            (set_menu_text_bypos): New.
1849            * wptCrypto.h: New.
1850            * wptMainProc.cpp (winpt_main_proc): Complete localize
1851            menu texts.
1852            * wptErrors.cpp (log_debug): Use a static var so the file
1853            is only opened once.
1854            (debug_end): Cleanup. Currently just close the log file.
1855            * wptErrors.h (wipememory): New.
1856            (sfree_if_alloc): Use it here.
1857            * WinPT.cpp (WinMain): Display the min. GPGME version which
1858            is needed in case of an error.
1859    
1860    2005-10-17  Timo Schulz  <[email protected]>
1861    
1862            Free all memory returned by the GPGME dll with gpgme_free ().
1863    
1864            s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.
1865    
1866            * wptKeyEdit.cpp (getCardStatus): Remove dummy key.
1867            (list_handler): With user interaction to allow to insert
1868            the card into the reader.
1869            * wptKeyEditCB.cpp (gpg_edit_card): Likewise.
1870            (common_card_handler): Fixed incorrect command string.
1871            * wptKeyPropsDlg.cpp (get_card_type): New.
1872            (keyprops_dlg_proc): Show card information if present.
1873            * wptFileManager.cpp (secret_key_available): Make the code faster.
1874            
1875    
1876    2005-10-16  Timo Schulz  <[email protected]>
1877    
1878            * wptPassphraseCB.cpp (passphrase_cb): Fix problem
1879            with hanging GPG process on cancel.
1880            * keycache.c (gpg_keycache_release): Release all objects.
1881    
1882    2005-10-15  Timo Schulz  <[email protected]>
1883    
1884            * wptCardEdit.cpp (setResult, getResult): New.
1885            (reset): New.
1886            (getCardStatus): Check return codes and release all objects
1887            in case of errors.
1888            * wptCardEditCB.cpp (change_pin_handler): Call reset()
1889            before quit.
1890            (editcard_handler): Likewise.
1891            (common_card_handler): New.
1892            * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask
1893            the old PIN when 'Hide Typing' is disabled.
1894            * wptPassphraseCB.cpp (passphrase_cb): The card detection
1895            works again. Support to re-enter passphrase.
1896    
1897    2005-10-14  Timo Schulz  <[email protected]>
1898    
1899            * wptCardDlg.cpp (card_status): New fields for the
1900            fingerprint creation time. Display card info as title.
1901            (get_printable_version): New.
1902            * wptCardEditCB.cpp (editcard_handler): Fix problem
1903            with the counter comparison.
1904    
1905    2005-10-11  Timo Schulz  <[email protected]>
1906    
1907            Port to GPGME basically finished.
1908    
1909    2005-09-20  Timo Schulz  <[email protected]>
1910    
1911            * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):
1912            Do not use gpgme_recipients_t but the listview directly
1913            to add the selected files.
1914    
1915    2005-09-07  Timo Schulz  <[email protected]>
1916    
1917            * Make sure all GetOpenFileName filters are terminated by \0\0.
1918    
1919    2005-09-01  Timo Schulz  <[email protected]>
1920    
1921            * wptW32API.cpp (center_window): New argument for parent window.
1922            Change all callers.
1923            (center_window2): Likewise.
1924            * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.
1925            * wptGPG.cpp (gnupg_backup_options): Remove param. One backup
1926            file is enough. Changed all callers.
1927    
1928    2005-08-15  Timo Schulz  <[email protected]>
1929    
1930            * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.
1931            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.
1932            * Make sure the passphrase is always overwritten before it is
1933            freed (or the function returns).
1934            * wptKeyPropDlg.cpp (get_pref_cipher): New.
1935            (keyprops_dlg_proc): Use it here.
1936    
1937    2005-08-06  Timo Schulz  <[email protected]>
1938    
1939            * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
1940            of the secret key.
1941            (keycache_init): cache name of secret keyring.
1942            * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
1943            (get_key_type): Do not assume 'ultimate' means key pair.
1944            * wptKeyEditDlgs.cpp (diff_time): New.
1945            (keyedit_addsubkey_dlg_proc): Changed design and use
1946            diff_time. Drop checks for invalid keylength (< 1024, > 4096)
1947            because the combo box automatically handles this.
1948            * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
1949            * wptGPG.cpp (get_backup_name): New.
1950            (gnupg_backup_keyrings): Rotate backup names, from 0..3.
1951            * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
1952            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
1953            not the long keyid.
1954    
1955    2005-08-05  Timo Schulz  <[email protected]>
1956    
1957            * wptListView.cpp (listview_set_item2): New.
1958            * wptKeyManager.cpp (km_check_if_protected): Directly
1959            retrieve gpgme_key_t from the list.
1960            (km_check_key_status): Likewise.        
1961            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use
1962            a human-readable name for secret key export.
1963            Reload just the keys which were affected by updates
1964            (edit-key).
1965            (update_key): New.
1966            * wptKeyList.cpp ((keylist_upd_key): Stripped down
1967            version of keylist_add_key.
1968            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not
1969            reload the keycache here, just flag 'update'. Give the
1970            control to the calling dialog.
1971            * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t
1972            as parameter. Changed all callers.
1973            Add date of expiration to the key info.
1974            (get_expire_date): New.
1975            Use a checkbox to allow to ask for the cert level.
1976            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload
1977            the cache.
1978    
1979    2005-08-04  Timo Schulz  <[email protected]>
1980    
1981            * wptListView.cpp (listview_scroll): New.
1982            (listview_get_item2): New.
1983            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the
1984            item was found, make it visible with scrolling.
1985            * wptKeyManager.cpp (km_find_key): New.
1986            (keylist_subclass_proc): Support to handle some acceleators.
1987            Strg+{C, P, F, A}.
1988            (km_get_key_status): Get the gpgme_key_t object directly
1989            from the list.
1990            * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set
1991            the config file (if it exists).
1992            * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code
1993            to handle the click->activate situation.
1994            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
1995            Support to check the passphrase quality.
1996            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
1997            (request_passphrase): Rename 'init' to 'flags' to allow more
1998            options.
1999            * wptMAPI.cpp: Check all *alloc results.
2000            * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary
2001            passphrase quality check.
2002            * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file
2003            format and allow to save the checksum in a file.
2004            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning
2005            when the PGP mode is disabled.
2006            wptKeyEditDlgs.cpp (do_editkey_primary): Return if just
2007            one user-ID exists.
2008            (keyedit_dlg_proc): Fixed index problem.
2009            * wptKeyPropsDlg.cpp (get_validity): New.
2010            (keyprops_dlg_proc): Actually show extended validity if possible.
2011            * wptKeyList.cpp (get_key_fpr): Support for old v3 format.
2012            (do_addkey): Use listview_add_item2 to store key as opaque
2013            param inside the list.
2014            * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.
2015            (file_stat_dlg_proc): End dialog if no PGP data was found.
2016            (do_list_packets): Return the number of valid PGP packets
2017            of the file.
2018    
2019    2005-08-02  Timo Schulz  <[email protected]>
2020    
2021            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of
2022            using 'Default Keyserver' add the real keyserver name to
2023            the menu.
2024            The rebuild command does not reload the cache any longer.
2025            Use ATTR_NAME + .asc as the filename and not keyid + .asc.
2026            * wptProxySettingsDlg.cpp (enable_proxy_auth): New.
2027            (keyserver_proxy_dlg_proc): Changed the design a little
2028            and add some additional sanity checks.
2029            * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.
2030            This fixes the problem that the GPG option dialog does not show
2031            very nice lines.
2032            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.
2033            * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected
2034            check for 'NOKEY' before asking a keyserver.
2035            * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.
2036            If a lot of keys were selected, ask if the user wants to confirm
2037            each delete procedure or allow to cancel the operation.
2038            * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much
2039            keys the file contain.
2040            * wptKeyList.cpp (get_key_algo): Beautified.
2041            (get_key_status): Drop the "[XYZ] Unknown" format, it is too
2042            confusing for users.
2043            * wptKeyManager.cpp (km_check_key_status): Adjustments for the
2044            new code.
2045            (km_check_for_seckey): Reset utrust parameter. Return -1 for
2046            invalid (exp+rev+dis) keys.
2047    
2048    2005-08-01  Timo Schulz  <[email protected]>
2049    
2050            * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given
2051            sizes.
2052            (check_IP_or_hostname): New.
2053            (kserver_load_conf): Correct finger URL parsing problem.
2054            (port_from_proto): New.
2055            (keyserver_load_conf): Guess the port.
2056            (keyserver_set_default): Allocate new buffer.
2057            (kserver_load_conf): Likewise.
2058            * wptHTTP.c (parse_reqline, parse_request): Removed.
2059            Use WinPT error code and remove all unused code.
2060            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.
2061            * wptProxySettingsDlg.cpp (read_proxy): Simple check for
2062            invalid host/IP addresses.
2063            * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.
2064            Changed all callers.
2065            * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,
2066            automatically set 'backup to homedir'.
2067            * WinPT.cpp (WinMain): Use desktop window as the parent window
2068            to load 'first-start' dialogs.
2069            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'
2070            flag after deleting keys.
2071            * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure
2072            for passing the arguments.
2073            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for
2074            the OptFile. This was responsible for a lot of 'General Errors'
2075            after the first start related to key caching.
2076            Automatically set the gpg binary if possible.
2077    
2078    2005-07-22  Timo Schulz  <[email protected]>
2079    
2080            * wptMainProc.cpp (winpt_main_proc): Take care for shutdown
2081            messages and make sure WinPT make a keyring backup in this case.
2082            * wptGPGME.cpp (keycache_reload): Do not rebuild the signature
2083            cache each time. Just do it on startup.
2084            * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.
2085            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag
2086            was set by the calling function.
2087            * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.
2088            (keygen_dlg_proc): Only add the generated key to the keycache
2089            and do not reload the entire cache.
2090            * wptKeyManager.cpp (km_delete_keys): Store the number of keys
2091            because in each loop iteration it will be new calculated.
2092            * wptListView.cpp (listview_del_items): Likewise.
2093            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the
2094            generated key to the list instead of reloading the entire cache.
2095            * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.
2096    
2097  2005-05-09  Timo Schulz  <[email protected]>  2005-05-09  Timo Schulz  <[email protected]>
2098    
2099          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..
# Line 305  Line 2136 
2136          (kserver_sendkey): Likewise.          (kserver_sendkey): Likewise.
2137          * wptProxySettingsDlg.cpp (check_number): New.          * wptProxySettingsDlg.cpp (check_number): New.
2138          (read_proxy): Check the entered port number.          (read_proxy): Check the entered port number.
2139          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.
2140          * wptW32API.cpp (get_folder_dlg): Free memory.          * wptW32API.cpp (get_folder_dlg): Free memory.
2141    
2142  2005-04-11  Timo Schulz  <[email protected]>  2005-04-11  Timo Schulz  <[email protected]>
# Line 650  Line 2481 
2481    
2482          * WinPT.cpp (load_keyserver_conf): New. Factored out some code          * WinPT.cpp (load_keyserver_conf): New. Factored out some code
2483          from WinMain ().          from WinMain ().
2484          (WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner          (WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner
2485          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver
2486          in the list control, add at least the internal default HKP server.          in the list control, add at least the internal default HKP server.
2487          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.

Legend:
Removed from v.30  
changed lines
  Added in v.286

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26