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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26