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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.33  
changed lines
  Added in v.57

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26