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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.26  
changed lines
  Added in v.315

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26