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

Diff of /trunk/Src/ChangeLog

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26