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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.32  
changed lines
  Added in v.288

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26