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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.34  
changed lines
  Added in v.276

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26