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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.34  
changed lines
  Added in v.201

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26