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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.27  
changed lines
  Added in v.161

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26