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

Diff of /trunk/Src/ChangeLog

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26