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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.25  
changed lines
  Added in v.222

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26