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

Diff of /trunk/Src/ChangeLog

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

revision 23 by twoaday, Fri Sep 30 10:10:16 2005 UTC revision 65 by twoaday, Thu Nov 3 16:55:25 2005 UTC
# Line 1  Line 1 
1  2005-09-20  Timo Schulz  <[email protected]>  2005-11-03  Timo Schulz  <[email protected]>
2    
3          * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):          A lot of minor changes to avoid GCC warnings.
4          Do not use gpgme_recipients_t but the listview directly          
5          to add the selected files.  2005-11-02  Werner Koch  <[email protected]>
6    
7  2005-09-07  Timo Schulz  <[email protected]>          * WinPT.cpp (WinMain): Disabled PTD version tests.
8            (check_crypto_engine): Fixed version check for scard.
9          * Make sure all GetOpenFileName filters are terminated by \0\0.  
10            * wptErrors.cpp (debug_end): Add dummy function.
11  2005-09-01  Timo Schulz  <[email protected]>  
12            * Makefile.am (code_files): Added wptCardEditCB.cpp and
13          * wptW32API.cpp (center_window): New argument for parent window.          wptKeyEditCB.cpp.
14          Change all callers.  
15          (center_window2): Likewise.  2005-10-31  Werner Koch  <[email protected]>
16          * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.  
17          * wptGPG.cpp (gnupg_backup_options): Remove param. One backup          * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
18          file is enough. Changed all callers.          functions.
19    
20  2005-08-15  Timo Schulz  <[email protected]>          * wptKeyEditDlgs.cpp: Include oleauto.h
21            * wptKeyEdit.cpp: Include time.h.
22          * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.          * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
23          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.          * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
24          * Make sure the passphrase is always overwritten before it is  
25          freed (or the function returns).          * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
26          * wptKeyPropDlg.cpp (get_pref_cipher): New.          wptKeyEdit.cpp and wptKeycache.cpp.
27          (keyprops_dlg_proc): Use it here.  
28            * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
29  2005-08-06  Timo Schulz  <[email protected]>          * wptImportList.cpp (implist_load): Use remove and not unlink.
30            * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
31          * wptGPGME.cpp (keycache_update): Reload OpenPGP parts          * wptImportList.cpp (implist_load): Use remove and not unlink.
32          of the secret key.          * wptKeyManager.cpp (km_http_import): Ditto
33          (keycache_init): cache name of secret keyring.          * wptMainProc.cpp: Include wptCrypto.h
34          * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.          * wptKeyManager.cpp: Ditto.
35          (get_key_type): Do not assume 'ultimate' means key pair.          * wptFileManager.cpp: Ditto.
36          * wptKeyEditDlgs.cpp (diff_time): New.          * wptImportList.cpp (parse_colon_key): Need to cast argument for
37          (keyedit_addsubkey_dlg_proc): Changed design and use          isdigit.  Include ctype.h.
38          diff_time. Drop checks for invalid keylength (< 1024, > 4096)          * wptGPG.cpp: Include shlobj.h.
39          because the combo box automatically handles this.  
40          * wptKeyManager.cpp (km_set_implicit_trust): Return error code.          Fixed double inclusion of windows.h.
41          * wptGPG.cpp (get_backup_name): New.          
42          (gnupg_backup_keyrings): Rotate backup names, from 0..3.          * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
43          * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.          * wptKeylist.cpp (get_key_created): Broke up trigraph.
44          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and          (get_key_status): Removed dangerous use of sprintf.  Still other
45          not the long keyid.          flaws present, see comment.
46    
47  2005-08-05  Timo Schulz  <[email protected]>          * wptCardPCSC.c: Don't include winscard.h.
48            (pcsc_readerstate_t, pcsc_context_t): New.  Changed call users to
49          * wptListView.cpp (listview_set_item2): New.          use these types.
50          * wptKeyManager.cpp (km_check_if_protected): Directly          (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
51          retrieve gpgme_key_t from the list.          (SCARD_S_SUCCESS): Changed all compares to test the value directly
52          (km_check_key_status): Likewise.                  against zero.
53          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use  
54          a human-readable name for secret key export.          * WinPT.cpp: Include wptCrypto.h.
55          Reload just the keys which were affected by updates          (WinMain): Don't shard S. Removed usunsed variable SIZE.
56          (edit-key).          * Makefile.am (code_files): Actually add files by adding a first
57          (update_key): New.          backslash.
58          * wptKeyList.cpp ((keylist_upd_key): Stripped down          * wptMDSumDlg.cpp: Include wptCrypto.h.
59          version of keylist_add_key.          * wptProxySettingsDlg.cpp: Included ctype.h.
60          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not          * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
61          reload the keycache here, just flag 'update'. Give the          * wptKeysignDlg.cpp: Ditto
62          control to the calling dialog.          * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
63          * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t          * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
64          as parameter. Changed all callers.          Removed unused variable.
65          Add date of expiration to the key info.          * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
66          (get_expire_date): New.          silly c++ operator synonyms.
67          Use a checkbox to allow to ask for the cert level.          * wptKeyEditDlgs.cpp: Include time.h.
68          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload          * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
69          the cache.          * wptFileManagerDlg.cpp: Ditto.
70            (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
71  2005-08-04  Timo Schulz  <[email protected]>          matter if it does an rmdir for a directory.
72    
73          * wptListView.cpp (listview_scroll): New.          Fixed include of resource.h which is not anymore in the top
74          (listview_get_item2): New.          directory.
75          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the  
76          item was found, make it visible with scrolling.  2005-10-28  Werner Koch  <[email protected]>
77          * wptKeyManager.cpp (km_find_key): New.  
78          (keylist_subclass_proc): Support to handle some acceleators.          * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
79          Strg+{C, P, F, A}.          unsigned.  Never ever use a possible signed char as argument for
80          (km_get_key_status): Get the gpgme_key_t object directly          ctype tests.  An alternative is to first test using isascii ().
81          from the list.          (keyserver_proxy_dlg_proc): Removed unused variable.
82          * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set  
83          the config file (if it exists).  2005-10-27  Timo Schulz  <[email protected]>
84          * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code  
85          to handle the click->activate situation.          * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
86          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.          * wptKeylist.cpp (keylist_add_key): Check global key flag to
87          Support to check the passphrase quality.          see if the key is disabled and not each subkey.
88          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.          (seclist_init): Likewise.
89          (request_passphrase): Rename 'init' to 'flags' to allow more          * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
90          options.          gpgme_op_decrypt_verify.
91          * wptMAPI.cpp: Check all *alloc results.          (clip_decrypt_dlg_proc): Fixed fingerprint
92          * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary          to keyid conversation. This also fixes a crash.
93          passphrase quality check.          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
94          * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file          * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
95          format and allow to save the checksum in a file.          already expired if the user wants to change the date.
96          * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
97          when the PGP mode is disabled.          'v3 sig' option with the 'ask cert level' option. Sync
98          wptKeyEditDlgs.cpp (do_editkey_primary): Return if just          with global preferences.
99          one user-ID exists.          * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
100          (keyedit_dlg_proc): Fixed index problem.          gpg.conf contains 'ask-cert-level'. If not disable button.
101          * wptKeyPropsDlg.cpp (get_validity): New.          * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
102          (keyprops_dlg_proc): Actually show extended validity if possible.          the button when the key is available.
103          * wptKeyList.cpp (get_key_fpr): Support for old v3 format.          Reload key directly, not the entire cache.
104          (do_addkey): Use listview_add_item2 to store key as opaque          
105          param inside the list.  2005-10-26  Timo Schulz  <[email protected]>
106          * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.  
107          (file_stat_dlg_proc): End dialog if no PGP data was found.          * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
108          (do_list_packets): Return the number of valid PGP packets          possible overflow.
109          of the file.          (is_openpgp_ext): Compare case insentensive.
110            (add_single_file): New.
111  2005-08-02  Timo Schulz  <[email protected]>          (fm_add_opened_files): Support multi file selection.
112            * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
113          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of          * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
114          using 'Default Keyserver' add the real keyserver name to          reload flag. Just update the single key.
115          the menu.          * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
116          The rebuild command does not reload the cache any longer.          and disable anonymize recipient for now.
117          Use ATTR_NAME + .asc as the filename and not keyid + .asc.  
118          * wptProxySettingsDlg.cpp (enable_proxy_auth): New.          Begin to port code to GCC. Fix all warning issued by the gcc
119          (keyserver_proxy_dlg_proc): Changed the design a little          compiler.
120          and add some additional sanity checks.  
121          * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.  2005-10-25  Timo Schulz  <[email protected]>
122          This fixes the problem that the GPG option dialog does not show  
123          very nice lines.          * wptGPGUtil.cpp (create_process): Hide window.
124          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.          * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
125          * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected          * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
126          check for 'NOKEY' before asking a keyserver.          static var 'enable'.
127          * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.          * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
128          If a lot of keys were selected, ask if the user wants to confirm          (gpg_genkey_params): Make sure all primary keys are capable
129          each delete procedure or allow to cancel the operation.          for signing and certification.
130          * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much          * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
131          keys the file contain.          * wptGPG.cpp (gnupg_access_keyring): Check return value for
132          * wptKeyList.cpp (get_key_algo): Beautified.          NULL. Noted by Ralf.
133          (get_key_status): Drop the "[XYZ] Unknown" format, it is too          (get_gnupg_prog): Simplified.
134          confusing for users.          (check_homedir): Fixed. Return 0 when the dir is successfully created.
135          * wptKeyManager.cpp (km_check_key_status): Adjustments for the          * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
136          new code.          indicate a pending GPG process.
137          (km_check_for_seckey): Reset utrust parameter. Return -1 for          * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
138          invalid (exp+rev+dis) keys.          and and of an operation. For now just the cursor changes.
139            (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
140  2005-08-01  Timo Schulz  <[email protected]>          * WinPT.cpp (WinMain): Check if there is already an instance and
141            set a variable early as possible.
142          * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given          (load_gettext): If a previous instance was found, do not output
143          sizes.          any errors. Kudos to Ralf.      
144          (check_IP_or_hostname): New.  
145          (kserver_load_conf): Correct finger URL parsing problem.  2005-10-24  Timo Schulz  <[email protected]>
146          (port_from_proto): New.  
147          (keyserver_load_conf): Guess the port.          * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use
148          (keyserver_set_default): Allocate new buffer.          pre-defined recipients.
149          (kserver_load_conf): Likewise.          (release_gpg_passphrase_cb): Release recipients.
150          * wptHTTP.c (parse_reqline, parse_request): Removed.          * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id
151          Use WinPT error code and remove all unused code.          validity if needed.
152          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.          (keyprops_dlg_proc): Issue a warning if the photo is valid.
153          * wptProxySettingsDlg.cpp (read_proxy): Simple check for  
154          invalid host/IP addresses.  2005-10-23  Timo Schulz  <[email protected]>
155          * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.  
156          Changed all callers.          * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.  
157          * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,          * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
158          automatically set 'backup to homedir'.          (get_ext_validity): New.
159          * WinPT.cpp (WinMain): Use desktop window as the parent window          * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
160          to load 'first-start' dialogs.          * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
161          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'          this function.
162          flag after deleting keys.          (load_clipboard_from_file): Likewise.
163          * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure          (save_clipboard_to_file): New.
164          for passing the arguments.          * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.
165          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for  
166          the OptFile. This was responsible for a lot of 'General Errors'  2005-10-22  Timo Schulz  <[email protected]>
167          after the first start related to key caching.  
168          Automatically set the gpg binary if possible.          Localized a lot of more strings.
169    
170  2005-07-22  Timo Schulz  <[email protected]>          * wptMainProc.cpp (load_smartcard): New.
171            * wptFileManager.cpp (fm_parse_command_line): Simplify code.
172          * wptMainProc.cpp (winpt_main_proc): Take care for shutdown          (fm_check_armor_type): Add new arg. Change all callers.
173          messages and make sure WinPT make a keyring backup in this case.          (fm_get_file_type): Likewise.
174          * wptGPGME.cpp (keycache_reload): Do not rebuild the signature          * wptKeyPropsDlg.cpp (display_key_info): New.  
175          cache each time. Just do it on startup.          (keyprops_show_photo): Factored out some code into..
176          * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.          (keyprops_load_photo): ..this function.
177          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag  
178          was set by the calling function.  2005-10-21  Timo Schulz  <[email protected]>
179          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.  
180          (keygen_dlg_proc): Only add the generated key to the keycache          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use
181          and do not reload the entire cache.          WM_INITPOPUPMENU to localize popup menu texts.
182          * wptKeyManager.cpp (km_delete_keys): Store the number of keys          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
183          because in each loop iteration it will be new calculated.          * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.  
184          * wptListView.cpp (listview_del_items): Likewise.  
185          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the  2005-10-20  Timo Schulz  <[email protected]>
186          generated key to the list instead of reloading the entire cache.  
187          * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.          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 228  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.23  
changed lines
  Added in v.65

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26