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

Diff of /trunk/Src/ChangeLog

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

revision 101 by twoaday, Fri Nov 25 10:56:05 2005 UTC revision 234 by twoaday, Tue Jun 27 10:16:41 2006 UTC
# Line 1  Line 1 
1    2006-06-24  Timo Schulz  <[email protected]>
2    
3            * wptMainProc.cpp (winpt_main_proc): Localize missing string.
4            * wptKeyEditDlgs.cpp (do_add_new_subkey): Better fpr to keyid
5            conversion.
6            (subkey_list_init): Simplified.
7            
8    2006-06-22  Timo Schulz  <[email protected]>
9    
10            * WinPT-en.rc: Include versioninfo.rc to generate
11            the version info automatically.
12            
13    2006-06-19  Timo Schulz  <[email protected]>
14    
15            * wptClipDecryptDlg.cpp (verify_get_clip_info): Improved
16            format of the sig info text.
17            * wptKeyserver.cpp (check_hkp_response): Invert error logic.
18            * wptKeyserverDlg.cpp (keyserver_recv_key): Corrected error
19            handling.
20            * wptPassphraseDlg.cpp (request_key_passphrase): Return
21            utf8 encoded passphrase.
22            
23    2006-06-18  Timo Schulz  <[email protected]>
24    
25            * wptKeygenDlg.cpp (keygen_dlg_proc): Fix typo.
26            * wptClipDecryptDlg.cpp (verify_get_clip_info): New.
27            (verify_get_key_ownertrust): New.
28            (clip_decrypt_dlg_proc): New argument. Change all callers.
29            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle the case
30            that the dialog was called with a param.
31            * wptMainProc.cpp (winpt_main_proc): Wait for thread in
32            case of dbl-click.
33            
34    2006-06-16  Timo Schulz  <[email protected]>
35    
36            * wptProgressDlg.cpp (wait_for_progress_cb): New.
37            * wptMainProc.cpp (winpt_main_proc): Use this function
38            to disallow to access the cache during synchronisation.
39            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
40            * wptKeyserver.cpp (check_hkp_response): Improved text
41            extraction.
42            (parse_keyserver_error): New.
43            * wptPassphraseDlg.cpp (request_passphrase): Support utf8
44            encoding.
45            * wptKeyEditDlgs.cpp (keyedit_change_passwd): Warn if passhrase
46            needs to be utf8 encoded but still allow it.
47            * wptPassphraseCBDlg.cpp (passphrase_callback_proc): Utf8 support.
48            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
49            * wptKeyRevokeDlg.cpp (keyrevoke_dlg_proc): Likewise.
50            
51    2006-06-15  Timo Schulz  <[email protected]>
52    
53            * wptVerList.cpp (verlist_build): Use icons.
54            (verlist_add_sig): Set image number according to sig state.
55            
56    2006-06-14  Timo Schulz  <[email protected]>
57    
58            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Translate
59            authors string here. Noted by Eduardo.
60            * wptSymEnc.cpp (gpg_clip_sym_encrypt): Check all return codes.
61            
62    2006-06-09  Timo Schulz  <[email protected]>
63    
64            * wptKeyEditDlgs.cpp (do_add_new_subkey): Properly handle
65            RSA_E and RSA_S.
66            * wptFileManager.cpp (fm_sym_encrypt): Better dialog title.
67            
68    2006-06-08  Timo Schulz  <[email protected]>
69    
70            * wptKeyserver.cpp (parse_keyserver_url): Handle special case.
71            * wptKeySignDlg.cpp (keysign_dlg_proc): Show photo if possible.
72            (showphoto_dlg_proc): New.
73            * wptKeyManagerDlg.cpp (restore_window_size): New.
74            (keymanager_dlg_proc): Restore original window size on startup.
75            (copy_key_info): Allow to copy multiple key items.
76            
77    2006-06-06  Timo Schulz  <[email protected]>
78    
79            * wptKeyEditCB.cpp (cmd_sign_handler): Return 0 by default
80            if no expire date were given.
81            
82    2006-06-05  Timo Schulz  <[email protected]>
83    
84            * wptPassphraseDlg.cpp (request_passphrase): Release mem
85            in case of errors.
86            (request_key_passphrase): New.
87            (set_passphrase_hint): New.
88            * wptKeyEditDlgs.cpp (do_editkey_sign_userid): Show passphrase
89            hint. Suggested by vedaal.
90            
91    2006-06-03  Timo Schulz  <[email protected]>
92    
93            * wptPINDlg.cpp (pin_dlg_proc): Remove static var.
94            * wptClipEncryptDlg.cpp (show_invalid_recipients): Handle
95            the case that 'encrypt-to' points to a non-existing item.
96            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Do not close
97            the dialog if an error occurred.
98            * wptKeygenDlg.cpp (keygn_dlg_proc): Check expirate date.
99            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Release mem
100            in case of errors.
101            * wptKeyserverDlg.cpp (check_pattern): Improved code.
102            (keyserver_dlg_proc): All comparisons are case insentensive.
103            * wptKeyserver.cpp (parse_uid_record): utf8 decode user id.
104            
105    2006-06-02  Timo Schulz  <[email protected]>
106    
107            * wptKeygenDlg.cpp (keygen_dlg_proc): Forgot to apply patch.
108            
109    2006-06-01  Timo Schulz  <[email protected]>
110    
111            * wptKeyserver.cpp (check_URL): change semantic.
112            (skip_type_prefix): Use check_URL().
113            * wptGPG.cpp (gnupg_backup_keyrings): New argument to
114            include secret keyring backups. Change all callers.
115            * wptRegistry.cpp (get_reg_winpt_prefs): Support new option.
116            (set_reg_winpt_prefs): Likewise.
117            * wptPreferencesDlg.cpp (on_init_dialog): Adjust the code.
118            
119    2006-05-29  Timo Schulz  <[email protected]>
120    
121            * wptKeyserver.cpp (keyserver_set_default): Also set default port.
122    
123    2006-05-27  Timo Schulz  <[email protected]>
124    
125            * wptKeyEditDlgs.cpp (keyedit_change_passwd): Handle empty
126            passphrase requests.
127            * wptClipDecryptDlg.cpp (verify_show_signature_state): Modified
128            for global use.
129            * wptFileManager.cpp (fm_decrypt): Use it here.
130            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Simplified.
131            
132    2006-05-25  Timo Schulz  <[email protected]>
133    
134            * wptGPGUtil.cpp (gpg_rebuild_cache): Return error code.
135            * wptGPGME.cpp (winpt_get_seckey): Fix off-by-one bug.
136            * wptVerifyList.cpp (verlist_build): New argument type.
137            Change all callers.
138            (verlist_set_info_control): New.
139            (verlist_set_additional_info): New.
140            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Adjust code.
141            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
142            * wptFileCBS.cpp (read_cb, write_cb): Add logging.
143            
144    2006-05-23  Timo Schulz  <[email protected]>
145    
146            * wptKeyEditDlgs.cpp (do_add_new_userid): Fix re-introduced
147            problem.
148            (keyedit_main_dlg_proc): Popup menu for the user ID list
149            with common commands.
150            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Automatically
151            disable search for ldap servers.
152            Use subkeys.pgp.net by default when no server was selected.
153    
154    2006-05-22  Timo Schulz  <[email protected]>
155    
156            * wptRegistry.cpp (set_reg_winpt_prefs, get_reg_winpt_prefs):
157            Support for the new 'default ext' value.
158            * wptPreferencesDlg.cpp (on_init_dialog): Likewise.
159            (prefs_dlg_proc): Likewise.
160            * wptFileManager.cpp (file_get_extension): Likewise.
161            (get_output_file): Likewise.
162            (fm_export): Likewise.
163            
164    2006-05-20  Timo Schulz  <[email protected]>
165    
166            * wptKeyPropsDlg.cpp (keyprops_load_photo): avoid expensive
167            process call when no photo is available.
168            (keyprops_dlg_proc): avoid static data.
169            * wptFileManager.cpp (fm_add_sig_stat): Free memory in case
170            of on demand key requests.
171            (show_verify_result): Likewise.
172            (secret_key_available): Likewise.
173            (fm_decrypt, fm_sign): Handle the new on demand key request
174            mode and free all memory.
175            
176    2006-05-15  Timo Schulz  <[email protected]>
177    
178            * wptKeyEditDlgs.cpp (userid_list_init): Forgot to
179            apply patch. Thanks to vedaal.
180            
181    2006-05-14  Timo Schulz  <[email protected]>
182    
183            * wptKeyCache.cpp (gpg_keycache_update_attr): Parse
184            preferred keyserver URL.
185            * wptHTTP.cpp (extractHostInfo): Fix segv.
186            * wptGPGUtil.cpp (gpg_find_key_subpacket): Ignore default
187            gpg.conf.
188            * wptKeyserverSearchDlg.cpp (search_hkp_keys): Do not
189            assume an existing user id.
190            * wptPassphraseCB.cpp (passphrase_cb): Automatic cancel
191            if no passphrase is available.
192    
193    2006-05-13  Timo Schulz  <[email protected]>
194    
195            * wpMainProc.cpp (secret_key_available): Move it...
196            * wptGPGME.cpp: ..to this file.
197            (check_ultimate_trusted_key): Handle the case there
198            is no secret key available.
199            * wptFileManagerDlg.cpp (update_ui_items): Improved.
200            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Deactive
201            some functions when no secret key is available.
202            * wptKeyserverSearchDlg.cpp (search_hkp_keys): Adjust
203            code and also display pubkey algorithm.
204            * wptKeyserver.cpp (safe_alloc): New.
205            (count_keys_in_response): New.
206            (parse_pub_record): New.
207            (parse_uid_record): New.
208            (kserver_release_key): New.
209            (kserver_search_begin, kserver_search_next_key):
210            Adjust for the machine readable output. Removed old code.
211            (parse_keyserver_url): New.
212            * wptUtil.cpp (substr): New.
213            * wptKeyManager.cpp (km_refresh_one_key): Properly
214            parse the keyserver URL.
215            
216    2006-05-11  Timo Schulz  <[email protected]>
217    
218            * wptPassphraseCB.cpp (release_gpg_recipients): New.
219            (release_gpg_recipients): Use it here.
220            * wptFileManager.cpp (fm_decrypt): List all recipients.
221            Thanks to vedaal.
222            * wptGPG.cpp (extract_keyid): New.
223            (get_gnupg_default_key): Use it here.
224            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Allow to verify
225            one-pass-sigs again.
226            
227    2006-05-09  Timo Schulz  <[email protected]>
228    
229            * wptKeyRevokersDlg.cpp (revokelist_build): Store key ptr.
230            * wptClipSignDlg.cpp (gpg_clip_sign): Improve error handling.
231            * wptKeysigDlg.cpp (sigprops_dlg_proc): Correct expire date.
232            
233    2006-05-07  Timo Schulz  <[email protected]>
234    
235            * wptKeyserverDlg.cpp (hkp_err_box): Improved.
236            * wptKeyserver.cpp (wsock_strerror): Likewise.
237            * wptKeygenCBDlg.cpp (keygen_cb_dlg_destroy): New param.
238            Change all callers.
239            * wptKeysigDlg.cpp (do_load_keyprops): Correct key update
240            problem.
241            
242    2006-05-06  Timo Schulz  <[email protected]>
243    
244            * wptKeyManagerDlg.cpp (reload_keycache): Use pre-defined
245            sorting order if available.
246            * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use 0x prefix
247            for the key ID.
248            (get_pref_cipher): Differ between the AES algorithm IDs.
249            (key_is_valid): New.
250            * wptKeyserverDlg.cpp (check_pattern): Simplified.
251            
252    2006-05-03  Timo Schulz  <[email protected]>
253    
254            * wptKeyCache.cpp (keycache_prepare2): Fix possible segv.
255            Thanks to Mathias.
256            
257    2006-05-02  Timo Schulz  <[email protected]>
258    
259            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use a
260            caption for the radio button group.
261            * wptKeyserverDlg.cpp (keyserver_recv_key): Use new code.
262            * wptKeyserver.cpp (kserver_recvkey, finger_recvkey,
263            ldap_recvkey): Avoid fixed buffers.
264            (do_spawn_ldap_helper): New.
265            (ldap_recvkey): Factor out code into helper function.
266            * wptPassphraseCBDlg.cpp (passphrase_callback_proc):
267            Increase width of the list box to make sure even large
268            user IDs will be completly displayed.
269            
270    2006-05-01  Timo Schulz  <[email protected]>
271    
272            * WinPT.cpp (WinMain): Check if the user has admin privileges.
273            * wptW32API.cpp (user_is_admin): New.
274            * wptKeysigDlg.cpp (sigprops_dlg_proc): Cosmetical changes.
275            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use timer
276            to re-activate the window again.
277            * wptKeylist.cpp (get_key_trust2): Differ between "full"
278            and "ultimate".
279            * wptKeyCache.cpp (keycache_prepare2): Primary user-id
280            has now highest priority.
281            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use new utf8
282            system.
283            
284    2006-04-30  Timo Schulz  <[email protected]>
285    
286            * wptKeyCache.cpp (gpg_keycache_release): Release revoker
287            list if needed.
288            * wptKeyRevokersDlg.cpp (key_get_revokers): New.
289            (key_revokers_dlg_proc): Expect winpt_key_t. Change all callers.
290            * wptKeyEditDlgs.cpp (check_desig_rev): New.
291            (do_editkey_minimize): New.
292            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Support to
293            generate a revoc cert as a desig revoker.
294            
295    2006-04-29  Timo Schulz  <[email protected]>
296    
297            * wptVerifyList.cpp (verlist_build): Adjusted code for new
298            list view interface.
299            * wptSigList.cpp (siglist_build): Likewise.
300            * wptKeyEditDlgs.cpp (showpref_dlg_proc): Correct code
301            to display the preferences of the selected UID. Thanks to Mathias.
302            * wptKeyCacheDlg.cpp (keycache_dlg_proc): Return 1 in case
303            of an error.
304            * wptKeyCache.cpp (gpg_keycache_update_key): Always update
305            the utf8 decoded uid list.
306            * wptImportList.cpp (decode_userid): Do utf8 decoding here.
307            * wptListView.cpp (listview_new): New param for HWND handle.
308            Change all callers.
309            * wptFileManager.cpp (fm_add_sig_stat): Use utf8 decoding.
310            * wptGPGUtil.cpp (gpg_revoke_cert): Support --desig-revoker.
311            * wptClipVerifyDlg.cpp (wptClipVerifyDlg.cpp): Correct
312            keyid extraction.
313            
314    2006-04-28  Timo Schulz  <[email protected]>
315    
316            * wptMAPI.cpp (mapi_send_pubkey): Use new key struct.
317            * wptKeysigDlg.cpp (sigprops_dlg_proc): Prepare dialog
318            for handling policy URLs.
319            * wptKeyManagerDlg.cpp (save_column_info, restore_column_info):
320            New option KMSortBy.
321            * wptKeylist.cpp (get_key_algo): Lower priority for revoked keys.
322            * wptKeyEdit.cpp (minimizeKey): New.
323            * wptKeyCache.cpp (gpg_keycache_update_key): Reload utf8 uid list.
324            
325    2006-04-27  Timo Schulz  <[email protected]>
326    
327            * wptKeyManager.cpp (km_get_key_ptr): New.
328            * wptListview.cpp (listview_get_item_text): Drop utf8 support.
329            * wptKeyCache.cpp (keycache_decode_uids): New.
330            (free_native_uids): New.
331            * wptKeyEdit.cpp (uid_inf_colon_handler): Do utf8 decodig here.
332            
333    2006-04-26  Timo Schulz  <[email protected]>
334    
335            * wptKeylist.cpp (get_keyid_from_fpr): New.
336            * wptDecryptClipDlg.cpp (clip_decrypt_dlg): Use it here.
337            * wptVerifyList.cpp (verlist_add_sig): Likewise.
338            
339    2006-04-25  Timo Schulz  <[email protected]>
340    
341            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle IDCANCEL.
342            * wptMDSumDlg.cpp (hash_selected_files): New.
343            (mdsum_dlg_proc): Cleanups.
344            * wptKeysignDlg.cpp (keysign_dlg_proc): Fix segv.
345            
346    2006-04-23  Timo Schulz  <[email protected]>
347    
348            * wptW32API.cpp (SetDlgItemText_utf8): New.
349            (SetWindowText_utf8): New.
350            (GetDlgItemText_utf8): New.
351            * wptListView.cpp (listview_add_sub_item): Internal
352            utf8 support.
353            
354    2006-04-22  Timo Schulz  <[email protected]>
355    
356            * wptKeyEditDlgs.cpp (addrevoker_dlg_proc): Encode
357            revoker name in UTF8.
358            * wptKeysigDlg.cpp (keysig_dlg_proc): Fix utf8 problem
359            with the window title.
360            
361    2006-04-20  Timo Schulz  <[email protected]>
362    
363            * wptUTF8.cpp (native_to_utf8): Use c++ alloc.
364            * wptKeygenDlg.cpp (keygen_dlg_proc): Do not mix c and
365            c++ memory allocation.
366            * wptFileManager.cpp (show_verify_result): Show PKA status
367            if possible.
368            * wptClipVerifyDlg.cpp (get_pka_status): New.
369            (clip_verify_dlg_proc): Show PKA status if possible.
370            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle IDCANCEL
371            to use ESC to quit the dialog.
372            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Also
373            encode the comment in UTF8. Thanks to Werner and Jan.
374            
375    2006-04-16  Timo Schulz  <[email protected]>
376    
377            * wptHTTP.cpp (getErrorCode): New.
378            (connect): Store winsock error code.
379            * wptGPGMEData.cpp (is_armor_header): New.
380            * wptGPG.cpp (check_gnupg_engine): Free context.
381            (gnupg_backup_keyrings): Do not use global vars.
382            * wptGPGUtil.cpp (gpg_export_seckey): Export in ascii format.
383            
384    2006-04-15  Timo Schulz  <[email protected]>
385    
386            * wptKeyManager.cpp (km_get_key): New.
387            (km_key_show_revoc_info): New.
388            * wptKeyRevokeDlg.cpp (key_revoke_dlg): Cleanups.
389            (on_init_dialog): New.
390            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Factour
391            out some common code and use km_get_key() instead.
392            * wptKeyEditDlgs.cpp (do_init_keylist): Change second
393            param type. Change all callers.
394            * wptKeyEdit.cpp (addNotation): New.
395            * wptKeyEditCB.cpp (editkey_command_handler): Remove 'step'
396            param everywhere. Change all callers.
397            
398    2006-04-09  Timo Schulz  <[email protected]>
399    
400            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Only return true
401            if the homedir value was changed.
402            * wptGPG.cpp (default_key_from_cache): Only return secret key
403            if public part is available.
404            (set_gnupg_default_key): Fix NULL problem.
405            * wptKeyEditDlgs.cpp (do_editkey_clean): Set update flag.
406            * wptFileCBS.cpp (write_cb, read_cb): Better error handling.
407            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle
408            'always-on-top' correctly.
409            * wptKeylist.cpp (keylist_get_recipients): Allocate enough
410            mem to hold all possible keys.
411            (keylist_enum_keys): Likewise.
412            
413    2006-04-08  Timo Schulz  <[email protected]>
414    
415            * wptKeylist.cpp (keylist_get_recipients): Always use utf8 output.
416            * wptKeyserver.cpp (kserver_connect): Fixed proxy support.
417            * wptKeyserverSearchDlg.cpp (fetch_keys): New.
418            * WinPT.cpp (WinMain): if the default key was not found, reset
419            the gpg.conf entry.
420            * wptFileManager.cpp (fm_encrypt_into_zip): Use correct output
421            file name.
422            (show_verify_result): Always use utf8 output.
423            (get_output_file): Case in-sentensive comparison.
424            (fm_assume_onepass_sig): Fixed temp file handling.
425            * wptClipEncryptDlg.cpp (show_invalid_recipients): Fix utf8
426            output.
427            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix possible segv.
428            
429    2006-04-07  Timo Schulz  <[email protected]>
430    
431            * wptW32API.cpp (set_clip_text): Change code so it also
432            works again with non-XP systems.
433            
434    2006-04-02  Timo Schulz  <[email protected]>
435    
436            * wptKeyserver.cpp: decrease general threshold for timeout.
437            * wptKeyEditDlgs.cpp (do_editkey_clean): New.
438            
439    2006-04-01  Timo Schulz  <[email protected]>
440    
441            * wptFileVerifyDlg.cpp (file_verify_use_event): Removed.
442            * wptFileManager.cpp (restore_original_name): New.
443            (fm_decrypt): Restore original file name from literal
444            packet if possible.
445            
446    2006-03-31  Timo Schulz  <[email protected]>
447    
448            * wptCommonDlg.cpp (nls_load_langlist): New.
449            (nsl_set_language): New.
450            (nls_dlg_proc): New.
451            (select_language): New. Allow user to select the language.
452            * wptNLS.c (get_gettext_langid): Updated available languages.
453            * WinPT.cpp (WinMain): Allow to select the languag on first
454            start in non-installer environments.
455            * wptVerifyList.cpp (verlist_build): Simplified.
456            (verlist_add_sig_log): Likewise.
457            * wptListview.cpp (listview_set_column_width,
458            listview_get_selected_item): New.
459            * wptKeyManager.cpp (gpg_clip_export): Merged into..
460            (km_clip_export): ..this function.
461            
462    2006-03-30  Timo Schulz  <[email protected]>
463    
464            * wptW32API.cpp (insert_menu_item): New.
465            * wptSigTreeDlg.cpp (create_popup): Use it.
466            (sigtree_dlg_proc): Only show the name of the owner in the title.
467            * wptMainProc.cpp (init_common_controls): Initialize all
468            common controls here.
469            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Drop static
470            keyserver menu concept. Add all keyservers dynamically.
471            
472    2006-03-29  Timo Schulz  <[email protected]>
473    
474            * wptKeyManager.cpp (km_refresh_one_key): Fix problem
475            with preferred keyserver.
476            * wptCommonDlg.cpp (check_URL): Allow non-http URL.
477            * wptKeyEditDlgs.cpp (subkey_subclass_proc,
478            uid_subclass_proc): Disable shortcuts for non keypairs.
479            * wptMainProc.cpp (winpt_main_proc): No user interaction
480            on automatic shutdown. Thanks to Werner.
481            * wptGPGUtil.cpp (xcalloc): New.
482            (gpg_rebuild_cache): Use --batch.
483            
484    2006-03-26  Timo Schulz  <[email protected]>
485    
486            * wptSigTreeDlg.cpp (sigtree_load): Always use UTF8.
487            * wptMainProc.cpp (winpt_main_proc): Reload key cache
488            when the GPG settings were changed.
489            * wptKeygenDlg.cpp (keygen_wizard_dlg_proc,
490            keygen_dlg_proc): Improved check for the email address.
491            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Likewise.
492            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Modified design.
493            
494    2006-03-22  Timo Schulz  <[email protected]>
495    
496            * wptClipSignDlg.cpp (on_init_dialog): New.
497            Check that there is at least one useable signing key.
498            * wptSigTreeDlg.cpp (sigtree_load): Correct UTF8 handling.
499            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Show error
500            if needed.
501            
502    2006-03-21  Timo Schulz  <[email protected]>
503    
504            * wptUTF8.cpp (native_to_utf8): Use directly W32 API.
505            (utf8_to_native): Likewise. Remove cp850 conversion.
506            * wptKeyEditDlgs.cpp (do_find_userid): Correct UTF8 handling.
507            * wptKeyManager.cpp (km_delete_keys): Do not reset 'with_seckey'
508            flag.
509            
510    2006-03-20  Timo Schulz  <[email protected]>
511    
512            * wptUTF8.cpp (get_native_charset): Removed.
513            (utf8_to_native): Rewritten.
514            * wptKeyEditDlgs.cpp (do_add_new_userid): Correct charset
515            handling.
516            * wptKeygenCBDlg.cpp (keygen_cb): Do proper reset if needed.
517            
518    2006-03-16  Timo Schulz  <[email protected]>
519    
520            * wptMainProc.cpp (winpt_main_proc): Disable all CryptDisk code.
521            * wptCryptDisk.cpp: Disable code.
522            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): Support for
523            NONE proxy protocol.
524            (init_proxy_procotol): Likewise.
525            (read_proxy): Likewise.
526            * wptKeyserverSearchDlg.cpp (on_init_dialog): New.
527            (keyserver_search_dlg_proc): Use it here.
528            * wptKeyserverDlg.cpp (hkp_send_key): Use GPGME wrapper.
529            * wptKeyserver.cpp (kserver_search_end): New.
530            (kserver_search_begin): Be more strict on mem allocation.
531            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix 'redraw'
532            problem.
533            * wptAboutDlgs.cpp (about_dlg_proc): Hide 'Help' button.
534            
535    2006-03-12  Timo Schulz  <[email protected]>
536    
537            * wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'.
538            * wptKeyPropsDlg.cpp (display_key_info): Automatically update
539            sym algorithm preferences if needed.
540            * wptKeysignDlg.cpp (date_is_today): New.
541            (keysign_dlg_proc): Only allow to set cert expire date if
542            the option was found.
543            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set
544            'ask-cert-expire'.
545            
546    2006-03-10  Timo Schulz  <[email protected]>
547    
548            * wptHTTP.c: deleted.
549            * wptHTTP.cpp (wHTTP): Transformed old code into an object.
550            * wptKeyManager.cpp (km_http_import): Use new code.
551            (km_refresh_one_key): Use preferred keyserver if possible.
552            * wptComonDlg.cpp (check_URL): Better conformance checking.
553            * wptKeyEditCB.cpp (cmd_keyserver_handler): By default
554            set keyserver for all userids.
555            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Enable code
556            to set preferred keyserver.
557            * wptKeyCache.cpp (decode_subpacket): New.
558            (gpg_keycache_update_attr): New.
559            * wptGPGUtil.cpp (gpg_find_key_subpacket): New.
560            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Use
561            -1 as an index for all userids.
562            
563    2006-03-07  Timo Schulz  <[email protected]>
564    
565            * WinPT.cpp (set_default_keyserver): New.
566            * wptKeyserver.cpp (kserver_set_socket_timeout): New.
567            (kserver_set_default_keyserver): Initialize default settings
568            if needed.
569            * wptSymEnc.cpp (gpg_encrypt_symmetric): Disallow empty passwords.
570            * wptPassphraseDlg.cpp (request_passphrase): Handle new flag.
571            (passphrase_dlg_proc): Support new safe edit window procedure.
572            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
573            * wptPreferencesDlg.cpp (prefs_dlg_proc): Flush passphrase cache
574            if user disable it.
575            * wptKeylist.cpp (keylist_build): Do not scale images but use
576            original size.
577            * wptListView.cpp (listview_set_image_list): New size params.
578            Change all callers.
579            
580    2006-03-01  Timo Schulz  <[email protected]>
581    
582            * wptW32API.cpp (set_clip_text): Free all memory.
583            
584    2006-02-27  Timo Schulz  <[email protected]>
585    
586            * wptSOCKS.cpp (socks_handshake): New.
587            * wptMainProc.cpp (winpt_main_proc): A dbl-click forces
588            the key manager in teh foreground if possible.
589            * wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys.
590            * wptRegistry.cpp (get_reg_proxy_prefs,
591            set_reg_proxy_prefs): Use directly the proxy context.
592            Changed all callers.
593            * wptProxySettingsDlg.cpp (init_proxy_protocols): New.
594            (keyserver_proxy_dlg_proc): Use directly the proxy context.
595            * wptKeyserver.cpp (kserver_connect): Better proxy support.
596            (kserver_send_request, kserver_recvkey_request): Likewise.
597            * wptKeyserverDlg.cpp (name_from_proto): New.
598            (set_proxy): Adjusted for the new code.
599            
600    2006-02-26  Timo Schulz  <[email protected]>
601    
602            * WinPT.cpp (WinMain): Removed hotkey_modify() code.
603            * wptKeyEditDlgs.cpp (is_idea_protect_algo): Better support
604            v4 keys.
605            * wptKeyserver.cpp (sock_getline): Skip '\r'.
606            (base64_encode): Remove @maxlen param. Changed all callers.
607            (finger_readline): Removed.
608            (finger_recvkey): Use internal functions.
609            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Support a context menu.
610            (show_sigprops): New.
611            (create_popup): New.
612            * wptPreferenceDlg.cpp (prefs_dlg_proc): Cache amount is
613            now in minutes.
614            * wptRegistry.cpp (get_winpt_reg_prefs, set_winpt_reg_prefs):
615            Change code to use hotkeys directly.
616            * wptHotkeys.cpp (hotkeys_enable, hotkey_disable): Likewise.
617            
618    2006-02-24  Timo Schulz  <[email protected]>
619    
620            * wptGPG.cpp (set_gnupg_default_key): Allow to remove entry
621            when parameter is NULL.
622            * wptKeyManager.cpp (check_exist_default_key): New.
623            (km_delete_keys): Check if the default key is still valid,
624            if not delete entry.
625            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Forgot to localize
626            button.
627            
628    2006-02-21  Timo Schulz  <[email protected]>
629    
630            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Minor
631            cleanups.
632            * wptGPGUtil.cpp (file_extract_recipients): New.
633            (clip_extract_recipients): New.
634            (gpg_get_recipients): New.
635            * wptPassphraseCB.cpp (passphrase_callback_proc): Support
636            external recipient listings.
637            
638    2006-02-15  Timo Schulz  <[email protected]>
639    
640            * wptKeysignDlg.cpp (keysign_dlg_proc): Localize new checkbox.
641            * wptFileStatDlg.cpp (get_s2k_algo): New.
642            * wptFileManagerDlg.cpp (update_status_bar): Use human readable
643            formats.
644            
645    2006-02-14  Timo Schulz  <[email protected]>
646    
647            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'.
648            * wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'.
649            * wptFileManager.cpp (fm_sym_encrypt): Set cancel.
650            (fm_parse_files): Handle cancel.
651            
652    2006-02-10  Timo Schulz  <[email protected]>
653    
654            * wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars.
655            * wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t
656            for the dialog param.
657            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list
658            signature dialog by default.
659            * wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly
660            gpgme_key_sig_t as param.
661            (keysig_dlg_proc): Change param for property dialog.
662            * wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids
663            and use icons.
664            (sigtree_dlg_proc): Allow to execute old list dialog to
665            edit the signatures.
666            
667    2006-02-09  Timo Schulz  <[email protected]>
668    
669            * wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode.
670            * wptNLS.c (gettext_localize_dialog): New.
671            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button
672            to avoid to reload the key cache.
673            * wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal'
674            list mode.
675            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
676            * wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog
677            initiation code to this function.
678            (prefs_dlg_proc): Use it here.
679            
680    2006-02-07  Timo Schulz  <[email protected]>
681    
682            * wptKeyEdit.cpp (setNoPassphrase): New.
683            (getValidDays): New.
684            * wptKeysignDlg.cpp (keysign_dlg_proc): Check on init
685            if the key is protected.
686            * wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle
687            keys without a passphrase.
688            (keyedit_addrevoker_dlg_proc): Likewise.
689            
690    2006-02-04  Timo Schulz  <[email protected]>
691    
692            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for
693            at least one ultimately trusted key.
694            * wptKeyManager.cpp (km_refresh_key_from_keyserver):
695            Only check inet connection if we refresh all keys.
696            * wptGPGUtil.cpp (gpg_extract_keys): New.
697            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode.
698            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
699            * wptClipSignDlg.cpp (get_selected_key): New.
700            (one_key_proc): Use it here.
701            (count_useable_seckeys): New.
702            * wptSigTreeDlg.cpp (sigtree_dlg_proc): New.
703            * wptKeyEditDlgs.cpp (diff_time): Removed.
704            (w32_mktime): New.
705            (keyedit_addsubkey_dlg_proc): Use it here.
706            
707    2006-02-02  Timo Schulz  <[email protected]>
708    
709            * wptW32API.cpp (get_temp_name): New.
710            * wptKeyserver.cpp (ldap_recvkey): Use it here.
711            * wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise.
712            * wptGPGUtil.cpp (create_tempfile): Likewise.
713            * wptImportList.cpp (implist_load): Likewise.
714            * wptKeyCache.cpp (parse_attr_data): Likewise.
715            (w32_tempfile): Removed.
716            * wptGPGME.cpp (check_ultimate_trusted_key): New.
717            
718    2006-01-31  Timo Schulz  <[email protected]>
719    
720            * wptMainProc.cpp (winpt_main_proc): Fix usage of the
721            help system.
722            * wptListView.cpp (listview_set_chkbox_style): New.
723            (listview_get_item_state): Support new checkbox style.
724            (listview_new): Reset flag var.
725            * wptKeylist.cpp (keylist_build): Support new checkbox style.
726            
727    2006-01-30  Timo Schulz  <[email protected]>
728    
729            * WinPT.cpp (check_readonly_attr): New.
730            (load_gpg_env): Use it here.
731            (WinPT): Make the the default key is searched in the
732            secret key cache.
733            Change error message.
734            * wptRegistry.cpp (regist_int_winpt): Make sure
735            the register extension is only offered once to the user.
736            * wptKeyPropsDlg.cpp (get_photo_tmpname): Always use
737            temp directory. Fixed a privilege problem.
738            
739    2006-01-29  Timo Schulz  <[email protected]>
740    
741            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC
742            to quit dialog.
743            * wptKeysignDlg.cpp (sig_class_dlg_proc): More space for
744            translations. Directly return sig class.
745            (keysign_dlg_proc): Change msgbox title.
746            * wptKeyEdit.cpp (signUserid): New.
747            (getUseridIndex): New.
748            (getKeyIndex): New.
749            (getSigIndex): New.
750            (clear): New.
751            * wptKeyEditCB.cpp (cmd_sign_handler): Allow to select
752            user-id first.
753            * wptKeyEditDlgs.cpp (lookup_cmd): New.
754            (do_editkey_sign_userid): New.
755            (do_init_cmdlist): Differ between key pairs and public keys
756            and allowed actions.
757            (keyedit_change_ownertrust): Show msgbox on success.
758            (get_default_key): New.
759            * wptPassphraseDlg.cpp (request_passphrase): Reset @cancel.
760            
761    2006-01-27  Timo Schulz  <[email protected]>
762    
763            * WinPT.cpp (WinMain): Set minimal list mode as default.
764            * wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys.
765            
766    2006-01-25  Timo Schulz  <[email protected]>
767    
768            * wptRegistry.cpp (get_reg_entry_gpg): Return NULL if
769            the key exist with no value.
770            * wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string.
771            * wptKeysignDlg.cpp (do_fill_seclist): Select the
772            default key if possible.
773            * wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly
774            return the choice.
775            * wptKeylist.cpp (get_key_desc): New.
776            (keylist_upd_key): Free memory.
777            * wptKeyCache.cpp (gpg_keycache_get_default_key): New.
778            (gpg_keycache_set_default_key): New.
779            * WinPT.cpp (gpg_prefs_ok): New.
780            (WinMain): Only start gpg prefs if needed.
781            
782    2006-01-24  Timo Schulz  <[email protected]>
783    
784            * wptKeyManager.cpp (km_dropped_file_import): New.
785            * wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow
786            to drop files and try to import them.
787            (keymanager_dlg_proc): Pass kmi as opaque to the subclass
788            proc.
789            
790    2006-01-23  Timo Schulz  <[email protected]>
791    
792            * wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output
793            to the clipboard.
794            * wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New.
795            (do_editkey_enable_disable): New.
796            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not
797            close the dialog if the user cancelled the ownertrust dialog.
798            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate
799            an update of any value.
800            
801    2006-01-21  Timo Schulz  <[email protected]>
802    
803            * wptKeyCache.cpp (keycache_next_key): Handle the case
804            that there is a secret key without a public part.
805            * wptKeyserver.cpp (kserver_save_conf): Save ports.
806            * wptKeyserverDlg.cpp (keyserver_modify_dlg_proc):
807            Reset keyserver name.
808            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate
809            an update, do not update the cache.
810            * wptFileManagerDlg.cpp (file_import_dlg_proc): Use one
811            dialog for both clipboard and file imports.
812            * wptKeyManager.cpp (km_file_import, km_clip_import):
813            Changes to support new update system.
814            (gpg_clip_import): New.
815            * wptKeyManagerDlg.cpp (km_gui_import): New.
816            (find_keypos): Rewritten.
817            (refresh_keylist): Improved error checking.
818            
819    2006-01-20  Timo Schulz  <[email protected]>
820    
821            * wptKeyCache.cpp (w32_tmpfile): New.
822            (parse_attr_data): Use it here.
823            * wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var.
824            
825    2006-01-19  Timo Schulz  <[email protected]>
826    
827            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not
828            reload the entire cache, just update the key.
829            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise.
830            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag.
831            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
832            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
833            if need after showing the properties.
834            * wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
835            * wptKeyManager.cpp (km_import_file): New param. Changed
836            all callers.
837            (km_import_clip): Likewise.
838            (delete_keys_from_cache): Delete secret part if available.
839            * wptClipImportDlg.cpp (print_import_status): If there
840            are too many new keys, use reload code.
841            
842    2006-01-18  Timo Schulz  <[email protected]>
843    
844            * wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume
845            the self sig is always index 0. Noted by Kurt.
846            * wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume
847            the key user-ID contains an email address.
848            * wptKeyEditDlgs.cpp (do_find_userid): Likewise.
849            (do_editkey_deluid): Likewise.
850            (do_editkey_revuid): Likewise.
851            
852    2006-01-18  Timo Schulz  <[email protected]>
853    
854            * wptListview.cpp (listview_del_sel_items): Fixed index
855            calculation. This fixed a lot of problems with the KM listview
856            update.
857            (listview_del_all): Renamed to...
858            (listview_del_all_items): ..this. Changed all callers.
859            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh
860            list when file import contained new/updated keys.
861            * wptKeyManager.cpp (km_file_import): Indicate if the
862            import contained any new/update keys.
863            * wptClipImportDlg.cpp (print_import_status): Just mark
864            keys which actually changed.
865            
866    2006-01-17  Timo Schulz  <[email protected]>
867    
868            * wptMAPI.cpp (mapi_send_pubkey_ext): New.
869            * wptKeysigDlg.cpp (do_delsig): Just flag the key, do not
870            update it.
871            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more
872            careful about const pointers.
873            * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to..
874            (get_subkey_keyid): ..this. Fix problem that key was updated
875            twice and this corrupted.
876            (keyedit_add_subkey): Set @lv item in the callback context.
877            
878    2006-01-16  Timo Schulz  <[email protected]>
879    
880            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore
881            window if it lost focus during the operation. Thanks to Kurt.
882            Update keylist when the window is enabled.
883            (find_keypos): New.
884            * wptKeyCache.cpp (keycache_next_key): Reset update status.
885            (gpg_keycache_next_updated_key): New arg @r_status. Change all
886            callers.
887            (gpg_keycache_update_key): Different status for new and updated.
888            Include key signatures.
889            * wptClipImportDlg.cpp (print_import_status): Mark all
890            imported keys.
891            * wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist.
892            Thanks to Kurt.
893            * wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys.
894            (do_delsig): Directly reload key. Thanks to Kurt.
895            * wptGPGME.cpp (keycache_set_reload, keycache_get_reload):
896            Removed.
897            * wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system.
898            * wptClipImportDlg.cpp (clip_import_dlg_proc): Return
899            FALSE if no keys were updated or operation was cancelled.
900            * wptCommonDlg.cpp (http_dlg_proc): Fix title selection code.
901            * wptKeylist.cpp (get_ext_validity): Handle disabled keys.
902            * wptKeyPropsDlg.cpp (keyprops_dlg_proc):
903            Do not allow to change ownertrust of invalid keys.
904            Changed translation.
905            Slightly different user interface.
906            
907    2006-11-14  Timo Schulz  <[email protected]>
908    
909            * wptW32API.cpp (make_special_filename): New.
910            * wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs):
911            Removed 'KeyServer' item.
912            * wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver
913            config item.
914            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group
915            window until we really use it.
916            * wptKeyserver.cpp (kserver_save_conf): New.
917            (wsock_end): Save keyserver config file.
918            * wptKeyserverDlg.cpp (keyserver_edit): New.
919            (keyserver_remove): New.
920            (keyserver_add): New.
921            (fill_keyserv_types): New.
922            (keyserver_modify_dlg_proc): New.
923            (keyserver_dlg_proc): Provide context menu to modify the
924            keyserver list.
925            (keyserver_build_list): Remove 'proto' column because it is
926            not really useful.
927            * WinPT.cpp (load_keyserver_conf): Store keyserver.conf at
928            $APPDATA\winpt. If keyserver.conf exists in the current folder
929            move it to the new destination.
930            
931    2006-11-13  Timo Schulz  <[email protected]>
932    
933            * wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation.
934            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise.
935            * wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about
936            dialog isn't shown twice.
937            * wptKeyCache.cpp (gpg_keycache_next_updated_key): New.
938            (gpg_keycache_update_key): Set update flag.
939            * wptKeyManagerDlg.cpp (refresh_keylist): New.
940            (keymanager_dlg_proc): Use new refresh system for keyservers.
941            * wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc):
942            Update keycache.
943            * wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise.
944            * wptKeyserver.cpp (socket_read_ext): New.
945            (kserver_recv_key_ext): New.
946            (kserver_read_config, kserver_write_config): Removed.
947            
948    2006-01-12  Timo Schulz  <[email protected]>
949    
950            * wptListView.cpp (listview_set_image_list): Make icons
951            always transparent.
952            * wptImageList.cpp (imagelist_load): New icons.
953            * wptGPGMEData.cpp (gpg_data_putc): New.
954            * wptKeyManagerDlg.cpp (load_toolbar): Include new icons.
955            (keymanager_dlg_proc): Add tooltips.
956            * wptKeyserverDlg.cpp (keyserver_list_build): Use icons.
957            * wptKeyserver.cpp (URL_encode): New.
958            (URL_must_encode): New.
959            (kserver_search_init): Properly encode pattern.
960            (parse_iso_date): New.
961            (keyserver_search): Be more strict to prevent buffer overflows.
962            
963    2006-01-11  Timo Schulz  <[email protected]>
964    
965            * wptKeyManagerDlg.cpp (load_toolbar): 2 new icons.
966            (keymanager_dlg_proc): Adjust tooltips.
967            (update_ui_items): Handle new icons.
968            * wptImageList.cpp (imagelist_load): New icons.
969            
970    2006-01-10  Timo Schulz  <[email protected]>
971    
972            * wptMainProc.cpp (winpt_main_proc): Restore iconic
973            File/Key Manager windows if needed.
974            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button.
975            * wptSiglist.cpp (init_cmp): New.
976            (siglist_sort): New.
977            (siglist_cmp_cb): New.
978            (siglist_add_key): Force NOKEY status when key was not found.
979            * wptKeysigDlg.cpp (recv_single_key): New.
980            (recv_missing_keys): Reload entire key when more than one key
981            was fetched.
982            (keysig_dlg_proc): Support sorting the listview items.
983            
984    2006-01-09  Timo Schulz  <[email protected]>
985    
986            * WinPT.cpp (load_gettext): Remove file locking.
987            (WinMain): Use pre-defined autoconf constants.
988            * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
989            * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
990            Change all callers.
991            
992    2006-01-07  Timo Schulz  <[email protected]>
993    
994            * wptKeyManager.cpp (km_refresh_from_keyserver): Summarize
995            import status if just one key was selected.
996    
997    2006-01-04  Timo Schulz  <[email protected]>
998    
999            * wptGPGMEWrapper.c (setChangeVersion): New.
1000            (exportToBuffer, exportToFile, exportToClipboard): New.
1001            (setArmor, getArmor): New.
1002            * wptKeylist.cpp (get_key_expire_date): Return locale specific
1003            date.
1004            (keylist_get_recipients): Do not fetch the key again.
1005            (keylist_enum_recipients): Likewise.
1006            * wptGPG.cpp (create_empty_keyring): New.
1007            (get_gnupg_keyring): Fixed 'strict' logic.
1008            * wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons
1009            when no secret keys are available.
1010            * wptKeyManager.cpp (km_send_to_mail_recipient): Release key data
1011            before the MAPI call is made.
1012            * WinPT.cpp (check_for_empty_keyrings): New.
1013            
1014    2006-01-03  Timo Schulz  <[email protected]>
1015    
1016            * pubkey.ico, keypair.ico: New.
1017            * wptListview.cpp (listview_add_item_image): New.
1018            (listview_set_image_list): New.
1019            * wptSigList.cpp (siglist_add_key): Correct order of the sigs.
1020            * wptKeyProps.cpp (keyprops_load_photo): Adjusted for new
1021            JPEG data.
1022            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to
1023            add items to revoked keys.
1024            * wptKeyManager.cpp (km_delete_keys): Do not use uninitialized
1025            keyid buffer. This fixes a segv.
1026            * wptKeyserver.cpp (spawn_application): New.
1027            (ldap_recv_key): Support recent protocols and several cleanups.
1028            * wptKeylist.cpp (do_addkey): Set image which depends on the
1029            key type.
1030            (keylist_enum_recipients): Cleanups.
1031            (keylist_get_keyflags): Rewritten.
1032            * wptKeyCache.cpp (free_attr_list): New.
1033            (parse_attr_list): New.
1034            (parse_attr_data): New.
1035            (keycache_update_photo): New.
1036            (keycache_update_photos): New.
1037            (gpg_keycache_update_key): Automatically reload photos if needed.
1038            * wptGPGUtil.cpp (create_process): New param @err. Change all
1039            callers.
1040            (map_tmpfile): New param @nread. Change all callers.
1041            (gpg_get_photoid_data): New.
1042            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to
1043            add items to revoked keys.
1044            (subkey_init_list): Store gpgme key object.
1045            
1046    2005-12-29  Timo Schulz  <[email protected]>
1047    
1048            * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
1049            (gpg_genkey_params): Simplified.
1050            * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
1051            exclusion of the dialog items.
1052            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
1053            quit the dialog.
1054            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1055            * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
1056            (id2algo): New.
1057    
1058    2005-12-28  Timo Schulz  <[email protected]>
1059    
1060            * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
1061            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1062            * wptKeylist.cpp (keylist_udp_key): Likewise.
1063            * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
1064            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
1065            when no signing key was found.
1066            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
1067            user IDs.
1068            (translate_popup_strings): s/Revoke/Revoke Cert.
1069            * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
1070            0x prefixed keyid.
1071            * wptKeyEditCB.cpp (editkey_command_handler): Also reset
1072            step in case of a bad passphrase.
1073            
1074    2005-12-27  Timo Schulz  <[email protected]>
1075    
1076            * wptListView.cpp (listview_set_view): New.
1077            (listview_del_column): New.
1078            * wptW32API.cpp (get_locale_date): New.
1079            (get_menu_state): New.
1080            (force_foreground_window): New.
1081            * wptVerifyList.cpp (strtimestamp): Support for
1082            locale date formats.
1083            * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
1084            passphrases.
1085            * wptKeyEditCB.cpp (editkey_command_handler): Immediately
1086            return when a bad passphrase was submitted.
1087            * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
1088            column order.
1089            * wptKeylist.cpp (keylist_upd_col): New.
1090            * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
1091            'Revocation' for public keys.
1092            (translate_menu_strings): s/Revoke/Revoke Cert.
1093            (modify_listview_columns): New.
1094            
1095    2005-12-18  Timo Schulz  <[email protected]>
1096    
1097            * wptKeyManagerDlg.cpp (save_column_size): New.
1098            (restore_column_size): New.
1099            (keymanager_dlg_proc): Save and restore column sizes for
1100            the listview control.
1101            * wptKeyManager.cpp (key_get_info): New.
1102            (km_delete_keys): Use it here to have a consistent message.
1103            Use stored key context and not the column data.
1104            (km_enable_disable_key): Likewise.
1105            (km_send_to_keyserver): Likewise.
1106            (km_set_implicit_trust): Likewise.
1107            * wptKeylist.cpp (get_key_pubalgo2): New.
1108            
1109    2005-12-17  Timo Schulz  <[email protected]>
1110    
1111            * wptUTF8.cpp: Removed unused charset array.
1112            * wptSigList.cpp (siglist_build): Increase size for 'class'
1113            column.
1114            * wptGPG.cpp (get_gnupg_path): Simplified.
1115            * WinPT.cpp (load_gpg_env): New.
1116            (check_crypto_engine): Return type is now bool.
1117            * wptRegistry.cpp (is_gpg4win_installed): New.
1118            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent
1119            dialog design.
1120            * wptKeyManagerDlg.cpp (translate_menu_strings): New.
1121            (translate_popupmenu_strings): New.
1122            * wptKeyEditDlgs.cpp (is_jpg_file): New.
1123            
1124    2005-12-13  Timo Schulz  <[email protected]>
1125    
1126            * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
1127            * wptKeyManagerDlg.cpp (change_edit_menu): New.
1128            (change_key_menu): Renamed from...
1129            (menu_gpg_readonly): ..this.
1130            (clip_contains_pgpkey): New.
1131            (update_ui_items): Do not allow to sign expired keys.
1132            (keymanager_dlg_proc): Same for popup menu.
1133            * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
1134            * wptKeyCache.cpp (copy_uid_prefs):
1135            (gpg_keycache_sync): Copy uid prefs so the key property
1136            dialog show the correct values. Thanks to Shane.
1137            
1138    2005-12-11  Timo Schulz  <[email protected]>
1139    
1140            * wptW32API.cpp (get_file_version): New.
1141            * wptGPGUtil.cpp (create_process): Always hide window.
1142            * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
1143            instead of 'Exit'.
1144            * wptKeyManager.cpp (km_http_import): New filename
1145            generation code.
1146            (km_send_to_mail_recipient): Cleanups.
1147            * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
1148            * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
1149            when multiple keys are selected.
1150            (popup_multiple): New.
1151            * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
1152            file versions are equal. Rewrote --keymanager code.
1153            
1154    2005-12-08  Timo Schulz  <[email protected]>
1155    
1156            * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
1157            (hkp_recv_key2): Show user-id of the imported key instead
1158            of just the pattern.
1159            * wptFileCBS.cpp (read_cb): Changed to W32 API.
1160            (write_cb): Likewise. Create output file on demand.
1161            (gpg_file_data_new): Adjusted code for new API.
1162            * wptKeyEdit.cpp (cleanKey): New.
1163            * wptKeyEditCB.cpp (cmd_clean_handler): New.
1164            (editkey_command_handler): Call clean handler.
1165            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
1166            keylist after inserting items.
1167            * wptFileManager.cpp (fm_set_status): Take care of
1168            cleartext sigs.
1169            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
1170            sure can be closed.
1171            
1172    2005-12-07  Timo Schulz  <[email protected]>
1173    
1174            * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
1175            Use 'Close' instead of 'Exit'.
1176            * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
1177            * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
1178            as the destination dir. Thanks to Werner.
1179            * wptRegistry.cpp (is_gpgee_installed): New.
1180            (regist_inst_winpt): Do not register file extensions
1181            if GPGee is available.
1182            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
1183            use of local vars.
1184            * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
1185            no illegal backup mode is saved.
1186            * wptKeyserverDlg.cpp (show_imported_key): New.
1187            (hkp_recv_key2): Show imported keys if the blob
1188            contained more than one.
1189            
1190    2005-12-06  Timo Schulz  <[email protected]>
1191    
1192            * WinPT.cpp (WinMain): Load the gettext environment soon
1193            as possible so all 'first start' messages are localized.
1194            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
1195            received via the keyserver, return the gpgme key context on
1196            success and add it directly to the list.
1197            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
1198            to store the key.
1199            (hkp_recv_key2): Add extra param for the fingerprint.
1200            (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
1201            
1202    2005-12-02  Werner Koch  <[email protected]>
1203    
1204            * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
1205    
1206    2005-12-01  Timo Schulz  <[email protected]>
1207    
1208            * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
1209            for get_gpg_sigstat().
1210            * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
1211            As a macro strings will not be translated at runtime.
1212            * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
1213            need to update the cache. Thanks to Jan-Oliver.
1214            * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
1215            
1216    2005-11-30  Timo Schulz  <[email protected]>
1217    
1218            * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
1219            * WinPT-en.rc: Removed string list.
1220            * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
1221            * wptKeylist.cpp (keylist_build): Cannot use global
1222            arrays for the columns due to gettext.
1223            
1224    2005-11-29  Timo Schulz  <[email protected]>
1225    
1226            * WinPT.cpp (WinMain): Modify --keymanager. If an instance
1227            is running, just send the command to open the manager.
1228            
1229  2005-11-25  Timo Schulz  <[email protected]>  2005-11-25  Timo Schulz  <[email protected]>
1230    
1231          * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging          * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
# Line 968  Line 2196 
2196    
2197          * WinPT.cpp (load_keyserver_conf): New. Factored out some code          * WinPT.cpp (load_keyserver_conf): New. Factored out some code
2198          from WinMain ().          from WinMain ().
2199          (WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner          (WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner
2200          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver
2201          in the list control, add at least the internal default HKP server.          in the list control, add at least the internal default HKP server.
2202          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.

Legend:
Removed from v.101  
changed lines
  Added in v.234

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26