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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.30  
changed lines
  Added in v.392

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26