/[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 130 by twoaday, Fri Dec 30 14:06:39 2005 UTC
# Line 1  Line 1 
1  2005-10-25  Timo Schulz  <[email protected]>  2005-12-29  Timo Schulz  <[email protected]>
2    
3          * wptGPGUtil.cpp (create_process): Hide window.          * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
4          * wptKeyPropsDlg.cpp (get_photo_tmpname): New.          (gpg_genkey_params): Simplified.
5          * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove          * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
6          static var 'enable'.          exclusion of the dialog items.
7          * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.          * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
8          (gpg_genkey_params): Make sure all primary keys are capable          quit the dialog.
9          for signing and certification.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
10          * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.          * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
11          * wptGPG.cpp (gnupg_access_keyring): Check return value for          (id2algo): New.
12          NULL. Noted by Ralf.  
13          (get_gnupg_prog): Simplified.  2005-12-28  Timo Schulz  <[email protected]>
14          (check_homedir): Fixed. Return 0 when the dir is successfully created.  
15          * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to          * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
16          indicate a pending GPG process.          * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
17          * wptFileManager.cpp (op_begin, op_end): New. Indicate an start          * wptKeylist.cpp (keylist_udp_key): Likewise.
18          and and of an operation. For now just the cursor changes.          * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
19          (fm_parse_command_line): Remove debug output. Thanks to Ralf again.          * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
20          * WinPT.cpp (WinMain): Check if there is already an instance and          when no signing key was found.
21          set a variable early as possible.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
22          (load_gettext): If a previous instance was found, do not output          user IDs.
23          any errors. Kudos to Ralf.          (translate_popup_strings): s/Revoke/Revoke Cert.
24            * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
25            0x prefixed keyid.
26  2005-10-24  Timo Schulz  <[email protected]>          * wptKeyEditCB.cpp (editkey_command_handler): Also reset
27            step in case of a bad passphrase.
28          * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use          
29          pre-defined recipients.  2005-12-27  Timo Schulz  <[email protected]>
30          (release_gpg_passphrase_cb): Release recipients.  
31          * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id          * wptListView.cpp (listview_set_view): New.
32          validity if needed.          (listview_del_column): New.
33          (keyprops_dlg_proc): Issue a warning if the photo is valid.          * wptW32API.cpp (get_locale_date): New.
34            (get_menu_state): New.
35  2005-10-23  Timo Schulz  <[email protected]>          (force_foreground_window): New.
36            * wptVerifyList.cpp (strtimestamp): Support for
37          * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.            locale date formats.
38          * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.          * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
39          (get_ext_validity): New.          passphrases.
40          * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.          * wptKeyEditCB.cpp (editkey_command_handler): Immediately
41          * wptClipEditDlg.cpp (load_clipboard): Factored out some code into          return when a bad passphrase was submitted.
42          this function.          * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
43          (load_clipboard_from_file): Likewise.          column order.
44          (save_clipboard_to_file): New.          * wptKeylist.cpp (keylist_upd_col): New.
45          * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.          * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
46            'Revocation' for public keys.
47  2005-10-22  Timo Schulz  <[email protected]>          (translate_menu_strings): s/Revoke/Revoke Cert.
48            (modify_listview_columns): New.
49          Localized a lot of more strings.          
50    2005-12-18  Timo Schulz  <[email protected]>
51          * wptMainProc.cpp (load_smartcard): New.  
52          * wptFileManager.cpp (fm_parse_command_line): Simplify code.          * wptKeyManagerDlg.cpp (save_column_size): New.
53          (fm_check_armor_type): Add new arg. Change all callers.          (restore_column_size): New.
54          (fm_get_file_type): Likewise.          (keymanager_dlg_proc): Save and restore column sizes for
55          * wptKeyPropsDlg.cpp (display_key_info): New.            the listview control.
56          (keyprops_show_photo): Factored out some code into..          * wptKeyManager.cpp (key_get_info): New.
57          (keyprops_load_photo): ..this function.          (km_delete_keys): Use it here to have a consistent message.
58            Use stored key context and not the column data.
59  2005-10-21  Timo Schulz  <[email protected]>          (km_enable_disable_key): Likewise.
60            (km_send_to_keyserver): Likewise.
61          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use          (km_set_implicit_trust): Likewise.
62          WM_INITPOPUPMENU to localize popup menu texts.          * wptKeylist.cpp (get_key_pubalgo2): New.
63          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.          
64          * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.    2005-12-17  Timo Schulz  <[email protected]>
65    
66  2005-10-20  Timo Schulz  <[email protected]>          * wptUTF8.cpp: Removed unused charset array.
67            * wptSigList.cpp (siglist_build): Increase size for 'class'
68          Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.          column.
69            * wptGPG.cpp (get_gnupg_path): Simplified.
70          * wptPassphraseCB.cpp (passphrase_cb): Complete card support.          * WinPT.cpp (load_gpg_env): New.
71          * wptCardEdit.cpp (genKey): Handle cancel case.          (check_crypto_engine): Return type is now bool.
72          * keycache.c: Renamed into...          * wptRegistry.cpp (is_gpg4win_installed): New.
73          * wptKeyCache.cpp: ...this.          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent
74          * wptW32API.cpp (set_menu_text): Removed unused code.          dialog design.
75          (set_menu_text_bypos): New.          * wptKeyManagerDlg.cpp (translate_menu_strings): New.
76          * wptCrypto.h: New.          (translate_popupmenu_strings): New.
77          * wptMainProc.cpp (winpt_main_proc): Complete localize          * wptKeyEditDlgs.cpp (is_jpg_file): New.
78          menu texts.          
79          * wptErrors.cpp (log_debug): Use a static var so the file  2005-12-13  Timo Schulz  <[email protected]>
80          is only opened once.  
81          (debug_end): Cleanup. Currently just close the log file.          * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
82          * wptErrors.h (wipememory): New.          * wptKeyManagerDlg.cpp (change_edit_menu): New.
83          (sfree_if_alloc): Use it here.          (change_key_menu): Renamed from...
84          * WinPT.cpp (WinMain): Display the min. GPGME version which          (menu_gpg_readonly): ..this.
85          is needed in case of an error.          (clip_contains_pgpkey): New.
86            (update_ui_items): Do not allow to sign expired keys.
87  2005-10-17  Timo Schulz  <[email protected]>          (keymanager_dlg_proc): Same for popup menu.
88            * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
89          Free all memory returned by the GPGME dll with gpgme_free ().          * wptKeyCache.cpp (copy_uid_prefs):
90            (gpg_keycache_sync): Copy uid prefs so the key property
91          s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.          dialog show the correct values. Thanks to Shane.
92            
93          * wptKeyEdit.cpp (getCardStatus): Remove dummy key.  2005-12-11  Timo Schulz  <[email protected]>
94          (list_handler): With user interaction to allow to insert  
95          the card into the reader.          * wptW32API.cpp (get_file_version): New.
96          * wptKeyEditCB.cpp (gpg_edit_card): Likewise.          * wptGPGUtil.cpp (create_process): Always hide window.
97          (common_card_handler): Fixed incorrect command string.          * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
98          * wptKeyPropsDlg.cpp (get_card_type): New.          instead of 'Exit'.
99          (keyprops_dlg_proc): Show card information if present.          * wptKeyManager.cpp (km_http_import): New filename
100          * wptFileManager.cpp (secret_key_available): Make the code faster.          generation code.
101                    (km_send_to_mail_recipient): Cleanups.
102            * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
103  2005-10-16  Timo Schulz  <[email protected]>          * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
104            when multiple keys are selected.
105          * wptPassphraseCB.cpp (passphrase_cb): Fix problem          (popup_multiple): New.
106          with hanging GPG process on cancel.          * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
107          * keycache.c (gpg_keycache_release): Release all objects.          file versions are equal. Rewrote --keymanager code.
108            
109  2005-10-15  Timo Schulz  <[email protected]>  2005-12-08  Timo Schulz  <[email protected]>
110    
111          * wptCardEdit.cpp (setResult, getResult): New.          * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
112          (reset): New.          (hkp_recv_key2): Show user-id of the imported key instead
113          (getCardStatus): Check return codes and release all objects          of just the pattern.
114          in case of errors.          * wptFileCBS.cpp (read_cb): Changed to W32 API.
115          * wptCardEditCB.cpp (change_pin_handler): Call reset()          (write_cb): Likewise. Create output file on demand.
116          before quit.          (gpg_file_data_new): Adjusted code for new API.
117          (editcard_handler): Likewise.          * wptKeyEdit.cpp (cleanKey): New.
118          (common_card_handler): New.          * wptKeyEditCB.cpp (cmd_clean_handler): New.
119          * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask          (editkey_command_handler): Call clean handler.
120          the old PIN when 'Hide Typing' is disabled.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
121          * wptPassphraseCB.cpp (passphrase_cb): The card detection          keylist after inserting items.
122          works again. Support to re-enter passphrase.          * wptFileManager.cpp (fm_set_status): Take care of
123            cleartext sigs.
124  2005-10-14  Timo Schulz  <[email protected]>          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
125            sure can be closed.
126          * wptCardDlg.cpp (card_status): New fields for the          
127          fingerprint creation time. Display card info as title.  2005-12-07  Timo Schulz  <[email protected]>
128          (get_printable_version): New.  
129          * wptCardEditCB.cpp (editcard_handler): Fix problem          * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
130          with the counter comparison.          Use 'Close' instead of 'Exit'.
131            * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
132  2005-10-11  Timo Schulz  <[email protected]>          * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
133            as the destination dir. Thanks to Werner.
134          Port to GPGME basically finished.          * wptRegistry.cpp (is_gpgee_installed): New.
135            (regist_inst_winpt): Do not register file extensions
136  2005-09-20  Timo Schulz  <[email protected]>          if GPGee is available.
137            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
138          * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):          use of local vars.
139          Do not use gpgme_recipients_t but the listview directly          * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
140          to add the selected files.          no illegal backup mode is saved.
141            * wptKeyserverDlg.cpp (show_imported_key): New.
142  2005-09-07  Timo Schulz  <[email protected]>          (hkp_recv_key2): Show imported keys if the blob
143            contained more than one.
144          * Make sure all GetOpenFileName filters are terminated by \0\0.          
145    2005-12-06  Timo Schulz  <[email protected]>
146  2005-09-01  Timo Schulz  <[email protected]>  
147            * WinPT.cpp (WinMain): Load the gettext environment soon
148          * wptW32API.cpp (center_window): New argument for parent window.          as possible so all 'first start' messages are localized.
149          Change all callers.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
150          (center_window2): Likewise.          received via the keyserver, return the gpgme key context on
151          * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.          success and add it directly to the list.
152          * wptGPG.cpp (gnupg_backup_options): Remove param. One backup          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
153          file is enough. Changed all callers.          to store the key.
154            (hkp_recv_key2): Add extra param for the fingerprint.
155  2005-08-15  Timo Schulz  <[email protected]>          (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
156            
157          * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.  2005-12-02  Werner Koch  <[email protected]>
158          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.  
159          * Make sure the passphrase is always overwritten before it is          * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
160          freed (or the function returns).  
161          * wptKeyPropDlg.cpp (get_pref_cipher): New.  2005-12-01  Timo Schulz  <[email protected]>
162          (keyprops_dlg_proc): Use it here.  
163            * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
164  2005-08-06  Timo Schulz  <[email protected]>          for get_gpg_sigstat().
165            * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
166          * wptGPGME.cpp (keycache_update): Reload OpenPGP parts          As a macro strings will not be translated at runtime.
167          of the secret key.          * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
168          (keycache_init): cache name of secret keyring.          need to update the cache. Thanks to Jan-Oliver.
169          * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.          * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
170          (get_key_type): Do not assume 'ultimate' means key pair.          
171          * wptKeyEditDlgs.cpp (diff_time): New.  2005-11-30  Timo Schulz  <[email protected]>
172          (keyedit_addsubkey_dlg_proc): Changed design and use  
173          diff_time. Drop checks for invalid keylength (< 1024, > 4096)          * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
174          because the combo box automatically handles this.          * WinPT-en.rc: Removed string list.
175          * wptKeyManager.cpp (km_set_implicit_trust): Return error code.          * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
176          * wptGPG.cpp (get_backup_name): New.          * wptKeylist.cpp (keylist_build): Cannot use global
177          (gnupg_backup_keyrings): Rotate backup names, from 0..3.          arrays for the columns due to gettext.
178          * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.          
179          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and  2005-11-29  Timo Schulz  <[email protected]>
180          not the long keyid.  
181            * WinPT.cpp (WinMain): Modify --keymanager. If an instance
182  2005-08-05  Timo Schulz  <[email protected]>          is running, just send the command to open the manager.
183            
184          * wptListView.cpp (listview_set_item2): New.  2005-11-25  Timo Schulz  <[email protected]>
185          * wptKeyManager.cpp (km_check_if_protected): Directly  
186          retrieve gpgme_key_t from the list.          * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
187          (km_check_key_status): Likewise.                  process when the revoker is already there.
188          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use          
189          a human-readable name for secret key export.  2005-11-24  Timo Schulz  <[email protected]>
190          Reload just the keys which were affected by updates  
191          (edit-key).          * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
192          (update_key): New.          signing dialog items.
193          * wptKeyList.cpp ((keylist_upd_key): Stripped down          * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
194          version of keylist_add_key.          * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
195          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not          * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
196          reload the keycache here, just flag 'update'. Give the          * wptKeylist.cpp (key_check_validity): Likewise.
197          control to the calling dialog.          * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
198          * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t          
199          as parameter. Changed all callers.  2005-11-22  Timo Schulz  <[email protected]>
200          Add date of expiration to the key info.  
201          (get_expire_date): New.          * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
202          Use a checkbox to allow to ask for the cert level.          macro debug output will be generated in release version.
203          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload          
204          the cache.  2005-11-21  Timo Schulz  <[email protected]>
205    
206  2005-08-04  Timo Schulz  <[email protected]>          * WinPT.cpp (WinMain): Implement --stop switch.
207            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
208          * wptListView.cpp (listview_scroll): New.          missing string.
209          (listview_get_item2): New.          * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
210          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the          * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
211          item was found, make it visible with scrolling.          first. Thanks to Ralf.
212          * wptKeyManager.cpp (km_find_key): New.          * wptFileManagerDlg.cpp (update_ui_items): New.
213          (keylist_subclass_proc): Support to handle some acceleators.          * wptFileManager.cpp (fm_set_status): New sigmode param.
214          Strg+{C, P, F, A}.          Changed all callers.
215          (km_get_key_status): Get the gpgme_key_t object directly          
216          from the list.  2005-11-17  Timo Schulz  <[email protected]>
217          * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set  
218          the config file (if it exists).          * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
219          * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code          the cache will be loaded twice.
220          to handle the click->activate situation.          * wptRegistry.cpp (regist_inst_winpt): More comments.
221          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.          * wptKeyManagerDlg.cpp (do_center_window): Make sure that
222          Support to check the passphrase quality.          neg. coordinates are never used.
223          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
224          (request_passphrase): Rename 'init' to 'flags' to allow more          strings.
225          options.          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
226          * wptMAPI.cpp: Check all *alloc results.          * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
227          * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary          and save 'AlwaysOnTop' in the registry.
228          passphrase quality check.          
229          * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file  2005-11-16  Timo Schulz  <[email protected]>
230          format and allow to save the checksum in a file.  
231          * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning          * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
232          when the PGP mode is disabled.          * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
233          wptKeyEditDlgs.cpp (do_editkey_primary): Return if just          mode.
234          one user-ID exists.          * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
235          (keyedit_dlg_proc): Fixed index problem.          * wptRegistry.cpp (regist_inst_winpt): Set install directory.
236          * wptKeyPropsDlg.cpp (get_validity): New.          Useful for other programs to figure out the path to the EXE.
237          (keyprops_dlg_proc): Actually show extended validity if possible.          
238          * wptKeyList.cpp (get_key_fpr): Support for old v3 format.  2005-11-14  Timo Schulz  <[email protected]>
239          (do_addkey): Use listview_add_item2 to store key as opaque  
240          param inside the list.          * wptGPG.cpp (check_gnupg_engine): Fix version check.
241          * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.          * wptMainProc.cpp (winpt_main_proc): Check keyring
242          (file_stat_dlg_proc): End dialog if no PGP data was found.          file permissions always and do not use interative output
243          (do_list_packets): Return the number of valid PGP packets          when the windows session ends.
244          of the file.          * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
245            Localize all strings.
246  2005-08-02  Timo Schulz  <[email protected]>          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
247            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
248          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of          * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
249          using 'Default Keyserver' add the real keyserver name to          non-valid keys.
250          the menu.          
251          The rebuild command does not reload the cache any longer.  2005-11-12  Timo Schulz  <[email protected]>
252          Use ATTR_NAME + .asc as the filename and not keyid + .asc.  
253          * wptProxySettingsDlg.cpp (enable_proxy_auth): New.          Fix more GCC warnings.
254          (keyserver_proxy_dlg_proc): Changed the design a little  
255          and add some additional sanity checks.  2005-11-10  Timo Schulz  <[email protected]>
256          * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.  
257          This fixes the problem that the GPG option dialog does not show          * wptClipSignDlg.cpp (one_key_proc): Use
258          very nice lines.          release_gpg_passphrase_cb() to free the context.
259          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.          * wptListView.cpp (listview_deselect_all): New.
260          * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected          * wptMAPI.cpp (mapi_send_pubkey): Works again.
261          check for 'NOKEY' before asking a keyserver.          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
262          * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.          zip.    
263          If a lot of keys were selected, ask if the user wants to confirm          * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
264          each delete procedure or allow to cancel the operation.          caching for signing operations.
265          * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much          * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
266          keys the file contain.          * wptFileManager.cpp (fm_send_file): Likewise.
267          * wptKeyList.cpp (get_key_algo): Beautified.          (fm_encrypt_into_zip): New.      
268          (get_key_status): Drop the "[XYZ] Unknown" format, it is too          
269          confusing for users.  2005-11-09  Timo Schulz  <[email protected]>
270          * wptKeyManager.cpp (km_check_key_status): Adjustments for the  
271          new code.          * wptNLS.c (get_gettext_langid): Map user language id to
272          (km_check_for_seckey): Reset utrust parameter. Return -1 for          printable gettext language strings.
273          invalid (exp+rev+dis) keys.          * wptRegistry.cpp (get_reg_entry_mo): Support for the
274            gettext environment.
275  2005-08-01  Timo Schulz  <[email protected]>          * wptFileManager.cpp (fm_encrypt): Close all files before
276            the wipe procedure is called.
277          * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given          * wptVerlist.cpp (verlist_add_sig): Handle the case the
278          sizes.          issuer is not valid but the signature is.
279          (check_IP_or_hostname): New.          (verlist_add_sig_log): Likewise. Thanks to the folks on
280          (kserver_load_conf): Correct finger URL parsing problem.          winpt-users.
281          (port_from_proto): New.          
282          (keyserver_load_conf): Guess the port.  2005-11-08  Werner Koch  <[email protected]>
283          (keyserver_set_default): Allocate new buffer.  
284          (kserver_load_conf): Likewise.          * SAFE.ICO, SIGN.ICO: Fixed capitalization.
285          * wptHTTP.c (parse_reqline, parse_request): Removed.          * WinPT-en.rc: Ditto.
286          Use WinPT error code and remove all unused code.          * winpt_km.ico:  Moved from ../.
287          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.  
288          * wptProxySettingsDlg.cpp (read_proxy): Simple check for          * Makefile.am (resource_files): Add missing backslash.
289          invalid host/IP addresses.  
290          * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.  2005-11-08  Timo Schulz  <[email protected]>
291          Changed all callers.  
292          * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,          More minor changes to avoid GCC warnings.
293          automatically set 'backup to homedir'.          
294          * WinPT.cpp (WinMain): Use desktop window as the parent window          * wptGPG.cpp (check_homedir): Free memory in case of errors.
295          to load 'first-start' dialogs.          (multi_gnupg_path): Add strict mode. If non-strict mode return
296          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'          the folder even if it does not exist.
297          flag after deleting keys.          (check_for_gpgwin): New.
298          * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure          * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
299          for passing the arguments.          initialized.
300          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for          * wptRegistry.cpp (get_reg_entry_gpg4win): New.
301          the OptFile. This was responsible for a lot of 'General Errors'          (get_reg_entry_mo): Support for gpg4win.
302          after the first start related to key caching.          
303          Automatically set the gpg binary if possible.  2005-11-07  Timo Schulz  <[email protected]>
304    
305  2005-07-22  Timo Schulz  <[email protected]>          * wptMainProc.cpp (winpt_main_proc): Disable
306            some menu items when no secret key is available.
307          * wptMainProc.cpp (winpt_main_proc): Take care for shutdown          
308          messages and make sure WinPT make a keyring backup in this case.  2005-11-05  Timo Schulz  <[email protected]>
309          * wptGPGME.cpp (keycache_reload): Do not rebuild the signature  
310          cache each time. Just do it on startup.          More minor changes to avoid GCC warnings.
311          * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.          
312          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag          * wptErrors.cp (winpt_strerror): Return w32
313          was set by the calling function.          formatted error and do not use 'break'.
314          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.          
315          (keygen_dlg_proc): Only add the generated key to the keycache  2005-11-04  Werner Koch  <[email protected]>
316          and do not reload the entire cache.  
317          * wptKeyManager.cpp (km_delete_keys): Store the number of keys          * WinPT-en.rc: Fixed locations of icons.
318          because in each loop iteration it will be new calculated.  
319          * wptListView.cpp (listview_del_items): Likewise.  2005-11-03  Timo Schulz  <[email protected]>
320          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the  
321          generated key to the list instead of reloading the entire cache.          A lot of minor changes to avoid GCC warnings.
322          * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.  
323            * wptGPG.cpp (get_gnupg_keyring): Only check size for
324            public keyring.
325            * wptKeyManager.cpp (km_update_default_key_str): Do
326            not issue a bug message when no secret key was found.
327            * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
328            
329    2005-11-02  Werner Koch  <[email protected]>
330    
331            * WinPT.cpp (WinMain): Disabled PTD version tests.
332            (check_crypto_engine): Fixed version check for scard.
333    
334            * wptErrors.cpp (debug_end): Add dummy function.
335    
336            * Makefile.am (code_files): Added wptCardEditCB.cpp and
337            wptKeyEditCB.cpp.
338    
339    2005-10-31  Werner Koch  <[email protected]>
340    
341            * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
342            functions.
343    
344            * wptKeyEditDlgs.cpp: Include oleauto.h
345            * wptKeyEdit.cpp: Include time.h.
346            * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
347            * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
348    
349            * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
350            wptKeyEdit.cpp and wptKeycache.cpp.
351    
352            * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
353            * wptImportList.cpp (implist_load): Use remove and not unlink.
354            * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
355            * wptImportList.cpp (implist_load): Use remove and not unlink.
356            * wptKeyManager.cpp (km_http_import): Ditto
357            * wptMainProc.cpp: Include wptCrypto.h
358            * wptKeyManager.cpp: Ditto.
359            * wptFileManager.cpp: Ditto.
360            * wptImportList.cpp (parse_colon_key): Need to cast argument for
361            isdigit.  Include ctype.h.
362            * wptGPG.cpp: Include shlobj.h.
363    
364            Fixed double inclusion of windows.h.
365            
366            * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
367            * wptKeylist.cpp (get_key_created): Broke up trigraph.
368            (get_key_status): Removed dangerous use of sprintf.  Still other
369            flaws present, see comment.
370    
371            * wptCardPCSC.c: Don't include winscard.h.
372            (pcsc_readerstate_t, pcsc_context_t): New.  Changed call users to
373            use these types.
374            (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
375            (SCARD_S_SUCCESS): Changed all compares to test the value directly
376            against zero.
377    
378            * WinPT.cpp: Include wptCrypto.h.
379            (WinMain): Don't shard S. Removed usunsed variable SIZE.
380            * Makefile.am (code_files): Actually add files by adding a first
381            backslash.
382            * wptMDSumDlg.cpp: Include wptCrypto.h.
383            * wptProxySettingsDlg.cpp: Included ctype.h.
384            * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
385            * wptKeysignDlg.cpp: Ditto
386            * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
387            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
388            Removed unused variable.
389            * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
390            silly c++ operator synonyms.
391            * wptKeyEditDlgs.cpp: Include time.h.
392            * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
393            * wptFileManagerDlg.cpp: Ditto.
394            (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
395            matter if it does an rmdir for a directory.
396    
397            Fixed include of resource.h which is not anymore in the top
398            directory.
399    
400    2005-10-28  Werner Koch  <[email protected]>
401    
402            * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
403            unsigned.  Never ever use a possible signed char as argument for
404            ctype tests.  An alternative is to first test using isascii ().
405            (keyserver_proxy_dlg_proc): Removed unused variable.
406    
407    2005-10-27  Timo Schulz  <[email protected]>
408    
409            * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
410            * wptKeylist.cpp (keylist_add_key): Check global key flag to
411            see if the key is disabled and not each subkey.
412            (seclist_init): Likewise.
413            * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
414            gpgme_op_decrypt_verify.
415            (clip_decrypt_dlg_proc): Fixed fingerprint
416            to keyid conversation. This also fixes a crash.
417            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
418            * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
419            already expired if the user wants to change the date.
420            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
421            'v3 sig' option with the 'ask cert level' option. Sync
422            with global preferences.
423            * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
424            gpg.conf contains 'ask-cert-level'. If not disable button.
425            * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
426            the button when the key is available.
427            Reload key directly, not the entire cache.
428            
429    2005-10-26  Timo Schulz  <[email protected]>
430    
431            * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
432            possible overflow.
433            (is_openpgp_ext): Compare case insentensive.
434            (add_single_file): New.
435            (fm_add_opened_files): Support multi file selection.
436            * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
437            * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
438            reload flag. Just update the single key.
439            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
440            and disable anonymize recipient for now.
441    
442            Begin to port code to GCC. Fix all warning issued by the gcc
443            compiler.
444    
445    2005-10-25  Timo Schulz  <[email protected]>
446    
447            * wptGPGUtil.cpp (create_process): Hide window.
448            * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
449            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
450            static var 'enable'.
451            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
452            (gpg_genkey_params): Make sure all primary keys are capable
453            for signing and certification.
454            * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
455            * wptGPG.cpp (gnupg_access_keyring): Check return value for
456            NULL. Noted by Ralf.
457            (get_gnupg_prog): Simplified.
458            (check_homedir): Fixed. Return 0 when the dir is successfully created.
459            * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
460            indicate a pending GPG process.
461            * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
462            and and of an operation. For now just the cursor changes.
463            (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
464            * WinPT.cpp (WinMain): Check if there is already an instance and
465            set a variable early as possible.
466            (load_gettext): If a previous instance was found, do not output
467            any errors. Kudos to Ralf.      
468    
469    2005-10-24  Timo Schulz  <[email protected]>
470    
471            * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use
472            pre-defined recipients.
473            (release_gpg_passphrase_cb): Release recipients.
474            * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id
475            validity if needed.
476            (keyprops_dlg_proc): Issue a warning if the photo is valid.
477    
478    2005-10-23  Timo Schulz  <[email protected]>
479    
480            * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.  
481            * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
482            (get_ext_validity): New.
483            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
484            * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
485            this function.
486            (load_clipboard_from_file): Likewise.
487            (save_clipboard_to_file): New.
488            * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.
489    
490    2005-10-22  Timo Schulz  <[email protected]>
491    
492            Localized a lot of more strings.
493    
494            * wptMainProc.cpp (load_smartcard): New.
495            * wptFileManager.cpp (fm_parse_command_line): Simplify code.
496            (fm_check_armor_type): Add new arg. Change all callers.
497            (fm_get_file_type): Likewise.
498            * wptKeyPropsDlg.cpp (display_key_info): New.  
499            (keyprops_show_photo): Factored out some code into..
500            (keyprops_load_photo): ..this function.
501    
502    2005-10-21  Timo Schulz  <[email protected]>
503    
504            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use
505            WM_INITPOPUPMENU to localize popup menu texts.
506            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
507            * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.  
508    
509    2005-10-20  Timo Schulz  <[email protected]>
510    
511            Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.
512    
513            * wptPassphraseCB.cpp (passphrase_cb): Complete card support.
514            * wptCardEdit.cpp (genKey): Handle cancel case.
515            * keycache.c: Renamed into...
516            * wptKeyCache.cpp: ...this.
517            * wptW32API.cpp (set_menu_text): Removed unused code.
518            (set_menu_text_bypos): New.
519            * wptCrypto.h: New.
520            * wptMainProc.cpp (winpt_main_proc): Complete localize
521            menu texts.
522            * wptErrors.cpp (log_debug): Use a static var so the file
523            is only opened once.
524            (debug_end): Cleanup. Currently just close the log file.
525            * wptErrors.h (wipememory): New.
526            (sfree_if_alloc): Use it here.
527            * WinPT.cpp (WinMain): Display the min. GPGME version which
528            is needed in case of an error.
529    
530    2005-10-17  Timo Schulz  <[email protected]>
531    
532            Free all memory returned by the GPGME dll with gpgme_free ().
533    
534            s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.
535    
536            * wptKeyEdit.cpp (getCardStatus): Remove dummy key.
537            (list_handler): With user interaction to allow to insert
538            the card into the reader.
539            * wptKeyEditCB.cpp (gpg_edit_card): Likewise.
540            (common_card_handler): Fixed incorrect command string.
541            * wptKeyPropsDlg.cpp (get_card_type): New.
542            (keyprops_dlg_proc): Show card information if present.
543            * wptFileManager.cpp (secret_key_available): Make the code faster.
544            
545    
546    2005-10-16  Timo Schulz  <[email protected]>
547    
548            * wptPassphraseCB.cpp (passphrase_cb): Fix problem
549            with hanging GPG process on cancel.
550            * keycache.c (gpg_keycache_release): Release all objects.
551    
552    2005-10-15  Timo Schulz  <[email protected]>
553    
554            * wptCardEdit.cpp (setResult, getResult): New.
555            (reset): New.
556            (getCardStatus): Check return codes and release all objects
557            in case of errors.
558            * wptCardEditCB.cpp (change_pin_handler): Call reset()
559            before quit.
560            (editcard_handler): Likewise.
561            (common_card_handler): New.
562            * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask
563            the old PIN when 'Hide Typing' is disabled.
564            * wptPassphraseCB.cpp (passphrase_cb): The card detection
565            works again. Support to re-enter passphrase.
566    
567    2005-10-14  Timo Schulz  <[email protected]>
568    
569            * wptCardDlg.cpp (card_status): New fields for the
570            fingerprint creation time. Display card info as title.
571            (get_printable_version): New.
572            * wptCardEditCB.cpp (editcard_handler): Fix problem
573            with the counter comparison.
574    
575    2005-10-11  Timo Schulz  <[email protected]>
576    
577            Port to GPGME basically finished.
578    
579    2005-09-20  Timo Schulz  <[email protected]>
580    
581            * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):
582            Do not use gpgme_recipients_t but the listview directly
583            to add the selected files.
584    
585    2005-09-07  Timo Schulz  <[email protected]>
586    
587            * Make sure all GetOpenFileName filters are terminated by \0\0.
588    
589    2005-09-01  Timo Schulz  <[email protected]>
590    
591            * wptW32API.cpp (center_window): New argument for parent window.
592            Change all callers.
593            (center_window2): Likewise.
594            * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.
595            * wptGPG.cpp (gnupg_backup_options): Remove param. One backup
596            file is enough. Changed all callers.
597    
598    2005-08-15  Timo Schulz  <[email protected]>
599    
600            * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.
601            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.
602            * Make sure the passphrase is always overwritten before it is
603            freed (or the function returns).
604            * wptKeyPropDlg.cpp (get_pref_cipher): New.
605            (keyprops_dlg_proc): Use it here.
606    
607    2005-08-06  Timo Schulz  <[email protected]>
608    
609            * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
610            of the secret key.
611            (keycache_init): cache name of secret keyring.
612            * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
613            (get_key_type): Do not assume 'ultimate' means key pair.
614            * wptKeyEditDlgs.cpp (diff_time): New.
615            (keyedit_addsubkey_dlg_proc): Changed design and use
616            diff_time. Drop checks for invalid keylength (< 1024, > 4096)
617            because the combo box automatically handles this.
618            * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
619            * wptGPG.cpp (get_backup_name): New.
620            (gnupg_backup_keyrings): Rotate backup names, from 0..3.
621            * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
622            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
623            not the long keyid.
624    
625    2005-08-05  Timo Schulz  <[email protected]>
626    
627            * wptListView.cpp (listview_set_item2): New.
628            * wptKeyManager.cpp (km_check_if_protected): Directly
629            retrieve gpgme_key_t from the list.
630            (km_check_key_status): Likewise.        
631            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use
632            a human-readable name for secret key export.
633            Reload just the keys which were affected by updates
634            (edit-key).
635            (update_key): New.
636            * wptKeyList.cpp ((keylist_upd_key): Stripped down
637            version of keylist_add_key.
638            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not
639            reload the keycache here, just flag 'update'. Give the
640            control to the calling dialog.
641            * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t
642            as parameter. Changed all callers.
643            Add date of expiration to the key info.
644            (get_expire_date): New.
645            Use a checkbox to allow to ask for the cert level.
646            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload
647            the cache.
648    
649    2005-08-04  Timo Schulz  <[email protected]>
650    
651            * wptListView.cpp (listview_scroll): New.
652            (listview_get_item2): New.
653            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the
654            item was found, make it visible with scrolling.
655            * wptKeyManager.cpp (km_find_key): New.
656            (keylist_subclass_proc): Support to handle some acceleators.
657            Strg+{C, P, F, A}.
658            (km_get_key_status): Get the gpgme_key_t object directly
659            from the list.
660            * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set
661            the config file (if it exists).
662            * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code
663            to handle the click->activate situation.
664            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
665            Support to check the passphrase quality.
666            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
667            (request_passphrase): Rename 'init' to 'flags' to allow more
668            options.
669            * wptMAPI.cpp: Check all *alloc results.
670            * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary
671            passphrase quality check.
672            * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file
673            format and allow to save the checksum in a file.
674            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning
675            when the PGP mode is disabled.
676            wptKeyEditDlgs.cpp (do_editkey_primary): Return if just
677            one user-ID exists.
678            (keyedit_dlg_proc): Fixed index problem.
679            * wptKeyPropsDlg.cpp (get_validity): New.
680            (keyprops_dlg_proc): Actually show extended validity if possible.
681            * wptKeyList.cpp (get_key_fpr): Support for old v3 format.
682            (do_addkey): Use listview_add_item2 to store key as opaque
683            param inside the list.
684            * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.
685            (file_stat_dlg_proc): End dialog if no PGP data was found.
686            (do_list_packets): Return the number of valid PGP packets
687            of the file.
688    
689    2005-08-02  Timo Schulz  <[email protected]>
690    
691            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of
692            using 'Default Keyserver' add the real keyserver name to
693            the menu.
694            The rebuild command does not reload the cache any longer.
695            Use ATTR_NAME + .asc as the filename and not keyid + .asc.
696            * wptProxySettingsDlg.cpp (enable_proxy_auth): New.
697            (keyserver_proxy_dlg_proc): Changed the design a little
698            and add some additional sanity checks.
699            * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.
700            This fixes the problem that the GPG option dialog does not show
701            very nice lines.
702            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.
703            * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected
704            check for 'NOKEY' before asking a keyserver.
705            * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.
706            If a lot of keys were selected, ask if the user wants to confirm
707            each delete procedure or allow to cancel the operation.
708            * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much
709            keys the file contain.
710            * wptKeyList.cpp (get_key_algo): Beautified.
711            (get_key_status): Drop the "[XYZ] Unknown" format, it is too
712            confusing for users.
713            * wptKeyManager.cpp (km_check_key_status): Adjustments for the
714            new code.
715            (km_check_for_seckey): Reset utrust parameter. Return -1 for
716            invalid (exp+rev+dis) keys.
717    
718    2005-08-01  Timo Schulz  <[email protected]>
719    
720            * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given
721            sizes.
722            (check_IP_or_hostname): New.
723            (kserver_load_conf): Correct finger URL parsing problem.
724            (port_from_proto): New.
725            (keyserver_load_conf): Guess the port.
726            (keyserver_set_default): Allocate new buffer.
727            (kserver_load_conf): Likewise.
728            * wptHTTP.c (parse_reqline, parse_request): Removed.
729            Use WinPT error code and remove all unused code.
730            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.
731            * wptProxySettingsDlg.cpp (read_proxy): Simple check for
732            invalid host/IP addresses.
733            * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.
734            Changed all callers.
735            * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,
736            automatically set 'backup to homedir'.
737            * WinPT.cpp (WinMain): Use desktop window as the parent window
738            to load 'first-start' dialogs.
739            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'
740            flag after deleting keys.
741            * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure
742            for passing the arguments.
743            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for
744            the OptFile. This was responsible for a lot of 'General Errors'
745            after the first start related to key caching.
746            Automatically set the gpg binary if possible.
747    
748    2005-07-22  Timo Schulz  <[email protected]>
749    
750            * wptMainProc.cpp (winpt_main_proc): Take care for shutdown
751            messages and make sure WinPT make a keyring backup in this case.
752            * wptGPGME.cpp (keycache_reload): Do not rebuild the signature
753            cache each time. Just do it on startup.
754            * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.
755            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag
756            was set by the calling function.
757            * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.
758            (keygen_dlg_proc): Only add the generated key to the keycache
759            and do not reload the entire cache.
760            * wptKeyManager.cpp (km_delete_keys): Store the number of keys
761            because in each loop iteration it will be new calculated.
762            * wptListView.cpp (listview_del_items): Likewise.
763            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the
764            generated key to the list instead of reloading the entire cache.
765            * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.
766    
767  2005-05-09  Timo Schulz  <[email protected]>  2005-05-09  Timo Schulz  <[email protected]>
768    
769          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..
# Line 363  Line 806 
806          (kserver_sendkey): Likewise.          (kserver_sendkey): Likewise.
807          * wptProxySettingsDlg.cpp (check_number): New.          * wptProxySettingsDlg.cpp (check_number): New.
808          (read_proxy): Check the entered port number.          (read_proxy): Check the entered port number.
809          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.
810          * wptW32API.cpp (get_folder_dlg): Free memory.          * wptW32API.cpp (get_folder_dlg): Free memory.
811    
812  2005-04-11  Timo Schulz  <[email protected]>  2005-04-11  Timo Schulz  <[email protected]>
# Line 708  Line 1151 
1151    
1152          * WinPT.cpp (load_keyserver_conf): New. Factored out some code          * WinPT.cpp (load_keyserver_conf): New. Factored out some code
1153          from WinMain ().          from WinMain ().
1154          (WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner          (WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner
1155          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver
1156          in the list control, add at least the internal default HKP server.          in the list control, add at least the internal default HKP server.
1157          * 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.130

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26