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

Diff of /trunk/Src/ChangeLog

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26