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

Diff of /trunk/Src/ChangeLog

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

revision 32 by twoaday, Mon Oct 24 08:03:48 2005 UTC revision 137 by twoaday, Mon Jan 9 14:01:51 2006 UTC
# Line 1  Line 1 
1  2005-10-23  Timo Schulz  <[email protected]>  2006-01-09  Timo Schulz  <[email protected]>
2    
3          * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.            * WinPT.cpp (load_gettext): Remove file locking.
4          * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.          (WinMain): Use pre-defined autoconf constants.
5          (get_ext_validity): New.          * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
6          * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.          * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
7          * wptClipEditDlg.cpp (load_clipboard): Factored out some code into          Change all callers.
8          this function.          
9          (load_clipboard_from_file): Likewise.  2006-01-07  Timo Schulz  <[email protected]>
10          (save_clipboard_to_file): New.  
11          * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.          * wptKeyManager.cpp (km_refresh_from_keyserver): Summarize
12            import status if just one key was selected.
13  2005-10-22  Timo Schulz  <[email protected]>  
14    2006-01-04  Timo Schulz  <[email protected]>
15          Localized a lot of more strings.  
16            * wptGPGMEWrapper.c (setChangeVersion): New.
17          * wptMainProc.cpp (load_smartcard): New.          (exportToBuffer, exportToFile, exportToClipboard): New.
18          * wptFileManager.cpp (fm_parse_command_line): Simplify code.          (setArmor, getArmor): New.
19          (fm_check_armor_type): Add new arg. Change all callers.          * wptKeylist.cpp (get_key_expire_date): Return locale specific
20          (fm_get_file_type): Likewise.          date.
21          * wptKeyPropsDlg.cpp (display_key_info): New.            (keylist_get_recipients): Do not fetch the key again.
22          (keyprops_show_photo): Factored out some code into..          (keylist_enum_recipients): Likewise.
23          (keyprops_load_photo): ..this function.          * wptGPG.cpp (create_empty_keyring): New.
24            (get_gnupg_keyring): Fixed 'strict' logic.
25  2005-10-21  Timo Schulz  <[email protected]>          * wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons
26            when no secret keys are available.
27          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use          * wptKeyManager.cpp (km_send_to_mail_recipient): Release key data
28          WM_INITPOPUPMENU to localize popup menu texts.          before the MAPI call is made.
29          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.          * WinPT.cpp (check_for_empty_keyrings): New.
30          * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.            
31    2006-01-03  Timo Schulz  <[email protected]>
32  2005-10-20  Timo Schulz  <[email protected]>  
33            * pubkey.ico, keypair.ico: New.
34          Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.          * wptListview.cpp (listview_add_item_image): New.
35            (listview_set_image_list): New.
36          * wptPassphraseCB.cpp (passphrase_cb): Complete card support.          * wptSigList.cpp (siglist_add_key): Correct order of the sigs.
37          * wptCardEdit.cpp (genKey): Handle cancel case.          * wptKeyProps.cpp (keyprops_load_photo): Adjusted for new
38          * keycache.c: Renamed into...          JPEG data.
39          * wptKeyCache.cpp: ...this.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to
40          * wptW32API.cpp (set_menu_text): Removed unused code.          add items to revoked keys.
41          (set_menu_text_bypos): New.          * wptKeyManager.cpp (km_delete_keys): Do not use uninitialized
42          * wptCrypto.h: New.          keyid buffer. This fixes a segv.
43          * wptMainProc.cpp (winpt_main_proc): Complete localize          * wptKeyserver.cpp (spawn_application): New.
44          menu texts.          (ldap_recv_key): Support recent protocols and several cleanups.
45          * wptErrors.cpp (log_debug): Use a static var so the file          * wptKeylist.cpp (do_addkey): Set image which depends on the
46          is only opened once.          key type.
47          (debug_end): Cleanup. Currently just close the log file.          (keylist_enum_recipients): Cleanups.
48          * wptErrors.h (wipememory): New.          (keylist_get_keyflags): Rewritten.
49          (sfree_if_alloc): Use it here.          * wptKeyCache.cpp (free_attr_list): New.
50          * WinPT.cpp (WinMain): Display the min. GPGME version which          (parse_attr_list): New.
51          is needed in case of an error.          (parse_attr_data): New.
52            (keycache_update_photo): New.
53  2005-10-17  Timo Schulz  <[email protected]>          (keycache_update_photos): New.
54            (gpg_keycache_update_key): Automatically reload photos if needed.
55          Free all memory returned by the GPGME dll with gpgme_free ().          * wptGPGUtil.cpp (create_process): New param @err. Change all
56            callers.
57          s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.          (map_tmpfile): New param @nread. Change all callers.
58            (gpg_get_photoid_data): New.
59          * wptKeyEdit.cpp (getCardStatus): Remove dummy key.          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to
60          (list_handler): With user interaction to allow to insert          add items to revoked keys.
61          the card into the reader.          (subkey_init_list): Store gpgme key object.
62          * wptKeyEditCB.cpp (gpg_edit_card): Likewise.          
63          (common_card_handler): Fixed incorrect command string.  2005-12-29  Timo Schulz  <[email protected]>
64          * wptKeyPropsDlg.cpp (get_card_type): New.  
65          (keyprops_dlg_proc): Show card information if present.          * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
66          * wptFileManager.cpp (secret_key_available): Make the code faster.          (gpg_genkey_params): Simplified.
67                    * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
68            exclusion of the dialog items.
69  2005-10-16  Timo Schulz  <[email protected]>          * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
70            quit the dialog.
71          * wptPassphraseCB.cpp (passphrase_cb): Fix problem          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
72          with hanging GPG process on cancel.          * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
73          * keycache.c (gpg_keycache_release): Release all objects.          (id2algo): New.
74    
75  2005-10-15  Timo Schulz  <[email protected]>  2005-12-28  Timo Schulz  <[email protected]>
76    
77          * wptCardEdit.cpp (setResult, getResult): New.          * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
78          (reset): New.          * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
79          (getCardStatus): Check return codes and release all objects          * wptKeylist.cpp (keylist_udp_key): Likewise.
80          in case of errors.          * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
81          * wptCardEditCB.cpp (change_pin_handler): Call reset()          * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
82          before quit.          when no signing key was found.
83          (editcard_handler): Likewise.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
84          (common_card_handler): New.          user IDs.
85          * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask          (translate_popup_strings): s/Revoke/Revoke Cert.
86          the old PIN when 'Hide Typing' is disabled.          * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
87          * wptPassphraseCB.cpp (passphrase_cb): The card detection          0x prefixed keyid.
88          works again. Support to re-enter passphrase.          * wptKeyEditCB.cpp (editkey_command_handler): Also reset
89            step in case of a bad passphrase.
90  2005-10-14  Timo Schulz  <[email protected]>          
91    2005-12-27  Timo Schulz  <[email protected]>
92          * wptCardDlg.cpp (card_status): New fields for the  
93          fingerprint creation time. Display card info as title.          * wptListView.cpp (listview_set_view): New.
94          (get_printable_version): New.          (listview_del_column): New.
95          * wptCardEditCB.cpp (editcard_handler): Fix problem          * wptW32API.cpp (get_locale_date): New.
96          with the counter comparison.          (get_menu_state): New.
97            (force_foreground_window): New.
98  2005-10-11  Timo Schulz  <[email protected]>          * wptVerifyList.cpp (strtimestamp): Support for
99            locale date formats.
100          Port to GPGME basically finished.          * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
101            passphrases.
102  2005-09-20  Timo Schulz  <[email protected]>          * wptKeyEditCB.cpp (editkey_command_handler): Immediately
103            return when a bad passphrase was submitted.
104          * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):          * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
105          Do not use gpgme_recipients_t but the listview directly          column order.
106          to add the selected files.          * wptKeylist.cpp (keylist_upd_col): New.
107            * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
108  2005-09-07  Timo Schulz  <[email protected]>          'Revocation' for public keys.
109            (translate_menu_strings): s/Revoke/Revoke Cert.
110          * Make sure all GetOpenFileName filters are terminated by \0\0.          (modify_listview_columns): New.
111            
112  2005-09-01  Timo Schulz  <[email protected]>  2005-12-18  Timo Schulz  <[email protected]>
113    
114          * wptW32API.cpp (center_window): New argument for parent window.          * wptKeyManagerDlg.cpp (save_column_size): New.
115          Change all callers.          (restore_column_size): New.
116          (center_window2): Likewise.          (keymanager_dlg_proc): Save and restore column sizes for
117          * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.          the listview control.
118          * wptGPG.cpp (gnupg_backup_options): Remove param. One backup          * wptKeyManager.cpp (key_get_info): New.
119          file is enough. Changed all callers.          (km_delete_keys): Use it here to have a consistent message.
120            Use stored key context and not the column data.
121  2005-08-15  Timo Schulz  <[email protected]>          (km_enable_disable_key): Likewise.
122            (km_send_to_keyserver): Likewise.
123          * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.          (km_set_implicit_trust): Likewise.
124          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.          * wptKeylist.cpp (get_key_pubalgo2): New.
125          * Make sure the passphrase is always overwritten before it is          
126          freed (or the function returns).  2005-12-17  Timo Schulz  <[email protected]>
127          * wptKeyPropDlg.cpp (get_pref_cipher): New.  
128          (keyprops_dlg_proc): Use it here.          * wptUTF8.cpp: Removed unused charset array.
129            * wptSigList.cpp (siglist_build): Increase size for 'class'
130  2005-08-06  Timo Schulz  <[email protected]>          column.
131            * wptGPG.cpp (get_gnupg_path): Simplified.
132          * wptGPGME.cpp (keycache_update): Reload OpenPGP parts          * WinPT.cpp (load_gpg_env): New.
133          of the secret key.          (check_crypto_engine): Return type is now bool.
134          (keycache_init): cache name of secret keyring.          * wptRegistry.cpp (is_gpg4win_installed): New.
135          * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent
136          (get_key_type): Do not assume 'ultimate' means key pair.          dialog design.
137          * wptKeyEditDlgs.cpp (diff_time): New.          * wptKeyManagerDlg.cpp (translate_menu_strings): New.
138          (keyedit_addsubkey_dlg_proc): Changed design and use          (translate_popupmenu_strings): New.
139          diff_time. Drop checks for invalid keylength (< 1024, > 4096)          * wptKeyEditDlgs.cpp (is_jpg_file): New.
140          because the combo box automatically handles this.          
141          * wptKeyManager.cpp (km_set_implicit_trust): Return error code.  2005-12-13  Timo Schulz  <[email protected]>
142          * wptGPG.cpp (get_backup_name): New.  
143          (gnupg_backup_keyrings): Rotate backup names, from 0..3.          * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
144          * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.          * wptKeyManagerDlg.cpp (change_edit_menu): New.
145          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and          (change_key_menu): Renamed from...
146          not the long keyid.          (menu_gpg_readonly): ..this.
147            (clip_contains_pgpkey): New.
148  2005-08-05  Timo Schulz  <[email protected]>          (update_ui_items): Do not allow to sign expired keys.
149            (keymanager_dlg_proc): Same for popup menu.
150          * wptListView.cpp (listview_set_item2): New.          * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
151          * wptKeyManager.cpp (km_check_if_protected): Directly          * wptKeyCache.cpp (copy_uid_prefs):
152          retrieve gpgme_key_t from the list.          (gpg_keycache_sync): Copy uid prefs so the key property
153          (km_check_key_status): Likewise.                  dialog show the correct values. Thanks to Shane.
154          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use          
155          a human-readable name for secret key export.  2005-12-11  Timo Schulz  <[email protected]>
156          Reload just the keys which were affected by updates  
157          (edit-key).          * wptW32API.cpp (get_file_version): New.
158          (update_key): New.          * wptGPGUtil.cpp (create_process): Always hide window.
159          * wptKeyList.cpp ((keylist_upd_key): Stripped down          * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
160          version of keylist_add_key.          instead of 'Exit'.
161          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not          * wptKeyManager.cpp (km_http_import): New filename
162          reload the keycache here, just flag 'update'. Give the          generation code.
163          control to the calling dialog.          (km_send_to_mail_recipient): Cleanups.
164          * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t          * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
165          as parameter. Changed all callers.          * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
166          Add date of expiration to the key info.          when multiple keys are selected.
167          (get_expire_date): New.          (popup_multiple): New.
168          Use a checkbox to allow to ask for the cert level.          * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
169          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload          file versions are equal. Rewrote --keymanager code.
170          the cache.          
171    2005-12-08  Timo Schulz  <[email protected]>
172  2005-08-04  Timo Schulz  <[email protected]>  
173            * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
174          * wptListView.cpp (listview_scroll): New.          (hkp_recv_key2): Show user-id of the imported key instead
175          (listview_get_item2): New.          of just the pattern.
176          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the          * wptFileCBS.cpp (read_cb): Changed to W32 API.
177          item was found, make it visible with scrolling.          (write_cb): Likewise. Create output file on demand.
178          * wptKeyManager.cpp (km_find_key): New.          (gpg_file_data_new): Adjusted code for new API.
179          (keylist_subclass_proc): Support to handle some acceleators.          * wptKeyEdit.cpp (cleanKey): New.
180          Strg+{C, P, F, A}.          * wptKeyEditCB.cpp (cmd_clean_handler): New.
181          (km_get_key_status): Get the gpgme_key_t object directly          (editkey_command_handler): Call clean handler.
182          from the list.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
183          * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set          keylist after inserting items.
184          the config file (if it exists).          * wptFileManager.cpp (fm_set_status): Take care of
185          * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code          cleartext sigs.
186          to handle the click->activate situation.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
187          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.          sure can be closed.
188          Support to check the passphrase quality.          
189          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.  2005-12-07  Timo Schulz  <[email protected]>
190          (request_passphrase): Rename 'init' to 'flags' to allow more  
191          options.          * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
192          * wptMAPI.cpp: Check all *alloc results.          Use 'Close' instead of 'Exit'.
193          * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary          * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
194          passphrase quality check.          * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
195          * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file          as the destination dir. Thanks to Werner.
196          format and allow to save the checksum in a file.          * wptRegistry.cpp (is_gpgee_installed): New.
197          * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning          (regist_inst_winpt): Do not register file extensions
198          when the PGP mode is disabled.          if GPGee is available.
199          wptKeyEditDlgs.cpp (do_editkey_primary): Return if just          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
200          one user-ID exists.          use of local vars.
201          (keyedit_dlg_proc): Fixed index problem.          * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
202          * wptKeyPropsDlg.cpp (get_validity): New.          no illegal backup mode is saved.
203          (keyprops_dlg_proc): Actually show extended validity if possible.          * wptKeyserverDlg.cpp (show_imported_key): New.
204          * wptKeyList.cpp (get_key_fpr): Support for old v3 format.          (hkp_recv_key2): Show imported keys if the blob
205          (do_addkey): Use listview_add_item2 to store key as opaque          contained more than one.
206          param inside the list.          
207          * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.  2005-12-06  Timo Schulz  <[email protected]>
208          (file_stat_dlg_proc): End dialog if no PGP data was found.  
209          (do_list_packets): Return the number of valid PGP packets          * WinPT.cpp (WinMain): Load the gettext environment soon
210          of the file.          as possible so all 'first start' messages are localized.
211            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
212  2005-08-02  Timo Schulz  <[email protected]>          received via the keyserver, return the gpgme key context on
213            success and add it directly to the list.
214          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
215          using 'Default Keyserver' add the real keyserver name to          to store the key.
216          the menu.          (hkp_recv_key2): Add extra param for the fingerprint.
217          The rebuild command does not reload the cache any longer.          (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
218          Use ATTR_NAME + .asc as the filename and not keyid + .asc.          
219          * wptProxySettingsDlg.cpp (enable_proxy_auth): New.  2005-12-02  Werner Koch  <[email protected]>
220          (keyserver_proxy_dlg_proc): Changed the design a little  
221          and add some additional sanity checks.          * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
222          * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.  
223          This fixes the problem that the GPG option dialog does not show  2005-12-01  Timo Schulz  <[email protected]>
224          very nice lines.  
225          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.          * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
226          * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected          for get_gpg_sigstat().
227          check for 'NOKEY' before asking a keyserver.          * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
228          * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.          As a macro strings will not be translated at runtime.
229          If a lot of keys were selected, ask if the user wants to confirm          * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
230          each delete procedure or allow to cancel the operation.          need to update the cache. Thanks to Jan-Oliver.
231          * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much          * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
232          keys the file contain.          
233          * wptKeyList.cpp (get_key_algo): Beautified.  2005-11-30  Timo Schulz  <[email protected]>
234          (get_key_status): Drop the "[XYZ] Unknown" format, it is too  
235          confusing for users.          * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
236          * wptKeyManager.cpp (km_check_key_status): Adjustments for the          * WinPT-en.rc: Removed string list.
237          new code.          * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
238          (km_check_for_seckey): Reset utrust parameter. Return -1 for          * wptKeylist.cpp (keylist_build): Cannot use global
239          invalid (exp+rev+dis) keys.          arrays for the columns due to gettext.
240            
241  2005-08-01  Timo Schulz  <[email protected]>  2005-11-29  Timo Schulz  <[email protected]>
242    
243          * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given          * WinPT.cpp (WinMain): Modify --keymanager. If an instance
244          sizes.          is running, just send the command to open the manager.
245          (check_IP_or_hostname): New.          
246          (kserver_load_conf): Correct finger URL parsing problem.  2005-11-25  Timo Schulz  <[email protected]>
247          (port_from_proto): New.  
248          (keyserver_load_conf): Guess the port.          * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
249          (keyserver_set_default): Allocate new buffer.          process when the revoker is already there.
250          (kserver_load_conf): Likewise.          
251          * wptHTTP.c (parse_reqline, parse_request): Removed.  2005-11-24  Timo Schulz  <[email protected]>
252          Use WinPT error code and remove all unused code.  
253          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.          * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
254          * wptProxySettingsDlg.cpp (read_proxy): Simple check for          signing dialog items.
255          invalid host/IP addresses.          * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
256          * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.          * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
257          Changed all callers.          * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
258          * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,          * wptKeylist.cpp (key_check_validity): Likewise.
259          automatically set 'backup to homedir'.          * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
260          * WinPT.cpp (WinMain): Use desktop window as the parent window          
261          to load 'first-start' dialogs.  2005-11-22  Timo Schulz  <[email protected]>
262          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'  
263          flag after deleting keys.          * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
264          * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure          macro debug output will be generated in release version.
265          for passing the arguments.          
266          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for  2005-11-21  Timo Schulz  <[email protected]>
267          the OptFile. This was responsible for a lot of 'General Errors'  
268          after the first start related to key caching.          * WinPT.cpp (WinMain): Implement --stop switch.
269          Automatically set the gpg binary if possible.          * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
270            missing string.
271  2005-07-22  Timo Schulz  <[email protected]>          * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
272            * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
273          * wptMainProc.cpp (winpt_main_proc): Take care for shutdown          first. Thanks to Ralf.
274          messages and make sure WinPT make a keyring backup in this case.          * wptFileManagerDlg.cpp (update_ui_items): New.
275          * wptGPGME.cpp (keycache_reload): Do not rebuild the signature          * wptFileManager.cpp (fm_set_status): New sigmode param.
276          cache each time. Just do it on startup.          Changed all callers.
277          * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.          
278          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag  2005-11-17  Timo Schulz  <[email protected]>
279          was set by the calling function.  
280          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.          * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
281          (keygen_dlg_proc): Only add the generated key to the keycache          the cache will be loaded twice.
282          and do not reload the entire cache.          * wptRegistry.cpp (regist_inst_winpt): More comments.
283          * wptKeyManager.cpp (km_delete_keys): Store the number of keys          * wptKeyManagerDlg.cpp (do_center_window): Make sure that
284          because in each loop iteration it will be new calculated.          neg. coordinates are never used.
285          * wptListView.cpp (listview_del_items): Likewise.          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
286          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the          strings.
287          generated key to the list instead of reloading the entire cache.          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
288          * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.          * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
289            and save 'AlwaysOnTop' in the registry.
290            
291    2005-11-16  Timo Schulz  <[email protected]>
292    
293            * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
294            * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
295            mode.
296            * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
297            * wptRegistry.cpp (regist_inst_winpt): Set install directory.
298            Useful for other programs to figure out the path to the EXE.
299            
300    2005-11-14  Timo Schulz  <[email protected]>
301    
302            * wptGPG.cpp (check_gnupg_engine): Fix version check.
303            * wptMainProc.cpp (winpt_main_proc): Check keyring
304            file permissions always and do not use interative output
305            when the windows session ends.
306            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
307            Localize all strings.
308            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
309            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
310            * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
311            non-valid keys.
312            
313    2005-11-12  Timo Schulz  <[email protected]>
314    
315            Fix more GCC warnings.
316    
317    2005-11-10  Timo Schulz  <[email protected]>
318    
319            * wptClipSignDlg.cpp (one_key_proc): Use
320            release_gpg_passphrase_cb() to free the context.
321            * wptListView.cpp (listview_deselect_all): New.
322            * 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 329  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 674  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.32  
changed lines
  Added in v.137

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26