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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26