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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26