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

Diff of /trunk/Src/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26