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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.20  
changed lines
  Added in v.129

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26