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

Annotation of /trunk/Src/ChangeLog

Parent Directory Parent Directory | Revision Log Revision Log


Revision 76 - (hide annotations)
Thu Nov 10 14:07:06 2005 UTC (19 years, 3 months ago) by twoaday
File size: 177325 byte(s)
2005-11-09  Timo Schulz  <ts@g10code.com>
 
        * wptNLS.c (get_gettext_langid): Map user language id to
        printable gettext language strings.
        * wptRegistry.cpp (get_reg_entry_mo): Support for the
        gettext environment.
        * wptFileManager.cpp (fm_encrypt): Close all files before
        the wipe procedure is called.
        * wptVerlist.cpp (verlist_add_sig): Handle the case the
        issuer is not valid but the signature is.
        (verlist_add_sig_log): Likewise. Thanks to the folks on
        winpt-users.


1 twoaday 76 2005-11-09 Timo Schulz <[email protected]>
2    
3     * wptNLS.c (get_gettext_langid): Map user language id to
4     printable gettext language strings.
5     * wptRegistry.cpp (get_reg_entry_mo): Support for the
6     gettext environment.
7     * wptFileManager.cpp (fm_encrypt): Close all files before
8     the wipe procedure is called.
9     * wptVerlist.cpp (verlist_add_sig): Handle the case the
10     issuer is not valid but the signature is.
11     (verlist_add_sig_log): Likewise. Thanks to the folks on
12     winpt-users.
13    
14 werner 75 2005-11-08 Werner Koch <[email protected]>
15    
16     * SAFE.ICO, SIGN.ICO: Fixed capitalization.
17     * WinPT-en.rc: Ditto.
18     * winpt_km.ico: Moved from ../.
19    
20     * Makefile.am (resource_files): Add missing backslash.
21    
22 twoaday 73 2005-11-08 Timo Schulz <[email protected]>
23    
24     More minor changes to avoid GCC warnings.
25    
26     * wptGPG.cpp (check_homedir): Free memory in case of errors.
27     (multi_gnupg_path): Add strict mode. If non-strict mode return
28     the folder even if it does not exist.
29     (check_for_gpgwin): New.
30     * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
31     initialized.
32     * wptRegistry.cpp (get_reg_entry_gpg4win): New.
33     (get_reg_entry_mo): Support for gpg4win.
34    
35 twoaday 72 2005-11-07 Timo Schulz <[email protected]>
36    
37     * wptMainProc.cpp (winpt_main_proc): Disable
38     some menu items when no secret key is available.
39    
40 twoaday 68 2005-11-05 Timo Schulz <[email protected]>
41    
42     More minor changes to avoid GCC warnings.
43    
44     * wptErrors.cp (winpt_strerror): Return w32
45     formatted error and do not use 'break'.
46    
47 werner 67 2005-11-04 Werner Koch <[email protected]>
48    
49     * WinPT-en.rc: Fixed locations of icons.
50    
51 twoaday 65 2005-11-03 Timo Schulz <[email protected]>
52    
53     A lot of minor changes to avoid GCC warnings.
54 twoaday 66
55     * wptGPG.cpp (get_gnupg_keyring): Only check size for
56     public keyring.
57     * wptKeyManager.cpp (km_update_default_key_str): Do
58     not issue a bug message when no secret key was found.
59     * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
60 twoaday 65
61 werner 57 2005-11-02 Werner Koch <[email protected]>
62    
63     * WinPT.cpp (WinMain): Disabled PTD version tests.
64 werner 58 (check_crypto_engine): Fixed version check for scard.
65 werner 57
66     * wptErrors.cpp (debug_end): Add dummy function.
67    
68     * Makefile.am (code_files): Added wptCardEditCB.cpp and
69     wptKeyEditCB.cpp.
70    
71 werner 47 2005-10-31 Werner Koch <[email protected]>
72    
73 werner 57 * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
74     functions.
75 werner 47
76 werner 48 * wptKeyEditDlgs.cpp: Include oleauto.h
77     * wptKeyEdit.cpp: Include time.h.
78     * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
79     * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
80 werner 47
81 werner 48 * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
82     wptKeyEdit.cpp and wptKeycache.cpp.
83    
84     * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
85     * wptImportList.cpp (implist_load): Use remove and not unlink.
86     * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
87     * wptImportList.cpp (implist_load): Use remove and not unlink.
88     * wptKeyManager.cpp (km_http_import): Ditto
89     * wptMainProc.cpp: Include wptCrypto.h
90     * wptKeyManager.cpp: Ditto.
91     * wptFileManager.cpp: Ditto.
92     * wptImportList.cpp (parse_colon_key): Need to cast argument for
93     isdigit. Include ctype.h.
94     * wptGPG.cpp: Include shlobj.h.
95    
96     Fixed double inclusion of windows.h.
97    
98     * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
99     * wptKeylist.cpp (get_key_created): Broke up trigraph.
100     (get_key_status): Removed dangerous use of sprintf. Still other
101     flaws present, see comment.
102    
103     * wptCardPCSC.c: Don't include winscard.h.
104     (pcsc_readerstate_t, pcsc_context_t): New. Changed call users to
105     use these types.
106     (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
107     (SCARD_S_SUCCESS): Changed all compares to test the value directly
108     against zero.
109    
110     * WinPT.cpp: Include wptCrypto.h.
111     (WinMain): Don't shard S. Removed usunsed variable SIZE.
112     * Makefile.am (code_files): Actually add files by adding a first
113     backslash.
114     * wptMDSumDlg.cpp: Include wptCrypto.h.
115     * wptProxySettingsDlg.cpp: Included ctype.h.
116 werner 47 * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
117     * wptKeysignDlg.cpp: Ditto
118     * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
119     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
120     Removed unused variable.
121     * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
122     silly c++ operator synonyms.
123     * wptKeyEditDlgs.cpp: Include time.h.
124     * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
125     * wptFileManagerDlg.cpp: Ditto.
126     (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
127     matter if it does an rmdir for a directory.
128    
129     Fixed include of resource.h which is not anymore in the top
130     directory.
131    
132 werner 46 2005-10-28 Werner Koch <[email protected]>
133    
134     * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
135     unsigned. Never ever use a possible signed char as argument for
136     ctype tests. An alternative is to first test using isascii ().
137     (keyserver_proxy_dlg_proc): Removed unused variable.
138    
139 twoaday 41 2005-10-27 Timo Schulz <[email protected]>
140 werner 36
141 twoaday 41 * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
142     * wptKeylist.cpp (keylist_add_key): Check global key flag to
143     see if the key is disabled and not each subkey.
144     (seclist_init): Likewise.
145     * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
146     gpgme_op_decrypt_verify.
147     (clip_decrypt_dlg_proc): Fixed fingerprint
148     to keyid conversation. This also fixes a crash.
149     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
150     * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
151     already expired if the user wants to change the date.
152     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
153     'v3 sig' option with the 'ask cert level' option. Sync
154     with global preferences.
155     * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
156     gpg.conf contains 'ask-cert-level'. If not disable button.
157     * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
158     the button when the key is available.
159     Reload key directly, not the entire cache.
160 werner 36
161 twoaday 41 2005-10-26 Timo Schulz <[email protected]>
162 werner 36
163 twoaday 41 * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
164     possible overflow.
165     (is_openpgp_ext): Compare case insentensive.
166     (add_single_file): New.
167     (fm_add_opened_files): Support multi file selection.
168     * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
169     * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
170     reload flag. Just update the single key.
171     * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
172     and disable anonymize recipient for now.
173    
174     Begin to port code to GCC. Fix all warning issued by the gcc
175     compiler.
176    
177 werner 36 2005-10-25 Timo Schulz <[email protected]>
178    
179     * wptGPGUtil.cpp (create_process): Hide window.
180     * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
181     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
182     static var 'enable'.
183     * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
184     (gpg_genkey_params): Make sure all primary keys are capable
185     for signing and certification.
186     * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
187     * wptGPG.cpp (gnupg_access_keyring): Check return value for
188     NULL. Noted by Ralf.
189     (get_gnupg_prog): Simplified.
190     (check_homedir): Fixed. Return 0 when the dir is successfully created.
191     * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
192     indicate a pending GPG process.
193     * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
194     and and of an operation. For now just the cursor changes.
195     (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
196     * WinPT.cpp (WinMain): Check if there is already an instance and
197     set a variable early as possible.
198     (load_gettext): If a previous instance was found, do not output
199 twoaday 41 any errors. Kudos to Ralf.
200 werner 36
201     2005-10-24 Timo Schulz <[email protected]>
202    
203     * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use
204     pre-defined recipients.
205     (release_gpg_passphrase_cb): Release recipients.
206     * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id
207     validity if needed.
208     (keyprops_dlg_proc): Issue a warning if the photo is valid.
209    
210     2005-10-23 Timo Schulz <[email protected]>
211    
212     * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.
213     * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
214     (get_ext_validity): New.
215     * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
216     * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
217     this function.
218     (load_clipboard_from_file): Likewise.
219     (save_clipboard_to_file): New.
220     * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.
221    
222     2005-10-22 Timo Schulz <[email protected]>
223    
224     Localized a lot of more strings.
225    
226     * wptMainProc.cpp (load_smartcard): New.
227     * wptFileManager.cpp (fm_parse_command_line): Simplify code.
228     (fm_check_armor_type): Add new arg. Change all callers.
229     (fm_get_file_type): Likewise.
230     * wptKeyPropsDlg.cpp (display_key_info): New.
231     (keyprops_show_photo): Factored out some code into..
232     (keyprops_load_photo): ..this function.
233    
234     2005-10-21 Timo Schulz <[email protected]>
235    
236     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use
237     WM_INITPOPUPMENU to localize popup menu texts.
238     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
239     * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.
240    
241     2005-10-20 Timo Schulz <[email protected]>
242    
243     Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.
244    
245     * wptPassphraseCB.cpp (passphrase_cb): Complete card support.
246     * wptCardEdit.cpp (genKey): Handle cancel case.
247     * keycache.c: Renamed into...
248     * wptKeyCache.cpp: ...this.
249     * wptW32API.cpp (set_menu_text): Removed unused code.
250     (set_menu_text_bypos): New.
251     * wptCrypto.h: New.
252     * wptMainProc.cpp (winpt_main_proc): Complete localize
253     menu texts.
254     * wptErrors.cpp (log_debug): Use a static var so the file
255     is only opened once.
256     (debug_end): Cleanup. Currently just close the log file.
257     * wptErrors.h (wipememory): New.
258     (sfree_if_alloc): Use it here.
259     * WinPT.cpp (WinMain): Display the min. GPGME version which
260     is needed in case of an error.
261    
262     2005-10-17 Timo Schulz <[email protected]>
263    
264     Free all memory returned by the GPGME dll with gpgme_free ().
265    
266     s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.
267    
268     * wptKeyEdit.cpp (getCardStatus): Remove dummy key.
269     (list_handler): With user interaction to allow to insert
270     the card into the reader.
271     * wptKeyEditCB.cpp (gpg_edit_card): Likewise.
272     (common_card_handler): Fixed incorrect command string.
273     * wptKeyPropsDlg.cpp (get_card_type): New.
274     (keyprops_dlg_proc): Show card information if present.
275     * wptFileManager.cpp (secret_key_available): Make the code faster.
276    
277    
278     2005-10-16 Timo Schulz <[email protected]>
279    
280     * wptPassphraseCB.cpp (passphrase_cb): Fix problem
281     with hanging GPG process on cancel.
282     * keycache.c (gpg_keycache_release): Release all objects.
283    
284     2005-10-15 Timo Schulz <[email protected]>
285    
286     * wptCardEdit.cpp (setResult, getResult): New.
287     (reset): New.
288     (getCardStatus): Check return codes and release all objects
289     in case of errors.
290     * wptCardEditCB.cpp (change_pin_handler): Call reset()
291     before quit.
292     (editcard_handler): Likewise.
293     (common_card_handler): New.
294     * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask
295     the old PIN when 'Hide Typing' is disabled.
296     * wptPassphraseCB.cpp (passphrase_cb): The card detection
297     works again. Support to re-enter passphrase.
298    
299     2005-10-14 Timo Schulz <[email protected]>
300    
301     * wptCardDlg.cpp (card_status): New fields for the
302     fingerprint creation time. Display card info as title.
303     (get_printable_version): New.
304     * wptCardEditCB.cpp (editcard_handler): Fix problem
305     with the counter comparison.
306    
307     2005-10-11 Timo Schulz <[email protected]>
308    
309     Port to GPGME basically finished.
310    
311     2005-09-20 Timo Schulz <[email protected]>
312    
313     * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):
314     Do not use gpgme_recipients_t but the listview directly
315     to add the selected files.
316    
317     2005-09-07 Timo Schulz <[email protected]>
318    
319     * Make sure all GetOpenFileName filters are terminated by \0\0.
320    
321     2005-09-01 Timo Schulz <[email protected]>
322    
323     * wptW32API.cpp (center_window): New argument for parent window.
324     Change all callers.
325     (center_window2): Likewise.
326     * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.
327     * wptGPG.cpp (gnupg_backup_options): Remove param. One backup
328     file is enough. Changed all callers.
329    
330     2005-08-15 Timo Schulz <[email protected]>
331    
332     * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.
333     * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.
334     * Make sure the passphrase is always overwritten before it is
335     freed (or the function returns).
336     * wptKeyPropDlg.cpp (get_pref_cipher): New.
337     (keyprops_dlg_proc): Use it here.
338    
339     2005-08-06 Timo Schulz <[email protected]>
340    
341     * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
342     of the secret key.
343     (keycache_init): cache name of secret keyring.
344     * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
345     (get_key_type): Do not assume 'ultimate' means key pair.
346     * wptKeyEditDlgs.cpp (diff_time): New.
347     (keyedit_addsubkey_dlg_proc): Changed design and use
348     diff_time. Drop checks for invalid keylength (< 1024, > 4096)
349     because the combo box automatically handles this.
350     * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
351     * wptGPG.cpp (get_backup_name): New.
352     (gnupg_backup_keyrings): Rotate backup names, from 0..3.
353     * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
354     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
355     not the long keyid.
356    
357     2005-08-05 Timo Schulz <[email protected]>
358    
359     * wptListView.cpp (listview_set_item2): New.
360     * wptKeyManager.cpp (km_check_if_protected): Directly
361     retrieve gpgme_key_t from the list.
362     (km_check_key_status): Likewise.
363     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use
364     a human-readable name for secret key export.
365     Reload just the keys which were affected by updates
366     (edit-key).
367     (update_key): New.
368     * wptKeyList.cpp ((keylist_upd_key): Stripped down
369     version of keylist_add_key.
370     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not
371     reload the keycache here, just flag 'update'. Give the
372     control to the calling dialog.
373     * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t
374     as parameter. Changed all callers.
375     Add date of expiration to the key info.
376     (get_expire_date): New.
377     Use a checkbox to allow to ask for the cert level.
378     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload
379     the cache.
380    
381     2005-08-04 Timo Schulz <[email protected]>
382    
383     * wptListView.cpp (listview_scroll): New.
384     (listview_get_item2): New.
385     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the
386     item was found, make it visible with scrolling.
387     * wptKeyManager.cpp (km_find_key): New.
388     (keylist_subclass_proc): Support to handle some acceleators.
389     Strg+{C, P, F, A}.
390     (km_get_key_status): Get the gpgme_key_t object directly
391     from the list.
392     * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set
393     the config file (if it exists).
394     * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code
395     to handle the click->activate situation.
396     * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
397     Support to check the passphrase quality.
398     * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
399     (request_passphrase): Rename 'init' to 'flags' to allow more
400     options.
401     * wptMAPI.cpp: Check all *alloc results.
402     * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary
403     passphrase quality check.
404     * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file
405     format and allow to save the checksum in a file.
406     * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning
407     when the PGP mode is disabled.
408     wptKeyEditDlgs.cpp (do_editkey_primary): Return if just
409     one user-ID exists.
410     (keyedit_dlg_proc): Fixed index problem.
411     * wptKeyPropsDlg.cpp (get_validity): New.
412     (keyprops_dlg_proc): Actually show extended validity if possible.
413     * wptKeyList.cpp (get_key_fpr): Support for old v3 format.
414     (do_addkey): Use listview_add_item2 to store key as opaque
415     param inside the list.
416     * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.
417     (file_stat_dlg_proc): End dialog if no PGP data was found.
418     (do_list_packets): Return the number of valid PGP packets
419     of the file.
420    
421     2005-08-02 Timo Schulz <[email protected]>
422    
423     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of
424     using 'Default Keyserver' add the real keyserver name to
425     the menu.
426     The rebuild command does not reload the cache any longer.
427     Use ATTR_NAME + .asc as the filename and not keyid + .asc.
428     * wptProxySettingsDlg.cpp (enable_proxy_auth): New.
429     (keyserver_proxy_dlg_proc): Changed the design a little
430     and add some additional sanity checks.
431     * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.
432     This fixes the problem that the GPG option dialog does not show
433     very nice lines.
434     * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.
435     * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected
436     check for 'NOKEY' before asking a keyserver.
437     * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.
438     If a lot of keys were selected, ask if the user wants to confirm
439     each delete procedure or allow to cancel the operation.
440     * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much
441     keys the file contain.
442     * wptKeyList.cpp (get_key_algo): Beautified.
443     (get_key_status): Drop the "[XYZ] Unknown" format, it is too
444     confusing for users.
445     * wptKeyManager.cpp (km_check_key_status): Adjustments for the
446     new code.
447     (km_check_for_seckey): Reset utrust parameter. Return -1 for
448     invalid (exp+rev+dis) keys.
449    
450     2005-08-01 Timo Schulz <[email protected]>
451    
452     * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given
453     sizes.
454     (check_IP_or_hostname): New.
455     (kserver_load_conf): Correct finger URL parsing problem.
456     (port_from_proto): New.
457     (keyserver_load_conf): Guess the port.
458     (keyserver_set_default): Allocate new buffer.
459     (kserver_load_conf): Likewise.
460     * wptHTTP.c (parse_reqline, parse_request): Removed.
461     Use WinPT error code and remove all unused code.
462     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.
463     * wptProxySettingsDlg.cpp (read_proxy): Simple check for
464     invalid host/IP addresses.
465     * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.
466     Changed all callers.
467     * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,
468     automatically set 'backup to homedir'.
469     * WinPT.cpp (WinMain): Use desktop window as the parent window
470     to load 'first-start' dialogs.
471     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'
472     flag after deleting keys.
473     * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure
474     for passing the arguments.
475     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for
476     the OptFile. This was responsible for a lot of 'General Errors'
477     after the first start related to key caching.
478     Automatically set the gpg binary if possible.
479    
480     2005-07-22 Timo Schulz <[email protected]>
481    
482     * wptMainProc.cpp (winpt_main_proc): Take care for shutdown
483     messages and make sure WinPT make a keyring backup in this case.
484     * wptGPGME.cpp (keycache_reload): Do not rebuild the signature
485     cache each time. Just do it on startup.
486     * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.
487     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag
488     was set by the calling function.
489     * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.
490     (keygen_dlg_proc): Only add the generated key to the keycache
491     and do not reload the entire cache.
492     * wptKeyManager.cpp (km_delete_keys): Store the number of keys
493     because in each loop iteration it will be new calculated.
494     * wptListView.cpp (listview_del_items): Likewise.
495     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the
496     generated key to the list instead of reloading the entire cache.
497     * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.
498    
499 twoaday 20 2005-05-09 Timo Schulz <[email protected]>
500    
501     * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..
502     (http_dlg_proc): ..this.
503     (get_keyserver_URL_dlg): New.
504     (check_URL): New.
505     * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): New.
506     (keyedit_main_dlg_proc): Avoid massive keycache reloads, just reload
507     the single key.
508     * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Show the key
509     properties of the selected desig. revoker.
510     * wptVerifyList.cpp (verlist_build): Increase the column
511     size of 'keyid'.
512     * wptGPGME.cpp (keycache_update): New.
513     * wptKeySigDlg.cpp (keysig_dlg_proc): Update the key if a signature
514     was deleted.
515     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Zeroing the key struct
516     before we set any values.
517    
518     2005-05-03 Timo Schulz <[email protected]>
519    
520     * wptFileManager.cpp (fm_parse_command_line): Handle
521     'SYMKEYENC' files. Thanks to the user who reported it.
522     * wptKeyEditDlgs.cpp (do_find_userid): Optionally return the context.
523     (showpref_dlg_proc): New.
524     (keyedit_main_dlg_proc): Support SHOWPREF.
525     (userid_list_init): New field 'Email'. Split userID into 'Name' + 'Email'.
526     (do_add_new_userid): Adjust for new ListView.
527     (do_find_userid): Use email for searching.
528     (parse_preflist): New.
529    
530     2005-04-19 Timo Schulz <[email protected]>
531    
532     * wptKeyserver.cpp (kserver_update_proxyuser): Fixed
533     buffer overflow that occurred when the proxy password
534     is > 29 chars. Thanks to the friendly user who reported this.
535     (kserver_search): Handle the case the key is revoked. Thanks
536     to Ralf.
537     (kserver_connect): More logging.
538     (kserver_sendkey): Likewise.
539     * wptProxySettingsDlg.cpp (check_number): New.
540     (read_proxy): Check the entered port number.
541 werner 36 * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.
542 twoaday 22 * wptW32API.cpp (get_folder_dlg): Free memory.
543 twoaday 20
544     2005-04-11 Timo Schulz <[email protected]>
545    
546     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Reset
547     'enable' flag always at the begin.
548     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Show correct
549     key trust. Noted by a friendly user.
550     * wptListView.cpp (listview_add_item_pos): New.
551     * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Due to
552     the fact that GPG does not return the fingerprint of
553     the generated subkey any longer, we need to get it manually.
554     Thanks to Maxime Brandt.
555     (keyedit_addsubkey_dlg_proc): If key size too large, ask
556     if this was a mistake.
557     (keyedit_add_subkey): Use it here.
558     (do_add_new_subkey): Fix list contrl insertion.
559     * wptTypes.h (DEFAULT_KEYSIZE): Define new default keysize constant.
560    
561     2005-04-04 Timo Schulz <[email protected]>
562    
563     * WinPT.cpp (check_crypto_engine): Correct version
564     check. Noted by Werner.
565    
566     2005-03-22 Timo Schulz <[email protected]>
567    
568     * WinPT.cpp (WinMain): --debug as an alias for --enable-debug.
569     (enable_mobile_mode): New.
570     * wptKeyEditDlg.cpp (keyedit_addsubkey_dlg_proc): Use new
571     ID's for adding subkeys.
572    
573     2005-03-06 Timo Schulz <[email protected]>
574    
575     * wptKeySignDlg.cpp (do_fill_seckeylist): Skip secret keys without
576     a public key. Noted by Kurt Fitzner.
577    
578     2005-03-04 Timo Schulz <[email protected]>
579    
580     * GPG asks twice for the new PIN. Thanks to Achim.
581     * wptCardDlg.cpp (card_changepin_dlg_proc): Reset the 'safety' pin also.
582     Only check the passphrase if the backup flag is enabled. Again thanks to
583     Achim.
584    
585     2005-03-03 Timo Schulz <[email protected]>
586    
587     * wptCardDlg.cpp (card_changepin_dlg_proc): Add item to re-type the
588     new PIN. Suggested by Achim.
589     Support to show the unmasked PIN.
590     Modified TAB-order.
591     * wptPINDlg.cpp (pin_cb_dlg_proc): Show unmasked PIN.
592    
593     * Fixed wrong GPG --command-fd strings. Thanks to Achim.
594    
595     2005-02-23 Timo Schulz <[email protected]>
596    
597     * wptKeyserver.cpp (check_hkp_response): Support for HTTP/1.1.
598     (kserver_search): Be more strict.
599     * WinPT.cpp (WinMain): Enable FM progress by default.
600     * wptFileManagerDlg.cpp (file_preferences_dlg_proc): New.
601     (fm_parse_files): Use progress dialog only if it is
602     enabled.
603    
604     2005-02-07 Timo Schulz <[email protected]>
605    
606     * wptFileManager.cpp (fm_parse_files): Do not use the progress dialog
607     for signing and verifying. But this does not fix the problem tha the
608     dialog sometimes stay and is not destroyed.
609    
610     2005-02-04 Timo Schulz <[email protected]>
611    
612     * wptProgressDlg.cpp (progress_cb_thread): Set root window if available.
613     If the progress window survives by accident, it will be closed when the
614     File Manager (root window) is closed.
615    
616     2005-02-02 Timo Schulz <[email protected]>
617    
618     * wptPassphraseDlg.cpp (passwd_dlg_proc): use center_window2, otherwise
619     it is invisible.
620     * wptPassphraseCB.cpp (passphrase_callback_proc): Do not cache symmetric
621     passphrases.
622     * Enable the progress dialog for symmetric encryption.
623     * wptFileManager.cpp (fm_check_file_type): Also check for 'SYMKEYENC' in
624     FM_ENCRYPT mode.
625     * WinPT.cpp (WinMain): SETUP_EXISTING implemented.
626     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Reset 'Locale directory' when
627     no value is entered.
628    
629     2005-01-26 Timo Schulz <[email protected]>
630    
631     * wptGPG.cpp (multi_gnupg_path): Zero buffer before use.
632     * wptKeyManagerDlg.cpp: Add 'Select All' feature.
633     Move 'Edit->Key' to 'Key->Edit'.
634     * wptFileManagerDlg.cpp: Likewise.
635     * wptKeyPropsDlg.cpp (keyprops_show_photo): Show the JPG photo directly.
636     * wptKeyManager.cpp (spawn_loadimage): Removed.
637     (km_show_photo): Removed.
638     * wptRevokersDlg.cpp (revokelist_init): Fixed index.
639     * wptErrors.cpp (winpt_strerror): Show system error for registry
640     related problems.
641    
642     2005-01-25 Timo Schulz <[email protected]>
643    
644     * wptCardDlg.cpp (card_keygen_dlg_proc): Make 'backup keys' default
645     and that all values are 7-bit ASCII.
646     Use '*' for the passphrase field.
647     * wptGPG.cpp (multi_gnupg_path): New.
648     (get_gnupg_path): Use it here.
649     (check_homedir): Likewise.
650     * wptKeyserverDlg.cpp (save_default_ks): Fix problem that the port
651     is actually set.
652     * wptFileManager.cpp (fm_clearsign_8bit): New.
653     (fm_parse_files): Check if the file to clearsign is really 7-bit.
654     Thanks to djek.
655     (fm_set_ftype): Factored out some code from...
656     (fm_add_dropped_files): ...here. Simplied the code.
657     (fm_add_dir_files): New.
658     * Removed MD5 from MyGPGME and the new default sym cipher is AES.
659     * wptProgressDlg.cpp (progress_dlg_proc): Use additional HAND var
660     to track the window handle.
661     (progress_cleanup): Try to close tracking handle first.
662    
663     2005-01-21 Timo Schulz <[email protected]>
664    
665     * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Allow to retrieve keys
666     which are not in the keyring. Suggested by djek.
667     * wptFileManagerDlg.cpp (filemanager_dlg_proc): Implement basic
668     'Always on Top'.
669     Allow to send encrypted files via MAPI.
670     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Only reload the keycache
671     if the HKP retrieval succeeded.
672     * wptFileStatDlg.cpp (do_list_packets): Make sure that the pkt pointer
673     is not NULL.
674     * wptKeyManager.cpp (km_clip_export): Prefix the clipboard text with
675     a header similar to 'gpg -k name'.
676     * wptErrors.cpp (log_box): Use msg_box to make sure the box is visible
677     with 'Always on Top' windows.
678     * wptFileManager.cpp (fm_parse_files): Set progress callback for
679     wiping files.
680     (fm_add_opened_files): Do not add the file in case of an error.
681     * wptKeyserverDlg.cpp (kserver_get_port): New.
682     (save_default_ks): Save port.
683     * wptKeyserver.cpp (set_default_kserver): Get port or use default.
684     (kserver_connect): Logging.
685     (kserver_send_request): Likewise. Thanks to Markus.
686     * wptError.cpp (w32_fmt_msg): New.
687     (winpt_strerror): Show the W32 API error if the hotkey could not
688     be registered.
689    
690     2005-01-20 Timo Schulz <[email protected]>
691    
692     * wptKeycacheDlg.cpp (keycache_dlg_proc): Be less strict with the
693     keyring check. If the file exists, it is enough.
694     * wptKeyring.cpp (kserver_load_conf): Use C++ new for proxy_host.
695     Several cleanups and allow to specify the port of the keyserver.
696     * wptMainProc.cpp (winpt_main_proc): Handle WM_CLOSE to make sure
697     the application terminates clearly when Windows shutdown.
698    
699     2005-01-10 Timo Schulz <[email protected]>
700    
701     * WinPT.cpp (load_gettext): New.
702     (WinMain): Use it here to load it before --keymanager. Thanks to Ralf.
703    
704     2005-01-08 Timo Schulz <[email protected]>
705    
706     * Applied the patches to make the source G++ compatible.
707     * wptKeyserver.cpp (kserver_load_conf): Use the stripped string.
708     * wptKeygenDlg.cpp (keygen_dlg_proc): Default key size is now 2048.
709     * wptFileManagerDlg.cpp (fill_drive_combobox): Do not add CD-Roms.
710    
711     2005-01-07 Timo Schulz <[email protected]>
712    
713     * wptKeyserver.cpp (skip_type_prefix): Support all URL schemes.
714     (finger_recvkey): Use skip_type_prefix and prevent buffer overflows.
715     (ldap_recvkey): Likewise.
716     (check_hkp_response): Be more liberal with error strings.
717     (kserver_connect): Prevent buffer overflow and use the right return
718     code for inet_addr().
719     (kserver_search_chkresp): New.
720     (kserver_search): Fixed. Now it works with modern keyservers.
721     * wptKeylist.cpp (seclist_init): Add new flags param.
722     * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use short secret key
723     listing.
724     * wptClipboardSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
725     * wptMainProc.cpp (winpt_main_proc): GPGME cleanup.
726     * WinPT.cpp (WinMain): call GPGME init.
727     Reword the 'you have no keyring' problem and revamp the first run dialog.
728     * wptGPG.cpp (gnupg_access_keyring): New.
729     (gnupg_check_keyring): Removed unused code.
730     * wptFirstRunDlg.cpp (first_run_dlg_proc): Adjust dialog for the
731     new texts and remove unused elements.
732     * wptKeyserverDlg.cpp (keyserver_dlg_proc): s/keyserver/kserver. The
733     last annoying typo.
734     * wptKeyserverSearchDlg.cpp (hkpsearch_dlg_proc): End dialog in case of
735     an error.
736    
737     2004-12-30 Timo Schulz <[email protected]>
738    
739     * wptKeyserverDlg.cpp (keyserver_list_build): Initialize pointer.
740     This fixes the problem that the dialog crashes when the user selects
741     anything. Thanks to my users.
742     (keyserver_dlg_proc): s/keyserver/kserver. Thanks to Ulf.
743    
744     2004-12-20 Timo Schulz <[email protected]>
745    
746     * wptGPG.cpp (check_gnupg_engine): Fixed version checking.
747     * wptFileManager.cpp (fm_encrypt): Delete the passphrase from the
748     cache if it is not valid.
749    
750     Fix problem with a NULL pointer.
751    
752     2004-12-15 Timo Schulz <[email protected]>
753    
754     * wptFileManagerDlg.cpp (space_wipefrees_dlg_proc): Use the right
755     temp name.
756     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable 'OK' button
757     when no secret key is available.
758    
759     2004-12-11 Timo Schulz <[email protected]>
760    
761     * wptFileManager.cpp (fm_add_opened_files): Fix broken code to detect
762     the file type.
763     (fm_parse_command_line): Likewise.
764    
765     2004-12-02 Timo Schulz <[email protected]>
766    
767     * wptKeySigDlg.cpp (do_load_keyprops): Only issue errors for non-main nodes.
768    
769     2004-11-04 Timo Schulz <[email protected]>
770    
771     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Support preferred
772     keyserver sub packets.
773    
774     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Set a flag to
775     indicate we need to reload the cache. If a user deletes a key
776     and exits the manager and loads it again the deleted key is
777     still in cache and provoked an error.
778    
779     * wptKeySigDlg.cpp (do_load_keyprops): Stricter key checks.
780    
781     * wptW32API.cpp (center_window): Replaced with real code which calculates
782     the position relative to the desktop window.
783    
784     2004-10-25 Timo Schulz <[email protected]>
785    
786     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Issue an info box
787     if the PGP message is complete but broken during the transport.
788     Thanks to Werner and Achim.
789     * wptFileManager.cpp (fm_sym_encrypt): Do not force CAST5. Thanks
790     to the gnupg-users.
791     * Automatically add '\r\n' to the text before signing. This solves
792     the problem the last line is not included if no \r\n is present.
793     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Add a 'mail quote' mode
794     which prepends the text with '> '. This makes it easier to quote
795     decrypted text.
796     * wptKeyserverDlg.cpp (keyserver_list_build): Code which was factored
797     out from..
798     (keyserver_dlg_proc): ..here.
799    
800     2004-10-15 Timo Schulz <[email protected]>
801    
802     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Make sure that opt
803     is really initialized.
804    
805     2004-10-07 Timo Schulz <[email protected]>
806    
807     * wptErrors.cpp (winpt_errmsg): Use a generic header when no
808     filename is supplied.
809     * wptMainProc.cpp (cleanup_tmp_files): Do not use BUG but
810     an error message which is more clean. Thanks to Ralf.
811     * wptCardDlg.cpp (card_keygen_dlg_proc): Support new card
812     admin mode.
813     * wptKeySignDlg.cpp (do_check_protection): Also check for smart
814     card protection.
815     (get_keyinfo): Return if this is a smart card key.
816     * wptKeyEditDlgs.cpp (do_find_userid): Use UTF8 encoding before
817     comparing the names.
818     * winpt.cpp: Now depends on PTD 0.7.1.
819    
820     2004-10-01 Timo Schulz <[email protected]>
821    
822     * wptClipSignDlg.cpp: Really use the selected subkey with the
823     right '!' syntax. Thanks to Vedaal for pointing this out.
824     * wptGPG.cpp (gnupg_backup_keyrings): Check if the backup device
825     is accessable and writeable, otherwise inform the user. Kudos to
826     the one who reported this problem.
827    
828     2004-09-20 Timo Schulz <[email protected]>
829    
830     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable 'Sign' in
831     context menus when the key is flagged as revoked.
832     (update_ui_items): Likewise and set the 'ShowPhoto' flag only if
833     the key has such an item.
834    
835     2004-09-08 Timo Schulz <[email protected]>
836    
837     * wptKeyserverDlg.cpp (kserver_get_pos): If only one element is
838     in the list, return zero.
839    
840     2004-09-07 Timo Schulz <[email protected]>
841    
842     * wptAboutDlg.cpp (about_dlg_proc): Add 'Help' button. Suggested by Ralf.
843     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
844    
845     2004-09-01 Timo Schulz <[email protected]>
846    
847     * wptGPG.cpp (GPG_CONF): Define it. Use gpg.conf by default.
848     (default_key_from_cache): Use new key attribute 'usable'.
849     * WinPT.cpp (show_unprotected_keys): Removed.
850     * wptKeylist.cpp (check_key): Removed.
851     (seclist_init): Use new 'usable' key attribute.
852     (keylist_add_key): Likewise.
853     * wptKeyManagerDlg.cpp (keylist_subclass_proc): support to
854     add keys via 'INSERT'.
855     * wptListView.cpp (listview_select_one): New.
856     (listview_find): New.
857     * wptFileManager.cpp (fm_get_current_pos): If there is only
858     one item, return 0 but also select it. Thanks to Christian.
859    
860     2004-08-28 Timo Schulz <[email protected]>
861    
862     * WinPT.cpp (WinMain): Free gpg table in case of an error.
863     * wptFileManagerDlg.cpp (filelist_subclass_proc): New.
864     (filemanager_dlg_proc): Subclass the list control.
865     * Fix Alt+C for the winpt_prefs_dlg_proc.
866     * wptKeyserver.cpp (kserver_load_conf): Ignore lines with
867     just whitespaces. Thanks to the folks on winpt-users.
868    
869     2004-08-27 Timo Schulz <[email protected]>
870    
871     * wptKeyserver.cpp (skip_whitespace): New.
872     * Fix a problem with the key cache. The new hash item was
873     not initialized to zero and thus the free caused an illegal access.
874     Thanks to Ralf for pointing this out.
875     * wptTextInputDlg.cpp (text_input_dlg_proc): Finished with localisation.
876     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
877     * wptFirstRunDlg.cpp (first_run_dlg_proc): Remove global variable and
878     use a context to store the value. Loalize all text strings.
879     * wptKeyList.cpp (key_check_validity): Cannot use gettext here.
880     (keylist_get_recipients): Increase buffer for gettext messages.
881    
882     2004-08-26 Timo Schulz <[email protected]>
883    
884     * WinPT.cpp (load_keyserver_conf): New. Factored out some code
885     from WinMain ().
886 twoaday 41 (WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner
887 twoaday 20 * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver
888     in the list control, add at least the internal default HKP server.
889     * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.
890     * wptKeySignDlg.cpp (sig_class_dlg_proc): Likewise.
891     (keysign_dlg_proc): Likewise.
892     * wptKeySigDlg.cpp (keysig_dlg_proc): Likewise.
893     * wptKeyserver.cpp (skip_type_prefix): New. Thanks to Marcus Junk.
894     (kserver_connect): use it here.
895     (kserver_send_request): Likewise.
896     (kserver_recvkey): Likewise.
897    
898     2004-08-25 Timo Schulz <[email protected]>
899    
900     * wptFileManager.cpp (fm_get_file_type): Skip files over 32 MB
901     and skip to read large files on floppy discs.
902     (fm_wipe): Display a 'wait' cursor until the wipe is complete.
903     (is_floppy_disc): New.
904     * wptFileManagerDlg.cpp (filelist_subclass_proc): New.
905     (file_manager_dlg_proc): Use subclassing to allow some hotkeys.
906    
907     2004-08-24 Timo Schulz <[email protected]>
908    
909     * wptKeyEditDlgs.cpp (userid_list_init): Add creation date for
910     the user-ids.
911     * wptKeygenDlg.cpp (key_wizard_dlg_proc): Allow to switch into
912     expert mode when the non-interactive mode is used.
913     * WinPT.cpp (WinMain): Start the keygen wizard instead of the
914     expert dialog and allow to switch to it.
915    
916     2004-08-20 Timo Schulz <[email protected]>
917    
918     * wptKeyManagerDlg.cpp (do_create_minpopup): In read-only
919     mode the menu is not available.
920     (popup_gpg_readonly): New.
921     (menu_gpg_readonly): New.
922     (keymanager_dlg_proc): Use it here. Do not check the permissions
923     any longer since this is now handle via the read-only code.
924     * wptMainProc.cpp (winpt_main_proc): Check if the keyrings
925     are in read-only mode.
926     * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): RSA support.
927     * wptKeySignDlg.cpp (keysign_dlg_proc): Allow non-revocably
928     signatures in expert mode.
929     * wptKEyEditDlgs.cpp (do_find_userid): Release context.
930     * wptGPG.cpp (gpg_check_permissions): Only print out a warning
931     in the interactive mode.
932     * wptTrayPopDlg.cpp (WndProc): Destroy the window when the left
933     mouse button is clicked.
934    
935     2004-08-19 Timo Schulz <[email protected]>
936    
937     * wptKeyEditDlg.cpp (keyedit_addsubkey_dlg_proc): Corrected
938     key numbers.
939    
940     * wptKeysigDlg.cpp (do_delsig): New. Implement 'delsig' command.
941     (is_sig): Change code to allow to check pre-defined fields.
942    
943     * WinPT.cpp (WinMain): Allow read-only support for keyrings.
944    
945     2004-08-06 Timo Schulz <[email protected]>
946    
947     * wptContext.h: Move subclass_s context to this file.
948    
949     * wptKeysigDlg.cpp (subclass_dlg_proc): New.
950    
951    
952     2004-08-05 Timo Schulz <[email protected]>
953    
954     * wptKeySigDlg.cpp (sigprops_dlg_proc): Set the 'expired' flag
955     when possible.
956     New dialog layout to enhance the readability of the text. Use
957     flat check boxes for the same reason.
958    
959     * wptKeyEditDlgs.cpp (do_editkey_expire): Set new value to
960     the right column (3 not 4).
961    
962     * wptFileManagerDlg.cpp: Make sure the wipe freespace tempfile
963     uses a unique name.
964    
965    
966     2004-08-04 Timo Schulz <[email protected]>
967    
968     * wptClipEditdlg.cpp (clip_edit_dlg_proc): Removed the
969     edit-field to display the text. Now a RichEdit field is
970     used. This solves the XP problem that the viewer is empty
971     even if there is text in it.
972    
973     * wptKeyManger.cpp (km_file_export): Add WinPT specific comment.
974    
975     * wptKeySigDlg.cpp (sigprops_dlg_proc): New.
976     (keysig_dlg_proc): Add new 'Properties' button and implement
977     the code for it.
978    
979     * wptSigList.cpp: Add support to show the expiration date.
980    
981     * wptGPGME.cpp (keycache_init): Support to show the progress bar.
982     (keycache_release): Store the amount of keys in the registry for
983     the progress dialog.
984    
985     * wptPreferenceDlg.cpp (prefs_dlg_proc): Add support to generate
986     default keyserver.conf.
987    
988     * wptKeyserver.cpp (kserver_load_conf): Store the mod-time of the file.
989     Fix possible buffer overflow.
990     (wsock_end): Release stored keyserver list.
991    
992     * wptEncryptDlg.cpp (clip_encrypt_dlg_proc): Allow to search for
993     a specific recipient and select it.
994    
995     2004-08-02 Timo Schulz <[email protected]>
996    
997     * wptKeysigDlg.cpp (do_create_popup): New.
998     (do_load_keyprops): New.
999    
1000     (keysig_dlg_proc): Factor out some common code and use
1001     do_load_keyprops.
1002    
1003     * wptKeyServer.cpp (kserver_check_inet_connection): New.
1004    
1005     * wptKeyManger.cpp (km_refresh_from_keyserver): First check
1006     for an active internet connection. It's annoying for the
1007     user to confirm an connection error for each key (n>40).
1008    
1009     2004-07-27 Timo Schulz <[email protected]>
1010    
1011     * wptKeyManagerDlgProc.cpp (keymanager_dlg_proc): Set the new
1012     value for the ownertrust.
1013    
1014     * wptKeyManager.cpp (get_key_trust): Make it public.
1015     (get_key_trust_str): New.
1016     (km_refresh_from_keyserver): Allow to select random keys.
1017     (km_refresh_one_key): New.
1018    
1019     * wptKeyserver.cpp: Use default keyserver if possible.
1020    
1021     2004-07-13 Timo Schulz <[email protected]>
1022    
1023     * wptFileManager.cpp (fm_assume_onepass_sig): New.
1024     Thanks to Vedaal who found out that armored one-pass sigs are not
1025     correctly recognized.
1026    
1027     (ask_filename): New.
1028     Again thanks to Vedaal who suggested to ask for a new output name
1029     for the case the user does not want to overwrite the file.
1030    
1031     (fm_encrypt): Use it here.
1032     (fm_decrypt): Likewise.
1033     (fm_sign): Likewise.
1034    
1035     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): New context menu entry
1036     to set secret keys to ultimate trust.
1037    
1038     * wptKeyManager.cpp (km_check_for_seckey): Optionally return if the
1039     key has ultimate trust.
1040     (km_set_implicit_trust): New.
1041    
1042     2004-07-12 Timo Schulz <[email protected]>
1043    
1044     * wptRegistry.cpp: Support for disable compression of multi-media files.
1045     (set_reg_winpt_single): New.
1046     (get_reg_winpt_single): New.
1047    
1048     * wptFileManager.cpp (is_multi_media): New.
1049     (fm_encrypt): Disable compression of multi-media files.
1050     (fm_state_new): Set comment to indicate armored files were generated
1051     by WinPT. This is a replacement due to the fact the WinPT string is not
1052     added in the 'Version' for larger files.
1053    
1054     * WinPT.cpp (WinMain): Extract the loadimage.exe from the DLL if not found.
1055    
1056     2004-07-11 Timo Schulz <[email protected]>
1057    
1058     * Bug fix for the validity revoked status. Now it is 'revoked'
1059     and not 'unknown' any longer.
1060    
1061     * Feature to disable encryption. This might be useful for filetypes
1062     GPG does not recognize as compress (movies, ...).
1063    
1064     * wptFileManager.cpp (fm_get_file_type): Skip packet detction if
1065     the file is large and it has no openpgp extension.
1066    
1067     2004-06-19 Timo Schulz <[email protected]>
1068    
1069     * wptInet.cpp: Renamed to ...
1070     * wptHttp.c: ... this.
1071     * wptKeyManager.cpp (km_http_import): Release 'p' not too early.
1072     * WinPT.cpp (WinMain): If there is a problem with the homedir,
1073     jump to the first start settings.
1074    
1075     2004-06-12 Timo Schulz <[email protected]>
1076    
1077     * wptInet.cpp: Updated.
1078     * wptKeyManager.cpp (km_http_import): Use http_send_request2() to
1079     parse the URL.
1080     * wptCommonDlg.cpp (http_file_dlg_proc): New.
1081     (get_http_file_dlg): New.
1082    
1083     2004-06-08 Timo Schulz <[email protected]>
1084    
1085     * wptInet.cpp: New.
1086     * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Support for http
1087     transfers.
1088     * wptKeyManager.cpp (km_http_import): New.
1089    
1090    
1091     2004-06-02 Timo Schulz <[email protected]>
1092    
1093     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Do not issue an error
1094     if there is no clipboard data.
1095    
1096     Release memory in case of an error.
1097    
1098     * wptKeyManager.cpp (keylist_cmp_cb): Allow to sort by algorithm.
1099    
1100     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1101    
1102    
1103     2004-05-31 Timo Schulz <[email protected]>
1104    
1105     * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Implement the
1106     'X' close button. Noted by a friendly user.
1107    
1108     Disable 'Save' button.
1109    
1110     * wptMainProc.cpp (cleanup_tmp_files): Delete all related temp files.
1111    
1112     * wptFileManager.cpp (fm_set_status): Do not use the data file name
1113     for signatures but keep the original file name.
1114    
1115     (fm_verify_pasted_detsig): Try to verify detached signatures from
1116     the clipboard.
1117    
1118     2004-05-14 Timo Schulz <[email protected]>
1119    
1120     * WinPT.cpp (check_crypto_engine): Due to some
1121     internal GPG changes the min. version for smart card
1122     support is now 1.3.6.
1123    
1124     * wptProxySettingsDlg.cpp (read_proxy): Correct prefix
1125     handling. Thanks to the folks who reported this via SF.net.
1126    
1127     * wptRegistry.cpp (get_reg_winpt_prefs): Corrected enum ids.
1128     Thanks to the folks on winpt-users who reported it.
1129    
1130     * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix code in case of
1131     the hotkeys are disabled.
1132    
1133     * wptKeylist.cpp (do_addkey): Broken ElGamal dection, fixed.
1134    
1135     * wptFileManager.cpp (fm_get_file_type): Do not parse the entire
1136     file if the size is >= 256MB.
1137    
1138     2004-03-15 Timo Schulz <[email protected]>
1139    
1140     * Decrypt list box has now a vertical scroll bar.
1141    
1142     2004-03-11 Timo Schulz <[email protected]>
1143    
1144     * The DLL is now complety C-source.
1145    
1146     2004-03-08 Timo Schulz <[email protected]>
1147    
1148     * wptGPG.cpp (gnupg_import_keyrings): cleanups.
1149    
1150     * wptUTF8.c (utf8_to_wincp): New. Directly convert UTF-8 to Windows
1151     CP.
1152     (wincp_to_utf8): Likewise.
1153     (conv_charset): Now internal and static.
1154    
1155     * wptUTF8.h: New prototypes and remove the old prototypes.
1156    
1157     * WinPT.cpp (WinMain): Destroy the windows handle in case of an error.
1158    
1159    
1160     2004-03-07 Timo Schulz <[email protected]>
1161    
1162     * wptGPG.cpp (get_gnupg_keyring): Special case because GPG creats
1163     dummy keyrings with a size of zero in the homedir.
1164    
1165     (gpg_check_permissions): Check for read-only keyrings and add code
1166     for this case.
1167    
1168     This problem fixes a lof of other problems related to the OpenPGP
1169     parsing stuff for the key cache.
1170    
1171     * WinPT.cpp (check_crypto_engine): Store the GPG version for later use.
1172    
1173     2004-03-04 Timo Schulz <[email protected]>
1174    
1175     * wptKeyserver.cpp (finger_recvkey): Error if key was not found
1176     or garbled.
1177    
1178     * wptGPG.cpp (gpg_check_permissions): Take care of the entries
1179     in gpg.conf.
1180    
1181     * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Support to select
1182     the signer. Suggested by Sebastian.
1183    
1184     * wptKeylist.cpp (seclist_init): Moved from the clip dialog file to
1185     this file.
1186     (seclist_free): Likewise.
1187     (seclist_select_key): Likewise.
1188    
1189     * wptFileManager.cpp (fm_encrypt): Handle the case the signer was
1190     already set.
1191    
1192     2004-03-02 Timo Schulz <[email protected]>
1193    
1194     * wptGPG.cpp (check_keyring): Handle the case that the keyring
1195     is set in the gpg.conf file and the pubring.gpg file is zero bytes.
1196    
1197     (gnupg_backup_keyrings): Support backup of keyrings which were set
1198     in gpg.conf. Thanks to the user who reminded me of this problem.
1199    
1200     (gnupg_check_file_ext): Make check not case sentensive.
1201    
1202     * (sfree_if_alloc): Overwrite the memory with zeros before freeing
1203     it. This only works with c-strings! Use it everywhere we handle
1204     sentensive information (passphrases).
1205    
1206     * Try to improve the usability with better menu names and new
1207     ordering.
1208    
1209     * wptKeyMangerDlg.cpp: Make the 'Trust' column sortable.
1210    
1211     * wptMainProc.cpp (winpt_main_proc): Removed GPG about dialog. Now
1212     it is part of the WinPt about dialog. This way we can minimize the
1213     elements in the popup menu.
1214    
1215     2004-02-29 Timo Schulz <[email protected]>
1216    
1217     * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Support throw-keyid.
1218    
1219     * wptKeySignDlg.cpp (do_fill_seckeylist): Make sure we skip key itself
1220     so we are not allowing to sign ourself.
1221    
1222     * wptSigList.cpp (siglist_add_key): Support for the signature
1223     flags (local, non-revocably, ...).
1224    
1225     * Key signing with GPG 1.2.x should work again. Hopefully.
1226    
1227     2004-02-26 Timo Schulz <[email protected]>
1228    
1229     * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Issue an error
1230     if no recipient was selected.
1231    
1232     * wptFileManager.cpp (fm_parse_files): Make sure the progress dialog
1233     is destroyed. This fixes the bug that the dialog sometimes exist even
1234     after the procedure ended.
1235    
1236     * wptProgressDlg.cpp (progress_callback): Change the if-then-else
1237     struct to prevent zombie dialogs.
1238    
1239     * wptKeyserver.cpp: Removed unused prototypes.
1240    
1241     2004-02-25 Timo Schulz <[email protected]>
1242    
1243     * wptKeyManagerDlg.cpp: Use consequently 'List Signatures' and
1244     do not mix the names in the different menus.
1245    
1246     * wptSigList.cpp: Support to show the signature class.
1247    
1248     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable the combo
1249     box when there is no secret key available.
1250    
1251     (do_init_keylist): Do not allow to use the owners key as a desig
1252     revoker.
1253    
1254     * wptKeylist.cpp (get_key_trust): New.
1255     (do_addkey): Use it here.
1256    
1257     2004-02-24 Timo Schulz <[email protected]>
1258    
1259     * WinPT.cpp (WinMain): Call a selftest check procedure to
1260     make sure all cryptographic code works as expected.
1261    
1262     2004-02-22 Timo Schulz <[email protected]>
1263    
1264     * PTD: Cryptdisk seems to have problems with locking. Use
1265     a forced flag to tell the code if it should bail out or
1266     ignore locking errors.
1267    
1268     * wptCryptdisk.cpp (cryptdisk_umount_dlg_proc): Use new
1269     locking code.
1270     (cryptdisk_new_dlg_proc): Adjust size of the volume.
1271    
1272     2004-02-21 Timo Schulz <[email protected]>
1273    
1274     * wptCryptdisk.cpp (cryptdisk_cleanup): New.
1275     (is_nt4): Because my Platform-SDK is too old I need to load
1276     some prototypes dynamically.
1277     (init_drives): Return the first useable drive letter if
1278     called with appropriate parameters.
1279     * wptMainProc.cpp (winpt_main_proc): Use it here.
1280    
1281     2004-02-18 Timo Schulz <[email protected]>
1282    
1283     * Modify the cryptdisk code for crosscrypt 0.4.1.
1284     * wptCryptDisk.cpp (do_mount): Add key algorithm param.
1285    
1286     2004-02-17 Timo Schulz <[email protected]>
1287    
1288     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Also encrypt
1289     to the signers key. Suggested by Alexander.
1290     Use new keycache system, we use the public key part of the
1291     cache because it has all flags set.
1292     * wptGPG.cpp (default_key_from_cache): Use new cache system.
1293     * wptKeySignDlg.cpp (do_fill_seckeylist): Likewise.
1294    
1295    
1296     2004-02-12 Timo Schulz <[email protected]>
1297    
1298     * wptErrors.cpp: New error codes for the cryptdisk feature.
1299     * wptCryptdisk.cpp (do_dispatch): Better error handling.
1300     (cryptdisk_mount_dlg_proc): Use it here.
1301     (cryptdisk_umount_dlg_proc): Likewise.
1302     (init_drives): Use system list.
1303    
1304     Localized all strings.
1305    
1306     2004-02-09 Timo Schulz <[email protected]>
1307    
1308     * wptCryptdisk.cpp (cryptdisk_umount_dlg_proc): New.
1309     (do_reaping): New. Release the list if all items are 'expired'.
1310     (cryptdisk_mount_dlg_proc): New.
1311     (init_drives): New.
1312     * wptMainProc.cpp (cryptdisk_proc): Renamed from...
1313     (handle_cryptdisk): this. And filled with life.
1314    
1315     2004-02-08 Timo Schulz <[email protected]>
1316    
1317     * wptCryptdisk.{cpp,h}: New. Support for the extended
1318     filedisk application.
1319     * wptMainProc.cpp (winpt_main_proc): Likewise.
1320     * WinPT.cpp (WinMain): Make sure the new PTD lib is installed.
1321    
1322     2004-02-05 Timo Schulz <[email protected]>
1323    
1324     * wptRegistry.cpp (set_reg_winpt_prefs): Forget to handle
1325     CMD_DISHOTKEYS. Thanks to the user who reminded me.
1326     * wptMainProc.cpp (spawn_cryptdisk): New interface to
1327     the Cryptdisk application.
1328    
1329     2004-02-04 Timo Schulz <[email protected]>
1330    
1331     * wptRegistry.cpp (get_reg_winpt_prefs): Revamped the core.
1332    
1333     2004-02-03 Timo Schulz <[email protected]>
1334    
1335     * WinPT.cpp (check_crypto_engine): New. Factor out common code.
1336     (WinMain): Check the crypto engine after the first start.
1337    
1338     * wptRegistry.cpp (set_reg_winpt_prefs): Make sure an error is
1339     issued if the values could not stored. Revamped the core.
1340    
1341     * Removed the last appearance of the GPG agent support.
1342    
1343     * wptGPG.cpp (init_gnupg_table): Do not use static buffers.
1344     (free_gnupg_table): Free memory.
1345    
1346     * wptClipImportDlg.cpp (clip_import_dlg_proc): Make sure the
1347     ctx pointer get malloced and set the contents to zero.
1348    
1349    
1350     2004-02-02 Timo Schulz <[email protected]>
1351    
1352     * wptCardDlg.cpp (card_keygen_dlg_proc): Make sure the name
1353     is long enough. The same check for the mail address.
1354    
1355     Thanks to Achim.
1356    
1357     2004-01-28 Timo Schulz <[email protected]>
1358    
1359     * wptCardDlg.cpp (card_keygen_dlg_proc): A info is issued
1360     if keys on the card exist but the user does not said overwrite.
1361    
1362     Make sure the expire date is not in the past.
1363    
1364     * wptMainProc.cpp (winpt_main_proc): Avoid to release the file
1365     lock twice. Not sure if this fixes some other problems but it
1366     was definitely a bug.
1367    
1368     * wptMapi.cpp (mapi_init): Make sure all function ptrs are
1369     initialized otherwise bail out.
1370     (mapi_send_message): New. Interface to allow to send an
1371     encrypted mail with zero ore more encrypted attachments.
1372     (secure_attachment): New.
1373     (parse_recipients): New.
1374    
1375     2004-01-25 Timo Schulz <[email protected]>
1376    
1377     * WinPT.cpp (WinMain): Silently die when an instance is already
1378     running. Do not confuse the user with a message. Suggested by
1379     Sebastian.
1380     * wptKeyManager.cpp (delete_keys_from_cache): New.
1381     (km_delete_keys): Use it here. Thanks to Achim.
1382    
1383     2004-01-23 Timo Schulz <[email protected]>
1384    
1385     * wptCardDlg.cpp (check_pin_len): New. Check if the
1386     PIN is long enough and give an appropriate error.
1387     (card_changepin_dlg_proc): Use the new check function.
1388    
1389     2004-01-22 Timo Schulz <[email protected]>
1390    
1391     * Remove all internal card reader config. It's up to the
1392     user to do this. It would be too error proune to offer it.
1393     * wptCard.h: Removed all card driver stuff.
1394     * wptPinDLG.cpp (pin_cb_dlg): Use better names to differ
1395     between the admin and the user (normal) PIN.
1396    
1397     2004-01-04 Timo Schulz <[email protected]>
1398    
1399     * wptImageList.{cpp,h}: New. Contributed by Andreas Jobs.
1400     * wptKeylist.cpp (keylist_cmp_cb): More patches from Andreas
1401     and minor changes.
1402     * wptListView.cpp (listview_sort_items): Likewise.
1403     * wptKeyManager.cpp (key_manager_dlg_proc): Likewise.
1404     (regist_sep_wnd): Factored out some code.
1405    
1406     2004-01-03 Timo Schulz <[email protected]>
1407    
1408     * wptClipImportDlg.cpp (clip_import_dlg_proc): automatically allow
1409     to import secret keys.
1410    
1411     2003-12-31 Timo Schulz <[email protected]>
1412    
1413     * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Do not sort
1414     the list otherwise the index is wrong.
1415     * wptKeySignDlg.cpp (keysign_dlg_proc): Add the ability to set
1416     a signature expire date.
1417    
1418     2003-12-30 Timo Schulz <[email protected]>
1419    
1420     * fixed the GPG edit-key commands sign and addrevoker.
1421    
1422     2003-12-23 Timo Schulz <[email protected]>
1423    
1424     * wptKeyEditAddKEyDlg.cpp (keyedit_addsubkey_dlg_proc): Remove
1425     ElGamal s+e support. Oops, this should be already done.
1426     * wptGPGME.cpp (keycache_init): Sync both key caches. In other
1427     words transfer some flags from the sec-cache to the pub-cache.
1428     * wptKeySignDlg.cpp (key_sign_dlg_proc): A workaround for the
1429     key sign procedure. If it is already signed, the process
1430     sometimes hangs.
1431    
1432     2003-12-14 Timo Schulz <[email protected]>
1433    
1434     * wptKeyeditSetPrefDlg.cpp (get_userid_preflist): New.
1435     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Support for updpref.
1436     (do_editkey_setpref): Implement updpref command.
1437    
1438    
1439     2003-12-10 Timo Schulz <[email protected]>
1440    
1441     * GPGME support to change key preferences.
1442     * wptKeyeditSetPrefDlg.cpp (keyedit_setpref_dlg_proc): New.
1443     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use the new feature here.
1444    
1445    
1446     2003-11-29 Timo Schulz <[email protected]>
1447    
1448     * wptMAPI.cpp (mapi_init): New.
1449     (mapi_deinit): New.
1450     (mapi_send_pubkey): New.
1451     * wptKeyManager.cpp (km_send_to_mail_recipient): New.
1452     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Support
1453     to send the public key via MAPI to a recipient.
1454     * wptKeySignDlg.cpp (do_fill_seckeylist): Make sure we rewind
1455     the secret key cache so it's not at the end.
1456     (keysign_dlg_proc): Issue a warning when no secret key was
1457     found which could be used for signing the key.
1458     * wptKeylist.cpp (do_addkey): Never add an Elgamal sign+encrypt key.
1459     * wptKeySignDlg.cpp (do_fill_seckeylist): Likewise.
1460    
1461     2003-11-28 Timo Schulz <[email protected]>
1462    
1463     * Remove all support for ElGamal sign+encrypt keys.
1464    
1465     There is a flaw in GPG which makes all such keys useable and
1466     they are comprised even if one signature they made is accessable.
1467     And due to the fact the key is self signed, such a sig is always
1468     available for the public.
1469    
1470     We warn the user at startup if such keys were found!
1471    
1472     * wptMainProc.cpp (elgamal_warn_dlg_proc): New.
1473     * wptGPGME.cpp (count_insecure_elgkeys): New.
1474     * WinPT (WinMain): Use it here.
1475    
1476     2003-11-14 Timo Schulz <[email protected]>
1477    
1478     * wptCardDlg.cpp (card_edit_dlg_proc): Release the second PIN.
1479    
1480     2003-11-13 Timo Schulz <[email protected]>
1481    
1482     * Clarify pin names. Now all PIN's are labeled 'Admin' or 'User'.
1483     * wptPINDlg.cpp (pin_cb_dlg_proc): Length check for the PINs.
1484     Thanks to Achim.
1485     * Change PIN interface. Now it is easier when an operation requires
1486     both PINs.
1487     * wptCardDlg.cpp (do_proc_card_cmds): Now GPG requires both PINs
1488     to change card attributes. Do not ask me why, but now the user
1489     needs to enter 2 PINs.
1490    
1491     Name parts were swapped, now they have the right order again.
1492    
1493     2003-10-02 Timo Schulz <[email protected]>
1494    
1495     * Prepare test release.
1496     * wptGPGCmds.h: New from GPG 1.3.4-cvs.
1497    
1498     2003-10-29 Timo Schulz <[email protected]>
1499    
1500     * wptKeyEditDlgs.cpp: New logging scheme. Changed all callers.
1501    
1502     * Create a new interface for an interactive card callback. GPG
1503     provides card control status messages if the wrong card is inserted.
1504    
1505     * wptCardManager.cpp (card_cb_dlg_proc): New.
1506     (card_callback): New.
1507    
1508     * wptCardPCSC.cpp (pcsc_loadlib): Use some 'A' to declare we use
1509     the ASCII functions and not the Unicode function names. Thanks to
1510     Werner for pointing this out.
1511    
1512     * wptPassphraseCB.cpp (passphrase_cb): Better card interface. Now the
1513     serial card number is shown to help the user to find the right card.
1514    
1515     * wptClipSignDlg.cpp (clip_sign_dlg_proc): New logging scheme.
1516    
1517     2003-10-26 Timo Schulz <[email protected]>
1518    
1519     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Implement new logging.
1520    
1521     * Changed the code at several other places to support the new logging
1522     scheme.
1523    
1524    
1525     2003-10-24 Timo Schulz <[email protected]>
1526    
1527     * Implemented a better logging system. If the return code
1528     of GPG is != 0 and the error is not known, display the errors
1529     from stderr.
1530    
1531     * wptGPGME.cpp (logging_cb): New.
1532    
1533     2003-10-23 Timo Schulz <[email protected]>
1534    
1535     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Show GPG output
1536     if the error is unknown.
1537     (clip_sign_dlg_proc): Likewise.
1538     (clip_signenc_dlg_proc): Likewise.
1539     (clip_import_dlg_proc): Likewise.
1540    
1541     2003-10-21 Timo Schulz <[email protected]>
1542    
1543     * wptClipDecryptDlg.cpp (list_recipients): New.
1544     (algo_from_list): New.
1545     (clip_decrypt_dlg): New concept to list all recipients.
1546     * wptFileManager.cpp (fm_list_keys): New.
1547     (fm_decrypt): Same changes as for the clipboard decryption.
1548    
1549     2003-10-21 Timo Schulz <[email protected]>
1550    
1551     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): If the passphrase
1552     was wrong, delete the cache item (if available).
1553     * wptClipSignDlg.cpp (clip_sign_dlg): Likewise.
1554     * wptClipSignEncDlg.cpp (clip_signenc_dlg): Likewise.
1555     * wptPassphraseCB.cpp (set_gpg_passphrase_cb): Set 'is_card'
1556     flag to zero.
1557    
1558    
1559     2003-10-19 Timo Schulz <[email protected]>
1560    
1561     * wptPINDlg.cpp (pin_cb_dlg_proc): Support to store the admin and
1562     the working PIN.
1563     wptCardDlg.cpp (free_pincb): New.
1564     (card_keygen_dlg_proc): Pin callback implemented.
1565     Simple check for the e-mail address.
1566     (card_edit_dlg_proc): End the dialog if no changes were made.
1567    
1568     * Expanded GPGME passphrase interface to work both with PINs
1569     and passphrases.
1570    
1571     2003-10-18 Timo Schulz <[email protected]>
1572    
1573     * wptCardDlg.cpp (card_keygen_dlg_proc): New.
1574     (do_askpin): Handle the case there is no card.
1575     (card_edit_dlg_proc): Add 'New Keys' feature.
1576     (card_changepin_dlg_proc): Implemented.
1577     * WinPT.cpp (WinMain): Ability to start the card manager directly.
1578     * wptMainProc.cpp (smartcard_init): Global stuff to init the reader
1579     driver and the inserted card.
1580    
1581     2003-10-17 Timo Schulz <[email protected]>
1582    
1583     * wptGPGME.cpp (keycache_init): Do not use secring the first time.
1584     * wptKeySignDlg.cpp (keysign_dlg_proc): Make sure only the short
1585     keyid will be displayed.
1586    
1587     2003-10-16 Timo Schulz <[email protected]>
1588    
1589     * Changed GPGME interface for edit card. Now one context is
1590     used for all edit card operations.
1591     * wptCardDlg.cpp (card_edit_dlg_proc): Support for working
1592     and admin PIN. Changed gpgme interface.
1593     (ask_pin): Renamed to..
1594     (do_askpin): this. Provide more information about the card
1595     and its holder.
1596     (do_proc_card_cmds): If no error, reset modify flags for
1597     all controls. Show a short message that the operation ended.
1598     * wptCardPCSC.c (pcsc_free_readers): New.
1599     (pcsc_scan_readers): New.
1600     (pcsc_get_reader): New.
1601     (pcsc_get_card_status): New.
1602    
1603    
1604     2003-10-14 Timo Schulz <[email protected]>
1605    
1606     * wptKeyList.cpp (do_addkey): Add the case the secret key
1607     is stored on a smart card.
1608     (km_check_for_seckey): Take care of the new code.
1609     * wptKeyManager.cpp (km_delete_keys): Extra warning when
1610     the secret key is stored on a card.
1611     * wptKeyEditDlgs.cpp (subkey_list_init): Add the key cabilities
1612     to the list view. Now the user can see if the key is useable
1613     for: signing, certifying or encrypting.
1614    
1615     2003-10-13 Timo Schulz <[email protected]>
1616    
1617     * Extended the GPGME API that it is possible to retrieve
1618     the key data. This is for the planned card login but it
1619     might be also useful for other purposes.
1620    
1621     * wptCardPCSC.c: New. General code for PC/SC card readers.
1622    
1623    
1624     2003-10-12 Timo Schulz <[email protected]>
1625    
1626     * wptCardDlg.cpp (guess_libname): New.
1627     (card_status): Simplified the code with an attribute
1628     table. Now it is a loop and not hard coded.
1629     * The card interface has changed. Now the surname and
1630     the given name are two fields and not one field.
1631     * wptMainProc.cpp (winpt_main_proc): Check if the card
1632     reader is configured where appropriate.
1633    
1634     2003-10-09 Timo Schulz <[email protected]>
1635    
1636     * wptCardDlg.cpp (get_card_status): New.
1637     (show_card_status): New. Retrieve the card status and show an
1638     error if approprioate.
1639     * Make sure that WinPT does not try to use non-OpenPGP cards.
1640     * Add GPGME support for the forthcoming AUTH flag for keys.
1641     * Implemented the detection of keys where the secret key components
1642     are stored on a smart card.
1643    
1644    
1645     2003-10-08 Timo Schulz <[email protected]>
1646    
1647     * wptCardDlg.cpp (do_proc_card_cmds): Check that only US-ASCII
1648     is used. Otherwise reject the value.
1649     (ask_pin): New. Enable PIN caching for the 'dialog session' so
1650     the user does not need to re-enter it again and again.
1651    
1652     2003-10-07 Timo Schulz <[email protected]>
1653    
1654     * wptPINDlg.cpp (pin_cb_dlg_proc): New.
1655     * wptCardDlg.cpp (do_proc_card_cmds): New.
1656     (card_edit_dlg_proc): Use it here.
1657    
1658     2003-10-06 Timo Schulz <[email protected]>
1659    
1660     * wptFileManager.cpp (fm_encrypt): Wipe files in both modes.
1661     * wptGPG.cpp (gnupg_display_error): Display general error
1662     when the file does not exit.
1663     * wptW32API.cpp (get_folder_dlg): New.
1664     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Ability to select
1665     the folder for the home directory.
1666     * wptKeyManager.cpp (km_update_default_key_str): Return length
1667     of the string.
1668     (km_complete_status_bar): Use the offset of the default
1669     key string so it is not appened twice.
1670     * wptRegistry.cpp (regist_inst_winpt): Create 'Card' subkey.
1671     * wptCard.h: New.
1672     * wptCardDlg.cpp (new_card_driver): New.
1673     (load_card_driver): New.
1674     (free_card_driver): New.
1675     (card_config_dlg_proc): If the reader is configured, load the
1676     values. This is needful to change the driver later.
1677     (gpg_load_scard): Use driver as a parameter.
1678     * wptMainProc.cpp (winpt_main_proc): Load card driver and
1679     unload it after use.
1680    
1681     2003-09-28 Timo Schulz <[email protected]>
1682    
1683     * wptCardDlg.cpp (card_edit_dlg_proc): New.
1684     (gpg_load_scard): New. Try to use GPG load the card info.
1685     (print_fpr): New. Print beautified fingerprint.
1686     (card_status): New. Set all dialog fields with the values from
1687     the card.
1688     (prepare_dialog): New. Load combo boxes with pre-defined strings.
1689    
1690    
1691     2003-09-25 Timo Schulz <[email protected]>
1692    
1693     * wptProgressDlg.cpp (progress_cb_thread): New.
1694     (progress_callback): Use asynchron code.
1695     * wptFileManager.cpp (fm_parse_files): Implement progress callback.
1696    
1697    
1698     2003-09-25 Timo Schulz <[email protected]>
1699    
1700     * wptClipSignEncDlg.cpp (seclist_dlg_proc): The dialog was broken.
1701     (check_key): New.
1702     Removed the old Secret Key List dialog. Now the key can be directly
1703     chose in the dialog.
1704     (seclist_init): New.
1705     (seclist_destroy): New.
1706     (seclist_select_key): New.
1707     * wptFileManager.cpp (fm_sign): Ask for output file if needed.
1708    
1709     * Client side implementation of the --enable-progress-filter feature.
1710    
1711     * wptProgressDlg.cpp: Server side implementation.
1712     (progress_dlg_proc): New. The actual dialog procedure.
1713     (progress_callback): The GPGME wrapper callback.
1714    
1715     2003-09-24 Timo Schulz <[email protected]>
1716    
1717     * wptKeygenDlg.cpp (keygen_dlg_proc): Implement 'Hide Typing' feature.
1718     * wptFileManager.cpp (fm_encrypt): Ask for output file if needed.
1719     * wptFileManagerDlg.cpp (fm_dlg_proc): Removed im- and export from
1720     the menu. We use import internally, but export was not useful and
1721     thus the code were removed.
1722     * wptPreferenceDlg.cpp (prefs_dlg_proc): Disable some controle at
1723     startup when they are not allowed.
1724     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Removed PGP2 option.
1725     Make the parsing code much shorter (read).
1726    
1727    
1728     2003-09-22 Timo Schulz <[email protected]>
1729    
1730     * wptSigList.cpp (extract_filename): Make sure there is a '\',
1731     otherwise just dup the string and return.
1732     * wptVerifyList.cpp (verlist_add_sig): Use a variable for the key
1733     to make the code more readable.
1734     * Implemented the GPGME part of the new smartcard interface.
1735     The WinPT interface will be open until the scard stuff is back
1736     ported to GPG 1.3.x.
1737     * wptKeyEditDlgs.cpp (do_editkey_revuid): Need a secret key to do it.
1738     Several code cleanups.
1739    
1740     2003-09-08 Timo Schulz <[email protected]>
1741    
1742     * wptRegistry.cpp: Remove some hotkeys to correct index calculation.
1743     (get_reg_winpt_flag): Check buffer first.
1744     (get_reg_winpt_prefs): Support for the new backup system.
1745     (set_reg_winpt_prefs): Likewise.
1746     * wptHotkey.h: Removed import and export hotkey. Re-ordered elements.
1747     * wptRegistry.h: Cleaned up the hotkey interface.
1748     * wptPreferenceDlg.cpp (enable_backup_items): New.
1749     (prefs_dlg_proc): Simplified hotkey handling. Use new code.
1750     * wptMainProc.cpp (clip_gpg_dlg): Remove hotkey handling for
1751     im- and export. Use the code directly.
1752     (currwnd_gpg_dlg): Likewise.
1753     * wptGPG.cpp (gnupg_backup_keyrings): New.
1754     (backup_one_file): New.
1755    
1756     2003-09-04 Timo Schulz <[email protected]>
1757    
1758     * wptFileManager.cpp (fm_get_file_type): Due to an unknown reason,
1759     the packet parsing return value check was wrong again. Now it does
1760     not recognize Word documents as SECKEY or ENCRYPTED any longer.
1761    
1762     2003-09-03 Timo Schulz <[email protected]>
1763    
1764     * The secret key listing does not contain any 'validity' or
1765     'status' flags any longer. Thus we only can use the cache to
1766     make sure we have a secret key. All attributes need to be retrieved
1767     from the public key listing.
1768    
1769     * wptGPG.cpp (default_key_from_cache): New.
1770     (get_gnupg_default_key): Use new function to make sure we try
1771     to get the key from cache if there is a problem with the config
1772     file.
1773    
1774     2003-08-30 Timo Schulz <[email protected]>
1775    
1776     * wptGPG.h: Support for the GPG status messages REVKEYSIG and
1777     EXPKEYSIG. With this new feature, GPG 1.2.3 is required.
1778     * Make sure that the signature status does not cause an
1779     segfault.
1780     * WinPT.cpp: Use new check to detect the GPG version and make sure
1781     it is the minimum.
1782     * wptGPG.cpp (parse_version_nr): New.
1783     (check_gnupg_engine): Improved. Now it returns the actual version.
1784    
1785     2003-08-24 Timo Schulz <[email protected]>
1786    
1787     * wptPreferencesDlg.cpp (prefs_dlg_proc): Use better code to disable
1788     dialog controls.
1789    
1790     2003-08-17 Timo Schulz <[email protected]>
1791    
1792     * wptKeyManagerDlg.cpp (keymanager_dlg_proc):
1793     #ID_KEYMISC_EXPORT_PRIVKEY: Retrieve the current list view index. The
1794     value was malformed.
1795     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Free global memory.
1796     * wptKeyserver.cpp (kserver_load_conf): If the file does not exist,
1797     don't bother the user with an error message. Closes #782751.
1798     * wptKeyEditDlgs.cpp (do_editkey_primary): New. Implement the
1799     "primary" edit key command.
1800     * wptKeyserverDlg.cpp (hkp_recv_key): New flag parameter. Now it is
1801     possible to supress the status message. This is useful when the whole
1802     keyring will be refreshed.
1803     * wptFileManager.cpp (fm_parse_command_line): Unquote file if needed.
1804     (quote_file): Avoid double quotes.
1805     * GPGME support for quoted file names.
1806     (fm_sym_encrypt): Double check password and to additional 8-bit checks.
1807     * WinPT.cpp (my_acces): Moved to this file..
1808     * wptGPG.cpp: ..here.
1809     (gpg_check_permissions): Renamed from check_permissions and make it global.
1810     * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Check to make sure we
1811     have write access to the keyring for some commands.
1812    
1813     2003-07-22 Timo Schulz <[email protected]>
1814    
1815     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Figure out the size of
1816     the text instead of allocating the maximum.
1817    
1818     2003-07-13 Timo Schulz <[email protected]>
1819    
1820     * wptKeygenDlg.cpp (check_passphrase): Check if the passphrase contains
1821     characters >= 127. Due to the fact that we use CP-1250 and GPG uses CP-850
1822     it would be a bad idea to use such passphrases. And thus we disallow it.
1823     * wptKeyEditDlgs.cpp (keyedit_change_passwd): Likewise.
1824     * wptSymEnc.cpp (gpgme_encrypt_symmetric): Likewise.
1825     * wptHotkey.cpp (hotkeys_strerror): Use capital letters.
1826    
1827     2003-07-12 Timo Schulz <[email protected]>
1828    
1829     * wptFileManager.cpp (fm_verify): Support for multiple signatures.
1830     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
1831     * wptProxySettingsDlg.cpp (read_proxy): Skip http:// prefix.
1832     * wptKeyserver.cpp (check_URL): Support for hkp://. Closes #755156.
1833     (kserver_connect): Likewise.
1834     (kserver_read_config): Likewise.
1835     * wptSymEnc.cpp (gpgme_encrypt_symmetric): Free memory if the passphrases
1836     are not equal.
1837     * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): New. An easy to use wizard to
1838     generate a key pair.
1839    
1840     2003-06-24 Timo Schulz <[email protected]>
1841    
1842     * Fixed filter code in Get{Open,Save}FileName. Changed all callers.
1843     Thanks to Alex.
1844     * wptKeyManager.cpp (km_delete_keys): Quote the user-id.
1845    
1846    
1847     2003-06-13 Timo Schulz <[email protected]>
1848    
1849     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Quote the user-id name.
1850     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Fix the code due to
1851     the fact the signer is now dymanic and not static.
1852     * wptGPG.cpp (check_gnupg_engine): Check if IDEA is available and
1853     change all code that it only shows an error if no plug-in was loaded.
1854     * wptKeyEditDlgs.cpp (is_cmd_openpgp): Remove REVKEY since you
1855     can revoke v3 keys.
1856     (do_editkey_revoke): Clarify command because it can be only used
1857     for secondary keys.
1858     * wptKeyManagerDlg.cpp (file_sign_dlg_proc): Make sure an error
1859     is issued when no key was selected. Thanks to vedaal.
1860    
1861     2003-06-11 Timo Schulz <[email protected]>
1862    
1863     * wptKeylist.cpp (keylist_add_key): Now the user-ids are in the
1864     right order and we do not use the last user-id but the first
1865     because this is always the primary user-id or the newest user-id.
1866     * wptGPGME.cpp (get_default_keyid): Removed. Some better code
1867     were added to get_gnupg_default_key.
1868    
1869     2003-06-10 Timo Schulz <[email protected]>
1870    
1871     * wptKeysignDlg.cpp (do_fill_seckeylist): Make sure disabled keys
1872     are skipped.
1873     (keysign_dlg_proc): Removed some redundant code.
1874     * wptKeyEditDlgs.cpp (is_idea_protect_algo): New. Find out if
1875     it is possible to change the passphrase.
1876    
1877     2003-06-06 Timo Schulz <[email protected]>
1878    
1879     * wptKeylist.cpp (keylist_get_recipients): Use a stronger warning
1880     message and include the user-id.
1881     * Encryption: use force overwrite (--yes) to make sure there are
1882     no complications with GPG.
1883     * Import: skip all record types we do not understand.
1884    
1885    
1886     2003-06-05 Timo Schulz <[email protected]>
1887    
1888     * wptPassphraseCB.cpp (passphrase_callback_proc): Now the dialog
1889     shows all involved recipients and also the public key algorithm.
1890     * wptRegistry.cpp (reg_inst_winpt): If the user does not want
1891     the extensions, set the entry to "1" so the message is not shown
1892     again.
1893    
1894     2003-06-04 Timo Schulz <[email protected]>
1895    
1896     * wptKeylist.cpp (get_key_algo, get_key_size): Due to the fact
1897     that GPG uses the newest subkey by default, we always return
1898     the info of this subkey and not the first.
1899     * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Fixed off-by-one
1900     bug. Now the indicies are correctly.
1901     * wptGPG.cpp (gnupg_check_keyring): Do not free the value before
1902     get_file_size is called.
1903     * WinPT.cpp (WinMain): Only check the GPG engine version if there
1904     were no problems with the GPG config. And differ between a problem
1905     to get the version and if a wrong version were detected.
1906    
1907    
1908     2003-06-01 Timo Schulz <[email protected]>
1909    
1910     * wptCurrWnd.cpp (rel_key, hit_key): Replaced with macros...
1911     (KEYDOWN, KEYUP): macros for the functions above.
1912    
1913     2003-05-31 Timo Schulz <[email protected]>
1914    
1915     * wptKeyManager.cpp (km_key_is_v3): Return if the selected
1916     key is an old PGP 2 (v3) key.
1917     * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Only allow
1918     (#ID_KEYMISC_EDITKEY): Bail out if no key was selected.
1919     to add extented items if the key is NOT version 3.
1920     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Check if the
1921     key is v3 and forbid most commands.
1922     (is_cmd_openpgp): New.
1923    
1924     2003-05-28 Timo Schulz <[email protected]>
1925    
1926     * wptKeyManager.cpp (km_set_clip_info): New.
1927     * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use it here.
1928     * wptImportList.cpp (implist_build): Some column changes for
1929     the listview control.
1930     (implist_load): Return if secret keys were found.
1931     * wptClipImportDlg.cpp (data_cb_dlg_proc): Store if secret keys
1932     were found.
1933     (clip_import_dlg_proc): New message if secret keys were found.
1934    
1935    
1936     2003-05-25 Timo Schulz <[email protected]>
1937    
1938     * wptImportList.cpp (implist_add_key): Address charset problem.
1939     * wptVerifyList.cpp (verlist_add_sig_log): Use UTF8 decoding.
1940     * wptKeyserver.cpp (set_default_kserver): New.
1941     (wsock_init): Call the new function.
1942     (kserver_load_conf): If the FP is invalid, skip to read the file.
1943     * WinPT.cpp (WinMain): Call set_default_kserver to make sure the
1944     item has a value.
1945    
1946     2003-05-24 Timo Schulz <[email protected]>
1947    
1948     * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Subclass the two lists
1949     to allow to use virtual keys (DEL, INS).
1950     Release the uid control context when the dialog will be destroyed.
1951    
1952    
1953     2003-05-22 Timo Schulz <[email protected]>
1954    
1955     * wptMainProc.cpp (winpt_main_proc): Set use_hotkey for current
1956     window mode sign+encrypt. This fixes a couple of other problems.
1957     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Get new values of the
1958     key when the cache was reloaded.
1959    
1960    
1961     2003-05-21 Timo Schulz <[email protected]>
1962    
1963     * wptSiglist.cpp (siglist_add_key): Only list signatures which are
1964     user-id certificates (0x10-0x13) and ignore key and subkey sigs.
1965     c-strings are now handle correctly and decoded into GPGME.
1966    
1967     2003-05-20 Timo Schulz <[email protected]>
1968    
1969     * wptKeyPropsDlg.cpp (key_props_dlg_proc): Factor out code to change
1970     the passphrase from here to...
1971     * wptKeyEditDlgs.cpp (keyedit_change_passwd): ...this place.
1972    
1973     2003-05-19 Timo Schulz <[email protected]>
1974    
1975     * wptPasswdDlg.cpp (create_passwd_dlg): Removed.
1976     (request_passphrase): New.
1977     The passphrase_s context is now internal, all externl function use now
1978     request_passphrase. Changed all callers.
1979     * wptKeygenDlg.cpp (keygen_dlg_proc): Reworded the passphrase
1980     warning and a check for the comment field was added.
1981     * wptKeyEditDlgs.cpp: New. This file now combines the dialogs which
1982     has shown the subkeys and the userids.
1983     * wptKeySubkeyDlg.cpp: Deleted and stuff merged into wptKeyEditDlgs.cpp.
1984    
1985     2003-05-17 Timo Schulz <[email protected]>
1986    
1987     * wptFileManager.cpp: Moved gpgme_file_get_extension to this file
1988     and renamed it to...
1989     (file_get_extension): this. gpgme_control now also returns the
1990     (get_file_name): Corrected the calculation of the basename.
1991     state of the command if you use -1 as the value.
1992     * wptImportList.cpp (implist_load): Make sure we really have the key ID.
1993     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Some small changes all over
1994     the place.
1995    
1996     2003-05-14 Timo Schulz <[email protected]>
1997    
1998     * wptKeyManager.cpp (km_enable_disable_key): New.
1999    
2000     2003-05-13 Timo Schulz <[email protected]>
2001    
2002     * wptKeyList.cpp (keylist_add_key): Add 'DISABLED' flag for keys.
2003     (key_check_validity): Moved from GPGME to this file.
2004     * wptKeyManager.cpp (km_get_key_status): New.
2005    
2006     2003-05-09 Timo Schulz <[email protected]>
2007    
2008     * wptMDSumDlg.cpp (mdsum_dlg_proc): New.
2009     * wptFileManager.cpp (fm_print_md): New.
2010     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support for the Print MD
2011     command.
2012    
2013     2003-05-08 Timo Schulz <[email protected]>
2014    
2015     * wptMainProc.cpp (winpt_main_proc): Symmetric encryption for the current
2016     window mode.
2017     (currwnd_gpg_dlg): Likewise.
2018     * wptCurrWnd.cpp (wnd_msg_em_set_pos): Fix an off-by-one bug.
2019     * WinPT.cpp (WinMain): If the default key was not found, show the string
2020     in the error message to make it easier for the user to fix the problem.
2021     * wptImportStatusDlg.cpp (import_status_dlg_proc): Take care of secret
2022     keys.
2023     * wptfileManager.cpp (fm_get_file_type): Fix packet type detection error.
2024     This makes the priority of the rc2 update more urgent.
2025    
2026     2003-05-07 Timo Schulz <[email protected]>
2027    
2028     * Clean up the outer GPGME interface. Internal functions should be
2029     invisible in gpgme.h.
2030     Merge the photo-id, formerly attribute id stuff with gpgme_key_get_xxx_attr.
2031     * wptKeyserver.cpp: Some cleanups.
2032     (finger_recvkey): Skip URL postfix if there.
2033    
2034     2003-05-06 Timo Schulz <[email protected]>
2035    
2036     * wptKeySigDlg.cpp (keysig_dlg_proc): Disable the button when all keys
2037     are available. Removed old [unused] code.
2038     Make sure we really have the key in the cache.
2039    
2040     2003-05-04 Timo Schulz <[email protected]>
2041    
2042     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If invalid recipients
2043     were found, output a more precise error message. Now the GPGME code
2044     first tests for special cases and if no one hit the nail on the head,
2045     a general error is used.
2046    
2047     2003-05-03 Timo Schulz <[email protected]>
2048    
2049     * wptParser.cpp: Renamed to...
2050     * wptGPGParser.cpp: this.
2051     (release_option): Renamed to...
2052     (release_gpg_options): this.
2053     (commit_option): Renamed to...
2054     (commit_gpg_options): this.
2055     (parse_option): Renamed to...
2056     (parse_gpg_options): this.
2057     * wptGPG.cpp: Use new parser function names.
2058     (set_gnupg_default_key): Free memory.
2059     * wptKeylist.cpp (keylist_add_groups): New group code.
2060     * wptGroups.{c,h}: Removed. Now we use the GPG group command.
2061     * wptKeySigListDlg.cpp (keysig_dlg_proc): Change column from
2062     2 to 4.
2063     (recv_missing_keys): Likewise. Now it is possible to retrieve
2064     missing keys. Thanks to Klaus.
2065     * wptKeyserverDlg.cpp (hkp_recv_key): Use a dymanic buffer rather
2066     than a static buffer to avoid garbled keys. There are some very
2067     large keys and these cause some trouble with a 16k buffer.
2068     (keyserver_dlg_proc): Localized some strings.
2069     * wptKeyserverSearchDlg.cpp (hkpsearch_dlg_proc): Use new column
2070     names which are equal to the names we use in the Key Manager.
2071     * wptKeySignDlg.cpp (keysign_dlg_proc): Fix a silly '=' but
2072     should be "==" bug.
2073     * wptKeygenDlg.cpp (mbox): Removed. Too much overhead.
2074     * Add --expert option for the GPG procedure call if needed.
2075    
2076     2003-05-02 Timo Schulz <[email protected]>
2077    
2078     * wptW32API.cpp (set_foreground_wnd): Removed. Changed all callers.
2079    
2080     2003-04-30 Timo Schulz <[email protected]>
2081    
2082     * wptKeyManagerdlg.cpp (keymanager_dlg_proc): Support for the
2083     next context menu ("Add"). Make sure the entries are disabled
2084     when the key has no secret key.
2085     * wptKeyEditAddPhotoDlg.cpp (keyedit_addphoto_dlg_proc): New.
2086     * wptFileManager.cpp (fm_decrypt): Set sig to NULL so it won't
2087     cause a segfault when the pointer free tries to deallocate the
2088     pointer.
2089    
2090     2003-04-27 Timo Schulz <[email protected]>
2091    
2092     * wptKeysigDlg.cpp (keysig_dlg_proc): A double click now allows
2093     to show the properties of the signers keys.
2094     * wptKeyEditAddRevokerDlg.cpp (keyedit_addrevocer_dlg_proc): New.
2095    
2096     2003-04-26 Timo Schulz <[email protected]>
2097    
2098     * wptParser.cpp: A lot of structural changes. Always add items
2099     at the end of the list so we don't need to make a copy of the list
2100     to restore the original order. Fix the group problem.
2101     * wptKeylist.cpp (keylist_build): Use OR to get the flags and
2102     not ==.
2103     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): The export command
2104     (file) does not use the keyid as the file name when more than one
2105     keys were selected.
2106     Allow allow to set default keys which are not revoked or expired.
2107     * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): Allow to sort
2108     the columns.
2109     Set the force trust flag in GPGME if there are some recipients
2110     with no validity.
2111    
2112     2003-04-25 Timo Schulz <[email protected]>
2113    
2114     * wptVerList.cpp (verlist_build): Change the name of some columns.
2115     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Instead of just the
2116     notation (if present!) present the user a general message box
2117     with extended signature information. This means the notation
2118     data and a possible policy URL.
2119    
2120    
2121     2003-04-24 Timo Schulz <[email protected]>
2122    
2123     * wptKeyEditAddSubKeyDlg.cpp (keyedit_addsubkey_dlg_proc): Init
2124     default values to make it easier for newbies.
2125     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use a better error
2126     when no secret key was found. Also mention the public key algo.
2127     * wptFileManager.cpp (fm_decrypt): Likewise.
2128    
2129     2003-04-23 Timo Schulz <[email protected]>
2130    
2131     * wptKeyPropsDlg.cpp (ownertrust_to_string): Moved the function
2132     from GPGME#gpgme_ownertrust_to_string into WinPT.
2133    
2134     2003-04-20 Timo Schulz <[email protected]>
2135    
2136     * wptClipboard.cpp: Removed. All these functions and constants
2137     are now available in MyGPGME/clip.c and thus part of GPGME.
2138     * wptKeylist.cpp (keylist_add_to_recipients): Renamed to...
2139     (keylist_get_recipients): this. Return the context instead of
2140     an argument.
2141     (get_key_size): Add key index.
2142     (get_key_algo): Likewise.
2143     (keylist_build): Use a special mode when signing is used.
2144     (keylist_enum_recipients): Return a malloced pointer to the
2145     recipients.
2146     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Add primary fingerprint
2147     when we have a signature result and we do not trust the key.
2148    
2149     2003-04-20 Timo Schulz <[email protected]>
2150    
2151     * wptFindWnd.h: Removed. We don't use it any longer.
2152     * wptGPG.h: Merged GPGERR_xxx constants with WPTERR_xxx.
2153     (gpg_strerror): Removed. Now it is handled in winpt_strerror.
2154     * wptFileManager.cpp (fm_get_file_name): move this to
2155     * wptVerifyList.cpp (get_file_name): ..this place and declare
2156     it as static because no other file need this function.
2157    
2158     2003-04-15 Timo Schulz <[email protected]>
2159    
2160     * wptClipImportDlg.cpp (data_cb_dlg_proc): New.
2161     (data_cb_thread): New.
2162     (data_cb_dlg_create): New.
2163     (data_cb_dlg_destroy): New.
2164     (data_cb_new): New.
2165     (clip_import_dlg_proc): Use a callback dialog to
2166     show the user the data decoding procedure is in
2167     progress. This dialog is destroyed in the key
2168     import statistics dialog.
2169    
2170    
2171     2003-04-13 Timo Schulz <[email protected]>
2172    
2173     * wptSubkeyDlgProc.cpp (key_subkey_dlg_proc): Use a callback
2174     context.
2175     * wptUidDlgProc.cpp (keyuid_dlg_proc): Likewise.
2176     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Set the protect
2177     flag inside the KEY contect if needed.
2178     * wptKeySubkeyDlg.cpp (key_subkey_dlg_proc): Only ask for a
2179     passphrase if the protect flag is set.
2180     Display the callback dialog to show the progress.
2181     Implemented the "revkey" feature.
2182     * wptKeyUidDlg.cpp (key_uid_dlg_proc): Likewise.
2183     (do_add_new_userid): New. Add an entry to the list box
2184     after the GPG process finished.
2185     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Initialize sig
2186     to zero to avoid segfaults.
2187    
2188     2003-04-12 Timo Schulz <[email protected]>
2189    
2190     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Use the new
2191     GPGME code.
2192     * wptVerifyList.cpp (verlist_add_sig_log): Likewise.
2193     * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Likewise.
2194     * wptFileManager.cpp (fm_decrypt): Likewise.
2195     * WinPT.cpp (check_default_key): Check if the keys in gpg.conf
2196     are valid and in the keyring.
2197     * wptKeySignDlg.cpp (do_check_protection): Disable the passphrase
2198     item if the key is not protected.
2199    
2200    
2201     2003-04-09 Timo Schulz <[email protected]>
2202    
2203     * wptFirstRunDlg.cpp (first_run_dlg_proc): Mark selection as
2204     invalid for cancel.
2205    
2206     2003-03-20 Timo Schulz <[email protected]>
2207    
2208     * wptFindWnd.cpp: Removed.
2209     * wptW32API.c (dialog_box_param): Use FindWindowEx() instead of
2210     find_window.
2211     * Whenever it's possible, use case insentensive searches to avoid
2212     problems.
2213    
2214     2003-03-19 Timo Schulz <[email protected]>
2215    
2216     * wptMainProc.cpp (winpt_main_proc): Put the init_dtp code here.
2217     * wptPassphraseCB.cpp (hide_typing): Removed. Use short code directly
2218     in the code.
2219     * wptPasswdDlg.cpp: Likewise.
2220     (passphrase_cb_init): Declare as static.
2221     (passphrase_cb_gpgme): Modified to use the static function and rename
2222     it to...
2223     (passphrase_gpgme_set_cb): ..this. New.
2224     * wptSecListDlg.cpp: Complete new appraoch. Now we use CB_SETITEMDATA
2225     and friends to assign data to each item.
2226     Move dialog code to...
2227     * wptClipSignEncDlg.cpp: ..here.
2228     * MyGPGME/keycache.c: We first look for directly key signatures and
2229     then we skip all other signatures if we've already seen the key. This
2230     is needed to gather the designated revoker keys.
2231    
2232     2003-03-18 Timo Schulz <[email protected]>
2233    
2234     * wptKeyImportStatDlg.cpp (import_status_dlg_proc): Fix index
2235     of revocation from 9 to 8.
2236     Set the text that no key was updated only if no new sig, subkey,
2237     userid and no public were added.
2238     Add more information: new {subkeys, signatures, userid}.
2239     * wptKeyManager.cpp (km_delete_keys): Fixme lame, '=' instead of '==' bug.
2240     * wptDlgs.cpp: Removed.
2241     * wptDlgs.h: (dlg_fatal_error): New. Macro.
2242    
2243     2002-03-16 Timo Schulz <[email protected]>
2244    
2245     * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Encode the
2246     optional text in UTF-8 to avoid charset problems.
2247     * wptKeyManager.cpp (km_quote_uid): Use dynamic memory instead
2248     of a static buffer. Changed all callers.
2249     * wptKeylist.cpp (keylist_cmp_cb): Implemented sort functions
2250     for the rest of the columns.
2251     (keylist_handle_column_click): New.
2252     * wptKeyEditOwnertrustdlg.cpp (keyedit_ownertrust_dlg_proc):
2253     Removed the 'Advanced' button because it only confuses users
2254     and it is not often used.
2255     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Support to ex-
2256     and import the trustdb values (ownertrust).
2257     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Ability to
2258     sort columns.
2259    
2260     2002-03-09 Timo Schulz <[email protected]>
2261    
2262     * 64-bit support for wipe operations.
2263    
2264     2002-03-08 Timo Schulz <[email protected]>
2265    
2266     * wptFileManager.cpp (fm_parse_command_line): Ignore lines with '--'
2267     because they are options rather than files.
2268     * WinPT.cpp (WinMain): Allow to start the key manager directly
2269     via --keymanager.
2270     * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): New.
2271     (wipe_cb): New. Wipe callback function.
2272     (fill_drive_combobox): New. Fill in all logical drives into
2273     the given combo box.
2274     (wipe_thread): New. Worker thread.
2275     (update_disc_stats): New. Set the disc statistics for the
2276     given drive entry.
2277     (space_wipefrees_dlg_proc): New.
2278    
2279     2002-03-01 Timo Schulz <[email protected]>
2280    
2281     * wptFileManager.cpp (fm_check_file_type): Fix bug in the detection
2282     logic. Now we can decrypt symmetrically encrypted files again.
2283     Be stricter on memory alloaction checks.
2284     (fm_get_file_type): Be more strict with the return code of
2285     parse_packet. This avoids bogus file types for MS-Word files and
2286     other non-PGP data.
2287     (fm_wipe): Use the wipe mode from the registry and not a fixed value.
2288     * WptRegistry.cpp (set_reg_winpt_prefs): Support wipe mode.
2289     (get_reg_winpt_prefs): Likewise.
2290     * wptFilePrefsDlg.cpp: Removed. We don't use it any longer.
2291     * wptDlgs.h: Corrected all dialog protypes to BOOL.
2292     LRESULT was not correct.
2293    
2294     2002-02-08 Timo Schulz <[email protected]>
2295    
2296     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Only export
2297     the secret key when a file was chosen.
2298    
2299     2002-02-01 Timo Schulz <[email protected]>
2300    
2301     * wptKeyserver.cpp (kserver_search): Fix <KEYID bug.
2302    
2303     2002-01-25 Timo Schulz <[email protected]>
2304    
2305     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Support to copy the key id
2306     and the fingerprint to the clipboard. Closes #674455.
2307     Automatically reload the keycache when a command is chosen and the cache
2308     state is set to 'reload requested'. Closes #671218.
2309     * wptKeySignDlg.cpp (do_fill_seckeylist): Make sure the public key parts
2310     are not invalid.
2311     * WinPT.cpp (check_permissions): Make sure we have the permission to
2312     write the keyring. Stop if not because it's expected at many other places.
2313     * wptSigList.cpp (siglist_add_key): Indent signatures under the root entry.
2314     (siglist_build): Use a placeholder sig to avoid the position chaos.
2315     * wptKeyUidDlg.cpp: Unified text for 'user-ID'.
2316     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): If a key is not found,
2317     display more information and use a GPG like output.
2318     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Force trust if there is
2319     an invalid key in the list of recipients. Closes #674965.
2320    
2321    
2322     2002-01-21 Timo Schulz <[email protected]>
2323    
2324     * wptSymEnc.cpp (gpgme_encrypt_symmetric): Ask the passphrase twice to
2325     avoid typing mistakes.
2326    
2327     2003-01-19 Timo Schulz <[email protected]>
2328    
2329     * winpt.cpp (WinMain): Fixed spelling mistake. Closes #669321.
2330     * wptKeyManagerDlg.cpp (do_resize_window): New.
2331     (do_create_minpopup): New. Closes #669730.
2332     * wptVerifyList.cpp (get_sig_date): Renamed to...
2333     (longdate_to_strdate): New. Changed all callers.
2334     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): If the ciphertext contains
2335     a signature, also display the time of it. Closes #669780.
2336     * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localize 2 strings.
2337     * wptEditKeyOwnertrust.cpp (keyedit_ownertrust_dlg_proc): Fixed a typo.
2338     * wptKeySignDlg.cpp (do_add_local_user): New. Now the dialog has the ability
2339     to choose the signer.
2340     (keysign_dlg_proc): Implemented a feature request. See above.
2341    
2342     2003-01-08 Timo Schulz <[email protected]>
2343    
2344     * wptKeyEditAddUidDlg.cpp (keyedit_adduid_dlg_proc): Output a warning
2345     if the user tries to add the email address in the name field.
2346     * wptKeyserver.cpp: Add support for protocols.
2347     (finger_readline): New.
2348     (finger_recvkey): New.
2349     * wptKeyUidDlg.cpp (keyuid_dlg_proc): Add a warning icon to the revoke
2350     message box to show it's a serious decision.
2351     * wptPasswdDlg.cpp (passwd_dlg_proc): Center dialog window.
2352     * wptRegistry.cpp (regist_single_filetype): Now internal and we use
2353     an easier way to get the location of the binary.
2354     (regist_inst_winpt): Implemented the 'with_ext' part and add a registry
2355     entry to avoid double file registering.
2356    
2357     2003-01-07 Timo Schulz <[email protected]>
2358    
2359     * wptKeyManagerDlg.cpp (do_center_window): New. Try to set the window
2360     pos from the coordinates from the registry.
2361     (keymanager_dlg_proc): Store the window pos in the registry.
2362     * wptKeyRevokeDlg.cpp (key_revoke_dlg): Check box for PGP compatible certs.
2363     * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Print out a hint when
2364     a revcert was found.
2365     * wptKeyserverDlg.cpp (hkp_recv_key): Print an error if the LDAP import does
2366     not succeed.
2367     (keyserver_dlg_proc): Corrected some listview index values.
2368     * wptKeylist.cpp (keylist_add_key): Use primary user-id when possible.
2369    
2370     2002-12-23 Timo Schulz <[email protected]>
2371    
2372     * wptRegistry.cpp (regist_inst_winpt): Try to create \Keyserver
2373     directory if does not exist.
2374     * wptKeyserver.cpp: Simpliefied config file.
2375     (kserver_change_proxy): Write config to the registry. Remove
2376     code for the config file.
2377     * wptProxySettingsDlg.cpp (read_proxy): More robust code.
2378     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Removed the feature
2379     to send keys. The Key Manager is better for this.
2380    
2381    
2382     2002-12-21 Timo Schulz <[email protected]>
2383    
2384     * Fixed some language mistakes.
2385     * wptMainproc.cpp: Use the desktop window as the parent window
2386     for the main dialogs so they are visible in the taskbar.
2387     * wptKeyManagerDlg.cpp: Enable minimize.
2388     * wptFileManager.cpp (fm_parse_command_line): Support for detached
2389     signatures.
2390     (fm_encrypt_directory): New.
2391     * wptKeylist.cpp (keylist_add_key): Check the current key if it
2392     is not expired, not the primary (idx=0).
2393    
2394     2002-12-18 Timo Schulz <[email protected]>
2395    
2396     * wptGPG.cpp (get_gnupg_optfile): Support for gpg.conf instead
2397     of the old name "options".
2398     * WinPT.cpp (WinMain): Try to repair broken home directories
2399     in the registry. Thanks to Gustavo who reminded me of it.
2400     * wptKeyserver.cpp (check_hkp_response): Only copy the text
2401     between <p> and </p> when possible.
2402     * wptAgent.cpp: Re-activated the old code. Now the passphrase
2403     timer can be used.
2404    
2405     2002-12-14 Timo Schulz <[email protected]>
2406    
2407     * wptKeyManager.cpp (km_check_for_seckey): Ultimate doesn't mean
2408     any longer there is also a secret key.
2409     (km_check_photo): New.
2410     (km_complete_status_bar): New.
2411     * wptFileManager.cpp (fm_verify): Support for bad signatures.
2412     Set the sigmode if not set.
2413     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Output a warning when
2414     the ownertrust of a non-valid (not signed) key is changed.
2415     * wptRegistry.cpp (expand_path): New. Use this code because it's
2416     much shorter.
2417    
2418     2002-10-14 Timo Schulz <[email protected]>
2419    
2420     * wptKeyserver.c: Replaced all strdup's with m_strdup and free
2421     with free_if_alloc.
2422     (ldap_recvkey): Fill with life. We use the GPG plugin to avoid
2423     all the LDAP overhead.
2424    
2425     2002-10-13 Timo Schulz <[email protected]>
2426    
2427     * wptKeyManager.cpp (km_file_import): Alloc buffer, it's not static
2428     any longer.
2429    
2430     2002-10-31 Timo Schulz <[email protected]>
2431    
2432     * wptKeyManager.cpp (km_update_default_key_str): Fixed '0x' handling.
2433     Thanks to Gustavo.
2434     * wptKeylist.cpp (add_key): Now we only use find_secret_key to detect
2435     whether it's a key pair or not.
2436     * Callback struct into KEY so we can modify the values in the background.
2437     * wptKeyPropsDlg.cpp (change_ownertrust): New.
2438    
2439     2002-10-30 Timo Schulz <[email protected]>
2440    
2441     * wptLDAP.cpp, wptLDAP.h: Removed. The plan is to use the gpgkey_xxx.exe
2442     LDAP plugin for this purpose.
2443     * wptMainproc.cpp (winpt_main_proc): Removed all LDAP stubs.
2444     * wldap32.lib is now not longer needed.
2445     * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Copy userid to clipboard.
2446     * Updated the resource file.
2447     * wptFileManager.cpp (fm_parse_command_line): Implemented the stuff
2448     for 'Decrypt', 'Verify', 'Import'.
2449    
2450     2002-10-15 Timo Schulz <[email protected]>
2451    
2452     * Changed all s(n)printf -> msg_box constructs to log_box.
2453    
2454     2002-10-13 Timo Schulz <[email protected]>
2455    
2456     * wptKeylist.cpp (get_key_expire_date): New.
2457     * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use it here.
2458    
2459     * Removed global keycache from GPGME. It's a bad style to mix
2460     general and specific interfaces.
2461    
2462     * wptGPGME.cpp (get_pubkey): New. Used to hide keycache implementation
2463     details. Useful to replace it later.
2464     (get_seckey): Ditto.
2465     (keycache_reload): Moved from the GPGME library.
2466     (keycache_release): New.
2467     (keycache_init): New.
2468     (keycache_set_reload): New.
2469     (keycache_get_reload): New.
2470     (keycache_get_ctx): New.
2471    
2472     * wptSigList.cpp (siglist_add_key): Use the new code.
2473     (siglist_build): Ditto.
2474    
2475    
2476     2002-10-10 Timo Schulz <[email protected]>
2477    
2478     * wptW32API.cpp (get_filename_dlg): Added default filename parameter.
2479     Changed all callers.
2480     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Adjusted the code for the
2481     new get_filename_dlg.
2482     * wptFileManager.cpp (fm_export): Likewise.
2483     * wptClipDecryptDlg (clip_decrypt_dlg): Modified the verify message box.
2484     * wptKeySignDlg.cpp (keysign_dlg_proc): Changed the code for edit-key.
2485     Use signature class dialog.
2486     * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Use the new code and the
2487     keyid instead of the userid to avoid charset problems.
2488     (err_message): New.
2489    
2490     * Moved all wipe specific code (random, rmd160) to the DLL so we can
2491     save some memory for the tray section.
2492    
2493     * wptKeyRevokersDlg.cpp (revokelist_build): New.
2494     (revokelist_init): New.
2495     (key_revokers_dlg_proc): New.
2496    
2497     * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use the designated revoker
2498     code here when available.
2499    
2500     2002-09-25 Timo Schulz <[email protected]>
2501    
2502     * wptClipboard.cpp (clip_parse_pgp_id): Add a flag when the text
2503     is dash escaped. This is useful for keys to avoid errors.
2504     * wptKeyManager.cpp (extract_dash_escaped_key): New. Extract an
2505     OpenPGP key from the clipboard which is dash escaped.
2506     (km_clip_import): Use the new code here.
2507    
2508     2002-09-23 Timo Schulz <[email protected]>
2509    
2510     * wptParser.cpp (add_multi_option): Support for values with more ' 's
2511     and skip the ' ' after the name.
2512     (modify_entry): New.
2513     * wptGPG.cpp (gnupg_save_options): Removed.
2514     (gnupg_load_options): Removed.
2515     (gnupg_release_options): Removed.
2516     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Use the new code.
2517    
2518     2002-09-17 Timo Schulz <[email protected]>
2519    
2520     * winpt.cpp (WinMain): Use make_filename and no static buffer.
2521     Modified for the new gnupg interface.
2522     * wptFile.cpp (make_filename): New.
2523     * wptGpgCmds.h: New from GPG 1.1.92
2524     * wptGPG.cpp (gnupg_import_keyrings): Use dynamic buffers
2525     and make_filename.
2526     * wptKeygenDlg.cpp (ask_for_backup): Use new gpg code and
2527     make_filename instead of static buffers.
2528     * wptKeyCacheDlg.cpp (keycache_dlg_proc): Likewise.
2529     * wptParser.cpp: Changed to new allocation instead of malloc.
2530     * wptGPGOptSkel.h: Updated from GPG 1.1.92
2531     * wptRegistry.cpp (get_reg_entry): Expand %s like registry strings.
2532    
2533     2002-09-13 Timo Schulz <[email protected]>
2534    
2535     * wptKeyManager.cpp (km_show_photo): Use a const buffer for the
2536     image and do NOT free it.
2537     * wptKeyUidDlg.cpp (keyuid_dlg_proc): Implement "revoke" function.
2538     (find_user_id): Use keyid to find the key. Changed all callers.
2539    
2540     * Removed global gpg_version variable. Now we also support GPG 1.1.9x
2541     so we don't need to check this after the start again.
2542    
2543     2002-09-12 Timo Schulz <[email protected]>
2544    
2545     * wptPasswdDlg.cpp (passwd_dlg_proc): Implement the "Hide Typing" fature.
2546     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Off by one bug for secret
2547     key export.
2548     * wptKeyManager.cpp (fm_encrypt): Use the new GPG status messages to
2549     check if the encryption failed.
2550     (km_show_photo): Fixed offset calculation.
2551     Use keyid as filename and delete the tempfile after use.
2552     * wptFile.cpp (init_file_lock): Use dynamic buffer.
2553     (release_file_lock): Free this buffer.
2554     * wptFileManager.cpp (quote_filename): Removed.
2555     (quote_file): New. Use dynamic buffers.
2556     (fm_import, fm_decrypt, fm_encrypt, fm_sym_encrypt, fm_export):
2557     Use it here.
2558     * wptFileStatDlg.cpp (do_list_packets): Do not cache FD.
2559     Initalize packet at the begin and during the loop.
2560     * wptFileManager.cpp: Replaced all static memory handling with
2561     dynamic routines.
2562     * wptKeyCacheDlg.cpp (key_cache_dlg): Remove obsolete ownertrust
2563     functions.
2564     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Ditto.
2565    
2566     2002-09-10 Timo Schulz <[email protected]>
2567    
2568     * wptFileManager.cpp (fm_get_file_type): Disable FD cache.
2569     (fm_decrypt): Only cut off the extension if it belong to GPG.
2570     Added user ID to the box if the file was signed.
2571     Ask for the filename if the name has no valid GPG extension.
2572    
2573     2002-09-09 Timo Schulz <[email protected]>
2574    
2575     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Improved code for
2576     the privat key (export).
2577    
2578     2002-09-08 Timo Schulz <[email protected]>
2579    
2580     * wptKeygenDlg.cpp (ask_for_backup): Check if the copy process
2581     really succeeded.
2582     (mbox): Alias for msg_box with fixed title to avoid long lines.
2583     * wptKeyEditAddSubkeyDlg.cpp (keyedit_addsubkey_dlg_proc): Allow
2584     to generate keys with a length til 4096 bits.
2585     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Check for
2586     invalid recipients and print out the reasons.
2587     * wptKeylist.cpp (keylist_add_to_recipients): Improved error message
2588     and corrected the validity checking.
2589    
2590     2002-09-07 Timo Schulz <[email protected]>
2591    
2592     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc):
2593     Print notation data when available.
2594     Show if the signature is expired or not.
2595    
2596     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Added the show photo
2597     command to the context menu.
2598    
2599     * wptKeygenDlg.cpp (keygen_dlg_proc): New default keysize is 1792.
2600     This is 256 bits more than the old size. Hopefully it's enough
2601     security to protect against the most enemies ;-).
2602    
2603     2002-09-04 Timo Schulz <[email protected]>
2604    
2605     * wptKeyManager.cpp (km_check_key_status): Parse new fields.
2606    
2607     2002-09-03 Timo Schulz <[email protected]>
2608    
2609     Removed all OpenCDK code from PTD. The code is not tested very
2610     well and it might contain some errors. Now we used a stripped down
2611     version of GnuPG code. This has two advantages. First the code is
2612     stable and second we can easier port other parts to native GPG code.
2613    
2614     * wptFileManager.cpp (fm_get_file_type): Use native GPG code.
2615     * wptKeyCacheDlg.cpp (keycache_dlg_proc): Add photos from the
2616     keyring when present to the keycache.
2617     * wptKeyManager.cpp (km_show_photo): Fixes to work again with the
2618     modified code.
2619     (km_check_for_seckey): Check substrings of the value because we
2620     don't use '**' values any longer.
2621     * wptFileStat.cpp (do_list_packets): New. Adapted from the old code.
2622     (file_stat_dlg_proc): Uses the new code.
2623    
2624     2002-09-02 Timo Schulz <[email protected]>
2625    
2626     * wptKeyManager.cpp (km_privkey_export): Check return codes and
2627     some types has been changed.
2628     (km_file_export): Likewise.
2629    
2630     2002-09-01 Timo Schulz <[email protected]>
2631    
2632     * wptFirstRunDlg.cpp (get_setup_choice): New. Returns the choice
2633     of the dialog.
2634     * WinPT.cpp (WinMain): Use it here. Reworded the error message.
2635     * wptGPG.cpp (gpg_import_keyrings): New.
2636     Let the user chose the keyrings and then they are copied to the
2637     homedir. After the procedure, the key cache will be reloaded.
2638     * wptKeyManager.cpp (km_delete_keys): New delete confirmation messages.
2639     * wptSigClassDlg.cpp (sig_class_dlg_proc): New.
2640     (get_sig_class_choice): New.
2641     * wptKeySignDlg.cpp (get_printable_fpr): New. More human readable
2642     fingerprint.
2643     (keysign_dlg_proc): Added new value for the GPG callback to handle
2644     the signature class.
2645     * wptKeyUIDDlg.cpp (find_user_id): New. Find the index of the
2646     userID by calling edit-key with colons.
2647     (keyuid_dlg_proc): Use it here.
2648    
2649     2002-08-31 Timo Schulz <[email protected]>
2650    
2651     * wptGPG.cpp (gpg_check_homedir): Some fixes for the return codes.
2652     (check_homedir): Ask the user whether to create the directory.
2653     * wptKeysigDlg.cpp (keysig_dlg_proc): Fixed keyid. Now it works
2654     to retrieve missing keys from a HKP server.
2655     (recv_missing_keys): Likewise.
2656     * wptPassphraseCB.cpp (passphrase_callback_proc):
2657     Implemented the "Hide Typing" feature.
2658     (hide_typing): New.
2659     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Improved error messages.
2660     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Improved MDC handling.
2661     Due to some attacks a MDC error is treated as a fatal error and a
2662     possible security risk.
2663     * wptClipImportDlg.cpp (print_import_status): Use a dialog instead
2664     of a silly message box. Furthermore the user gets more information
2665     about the import procedure.
2666     * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): New.
2667     * wptFileManager.cpp (fm_import): Report invalid user ID's.
2668     (fm_verify): Try to guess the data name for detached signatures
2669     before we bother the user. When it's found, use it.
2670     * wptKeyManager.cpp (km_file_import): Ditto.
2671    
2672     2002-08-28 Timo Schulz <[email protected]>
2673    
2674     * wptClipboard.cpp (clip_parse_pgp_id): Support for PGP 2.6.x types.
2675     * wptFileMananger.cpp (fm_check_armor_type): Ditto.
2676    
2677    
2678     2002-08-26 Timo Schulz <[email protected]>
2679    
2680     * wptTypes.h (free_if_alloc, CHECK_BOUND): New.
2681     * wptClipEditDlg.cpp (gpgopt_dlg_proc): Use free_if_alloc to make sure
2682     the memory is really released. Some strict checks for return values.
2683     Ident file.
2684    
2685     * wptAboutDlg.cpp: Ditto. (ident)
2686     * wptGPGAboutDlg.cpp: Ditto.
2687     * wptClipDecryptDlg.cpp: Ditto.
2688     (clip_decrypt_dlg): Stricter return value checkings.
2689     Avoid one indent level.
2690    
2691     * wptImportList.cpp (implist_add_key): More strict return value
2692     checking.
2693     * wptKeylist.cpp (keylist_cmp_cb): Fixed a typo.
2694     (add_key): New key status system.
2695     (keylist_get_keyflags): New.
2696     (keylist_enum_recipients): Simplified and use the new key flags.
2697    
2698     * wptSiglist.cpp (siglist_add_key): Fix possible overflows.
2699     (verlist_add_sig_log): More stricter checks.
2700    
2701     * wptRegistry.cpp (get_reg_winpt_prefs): Fixed possible bug.
2702    
2703     2002-06-16 Timo Schulz <[email protected]>
2704    
2705     Don't put the questions in the message box title bar.
2706    
2707     * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Only close FP if it
2708     is really opened. Thanks to Nelson.
2709    
2710     * wptKeyProps.cpp (keyprops_dlg_proc): Use a more informative title
2711     for chaning the passphrase. Suggested by Ed.
2712    
2713     2002-06-07 Timo Schulz <[email protected]>
2714    
2715     * wptMainProc.cpp (winpt_main_proc): Support for sign & encrypt hotkeys.
2716     * wptKeyManagerDlg.cpp: Refresh keys was added in the menu.
2717     * wptListView.cpp (listview_select_all): New.
2718     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Fixed the return code.
2719    
2720     2002-05-31 Timo Schulz <[email protected]>
2721    
2722     * wptTrayPop.cpp: Revamped some parts of the code.
2723    
2724     Changed all status_box functions to show_msg. The advantage
2725     is that we only wait a fixed time and the user doesn't need
2726     to hit the OK key. We should add the time delay in the preferences.
2727    
2728     * wptKeyManager.cpp (km_show_photo): New.
2729    
2730     2002-05-30 Timo Schulz <[email protected]>
2731    
2732     * wptFileManager.cpp (fm_verify): Corrected the handling
2733     for detached RSA signatures.
2734     (fm_add_sig_stat): Added support for short fingerprints.
2735    
2736     2002-05-08 Timo Schulz <[email protected]>
2737    
2738     * wptKeyserver.cpp (kserver_change_proxy): Check the values.
2739     Thanks to njek for reporting it.
2740    
2741     2002-05-07 Timo Schulz <[email protected]>
2742    
2743     * wptGPG.cpp (check_gpg_engine): New.
2744    
2745     * wptKeyCacheDlg.cpp (keycache_dlg_proc): Add GPG 1.0.6 compatible
2746     routines.
2747    
2748     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Ditto.
2749    
2750     * wptKeyEditOwnertrustDlg.cpp (keyedit_owerntrust_dlg_proc): Ditto.
2751    
2752     2002-05-06 Timo Schulz <[email protected]>
2753    
2754     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Change the wording of
2755     the buttons.
2756    
2757     2002-05-05 Timo Schulz <[email protected]>
2758    
2759     * Fixed problem with rev certs for imports stats.
2760    
2761     * Cosmetical changes for the GPGME libraray.
2762    
2763     2002-05-01 Timo Schulz <[email protected]>
2764    
2765     * wptKeygenDlg.cpp (fill_keytype_box): New.
2766     (keygen_dlg_proc): Use a combo box for various key types. With GPG 1.0.7
2767     there is full RSA support.
2768    
2769     Now we use the new status code by GPG (INV_RECP, NO_RECP) to figure out
2770     what the problem was when no encryption was done.
2771    
2772     * wptKeysignDlg.cpp (keysign_dlg_proc): Before we sign a key, we make
2773     sure it was not already signed (ALREADY_SIGNED).
2774    
2775     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Due to the new trust system,
2776     now we also support to sign ultimate trusted keys.
2777    
2778     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Try to check if the button
2779     is checked and do not check it.
2780    
2781     * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): New format for the verify
2782     box and now we also support the date of the signature.
2783    
2784     Applied Rich's spelling and grammer mistakes.
2785     Fixed a lot of minor spelling mistakes and capital letters for dialogs.
2786    
2787     2002-04-30 Timo Schulz <[email protected]>
2788    
2789     Merge ownertrust handling into the keycache. Now GPG outputs the
2790     ownertrust in the key listing which means we can get the ownertrust
2791     value from the keycache.
2792    
2793     (keymisc_dlg_proc): Add a button to rebuild the sig database cache.
2794     Please not that this is not the same as the key cache! The key cache
2795     will be updated when a new key was imported or a subkey was added/changed.
2796     The signature cache only affects the validity of the keys.
2797    
2798     Removed the MyGPGME trustlist code. Now we can use the field in the key
2799     listing to determine the ownertrust (which makes things a lot of easier).
2800    
2801     2002-04-29 Timo Schulz <[email protected]>
2802    
2803     Adjustments for GPG 1.0.7
2804    
2805     * wptKeyEditDlg.cpp (keyedit_ownertrust_dlg_proc): Support ultimate trust
2806     and ask the user if he knows what he's doing.
2807     * wptKeyManager.cpp
2808     (keylist_subclass_proc): Use double click to open the props.
2809     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow the user even to modify a
2810     ultimate ownertrust value.
2811     * wptKeyEditAddSubkeyDlg.cpp (keyedit_addsubkey_dlg_proc): Support for
2812     new RSA keys.
2813    
2814     2002-04-28 Timo Schulz <[email protected]>
2815    
2816     * wptRegistry.cpp (get_reg_winpt_prefs): New option for keylist mode.
2817     (set_reg_winpt_prefs): Ditto.
2818     * wptPreferencesDlg.cpp (prefs_dlg_proc): Support for keylist mode option.
2819     (set_keylist_mode): New.
2820    
2821     Implement minimal keylist mode. Suggested by Fabian.
2822    
2823     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Implement it here.
2824     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
2825     * wptKeylist.cpp (keylist_add_key): Ditto.
2826     (keylist_load): Ditto.
2827     (keylist_build): Ditto.
2828    
2829     2002-04-27 Timo Schulz <[email protected]>
2830    
2831     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Support for the new dialog.
2832     * wptFileSaveDlg.cpp (file_save_dlg_proc): New.
2833     * wptClipboard.cpp (clip_parse_pgp_id): use logical OR to concat the values.
2834     * wptMainProc.cpp (clip_gpg_dlg): Use the new PGP id's.
2835     (currwnd_gpg_dlg): Ditto.
2836    
2837     Now it's possible to parse cleartext signatures which contains an
2838     encrypted message inside the body.
2839    
2840     * wptTextInputDlg.cpp (load_file_contents): New.
2841     (text_input_dlg_proc): Support for choosing the data file.
2842    
2843     * wptFileManager.cpp (fm_verify): Support for detached signatures.
2844     (fm_parse_files): Ditto.
2845    
2846    
2847     2002-04-26 Timo Schulz <[email protected]>
2848    
2849     * wptKeyUidDlg.cpp: Fixed a typo. Kudos to Dugan Chen.
2850     * wptKeyUidDlg.cpp: Ditto.
2851    
2852     2002-04-25 Timo Schulz <[email protected]>
2853    
2854     * wptImplist.cpp (implist_add_key): Catch possible segfault.
2855     * wptVerifyList.cpp (verlist_add_sig): Ditto.
2856     * wptKeyManager.cpp (km_check_for_seckey): Modified for GPG 1.0.7.
2857     * wptKeylist.cpp (find_secret_key): New.
2858     (add_key): Use it here.
2859     (keylist_add_key): And here.
2860    
2861     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Fixed a bug that prevent
2862     to fetch the key.
2863    
2864     2002-04-24 Timo Schulz <[email protected]>
2865    
2866     * wptKeyManagerDlg.cpp (key_misc_dlg_proc): Support to maximize windows.
2867    
2868     Changed the way to modify the "Version:" string.
2869    
2870     * wptKeyserver.cpp (add_node): New.
2871     (kserver_change_proxy): New.
2872     (kserver_read_config): New.
2873     (kserver_write_config): New.
2874     (kserver_cfgfile_release): New.
2875     (proxy_release): New.
2876    
2877     * wptProxySettingsDlg.cpp (read_proxy): New.
2878     * wptFileStatDlg.cpp (file_stat_dlg_proc): New.
2879     * wptFileManager.cpp (fm_list): New.
2880     (fm_parse_files): Support the new list command.
2881    
2882     2002-04-23 Timo Schulz <[email protected]>
2883    
2884     * wptRFC2440.cpp: Removed. We now use the OpenCDK package.
2885     * wptFileManager.cpp (fm_get_file_type): Removed the old RFC2440 code.
2886     (fm_encrypt): Modified code to allow sign & encrypt.
2887     (fm_parse_file): Ditto.
2888     (fm_decrypt): Support for checking signatures.
2889     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Ditto.
2890    
2891     2002-04-19 Timo Schulz <[email protected]>
2892    
2893     * wptImplist.cpp (implist_load): Support for the advanced PGP parser code.
2894    
2895     2002-04-05 Timo Schulz <[email protected]>
2896    
2897     * wptSigList.cpp (siglist_add_key): Added UTF8 support. Thanks to Scire.
2898     * wptKeyUidDlg.cpp (keyuid_dlg_proc): Ditto.
2899     * wptKeySignDlg.cpp (keysign_dlg_proc): Ditto.
2900     * wptKeyAddUidDlg.cpp (keyedit_adduid_dlg_proc): Ditto.
2901    
2902     2002-03-31 Timo Schulz <[email protected]>
2903    
2904     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ask if the user wants to
2905     select the key used for signing.
2906     * wptSeclistDlg.cpp (seclist_dlg_proc): New. Dialog for secret selecting.
2907     * wptFilePrefsDlg.cpp (file_prefs_dlg): Fixes for the combo box ;-).
2908     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Reload the keycache after
2909     fetching keys via HKP and try to update the Gpgmekey inside.
2910     * wptVerifyList.cpp (verlist_add_sig): Check if the key context was
2911     set inside the signature. Fixes some segfaults related to the HKP key
2912     fetching during verification. Thanks to Julian. And force to use UTF8
2913     for user ID's.
2914     * wptClipSignDlg.cpp (one_key_proc): If only one secret exists,
2915     prevent that the dialog is loaded and ask for the passphrase directly.
2916    
2917    
2918     2002-03-29 Timo Schulz <[email protected]>
2919    
2920     * wptGPG.cpp (create_groupdb): Only close the file handling if it
2921     really exists. Thanks to Mark.
2922     (gpg_check_homedir): Applied the patch. Now we're a little stricter
2923     about the homedir checks.
2924     (check_homedir): Fixed a possible memory leak.
2925     * WinPT.cpp (WinMain): Check the homedir functions to exit the program
2926     if we've found some problems.
2927     * wptErrors.cpp (winpt_strerror): New value if a directory could not
2928     created.
2929     * wptMainProc (winpt_main_proc): Use new code for the current window mode.
2930     * wptCurrWnd.cpp (get_curr_wnd): Ditto.
2931     (get_window_contents): Always set focus to the current window.
2932    
2933     2002-03-22 Timo Schulz <[email protected]>
2934    
2935     * wptMainProc.cpp (currwnd_gpg_dlg): If the viewer is used, doesn't
2936     set window contents for some commands.
2937     (winpt_main_proc): Use the code here.
2938     * wptKeygenDlg.cpp (keygen_dlg_proc): Allow to generate keys > 2048 bits.
2939     * wptProxySettingsDlg.cpp: (keyserver_proxy_dlg_proc): New.
2940     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Use the proxy dialog here.
2941     * wptKeyserver.cpp (kserver_load_conf): Fixed malformed strings.
2942    
2943     2002-03-02 Timo Schulz <[email protected]>
2944    
2945     * Use capital letters in the main menus and applied Patricks spelling
2946     corrections.
2947    
2948     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): keyID is a string
2949     not an integer. Thanks to scrumpy.
2950     * wptWipeFile.cpp (rename_unlink): Use '\' instead of '/'.
2951     (overwrite): Some bugfixes to set the pointer to the begin of the file.
2952     * wptVerlist.cpp (verlist_build): New keyID column.
2953     (verlist_add_sig): Use it here.
2954    
2955     2002-03-01 Timo Schulz <[email protected]>
2956    
2957     * wptWipeFile: Replaced all low level I/O functions with W32 API
2958     functions. And support for more wiping modes. I don't know to
2959     support all, but those makes sense for me:
2960     1. Simple (2 random passes)
2961     2. DoD (as described in the standard)
2962     3. Peter Gutmanns method (from the paper)
2963    
2964    
2965     2002-02-28 Timo Schulz <[email protected]>
2966    
2967     * wptImplist.cpp (implist_add_key): UTF8 support.
2968     Handle invalid userID's.
2969     * wptPassphraseCB.cpp (parse_gpg_description): UTF8 support.
2970     (passphrase_callback_proc): Ditto.
2971    
2972    
2973     2002-02-23 Timo Schulz <[email protected]>
2974    
2975     * wptListview.cpp (listview_del_items): New.
2976     * wptKeyManager.cpp (km_delete_keys): Use it here.
2977     * wptKeygenDlg.cpp (keygen_dlg_proc): UTF8 support.
2978     * wptKeylist.cpp (add_key): UTF8 support.
2979    
2980     2002-02-08 Timo Schulz <[email protected]>
2981    
2982     * wptNLS.c: Now it's C-source because GPGME needs gettext too.
2983     (stpcpy): Makes it static.
2984     * errors.c: localize all error strings.
2985     * WinPT.cpp (get_gettext_lang): Move the code in this file because
2986     we can't use it in plain C.
2987    
2988     2002-02-05 Timo Schulz <[email protected]>
2989    
2990     * wptGPG.cpp (gpg_save_options): Catch the case when the options file
2991     exist but it has a length of zero.
2992     (gpg_display_error): Print out the data from the GPG stderr
2993     (when available).
2994     * w32-util.c (_gpgme_get_gpg_optfile): Check if the file exists and if
2995     not, return NULL.
2996     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Add support to export secret
2997     keys.
2998    
2999     * Fixed a lot of memory allocation all over the place.
3000    
3001     2002-02-05 Timo Schulz <[email protected]>
3002    
3003     wptGPG.cpp (gpg_save_options): Fixed the code for the case the
3004     values don't exist in the options file. Thanks to Lutz who found this out.
3005     (get_gpg_default): First search for "default-key" then for "encrypt-to".
3006    
3007     2002-02-04 Timo Schulz <[email protected]>
3008    
3009     * WinPT.rc: Set LVS_SHOWSELALWAYS for all listview elements
3010     which need it. Thanks to Timo who find this out.
3011     * WinPT.cpp (WinMain): We don't quit in the case the user changed
3012     the preferences.
3013     (update_keycache): New. Handy function to update the keycache.
3014    
3015     * Use quotation for the options file in any case.
3016    
3017     * clipboard.c (gpgme_clipboard_verify): When the NO_PUBKEY status
3018     is set, we don' try to get the sig key.
3019    
3020     * wptGPG.cpp (get_gpg_default_key): Revamped.
3021    
3022     2002-01-26 Timo Schulz <[email protected]>
3023    
3024     * wptKeylist.cpp (keylist_add_key): Use flags for the file manager
3025     to avoid to show all userid's. Thanks to Frank.
3026     * wptDateDlg.cpp (date_dlg_proc): New context to use different
3027     window texts and some other features.
3028     * wptKeygenDlg.cpp (keygen_dlg_proc): Use it here.
3029     * wptKeySubkeyDlg.cpp (subkey_dlg_proc): Ditto.
3030     * wptGPG.cpp (gpg_create_groupdb): Create the groupdb.gpg file if
3031     it doesn't exist.
3032     * WinPT.cpp (WinMain): Use the new code here.
3033    
3034     2002-01-23 Timo Schulz <[email protected]>
3035    
3036     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Release the buffer for
3037     loading a file.
3038     Add new code to save file with clipboard contents.
3039    
3040     2002-01-20 Timo Schulz <[email protected]>
3041    
3042     * wptMainProc.cpp (winpt_main_proc): Fix the error, that the user
3043     have to click twice before the menu appears. Richard told me this.
3044    
3045    
3046     2002-01-18 Timo Schulz <[email protected]>
3047    
3048     * wptMainProc.cpp (winpt_main_proc): NLS support for new menu style.
3049     * wptPassphraseCB.cpp (parse_gpg_description): Support when no
3050     description was given. One example is when symmetric was used.
3051    
3052     2002-01-13 Timo Schulz <[email protected]>
3053    
3054     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Fixed some boolesche
3055     settings.
3056     * wptGPG.cpp (gpg_backup_options): New.
3057     (gpg_load_options): Ignore comment lines.
3058     (gpg_save_options): Rewritten.
3059    
3060     2002-01-06 Timo Schulz <[email protected]>
3061    
3062     * wptPreferencesDlg.cpp (prefs_dlg_proc): Support for the sign+encrypt
3063     hotkey.
3064     * wptRegistry.cpp: Ditto.
3065     * wptRegistry.h: Ditto.
3066     * wptHotkey.h: Ditto.
3067     * wptGPG.cpp (gpg_load_options): New.
3068     (gpg_save_options): New.
3069    
3070     2002-01-01 Timo Schulz <[email protected]>
3071    
3072     * wptFileManager.cpp (fm_verify): Support for the case there is
3073     no public key to verify the signature.
3074    
3075     2001-12-30 Timo Schulz <[email protected]>
3076    
3077     * wptFileManager.cpp (fm_sign): Always use callbacks for the
3078     passphrase.
3079     (fm_decrypt): Ditto.
3080     (fm_parse_files): Cache the passphrase for the session and check
3081     if the file still exists.
3082     * wptRFC2240.cpp (parse_ske_sesskey): Removed. We no longer use
3083     low level stuff here.
3084     * wptFile.cpp (get_keyid_from_file): Ditto.
3085    
3086     2001-12-21 Timo Schulz <[email protected]>
3087    
3088     * wptTextInputDlg.cpp (text_input_dlg_proc): New.
3089     * wptMainProc (clip_gpg_dlg): Support for deached signatures.
3090     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Ditto.
3091    
3092     2001-12-19 Timo Schulz <[email protected]>
3093    
3094     * Completed work on the temporary file support for GPG.
3095     * wptRegistry.cpp (set_reg_winpt_prefs): Add mode for the
3096     plaintext viewer option. Suggested by Markus Winkler.
3097     (get_reg_winpt_prefs): Ditto.
3098     * wptPreferencesDlg.cpp (prefs_dlg_proc): Ditto.
3099     * wptMainProc.cpp (winpt_main_proc): Ditto.
3100    
3101     2001-12-15 Timo Schulz <[email protected]>
3102    
3103     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): New menu items for
3104     copy and paste.
3105    
3106     2001-12-02 Timo Schulz <[email protected]>
3107    
3108     * wptGroups.c: Revamped from the base. Arggg.
3109    
3110     2001-11-29 Timo Schulz <[email protected]>
3111    
3112     * wptKeyManager.cpp (km_groupdb_expand_recipients): New.
3113     * wptMainProc.cpp (clip_gpg_dlg): New.
3114     Modify the whole event loop so we don't need all the same code
3115     for each command. And we use the new foreground code.
3116     * wptW32API.cpp (check_date): Fixed.
3117    
3118     2001-11-27 Timo Schulz <[email protected]>
3119    
3120     * wptKeyserver.cpp (base64_encode): New. Marco provided HTTP
3121     proxy authentifcation support for each command.
3122     (kserver_update_proxyuser): New. Ditto.
3123     (kserver_send_request): Ditto.
3124     (kserver_recv_request): Ditto.
3125     (kserver_search_init): Ditto.
3126    
3127     2001-11-24 Timo Schulz <[email protected]>
3128    
3129     * wptKeyManager.cpp (km_groups_new): New.
3130     (km_groups_release): New.
3131     (km_groups_load): Rewritten.
3132     (km_groups_add): New.
3133     (km_groups_del): New.
3134     (km_groupdb_open): New.
3135     * wptKeyManagerDlg.cpp (keymisc_dlg_proc): Added group support.
3136     * wptGroups.c (groupdb_enum_read): Store the record before increment it.
3137    
3138     2001-11-23 Timo Schulz <[email protected]>
3139    
3140     * wptW32API.cpp (set_active_window): New.
3141     (reset_active_window): New.
3142     (window_reminder): New. This is a delayed thread procedure to
3143     force the focus (foreground) to the dialogs for the current
3144     window mode.
3145     * wptMainProc.cpp (winpt_main_proc): Use it here.
3146     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Ditto.
3147     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
3148     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.
3149     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Ditto.
3150    
3151     2001-11-22 Timo Schulz <[email protected]>
3152    
3153     * wptW32API.cpp (set_foreground_wnd): New.
3154    
3155     Fixed the return value of all EndDialogs.
3156    
3157     * wptMainProc.cpp: Remove all code parts which did the same for the
3158     current window support. Now the code uses a dialog switch which is
3159     much smaller.
3160    
3161     2001-11-18 Timo Schulz <[email protected]>
3162    
3163     * wptKeyManager.cpp: New. Contains all handy functions from the
3164     wptKeyManagerDlg.cpp. This should help to cleanup the dialog code.
3165     (km_quote_uid): New.
3166     (km_check_for_seckey): New.
3167     (km_check_key_status): New.
3168     (km_clip_export): New.
3169     (km_clip_import): New.
3170     (km_file_export): New.
3171     (km_file_import): New.
3172     (km_delete_keys): New.
3173     (km_send_to_keyserver): New.
3174     (km_refersh_from_keyserver): New.
3175     (km_update_default_key_str): New.
3176     * wptKeygenDlg.cpp (ask_for_backup): New.
3177     (keygen_dlg_proc): Use new function to give the chance to the
3178     user for a complete backup.
3179    
3180     2001-11-13 Timo Schulz <[email protected]>
3181    
3182     * wptGPG.cpp (get_gpg_optfile): Check for the case the OptFile entry
3183     is set but to "". Then use default gpg directory.
3184     * wptKeyManagerDlg.cpp (send_to): New. Context entry for sending keys.
3185     (refresh_from_keyserver): New. Context entry for update keys.
3186     (keymisc_dlg_proc): Modify the way the popup is shown.
3187    
3188     2001-11-07 Timo Schulz <[email protected]>
3189    
3190     * wptGPG.cpp (set_gpg_default_key): Rewrote the part of changing
3191     the key id.
3192     * wptKeyManagerDlg.cpp (file_import): Use force trust to allow secret
3193     key imports.
3194     * wptGPGOptDlg.cpp (gpgopt_dlg_proc): If the options file exists and
3195     the user doesn't set the field, try to do this automatically.
3196    
3197     2001-11-03 Timo Schulz <[email protected]>
3198    
3199     (fm_remove_crit_file_attrs): First check if the file exists.
3200     Thanks to Peter.
3201    
3202     2001-11-02 Timo Schulz <[email protected]>
3203    
3204     * WinPT.cpp (WinMain): Add the chance to start the preferences dialog
3205     in the case a GPG error was detected.
3206     * wptKeyManagerDlg.cpp (delete_keys): Interface to delete all selected
3207     keys.
3208    
3209     2001-10-30 Timo Schulz <[email protected]>
3210    
3211     * wptHotkey.h: Fixed typo. Thanks to Timo.
3212     * wptGPG.cpp: (gpg_check_homedir): Fixed memory leak. By Timo.
3213     (get_gpg_default_key): Skip comment lines immediately.
3214     * wptRegisty.cpp (get_reg_winpt_prefs): Ditto.
3215     * wptKeyManagerDlg.cpp (keylist_subclass_proc): New. Procedure
3216     for subclassing.
3217    
3218     Remove all unsafe WM_NOTIFY stuff because this was propably the
3219     reason for the crashes. And add as a sanity check if the control
3220     sent the message.
3221    
3222     2001-10-28 Timo Schulz <[email protected]>
3223    
3224     * wptKeyMiscDlg.cpp (key_misc_dlg_proc): New virtual key support
3225     for ENTER/SPACE and DELETE. Suggested by Graham.
3226     * wptKeyList.cpp (add_key): New code to figure out how trustworthy
3227     a expired/revoked secret key is.
3228     (keylist_enum_recipients): Show the key ID of the key when it's
3229     revoked.
3230     * wptFileManager.cpp (fm_decrypt): Parse all PKE packets and not
3231     only the first to figure out if a secret is available. Thanks to
3232     Graham.
3233     * wptFile.cpp (get_keyid_from_file): Ditto.
3234    
3235     2001-10-27 Timo Schulz <[email protected]>
3236    
3237     * wptKeylist.cpp (keylist_enum_recipients): Add a type to make
3238     the code more flexible.
3239     * wptKeyMiscDlg.cpp (file_import): New.
3240     (file_export): New.
3241     * wptKeySigDlg.cpp (recv_missing_keys): Fixed a typo.
3242    
3243     Removed all OE code snippets.
3244    
3245     2001-10-26 Timo Schulz <[email protected]>
3246    
3247     * wptExtensions.cpp: Removed.
3248     * wptLDAPExt.cpp: Removed.
3249     * wptLDAP.cpp: New. This code now contains a direct interface to
3250     the WLDAP library so we don't need extra DLL's to handle LDAP keyservers.
3251     (wldap_init): New.
3252     (wldap_end): New.
3253     (ldap_set_verbose): New.
3254     (ldap_get_key_info): New.
3255     (ldap_recvkey): New.
3256     (init_ldap): New. Internal use only.
3257     (get_key): New. Ditto.
3258     (send_key): New. Ditto.
3259     * wptMainProc.cpp (wpt_main_proc): Init and de-init the LDAP dll.
3260    
3261     2001-10-25 Timo Schulz <[email protected]>
3262    
3263     * wptGPG.cpp (get_gpg_default_key): Support for the users options file.
3264     (check_gpg_path): Ditto.
3265     (get_gpg_options): Ditto.
3266     (set_gpg_default_key): Ditto.
3267     (set_gpg_options): Ditto.
3268     (gpg_check_keyring): Ditto.
3269     (set_gpg_default_keyid): Fix a typo.
3270     * wptGPGME.cpp (get_default_keyid): Rewrote most of the code.
3271    
3272     2001-10-23 Timo Schulz <[email protected]>
3273    
3274     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Replace for with while
3275     because it's shorter.
3276     * wptFileSignDlg.cpp (file_sign_dlg_proc): Use keylist instead of
3277     the default keyid.
3278     * wptFileManager.cpp (fm_sign): Remove the default key ID code. Now
3279     we use the signer from the keylist.
3280     * wptGPGME.cpp (get_default_keyid): Revamp most of the code and fix
3281     some silly bugs.
3282     * WinPT.cpp (WinMain): if there is no valid keyring after the new
3283     preferences, start the key generation dialog.
3284    
3285     2001-10-22 Timo Schulz <[email protected]>
3286    
3287     Remove all MyGPGME code from the main project. Now we use the
3288     libmygpgme.dll to provide all cryptographic functions and interfaces.
3289    
3290     * wptKeylist.cpp (key_array_new): New.
3291     (key_array_release): New.
3292     (key_array_search): New.
3293     * wptKeylist.cpp (keylist_add_to_recipients): Check if an untrusted key was
3294     already checked and don't bother the user if all userid's were selected.
3295     * wptPassphraseCB.cpp (passphrase_cb_init): Now void.
3296     (passphrase_cb_gpgme): Ditto.
3297     (passphrase_callback_proc): Support for a list of recipients.
3298     * wptImportList.cpp (implist_add_key): Support for secret keys.
3299    
3300     2001-10-19 Timo Schulz <[email protected]>
3301    
3302     * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Support for various
3303     option files.
3304     * wptMainProc.cpp (wpt_main_proc): Remove the preferences menu and
3305     use a popup menu.
3306     * wptExtensions.cpp (gpgoe_load_plugin): New. Try to load the GPGOE
3307     plug-in.
3308     (gpgoe_unload_plugin): New.
3309    
3310     2001-10-17 Timo Schulz <[email protected]>
3311    
3312     * wptCurrWnd.cpp (get_window_contents): Only minimize the window
3313     when the clipboard contains text.
3314     * wptKeylist.cpp (keylist_add_key): Check only for invalid keys
3315     in the mainloop. The other flags are checked in the various cases.
3316     (add_key): Use the ** foo ** notation for invalid flags instead of
3317     skipping the key.
3318     * wptKeyMiscDlg.cpp (clip_export): Check for revoked keys and print
3319     out a warning.
3320     Change all error messages to one header.
3321     (check_key_status): Check if the key is valid in the sense of
3322     revocation and expire dates. If not, print out a warning.
3323     (keymisc_dlg_proc): Use the new code.
3324    
3325     2001-10-16 Timo Schulz <[email protected]>
3326    
3327     * wptW32API.cpp (check_date): New.
3328     (get_open_filename): New.
3329     * wptDlgs.cpp (init_dtp): New. Initialize a special common control.
3330     * wptKeygenDlg.cpp (keygen_dlg_proc): Add support for exipre dates.
3331    
3332     2001-10-15 Timo Schulz <[email protected]>
3333    
3334     * wptFileManager.cpp (fm_wipe): New.
3335     (fm_set_status): Add temporary wipe status and handle default values.
3336     (fm_parse_files): Use fm_wipe instead of sunlink. Delete all wiped
3337     files with a successful opeation.
3338     * wptKeygenCbDlg.cpp (keygen_cb_dlg_proc): New. Static dialog procedure.
3339     (keygen_cb_thread): New. Static dialog thread.
3340     (keygen_cb_dlg_create): New. Interface.
3341     (keygen_cb_dlg_destroy): New. Destroy the dialog.
3342     (keygen_cb): GPGME interface.
3343    
3344     2001-10-13 Timo Schulz <[email protected]>
3345    
3346     Set all ListviewControls to 'NULL' in all dialogs to be more crash
3347     resistent.
3348    
3349     * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): Rebuild interface.
3350     * wptFileExportDlg.cpp (file_export_dlg_proc): Ditto.
3351     * wptFileImportDlg.cpp (file_import_dlg_proc): Ditto.
3352     * wptFileSignDlg.cpp (file_sign_dlg_proc): Ditto.
3353     * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Ditto.
3354     * wptStringUtil.cpp: Removed.
3355     * wptFileManager.cpp: Rewrote the complete interface code for
3356     the file manager.
3357     * wptFileManagerDlg.cpp: Rewrote the whole file manager dialog.
3358    
3359     2001-10-10 Timo Schulz <[email protected]>
3360    
3361     * wptGPG.cpp (set_gpg_default_key): Use spaces if the entry in the
3362     file is longer then the keyid.
3363     (get_gpg_default_key): Replaced get_gpg_default_keyid. Check if the
3364     entry is an userid.
3365     * wptFileManager.cpp (fm_check_for_entry): New. Avoid to add a file
3366     more then one time.
3367     (fm_add_dropped_files): Use it here.
3368     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support for common
3369     keys.
3370    
3371     2001-10-09 Timo Schulz <[email protected]>
3372    
3373     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Check the return
3374     code of sunlink.
3375     * wptGPG.cpp (get_keyring_from_optfile): New.
3376     Renamed gpg_errstr to gpg_strerror.
3377     (set_default_key): New.
3378     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Support for default key setting.
3379    
3380     2001-10-08 Timo Schulz <[email protected]>
3381    
3382     * wptKeyserver (kserver_connect): If the proxy settings are valid,
3383     use the proxy port instead of the HKP port.
3384     (kserver_recvkey): Proxy support.
3385     (kserver_search_init): Ditto.
3386    
3387     2001-10-06 Timo Schulz <[email protected]>
3388    
3389     * wptPassphraseCB.cpp (parse_gpg_description): Fixed a memory leak.
3390    
3391     2001-10-05 Timo Schulz <[email protected]>
3392    
3393     * wptKeylist.cpp: (addkey): Check if the used userID is not revoked.
3394     In the case it is, use the first userID.
3395     * wptKeySubkeyDlg.cpp (key_subkey_dlg_proc): Change the listbox.
3396     Remove the Pos column and add a status column instead.
3397     Add expire stuff for subkeys.
3398     (init_dtp): Initialize the common control.
3399     * wptClipEditDlg.cpp (clip_edit_dlg_proc): New code to load a file
3400     into the clipboard.
3401     * wptKeyPropsDlg.cpp (ot_id_to_string): New. Returns a long description
3402     of the ownertrust value.
3403     (keyprops_dlg_proc): Fixed ownertrust handling.
3404    
3405     2001-10-04 Timo Schulz <[email protected]>
3406    
3407     * wptPassphraseCB.cpp (parse_gpg_describtion): Free buffer.
3408     * wptKeyserver.cpp (kserver_search_init): Set buffer to NULL.
3409     Both were pointed out my Timo (not me ;-)).
3410     * wptKeylist.cpp (add_key): Fix a typo and now the code is more
3411     strict with returned attributes.
3412     * wptKeysignDlg.cpp (keysign_dlg_proc): Modify GPGME interface
3413     for local signatures.
3414    
3415     2001-09-28 Timo Schulz <[email protected]>
3416    
3417     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): WM_NOTIFY to handle
3418     the double click messages.
3419     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.
3420     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
3421     * wptFileManager.cpp (overwrite_file): Check if the file exists and
3422     then let the user decide.
3423     (fm_encrypt): Use the code here.
3424     (fm_sign): And here.
3425     (fm_sym_encrypt): And here. Now we use the passphrase dialog.
3426     (fm_decrypt): And here.
3427     * wptFile.cpp (unlink_file): Removed. We can use sunlink if we need
3428     a secure wipe.
3429    
3430     Make the memory checking more strict.
3431    
3432     2001-09-27 Timo Schulz <[email protected]>
3433    
3434     * wptMainProc.cpp (wpt_main_proc): Fixed typo. Thanks to Andy who
3435     discovered this.
3436     * wptPasswdDlg.cpp (passwd_dlg_proc): New. Handy dialog to get the
3437     passphrase.
3438     * wptEditKeyDlg.cpp: Removed. The edit-key code is now moved to
3439     the various other dialogs to make the use more easier.
3440     * wptKeyUIDDlg.cpp: (keyuid_dlg_proc): ADDUID code, use it here.
3441     * wptSubkeyDlg.cpp: (subkey_dlg_proc): ADDKEY code. Ditto.
3442    
3443    
3444     2001-09-26 Timo Schulz <[email protected]>
3445    
3446     * wptW32API.cpp (listbox_add_string): New. Shortcut to avoid long casts.
3447     (listbox_get_cursel): Ditto.
3448    
3449    
3450     2001-09-23 Timo Schulz <[email protected]>
3451    
3452     * wptSubkeyDlg.cpp (key_subkey_dlg_proc): New. Lists the subkeys.
3453     The same as the userid dialog.
3454     * wptWndSwitchDlg.cpp: Removed.
3455     * wptWipeExt.cpp: Removed. Code is now included.
3456     * wptGPGME.cpp (get_default_keyid): If the keyid from the options
3457     file is in the keycache.
3458     * wptKeylist.cpp (keylist_reload): New. Reload a keylist.
3459    
3460     2001-09-17 Timo Schulz <[email protected]>
3461    
3462     * wptClipboard.cpp (clip_isalready_secured): Fixed two silly bugs
3463     who prevent the correct return value in the case of an clipboard error.
3464     (clip_parse_pgp_id): New. Returns the PGP message type.
3465     * wptHotkey.cpp (hotkeys_strerror): Fixed bug in the indexes.
3466     (hotkey_single_register): Return correct error value.
3467     (hotkey_single_unregister): Ditto.
3468     * wptW32API.cpp (get_thread_id): Removed.
3469     (attach_thread_input): Ditto.
3470     (detach_thread_input): Ditto.
3471     * wptCurrWnd.cpp (get_window_contents): Store main and focused window
3472     for later use.
3473     (set_window_contents): Use the new code.
3474    
3475     2001-09-16 Timo Schulz <[email protected]>
3476    
3477     * wptExtensions.h: New. This file is now used for the extenion
3478     declarations.
3479     * wptExtensions.new: (register_extensions): New. Enumerate and
3480     load all possible extensions.
3481     (unregister_extentions): New. Release all loaded extensions.
3482     * wptKeyserver.cpp (kserver_load_conf): Added support for different
3483     keyservers. Currently only HTTP/LDAP.
3484     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Added LDAP support.
3485     (hkp_recv_key): Ditto.
3486     * wptMailPlugin.cpp (oe_set_focus): Fixed silly bug that prevents
3487     to set the focus.
3488     * (oe_check_recipient): New. Checks if the key is able to encrypt
3489     and valid in the sense of revocation.
3490    
3491     2001-09-14 Timo Schulz <[email protected]>
3492    
3493     * wptWAB.cpp: (wab_read): New. Interface to read all address book
3494     entries.
3495     (wab_open): New. Internal function to load the WAB.
3496     (wab_release): New. Release the WAB contexts.
3497     (wab_load): New. Load the contents of the WAB into a linked list.
3498     (addr_list_new): New. Linked address list.
3499     (addr_list_add): New.
3500     (addr_list_release): New.
3501    
3502     2001-09-13 Timo Schulz <[email protected]>
3503    
3504     * Revamped the whole plugin code for OE5.
3505     * wptMailPlugin.cpp (oe_plugin_new): New. Allocates new structure.
3506     (oe_plugin_releae): New.
3507     (oe_plugin_init): New. Searches for the OE main window and select
3508     all the recipients from the fields.
3509     (oe_get_msg): This code now uses the menu command id's to
3510     execute the commands.
3511     (oe_set_msg): Ditto.
3512     (oe_encrypt): Changed for the new code.
3513     * wptMainProc.cpp (wpt_main_proc): Re-activate the code.
3514     * wptHotkeys.cpp: Ditto.
3515     * Removed the hook project.
3516    
3517     2001-09-12 Timo Schulz <[email protected]>
3518    
3519     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Fixed a format error.
3520     Thanks to Rich who pointed this out.
3521    
3522     2001-09-07 Timo Schulz <[email protected]>
3523    
3524     * wptFileManagerDlg.cpp (file_manager_dlg_proc): Fix memory leaks.
3525    
3526     2001-09-05 Timo Schulz <[email protected]>
3527    
3528     * wptKeyMiscDlg.cpp (clip_export): New. Handy function to export keys.
3529     (clip_import): New. Handy function to import keys.
3530     * wptKeygenDlg.cpp (keygen_dlg_proc): Added a warning when the passphrase
3531     is too short.
3532    
3533     2001-09-04 Timo Schulz <[email protected]>
3534    
3535     * Rewrote most parts of the keymanager.
3536     * Ditto for the filemanager.
3537    
3538     2001-09-01 Timo Schulz <[email protected]>
3539    
3540     * wptMainProc.cpp (wpt_main_proc): Remove the im- and export operations.
3541     These code is now part of the key manager.
3542     * wptKeyPropsDlg.cpp (key_props_dlg): Removed the get_key_xxx functions.
3543     * wptKeylist.cpp (get_key_algo): New.
3544     (get_key_created): New.
3545     (get_key_type): New.
3546     (get_key_size): New.
3547     (get_key_fpr): New.
3548     * wptClipExportDlg.cpp (clip_export_dlg_proc): Removed. This is now
3549     a part of the keymanager.
3550    
3551     2001-08-31 Timo Schulz <[email protected]>
3552    
3553     * wptFileManager.cpp (fm_add_opened_files): New. Use a standard
3554     file open dialog instead of drag & drop.
3555     * wptHotkeys.cpp (hotkey_strerror): More detailed information which
3556     hotkey couldn't set up.
3557     (hotkey_register_single): Ditto.
3558    
3559     2001-08-30 Timo Schulz <[email protected]>
3560    
3561     * wptFilemanager.cpp (fm_encrypt): Add minor changes.
3562     (fm_decrypt): Ditto.
3563     (fm_sign): Ditto.
3564     (fm_verify): Make the code more modular.
3565     (fm_add_sig_stat): New. For new fm_verify code.
3566    
3567     2001-08-28 Timo Schulz <[email protected]>
3568    
3569     * wptKeylist.cpp (strlist_add_recipients): Fixed the listview handling.
3570     * wptKeyserver.cpp (kserver_load_conf): Proxy support
3571     (kserver_connect): Ditto.
3572    
3573     2001-08-26 Timo Schulz <[email protected]>
3574    
3575     * wptFileManager.cpp (fm_entry_new): New.
3576     (fm_entry_release): New.
3577     (fm_state_new): New.
3578     (fm_state_release). New.
3579     (fm_get_current_file): New.
3580     * wptKeylist.cpp (strlist_add_recipients): New.
3581    
3582     2001-08-25 Timo Schulz <[email protected]>
3583    
3584     * wptStringUtil.cpp (strlist_new): New. Linked list to hold strings.
3585     (strlist_release): New. Release the linked list.
3586     (strlist_add): New.
3587    
3588     2001-08-21 Timo Schulz <[email protected]>
3589    
3590     * wptGPG.cpp (get_gpg_default_keyid): Modify the code and now it
3591     also supports "encrypt-to" entries as default keys.
3592     * wptWipeExt.cpp (wipe_init_ext): New. Load the DLL to provide
3593     secure wiping.
3594     (wipe_deinit_ext): New. Unload the DLL and free all pointer.
3595     (wipe_loaded_ext): New. Checks wether the DLL was loaded.
3596     * wptW32API.cpp (set_menu_state): New.
3597    
3598     2001-08-20 Timo Schulz <[email protected]>
3599    
3600     * wptGPG.cpp (create_gpg_options): Fixed nul byte bug. Thanks to Thomas.
3601     * wptPreferencesDlg.cpp (prefs_dlg_proc): Fixed the code to disable
3602     the hotkeys. Automatically enable or disable the hotkey field depend
3603     on the switch.
3604    
3605     2001-08-17 Timo Schulz <[email protected]>
3606    
3607     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Choose key if there is only
3608     one by default.
3609     * wptKeyList.cpp (keylist_add_to_recipients): Ditto.
3610     * wptGPG.cpp (gpg_check_homedir): Creates the GPGME specific gpgProgram
3611     entry in the registry in the case it's missing (whenever it's possible!).
3612     (check_gpg_path): Rewrite parts of the code.
3613    
3614     2001-08-11 Timo Schulz <[email protected]>
3615    
3616     * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Beautify the dialog and
3617     separate the fingerprint from the othr information.
3618     * wptGPG.cpp (check_opt_keyring): New. Do a sanity check if the
3619     file, specified in the options line, does exist.
3620    
3621     2001-08-08 Timo Schulz <[email protected]>
3622    
3623     * wptGPG.cpp (check_gpg_path): Sanity check for size of the options file.
3624     Support for more configurations.
3625     * wptFileSignDlg.cpp (file_sign_dlg_proc): Fixed error in signature mode.
3626     Add all strings to the translation suite.
3627     * Updated all NLS dialog strings.
3628     * wptRFC2440.cpp (get_pkttype): Fixed error to check the CTB.
3629     * wptFileManager.cpp (fm_decrypt): Support to decrypt armored file,
3630     with a dynamic callback for the passphrase.
3631    
3632     2001-08-06 Timo Schulz <[email protected]>
3633    
3634     * wptFilemanager.cpp (fm_sign): Set the keyid length to 16.
3635    
3636     2001-08-05 Timo Schulz <[email protected]>
3637    
3638     * wptKeylist.cpp (keylist_add_key): Change the schematics to support
3639     all keyids.
3640     * wptSigList.cpp (siglist_build): New. Interface code to load the
3641     signature list.
3642     * wptKeysigDlg.cpp (keysig_dlg_proc): Uses siglist_build.
3643    
3644     2001-08-03 Timo Schulz <[email protected]>
3645    
3646     * wptMainProc.cpp (wpt_main_proc): The GPG menu was removed, now
3647     we support this code in the key manager.
3648     * wptKeyMisc.cpp (key_misc_dlg_proc): Supports new GPG commands.
3649     * wptKeyserver.cpp (kserver_index_request), (kserver_recv_request):
3650     Removed. The code moved into the main functions.
3651     (kserver_send), (kserver_recv): Ditto.
3652     (sock_write): Improved code.
3653     (sock_read): Ditto and some additional timeout.
3654     (sock_select): New. Figure out the socket state.
3655     (kserver_search_init): New. Make connection to the server.
3656     * wptHKPSearchDlg.cpp (hkp_search_dlg_proc): Now it uses the new
3657     keyserver code.
3658     * wptFile.cpp (get_keyid_from_file): Add support for the PGP marker
3659     packet. Thanks to Alan.
3660     (check_for_symenc_data): Ditto.
3661     * wptFileManager.cpp (fm_get_file_type): Ditto.
3662     (fm_decrypt): Move the keycache in the if loop and fix the keycache
3663     type.
3664    
3665     2001-08-02 Timo Schulz <[email protected]>
3666    
3667     * wptGPG.cpp (check_gpg_path): Check the size of both keyrings too.
3668     Useful in the case the file was generated but it's empty.
3669     * wptKeyEditDlg.cpp (key_edit_dlg_proc): Fixed some typos.
3670    
3671    
3672     2001-08-01 Timo Schulz <[email protected]>
3673    
3674     * wptKeyserver.cpp (kserver_urlencode): Create a HTTP compatible
3675     request for uploading a key.
3676     (kserver_send_request): Use the urlencode to send the key.
3677     (sock_read): New. Improved read function to replace recv.
3678     (sock_write): New. Improved write function to replace send.
3679     * wptFileManager.cpp (fm_get_file_type): If the data is armored,
3680     call fm_check_armor_type().
3681     (fm_check_armor_type): New. Figure out the armor type of the data.
3682     * wptKeyMisc.cpp (key_misc_dlg_proc): Use a menu instead of the
3683     buttons. Optimized the code.
3684    
3685     2001-07-30 Timo Schulz <[email protected]>
3686    
3687     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Added the interface code
3688     for the agent.
3689     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
3690    
3691     2001-07-29 Timo Schulz <[email protected]>
3692    
3693     * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): New. Dialog for creating
3694     a key revocation certificate. Add a hint to show how sentensive this
3695     data is.
3696     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Added the code to handle the
3697     revocation.
3698     * wptAgent.cpp: Source for the server interface removed.
3699     (agent_is_avail): New. Checks if the agent is available.
3700     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Added the interface code
3701     for the agent.
3702    
3703     2001-07-26 Timo Schulz <[email protected]>
3704    
3705     * wptGPG.cpp (check_gpg_keyring): New. Check if a gpg keyring
3706     exists. Useful if the keyring was moved during some commands.
3707     * wptMainProc.cpp (wpt_main_proc): Use the new code. Thanks to
3708     Rich to discover this.
3709    
3710     2001-07-25 Timo Schulz <[email protected]>
3711    
3712     * WinPT.cpp (WinMain): Add a sanity check for the keycache to detect
3713     serious GPG errors.
3714     * wptFileManager.cpp (fm_sym_encrypt): New. Symmetric encryption.
3715     Suggested by Graham.
3716     (fm_decrypt): Change code to support symmetric decryption.
3717     (fm_get_file_type): Fixed some typos.
3718    
3719     2001-07-24 Timo Schulz <[email protected]>
3720    
3721     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Get new cache context after
3722     reloading the keycache. Fixed the memory leaks. Thanks to Andreas.
3723     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Better GPGME callback to inform
3724     the user about errors.
3725     * wptKeyTrustPathDlg.cpp (copy_trust_item): New. Copy the GPGME structure
3726     in our own context.
3727     (treeview_insert_item): New. Handy function to insert an entry.
3728     (treeview_create_child_item): New. Insert a trustlist node.
3729     (treeview_add_trustpath): New. Add recursively the whole trust path
3730     int the tree view.
3731     * wptKeysigDlg.cpp (check_for_missing_keys): New. Checks if the
3732     signature list contains entries with a NOKEY status.
3733     (recv_missing_keys): New. Receive all keys with a NOKEY as the signature
3734     status.
3735     * wptImportList.cpp (implist_load): New. Initialize the listview item
3736     with an import overview.
3737     * wptClipImportDlg.cpp (clip_import_dlg_proc): Use implist_load instead
3738     of the code.
3739     (print_import_status): Summarize the results. We need this because file
3740     import needs the same function.
3741     * wptFileImportDlg.cpp (file_import_dlg_proc): New. Interface for the
3742     file manager.
3743     * wptFileManagerDlg.cpp (file_manager_dlg_proc): New code for the key
3744     import from file.
3745     * wptFileManager.cpp (fm_import): New. Ditto.
3746     * wptKeyserver.cpp (kserver_connect): Take care for some return values
3747     and set the socket to non blocking mode.
3748     Moved the Winsock2 init code to wptMainProc.cpp
3749     * wptMainProc.cpp (wpt_main_proc): Wsock2 code.
3750     * wptHKPSearchDlg.cpp (hkpsearch_dlg_prog): Remove Wsock2 init code.
3751    
3752     2001-07-22 Timo Schulz <[email protected]>
3753    
3754     * wptKeyPrefsDlg.cpp (keyprefs_dlg_proc): New.
3755     (get_key_created): New. Transform ulong timestamp to ascii.
3756     (get_key_algo): New. Returns a formatted algorithm (depend on subkeys).
3757     (get_key_size): New. Returns a formatted size depend (depend on subkeys).
3758     * wptSigList.cpp (siglist_add_key): Fix the timestamp.
3759     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Removed "list sigs" and replace
3760     this with list trust path.
3761     * wptKeySigDlg.cpp (keysig_dlg_proc): Remove the set_check_mode function
3762     because we always check the signatures.
3763     * wptKeyTrustPathDlg.cpp (keytrust_dlg_proc): New.
3764    
3765     2001-07-21 Timo Schulz <[email protected]>
3766    
3767     * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): Set cancel mode in
3768     the case of IDCANCEL.
3769     * wptFileSignDlg.cpp (file_sign_dlg_proc): Ditto.
3770     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Check if the key is a key pair
3771     pair and only if activate the passphrase dlg items.
3772     Do sanity checks for all buttons that require key pairs.
3773     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Support the new code.
3774    
3775     2001-07-20 Timo Schulz <[email protected]>
3776    
3777     * wptKeyserver.cpp: (kserver_send_request): Correct the octect length
3778     of the request.
3779     (check_hkp_response): If an error ocurred, copy the error message into
3780     the static buffer.
3781     (kserver_strerror): Interface for the static error buffer.
3782     * wptKeyserverDlg.cpp (hkp_err_box): Generates a HKP specific message
3783     box.
3784     (hkp_send_key): Add more verbose messages at the end.
3785     (hkp_recv_key): Ditto.
3786     (check_pattern): Rewrote the entire code to be more bug proof.
3787     * wptKeylist.cpp (keylist_add_to_recipients): Add a flag to indicate
3788     that the recipient list contains untrusted entries.
3789     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use the new flag to
3790     force GPG to add the need options.
3791     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
3792    
3793     2001-07-19 Timo Schulz <[email protected]>
3794    
3795     * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Support for more
3796     detailed error messages in the case for a missing key or an included
3797     signature.
3798    
3799     2001-07-17 Timo Schulz <[email protected]>
3800    
3801     * wptKeylist.cpp (keylist_build_small): Support for a minimal keybox
3802     and increment the 'cols' variable inside the structure for further use.
3803     (add_key): Watch for the 'cols' variable to figure out how much columns
3804     are used.
3805     * wptListView.cpp (listview_set_ext_style): Set an extended style for
3806     the given listview.
3807     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Use WM_NOTIFY to save the
3808     selected server.
3809     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.
3810     * wptKeyserver.cpp (kserver_connect): IP address support. This is faster
3811     and no DNS lookup is needed.
3812    
3813     2001-07-14 Timo Schulz <[email protected]>
3814    
3815     * wptKeylist.cpp (keylist_add_key): Check for secret keys before adding
3816     it to the signing keylist.
3817     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Add newline if the passphrase
3818     is empty.
3819     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
3820    
3821    
3822     2001-07-13 Timo Schulz <[email protected]>
3823    
3824     * wptKeyserver.cpp (kserver_send_request): Add the "keytext" string to
3825     the request. Arggg!
3826     (check_hkp_response): Add flag to differ between 'send' and 'recv' mode.
3827    
3828    
3829     2001-07-12 Timo Schulz <[email protected]>
3830    
3831     * wptClipDecryptDlg.cpp (clip_decrypt_dlg): If the dialog was canceled,
3832     just quit without any messages. Suggested by Rich.
3833    
3834    
3835     2001-07-11 Timo Schulz <[email protected]>
3836    
3837     * wptKeyserver.cpp (wsock_strerror): If it's an unknown error, add
3838     the integer.
3839     (keyserver_create_conf): Create a config file instead of the error.
3840     * wptGPG.cpp (create_gpg_options): If the file doesn't exist create
3841     a default file. This prevents confusing error messages.
3842     (get_gpg_options): Use new code.
3843     * wptErrors.cpp (winpt_debug_msg): Improved debug message that tells
3844     the user how to find the files.
3845    
3846     2001-07-05 Timo Schulz <[email protected]>
3847    
3848     * wptHotkey.cpp (mod_hotkeys): Fix a small typo.
3849    
3850     2001-07-04 Timo Schulz <[email protected]>
3851    
3852     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Auto retrieve key
3853     if the user agree.
3854     * wptKeylist.cpp (keyload_load): Use the mode from the param, not
3855     the hardcoded.
3856     * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Load options file on startup.
3857     Rename 'load' to 'reload' to make sense with the new code.
3858     * wptHotkeys.cpp (mod_hotkeys): Rewrite the entire code for the
3859     registry stuff.
3860     * wptRegistry.cpp (set_reg_winpt_prefs): Ditto.
3861     (get_reg_winpt_prefs): Ditto.
3862     (regist_inst_winpt): Remove the old code.
3863     (register_single_filetype): Replacement for the old code.
3864    
3865     2001-07-01 Timo Schulz <[email protected]>
3866    
3867     * wptFileManager.cpp (fm_verify): New.
3868     (fm_decrypt): New.
3869     * wptFileEncryptDlg.cpp (file_encrypt_dlg_proc): New.
3870    
3871    
3872     2001-06-30 Timo Schulz <[email protected]>
3873    
3874     * wptFilemanagerDlg.cpp (file_manager_dlg_proc): Uses the new passphrase
3875     code.
3876     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Ditto.
3877     * wptClipSignEncDlg.cpp (clip_sign_dlg_proc): Ditto.
3878     * wptFileManager.cpp: New. (fm_build): New. Initialize the filemanager.
3879     (fm_delete): New.
3880     (fm_encrypt): New.
3881     (fm_get_current_pos): New.
3882     (fm_get_file_type): New.
3883     (fm_add_dropped_files): New.
3884    
3885     2001-06-29 Timo Schulz <[email protected]>
3886    
3887     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Fix a small bug that prevent
3888     to send data to the clipboard.
3889     * wptMainProc.cpp (wpt_main_proc): Change the SetForegroundWindow to
3890     destroy the window immediately.
3891     * wptKeyserver.cpp (kserver_getip): Removed.
3892     (kserver_get_langname): Removed.
3893     (kserver_load_conf): New. Load the keyserver.conf file and set the
3894     included keyserver addresses into the global context.
3895     * WinPT.cpp (WinMain): Add the kserver_load_conf to intialize the
3896     keyserver context.
3897     * wptImplist.cpp (get_key_date): New. Transform integer timestamp
3898     to ISO date.
3899     (implist_add_key): Now it uses the context instead of all single
3900     variables.
3901    
3902     2001-06-28 Timo Schulz <[email protected]>
3903    
3904     * wptRFC2440.cpp (get_pkttype): Renamed from get_pkt_type and all new
3905     flag variables to support RFC1991.
3906     (get_rfc2440_pktlen): Renamed from get_pkt_len to support RFC1991.
3907     (get_rfc1991_pktlen): Ditto.
3908    
3909     2001-06-27 Timo Schulz <[email protected]>
3910    
3911     * wptRFC2440.cpp (get_pkt_type): New. Extract the OpenPGP packet type.
3912     (get_pkt_len): New. Extract the OpenPGP packet length.
3913     (parse_pke_sesskey): Read a public key encrypted session key
3914     but without data.
3915     * wptFilemanagerDlg.cpp (quote_filename): Do some quotings if the
3916     filename contains spaces. Just to make GPG happy.
3917     (file_manager_dlg_proc): Check if the file exist after encryption.
3918     * wptFile.cpp (get_keyid_from_file): Checks the file for an valid
3919     packet and then extract the keyid.
3920    
3921     2001-06-25 Timo Schulz <[email protected]>
3922    
3923     * wptKeylist.cpp (keylist_load): New. Initialize a keylist item with
3924     the contents from the given cache context.
3925     (keylist_add_to_recipients): New. Add the selected keys to the
3926     recipient set.
3927     * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use the new keylist
3928     function to load the listview.
3929     * wptClipExportDlg.cpp (clip_export_dlg_proc): Ditto.
3930     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Ditto.
3931     * wptClipDecryptDlg.cpp (parse_gpg_describtion): Beautify the userid
3932     and the keyid hint.
3933    
3934     2001-06-24 Timo Schulz <[email protected]>
3935    
3936     * wptGPG.cpp (get_gpg_path): Add null termination to the string.
3937     Thanks to Jonathan who pointed this out.
3938     (get_gpg_prog): Ditto.
3939     (gpg_check_file_ext): Check the file extension for the given GPG
3940     type.
3941     (get_gpg_default_keyid): Return null if there isn't an entry in the
3942     options file.
3943     * wptKeylist.cpp (add_key): Fixed the wrong return codes of listview_xxx
3944     style functions.
3945     * wptImpList.cpp (implist_add_key): Ditto.
3946     * wptSigList.cpp (siglist_add_key): Ditto.
3947     * wptVerifyList.cpp (verlist_add_key): Ditto.
3948    
3949     2001-06-23 Timo Schulz <[email protected]>
3950    
3951     * wptGPG.cpp (get_gpg_default_keyid): Determine the keyid with the
3952     options file.
3953    
3954     2001-06-22 Timo Schulz <[email protected]>
3955    
3956     * wptHKPSearchDlg.cpp (hkpsearch_dlg_proc): New. Dialog to perform
3957     keyserver seraching. As an additional feature it's also posible to
3958     import the keys directly.
3959    
3960     2001-06-18 Timo Schulz <[email protected]>
3961    
3962     * wptKeyserver.cpp (check_hkp_response): More detailed error check
3963     of the http response.
3964     (kserver_send_request): Debug mode now uses logfile.
3965     (kserver_recv_request): Ditto.
3966     (kserver_index_request): New. Create a request for a key index.
3967     (kserver_send): Now uses check_hkp_response.
3968     (kserver_recv): Ditto.
3969     (kserver_search): New. Start the key index loop.
3970     * wptKeyserverDlg.cpp (recv_key): Check if the key was really
3971     imported and received.
3972    
3973     2001-06-17 Timo Schulz <[email protected]>
3974    
3975     * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Force to use the
3976     default key for signing.
3977    
3978     2001-06-16 Timo Schulz <[email protected]>
3979    
3980     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Added missing return.
3981     Corrected return values.
3982     * wptErrors.cpp (winpt_strerror): Removed all unused error strings.
3983     * wptGPG.cpp (get_gpg_path): Change to default path and prevent
3984     buffer overflows.
3985     (get_gpg_prog): Ditto.
3986    
3987    
3988     2001-06-15 Timo Schulz <[email protected]>
3989    
3990     * wptKeylist.cpp (keylist_add_key): Change encrypt param to mode.
3991     Differ between the new keylist styles.
3992     * wptGPGME.cpp (keycache_xxx): Move the caching interface to this
3993     file. For an easier handling between dialogs and code.
3994     (keycache_rewind): New. Rewind a global keycache context.
3995     (keycache_next_key): New. Retrieve the next key from the keycache.
3996     (get_default_key): New. Return the default key, this is the secret
3997     key with the index 0.
3998     * wptClipSignDlg.cpp (clip_sign_dlg_proc): Modify the default key
3999     handling. Now the signer is set in any case. Prevent hanging GPG
4000     processes.
4001     * wptSecmem.cpp (vm_safe_init): New. Initialize the safe memory.
4002     (vm_safe_init_noswap): New. Initialize safe memory with tail data.
4003     See source for more information.
4004     (vm_safe_free): New. Free all used pointer and burn all buffers.
4005     (vm_safe_get): New. Get the begin of the alloced buffer.
4006     (vm_safe_set_swapfile): New. Set global swapfile name.
4007     (vm_safe_create_swapfile): New. Creats a swapfile and set its
4008     contents to zero.
4009    
4010     2001-06-12 Timo Schulz <[email protected]>
4011    
4012     * wptPreferencesDlg.cpp (check_hotkey): Check if the hotkey key is
4013     a big letter, otherwise convert.
4014     (preferences_dlg_proc): Check hotkeys.
4015     * wptKeylist.cpp (add_keys): Static functions to add a single key.
4016     (keylist_add_key): Now it adds all subkeys to the dialog.
4017     (keylist_alloc): Remove because it's not needed any longer.
4018     * wptImportList.cpp (implist_alloc): Ditto.
4019     * wptSigList.cpp (siglist_alloc): Ditto.
4020     * wptVerifyList.cpp (verlist_alloc): Ditto.
4021    
4022     2001-06-10 Timo Schulz <[email protected]>
4023    
4024     * wptHotkey.cpp (enable_hotkey): New. Set enable flag for a single
4025     hotkey.
4026     (mod_hotkeys): Take care of the enable flags.
4027     (register_hotkeys): Ditto.
4028     (unregister_hotkeys): Ditto.
4029     * WinPT.cpp (WinMain): If the registry entry of WinPT doesn't exist,
4030     don't try to modify hotkeys.
4031     * WptMainProc.cpp (wpt_main_proc): All message boxes are forced to
4032     the foreground.
4033    
4034     2001-06-08 Timo Schulz <[email protected]>
4035    
4036     * wptHotkey.cpp (mod_hotkeys): Change code to support the new
4037     registry style.
4038     * wptRegistry.cpp (get_reg_winpt_prefs): Support to disable
4039     single hotkeys. Suggested by Jonathan.
4040     * wptPreferencesDlg.cpp (preferences_dlg_proc): Support to disable
4041     single hotkeys.
4042     * wptKeyserver.cpp (kserver_connect): Reset winsock error var.
4043     (keyserver_recv): Ditto.
4044     (keyserver_send): Ditto.
4045     (wsock_strerror): Returns a description of the winsock problem.
4046     * wptClipboard.cpp (clip_get_pgp_type): Check if the returned buffer
4047     is valid.
4048    
4049     2001-06-07 Timo Schulz <[email protected]>
4050    
4051     * wptOwnertrustDlg.cpp (ownertrust_dlg_proc): Set to foreground,
4052     add windows title.
4053    
4054     2001-06-05 Timo Schulz <[email protected]>
4055    
4056     * wptAboutGPGDlg.cpp (about_gpg_dlg_proc): Check if the returned
4057     buffer is valid. Remove the fixme, because it's possible that there
4058     were new cipher modules loaded.
4059     * wptClipDecryptDlg.cpp (passphrase_callback_proc): Check if the
4060     context is valid.
4061     * wptClipEditDlg.cpp (clip_edit_dlg_proc): Check if the context is valid.
4062     * wptW32API.cpp (status_box): New. Message box that is always forced
4063     to the foreground.
4064    
4065     2001-06-04 Timo Schulz <[email protected]>
4066    
4067     * wptClipImportDlg.cpp (clip_import_dlg_proc): Added the code for
4068     the improved import status.
4069    
4070    
4071     2001-06-01 Timo Schulz <[email protected]>
4072    
4073     * wptKeyEditDlg.cpp (keyedit_dlg_proc): IDC_KEYEDIT_OWNERTRUST:
4074     Release context in the case of an error.
4075     * wptMainProc.cpp (wpt_main_proc): Fix typo.
4076     * wptGPG.cpp: (init_gpg_table): Remove the case code. Now we use
4077     a static gpg object array that contains all filenames.
4078    
4079    
4080     2001-05-27 Timo Schulz <[email protected]>
4081    
4082     * wptRegistry.cpp (set_reg_winpt_prefs): Add word wrapping.
4083     (get_reg_winpt_prefs): Ditto.
4084     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Set focus after the
4085     gpg process finished.
4086     * wptSigList.cpp (siglist_add_key): Parse the numeric timestamp to
4087     a humand readable date.
4088    
4089    
4090     2001-05-25 Timo Schulz <[email protected]>
4091    
4092     * wptKeyUidDlg.cpp (keyuid_dlg_proc): Add button to delete a choosen
4093     user id. End the dialog if there was an error during the Gpgme operations.
4094     * wptClipboard.cpp (clip_istext_avail): First check if the pointer is
4095     valid and then look at the length. Avoid crashes for some texts.
4096    
4097     2001-05-21 Timo Schulz <[email protected]>
4098    
4099     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Add new button for userid
4100     management.
4101     * wptKeyUidDlg.cpp (keyuid_dlg_proc): Finished code to show all userids
4102     from a special key.
4103    
4104     2001-05-20 Timo Schulz <[email protected]>
4105    
4106     * wptGPG.cpp (check_gpg_optfile): Count each of the keyring entries
4107     to figure out if both parts are available.
4108    
4109     2001-05-19 Timo Schulz <[email protected]>
4110    
4111     * wptPreferencesDlg.cpp (preferences_dlg_proc): If the disable hotkey
4112     flag is set, also disable all input items.
4113     (disable_dlg_item): New. Disable dialog items (windows).
4114     * wptMainProc.cpp (wpt_main_proc): Only set hotkeys if the no_hotkeys
4115     flag isn't set.
4116     * wptKeyserverDlg.cpp (send_key): Forget to set the armor flag, as
4117     a result the code only sended parts of the key.
4118     * wptConfig.cpp: Removed. Not used any longer.
4119    
4120     2001-05-18 Timo Schulz <[email protected]>
4121    
4122     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Check the state of the various
4123     edit key commands. In the case the dialog was canceled, return without
4124     modifying anything.
4125     * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Check the state of the
4126     signature. If it doesn't contain a valid key, do nothing.
4127     * wptMainProc: (wpt_main_proc): If the hotkey setup doesn't work, don't
4128     quit the program. In some cases the hotkeys are possible locked.
4129     * WinPT.cpp (WinMain): If there is an error with the gpg program/path,
4130     give the user the chance to start the GPG preference dialog.
4131     * wptPreferencesDlg.cpp (preferences_dlg_proc): Added the CWS hotkey
4132     support. Flag to disable all hotkeys. Reload new hotkeys (in the case
4133     they changed). Load the registry entry on startup.
4134     * wptHotkey.cpp (mod_hotkeys): Overwrite the default hotkeys with the
4135     stored registry entries.
4136    
4137     2001-05-13 Timo Schulz <[email protected]>
4138    
4139     * wptRegistry.cpp (set_reg_key): Open a subkey, if it doesn't exist
4140     the function create it.
4141     (set_reg_winpt_prefs): Use the new function to set the subkey values.
4142     All functions now return WPTERR_REGISTRY instead of 1.
4143     Add some error handling to prevent errors in the registry.
4144     * wptPreferencesDlg.cpp (preferences_dlg): Add the code for the Clipboard
4145     hotkeys and the caching time.
4146    
4147    
4148     2001-05-12 Timo Schulz <[email protected]>
4149    
4150     * wptMainProc.cpp (wpt_main_proc): Start the agent before the decryption
4151     call.
4152    
4153     2001-05-11 Timo Schulz <[email protected]>
4154    
4155     * wptMainProc (wpt_main_proc): Change all related menu entries from
4156     Encrypt & sign to Sign & Encrypt. Added the command to the current
4157     window menu and the handling of the window messages.
4158     * wptSignEncDlg.cpp (clip_signenc_dlg_proc): Changed the window text.
4159     * wptRegistry.cpp (set_reg_winpt_prefs): New. Stores all WinPT
4160     preferences in the registry.
4161     (get_reg_winpt_prefs): Read all preferences from the registry into
4162     the options context.
4163     * WinPT.cpp (WinMain): Read in the registry preferences at the begin
4164     and store it.
4165     * wptAgent.cpp (agent_init): Check if the environment variable
4166     GPG_AGENT_INFO is set, otherwise set it.
4167     (agent_is_running): Check wether the agent is running.
4168     (agent_start): Automated function that read all needed information
4169     from global variables.
4170    
4171     2001-05-10 Timo Schulz <[email protected]>
4172    
4173     * wptFindWnd.cpp (find_window_hwnd): New. Function to retrieve
4174     the handle of the specified window.
4175     * wptAgent.cpp (agent_timer_proc): Changed the agent interface
4176     to window messages instead of socket connections.
4177     * wptMainProc.cpp (wpt_main_proc): Added the new preference dialog
4178     and menu entry.
4179     * wptPreferencesDlg.cpp: New.
4180    
4181     2001-05-09 Timo Schulz <[email protected]>
4182    
4183     * wptAgent.cpp (gpga_writen): Write 'n' bytes into a socket.
4184     (gpga_readn): Read 'n' bytes from a socket.
4185     (gpga_open): Open the interface to the GPG-Agent.
4186     (gpga_close): Close the GPG-Agent socket.
4187     (gpga_clear_passphrase): Clear a passphrase from the GPG-Agent.
4188     (agent_add_fpr): Add a fingerprint to the cache. If WinPT quits,
4189     this keys will be remove from the GPG-Agent cache.
4190     (agent_delete_fpr): Remove a fingerprint from the cache.
4191     (agent_init): Clear the cache.
4192     (agent_timer_proc): Remove all stored passphrases which were
4193     requested through the chache.
4194    
4195     2001-05-08 Timo Schulz <[email protected]>
4196    
4197     * wptKeyserver.cpp (wsock_init): Replace the kserver init
4198     code which initialized the Wsock2 interface.
4199     (wsock_end): Ditto.
4200     * wptAgent.cpp: Remove the passphrase caching code and add
4201     the GPG agent code.
4202    
4203     2001-05-05 Timo Schulz <[email protected]>
4204    
4205     * wptCurrWnd.cpp (get_curr_wnd): Alternative code to retrieve
4206     the current window handle. This code doesn't use the hook DLL.
4207     Thanks to Oliver Nittka for his patch.
4208     * wptErrors.cpp (winpt_strerror): Fixed a small typo.
4209     * wptGPG.cpp (check_last_gpg_access): Remove debug code.
4210     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Change the keycache reloading
4211     scheme to prevent reloading the cache twice.
4212    
4213     2001-05-04 Timo Schulz <[email protected]>
4214    
4215     * wptKeyTrustDlg.cpp: Renamed to wptKeyEditOwnertrustDlg.cpp.
4216     * wptKeyEditOwnertrustDlg.cpp (keyedit_ownertrust_dlg):
4217     Move all the GPGME specific code to the main dialog. Now only
4218     the context values are set.
4219     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Include the changed ownertrust
4220     code.
4221    
4222     2001-05-02 Timo Schulz <[email protected]>
4223    
4224     * wptKeyEditAddSubkeyDlg.cpp: New. Dialog to create additional
4225     subkeys for the mainkeys.
4226     * wptKeyEditAddUidDlg.cpp: (keyedit_adduid_dlg_proc): Set foreground
4227     window flag.
4228     * wptKeyEditDlg.cpp: (keyedit_dlg_proc): Added the code for the
4229     addkey feature.
4230    
4231     2001-05-01 Timo Schulz <[email protected]>
4232    
4233     * wptCurrWnd.cpp (wnd_msg_markall): New. Send the CTRL+a key sequence
4234     to a window.
4235     (wnd_msg_copy): New. Send the CTRL+c key sequence to a window.
4236     (wnd_msg_paste): New. Send the CTRL+v key sequence to a window.
4237     (wnd_msg_em_set_pos): Manipulate an edit multiline control text pos.
4238     * wptMainProc.cpp (wpt_main_proc): Fix some message string for
4239     the hotkey handling. Quit the program if a registration procedure
4240     failed.
4241     * wptErrors.cpp (log_box): Improved log handling to dump states
4242     of variables during regression tests.
4243    
4244     2001-04-30 Timo Schulz <[email protected]>
4245    
4246     * wptClipEditDlg.cpp: Now the dialog uses the Courier font to
4247     enhance the format of keys and other GPG data.
4248     * wptKeyserverDlg.cpp (keyserver_dlg_proc): Set the cache realod
4249     flag after receiving a key.
4250     * wptKeyTrustDlg.cpp (keytrust_dlg_proc): Add error message when
4251     no listbox entry was choosen.
4252     * wptKeySignDlg.cpp (keysign_dlg_proc): Add Check button text to
4253     the NLS suite.
4254     * wptKeygenDlg.cpp (keygen_dlg_proc): Set the cache reload flag
4255     instead of refresh the keycache.
4256    
4257     2001-04-29 Timo Schulz <[email protected]>
4258    
4259     * wptKeyEditDlg.cpp (clear_dlg_fields): Clear all passphrase items.
4260     (keyedit_dlg_proc): Free gpgme context. Add the passphrase for the
4261     adduid command.
4262     * wptKeyEditAddUidDlg.cpp (keyedit_adduid_dlg_proc): Initialize
4263     the dialog with a KEY structure that holds the keyid and the userid.
4264     * wptWndHook.cpp: Remove the global context and use instead of it
4265     static variables. Put all static variables into the SHARED data
4266     segment in the DLL.
4267    
4268     2001-04-28 Timo Schulz <[email protected]>
4269    
4270     * wptGPGME.cpp: New. Move some additional GPGME code into WinPT.
4271     So it's easier to update GPGME and we can use NLS to translate
4272     error strings.
4273     * wptVerifyList.cpp (get_sig_date): New. Removed from the GPGME code
4274     because we only use it here.
4275     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Add the 'change passphrase'
4276     feature to the edit-key interface.
4277    
4278     2001-04-27 Timo Schulz <[email protected]>
4279    
4280     * wptCurrWnd.cpp (get_window_contents): Change the code for the last
4281     window concept. Thanks to Oliver.
4282     (set_window_contents): Add some stuff to set the position if the
4283     current window is an edit control.
4284     * wptKeyEditDlg.cpp (keyedit_dlg_proc): Add code for the 'adduid'
4285     stuff.
4286     * wptKeyEditAddUidDlg.cpp: New. (keyedit_adduid_dlg_proc): Code to
4287     create a new user id for a GPG key.
4288    
4289     2001-04-26 Timo Schulz <[email protected]>
4290    
4291     * wptKeyEditDlg.cpp (keyedit_dlg_proc): New. Dialog for the various
4292     edit-key commands.
4293     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Add the button for the edit
4294     key code.
4295    
4296     2001-04-25 Timo Schulz <[email protected]>
4297    
4298     * wptKeySignDlg.cpp (keysign_dlg_proc): Now we use a new GPGME
4299     callback system to pass the keyedit information to GPG.
4300     * wptKeyTrustDlg.cpp (keytrust_dlg_proc): Ditto.
4301    
4302     2001-04-24 Timo Schulz <[email protected]>
4303    
4304     * wptEncryptDlg.cpp (encrypt_dlg_proc): Release the static listview
4305     item and set it to zero.
4306     * wptSignDlg.cpp (sign_dlg_proc): Ditto.
4307     * wptSignEncDlg.cpp (sign_encrypt_dlg_proc): Ditto.
4308     * wptVerifyDlg.cpp (verify_dlg_proc): Ditto.
4309     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Ditto.
4310     (keymisc_dlg_proc): Provide the functionality to delete key pairs
4311     secret+public.
4312     * wptWndHook.cpp (is_winpt_wnd): Remove this function and put
4313     all code into (check_wnd).
4314     (check_wnd): Check if the window doesn't is a application related
4315     window.
4316    
4317     2001-04-23 Timo Schulz <[email protected]>
4318    
4319     * wptFindWnd.cpp (find_child_wnd_proc): Removed. This functionality
4320     is not needed because all dialog windows are top level windows.
4321    
4322     2001-04-22 Timo Schulz <[email protected]>
4323    
4324     * wptGPG.cpp (check_last_gpg_access): Reset switch before testing
4325     the condition.
4326     * wptFindWnd.cpp (find_child_wnd_proc): New. Callback to enumerate
4327     all children windows.
4328     (find_parent_wnd_proc): New. Callback to enumerate all parent windows.
4329     (find_window): New. Return if the specified windows as found.
4330     * wptW32API.cpp: (dialog_box_param): New. Alias with the additional
4331     feature to check if the dialog already exist (and then preventing
4332     the creation).
4333     * wptMainProc.cpp (wpt_main_proc): Replace all DialogBoxParam with
4334     then new dialog_box_param function. Thanks to Martin who told me
4335     about this dialog problem.
4336     * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Ditto.
4337     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Ditto. Add translation for the
4338     new signature buttons.
4339    
4340     2001-04-21 Timo Schulz <[email protected]>
4341    
4342     * wptWndHook.cpp (install_cbt_hook): Remove the thread because the
4343     system already is into a DLL.
4344     * wptKeyMiscDlg.cpp (keymisc_dlg_proc): Remove checkbutton and use
4345     instead of it a button to check the key signatures.
4346     * wptGPG.cpp (get_last_gpg_access): New. Retrieve the file timestamp
4347     from the given gpg object.
4348     (check_last_gpg_access): New. Compare the last file timestamp with the
4349     new timestamp.
4350     (init_gpg_table): New. Initialize the table with gpg objects who shall
4351     be watched.
4352     (keyring_check_last_access): Use the new code.
4353     * wptCurrWnd.cpp (set_window_contents): Restore the window if it is
4354     now iconic.
4355     * wptMainProc.cpp (wpt_main_proc): Add decrypt/verify for the
4356     current window stuff.
4357    
4358     2001-04-17 Timo Schulz <[email protected]>
4359    
4360     * wptWndHook.cpp (is_taskbar_wnd): New. Alias to check if the window
4361     belongs to the taskbar area.
4362     (is_winpt_wnd): New. Alias to check if the window belongs to WinPT.
4363     (cbt_proc): Change code to include both functions.
4364     * wptCurrWnd.cpp (get_window_contents): Add switch if we use the
4365     foreground or the CBT window.
4366     * wptMainProc.cpp (wpt_main_proc): All hotkey operations for the
4367     current window mode set the no_cbt variable.
4368     * wptGPG.cpp (keyring_check_last_access): New. Check if the keyring
4369     was modified by an external program.
4370     * wptKeyMiscDlg.cpp: (keymisc_dlg_proc): Now check for external
4371     keyring changes.
4372    
4373     2001-04-16 Timo Schulz <[email protected]>
4374    
4375     * wptWndHook,cpp (cbt_proc): Compare process ids to differ between
4376     WinPT and normal windows.
4377     (install_cbt_hook): Add pid to the context.
4378    
4379     2001-04-14 Timo Schulz <[email protected]>
4380    
4381     * wptCurrWnd.cpp: (get_window_contents): Add an event to switch
4382     the windows. This is needed by the current code.
4383     (set_window_contents): Ditto.
4384     * wptWndSwitchDlg.cpp: (wndswitch_dlg_proc): Create a hidden dialog
4385     and force it to the foreground. This is the event needed by the code
4386     above.
4387     (create_wndswitch_event): Execute the dialog.
4388     * wptMainProc.cpp: (wpt_main_proc): Add new links in the hotkey
4389     section. Add message entries for the code.
4390     * wptW32API.cpp: (copy_window_to_clip): Moved to the into the OE
4391     mailer code.
4392     (insert_window_from_clip): Ditto.
4393     * wptMailPlugin.cpp: (oe_set_message): Insert the new code and add
4394     the event to switch the windows.
4395     (oe_get_message): Ditto.
4396    
4397     2001-04-13 Timo Schulz <[email protected]>
4398    
4399     * wptMailPlugin.cpp: (oe_set_message): Change the id's for
4400     the attach_thread_input.
4401     (oe_get_message): Ditto.
4402     * wptCurrWnd.cpp: (get_window_contents): Ditto.
4403     (set_window_contents): Ditto.
4404    
4405     2001-04-12 Timo Schulz <[email protected]>
4406    
4407     * wptHotkeys.cpp: (register_single_hotkey): Add code for the current
4408     window stuff.
4409     * wptMainProc.cpp: (wpt_main_proc): WM_HOTKEY. Add the current window
4410     hotkeys.
4411     * wptW32API.cpp: (attach_thread_input): Split up the functions into
4412     two parts. The attach flags is always set.
4413     (detach_thread_input): See above. The attach flags is never set.
4414     * wptCurrWnd.cpp: New. Code for the current window stuff.
4415     (get_window_contents): Extract the text from the given window to
4416     the clipboard.
4417     (set_window_contents): Insert clipboard into the given window.
4418    
4419     2001-04-09 Timo Schulz <[email protected]>
4420    
4421     * wptGPG.cpp: (check_line): Ignore empty lines.
4422     (check_gpg_options): Ditto.
4423    
4424     2001-04-09 Timo Schulz <[email protected]>
4425    
4426     * wptClipboard.cpp: (clip_get_pgp_type): New. Return the PGP packet
4427     type. Kludge for decrypt/verify.
4428     * wptMainProc.cpp: (wpt_main_proc): Remove verify and put the
4429     code into the decrypt routine.
4430     * wptClipImportDlg.cpp: (clip_import_dlg_proc): New button to start
4431     the key management after import.
4432    
4433     2001-04-07 Timo Schulz <[email protected]>
4434    
4435     * wptAgent.cpp: (agent_new): Rename to agent_init and modify source.
4436     (agent_destroy): Ditto.
4437     (agent_passphrase_cache): Ditto.
4438     (agent_passphrase_remove): Ditto.
4439     (agent_passphrase_get): Ditto.
4440    
4441     2001-04-06 Timo Schulz <[email protected]>
4442    
4443     * wptGPG.cpp: (check_gpg_path): Fix a small error.
4444     * WinPT.cpp: (WinMain): Add a dialog for the possibity that it's the
4445     first time a user started WinPT.
4446     * wptClipboard.cpp: (clip_isalready_secured): Check the begin and
4447     end PGP header.
4448    
4449     2001-04-06 Timo Schulz <[email protected]>
4450    
4451     * wptOwnertrustDlg.cpp: New. (ownertrust_dlg_proc): New.
4452     * wptKeyTrustDlg.cpp: (key_trust_dlg_proc): Add new button for the
4453     ownertrust dialog.
4454    
4455     2001-04-04 Timo Schulz <[email protected]>
4456    
4457     * wptClipDecryptDlg.cpp (passphrase_callback_proc): Remove the static
4458     passphrase. Now a callback context is used.
4459     (passphrase_cb): Ditto.
4460     (clip_decrypt_dlg): Ditto.
4461     * wptWndHook.cpp (cbt_thread): New. Thread to enable CBT hook.
4462     (install_cbt_hook): Modify for the new thread model.
4463     (remove_cbt_hook): Ditto.
4464     * wptW32API.cpp: (init_crtical_section): New. Make the code MT safe.
4465     (delete_critical_section): Ditto.
4466     (lock): Ditto.
4467     (unlock): Ditto.
4468    
4469     2001-04-02 Timo Schulz <[email protected]>
4470    
4471     * WinPT.cpp: (set_gpgme_debug_env): New: Set the environment variable.
4472     * wptClipSignDlg.cpp: (clip_sign_dlg_proc): Now the keylist widget only
4473     contains valid keys.
4474     * wptClipEncryptDlg.cpp: (clip_encrypt_dlg_proc): Ditto.
4475    
4476     2001-03-31 Timo Schulz <[email protected]>
4477    
4478     * wptClipSignDlg.cpp: (clip_sign_dlg_proc): If no key was choosen,
4479     the GPG default key will be used.
4480    
4481     2001-03-30 Timo Schulz <[email protected]>
4482    
4483     * wptW32API.cpp: (new_strdup): Remove.
4484     * wptW32API.h: Ditto.
4485     * wptWndHook.cpp: (get_cbt_curr_wnd): Return the current window.
4486     * wptKeygenDlg.cpp: (clear_dlg_fields): New: Clear all text fields.
4487    
4488     2001-03-28 Timo Schulz <[email protected]>
4489    
4490     * wptClipEncryptDlg.cpp: (clip_encrypt_dlg_proc):
4491     Added the keyid to the "no trust" message.
4492     * wptKeyserverDlg.cpp: (check_pattern): New:
4493     Do some sanity checks of the search pattern.
4494     * wptMainProc.cpp: (wpt_main_proc): Add agent support.
4495     * wptHotkey.cpp: Add agent support.
4496    
4497     2001-03-21 Timo Schulz <[email protected]>
4498    
4499     * WinPT.cpp: (WinMain): Re-activate the enable debug switch.
4500     * wptKeylist.cpp: (keylist_add_key): Ignore invalid keys.
4501    
4502     2001-03-20 Timo Schulz <[email protected]>
4503    
4504     * wptClipDecryptDlg.cpp: Rewrote
4505    
4506     2001-03-19 Timo Schulz <[email protected]>
4507    
4508     * wptVerifyList.cpp: New control for the verify dialog.
4509     * wptClipVerifyDlg.cpp: Rewrote
4510    
4511     2001-03-18 Timo Schulz <[email protected]>
4512    
4513     * wptClipVerifyDlg.cpp: New: stub for further verify dialogs.
4514     * wptAgent.cpp: New: Experimental passphrase caching.
4515    
4516     2001-03-16 Timo Schulz <[email protected]>
4517    
4518     * wptDlgs.h: Add new dialog callback function.
4519     * wptKeysigDlg.cpp: New. Key signature listing dialog.
4520    
4521     2001-03-15 Timo Schulz <[email protected]>
4522    
4523     * wptClipEncryptDlg.cpp: Fix translation.
4524     * wptKeygenDlg.cpp: Fix the names of the button (avoid confused users).
4525     * wptKeymiscDlg.cpp: Fix the key deleting stuff.
4526    
4527     2001-02-27 Timo Schulz <[email protected]>
4528    
4529     * wptKeylistWidget.cpp: New. Implementation of a W32 keylist control.
4530     * wptClipKeytrustDlg.cpp: Index was counted from 0 (should be from 1):
4531     Fixed.
4532    
4533     2001-02-25 Timo Schulz <[email protected]>
4534    
4535     * wptGPGPrefsDlg.cpp: Add some new translation strings.
4536     * wptKeyGenDlg.cpp: Add all dialog text to the NLS suite.
4537     * wptMainProc.cpp, wptClipDecryptDlg.cpp: Change to new packet parser.
4538     * wptClipImportDlg.cpp: Finished basic interface.
4539    
4540     2001-02-24 Timo Schulz <[email protected]>
4541    
4542     * wptGPG.cpp: (check_gpg_path): Fix a bug.
4543     (check_gpg_options): Fix some bugs.
4544    
4545     2001-02-22 Timo Schulz <[email protected]>
4546    
4547     * wptGPG.cpp: (check_line): New. Check if the line contains a valid
4548     gpg argument.
4549     (check_gpg_options): New. Parses each buffer line to check_line().
4550    
4551     2001-02-21 Timo Schulz <[email protected]>
4552    
4553     * wptGPG.cpp: Fix the check_gpg_optfile() code.
4554     (gpg_errstr): Define some error constants to be more verbose.
4555     (set_gpg_options): New. Manipulate the options file.
4556     (get_gpg_options): New. Read in the options file.
4557     * wptFile.cpp: (get_file_size): New.
4558     * wptGPGOptDlg.cpp: New. Dialog for editing the options file
4559    
4560     2001-02-20 Timo Schulz <[email protected]>
4561    
4562     * wptGPGPrefsDlg.cpp: Add some sanity checks for the value.
4563     * wptClipImportDlg.cpp: Add some new code.
4564    
4565     2001-02-19 Timo Schulz <[email protected]>
4566    
4567     * wptRegistry.cpp: (is_installed): Remove.
4568     (regist_inst_winpt): Add selfcheck.
4569     (regist_inst_gpg): New. Add gpg releated registry entries.
4570     (regist_inst_mo): New. Add nls related path.
4571     (get_reg_entry), set_reg_entry(): Modify to be more flexible.
4572     (set_reg_entry_gpg): Handy functions for get_reg_entry.
4573     (set_reg_entry_mo): Ditto.
4574     (get_reg_entry_gpg): Ditto.
4575     (get_reg_entry_mo(): Ditto.
4576     * wptGPGPrefsDlg.cpp, wptNLS.cpp: Add support for the locale environment.
4577     * wptGPG.cpp: (check_gpg_optfile): Figure out if the option file.
4578     include keyring entries (2x)
4579     (check_gpg_path): Include the check_gpg_optfile() check.
4580    
4581     2001-02-17 Timo Schulz <[email protected]>
4582    
4583     * wptRegistry.cpp: (get_reg_entry): Return the GnuPG homedir from
4584     the registry.
4585     (set_reg_entry): Set a gnupg registry key.
4586     * wptGPG.cpp: Modify all function for the use with get_reg_entry().
4587     * WinPT.cpp: Change the way for the gpg searching mechanism.
4588     * wptGPGPrefsDlg.cpp: New dialog for dynamic GPG configuration.
4589     * wptClipImportDlg.cpp: (key import dialog): New.
4590     * wptKeylistElement.cpp:
4591     (wpt_lv_implist_build): Build up the key import list.
4592     (wpt_lv_implist_add_key): Insert a key into the import list.
4593     (wpt_lv_implist_dummy): Dummy to build up a box with a fixed size.
4594    
4595     2001-02-10 Timo Schulz <[email protected]>
4596    
4597     * wptMainProc.cpp: Move ctb_proc and hotkey inits to this file.
4598     * wptKeylistElement.cpp: New.
4599     * wptListElement.cpp: Remove.
4600     * wptW32API.cpp: Insert all lv_*** functions.
4601     * wptKeylistElement.cpp: (wpt_lv_keylist_release_key): New.
4602     (wpt_lv_keylist_release_keys): Ditto.
4603     * wptW32API.cpp: (w32_get_thread_id): New.
4604     (w32_attach_thread_input): New.
4605     * wptMailPlugin.cpp: (oe_get_message): Add thread attach mechanism.
4606     (oe_get_message): Add thread attach mechanism.
4607     (oe_encrypt): Modify for the attach treach mechanism.
4608     Add sanity check for recipients.
4609    
4610     2001-02-07 Timo Schulz <[email protected]>
4611    
4612     * wptClipEditDlg.cpp: (clip_edit_dlg_proc): Add some sanity checks.
4613     * wptExportDlg.cpp: (clip_export_dlg_proc): Ditto.
4614    
4615     2001-02-04 Timo Schulz <[email protected]>
4616    
4617     * wptSignDlg.cpp: (wpt_sign_proc): Add secret key listing.
4618     * wptMainProc.cpp: (wpt_main_proc):
4619     Remove ciphertext checks for signing and encrypting.
4620     (allow double encryption).
4621    
4622     2001-02-03 Timo Schulz <[email protected]>
4623    
4624     * wptMailPlugin.cpp: (oe_find_msg_window): Fix window handles.
4625     (oe_find_addr_window): Ditto.
4626     (oe_find_main_window): Ditto.
4627    
4628     2001-02-02 Timo Schulz <[email protected]>
4629    
4630     * wptW32API.cpp: (w32_hit_key): New.
4631     (w32_rel_key): New.
4632     (w32_copy_to_clip): New.
4633     (w32_insert_from_clip): New.
4634     (w32_get_clip_text): New.
4635     (w32_set_clip_text: New.
4636     (w32_show_if_icon): New.
4637    
4638     2001-02-01 Timo Schulz <[email protected]>
4639    
4640     * wptW32API.cpp: (w32_get_edit_text): New.
4641     (w32_set_menu_text): New.
4642     (w32_strdup): New.
4643     * wptMailPlugin.cpp: (oe_***): New. Basic OE interface.
4644     * Create all dialogs windows in the foreground.
4645    
4646     2001-01-31 Timo Schulz <[email protected]>
4647    
4648     * wptKeygenDlg.cpp: (wpt_keygen_proc): Passphrase sanity check.
4649     * wptW32API.cpp: New.
4650     * WinPT.cpp: (WinMain): Change the keyring checking code.
4651    
4652     2001-01-29 Timo Schulz <[email protected]>
4653    
4654     * wptClipboard.cpp: (clip_is_already_secure):
4655     Modify the pgp data detection.
4656    
4657     2001-01-28 Timo Schulz <[email protected]>
4658    
4659     * wptHotkey.cpp: (register_hotkey): Hotkey registration.
4660     (unregister_hotkey): Hotkey removing.
4661     * wptHokey.h: New.
4662     * wptWndHook.cpp:
4663     (wpt_cpt_proc): Window hook to save the current windows.
4664     * wptWndHoo.h: New.
4665     * wptMainProc.cpp: (wpt_main_proc): Add hotkey messages.
4666     * WinPT.cpp: (WinMain): Add hotkey registration.
4667    
4668     2001-01-21 Timo Schulz <[email protected]>
4669    
4670     * wptNLS.cpp: ported to C++.
4671     (gettext): Remove CP850 to ISO88591 conversation.
4672    

Properties

Name Value
svn:eol-style native

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26