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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.26  
changed lines
  Added in v.290

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26