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

Diff of /trunk/Src/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26