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

Diff of /trunk/Src/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26