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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26