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

Diff of /trunk/Src/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26