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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.22  
changed lines
  Added in v.160

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26