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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.30  
changed lines
  Added in v.164

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26