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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.28  
changed lines
  Added in v.233

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26