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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.34  
changed lines
  Added in v.229

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26