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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.22  
changed lines
  Added in v.65

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26