/[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 217 by twoaday, Mon May 22 14:21:39 2006 UTC
# Line 1  Line 1 
1  2005-10-21  Timo Schulz  <[email protected]>  2005-05-20  Timo Schulz  <[email protected]>
2    
3          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use          * wptKeyPropsDlg.cpp (keyprops_load_photo): avoid expensive
4          WM_INITPOPUPMENU to localize popup menu texts.          process call when no photo is available.
5          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.          (keyprops_dlg_proc): avoid static data.
6          * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.            * wptFileManager.cpp (fm_add_sig_stat): Free memory in case
7            of on demand key requests.
8  2005-10-20  Timo Schulz  <[email protected]>          (show_verify_result): Likewise.
9            (secret_key_available): Likewise.
10          Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.          (fm_decrypt, fm_sign): Handle the new on demand key request
11            mode and free all memory.
12          * wptPassphraseCB.cpp (passphrase_cb): Complete card support.          
13          * wptCardEdit.cpp (genKey): Handle cancel case.  2006-05-15  Timo Schulz  <[email protected]>
14          * keycache.c: Renamed into...  
15          * wptKeyCache.cpp: ...this.          * wptKeyEditDlgs.cpp (userid_list_init): Forgot to
16          * wptW32API.cpp (set_menu_text): Removed unused code.          apply patch. Thanks to vedaal.
17          (set_menu_text_bypos): New.          
18          * wptCrypto.h: New.  2006-05-14  Timo Schulz  <[email protected]>
19          * wptMainProc.cpp (winpt_main_proc): Complete localize  
20          menu texts.          * wptKeyCache.cpp (gpg_keycache_update_attr): Parse
21          * wptErrors.cpp (log_debug): Use a static var so the file          preferred keyserver URL.
22          is only opened once.          * wptHTTP.cpp (extractHostInfo): Fix segv.
23          (debug_end): Cleanup. Currently just close the log file.          * wptGPGUtil.cpp (gpg_find_key_subpacket): Ignore default
24          * wptErrors.h (wipememory): New.          gpg.conf.
25          (sfree_if_alloc): Use it here.          * wptKeyserverSearchDlg.cpp (search_hkp_keys): Do not
26          * WinPT.cpp (WinMain): Display the min. GPGME version which          assume an existing user id.
27          is needed in case of an error.          * wptPassphraseCB.cpp (passphrase_cb): Automatic cancel
28            if no passphrase is available.
29  2005-10-17  Timo Schulz  <[email protected]>  
30    2006-05-13  Timo Schulz  <[email protected]>
31          Free all memory returned by the GPGME dll with gpgme_free ().  
32            * wpMainProc.cpp (secret_key_available): Move it...
33          s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.          * wptGPGME.cpp: ..to this file.
34            (check_ultimate_trusted_key): Handle the case there
35          * wptKeyEdit.cpp (getCardStatus): Remove dummy key.          is no secret key available.
36          (list_handler): With user interaction to allow to insert          * wptFileManagerDlg.cpp (update_ui_items): Improved.
37          the card into the reader.          * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Deactive
38          * wptKeyEditCB.cpp (gpg_edit_card): Likewise.          some functions when no secret key is available.
39          (common_card_handler): Fixed incorrect command string.          * wptKeyserverSearchDlg.cpp (search_hkp_keys): Adjust
40          * wptKeyPropsDlg.cpp (get_card_type): New.          code and also display pubkey algorithm.
41          (keyprops_dlg_proc): Show card information if present.          * wptKeyserver.cpp (safe_alloc): New.
42          * wptFileManager.cpp (secret_key_available): Make the code faster.          (count_keys_in_response): New.
43                    (parse_pub_record): New.
44            (parse_uid_record): New.
45  2005-10-16  Timo Schulz  <[email protected]>          (kserver_release_key): New.
46            (kserver_search_begin, kserver_search_next_key):
47          * wptPassphraseCB.cpp (passphrase_cb): Fix problem          Adjust for the machine readable output. Removed old code.
48          with hanging GPG process on cancel.          (parse_keyserver_url): New.
49          * keycache.c (gpg_keycache_release): Release all objects.          * wptUtil.cpp (substr): New.
50            * wptKeyManager.cpp (km_refresh_one_key): Properly
51  2005-10-15  Timo Schulz  <[email protected]>          parse the keyserver URL.
52            
53          * wptCardEdit.cpp (setResult, getResult): New.  2006-05-11  Timo Schulz  <[email protected]>
54          (reset): New.  
55          (getCardStatus): Check return codes and release all objects          * wptPassphraseCB.cpp (release_gpg_recipients): New.
56          in case of errors.          (release_gpg_recipients): Use it here.
57          * wptCardEditCB.cpp (change_pin_handler): Call reset()          * wptFileManager.cpp (fm_decrypt): List all recipients.
58          before quit.          Thanks to vedaal.
59          (editcard_handler): Likewise.          * wptGPG.cpp (extract_keyid): New.
60          (common_card_handler): New.          (get_gnupg_default_key): Use it here.
61          * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Allow to verify
62          the old PIN when 'Hide Typing' is disabled.          one-pass-sigs again.
63          * wptPassphraseCB.cpp (passphrase_cb): The card detection          
64          works again. Support to re-enter passphrase.  2006-05-09  Timo Schulz  <[email protected]>
65    
66  2005-10-14  Timo Schulz  <[email protected]>          * wptKeyRevokersDlg.cpp (revokelist_build): Store key ptr.
67            * wptClipSignDlg.cpp (gpg_clip_sign): Improve error handling.
68          * wptCardDlg.cpp (card_status): New fields for the          * wptKeysigDlg.cpp (sigprops_dlg_proc): Correct expire date.
69          fingerprint creation time. Display card info as title.          
70          (get_printable_version): New.  2006-05-07  Timo Schulz  <[email protected]>
71          * wptCardEditCB.cpp (editcard_handler): Fix problem  
72          with the counter comparison.          * wptKeyserverDlg.cpp (hkp_err_box): Improved.
73            * wptKeyserver.cpp (wsock_strerror): Likewise.
74  2005-10-11  Timo Schulz  <[email protected]>          * wptKeygenCBDlg.cpp (keygen_cb_dlg_destroy): New param.
75            Change all callers.
76          Port to GPGME basically finished.          * wptKeysigDlg.cpp (do_load_keyprops): Correct key update
77            problem.
78  2005-09-20  Timo Schulz  <[email protected]>          
79    2006-05-06  Timo Schulz  <[email protected]>
80          * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):  
81          Do not use gpgme_recipients_t but the listview directly          * wptKeyManagerDlg.cpp (reload_keycache): Use pre-defined
82          to add the selected files.          sorting order if available.
83            * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use 0x prefix
84  2005-09-07  Timo Schulz  <[email protected]>          for the key ID.
85            (get_pref_cipher): Differ between the AES algorithm IDs.
86          * Make sure all GetOpenFileName filters are terminated by \0\0.          (key_is_valid): New.
87            * wptKeyserverDlg.cpp (check_pattern): Simplified.
88  2005-09-01  Timo Schulz  <[email protected]>          
89    2006-05-03  Timo Schulz  <[email protected]>
90          * wptW32API.cpp (center_window): New argument for parent window.  
91          Change all callers.          * wptKeyCache.cpp (keycache_prepare2): Fix possible segv.
92          (center_window2): Likewise.          Thanks to Mathias.
93          * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.          
94          * wptGPG.cpp (gnupg_backup_options): Remove param. One backup  2006-05-02  Timo Schulz  <[email protected]>
95          file is enough. Changed all callers.  
96            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use a
97  2005-08-15  Timo Schulz  <[email protected]>          caption for the radio button group.
98            * wptKeyserverDlg.cpp (keyserver_recv_key): Use new code.
99          * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.          * wptKeyserver.cpp (kserver_recvkey, finger_recvkey,
100          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.          ldap_recvkey): Avoid fixed buffers.
101          * Make sure the passphrase is always overwritten before it is          (do_spawn_ldap_helper): New.
102          freed (or the function returns).          (ldap_recvkey): Factor out code into helper function.
103          * wptKeyPropDlg.cpp (get_pref_cipher): New.          * wptPassphraseCBDlg.cpp (passphrase_callback_proc):
104          (keyprops_dlg_proc): Use it here.          Increase width of the list box to make sure even large
105            user IDs will be completly displayed.
106  2005-08-06  Timo Schulz  <[email protected]>          
107    2006-05-01  Timo Schulz  <[email protected]>
108          * wptGPGME.cpp (keycache_update): Reload OpenPGP parts  
109          of the secret key.          * WinPT.cpp (WinMain): Check if the user has admin privileges.
110          (keycache_init): cache name of secret keyring.          * wptW32API.cpp (user_is_admin): New.
111          * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.          * wptKeysigDlg.cpp (sigprops_dlg_proc): Cosmetical changes.
112          (get_key_type): Do not assume 'ultimate' means key pair.          * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use timer
113          * wptKeyEditDlgs.cpp (diff_time): New.          to re-activate the window again.
114          (keyedit_addsubkey_dlg_proc): Changed design and use          * wptKeylist.cpp (get_key_trust2): Differ between "full"
115          diff_time. Drop checks for invalid keylength (< 1024, > 4096)          and "ultimate".
116          because the combo box automatically handles this.          * wptKeyCache.cpp (keycache_prepare2): Primary user-id
117          * wptKeyManager.cpp (km_set_implicit_trust): Return error code.          has now highest priority.
118          * wptGPG.cpp (get_backup_name): New.          * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use new utf8
119          (gnupg_backup_keyrings): Rotate backup names, from 0..3.          system.
120          * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.          
121          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and  2006-04-30  Timo Schulz  <[email protected]>
122          not the long keyid.  
123            * wptKeyCache.cpp (gpg_keycache_release): Release revoker
124  2005-08-05  Timo Schulz  <[email protected]>          list if needed.
125            * wptKeyRevokersDlg.cpp (key_get_revokers): New.
126          * wptListView.cpp (listview_set_item2): New.          (key_revokers_dlg_proc): Expect winpt_key_t. Change all callers.
127          * wptKeyManager.cpp (km_check_if_protected): Directly          * wptKeyEditDlgs.cpp (check_desig_rev): New.
128          retrieve gpgme_key_t from the list.          (do_editkey_minimize): New.
129          (km_check_key_status): Likewise.                  * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Support to
130          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use          generate a revoc cert as a desig revoker.
131          a human-readable name for secret key export.          
132          Reload just the keys which were affected by updates  2006-04-29  Timo Schulz  <[email protected]>
133          (edit-key).  
134          (update_key): New.          * wptVerifyList.cpp (verlist_build): Adjusted code for new
135          * wptKeyList.cpp ((keylist_upd_key): Stripped down          list view interface.
136          version of keylist_add_key.          * wptSigList.cpp (siglist_build): Likewise.
137          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not          * wptKeyEditDlgs.cpp (showpref_dlg_proc): Correct code
138          reload the keycache here, just flag 'update'. Give the          to display the preferences of the selected UID. Thanks to Mathias.
139          control to the calling dialog.          * wptKeyCacheDlg.cpp (keycache_dlg_proc): Return 1 in case
140          * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t          of an error.
141          as parameter. Changed all callers.          * wptKeyCache.cpp (gpg_keycache_update_key): Always update
142          Add date of expiration to the key info.          the utf8 decoded uid list.
143          (get_expire_date): New.          * wptImportList.cpp (decode_userid): Do utf8 decoding here.
144          Use a checkbox to allow to ask for the cert level.          * wptListView.cpp (listview_new): New param for HWND handle.
145          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload          Change all callers.
146          the cache.          * wptFileManager.cpp (fm_add_sig_stat): Use utf8 decoding.
147            * wptGPGUtil.cpp (gpg_revoke_cert): Support --desig-revoker.
148  2005-08-04  Timo Schulz  <[email protected]>          * wptClipVerifyDlg.cpp (wptClipVerifyDlg.cpp): Correct
149            keyid extraction.
150          * wptListView.cpp (listview_scroll): New.          
151          (listview_get_item2): New.  2006-04-28  Timo Schulz  <[email protected]>
152          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the  
153          item was found, make it visible with scrolling.          * wptMAPI.cpp (mapi_send_pubkey): Use new key struct.
154          * wptKeyManager.cpp (km_find_key): New.          * wptKeysigDlg.cpp (sigprops_dlg_proc): Prepare dialog
155          (keylist_subclass_proc): Support to handle some acceleators.          for handling policy URLs.
156          Strg+{C, P, F, A}.          * wptKeyManagerDlg.cpp (save_column_info, restore_column_info):
157          (km_get_key_status): Get the gpgme_key_t object directly          New option KMSortBy.
158          from the list.          * wptKeylist.cpp (get_key_algo): Lower priority for revoked keys.
159          * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set          * wptKeyEdit.cpp (minimizeKey): New.
160          the config file (if it exists).          * wptKeyCache.cpp (gpg_keycache_update_key): Reload utf8 uid list.
161          * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code          
162          to handle the click->activate situation.  2006-04-27  Timo Schulz  <[email protected]>
163          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.  
164          Support to check the passphrase quality.          * wptKeyManager.cpp (km_get_key_ptr): New.
165          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.          * wptListview.cpp (listview_get_item_text): Drop utf8 support.
166          (request_passphrase): Rename 'init' to 'flags' to allow more          * wptKeyCache.cpp (keycache_decode_uids): New.
167          options.          (free_native_uids): New.
168          * wptMAPI.cpp: Check all *alloc results.          * wptKeyEdit.cpp (uid_inf_colon_handler): Do utf8 decodig here.
169          * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary          
170          passphrase quality check.  2006-04-26  Timo Schulz  <[email protected]>
171          * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file  
172          format and allow to save the checksum in a file.          * wptKeylist.cpp (get_keyid_from_fpr): New.
173          * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning          * wptDecryptClipDlg.cpp (clip_decrypt_dlg): Use it here.
174          when the PGP mode is disabled.          * wptVerifyList.cpp (verlist_add_sig): Likewise.
175          wptKeyEditDlgs.cpp (do_editkey_primary): Return if just          
176          one user-ID exists.  2006-04-25  Timo Schulz  <[email protected]>
177          (keyedit_dlg_proc): Fixed index problem.  
178          * wptKeyPropsDlg.cpp (get_validity): New.          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle IDCANCEL.
179          (keyprops_dlg_proc): Actually show extended validity if possible.          * wptMDSumDlg.cpp (hash_selected_files): New.
180          * wptKeyList.cpp (get_key_fpr): Support for old v3 format.          (mdsum_dlg_proc): Cleanups.
181          (do_addkey): Use listview_add_item2 to store key as opaque          * wptKeysignDlg.cpp (keysign_dlg_proc): Fix segv.
182          param inside the list.          
183          * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.  2006-04-23  Timo Schulz  <[email protected]>
184          (file_stat_dlg_proc): End dialog if no PGP data was found.  
185          (do_list_packets): Return the number of valid PGP packets          * wptW32API.cpp (SetDlgItemText_utf8): New.
186          of the file.          (SetWindowText_utf8): New.
187            (GetDlgItemText_utf8): New.
188  2005-08-02  Timo Schulz  <[email protected]>          * wptListView.cpp (listview_add_sub_item): Internal
189            utf8 support.
190          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of          
191          using 'Default Keyserver' add the real keyserver name to  2006-04-22  Timo Schulz  <[email protected]>
192          the menu.  
193          The rebuild command does not reload the cache any longer.          * wptKeyEditDlgs.cpp (addrevoker_dlg_proc): Encode
194          Use ATTR_NAME + .asc as the filename and not keyid + .asc.          revoker name in UTF8.
195          * wptProxySettingsDlg.cpp (enable_proxy_auth): New.          * wptKeysigDlg.cpp (keysig_dlg_proc): Fix utf8 problem
196          (keyserver_proxy_dlg_proc): Changed the design a little          with the window title.
197          and add some additional sanity checks.          
198          * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.  2006-04-20  Timo Schulz  <[email protected]>
199          This fixes the problem that the GPG option dialog does not show  
200          very nice lines.          * wptUTF8.cpp (native_to_utf8): Use c++ alloc.
201          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.          * wptKeygenDlg.cpp (keygen_dlg_proc): Do not mix c and
202          * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected          c++ memory allocation.
203          check for 'NOKEY' before asking a keyserver.          * wptFileManager.cpp (show_verify_result): Show PKA status
204          * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.          if possible.
205          If a lot of keys were selected, ask if the user wants to confirm          * wptClipVerifyDlg.cpp (get_pka_status): New.
206          each delete procedure or allow to cancel the operation.          (clip_verify_dlg_proc): Show PKA status if possible.
207          * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much          * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle IDCANCEL
208          keys the file contain.          to use ESC to quit the dialog.
209          * wptKeyList.cpp (get_key_algo): Beautified.          * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Also
210          (get_key_status): Drop the "[XYZ] Unknown" format, it is too          encode the comment in UTF8. Thanks to Werner and Jan.
211          confusing for users.          
212          * wptKeyManager.cpp (km_check_key_status): Adjustments for the  2006-04-16  Timo Schulz  <[email protected]>
213          new code.  
214          (km_check_for_seckey): Reset utrust parameter. Return -1 for          * wptHTTP.cpp (getErrorCode): New.
215          invalid (exp+rev+dis) keys.          (connect): Store winsock error code.
216            * wptGPGMEData.cpp (is_armor_header): New.
217  2005-08-01  Timo Schulz  <[email protected]>          * wptGPG.cpp (check_gnupg_engine): Free context.
218            (gnupg_backup_keyrings): Do not use global vars.
219          * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given          * wptGPGUtil.cpp (gpg_export_seckey): Export in ascii format.
220          sizes.          
221          (check_IP_or_hostname): New.  2006-04-15  Timo Schulz  <[email protected]>
222          (kserver_load_conf): Correct finger URL parsing problem.  
223          (port_from_proto): New.          * wptKeyManager.cpp (km_get_key): New.
224          (keyserver_load_conf): Guess the port.          (km_key_show_revoc_info): New.
225          (keyserver_set_default): Allocate new buffer.          * wptKeyRevokeDlg.cpp (key_revoke_dlg): Cleanups.
226          (kserver_load_conf): Likewise.          (on_init_dialog): New.
227          * wptHTTP.c (parse_reqline, parse_request): Removed.          * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Factour
228          Use WinPT error code and remove all unused code.          out some common code and use km_get_key() instead.
229          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.          * wptKeyEditDlgs.cpp (do_init_keylist): Change second
230          * wptProxySettingsDlg.cpp (read_proxy): Simple check for          param type. Change all callers.
231          invalid host/IP addresses.          * wptKeyEdit.cpp (addNotation): New.
232          * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.          * wptKeyEditCB.cpp (editkey_command_handler): Remove 'step'
233          Changed all callers.          param everywhere. Change all callers.
234          * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,          
235          automatically set 'backup to homedir'.  2006-04-09  Timo Schulz  <[email protected]>
236          * WinPT.cpp (WinMain): Use desktop window as the parent window  
237          to load 'first-start' dialogs.          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Only return true
238          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'          if the homedir value was changed.
239          flag after deleting keys.          * wptGPG.cpp (default_key_from_cache): Only return secret key
240          * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure          if public part is available.
241          for passing the arguments.          (set_gnupg_default_key): Fix NULL problem.
242          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for          * wptKeyEditDlgs.cpp (do_editkey_clean): Set update flag.
243          the OptFile. This was responsible for a lot of 'General Errors'          * wptFileCBS.cpp (write_cb, read_cb): Better error handling.
244          after the first start related to key caching.          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle
245          Automatically set the gpg binary if possible.          'always-on-top' correctly.
246            * wptKeylist.cpp (keylist_get_recipients): Allocate enough
247  2005-07-22  Timo Schulz  <[email protected]>          mem to hold all possible keys.
248            (keylist_enum_keys): Likewise.
249          * wptMainProc.cpp (winpt_main_proc): Take care for shutdown          
250          messages and make sure WinPT make a keyring backup in this case.  2006-04-08  Timo Schulz  <[email protected]>
251          * wptGPGME.cpp (keycache_reload): Do not rebuild the signature  
252          cache each time. Just do it on startup.          * wptKeylist.cpp (keylist_get_recipients): Always use utf8 output.
253          * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.          * wptKeyserver.cpp (kserver_connect): Fixed proxy support.
254          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag          * wptKeyserverSearchDlg.cpp (fetch_keys): New.
255          was set by the calling function.          * WinPT.cpp (WinMain): if the default key was not found, reset
256          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.          the gpg.conf entry.
257          (keygen_dlg_proc): Only add the generated key to the keycache          * wptFileManager.cpp (fm_encrypt_into_zip): Use correct output
258          and do not reload the entire cache.          file name.
259          * wptKeyManager.cpp (km_delete_keys): Store the number of keys          (show_verify_result): Always use utf8 output.
260          because in each loop iteration it will be new calculated.          (get_output_file): Case in-sentensive comparison.
261          * wptListView.cpp (listview_del_items): Likewise.          (fm_assume_onepass_sig): Fixed temp file handling.
262          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the          * wptClipEncryptDlg.cpp (show_invalid_recipients): Fix utf8
263          generated key to the list instead of reloading the entire cache.          output.
264          * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix possible segv.
265            
266    2006-04-07  Timo Schulz  <[email protected]>
267    
268            * wptW32API.cpp (set_clip_text): Change code so it also
269            works again with non-XP systems.
270            
271    2006-04-02  Timo Schulz  <[email protected]>
272    
273            * wptKeyserver.cpp: decrease general threshold for timeout.
274            * wptKeyEditDlgs.cpp (do_editkey_clean): New.
275            
276    2006-04-01  Timo Schulz  <[email protected]>
277    
278            * wptFileVerifyDlg.cpp (file_verify_use_event): Removed.
279            * wptFileManager.cpp (restore_original_name): New.
280            (fm_decrypt): Restore original file name from literal
281            packet if possible.
282            
283    2006-03-31  Timo Schulz  <[email protected]>
284    
285            * wptCommonDlg.cpp (nls_load_langlist): New.
286            (nsl_set_language): New.
287            (nls_dlg_proc): New.
288            (select_language): New. Allow user to select the language.
289            * wptNLS.c (get_gettext_langid): Updated available languages.
290            * WinPT.cpp (WinMain): Allow to select the languag on first
291            start in non-installer environments.
292            * wptVerifyList.cpp (verlist_build): Simplified.
293            (verlist_add_sig_log): Likewise.
294            * wptListview.cpp (listview_set_column_width,
295            listview_get_selected_item): New.
296            * wptKeyManager.cpp (gpg_clip_export): Merged into..
297            (km_clip_export): ..this function.
298            
299    2006-03-30  Timo Schulz  <[email protected]>
300    
301            * wptW32API.cpp (insert_menu_item): New.
302            * wptSigTreeDlg.cpp (create_popup): Use it.
303            (sigtree_dlg_proc): Only show the name of the owner in the title.
304            * wptMainProc.cpp (init_common_controls): Initialize all
305            common controls here.
306            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Drop static
307            keyserver menu concept. Add all keyservers dynamically.
308            
309    2006-03-29  Timo Schulz  <[email protected]>
310    
311            * wptKeyManager.cpp (km_refresh_one_key): Fix problem
312            with preferred keyserver.
313            * wptCommonDlg.cpp (check_URL): Allow non-http URL.
314            * wptKeyEditDlgs.cpp (subkey_subclass_proc,
315            uid_subclass_proc): Disable shortcuts for non keypairs.
316            * wptMainProc.cpp (winpt_main_proc): No user interaction
317            on automatic shutdown. Thanks to Werner.
318            * wptGPGUtil.cpp (xcalloc): New.
319            (gpg_rebuild_cache): Use --batch.
320            
321    2006-03-26  Timo Schulz  <[email protected]>
322    
323            * wptSigTreeDlg.cpp (sigtree_load): Always use UTF8.
324            * wptMainProc.cpp (winpt_main_proc): Reload key cache
325            when the GPG settings were changed.
326            * wptKeygenDlg.cpp (keygen_wizard_dlg_proc,
327            keygen_dlg_proc): Improved check for the email address.
328            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Likewise.
329            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Modified design.
330            
331    2006-03-22  Timo Schulz  <[email protected]>
332    
333            * wptClipSignDlg.cpp (on_init_dialog): New.
334            Check that there is at least one useable signing key.
335            * wptSigTreeDlg.cpp (sigtree_load): Correct UTF8 handling.
336            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Show error
337            if needed.
338            
339    2006-03-21  Timo Schulz  <[email protected]>
340    
341            * wptUTF8.cpp (native_to_utf8): Use directly W32 API.
342            (utf8_to_native): Likewise. Remove cp850 conversion.
343            * wptKeyEditDlgs.cpp (do_find_userid): Correct UTF8 handling.
344            * wptKeyManager.cpp (km_delete_keys): Do not reset 'with_seckey'
345            flag.
346            
347    2006-03-20  Timo Schulz  <[email protected]>
348    
349            * wptUTF8.cpp (get_native_charset): Removed.
350            (utf8_to_native): Rewritten.
351            * wptKeyEditDlgs.cpp (do_add_new_userid): Correct charset
352            handling.
353            * wptKeygenCBDlg.cpp (keygen_cb): Do proper reset if needed.
354            
355    2006-03-16  Timo Schulz  <[email protected]>
356    
357            * wptMainProc.cpp (winpt_main_proc): Disable all CryptDisk code.
358            * wptCryptDisk.cpp: Disable code.
359            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): Support for
360            NONE proxy protocol.
361            (init_proxy_procotol): Likewise.
362            (read_proxy): Likewise.
363            * wptKeyserverSearchDlg.cpp (on_init_dialog): New.
364            (keyserver_search_dlg_proc): Use it here.
365            * wptKeyserverDlg.cpp (hkp_send_key): Use GPGME wrapper.
366            * wptKeyserver.cpp (kserver_search_end): New.
367            (kserver_search_begin): Be more strict on mem allocation.
368            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix 'redraw'
369            problem.
370            * wptAboutDlgs.cpp (about_dlg_proc): Hide 'Help' button.
371            
372    2006-03-12  Timo Schulz  <[email protected]>
373    
374            * wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'.
375            * wptKeyPropsDlg.cpp (display_key_info): Automatically update
376            sym algorithm preferences if needed.
377            * wptKeysignDlg.cpp (date_is_today): New.
378            (keysign_dlg_proc): Only allow to set cert expire date if
379            the option was found.
380            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set
381            'ask-cert-expire'.
382            
383    2006-03-10  Timo Schulz  <[email protected]>
384    
385            * wptHTTP.c: deleted.
386            * wptHTTP.cpp (wHTTP): Transformed old code into an object.
387            * wptKeyManager.cpp (km_http_import): Use new code.
388            (km_refresh_one_key): Use preferred keyserver if possible.
389            * wptComonDlg.cpp (check_URL): Better conformance checking.
390            * wptKeyEditCB.cpp (cmd_keyserver_handler): By default
391            set keyserver for all userids.
392            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Enable code
393            to set preferred keyserver.
394            * wptKeyCache.cpp (decode_subpacket): New.
395            (gpg_keycache_update_attr): New.
396            * wptGPGUtil.cpp (gpg_find_key_subpacket): New.
397            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Use
398            -1 as an index for all userids.
399            
400    2006-03-07  Timo Schulz  <[email protected]>
401    
402            * WinPT.cpp (set_default_keyserver): New.
403            * wptKeyserver.cpp (kserver_set_socket_timeout): New.
404            (kserver_set_default_keyserver): Initialize default settings
405            if needed.
406            * wptSymEnc.cpp (gpg_encrypt_symmetric): Disallow empty passwords.
407            * wptPassphraseDlg.cpp (request_passphrase): Handle new flag.
408            (passphrase_dlg_proc): Support new safe edit window procedure.
409            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
410            * wptPreferencesDlg.cpp (prefs_dlg_proc): Flush passphrase cache
411            if user disable it.
412            * wptKeylist.cpp (keylist_build): Do not scale images but use
413            original size.
414            * wptListView.cpp (listview_set_image_list): New size params.
415            Change all callers.
416            
417    2006-03-01  Timo Schulz  <[email protected]>
418    
419            * wptW32API.cpp (set_clip_text): Free all memory.
420            
421    2006-02-27  Timo Schulz  <[email protected]>
422    
423            * wptSOCKS.cpp (socks_handshake): New.
424            * wptMainProc.cpp (winpt_main_proc): A dbl-click forces
425            the key manager in teh foreground if possible.
426            * wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys.
427            * wptRegistry.cpp (get_reg_proxy_prefs,
428            set_reg_proxy_prefs): Use directly the proxy context.
429            Changed all callers.
430            * wptProxySettingsDlg.cpp (init_proxy_protocols): New.
431            (keyserver_proxy_dlg_proc): Use directly the proxy context.
432            * wptKeyserver.cpp (kserver_connect): Better proxy support.
433            (kserver_send_request, kserver_recvkey_request): Likewise.
434            * wptKeyserverDlg.cpp (name_from_proto): New.
435            (set_proxy): Adjusted for the new code.
436            
437    2006-02-26  Timo Schulz  <[email protected]>
438    
439            * WinPT.cpp (WinMain): Removed hotkey_modify() code.
440            * wptKeyEditDlgs.cpp (is_idea_protect_algo): Better support
441            v4 keys.
442            * wptKeyserver.cpp (sock_getline): Skip '\r'.
443            (base64_encode): Remove @maxlen param. Changed all callers.
444            (finger_readline): Removed.
445            (finger_recvkey): Use internal functions.
446            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Support a context menu.
447            (show_sigprops): New.
448            (create_popup): New.
449            * wptPreferenceDlg.cpp (prefs_dlg_proc): Cache amount is
450            now in minutes.
451            * wptRegistry.cpp (get_winpt_reg_prefs, set_winpt_reg_prefs):
452            Change code to use hotkeys directly.
453            * wptHotkeys.cpp (hotkeys_enable, hotkey_disable): Likewise.
454            
455    2006-02-24  Timo Schulz  <[email protected]>
456    
457            * wptGPG.cpp (set_gnupg_default_key): Allow to remove entry
458            when parameter is NULL.
459            * wptKeyManager.cpp (check_exist_default_key): New.
460            (km_delete_keys): Check if the default key is still valid,
461            if not delete entry.
462            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Forgot to localize
463            button.
464            
465    2006-02-21  Timo Schulz  <[email protected]>
466    
467            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Minor
468            cleanups.
469            * wptGPGUtil.cpp (file_extract_recipients): New.
470            (clip_extract_recipients): New.
471            (gpg_get_recipients): New.
472            * wptPassphraseCB.cpp (passphrase_callback_proc): Support
473            external recipient listings.
474            
475    2006-02-15  Timo Schulz  <[email protected]>
476    
477            * wptKeysignDlg.cpp (keysign_dlg_proc): Localize new checkbox.
478            * wptFileStatDlg.cpp (get_s2k_algo): New.
479            * wptFileManagerDlg.cpp (update_status_bar): Use human readable
480            formats.
481            
482    2006-02-14  Timo Schulz  <[email protected]>
483    
484            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'.
485            * wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'.
486            * wptFileManager.cpp (fm_sym_encrypt): Set cancel.
487            (fm_parse_files): Handle cancel.
488            
489    2006-02-10  Timo Schulz  <[email protected]>
490    
491            * wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars.
492            * wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t
493            for the dialog param.
494            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list
495            signature dialog by default.
496            * wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly
497            gpgme_key_sig_t as param.
498            (keysig_dlg_proc): Change param for property dialog.
499            * wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids
500            and use icons.
501            (sigtree_dlg_proc): Allow to execute old list dialog to
502            edit the signatures.
503            
504    2006-02-09  Timo Schulz  <[email protected]>
505    
506            * wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode.
507            * wptNLS.c (gettext_localize_dialog): New.
508            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button
509            to avoid to reload the key cache.
510            * wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal'
511            list mode.
512            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
513            * wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog
514            initiation code to this function.
515            (prefs_dlg_proc): Use it here.
516            
517    2006-02-07  Timo Schulz  <[email protected]>
518    
519            * wptKeyEdit.cpp (setNoPassphrase): New.
520            (getValidDays): New.
521            * wptKeysignDlg.cpp (keysign_dlg_proc): Check on init
522            if the key is protected.
523            * wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle
524            keys without a passphrase.
525            (keyedit_addrevoker_dlg_proc): Likewise.
526            
527    2006-02-04  Timo Schulz  <[email protected]>
528    
529            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for
530            at least one ultimately trusted key.
531            * wptKeyManager.cpp (km_refresh_key_from_keyserver):
532            Only check inet connection if we refresh all keys.
533            * wptGPGUtil.cpp (gpg_extract_keys): New.
534            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode.
535            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
536            * wptClipSignDlg.cpp (get_selected_key): New.
537            (one_key_proc): Use it here.
538            (count_useable_seckeys): New.
539            * wptSigTreeDlg.cpp (sigtree_dlg_proc): New.
540            * wptKeyEditDlgs.cpp (diff_time): Removed.
541            (w32_mktime): New.
542            (keyedit_addsubkey_dlg_proc): Use it here.
543            
544    2006-02-02  Timo Schulz  <[email protected]>
545    
546            * wptW32API.cpp (get_temp_name): New.
547            * wptKeyserver.cpp (ldap_recvkey): Use it here.
548            * wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise.
549            * wptGPGUtil.cpp (create_tempfile): Likewise.
550            * wptImportList.cpp (implist_load): Likewise.
551            * wptKeyCache.cpp (parse_attr_data): Likewise.
552            (w32_tempfile): Removed.
553            * wptGPGME.cpp (check_ultimate_trusted_key): New.
554            
555    2006-01-31  Timo Schulz  <[email protected]>
556    
557            * wptMainProc.cpp (winpt_main_proc): Fix usage of the
558            help system.
559            * wptListView.cpp (listview_set_chkbox_style): New.
560            (listview_get_item_state): Support new checkbox style.
561            (listview_new): Reset flag var.
562            * wptKeylist.cpp (keylist_build): Support new checkbox style.
563            
564    2006-01-30  Timo Schulz  <[email protected]>
565    
566            * WinPT.cpp (check_readonly_attr): New.
567            (load_gpg_env): Use it here.
568            (WinPT): Make the the default key is searched in the
569            secret key cache.
570            Change error message.
571            * wptRegistry.cpp (regist_int_winpt): Make sure
572            the register extension is only offered once to the user.
573            * wptKeyPropsDlg.cpp (get_photo_tmpname): Always use
574            temp directory. Fixed a privilege problem.
575            
576    2006-01-29  Timo Schulz  <[email protected]>
577    
578            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC
579            to quit dialog.
580            * wptKeysignDlg.cpp (sig_class_dlg_proc): More space for
581            translations. Directly return sig class.
582            (keysign_dlg_proc): Change msgbox title.
583            * wptKeyEdit.cpp (signUserid): New.
584            (getUseridIndex): New.
585            (getKeyIndex): New.
586            (getSigIndex): New.
587            (clear): New.
588            * wptKeyEditCB.cpp (cmd_sign_handler): Allow to select
589            user-id first.
590            * wptKeyEditDlgs.cpp (lookup_cmd): New.
591            (do_editkey_sign_userid): New.
592            (do_init_cmdlist): Differ between key pairs and public keys
593            and allowed actions.
594            (keyedit_change_ownertrust): Show msgbox on success.
595            (get_default_key): New.
596            * wptPassphraseDlg.cpp (request_passphrase): Reset @cancel.
597            
598    2006-01-27  Timo Schulz  <[email protected]>
599    
600            * WinPT.cpp (WinMain): Set minimal list mode as default.
601            * wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys.
602            
603    2006-01-25  Timo Schulz  <[email protected]>
604    
605            * wptRegistry.cpp (get_reg_entry_gpg): Return NULL if
606            the key exist with no value.
607            * wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string.
608            * wptKeysignDlg.cpp (do_fill_seclist): Select the
609            default key if possible.
610            * wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly
611            return the choice.
612            * wptKeylist.cpp (get_key_desc): New.
613            (keylist_upd_key): Free memory.
614            * wptKeyCache.cpp (gpg_keycache_get_default_key): New.
615            (gpg_keycache_set_default_key): New.
616            * WinPT.cpp (gpg_prefs_ok): New.
617            (WinMain): Only start gpg prefs if needed.
618            
619    2006-01-24  Timo Schulz  <[email protected]>
620    
621            * wptKeyManager.cpp (km_dropped_file_import): New.
622            * wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow
623            to drop files and try to import them.
624            (keymanager_dlg_proc): Pass kmi as opaque to the subclass
625            proc.
626            
627    2006-01-23  Timo Schulz  <[email protected]>
628    
629            * wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output
630            to the clipboard.
631            * wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New.
632            (do_editkey_enable_disable): New.
633            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not
634            close the dialog if the user cancelled the ownertrust dialog.
635            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate
636            an update of any value.
637            
638    2006-01-21  Timo Schulz  <[email protected]>
639    
640            * wptKeyCache.cpp (keycache_next_key): Handle the case
641            that there is a secret key without a public part.
642            * wptKeyserver.cpp (kserver_save_conf): Save ports.
643            * wptKeyserverDlg.cpp (keyserver_modify_dlg_proc):
644            Reset keyserver name.
645            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate
646            an update, do not update the cache.
647            * wptFileManagerDlg.cpp (file_import_dlg_proc): Use one
648            dialog for both clipboard and file imports.
649            * wptKeyManager.cpp (km_file_import, km_clip_import):
650            Changes to support new update system.
651            (gpg_clip_import): New.
652            * wptKeyManagerDlg.cpp (km_gui_import): New.
653            (find_keypos): Rewritten.
654            (refresh_keylist): Improved error checking.
655            
656    2006-01-20  Timo Schulz  <[email protected]>
657    
658            * wptKeyCache.cpp (w32_tmpfile): New.
659            (parse_attr_data): Use it here.
660            * wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var.
661            
662    2006-01-19  Timo Schulz  <[email protected]>
663    
664            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not
665            reload the entire cache, just update the key.
666            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise.
667            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag.
668            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
669            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
670            if need after showing the properties.
671            * wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
672            * wptKeyManager.cpp (km_import_file): New param. Changed
673            all callers.
674            (km_import_clip): Likewise.
675            (delete_keys_from_cache): Delete secret part if available.
676            * wptClipImportDlg.cpp (print_import_status): If there
677            are too many new keys, use reload code.
678            
679    2006-01-18  Timo Schulz  <[email protected]>
680    
681            * wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume
682            the self sig is always index 0. Noted by Kurt.
683            * wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume
684            the key user-ID contains an email address.
685            * wptKeyEditDlgs.cpp (do_find_userid): Likewise.
686            (do_editkey_deluid): Likewise.
687            (do_editkey_revuid): Likewise.
688            
689    2006-01-18  Timo Schulz  <[email protected]>
690    
691            * wptListview.cpp (listview_del_sel_items): Fixed index
692            calculation. This fixed a lot of problems with the KM listview
693            update.
694            (listview_del_all): Renamed to...
695            (listview_del_all_items): ..this. Changed all callers.
696            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh
697            list when file import contained new/updated keys.
698            * wptKeyManager.cpp (km_file_import): Indicate if the
699            import contained any new/update keys.
700            * wptClipImportDlg.cpp (print_import_status): Just mark
701            keys which actually changed.
702            
703    2006-01-17  Timo Schulz  <[email protected]>
704    
705            * wptMAPI.cpp (mapi_send_pubkey_ext): New.
706            * wptKeysigDlg.cpp (do_delsig): Just flag the key, do not
707            update it.
708            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more
709            careful about const pointers.
710            * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to..
711            (get_subkey_keyid): ..this. Fix problem that key was updated
712            twice and this corrupted.
713            (keyedit_add_subkey): Set @lv item in the callback context.
714            
715    2006-01-16  Timo Schulz  <[email protected]>
716    
717            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore
718            window if it lost focus during the operation. Thanks to Kurt.
719            Update keylist when the window is enabled.
720            (find_keypos): New.
721            * wptKeyCache.cpp (keycache_next_key): Reset update status.
722            (gpg_keycache_next_updated_key): New arg @r_status. Change all
723            callers.
724            (gpg_keycache_update_key): Different status for new and updated.
725            Include key signatures.
726            * wptClipImportDlg.cpp (print_import_status): Mark all
727            imported keys.
728            * wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist.
729            Thanks to Kurt.
730            * wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys.
731            (do_delsig): Directly reload key. Thanks to Kurt.
732            * wptGPGME.cpp (keycache_set_reload, keycache_get_reload):
733            Removed.
734            * wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system.
735            * wptClipImportDlg.cpp (clip_import_dlg_proc): Return
736            FALSE if no keys were updated or operation was cancelled.
737            * wptCommonDlg.cpp (http_dlg_proc): Fix title selection code.
738            * wptKeylist.cpp (get_ext_validity): Handle disabled keys.
739            * wptKeyPropsDlg.cpp (keyprops_dlg_proc):
740            Do not allow to change ownertrust of invalid keys.
741            Changed translation.
742            Slightly different user interface.
743            
744    2006-11-14  Timo Schulz  <[email protected]>
745    
746            * wptW32API.cpp (make_special_filename): New.
747            * wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs):
748            Removed 'KeyServer' item.
749            * wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver
750            config item.
751            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group
752            window until we really use it.
753            * wptKeyserver.cpp (kserver_save_conf): New.
754            (wsock_end): Save keyserver config file.
755            * wptKeyserverDlg.cpp (keyserver_edit): New.
756            (keyserver_remove): New.
757            (keyserver_add): New.
758            (fill_keyserv_types): New.
759            (keyserver_modify_dlg_proc): New.
760            (keyserver_dlg_proc): Provide context menu to modify the
761            keyserver list.
762            (keyserver_build_list): Remove 'proto' column because it is
763            not really useful.
764            * WinPT.cpp (load_keyserver_conf): Store keyserver.conf at
765            $APPDATA\winpt. If keyserver.conf exists in the current folder
766            move it to the new destination.
767            
768    2006-11-13  Timo Schulz  <[email protected]>
769    
770            * wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation.
771            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise.
772            * wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about
773            dialog isn't shown twice.
774            * wptKeyCache.cpp (gpg_keycache_next_updated_key): New.
775            (gpg_keycache_update_key): Set update flag.
776            * wptKeyManagerDlg.cpp (refresh_keylist): New.
777            (keymanager_dlg_proc): Use new refresh system for keyservers.
778            * wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc):
779            Update keycache.
780            * wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise.
781            * wptKeyserver.cpp (socket_read_ext): New.
782            (kserver_recv_key_ext): New.
783            (kserver_read_config, kserver_write_config): Removed.
784            
785    2006-01-12  Timo Schulz  <[email protected]>
786    
787            * wptListView.cpp (listview_set_image_list): Make icons
788            always transparent.
789            * wptImageList.cpp (imagelist_load): New icons.
790            * wptGPGMEData.cpp (gpg_data_putc): New.
791            * wptKeyManagerDlg.cpp (load_toolbar): Include new icons.
792            (keymanager_dlg_proc): Add tooltips.
793            * wptKeyserverDlg.cpp (keyserver_list_build): Use icons.
794            * wptKeyserver.cpp (URL_encode): New.
795            (URL_must_encode): New.
796            (kserver_search_init): Properly encode pattern.
797            (parse_iso_date): New.
798            (keyserver_search): Be more strict to prevent buffer overflows.
799            
800    2006-01-11  Timo Schulz  <[email protected]>
801    
802            * wptKeyManagerDlg.cpp (load_toolbar): 2 new icons.
803            (keymanager_dlg_proc): Adjust tooltips.
804            (update_ui_items): Handle new icons.
805            * wptImageList.cpp (imagelist_load): New icons.
806            
807    2006-01-10  Timo Schulz  <[email protected]>
808    
809            * wptMainProc.cpp (winpt_main_proc): Restore iconic
810            File/Key Manager windows if needed.
811            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button.
812            * wptSiglist.cpp (init_cmp): New.
813            (siglist_sort): New.
814            (siglist_cmp_cb): New.
815            (siglist_add_key): Force NOKEY status when key was not found.
816            * wptKeysigDlg.cpp (recv_single_key): New.
817            (recv_missing_keys): Reload entire key when more than one key
818            was fetched.
819            (keysig_dlg_proc): Support sorting the listview items.
820            
821    2006-01-09  Timo Schulz  <[email protected]>
822    
823            * WinPT.cpp (load_gettext): Remove file locking.
824            (WinMain): Use pre-defined autoconf constants.
825            * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
826            * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
827            Change all callers.
828            
829    2006-01-07  Timo Schulz  <[email protected]>
830    
831            * wptKeyManager.cpp (km_refresh_from_keyserver): Summarize
832            import status if just one key was selected.
833    
834    2006-01-04  Timo Schulz  <[email protected]>
835    
836            * wptGPGMEWrapper.c (setChangeVersion): New.
837            (exportToBuffer, exportToFile, exportToClipboard): New.
838            (setArmor, getArmor): New.
839            * wptKeylist.cpp (get_key_expire_date): Return locale specific
840            date.
841            (keylist_get_recipients): Do not fetch the key again.
842            (keylist_enum_recipients): Likewise.
843            * wptGPG.cpp (create_empty_keyring): New.
844            (get_gnupg_keyring): Fixed 'strict' logic.
845            * wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons
846            when no secret keys are available.
847            * wptKeyManager.cpp (km_send_to_mail_recipient): Release key data
848            before the MAPI call is made.
849            * WinPT.cpp (check_for_empty_keyrings): New.
850            
851    2006-01-03  Timo Schulz  <[email protected]>
852    
853            * pubkey.ico, keypair.ico: New.
854            * wptListview.cpp (listview_add_item_image): New.
855            (listview_set_image_list): New.
856            * wptSigList.cpp (siglist_add_key): Correct order of the sigs.
857            * wptKeyProps.cpp (keyprops_load_photo): Adjusted for new
858            JPEG data.
859            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to
860            add items to revoked keys.
861            * wptKeyManager.cpp (km_delete_keys): Do not use uninitialized
862            keyid buffer. This fixes a segv.
863            * wptKeyserver.cpp (spawn_application): New.
864            (ldap_recv_key): Support recent protocols and several cleanups.
865            * wptKeylist.cpp (do_addkey): Set image which depends on the
866            key type.
867            (keylist_enum_recipients): Cleanups.
868            (keylist_get_keyflags): Rewritten.
869            * wptKeyCache.cpp (free_attr_list): New.
870            (parse_attr_list): New.
871            (parse_attr_data): New.
872            (keycache_update_photo): New.
873            (keycache_update_photos): New.
874            (gpg_keycache_update_key): Automatically reload photos if needed.
875            * wptGPGUtil.cpp (create_process): New param @err. Change all
876            callers.
877            (map_tmpfile): New param @nread. Change all callers.
878            (gpg_get_photoid_data): New.
879            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to
880            add items to revoked keys.
881            (subkey_init_list): Store gpgme key object.
882            
883    2005-12-29  Timo Schulz  <[email protected]>
884    
885            * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
886            (gpg_genkey_params): Simplified.
887            * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
888            exclusion of the dialog items.
889            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
890            quit the dialog.
891            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
892            * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
893            (id2algo): New.
894    
895    2005-12-28  Timo Schulz  <[email protected]>
896    
897            * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
898            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
899            * wptKeylist.cpp (keylist_udp_key): Likewise.
900            * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
901            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
902            when no signing key was found.
903            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
904            user IDs.
905            (translate_popup_strings): s/Revoke/Revoke Cert.
906            * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
907            0x prefixed keyid.
908            * wptKeyEditCB.cpp (editkey_command_handler): Also reset
909            step in case of a bad passphrase.
910            
911    2005-12-27  Timo Schulz  <[email protected]>
912    
913            * wptListView.cpp (listview_set_view): New.
914            (listview_del_column): New.
915            * wptW32API.cpp (get_locale_date): New.
916            (get_menu_state): New.
917            (force_foreground_window): New.
918            * wptVerifyList.cpp (strtimestamp): Support for
919            locale date formats.
920            * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
921            passphrases.
922            * wptKeyEditCB.cpp (editkey_command_handler): Immediately
923            return when a bad passphrase was submitted.
924            * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
925            column order.
926            * wptKeylist.cpp (keylist_upd_col): New.
927            * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
928            'Revocation' for public keys.
929            (translate_menu_strings): s/Revoke/Revoke Cert.
930            (modify_listview_columns): New.
931            
932    2005-12-18  Timo Schulz  <[email protected]>
933    
934            * wptKeyManagerDlg.cpp (save_column_size): New.
935            (restore_column_size): New.
936            (keymanager_dlg_proc): Save and restore column sizes for
937            the listview control.
938            * wptKeyManager.cpp (key_get_info): New.
939            (km_delete_keys): Use it here to have a consistent message.
940            Use stored key context and not the column data.
941            (km_enable_disable_key): Likewise.
942            (km_send_to_keyserver): Likewise.
943            (km_set_implicit_trust): Likewise.
944            * wptKeylist.cpp (get_key_pubalgo2): New.
945            
946    2005-12-17  Timo Schulz  <[email protected]>
947    
948            * wptUTF8.cpp: Removed unused charset array.
949            * wptSigList.cpp (siglist_build): Increase size for 'class'
950            column.
951            * wptGPG.cpp (get_gnupg_path): Simplified.
952            * WinPT.cpp (load_gpg_env): New.
953            (check_crypto_engine): Return type is now bool.
954            * wptRegistry.cpp (is_gpg4win_installed): New.
955            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent
956            dialog design.
957            * wptKeyManagerDlg.cpp (translate_menu_strings): New.
958            (translate_popupmenu_strings): New.
959            * wptKeyEditDlgs.cpp (is_jpg_file): New.
960            
961    2005-12-13  Timo Schulz  <[email protected]>
962    
963            * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
964            * wptKeyManagerDlg.cpp (change_edit_menu): New.
965            (change_key_menu): Renamed from...
966            (menu_gpg_readonly): ..this.
967            (clip_contains_pgpkey): New.
968            (update_ui_items): Do not allow to sign expired keys.
969            (keymanager_dlg_proc): Same for popup menu.
970            * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
971            * wptKeyCache.cpp (copy_uid_prefs):
972            (gpg_keycache_sync): Copy uid prefs so the key property
973            dialog show the correct values. Thanks to Shane.
974            
975    2005-12-11  Timo Schulz  <[email protected]>
976    
977            * wptW32API.cpp (get_file_version): New.
978            * wptGPGUtil.cpp (create_process): Always hide window.
979            * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
980            instead of 'Exit'.
981            * wptKeyManager.cpp (km_http_import): New filename
982            generation code.
983            (km_send_to_mail_recipient): Cleanups.
984            * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
985            * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
986            when multiple keys are selected.
987            (popup_multiple): New.
988            * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
989            file versions are equal. Rewrote --keymanager code.
990            
991    2005-12-08  Timo Schulz  <[email protected]>
992    
993            * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
994            (hkp_recv_key2): Show user-id of the imported key instead
995            of just the pattern.
996            * wptFileCBS.cpp (read_cb): Changed to W32 API.
997            (write_cb): Likewise. Create output file on demand.
998            (gpg_file_data_new): Adjusted code for new API.
999            * wptKeyEdit.cpp (cleanKey): New.
1000            * wptKeyEditCB.cpp (cmd_clean_handler): New.
1001            (editkey_command_handler): Call clean handler.
1002            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
1003            keylist after inserting items.
1004            * wptFileManager.cpp (fm_set_status): Take care of
1005            cleartext sigs.
1006            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
1007            sure can be closed.
1008            
1009    2005-12-07  Timo Schulz  <[email protected]>
1010    
1011            * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
1012            Use 'Close' instead of 'Exit'.
1013            * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
1014            * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
1015            as the destination dir. Thanks to Werner.
1016            * wptRegistry.cpp (is_gpgee_installed): New.
1017            (regist_inst_winpt): Do not register file extensions
1018            if GPGee is available.
1019            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
1020            use of local vars.
1021            * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
1022            no illegal backup mode is saved.
1023            * wptKeyserverDlg.cpp (show_imported_key): New.
1024            (hkp_recv_key2): Show imported keys if the blob
1025            contained more than one.
1026            
1027    2005-12-06  Timo Schulz  <[email protected]>
1028    
1029            * WinPT.cpp (WinMain): Load the gettext environment soon
1030            as possible so all 'first start' messages are localized.
1031            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
1032            received via the keyserver, return the gpgme key context on
1033            success and add it directly to the list.
1034            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
1035            to store the key.
1036            (hkp_recv_key2): Add extra param for the fingerprint.
1037            (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
1038            
1039    2005-12-02  Werner Koch  <[email protected]>
1040    
1041            * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
1042    
1043    2005-12-01  Timo Schulz  <[email protected]>
1044    
1045            * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
1046            for get_gpg_sigstat().
1047            * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
1048            As a macro strings will not be translated at runtime.
1049            * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
1050            need to update the cache. Thanks to Jan-Oliver.
1051            * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
1052            
1053    2005-11-30  Timo Schulz  <[email protected]>
1054    
1055            * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
1056            * WinPT-en.rc: Removed string list.
1057            * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
1058            * wptKeylist.cpp (keylist_build): Cannot use global
1059            arrays for the columns due to gettext.
1060            
1061    2005-11-29  Timo Schulz  <[email protected]>
1062    
1063            * WinPT.cpp (WinMain): Modify --keymanager. If an instance
1064            is running, just send the command to open the manager.
1065            
1066    2005-11-25  Timo Schulz  <[email protected]>
1067    
1068            * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
1069            process when the revoker is already there.
1070            
1071    2005-11-24  Timo Schulz  <[email protected]>
1072    
1073            * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
1074            signing dialog items.
1075            * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
1076            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
1077            * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
1078            * wptKeylist.cpp (key_check_validity): Likewise.
1079            * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
1080            
1081    2005-11-22  Timo Schulz  <[email protected]>
1082    
1083            * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
1084            macro debug output will be generated in release version.
1085            
1086    2005-11-21  Timo Schulz  <[email protected]>
1087    
1088            * WinPT.cpp (WinMain): Implement --stop switch.
1089            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
1090            missing string.
1091            * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
1092            * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
1093            first. Thanks to Ralf.
1094            * wptFileManagerDlg.cpp (update_ui_items): New.
1095            * wptFileManager.cpp (fm_set_status): New sigmode param.
1096            Changed all callers.
1097            
1098    2005-11-17  Timo Schulz  <[email protected]>
1099    
1100            * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
1101            the cache will be loaded twice.
1102            * wptRegistry.cpp (regist_inst_winpt): More comments.
1103            * wptKeyManagerDlg.cpp (do_center_window): Make sure that
1104            neg. coordinates are never used.
1105            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
1106            strings.
1107            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
1108            * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
1109            and save 'AlwaysOnTop' in the registry.
1110            
1111    2005-11-16  Timo Schulz  <[email protected]>
1112    
1113            * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
1114            * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
1115            mode.
1116            * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
1117            * wptRegistry.cpp (regist_inst_winpt): Set install directory.
1118            Useful for other programs to figure out the path to the EXE.
1119            
1120    2005-11-14  Timo Schulz  <[email protected]>
1121    
1122            * wptGPG.cpp (check_gnupg_engine): Fix version check.
1123            * wptMainProc.cpp (winpt_main_proc): Check keyring
1124            file permissions always and do not use interative output
1125            when the windows session ends.
1126            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
1127            Localize all strings.
1128            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
1129            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
1130            * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
1131            non-valid keys.
1132            
1133    2005-11-12  Timo Schulz  <[email protected]>
1134    
1135            Fix more GCC warnings.
1136    
1137    2005-11-10  Timo Schulz  <[email protected]>
1138    
1139            * wptClipSignDlg.cpp (one_key_proc): Use
1140            release_gpg_passphrase_cb() to free the context.
1141            * wptListView.cpp (listview_deselect_all): New.
1142            * wptMAPI.cpp (mapi_send_pubkey): Works again.
1143            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
1144            zip.    
1145            * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
1146            caching for signing operations.
1147            * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
1148            * wptFileManager.cpp (fm_send_file): Likewise.
1149            (fm_encrypt_into_zip): New.      
1150            
1151    2005-11-09  Timo Schulz  <[email protected]>
1152    
1153            * wptNLS.c (get_gettext_langid): Map user language id to
1154            printable gettext language strings.
1155            * wptRegistry.cpp (get_reg_entry_mo): Support for the
1156            gettext environment.
1157            * wptFileManager.cpp (fm_encrypt): Close all files before
1158            the wipe procedure is called.
1159            * wptVerlist.cpp (verlist_add_sig): Handle the case the
1160            issuer is not valid but the signature is.
1161            (verlist_add_sig_log): Likewise. Thanks to the folks on
1162            winpt-users.
1163            
1164    2005-11-08  Werner Koch  <[email protected]>
1165    
1166            * SAFE.ICO, SIGN.ICO: Fixed capitalization.
1167            * WinPT-en.rc: Ditto.
1168            * winpt_km.ico:  Moved from ../.
1169    
1170            * Makefile.am (resource_files): Add missing backslash.
1171    
1172    2005-11-08  Timo Schulz  <[email protected]>
1173    
1174            More minor changes to avoid GCC warnings.
1175            
1176            * wptGPG.cpp (check_homedir): Free memory in case of errors.
1177            (multi_gnupg_path): Add strict mode. If non-strict mode return
1178            the folder even if it does not exist.
1179            (check_for_gpgwin): New.
1180            * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
1181            initialized.
1182            * wptRegistry.cpp (get_reg_entry_gpg4win): New.
1183            (get_reg_entry_mo): Support for gpg4win.
1184            
1185    2005-11-07  Timo Schulz  <[email protected]>
1186    
1187            * wptMainProc.cpp (winpt_main_proc): Disable
1188            some menu items when no secret key is available.
1189            
1190    2005-11-05  Timo Schulz  <[email protected]>
1191    
1192            More minor changes to avoid GCC warnings.
1193            
1194            * wptErrors.cp (winpt_strerror): Return w32
1195            formatted error and do not use 'break'.
1196            
1197    2005-11-04  Werner Koch  <[email protected]>
1198    
1199            * WinPT-en.rc: Fixed locations of icons.
1200    
1201    2005-11-03  Timo Schulz  <[email protected]>
1202    
1203            A lot of minor changes to avoid GCC warnings.
1204    
1205            * wptGPG.cpp (get_gnupg_keyring): Only check size for
1206            public keyring.
1207            * wptKeyManager.cpp (km_update_default_key_str): Do
1208            not issue a bug message when no secret key was found.
1209            * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
1210            
1211    2005-11-02  Werner Koch  <[email protected]>
1212    
1213            * WinPT.cpp (WinMain): Disabled PTD version tests.
1214            (check_crypto_engine): Fixed version check for scard.
1215    
1216            * wptErrors.cpp (debug_end): Add dummy function.
1217    
1218            * Makefile.am (code_files): Added wptCardEditCB.cpp and
1219            wptKeyEditCB.cpp.
1220    
1221    2005-10-31  Werner Koch  <[email protected]>
1222    
1223            * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
1224            functions.
1225    
1226            * wptKeyEditDlgs.cpp: Include oleauto.h
1227            * wptKeyEdit.cpp: Include time.h.
1228            * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
1229            * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
1230    
1231            * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
1232            wptKeyEdit.cpp and wptKeycache.cpp.
1233    
1234            * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
1235            * wptImportList.cpp (implist_load): Use remove and not unlink.
1236            * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
1237            * wptImportList.cpp (implist_load): Use remove and not unlink.
1238            * wptKeyManager.cpp (km_http_import): Ditto
1239            * wptMainProc.cpp: Include wptCrypto.h
1240            * wptKeyManager.cpp: Ditto.
1241            * wptFileManager.cpp: Ditto.
1242            * wptImportList.cpp (parse_colon_key): Need to cast argument for
1243            isdigit.  Include ctype.h.
1244            * wptGPG.cpp: Include shlobj.h.
1245    
1246            Fixed double inclusion of windows.h.
1247            
1248            * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
1249            * wptKeylist.cpp (get_key_created): Broke up trigraph.
1250            (get_key_status): Removed dangerous use of sprintf.  Still other
1251            flaws present, see comment.
1252    
1253            * wptCardPCSC.c: Don't include winscard.h.
1254            (pcsc_readerstate_t, pcsc_context_t): New.  Changed call users to
1255            use these types.
1256            (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
1257            (SCARD_S_SUCCESS): Changed all compares to test the value directly
1258            against zero.
1259    
1260            * WinPT.cpp: Include wptCrypto.h.
1261            (WinMain): Don't shard S. Removed usunsed variable SIZE.
1262            * Makefile.am (code_files): Actually add files by adding a first
1263            backslash.
1264            * wptMDSumDlg.cpp: Include wptCrypto.h.
1265            * wptProxySettingsDlg.cpp: Included ctype.h.
1266            * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
1267            * wptKeysignDlg.cpp: Ditto
1268            * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
1269            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
1270            Removed unused variable.
1271            * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
1272            silly c++ operator synonyms.
1273            * wptKeyEditDlgs.cpp: Include time.h.
1274            * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
1275            * wptFileManagerDlg.cpp: Ditto.
1276            (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
1277            matter if it does an rmdir for a directory.
1278    
1279            Fixed include of resource.h which is not anymore in the top
1280            directory.
1281    
1282    2005-10-28  Werner Koch  <[email protected]>
1283    
1284            * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
1285            unsigned.  Never ever use a possible signed char as argument for
1286            ctype tests.  An alternative is to first test using isascii ().
1287            (keyserver_proxy_dlg_proc): Removed unused variable.
1288    
1289    2005-10-27  Timo Schulz  <[email protected]>
1290    
1291            * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
1292            * wptKeylist.cpp (keylist_add_key): Check global key flag to
1293            see if the key is disabled and not each subkey.
1294            (seclist_init): Likewise.
1295            * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
1296            gpgme_op_decrypt_verify.
1297            (clip_decrypt_dlg_proc): Fixed fingerprint
1298            to keyid conversation. This also fixes a crash.
1299            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
1300            * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
1301            already expired if the user wants to change the date.
1302            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
1303            'v3 sig' option with the 'ask cert level' option. Sync
1304            with global preferences.
1305            * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
1306            gpg.conf contains 'ask-cert-level'. If not disable button.
1307            * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
1308            the button when the key is available.
1309            Reload key directly, not the entire cache.
1310            
1311    2005-10-26  Timo Schulz  <[email protected]>
1312    
1313            * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
1314            possible overflow.
1315            (is_openpgp_ext): Compare case insentensive.
1316            (add_single_file): New.
1317            (fm_add_opened_files): Support multi file selection.
1318            * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
1319            * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
1320            reload flag. Just update the single key.
1321            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
1322            and disable anonymize recipient for now.
1323    
1324            Begin to port code to GCC. Fix all warning issued by the gcc
1325            compiler.
1326    
1327    2005-10-25  Timo Schulz  <[email protected]>
1328    
1329            * wptGPGUtil.cpp (create_process): Hide window.
1330            * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
1331            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
1332            static var 'enable'.
1333            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
1334            (gpg_genkey_params): Make sure all primary keys are capable
1335            for signing and certification.
1336            * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
1337            * wptGPG.cpp (gnupg_access_keyring): Check return value for
1338            NULL. Noted by Ralf.
1339            (get_gnupg_prog): Simplified.
1340            (check_homedir): Fixed. Return 0 when the dir is successfully created.
1341            * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
1342            indicate a pending GPG process.
1343            * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
1344            and and of an operation. For now just the cursor changes.
1345            (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
1346            * WinPT.cpp (WinMain): Check if there is already an instance and
1347            set a variable early as possible.
1348            (load_gettext): If a previous instance was found, do not output
1349            any errors. Kudos to Ralf.      
1350    
1351    2005-10-24  Timo Schulz  <[email protected]>
1352    
1353            * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use
1354            pre-defined recipients.
1355            (release_gpg_passphrase_cb): Release recipients.
1356            * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id
1357            validity if needed.
1358            (keyprops_dlg_proc): Issue a warning if the photo is valid.
1359    
1360    2005-10-23  Timo Schulz  <[email protected]>
1361    
1362            * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.  
1363            * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
1364            (get_ext_validity): New.
1365            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
1366            * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
1367            this function.
1368            (load_clipboard_from_file): Likewise.
1369            (save_clipboard_to_file): New.
1370            * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.
1371    
1372    2005-10-22  Timo Schulz  <[email protected]>
1373    
1374            Localized a lot of more strings.
1375    
1376            * wptMainProc.cpp (load_smartcard): New.
1377            * wptFileManager.cpp (fm_parse_command_line): Simplify code.
1378            (fm_check_armor_type): Add new arg. Change all callers.
1379            (fm_get_file_type): Likewise.
1380            * wptKeyPropsDlg.cpp (display_key_info): New.  
1381            (keyprops_show_photo): Factored out some code into..
1382            (keyprops_load_photo): ..this function.
1383    
1384    2005-10-21  Timo Schulz  <[email protected]>
1385    
1386            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use
1387            WM_INITPOPUPMENU to localize popup menu texts.
1388            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1389            * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.  
1390    
1391    2005-10-20  Timo Schulz  <[email protected]>
1392    
1393            Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.
1394    
1395            * wptPassphraseCB.cpp (passphrase_cb): Complete card support.
1396            * wptCardEdit.cpp (genKey): Handle cancel case.
1397            * keycache.c: Renamed into...
1398            * wptKeyCache.cpp: ...this.
1399            * wptW32API.cpp (set_menu_text): Removed unused code.
1400            (set_menu_text_bypos): New.
1401            * wptCrypto.h: New.
1402            * wptMainProc.cpp (winpt_main_proc): Complete localize
1403            menu texts.
1404            * wptErrors.cpp (log_debug): Use a static var so the file
1405            is only opened once.
1406            (debug_end): Cleanup. Currently just close the log file.
1407            * wptErrors.h (wipememory): New.
1408            (sfree_if_alloc): Use it here.
1409            * WinPT.cpp (WinMain): Display the min. GPGME version which
1410            is needed in case of an error.
1411    
1412    2005-10-17  Timo Schulz  <[email protected]>
1413    
1414            Free all memory returned by the GPGME dll with gpgme_free ().
1415    
1416            s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.
1417    
1418            * wptKeyEdit.cpp (getCardStatus): Remove dummy key.
1419            (list_handler): With user interaction to allow to insert
1420            the card into the reader.
1421            * wptKeyEditCB.cpp (gpg_edit_card): Likewise.
1422            (common_card_handler): Fixed incorrect command string.
1423            * wptKeyPropsDlg.cpp (get_card_type): New.
1424            (keyprops_dlg_proc): Show card information if present.
1425            * wptFileManager.cpp (secret_key_available): Make the code faster.
1426            
1427    
1428    2005-10-16  Timo Schulz  <[email protected]>
1429    
1430            * wptPassphraseCB.cpp (passphrase_cb): Fix problem
1431            with hanging GPG process on cancel.
1432            * keycache.c (gpg_keycache_release): Release all objects.
1433    
1434    2005-10-15  Timo Schulz  <[email protected]>
1435    
1436            * wptCardEdit.cpp (setResult, getResult): New.
1437            (reset): New.
1438            (getCardStatus): Check return codes and release all objects
1439            in case of errors.
1440            * wptCardEditCB.cpp (change_pin_handler): Call reset()
1441            before quit.
1442            (editcard_handler): Likewise.
1443            (common_card_handler): New.
1444            * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask
1445            the old PIN when 'Hide Typing' is disabled.
1446            * wptPassphraseCB.cpp (passphrase_cb): The card detection
1447            works again. Support to re-enter passphrase.
1448    
1449    2005-10-14  Timo Schulz  <[email protected]>
1450    
1451            * wptCardDlg.cpp (card_status): New fields for the
1452            fingerprint creation time. Display card info as title.
1453            (get_printable_version): New.
1454            * wptCardEditCB.cpp (editcard_handler): Fix problem
1455            with the counter comparison.
1456    
1457    2005-10-11  Timo Schulz  <[email protected]>
1458    
1459            Port to GPGME basically finished.
1460    
1461    2005-09-20  Timo Schulz  <[email protected]>
1462    
1463            * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):
1464            Do not use gpgme_recipients_t but the listview directly
1465            to add the selected files.
1466    
1467    2005-09-07  Timo Schulz  <[email protected]>
1468    
1469            * Make sure all GetOpenFileName filters are terminated by \0\0.
1470    
1471    2005-09-01  Timo Schulz  <[email protected]>
1472    
1473            * wptW32API.cpp (center_window): New argument for parent window.
1474            Change all callers.
1475            (center_window2): Likewise.
1476            * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.
1477            * wptGPG.cpp (gnupg_backup_options): Remove param. One backup
1478            file is enough. Changed all callers.
1479    
1480    2005-08-15  Timo Schulz  <[email protected]>
1481    
1482            * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.
1483            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.
1484            * Make sure the passphrase is always overwritten before it is
1485            freed (or the function returns).
1486            * wptKeyPropDlg.cpp (get_pref_cipher): New.
1487            (keyprops_dlg_proc): Use it here.
1488    
1489    2005-08-06  Timo Schulz  <[email protected]>
1490    
1491            * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
1492            of the secret key.
1493            (keycache_init): cache name of secret keyring.
1494            * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
1495            (get_key_type): Do not assume 'ultimate' means key pair.
1496            * wptKeyEditDlgs.cpp (diff_time): New.
1497            (keyedit_addsubkey_dlg_proc): Changed design and use
1498            diff_time. Drop checks for invalid keylength (< 1024, > 4096)
1499            because the combo box automatically handles this.
1500            * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
1501            * wptGPG.cpp (get_backup_name): New.
1502            (gnupg_backup_keyrings): Rotate backup names, from 0..3.
1503            * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
1504            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
1505            not the long keyid.
1506    
1507    2005-08-05  Timo Schulz  <[email protected]>
1508    
1509            * wptListView.cpp (listview_set_item2): New.
1510            * wptKeyManager.cpp (km_check_if_protected): Directly
1511            retrieve gpgme_key_t from the list.
1512            (km_check_key_status): Likewise.        
1513            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use
1514            a human-readable name for secret key export.
1515            Reload just the keys which were affected by updates
1516            (edit-key).
1517            (update_key): New.
1518            * wptKeyList.cpp ((keylist_upd_key): Stripped down
1519            version of keylist_add_key.
1520            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not
1521            reload the keycache here, just flag 'update'. Give the
1522            control to the calling dialog.
1523            * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t
1524            as parameter. Changed all callers.
1525            Add date of expiration to the key info.
1526            (get_expire_date): New.
1527            Use a checkbox to allow to ask for the cert level.
1528            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload
1529            the cache.
1530    
1531    2005-08-04  Timo Schulz  <[email protected]>
1532    
1533            * wptListView.cpp (listview_scroll): New.
1534            (listview_get_item2): New.
1535            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the
1536            item was found, make it visible with scrolling.
1537            * wptKeyManager.cpp (km_find_key): New.
1538            (keylist_subclass_proc): Support to handle some acceleators.
1539            Strg+{C, P, F, A}.
1540            (km_get_key_status): Get the gpgme_key_t object directly
1541            from the list.
1542            * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set
1543            the config file (if it exists).
1544            * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code
1545            to handle the click->activate situation.
1546            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
1547            Support to check the passphrase quality.
1548            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
1549            (request_passphrase): Rename 'init' to 'flags' to allow more
1550            options.
1551            * wptMAPI.cpp: Check all *alloc results.
1552            * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary
1553            passphrase quality check.
1554            * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file
1555            format and allow to save the checksum in a file.
1556            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning
1557            when the PGP mode is disabled.
1558            wptKeyEditDlgs.cpp (do_editkey_primary): Return if just
1559            one user-ID exists.
1560            (keyedit_dlg_proc): Fixed index problem.
1561            * wptKeyPropsDlg.cpp (get_validity): New.
1562            (keyprops_dlg_proc): Actually show extended validity if possible.
1563            * wptKeyList.cpp (get_key_fpr): Support for old v3 format.
1564            (do_addkey): Use listview_add_item2 to store key as opaque
1565            param inside the list.
1566            * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.
1567            (file_stat_dlg_proc): End dialog if no PGP data was found.
1568            (do_list_packets): Return the number of valid PGP packets
1569            of the file.
1570    
1571    2005-08-02  Timo Schulz  <[email protected]>
1572    
1573            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of
1574            using 'Default Keyserver' add the real keyserver name to
1575            the menu.
1576            The rebuild command does not reload the cache any longer.
1577            Use ATTR_NAME + .asc as the filename and not keyid + .asc.
1578            * wptProxySettingsDlg.cpp (enable_proxy_auth): New.
1579            (keyserver_proxy_dlg_proc): Changed the design a little
1580            and add some additional sanity checks.
1581            * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.
1582            This fixes the problem that the GPG option dialog does not show
1583            very nice lines.
1584            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.
1585            * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected
1586            check for 'NOKEY' before asking a keyserver.
1587            * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.
1588            If a lot of keys were selected, ask if the user wants to confirm
1589            each delete procedure or allow to cancel the operation.
1590            * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much
1591            keys the file contain.
1592            * wptKeyList.cpp (get_key_algo): Beautified.
1593            (get_key_status): Drop the "[XYZ] Unknown" format, it is too
1594            confusing for users.
1595            * wptKeyManager.cpp (km_check_key_status): Adjustments for the
1596            new code.
1597            (km_check_for_seckey): Reset utrust parameter. Return -1 for
1598            invalid (exp+rev+dis) keys.
1599    
1600    2005-08-01  Timo Schulz  <[email protected]>
1601    
1602            * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given
1603            sizes.
1604            (check_IP_or_hostname): New.
1605            (kserver_load_conf): Correct finger URL parsing problem.
1606            (port_from_proto): New.
1607            (keyserver_load_conf): Guess the port.
1608            (keyserver_set_default): Allocate new buffer.
1609            (kserver_load_conf): Likewise.
1610            * wptHTTP.c (parse_reqline, parse_request): Removed.
1611            Use WinPT error code and remove all unused code.
1612            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.
1613            * wptProxySettingsDlg.cpp (read_proxy): Simple check for
1614            invalid host/IP addresses.
1615            * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.
1616            Changed all callers.
1617            * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,
1618            automatically set 'backup to homedir'.
1619            * WinPT.cpp (WinMain): Use desktop window as the parent window
1620            to load 'first-start' dialogs.
1621            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'
1622            flag after deleting keys.
1623            * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure
1624            for passing the arguments.
1625            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for
1626            the OptFile. This was responsible for a lot of 'General Errors'
1627            after the first start related to key caching.
1628            Automatically set the gpg binary if possible.
1629    
1630    2005-07-22  Timo Schulz  <[email protected]>
1631    
1632            * wptMainProc.cpp (winpt_main_proc): Take care for shutdown
1633            messages and make sure WinPT make a keyring backup in this case.
1634            * wptGPGME.cpp (keycache_reload): Do not rebuild the signature
1635            cache each time. Just do it on startup.
1636            * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.
1637            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag
1638            was set by the calling function.
1639            * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.
1640            (keygen_dlg_proc): Only add the generated key to the keycache
1641            and do not reload the entire cache.
1642            * wptKeyManager.cpp (km_delete_keys): Store the number of keys
1643            because in each loop iteration it will be new calculated.
1644            * wptListView.cpp (listview_del_items): Likewise.
1645            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the
1646            generated key to the list instead of reloading the entire cache.
1647            * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.
1648    
1649  2005-05-09  Timo Schulz  <[email protected]>  2005-05-09  Timo Schulz  <[email protected]>
1650    
1651          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..
# Line 305  Line 1688 
1688          (kserver_sendkey): Likewise.          (kserver_sendkey): Likewise.
1689          * wptProxySettingsDlg.cpp (check_number): New.          * wptProxySettingsDlg.cpp (check_number): New.
1690          (read_proxy): Check the entered port number.          (read_proxy): Check the entered port number.
1691          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.
1692          * wptW32API.cpp (get_folder_dlg): Free memory.          * wptW32API.cpp (get_folder_dlg): Free memory.
1693    
1694  2005-04-11  Timo Schulz  <[email protected]>  2005-04-11  Timo Schulz  <[email protected]>
# Line 650  Line 2033 
2033    
2034          * WinPT.cpp (load_keyserver_conf): New. Factored out some code          * WinPT.cpp (load_keyserver_conf): New. Factored out some code
2035          from WinMain ().          from WinMain ().
2036          (WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner          (WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner
2037          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver
2038          in the list control, add at least the internal default HKP server.          in the list control, add at least the internal default HKP server.
2039          * 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.217

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26