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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.23  
changed lines
  Added in v.262

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26