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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26