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

Diff of /trunk/Src/ChangeLog

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26