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

Diff of /trunk/Src/ChangeLog

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26