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

Diff of /trunk/Src/ChangeLog

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

revision 36 by werner, Thu Oct 27 15:25:13 2005 UTC revision 177 by twoaday, Tue Feb 14 15:46:29 2006 UTC
# Line 1  Line 1 
1  2005-10-27  Werner Koch  <[email protected]>  2006-02-14  Timo Schulz  <[email protected]>
2    
3          * KeyManagerExe.cpp: Moved from ..          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'.
4            * wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'.
5            * wptFileManager.cpp (fm_sym_encrypt): Set cancel.
6            (fm_parse_files): Handle cancel.
7            
8    2006-02-10  Timo Schulz  <[email protected]>
9    
10            * wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars.
11            * wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t
12            for the dialog param.
13            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list
14            signature dialog by default.
15            * wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly
16            gpgme_key_sig_t as param.
17            (keysig_dlg_proc): Change param for property dialog.
18            * wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids
19            and use icons.
20            (sigtree_dlg_proc): Allow to execute old list dialog to
21            edit the signatures.
22            
23    2006-02-09  Timo Schulz  <[email protected]>
24    
25            * wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode.
26            * wptNLS.c (gettext_localize_dialog): New.
27            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button
28            to avoid to reload the key cache.
29            * wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal'
30            list mode.
31            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
32            * wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog
33            initiation code to this function.
34            (prefs_dlg_proc): Use it here.
35            
36    2006-02-07  Timo Schulz  <[email protected]>
37    
38            * wptKeyEdit.cpp (setNoPassphrase): New.
39            (getValidDays): New.
40            * wptKeysignDlg.cpp (keysign_dlg_proc): Check on init
41            if the key is protected.
42            * wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle
43            keys without a passphrase.
44            (keyedit_addrevoker_dlg_proc): Likewise.
45            
46    2006-02-04  Timo Schulz  <[email protected]>
47    
48            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for
49            at least one ultimately trusted key.
50            * wptKeyManager.cpp (km_refresh_key_from_keyserver):
51            Only check inet connection if we refresh all keys.
52            * wptGPGUtil.cpp (gpg_extract_keys): New.
53            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode.
54            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
55            * wptClipSignDlg.cpp (get_selected_key): New.
56            (one_key_proc): Use it here.
57            (count_useable_seckeys): New.
58            * wptSigTreeDlg.cpp (sigtree_dlg_proc): New.
59            * wptKeyEditDlgs.cpp (diff_time): Removed.
60            (w32_mktime): New.
61            (keyedit_addsubkey_dlg_proc): Use it here.
62            
63    2006-02-02  Timo Schulz  <[email protected]>
64    
65            * wptW32API.cpp (get_temp_name): New.
66            * wptKeyserver.cpp (ldap_recvkey): Use it here.
67            * wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise.
68            * wptGPGUtil.cpp (create_tempfile): Likewise.
69            * wptImportList.cpp (implist_load): Likewise.
70            * wptKeyCache.cpp (parse_attr_data): Likewise.
71            (w32_tempfile): Removed.
72            * wptGPGME.cpp (check_ultimate_trusted_key): New.
73            
74    2006-01-31  Timo Schulz  <[email protected]>
75    
76            * wptMainProc.cpp (winpt_main_proc): Fix usage of the
77            help system.
78            * wptListView.cpp (listview_set_chkbox_style): New.
79            (listview_get_item_state): Support new checkbox style.
80            (listview_new): Reset flag var.
81            * wptKeylist.cpp (keylist_build): Support new checkbox style.
82            
83    2006-01-30  Timo Schulz  <[email protected]>
84    
85            * WinPT.cpp (check_readonly_attr): New.
86            (load_gpg_env): Use it here.
87            (WinPT): Make the the default key is searched in the
88            secret key cache.
89            Change error message.
90            * wptRegistry.cpp (regist_int_winpt): Make sure
91            the register extension is only offered once to the user.
92            * wptKeyPropsDlg.cpp (get_photo_tmpname): Always use
93            temp directory. Fixed a privilege problem.
94            
95    2006-01-29  Timo Schulz  <[email protected]>
96    
97            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC
98            to quit dialog.
99            * wptKeysignDlg.cpp (sig_class_dlg_proc): More space for
100            translations. Directly return sig class.
101            (keysign_dlg_proc): Change msgbox title.
102            * wptKeyEdit.cpp (signUserid): New.
103            (getUseridIndex): New.
104            (getKeyIndex): New.
105            (getSigIndex): New.
106            (clear): New.
107            * wptKeyEditCB.cpp (cmd_sign_handler): Allow to select
108            user-id first.
109            * wptKeyEditDlgs.cpp (lookup_cmd): New.
110            (do_editkey_sign_userid): New.
111            (do_init_cmdlist): Differ between key pairs and public keys
112            and allowed actions.
113            (keyedit_change_ownertrust): Show msgbox on success.
114            (get_default_key): New.
115            * wptPassphraseDlg.cpp (request_passphrase): Reset @cancel.
116            
117    2006-01-27  Timo Schulz  <[email protected]>
118    
119            * WinPT.cpp (WinMain): Set minimal list mode as default.
120            * wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys.
121            
122    2006-01-25  Timo Schulz  <[email protected]>
123    
124            * wptRegistry.cpp (get_reg_entry_gpg): Return NULL if
125            the key exist with no value.
126            * wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string.
127            * wptKeysignDlg.cpp (do_fill_seclist): Select the
128            default key if possible.
129            * wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly
130            return the choice.
131            * wptKeylist.cpp (get_key_desc): New.
132            (keylist_upd_key): Free memory.
133            * wptKeyCache.cpp (gpg_keycache_get_default_key): New.
134            (gpg_keycache_set_default_key): New.
135            * WinPT.cpp (gpg_prefs_ok): New.
136            (WinMain): Only start gpg prefs if needed.
137            
138    2006-01-24  Timo Schulz  <[email protected]>
139    
140            * wptKeyManager.cpp (km_dropped_file_import): New.
141            * wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow
142            to drop files and try to import them.
143            (keymanager_dlg_proc): Pass kmi as opaque to the subclass
144            proc.
145            
146    2006-01-23  Timo Schulz  <[email protected]>
147    
148            * wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output
149            to the clipboard.
150            * wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New.
151            (do_editkey_enable_disable): New.
152            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not
153            close the dialog if the user cancelled the ownertrust dialog.
154            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate
155            an update of any value.
156            
157    2006-01-21  Timo Schulz  <[email protected]>
158    
159            * wptKeyCache.cpp (keycache_next_key): Handle the case
160            that there is a secret key without a public part.
161            * wptKeyserver.cpp (kserver_save_conf): Save ports.
162            * wptKeyserverDlg.cpp (keyserver_modify_dlg_proc):
163            Reset keyserver name.
164            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate
165            an update, do not update the cache.
166            * wptFileManagerDlg.cpp (file_import_dlg_proc): Use one
167            dialog for both clipboard and file imports.
168            * wptKeyManager.cpp (km_file_import, km_clip_import):
169            Changes to support new update system.
170            (gpg_clip_import): New.
171            * wptKeyManagerDlg.cpp (km_gui_import): New.
172            (find_keypos): Rewritten.
173            (refresh_keylist): Improved error checking.
174            
175    2006-01-20  Timo Schulz  <[email protected]>
176    
177            * wptKeyCache.cpp (w32_tmpfile): New.
178            (parse_attr_data): Use it here.
179            * wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var.
180            
181    2006-01-19  Timo Schulz  <[email protected]>
182    
183            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not
184            reload the entire cache, just update the key.
185            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise.
186            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag.
187            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
188            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
189            if need after showing the properties.
190            * wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
191            * wptKeyManager.cpp (km_import_file): New param. Changed
192            all callers.
193            (km_import_clip): Likewise.
194            (delete_keys_from_cache): Delete secret part if available.
195            * wptClipImportDlg.cpp (print_import_status): If there
196            are too many new keys, use reload code.
197            
198    2006-01-18  Timo Schulz  <[email protected]>
199    
200            * wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume
201            the self sig is always index 0. Noted by Kurt.
202            * wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume
203            the key user-ID contains an email address.
204            * wptKeyEditDlgs.cpp (do_find_userid): Likewise.
205            (do_editkey_deluid): Likewise.
206            (do_editkey_revuid): Likewise.
207            
208    2006-01-18  Timo Schulz  <[email protected]>
209    
210            * wptListview.cpp (listview_del_sel_items): Fixed index
211            calculation. This fixed a lot of problems with the KM listview
212            update.
213            (listview_del_all): Renamed to...
214            (listview_del_all_items): ..this. Changed all callers.
215            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh
216            list when file import contained new/updated keys.
217            * wptKeyManager.cpp (km_file_import): Indicate if the
218            import contained any new/update keys.
219            * wptClipImportDlg.cpp (print_import_status): Just mark
220            keys which actually changed.
221            
222    2006-01-17  Timo Schulz  <[email protected]>
223    
224            * wptMAPI.cpp (mapi_send_pubkey_ext): New.
225            * wptKeysigDlg.cpp (do_delsig): Just flag the key, do not
226            update it.
227            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more
228            careful about const pointers.
229            * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to..
230            (get_subkey_keyid): ..this. Fix problem that key was updated
231            twice and this corrupted.
232            (keyedit_add_subkey): Set @lv item in the callback context.
233            
234    2006-01-16  Timo Schulz  <[email protected]>
235    
236            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore
237            window if it lost focus during the operation. Thanks to Kurt.
238            Update keylist when the window is enabled.
239            (find_keypos): New.
240            * wptKeyCache.cpp (keycache_next_key): Reset update status.
241            (gpg_keycache_next_updated_key): New arg @r_status. Change all
242            callers.
243            (gpg_keycache_update_key): Different status for new and updated.
244            Include key signatures.
245            * wptClipImportDlg.cpp (print_import_status): Mark all
246            imported keys.
247            * wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist.
248            Thanks to Kurt.
249            * wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys.
250            (do_delsig): Directly reload key. Thanks to Kurt.
251            * wptGPGME.cpp (keycache_set_reload, keycache_get_reload):
252            Removed.
253            * wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system.
254            * wptClipImportDlg.cpp (clip_import_dlg_proc): Return
255            FALSE if no keys were updated or operation was cancelled.
256            * wptCommonDlg.cpp (http_dlg_proc): Fix title selection code.
257            * wptKeylist.cpp (get_ext_validity): Handle disabled keys.
258            * wptKeyPropsDlg.cpp (keyprops_dlg_proc):
259            Do not allow to change ownertrust of invalid keys.
260            Changed translation.
261            Slightly different user interface.
262            
263    2006-11-14  Timo Schulz  <[email protected]>
264    
265            * wptW32API.cpp (make_special_filename): New.
266            * wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs):
267            Removed 'KeyServer' item.
268            * wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver
269            config item.
270            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group
271            window until we really use it.
272            * wptKeyserver.cpp (kserver_save_conf): New.
273            (wsock_end): Save keyserver config file.
274            * wptKeyserverDlg.cpp (keyserver_edit): New.
275            (keyserver_remove): New.
276            (keyserver_add): New.
277            (fill_keyserv_types): New.
278            (keyserver_modify_dlg_proc): New.
279            (keyserver_dlg_proc): Provide context menu to modify the
280            keyserver list.
281            (keyserver_build_list): Remove 'proto' column because it is
282            not really useful.
283            * WinPT.cpp (load_keyserver_conf): Store keyserver.conf at
284            $APPDATA\winpt. If keyserver.conf exists in the current folder
285            move it to the new destination.
286            
287    2006-11-13  Timo Schulz  <[email protected]>
288    
289            * wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation.
290            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise.
291            * wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about
292            dialog isn't shown twice.
293            * wptKeyCache.cpp (gpg_keycache_next_updated_key): New.
294            (gpg_keycache_update_key): Set update flag.
295            * wptKeyManagerDlg.cpp (refresh_keylist): New.
296            (keymanager_dlg_proc): Use new refresh system for keyservers.
297            * wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc):
298            Update keycache.
299            * wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise.
300            * wptKeyserver.cpp (socket_read_ext): New.
301            (kserver_recv_key_ext): New.
302            (kserver_read_config, kserver_write_config): Removed.
303            
304    2006-01-12  Timo Schulz  <[email protected]>
305    
306            * wptListView.cpp (listview_set_image_list): Make icons
307            always transparent.
308            * wptImageList.cpp (imagelist_load): New icons.
309            * wptGPGMEData.cpp (gpg_data_putc): New.
310            * wptKeyManagerDlg.cpp (load_toolbar): Include new icons.
311            (keymanager_dlg_proc): Add tooltips.
312            * wptKeyserverDlg.cpp (keyserver_list_build): Use icons.
313            * wptKeyserver.cpp (URL_encode): New.
314            (URL_must_encode): New.
315            (kserver_search_init): Properly encode pattern.
316            (parse_iso_date): New.
317            (keyserver_search): Be more strict to prevent buffer overflows.
318            
319    2006-01-11  Timo Schulz  <[email protected]>
320    
321            * wptKeyManagerDlg.cpp (load_toolbar): 2 new icons.
322            (keymanager_dlg_proc): Adjust tooltips.
323            (update_ui_items): Handle new icons.
324            * wptImageList.cpp (imagelist_load): New icons.
325            
326    2006-01-10  Timo Schulz  <[email protected]>
327    
328            * wptMainProc.cpp (winpt_main_proc): Restore iconic
329            File/Key Manager windows if needed.
330            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button.
331            * wptSiglist.cpp (init_cmp): New.
332            (siglist_sort): New.
333            (siglist_cmp_cb): New.
334            (siglist_add_key): Force NOKEY status when key was not found.
335            * wptKeysigDlg.cpp (recv_single_key): New.
336            (recv_missing_keys): Reload entire key when more than one key
337            was fetched.
338            (keysig_dlg_proc): Support sorting the listview items.
339            
340    2006-01-09  Timo Schulz  <[email protected]>
341    
342            * WinPT.cpp (load_gettext): Remove file locking.
343            (WinMain): Use pre-defined autoconf constants.
344            * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
345            * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
346            Change all callers.
347            
348    2006-01-07  Timo Schulz  <[email protected]>
349    
350            * wptKeyManager.cpp (km_refresh_from_keyserver): Summarize
351            import status if just one key was selected.
352    
353    2006-01-04  Timo Schulz  <[email protected]>
354    
355            * wptGPGMEWrapper.c (setChangeVersion): New.
356            (exportToBuffer, exportToFile, exportToClipboard): New.
357            (setArmor, getArmor): New.
358            * wptKeylist.cpp (get_key_expire_date): Return locale specific
359            date.
360            (keylist_get_recipients): Do not fetch the key again.
361            (keylist_enum_recipients): Likewise.
362            * wptGPG.cpp (create_empty_keyring): New.
363            (get_gnupg_keyring): Fixed 'strict' logic.
364            * wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons
365            when no secret keys are available.
366            * wptKeyManager.cpp (km_send_to_mail_recipient): Release key data
367            before the MAPI call is made.
368            * WinPT.cpp (check_for_empty_keyrings): New.
369            
370    2006-01-03  Timo Schulz  <[email protected]>
371    
372            * pubkey.ico, keypair.ico: New.
373            * wptListview.cpp (listview_add_item_image): New.
374            (listview_set_image_list): New.
375            * wptSigList.cpp (siglist_add_key): Correct order of the sigs.
376            * wptKeyProps.cpp (keyprops_load_photo): Adjusted for new
377            JPEG data.
378            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to
379            add items to revoked keys.
380            * wptKeyManager.cpp (km_delete_keys): Do not use uninitialized
381            keyid buffer. This fixes a segv.
382            * wptKeyserver.cpp (spawn_application): New.
383            (ldap_recv_key): Support recent protocols and several cleanups.
384            * wptKeylist.cpp (do_addkey): Set image which depends on the
385            key type.
386            (keylist_enum_recipients): Cleanups.
387            (keylist_get_keyflags): Rewritten.
388            * wptKeyCache.cpp (free_attr_list): New.
389            (parse_attr_list): New.
390            (parse_attr_data): New.
391            (keycache_update_photo): New.
392            (keycache_update_photos): New.
393            (gpg_keycache_update_key): Automatically reload photos if needed.
394            * wptGPGUtil.cpp (create_process): New param @err. Change all
395            callers.
396            (map_tmpfile): New param @nread. Change all callers.
397            (gpg_get_photoid_data): New.
398            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to
399            add items to revoked keys.
400            (subkey_init_list): Store gpgme key object.
401            
402    2005-12-29  Timo Schulz  <[email protected]>
403    
404            * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
405            (gpg_genkey_params): Simplified.
406            * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
407            exclusion of the dialog items.
408            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
409            quit the dialog.
410            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
411            * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
412            (id2algo): New.
413    
414    2005-12-28  Timo Schulz  <[email protected]>
415    
416            * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
417            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
418            * wptKeylist.cpp (keylist_udp_key): Likewise.
419            * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
420            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
421            when no signing key was found.
422            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
423            user IDs.
424            (translate_popup_strings): s/Revoke/Revoke Cert.
425            * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
426            0x prefixed keyid.
427            * wptKeyEditCB.cpp (editkey_command_handler): Also reset
428            step in case of a bad passphrase.
429            
430    2005-12-27  Timo Schulz  <[email protected]>
431    
432            * wptListView.cpp (listview_set_view): New.
433            (listview_del_column): New.
434            * wptW32API.cpp (get_locale_date): New.
435            (get_menu_state): New.
436            (force_foreground_window): New.
437            * wptVerifyList.cpp (strtimestamp): Support for
438            locale date formats.
439            * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
440            passphrases.
441            * wptKeyEditCB.cpp (editkey_command_handler): Immediately
442            return when a bad passphrase was submitted.
443            * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
444            column order.
445            * wptKeylist.cpp (keylist_upd_col): New.
446            * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
447            'Revocation' for public keys.
448            (translate_menu_strings): s/Revoke/Revoke Cert.
449            (modify_listview_columns): New.
450            
451    2005-12-18  Timo Schulz  <[email protected]>
452    
453            * wptKeyManagerDlg.cpp (save_column_size): New.
454            (restore_column_size): New.
455            (keymanager_dlg_proc): Save and restore column sizes for
456            the listview control.
457            * wptKeyManager.cpp (key_get_info): New.
458            (km_delete_keys): Use it here to have a consistent message.
459            Use stored key context and not the column data.
460            (km_enable_disable_key): Likewise.
461            (km_send_to_keyserver): Likewise.
462            (km_set_implicit_trust): Likewise.
463            * wptKeylist.cpp (get_key_pubalgo2): New.
464            
465    2005-12-17  Timo Schulz  <[email protected]>
466    
467            * wptUTF8.cpp: Removed unused charset array.
468            * wptSigList.cpp (siglist_build): Increase size for 'class'
469            column.
470            * wptGPG.cpp (get_gnupg_path): Simplified.
471            * WinPT.cpp (load_gpg_env): New.
472            (check_crypto_engine): Return type is now bool.
473            * wptRegistry.cpp (is_gpg4win_installed): New.
474            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent
475            dialog design.
476            * wptKeyManagerDlg.cpp (translate_menu_strings): New.
477            (translate_popupmenu_strings): New.
478            * wptKeyEditDlgs.cpp (is_jpg_file): New.
479            
480    2005-12-13  Timo Schulz  <[email protected]>
481    
482            * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
483            * wptKeyManagerDlg.cpp (change_edit_menu): New.
484            (change_key_menu): Renamed from...
485            (menu_gpg_readonly): ..this.
486            (clip_contains_pgpkey): New.
487            (update_ui_items): Do not allow to sign expired keys.
488            (keymanager_dlg_proc): Same for popup menu.
489            * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
490            * wptKeyCache.cpp (copy_uid_prefs):
491            (gpg_keycache_sync): Copy uid prefs so the key property
492            dialog show the correct values. Thanks to Shane.
493            
494    2005-12-11  Timo Schulz  <[email protected]>
495    
496            * wptW32API.cpp (get_file_version): New.
497            * wptGPGUtil.cpp (create_process): Always hide window.
498            * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
499            instead of 'Exit'.
500            * wptKeyManager.cpp (km_http_import): New filename
501            generation code.
502            (km_send_to_mail_recipient): Cleanups.
503            * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
504            * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
505            when multiple keys are selected.
506            (popup_multiple): New.
507            * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
508            file versions are equal. Rewrote --keymanager code.
509            
510    2005-12-08  Timo Schulz  <[email protected]>
511    
512          Include config.h in all cpp and c files          * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
513            (hkp_recv_key2): Show user-id of the imported key instead
514            of just the pattern.
515            * wptFileCBS.cpp (read_cb): Changed to W32 API.
516            (write_cb): Likewise. Create output file on demand.
517            (gpg_file_data_new): Adjusted code for new API.
518            * wptKeyEdit.cpp (cleanKey): New.
519            * wptKeyEditCB.cpp (cmd_clean_handler): New.
520            (editkey_command_handler): Call clean handler.
521            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
522            keylist after inserting items.
523            * wptFileManager.cpp (fm_set_status): Take care of
524            cleartext sigs.
525            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
526            sure can be closed.
527                    
528          * Makefile.am: New.  2005-12-07  Timo Schulz  <[email protected]>
529          * versioninfo.rc.in: New.  
530            * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
531            Use 'Close' instead of 'Exit'.
532            * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
533            * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
534            as the destination dir. Thanks to Werner.
535            * wptRegistry.cpp (is_gpgee_installed): New.
536            (regist_inst_winpt): Do not register file extensions
537            if GPGee is available.
538            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
539            use of local vars.
540            * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
541            no illegal backup mode is saved.
542            * wptKeyserverDlg.cpp (show_imported_key): New.
543            (hkp_recv_key2): Show imported keys if the blob
544            contained more than one.
545            
546    2005-12-06  Timo Schulz  <[email protected]>
547    
548            * WinPT.cpp (WinMain): Load the gettext environment soon
549            as possible so all 'first start' messages are localized.
550            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
551            received via the keyserver, return the gpgme key context on
552            success and add it directly to the list.
553            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
554            to store the key.
555            (hkp_recv_key2): Add extra param for the fingerprint.
556            (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
557            
558    2005-12-02  Werner Koch  <[email protected]>
559    
560            * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
561    
562    2005-12-01  Timo Schulz  <[email protected]>
563    
564            * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
565            for get_gpg_sigstat().
566            * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
567            As a macro strings will not be translated at runtime.
568            * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
569            need to update the cache. Thanks to Jan-Oliver.
570            * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
571            
572    2005-11-30  Timo Schulz  <[email protected]>
573    
574            * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
575            * WinPT-en.rc: Removed string list.
576            * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
577            * wptKeylist.cpp (keylist_build): Cannot use global
578            arrays for the columns due to gettext.
579            
580    2005-11-29  Timo Schulz  <[email protected]>
581    
582            * WinPT.cpp (WinMain): Modify --keymanager. If an instance
583            is running, just send the command to open the manager.
584            
585    2005-11-25  Timo Schulz  <[email protected]>
586    
587            * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
588            process when the revoker is already there.
589            
590    2005-11-24  Timo Schulz  <[email protected]>
591    
592            * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
593            signing dialog items.
594            * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
595            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
596            * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
597            * wptKeylist.cpp (key_check_validity): Likewise.
598            * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
599            
600    2005-11-22  Timo Schulz  <[email protected]>
601    
602            * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
603            macro debug output will be generated in release version.
604            
605    2005-11-21  Timo Schulz  <[email protected]>
606    
607            * WinPT.cpp (WinMain): Implement --stop switch.
608            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
609            missing string.
610            * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
611            * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
612            first. Thanks to Ralf.
613            * wptFileManagerDlg.cpp (update_ui_items): New.
614            * wptFileManager.cpp (fm_set_status): New sigmode param.
615            Changed all callers.
616            
617    2005-11-17  Timo Schulz  <[email protected]>
618    
619            * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
620            the cache will be loaded twice.
621            * wptRegistry.cpp (regist_inst_winpt): More comments.
622            * wptKeyManagerDlg.cpp (do_center_window): Make sure that
623            neg. coordinates are never used.
624            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
625            strings.
626            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
627            * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
628            and save 'AlwaysOnTop' in the registry.
629            
630    2005-11-16  Timo Schulz  <[email protected]>
631    
632            * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
633            * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
634            mode.
635            * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
636            * wptRegistry.cpp (regist_inst_winpt): Set install directory.
637            Useful for other programs to figure out the path to the EXE.
638            
639    2005-11-14  Timo Schulz  <[email protected]>
640    
641            * wptGPG.cpp (check_gnupg_engine): Fix version check.
642            * wptMainProc.cpp (winpt_main_proc): Check keyring
643            file permissions always and do not use interative output
644            when the windows session ends.
645            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
646            Localize all strings.
647            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
648            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
649            * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
650            non-valid keys.
651            
652    2005-11-12  Timo Schulz  <[email protected]>
653    
654            Fix more GCC warnings.
655    
656    2005-11-10  Timo Schulz  <[email protected]>
657    
658            * wptClipSignDlg.cpp (one_key_proc): Use
659            release_gpg_passphrase_cb() to free the context.
660            * wptListView.cpp (listview_deselect_all): New.
661            * wptMAPI.cpp (mapi_send_pubkey): Works again.
662            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
663            zip.    
664            * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
665            caching for signing operations.
666            * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
667            * wptFileManager.cpp (fm_send_file): Likewise.
668            (fm_encrypt_into_zip): New.      
669            
670    2005-11-09  Timo Schulz  <[email protected]>
671    
672            * wptNLS.c (get_gettext_langid): Map user language id to
673            printable gettext language strings.
674            * wptRegistry.cpp (get_reg_entry_mo): Support for the
675            gettext environment.
676            * wptFileManager.cpp (fm_encrypt): Close all files before
677            the wipe procedure is called.
678            * wptVerlist.cpp (verlist_add_sig): Handle the case the
679            issuer is not valid but the signature is.
680            (verlist_add_sig_log): Likewise. Thanks to the folks on
681            winpt-users.
682            
683    2005-11-08  Werner Koch  <[email protected]>
684    
685            * SAFE.ICO, SIGN.ICO: Fixed capitalization.
686            * WinPT-en.rc: Ditto.
687            * winpt_km.ico:  Moved from ../.
688    
689            * Makefile.am (resource_files): Add missing backslash.
690    
691    2005-11-08  Timo Schulz  <[email protected]>
692    
693            More minor changes to avoid GCC warnings.
694            
695            * wptGPG.cpp (check_homedir): Free memory in case of errors.
696            (multi_gnupg_path): Add strict mode. If non-strict mode return
697            the folder even if it does not exist.
698            (check_for_gpgwin): New.
699            * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
700            initialized.
701            * wptRegistry.cpp (get_reg_entry_gpg4win): New.
702            (get_reg_entry_mo): Support for gpg4win.
703            
704    2005-11-07  Timo Schulz  <[email protected]>
705    
706            * wptMainProc.cpp (winpt_main_proc): Disable
707            some menu items when no secret key is available.
708            
709    2005-11-05  Timo Schulz  <[email protected]>
710    
711            More minor changes to avoid GCC warnings.
712            
713            * wptErrors.cp (winpt_strerror): Return w32
714            formatted error and do not use 'break'.
715            
716    2005-11-04  Werner Koch  <[email protected]>
717    
718            * WinPT-en.rc: Fixed locations of icons.
719    
720    2005-11-03  Timo Schulz  <[email protected]>
721    
722            A lot of minor changes to avoid GCC warnings.
723    
724            * wptGPG.cpp (get_gnupg_keyring): Only check size for
725            public keyring.
726            * wptKeyManager.cpp (km_update_default_key_str): Do
727            not issue a bug message when no secret key was found.
728            * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
729            
730    2005-11-02  Werner Koch  <[email protected]>
731    
732            * WinPT.cpp (WinMain): Disabled PTD version tests.
733            (check_crypto_engine): Fixed version check for scard.
734    
735            * wptErrors.cpp (debug_end): Add dummy function.
736    
737            * Makefile.am (code_files): Added wptCardEditCB.cpp and
738            wptKeyEditCB.cpp.
739    
740    2005-10-31  Werner Koch  <[email protected]>
741    
742            * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
743            functions.
744    
745            * wptKeyEditDlgs.cpp: Include oleauto.h
746            * wptKeyEdit.cpp: Include time.h.
747            * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
748            * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
749    
750            * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
751            wptKeyEdit.cpp and wptKeycache.cpp.
752    
753            * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
754            * wptImportList.cpp (implist_load): Use remove and not unlink.
755            * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
756            * wptImportList.cpp (implist_load): Use remove and not unlink.
757            * wptKeyManager.cpp (km_http_import): Ditto
758            * wptMainProc.cpp: Include wptCrypto.h
759            * wptKeyManager.cpp: Ditto.
760            * wptFileManager.cpp: Ditto.
761            * wptImportList.cpp (parse_colon_key): Need to cast argument for
762            isdigit.  Include ctype.h.
763            * wptGPG.cpp: Include shlobj.h.
764    
765            Fixed double inclusion of windows.h.
766            
767            * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
768            * wptKeylist.cpp (get_key_created): Broke up trigraph.
769            (get_key_status): Removed dangerous use of sprintf.  Still other
770            flaws present, see comment.
771    
772            * wptCardPCSC.c: Don't include winscard.h.
773            (pcsc_readerstate_t, pcsc_context_t): New.  Changed call users to
774            use these types.
775            (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
776            (SCARD_S_SUCCESS): Changed all compares to test the value directly
777            against zero.
778    
779            * WinPT.cpp: Include wptCrypto.h.
780            (WinMain): Don't shard S. Removed usunsed variable SIZE.
781            * Makefile.am (code_files): Actually add files by adding a first
782            backslash.
783            * wptMDSumDlg.cpp: Include wptCrypto.h.
784            * wptProxySettingsDlg.cpp: Included ctype.h.
785            * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
786            * wptKeysignDlg.cpp: Ditto
787            * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
788            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
789            Removed unused variable.
790            * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
791            silly c++ operator synonyms.
792            * wptKeyEditDlgs.cpp: Include time.h.
793            * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
794            * wptFileManagerDlg.cpp: Ditto.
795            (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
796            matter if it does an rmdir for a directory.
797    
798            Fixed include of resource.h which is not anymore in the top
799            directory.
800    
801    2005-10-28  Werner Koch  <[email protected]>
802    
803            * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
804            unsigned.  Never ever use a possible signed char as argument for
805            ctype tests.  An alternative is to first test using isascii ().
806            (keyserver_proxy_dlg_proc): Removed unused variable.
807    
808    2005-10-27  Timo Schulz  <[email protected]>
809    
810            * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
811            * wptKeylist.cpp (keylist_add_key): Check global key flag to
812            see if the key is disabled and not each subkey.
813            (seclist_init): Likewise.
814            * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
815            gpgme_op_decrypt_verify.
816            (clip_decrypt_dlg_proc): Fixed fingerprint
817            to keyid conversation. This also fixes a crash.
818            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
819            * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
820            already expired if the user wants to change the date.
821            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
822            'v3 sig' option with the 'ask cert level' option. Sync
823            with global preferences.
824            * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
825            gpg.conf contains 'ask-cert-level'. If not disable button.
826            * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
827            the button when the key is available.
828            Reload key directly, not the entire cache.
829            
830    2005-10-26  Timo Schulz  <[email protected]>
831    
832            * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
833            possible overflow.
834            (is_openpgp_ext): Compare case insentensive.
835            (add_single_file): New.
836            (fm_add_opened_files): Support multi file selection.
837            * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
838            * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
839            reload flag. Just update the single key.
840            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
841            and disable anonymize recipient for now.
842    
843            Begin to port code to GCC. Fix all warning issued by the gcc
844            compiler.
845    
846  2005-10-25  Timo Schulz  <[email protected]>  2005-10-25  Timo Schulz  <[email protected]>
847    
# Line 29  Line 865 
865          * WinPT.cpp (WinMain): Check if there is already an instance and          * WinPT.cpp (WinMain): Check if there is already an instance and
866          set a variable early as possible.          set a variable early as possible.
867          (load_gettext): If a previous instance was found, do not output          (load_gettext): If a previous instance was found, do not output
868          any errors. Kudos to Ralf.          any errors. Kudos to Ralf.      
   
869    
870  2005-10-24  Timo Schulz  <[email protected]>  2005-10-24  Timo Schulz  <[email protected]>
871    

Legend:
Removed from v.36  
changed lines
  Added in v.177

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26