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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.27  
changed lines
  Added in v.407

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26