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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.26  
changed lines
  Added in v.415

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26