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

Diff of /trunk/Src/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26