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

Diff of /trunk/Src/ChangeLog

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26