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

Diff of /trunk/Src/ChangeLog

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26