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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.32  
changed lines
  Added in v.185

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26