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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.33  
changed lines
  Added in v.293

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26