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

Diff of /trunk/Src/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26