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

Diff of /trunk/Src/ChangeLog

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

revision 28 by twoaday, Thu Oct 20 12:35:59 2005 UTC revision 78 by twoaday, Tue Nov 15 08:54:44 2005 UTC
# Line 1  Line 1 
1  2005-10-20  Timo Schulz  <[email protected]>  2005-11-14  Timo Schulz  <[email protected]>
2    
3          Now WinPT depends on GPG 1.4.3.          * wptGPG.cpp (check_gnupg_engine): Fix version check.
4            * wptMainProc.cpp (winpt_main_proc): Check keyring
5          * wptPassphraseCB.cpp (passphrase_cb): Complete card support.          file permissions always and do not use interative output
6          * wptCardEdit.cpp (genKey): Handle cancel case.          when the windows session ends.
7          * keycache.c: Renamed into...          * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
8          * wptKeyCache.cpp: ...this.          Localize all strings.
9            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
10  2005-10-17  Timo Schulz  <[email protected]>          * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
11            * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
12          Free all memory returned by the GPGME dll with gpgme_free ().          non-valid keys.
13            
14          s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.  2005-11-12  Timo Schulz  <[email protected]>
15    
16          * wptKeyEdit.cpp (getCardStatus): Remove dummy key.          Fix more GCC warnings.
17          (list_handler): With user interaction to allow to insert  
18          the card into the reader.  2005-11-10  Timo Schulz  <[email protected]>
19          * wptKeyEditCB.cpp (gpg_edit_card): Likewise.  
20          (common_card_handler): Fixed incorrect command string.          * wptClipSignDlg.cpp (one_key_proc): Use
21          * wptKeyPropsDlg.cpp (get_card_type): New.          release_gpg_passphrase_cb() to free the context.
22          (keyprops_dlg_proc): Show card information if present.          * wptListView.cpp (listview_deselect_all): New.
23          * wptFileManager.cpp (secret_key_available): Make the code faster.          * wptMAPI.cpp (mapi_send_pubkey): Works again.
24                    * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
25            zip.    
26  2005-10-16  Timo Schulz  <[email protected]>          * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
27            caching for signing operations.
28          * wptPassphraseCB.cpp (passphrase_cb): Fix problem          * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
29          with hanging GPG process on cancel.          * wptFileManager.cpp (fm_send_file): Likewise.
30          * keycache.c (gpg_keycache_release): Release all objects.          (fm_encrypt_into_zip): New.      
31            
32  2005-10-15  Timo Schulz  <[email protected]>  2005-11-09  Timo Schulz  <[email protected]>
33    
34          * wptCardEdit.cpp (setResult, getResult): New.          * wptNLS.c (get_gettext_langid): Map user language id to
35          (reset): New.          printable gettext language strings.
36          (getCardStatus): Check return codes and release all objects          * wptRegistry.cpp (get_reg_entry_mo): Support for the
37          in case of errors.          gettext environment.
38          * wptCardEditCB.cpp (change_pin_handler): Call reset()          * wptFileManager.cpp (fm_encrypt): Close all files before
39          before quit.          the wipe procedure is called.
40          (editcard_handler): Likewise.          * wptVerlist.cpp (verlist_add_sig): Handle the case the
41          (common_card_handler): New.          issuer is not valid but the signature is.
42          * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask          (verlist_add_sig_log): Likewise. Thanks to the folks on
43          the old PIN when 'Hide Typing' is disabled.          winpt-users.
44          * wptPassphraseCB.cpp (passphrase_cb): The card detection          
45          works again. Support to re-enter passphrase.  2005-11-08  Werner Koch  <[email protected]>
46    
47  2005-10-14  Timo Schulz  <[email protected]>          * SAFE.ICO, SIGN.ICO: Fixed capitalization.
48            * WinPT-en.rc: Ditto.
49          * wptCardDlg.cpp (card_status): New fields for the          * winpt_km.ico:  Moved from ../.
50          fingerprint creation time. Display card info as title.  
51          (get_printable_version): New.          * Makefile.am (resource_files): Add missing backslash.
52          * wptCardEditCB.cpp (editcard_handler): Fix problem  
53          with the counter comparison.  2005-11-08  Timo Schulz  <[email protected]>
54    
55  2005-10-11  Timo Schulz  <[email protected]>          More minor changes to avoid GCC warnings.
56            
57          Port to GPGME basically finished.          * wptGPG.cpp (check_homedir): Free memory in case of errors.
58            (multi_gnupg_path): Add strict mode. If non-strict mode return
59  2005-09-20  Timo Schulz  <[email protected]>          the folder even if it does not exist.
60            (check_for_gpgwin): New.
61          * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):          * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
62          Do not use gpgme_recipients_t but the listview directly          initialized.
63          to add the selected files.          * wptRegistry.cpp (get_reg_entry_gpg4win): New.
64            (get_reg_entry_mo): Support for gpg4win.
65  2005-09-07  Timo Schulz  <[email protected]>          
66    2005-11-07  Timo Schulz  <[email protected]>
67          * Make sure all GetOpenFileName filters are terminated by \0\0.  
68            * wptMainProc.cpp (winpt_main_proc): Disable
69  2005-09-01  Timo Schulz  <[email protected]>          some menu items when no secret key is available.
70            
71          * wptW32API.cpp (center_window): New argument for parent window.  2005-11-05  Timo Schulz  <[email protected]>
72          Change all callers.  
73          (center_window2): Likewise.          More minor changes to avoid GCC warnings.
74          * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.          
75          * wptGPG.cpp (gnupg_backup_options): Remove param. One backup          * wptErrors.cp (winpt_strerror): Return w32
76          file is enough. Changed all callers.          formatted error and do not use 'break'.
77            
78  2005-08-15  Timo Schulz  <[email protected]>  2005-11-04  Werner Koch  <[email protected]>
79    
80          * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.          * WinPT-en.rc: Fixed locations of icons.
81          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.  
82          * Make sure the passphrase is always overwritten before it is  2005-11-03  Timo Schulz  <[email protected]>
83          freed (or the function returns).  
84          * wptKeyPropDlg.cpp (get_pref_cipher): New.          A lot of minor changes to avoid GCC warnings.
85          (keyprops_dlg_proc): Use it here.  
86            * wptGPG.cpp (get_gnupg_keyring): Only check size for
87  2005-08-06  Timo Schulz  <[email protected]>          public keyring.
88            * wptKeyManager.cpp (km_update_default_key_str): Do
89          * wptGPGME.cpp (keycache_update): Reload OpenPGP parts          not issue a bug message when no secret key was found.
90          of the secret key.          * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
91          (keycache_init): cache name of secret keyring.          
92          * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.  2005-11-02  Werner Koch  <[email protected]>
93          (get_key_type): Do not assume 'ultimate' means key pair.  
94          * wptKeyEditDlgs.cpp (diff_time): New.          * WinPT.cpp (WinMain): Disabled PTD version tests.
95          (keyedit_addsubkey_dlg_proc): Changed design and use          (check_crypto_engine): Fixed version check for scard.
96          diff_time. Drop checks for invalid keylength (< 1024, > 4096)  
97          because the combo box automatically handles this.          * wptErrors.cpp (debug_end): Add dummy function.
98          * wptKeyManager.cpp (km_set_implicit_trust): Return error code.  
99          * wptGPG.cpp (get_backup_name): New.          * Makefile.am (code_files): Added wptCardEditCB.cpp and
100          (gnupg_backup_keyrings): Rotate backup names, from 0..3.          wptKeyEditCB.cpp.
101          * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.  
102          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and  2005-10-31  Werner Koch  <[email protected]>
103          not the long keyid.  
104            * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
105  2005-08-05  Timo Schulz  <[email protected]>          functions.
106    
107          * wptListView.cpp (listview_set_item2): New.          * wptKeyEditDlgs.cpp: Include oleauto.h
108          * wptKeyManager.cpp (km_check_if_protected): Directly          * wptKeyEdit.cpp: Include time.h.
109          retrieve gpgme_key_t from the list.          * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
110          (km_check_key_status): Likewise.                  * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
111          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use  
112          a human-readable name for secret key export.          * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
113          Reload just the keys which were affected by updates          wptKeyEdit.cpp and wptKeycache.cpp.
114          (edit-key).  
115          (update_key): New.          * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
116          * wptKeyList.cpp ((keylist_upd_key): Stripped down          * wptImportList.cpp (implist_load): Use remove and not unlink.
117          version of keylist_add_key.          * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
118          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not          * wptImportList.cpp (implist_load): Use remove and not unlink.
119          reload the keycache here, just flag 'update'. Give the          * wptKeyManager.cpp (km_http_import): Ditto
120          control to the calling dialog.          * wptMainProc.cpp: Include wptCrypto.h
121          * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t          * wptKeyManager.cpp: Ditto.
122          as parameter. Changed all callers.          * wptFileManager.cpp: Ditto.
123          Add date of expiration to the key info.          * wptImportList.cpp (parse_colon_key): Need to cast argument for
124          (get_expire_date): New.          isdigit.  Include ctype.h.
125          Use a checkbox to allow to ask for the cert level.          * wptGPG.cpp: Include shlobj.h.
126          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload  
127          the cache.          Fixed double inclusion of windows.h.
128            
129  2005-08-04  Timo Schulz  <[email protected]>          * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
130            * wptKeylist.cpp (get_key_created): Broke up trigraph.
131          * wptListView.cpp (listview_scroll): New.          (get_key_status): Removed dangerous use of sprintf.  Still other
132          (listview_get_item2): New.          flaws present, see comment.
133          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the  
134          item was found, make it visible with scrolling.          * wptCardPCSC.c: Don't include winscard.h.
135          * wptKeyManager.cpp (km_find_key): New.          (pcsc_readerstate_t, pcsc_context_t): New.  Changed call users to
136          (keylist_subclass_proc): Support to handle some acceleators.          use these types.
137          Strg+{C, P, F, A}.          (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
138          (km_get_key_status): Get the gpgme_key_t object directly          (SCARD_S_SUCCESS): Changed all compares to test the value directly
139          from the list.          against zero.
140          * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set  
141          the config file (if it exists).          * WinPT.cpp: Include wptCrypto.h.
142          * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code          (WinMain): Don't shard S. Removed usunsed variable SIZE.
143          to handle the click->activate situation.          * Makefile.am (code_files): Actually add files by adding a first
144          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.          backslash.
145          Support to check the passphrase quality.          * wptMDSumDlg.cpp: Include wptCrypto.h.
146          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.          * wptProxySettingsDlg.cpp: Included ctype.h.
147          (request_passphrase): Rename 'init' to 'flags' to allow more          * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
148          options.          * wptKeysignDlg.cpp: Ditto
149          * wptMAPI.cpp: Check all *alloc results.          * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
150          * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary          * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
151          passphrase quality check.          Removed unused variable.
152          * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file          * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
153          format and allow to save the checksum in a file.          silly c++ operator synonyms.
154          * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning          * wptKeyEditDlgs.cpp: Include time.h.
155          when the PGP mode is disabled.          * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
156          wptKeyEditDlgs.cpp (do_editkey_primary): Return if just          * wptFileManagerDlg.cpp: Ditto.
157          one user-ID exists.          (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
158          (keyedit_dlg_proc): Fixed index problem.          matter if it does an rmdir for a directory.
159          * wptKeyPropsDlg.cpp (get_validity): New.  
160          (keyprops_dlg_proc): Actually show extended validity if possible.          Fixed include of resource.h which is not anymore in the top
161          * wptKeyList.cpp (get_key_fpr): Support for old v3 format.          directory.
162          (do_addkey): Use listview_add_item2 to store key as opaque  
163          param inside the list.  2005-10-28  Werner Koch  <[email protected]>
164          * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.  
165          (file_stat_dlg_proc): End dialog if no PGP data was found.          * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
166          (do_list_packets): Return the number of valid PGP packets          unsigned.  Never ever use a possible signed char as argument for
167          of the file.          ctype tests.  An alternative is to first test using isascii ().
168            (keyserver_proxy_dlg_proc): Removed unused variable.
169  2005-08-02  Timo Schulz  <[email protected]>  
170    2005-10-27  Timo Schulz  <[email protected]>
171          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of  
172          using 'Default Keyserver' add the real keyserver name to          * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
173          the menu.          * wptKeylist.cpp (keylist_add_key): Check global key flag to
174          The rebuild command does not reload the cache any longer.          see if the key is disabled and not each subkey.
175          Use ATTR_NAME + .asc as the filename and not keyid + .asc.          (seclist_init): Likewise.
176          * wptProxySettingsDlg.cpp (enable_proxy_auth): New.          * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
177          (keyserver_proxy_dlg_proc): Changed the design a little          gpgme_op_decrypt_verify.
178          and add some additional sanity checks.          (clip_decrypt_dlg_proc): Fixed fingerprint
179          * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.          to keyid conversation. This also fixes a crash.
180          This fixes the problem that the GPG option dialog does not show          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
181          very nice lines.          * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
182          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.          already expired if the user wants to change the date.
183          * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
184          check for 'NOKEY' before asking a keyserver.          'v3 sig' option with the 'ask cert level' option. Sync
185          * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.          with global preferences.
186          If a lot of keys were selected, ask if the user wants to confirm          * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
187          each delete procedure or allow to cancel the operation.          gpg.conf contains 'ask-cert-level'. If not disable button.
188          * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much          * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
189          keys the file contain.          the button when the key is available.
190          * wptKeyList.cpp (get_key_algo): Beautified.          Reload key directly, not the entire cache.
191          (get_key_status): Drop the "[XYZ] Unknown" format, it is too          
192          confusing for users.  2005-10-26  Timo Schulz  <[email protected]>
193          * wptKeyManager.cpp (km_check_key_status): Adjustments for the  
194          new code.          * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
195          (km_check_for_seckey): Reset utrust parameter. Return -1 for          possible overflow.
196          invalid (exp+rev+dis) keys.          (is_openpgp_ext): Compare case insentensive.
197            (add_single_file): New.
198  2005-08-01  Timo Schulz  <[email protected]>          (fm_add_opened_files): Support multi file selection.
199            * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
200          * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given          * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
201          sizes.          reload flag. Just update the single key.
202          (check_IP_or_hostname): New.          * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
203          (kserver_load_conf): Correct finger URL parsing problem.          and disable anonymize recipient for now.
204          (port_from_proto): New.  
205          (keyserver_load_conf): Guess the port.          Begin to port code to GCC. Fix all warning issued by the gcc
206          (keyserver_set_default): Allocate new buffer.          compiler.
207          (kserver_load_conf): Likewise.  
208          * wptHTTP.c (parse_reqline, parse_request): Removed.  2005-10-25  Timo Schulz  <[email protected]>
209          Use WinPT error code and remove all unused code.  
210          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.          * wptGPGUtil.cpp (create_process): Hide window.
211          * wptProxySettingsDlg.cpp (read_proxy): Simple check for          * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
212          invalid host/IP addresses.          * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
213          * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.          static var 'enable'.
214          Changed all callers.          * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
215          * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,          (gpg_genkey_params): Make sure all primary keys are capable
216          automatically set 'backup to homedir'.          for signing and certification.
217          * WinPT.cpp (WinMain): Use desktop window as the parent window          * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
218          to load 'first-start' dialogs.          * wptGPG.cpp (gnupg_access_keyring): Check return value for
219          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'          NULL. Noted by Ralf.
220          flag after deleting keys.          (get_gnupg_prog): Simplified.
221          * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure          (check_homedir): Fixed. Return 0 when the dir is successfully created.
222          for passing the arguments.          * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
223          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for          indicate a pending GPG process.
224          the OptFile. This was responsible for a lot of 'General Errors'          * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
225          after the first start related to key caching.          and and of an operation. For now just the cursor changes.
226          Automatically set the gpg binary if possible.          (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
227            * WinPT.cpp (WinMain): Check if there is already an instance and
228  2005-07-22  Timo Schulz  <[email protected]>          set a variable early as possible.
229            (load_gettext): If a previous instance was found, do not output
230          * wptMainProc.cpp (winpt_main_proc): Take care for shutdown          any errors. Kudos to Ralf.      
231          messages and make sure WinPT make a keyring backup in this case.  
232          * wptGPGME.cpp (keycache_reload): Do not rebuild the signature  2005-10-24  Timo Schulz  <[email protected]>
233          cache each time. Just do it on startup.  
234          * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.          * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use
235          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag          pre-defined recipients.
236          was set by the calling function.          (release_gpg_passphrase_cb): Release recipients.
237          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.          * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id
238          (keygen_dlg_proc): Only add the generated key to the keycache          validity if needed.
239          and do not reload the entire cache.          (keyprops_dlg_proc): Issue a warning if the photo is valid.
240          * wptKeyManager.cpp (km_delete_keys): Store the number of keys  
241          because in each loop iteration it will be new calculated.  2005-10-23  Timo Schulz  <[email protected]>
242          * wptListView.cpp (listview_del_items): Likewise.  
243          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the          * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.  
244          generated key to the list instead of reloading the entire cache.          * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
245          * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.          (get_ext_validity): New.
246            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
247            * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
248            this function.
249            (load_clipboard_from_file): Likewise.
250            (save_clipboard_to_file): New.
251            * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.
252    
253    2005-10-22  Timo Schulz  <[email protected]>
254    
255            Localized a lot of more strings.
256    
257            * wptMainProc.cpp (load_smartcard): New.
258            * wptFileManager.cpp (fm_parse_command_line): Simplify code.
259            (fm_check_armor_type): Add new arg. Change all callers.
260            (fm_get_file_type): Likewise.
261            * wptKeyPropsDlg.cpp (display_key_info): New.  
262            (keyprops_show_photo): Factored out some code into..
263            (keyprops_load_photo): ..this function.
264    
265    2005-10-21  Timo Schulz  <[email protected]>
266    
267            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use
268            WM_INITPOPUPMENU to localize popup menu texts.
269            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
270            * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.  
271    
272    2005-10-20  Timo Schulz  <[email protected]>
273    
274            Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.
275    
276            * wptPassphraseCB.cpp (passphrase_cb): Complete card support.
277            * wptCardEdit.cpp (genKey): Handle cancel case.
278            * keycache.c: Renamed into...
279            * wptKeyCache.cpp: ...this.
280            * wptW32API.cpp (set_menu_text): Removed unused code.
281            (set_menu_text_bypos): New.
282            * wptCrypto.h: New.
283            * wptMainProc.cpp (winpt_main_proc): Complete localize
284            menu texts.
285            * wptErrors.cpp (log_debug): Use a static var so the file
286            is only opened once.
287            (debug_end): Cleanup. Currently just close the log file.
288            * wptErrors.h (wipememory): New.
289            (sfree_if_alloc): Use it here.
290            * WinPT.cpp (WinMain): Display the min. GPGME version which
291            is needed in case of an error.
292    
293    2005-10-17  Timo Schulz  <[email protected]>
294    
295            Free all memory returned by the GPGME dll with gpgme_free ().
296    
297            s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.
298    
299            * wptKeyEdit.cpp (getCardStatus): Remove dummy key.
300            (list_handler): With user interaction to allow to insert
301            the card into the reader.
302            * wptKeyEditCB.cpp (gpg_edit_card): Likewise.
303            (common_card_handler): Fixed incorrect command string.
304            * wptKeyPropsDlg.cpp (get_card_type): New.
305            (keyprops_dlg_proc): Show card information if present.
306            * wptFileManager.cpp (secret_key_available): Make the code faster.
307            
308    
309    2005-10-16  Timo Schulz  <[email protected]>
310    
311            * wptPassphraseCB.cpp (passphrase_cb): Fix problem
312            with hanging GPG process on cancel.
313            * keycache.c (gpg_keycache_release): Release all objects.
314    
315    2005-10-15  Timo Schulz  <[email protected]>
316    
317            * wptCardEdit.cpp (setResult, getResult): New.
318            (reset): New.
319            (getCardStatus): Check return codes and release all objects
320            in case of errors.
321            * wptCardEditCB.cpp (change_pin_handler): Call reset()
322            before quit.
323            (editcard_handler): Likewise.
324            (common_card_handler): New.
325            * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask
326            the old PIN when 'Hide Typing' is disabled.
327            * wptPassphraseCB.cpp (passphrase_cb): The card detection
328            works again. Support to re-enter passphrase.
329    
330    2005-10-14  Timo Schulz  <[email protected]>
331    
332            * wptCardDlg.cpp (card_status): New fields for the
333            fingerprint creation time. Display card info as title.
334            (get_printable_version): New.
335            * wptCardEditCB.cpp (editcard_handler): Fix problem
336            with the counter comparison.
337    
338    2005-10-11  Timo Schulz  <[email protected]>
339    
340            Port to GPGME basically finished.
341    
342    2005-09-20  Timo Schulz  <[email protected]>
343    
344            * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):
345            Do not use gpgme_recipients_t but the listview directly
346            to add the selected files.
347    
348    2005-09-07  Timo Schulz  <[email protected]>
349    
350            * Make sure all GetOpenFileName filters are terminated by \0\0.
351    
352    2005-09-01  Timo Schulz  <[email protected]>
353    
354            * wptW32API.cpp (center_window): New argument for parent window.
355            Change all callers.
356            (center_window2): Likewise.
357            * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.
358            * wptGPG.cpp (gnupg_backup_options): Remove param. One backup
359            file is enough. Changed all callers.
360    
361    2005-08-15  Timo Schulz  <[email protected]>
362    
363            * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.
364            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.
365            * Make sure the passphrase is always overwritten before it is
366            freed (or the function returns).
367            * wptKeyPropDlg.cpp (get_pref_cipher): New.
368            (keyprops_dlg_proc): Use it here.
369    
370    2005-08-06  Timo Schulz  <[email protected]>
371    
372            * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
373            of the secret key.
374            (keycache_init): cache name of secret keyring.
375            * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
376            (get_key_type): Do not assume 'ultimate' means key pair.
377            * wptKeyEditDlgs.cpp (diff_time): New.
378            (keyedit_addsubkey_dlg_proc): Changed design and use
379            diff_time. Drop checks for invalid keylength (< 1024, > 4096)
380            because the combo box automatically handles this.
381            * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
382            * wptGPG.cpp (get_backup_name): New.
383            (gnupg_backup_keyrings): Rotate backup names, from 0..3.
384            * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
385            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
386            not the long keyid.
387    
388    2005-08-05  Timo Schulz  <[email protected]>
389    
390            * wptListView.cpp (listview_set_item2): New.
391            * wptKeyManager.cpp (km_check_if_protected): Directly
392            retrieve gpgme_key_t from the list.
393            (km_check_key_status): Likewise.        
394            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use
395            a human-readable name for secret key export.
396            Reload just the keys which were affected by updates
397            (edit-key).
398            (update_key): New.
399            * wptKeyList.cpp ((keylist_upd_key): Stripped down
400            version of keylist_add_key.
401            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not
402            reload the keycache here, just flag 'update'. Give the
403            control to the calling dialog.
404            * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t
405            as parameter. Changed all callers.
406            Add date of expiration to the key info.
407            (get_expire_date): New.
408            Use a checkbox to allow to ask for the cert level.
409            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload
410            the cache.
411    
412    2005-08-04  Timo Schulz  <[email protected]>
413    
414            * wptListView.cpp (listview_scroll): New.
415            (listview_get_item2): New.
416            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the
417            item was found, make it visible with scrolling.
418            * wptKeyManager.cpp (km_find_key): New.
419            (keylist_subclass_proc): Support to handle some acceleators.
420            Strg+{C, P, F, A}.
421            (km_get_key_status): Get the gpgme_key_t object directly
422            from the list.
423            * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set
424            the config file (if it exists).
425            * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code
426            to handle the click->activate situation.
427            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
428            Support to check the passphrase quality.
429            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
430            (request_passphrase): Rename 'init' to 'flags' to allow more
431            options.
432            * wptMAPI.cpp: Check all *alloc results.
433            * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary
434            passphrase quality check.
435            * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file
436            format and allow to save the checksum in a file.
437            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning
438            when the PGP mode is disabled.
439            wptKeyEditDlgs.cpp (do_editkey_primary): Return if just
440            one user-ID exists.
441            (keyedit_dlg_proc): Fixed index problem.
442            * wptKeyPropsDlg.cpp (get_validity): New.
443            (keyprops_dlg_proc): Actually show extended validity if possible.
444            * wptKeyList.cpp (get_key_fpr): Support for old v3 format.
445            (do_addkey): Use listview_add_item2 to store key as opaque
446            param inside the list.
447            * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.
448            (file_stat_dlg_proc): End dialog if no PGP data was found.
449            (do_list_packets): Return the number of valid PGP packets
450            of the file.
451    
452    2005-08-02  Timo Schulz  <[email protected]>
453    
454            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of
455            using 'Default Keyserver' add the real keyserver name to
456            the menu.
457            The rebuild command does not reload the cache any longer.
458            Use ATTR_NAME + .asc as the filename and not keyid + .asc.
459            * wptProxySettingsDlg.cpp (enable_proxy_auth): New.
460            (keyserver_proxy_dlg_proc): Changed the design a little
461            and add some additional sanity checks.
462            * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.
463            This fixes the problem that the GPG option dialog does not show
464            very nice lines.
465            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.
466            * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected
467            check for 'NOKEY' before asking a keyserver.
468            * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.
469            If a lot of keys were selected, ask if the user wants to confirm
470            each delete procedure or allow to cancel the operation.
471            * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much
472            keys the file contain.
473            * wptKeyList.cpp (get_key_algo): Beautified.
474            (get_key_status): Drop the "[XYZ] Unknown" format, it is too
475            confusing for users.
476            * wptKeyManager.cpp (km_check_key_status): Adjustments for the
477            new code.
478            (km_check_for_seckey): Reset utrust parameter. Return -1 for
479            invalid (exp+rev+dis) keys.
480    
481    2005-08-01  Timo Schulz  <[email protected]>
482    
483            * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given
484            sizes.
485            (check_IP_or_hostname): New.
486            (kserver_load_conf): Correct finger URL parsing problem.
487            (port_from_proto): New.
488            (keyserver_load_conf): Guess the port.
489            (keyserver_set_default): Allocate new buffer.
490            (kserver_load_conf): Likewise.
491            * wptHTTP.c (parse_reqline, parse_request): Removed.
492            Use WinPT error code and remove all unused code.
493            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.
494            * wptProxySettingsDlg.cpp (read_proxy): Simple check for
495            invalid host/IP addresses.
496            * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.
497            Changed all callers.
498            * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,
499            automatically set 'backup to homedir'.
500            * WinPT.cpp (WinMain): Use desktop window as the parent window
501            to load 'first-start' dialogs.
502            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'
503            flag after deleting keys.
504            * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure
505            for passing the arguments.
506            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for
507            the OptFile. This was responsible for a lot of 'General Errors'
508            after the first start related to key caching.
509            Automatically set the gpg binary if possible.
510    
511    2005-07-22  Timo Schulz  <[email protected]>
512    
513            * wptMainProc.cpp (winpt_main_proc): Take care for shutdown
514            messages and make sure WinPT make a keyring backup in this case.
515            * wptGPGME.cpp (keycache_reload): Do not rebuild the signature
516            cache each time. Just do it on startup.
517            * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.
518            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag
519            was set by the calling function.
520            * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.
521            (keygen_dlg_proc): Only add the generated key to the keycache
522            and do not reload the entire cache.
523            * wptKeyManager.cpp (km_delete_keys): Store the number of keys
524            because in each loop iteration it will be new calculated.
525            * wptListView.cpp (listview_del_items): Likewise.
526            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the
527            generated key to the list instead of reloading the entire cache.
528            * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.
529    
530  2005-05-09  Timo Schulz  <[email protected]>  2005-05-09  Timo Schulz  <[email protected]>
531    
532          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..
# Line 286  Line 569 
569          (kserver_sendkey): Likewise.          (kserver_sendkey): Likewise.
570          * wptProxySettingsDlg.cpp (check_number): New.          * wptProxySettingsDlg.cpp (check_number): New.
571          (read_proxy): Check the entered port number.          (read_proxy): Check the entered port number.
572          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.
573          * wptW32API.cpp (get_folder_dlg): Free memory.          * wptW32API.cpp (get_folder_dlg): Free memory.
574    
575  2005-04-11  Timo Schulz  <[email protected]>  2005-04-11  Timo Schulz  <[email protected]>

Legend:
Removed from v.28  
changed lines
  Added in v.78

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26