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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.32  
changed lines
  Added in v.75

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26