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

Diff of /trunk/Src/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26