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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26