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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.26  
changed lines
  Added in v.193

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26