1 |
2005-10-25 Timo Schulz <[email protected]> |
2006-05-23 Timo Schulz <[email protected]> |
2 |
|
|
3 |
* wptGPGUtil.cpp (create_process): Hide window. |
* wptKeyEditDlgs.cpp (do_add_new_userid): Fix re-introduced |
4 |
* wptKeyPropsDlg.cpp (get_photo_tmpname): New. |
problem. |
5 |
* wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove |
(keyedit_main_dlg_proc): Popup menu for the user ID list |
6 |
static var 'enable'. |
with common commands. |
7 |
* wptKeygenDlg.cpp (keygen_dlg_proc): Likewise. |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Automatically |
8 |
(gpg_genkey_params): Make sure all primary keys are capable |
disable search for ldap servers. |
9 |
for signing and certification. |
Use subkeys.pgp.net by default when no server was selected. |
10 |
* wptKeySigDlg.cpp (is_sig): If no item is selected, return 0. |
|
11 |
* wptGPG.cpp (gnupg_access_keyring): Check return value for |
2006-05-22 Timo Schulz <[email protected]> |
12 |
NULL. Noted by Ralf. |
|
13 |
(get_gnupg_prog): Simplified. |
* wptRegistry.cpp (set_reg_winpt_prefs, get_reg_winpt_prefs): |
14 |
(check_homedir): Fixed. Return 0 when the dir is successfully created. |
Support for the new 'default ext' value. |
15 |
* wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to |
* wptPreferencesDlg.cpp (on_init_dialog): Likewise. |
16 |
indicate a pending GPG process. |
(prefs_dlg_proc): Likewise. |
17 |
* wptFileManager.cpp (op_begin, op_end): New. Indicate an start |
* wptFileManager.cpp (file_get_extension): Likewise. |
18 |
and and of an operation. For now just the cursor changes. |
(get_output_file): Likewise. |
19 |
(fm_parse_command_line): Remove debug output. Thanks to Ralf again. |
(fm_export): Likewise. |
20 |
* WinPT.cpp (WinMain): Check if there is already an instance and |
|
21 |
set a variable early as possible. |
2006-05-20 Timo Schulz <[email protected]> |
22 |
(load_gettext): If a previous instance was found, do not output |
|
23 |
any errors. Kudos to Ralf. |
* wptKeyPropsDlg.cpp (keyprops_load_photo): avoid expensive |
24 |
|
process call when no photo is available. |
25 |
|
(keyprops_dlg_proc): avoid static data. |
26 |
2005-10-24 Timo Schulz <[email protected]> |
* wptFileManager.cpp (fm_add_sig_stat): Free memory in case |
27 |
|
of on demand key requests. |
28 |
* wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use |
(show_verify_result): Likewise. |
29 |
pre-defined recipients. |
(secret_key_available): Likewise. |
30 |
(release_gpg_passphrase_cb): Release recipients. |
(fm_decrypt, fm_sign): Handle the new on demand key request |
31 |
* wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id |
mode and free all memory. |
32 |
validity if needed. |
|
33 |
(keyprops_dlg_proc): Issue a warning if the photo is valid. |
2006-05-15 Timo Schulz <[email protected]> |
34 |
|
|
35 |
2005-10-23 Timo Schulz <[email protected]> |
* wptKeyEditDlgs.cpp (userid_list_init): Forgot to |
36 |
|
apply patch. Thanks to vedaal. |
37 |
* wptFileManager.cpp (fm_get_file_type): Detect detached sigs. |
|
38 |
* wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys. |
2006-05-14 Timo Schulz <[email protected]> |
39 |
(get_ext_validity): New. |
|
40 |
* wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups. |
* wptKeyCache.cpp (gpg_keycache_update_attr): Parse |
41 |
* wptClipEditDlg.cpp (load_clipboard): Factored out some code into |
preferred keyserver URL. |
42 |
this function. |
* wptHTTP.cpp (extractHostInfo): Fix segv. |
43 |
(load_clipboard_from_file): Likewise. |
* wptGPGUtil.cpp (gpg_find_key_subpacket): Ignore default |
44 |
(save_clipboard_to_file): New. |
gpg.conf. |
45 |
* wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow. |
* wptKeyserverSearchDlg.cpp (search_hkp_keys): Do not |
46 |
|
assume an existing user id. |
47 |
2005-10-22 Timo Schulz <[email protected]> |
* wptPassphraseCB.cpp (passphrase_cb): Automatic cancel |
48 |
|
if no passphrase is available. |
49 |
Localized a lot of more strings. |
|
50 |
|
2006-05-13 Timo Schulz <[email protected]> |
51 |
* wptMainProc.cpp (load_smartcard): New. |
|
52 |
* wptFileManager.cpp (fm_parse_command_line): Simplify code. |
* wpMainProc.cpp (secret_key_available): Move it... |
53 |
(fm_check_armor_type): Add new arg. Change all callers. |
* wptGPGME.cpp: ..to this file. |
54 |
(fm_get_file_type): Likewise. |
(check_ultimate_trusted_key): Handle the case there |
55 |
* wptKeyPropsDlg.cpp (display_key_info): New. |
is no secret key available. |
56 |
(keyprops_show_photo): Factored out some code into.. |
* wptFileManagerDlg.cpp (update_ui_items): Improved. |
57 |
(keyprops_load_photo): ..this function. |
* wptKeyManagerDlg.cpp (key_manager_dlg_proc): Deactive |
58 |
|
some functions when no secret key is available. |
59 |
2005-10-21 Timo Schulz <[email protected]> |
* wptKeyserverSearchDlg.cpp (search_hkp_keys): Adjust |
60 |
|
code and also display pubkey algorithm. |
61 |
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Use |
* wptKeyserver.cpp (safe_alloc): New. |
62 |
WM_INITPOPUPMENU to localize popup menu texts. |
(count_keys_in_response): New. |
63 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
(parse_pub_record): New. |
64 |
* wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset. |
(parse_uid_record): New. |
65 |
|
(kserver_release_key): New. |
66 |
2005-10-20 Timo Schulz <[email protected]> |
(kserver_search_begin, kserver_search_next_key): |
67 |
|
Adjust for the machine readable output. Removed old code. |
68 |
Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0. |
(parse_keyserver_url): New. |
69 |
|
* wptUtil.cpp (substr): New. |
70 |
* wptPassphraseCB.cpp (passphrase_cb): Complete card support. |
* wptKeyManager.cpp (km_refresh_one_key): Properly |
71 |
* wptCardEdit.cpp (genKey): Handle cancel case. |
parse the keyserver URL. |
72 |
* keycache.c: Renamed into... |
|
73 |
* wptKeyCache.cpp: ...this. |
2006-05-11 Timo Schulz <[email protected]> |
74 |
* wptW32API.cpp (set_menu_text): Removed unused code. |
|
75 |
(set_menu_text_bypos): New. |
* wptPassphraseCB.cpp (release_gpg_recipients): New. |
76 |
* wptCrypto.h: New. |
(release_gpg_recipients): Use it here. |
77 |
* wptMainProc.cpp (winpt_main_proc): Complete localize |
* wptFileManager.cpp (fm_decrypt): List all recipients. |
78 |
menu texts. |
Thanks to vedaal. |
79 |
* wptErrors.cpp (log_debug): Use a static var so the file |
* wptGPG.cpp (extract_keyid): New. |
80 |
is only opened once. |
(get_gnupg_default_key): Use it here. |
81 |
(debug_end): Cleanup. Currently just close the log file. |
* wptClipDecryptDlg.cpp (clip_decrypt_dlg): Allow to verify |
82 |
* wptErrors.h (wipememory): New. |
one-pass-sigs again. |
83 |
(sfree_if_alloc): Use it here. |
|
84 |
* WinPT.cpp (WinMain): Display the min. GPGME version which |
2006-05-09 Timo Schulz <[email protected]> |
85 |
is needed in case of an error. |
|
86 |
|
* wptKeyRevokersDlg.cpp (revokelist_build): Store key ptr. |
87 |
2005-10-17 Timo Schulz <[email protected]> |
* wptClipSignDlg.cpp (gpg_clip_sign): Improve error handling. |
88 |
|
* wptKeysigDlg.cpp (sigprops_dlg_proc): Correct expire date. |
89 |
Free all memory returned by the GPGME dll with gpgme_free (). |
|
90 |
|
2006-05-07 Timo Schulz <[email protected]> |
91 |
s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT. |
|
92 |
|
* wptKeyserverDlg.cpp (hkp_err_box): Improved. |
93 |
* wptKeyEdit.cpp (getCardStatus): Remove dummy key. |
* wptKeyserver.cpp (wsock_strerror): Likewise. |
94 |
(list_handler): With user interaction to allow to insert |
* wptKeygenCBDlg.cpp (keygen_cb_dlg_destroy): New param. |
95 |
the card into the reader. |
Change all callers. |
96 |
* wptKeyEditCB.cpp (gpg_edit_card): Likewise. |
* wptKeysigDlg.cpp (do_load_keyprops): Correct key update |
97 |
(common_card_handler): Fixed incorrect command string. |
problem. |
98 |
* wptKeyPropsDlg.cpp (get_card_type): New. |
|
99 |
(keyprops_dlg_proc): Show card information if present. |
2006-05-06 Timo Schulz <[email protected]> |
100 |
* wptFileManager.cpp (secret_key_available): Make the code faster. |
|
101 |
|
* wptKeyManagerDlg.cpp (reload_keycache): Use pre-defined |
102 |
|
sorting order if available. |
103 |
2005-10-16 Timo Schulz <[email protected]> |
* wptKeyPropsDlg.cpp (key_props_dlg_proc): Use 0x prefix |
104 |
|
for the key ID. |
105 |
* wptPassphraseCB.cpp (passphrase_cb): Fix problem |
(get_pref_cipher): Differ between the AES algorithm IDs. |
106 |
with hanging GPG process on cancel. |
(key_is_valid): New. |
107 |
* keycache.c (gpg_keycache_release): Release all objects. |
* wptKeyserverDlg.cpp (check_pattern): Simplified. |
108 |
|
|
109 |
2005-10-15 Timo Schulz <[email protected]> |
2006-05-03 Timo Schulz <[email protected]> |
110 |
|
|
111 |
* wptCardEdit.cpp (setResult, getResult): New. |
* wptKeyCache.cpp (keycache_prepare2): Fix possible segv. |
112 |
(reset): New. |
Thanks to Mathias. |
113 |
(getCardStatus): Check return codes and release all objects |
|
114 |
in case of errors. |
2006-05-02 Timo Schulz <[email protected]> |
115 |
* wptCardEditCB.cpp (change_pin_handler): Call reset() |
|
116 |
before quit. |
* wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use a |
117 |
(editcard_handler): Likewise. |
caption for the radio button group. |
118 |
(common_card_handler): New. |
* wptKeyserverDlg.cpp (keyserver_recv_key): Use new code. |
119 |
* wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask |
* wptKeyserver.cpp (kserver_recvkey, finger_recvkey, |
120 |
the old PIN when 'Hide Typing' is disabled. |
ldap_recvkey): Avoid fixed buffers. |
121 |
* wptPassphraseCB.cpp (passphrase_cb): The card detection |
(do_spawn_ldap_helper): New. |
122 |
works again. Support to re-enter passphrase. |
(ldap_recvkey): Factor out code into helper function. |
123 |
|
* wptPassphraseCBDlg.cpp (passphrase_callback_proc): |
124 |
2005-10-14 Timo Schulz <[email protected]> |
Increase width of the list box to make sure even large |
125 |
|
user IDs will be completly displayed. |
126 |
* wptCardDlg.cpp (card_status): New fields for the |
|
127 |
fingerprint creation time. Display card info as title. |
2006-05-01 Timo Schulz <[email protected]> |
128 |
(get_printable_version): New. |
|
129 |
* wptCardEditCB.cpp (editcard_handler): Fix problem |
* WinPT.cpp (WinMain): Check if the user has admin privileges. |
130 |
with the counter comparison. |
* wptW32API.cpp (user_is_admin): New. |
131 |
|
* wptKeysigDlg.cpp (sigprops_dlg_proc): Cosmetical changes. |
132 |
2005-10-11 Timo Schulz <[email protected]> |
* wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use timer |
133 |
|
to re-activate the window again. |
134 |
Port to GPGME basically finished. |
* wptKeylist.cpp (get_key_trust2): Differ between "full" |
135 |
|
and "ultimate". |
136 |
2005-09-20 Timo Schulz <[email protected]> |
* wptKeyCache.cpp (keycache_prepare2): Primary user-id |
137 |
|
has now highest priority. |
138 |
* wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): |
* wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use new utf8 |
139 |
Do not use gpgme_recipients_t but the listview directly |
system. |
140 |
to add the selected files. |
|
141 |
|
2006-04-30 Timo Schulz <[email protected]> |
142 |
2005-09-07 Timo Schulz <[email protected]> |
|
143 |
|
* wptKeyCache.cpp (gpg_keycache_release): Release revoker |
144 |
* Make sure all GetOpenFileName filters are terminated by \0\0. |
list if needed. |
145 |
|
* wptKeyRevokersDlg.cpp (key_get_revokers): New. |
146 |
2005-09-01 Timo Schulz <[email protected]> |
(key_revokers_dlg_proc): Expect winpt_key_t. Change all callers. |
147 |
|
* wptKeyEditDlgs.cpp (check_desig_rev): New. |
148 |
* wptW32API.cpp (center_window): New argument for parent window. |
(do_editkey_minimize): New. |
149 |
Change all callers. |
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Support to |
150 |
(center_window2): Likewise. |
generate a revoc cert as a desig revoker. |
151 |
* GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'. |
|
152 |
* wptGPG.cpp (gnupg_backup_options): Remove param. One backup |
2006-04-29 Timo Schulz <[email protected]> |
153 |
file is enough. Changed all callers. |
|
154 |
|
* wptVerifyList.cpp (verlist_build): Adjusted code for new |
155 |
2005-08-15 Timo Schulz <[email protected]> |
list view interface. |
156 |
|
* wptSigList.cpp (siglist_build): Likewise. |
157 |
* wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys. |
* wptKeyEditDlgs.cpp (showpref_dlg_proc): Correct code |
158 |
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title. |
to display the preferences of the selected UID. Thanks to Mathias. |
159 |
* Make sure the passphrase is always overwritten before it is |
* wptKeyCacheDlg.cpp (keycache_dlg_proc): Return 1 in case |
160 |
freed (or the function returns). |
of an error. |
161 |
* wptKeyPropDlg.cpp (get_pref_cipher): New. |
* wptKeyCache.cpp (gpg_keycache_update_key): Always update |
162 |
(keyprops_dlg_proc): Use it here. |
the utf8 decoded uid list. |
163 |
|
* wptImportList.cpp (decode_userid): Do utf8 decoding here. |
164 |
2005-08-06 Timo Schulz <[email protected]> |
* wptListView.cpp (listview_new): New param for HWND handle. |
165 |
|
Change all callers. |
166 |
* wptGPGME.cpp (keycache_update): Reload OpenPGP parts |
* wptFileManager.cpp (fm_add_sig_stat): Use utf8 decoding. |
167 |
of the secret key. |
* wptGPGUtil.cpp (gpg_revoke_cert): Support --desig-revoker. |
168 |
(keycache_init): cache name of secret keyring. |
* wptClipVerifyDlg.cpp (wptClipVerifyDlg.cpp): Correct |
169 |
* wptKeyList.cpp (keylist_upd_key): Do not add long keyid. |
keyid extraction. |
170 |
(get_key_type): Do not assume 'ultimate' means key pair. |
|
171 |
* wptKeyEditDlgs.cpp (diff_time): New. |
2006-04-28 Timo Schulz <[email protected]> |
172 |
(keyedit_addsubkey_dlg_proc): Changed design and use |
|
173 |
diff_time. Drop checks for invalid keylength (< 1024, > 4096) |
* wptMAPI.cpp (mapi_send_pubkey): Use new key struct. |
174 |
because the combo box automatically handles this. |
* wptKeysigDlg.cpp (sigprops_dlg_proc): Prepare dialog |
175 |
* wptKeyManager.cpp (km_set_implicit_trust): Return error code. |
for handling policy URLs. |
176 |
* wptGPG.cpp (get_backup_name): New. |
* wptKeyManagerDlg.cpp (save_column_info, restore_column_info): |
177 |
(gnupg_backup_keyrings): Rotate backup names, from 0..3. |
New option KMSortBy. |
178 |
* wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory. |
* wptKeylist.cpp (get_key_algo): Lower priority for revoked keys. |
179 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and |
* wptKeyEdit.cpp (minimizeKey): New. |
180 |
not the long keyid. |
* wptKeyCache.cpp (gpg_keycache_update_key): Reload utf8 uid list. |
181 |
|
|
182 |
2005-08-05 Timo Schulz <[email protected]> |
2006-04-27 Timo Schulz <[email protected]> |
183 |
|
|
184 |
* wptListView.cpp (listview_set_item2): New. |
* wptKeyManager.cpp (km_get_key_ptr): New. |
185 |
* wptKeyManager.cpp (km_check_if_protected): Directly |
* wptListview.cpp (listview_get_item_text): Drop utf8 support. |
186 |
retrieve gpgme_key_t from the list. |
* wptKeyCache.cpp (keycache_decode_uids): New. |
187 |
(km_check_key_status): Likewise. |
(free_native_uids): New. |
188 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use |
* wptKeyEdit.cpp (uid_inf_colon_handler): Do utf8 decodig here. |
189 |
a human-readable name for secret key export. |
|
190 |
Reload just the keys which were affected by updates |
2006-04-26 Timo Schulz <[email protected]> |
191 |
(edit-key). |
|
192 |
(update_key): New. |
* wptKeylist.cpp (get_keyid_from_fpr): New. |
193 |
* wptKeyList.cpp ((keylist_upd_key): Stripped down |
* wptDecryptClipDlg.cpp (clip_decrypt_dlg): Use it here. |
194 |
version of keylist_add_key. |
* wptVerifyList.cpp (verlist_add_sig): Likewise. |
195 |
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not |
|
196 |
reload the keycache here, just flag 'update'. Give the |
2006-04-25 Timo Schulz <[email protected]> |
197 |
control to the calling dialog. |
|
198 |
* wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t |
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle IDCANCEL. |
199 |
as parameter. Changed all callers. |
* wptMDSumDlg.cpp (hash_selected_files): New. |
200 |
Add date of expiration to the key info. |
(mdsum_dlg_proc): Cleanups. |
201 |
(get_expire_date): New. |
* wptKeysignDlg.cpp (keysign_dlg_proc): Fix segv. |
202 |
Use a checkbox to allow to ask for the cert level. |
|
203 |
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload |
2006-04-23 Timo Schulz <[email protected]> |
204 |
the cache. |
|
205 |
|
* wptW32API.cpp (SetDlgItemText_utf8): New. |
206 |
2005-08-04 Timo Schulz <[email protected]> |
(SetWindowText_utf8): New. |
207 |
|
(GetDlgItemText_utf8): New. |
208 |
* wptListView.cpp (listview_scroll): New. |
* wptListView.cpp (listview_add_sub_item): Internal |
209 |
(listview_get_item2): New. |
utf8 support. |
210 |
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the |
|
211 |
item was found, make it visible with scrolling. |
2006-04-22 Timo Schulz <[email protected]> |
212 |
* wptKeyManager.cpp (km_find_key): New. |
|
213 |
(keylist_subclass_proc): Support to handle some acceleators. |
* wptKeyEditDlgs.cpp (addrevoker_dlg_proc): Encode |
214 |
Strg+{C, P, F, A}. |
revoker name in UTF8. |
215 |
(km_get_key_status): Get the gpgme_key_t object directly |
* wptKeysigDlg.cpp (keysig_dlg_proc): Fix utf8 problem |
216 |
from the list. |
with the window title. |
217 |
* wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set |
|
218 |
the config file (if it exists). |
2006-04-20 Timo Schulz <[email protected]> |
219 |
* wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code |
|
220 |
to handle the click->activate situation. |
* wptUTF8.cpp (native_to_utf8): Use c++ alloc. |
221 |
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
* wptKeygenDlg.cpp (keygen_dlg_proc): Do not mix c and |
222 |
Support to check the passphrase quality. |
c++ memory allocation. |
223 |
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
* wptFileManager.cpp (show_verify_result): Show PKA status |
224 |
(request_passphrase): Rename 'init' to 'flags' to allow more |
if possible. |
225 |
options. |
* wptClipVerifyDlg.cpp (get_pka_status): New. |
226 |
* wptMAPI.cpp: Check all *alloc results. |
(clip_verify_dlg_proc): Show PKA status if possible. |
227 |
* wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary |
* wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle IDCANCEL |
228 |
passphrase quality check. |
to use ESC to quit the dialog. |
229 |
* wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file |
* wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Also |
230 |
format and allow to save the checksum in a file. |
encode the comment in UTF8. Thanks to Werner and Jan. |
231 |
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning |
|
232 |
when the PGP mode is disabled. |
2006-04-16 Timo Schulz <[email protected]> |
233 |
wptKeyEditDlgs.cpp (do_editkey_primary): Return if just |
|
234 |
one user-ID exists. |
* wptHTTP.cpp (getErrorCode): New. |
235 |
(keyedit_dlg_proc): Fixed index problem. |
(connect): Store winsock error code. |
236 |
* wptKeyPropsDlg.cpp (get_validity): New. |
* wptGPGMEData.cpp (is_armor_header): New. |
237 |
(keyprops_dlg_proc): Actually show extended validity if possible. |
* wptGPG.cpp (check_gnupg_engine): Free context. |
238 |
* wptKeyList.cpp (get_key_fpr): Support for old v3 format. |
(gnupg_backup_keyrings): Do not use global vars. |
239 |
(do_addkey): Use listview_add_item2 to store key as opaque |
* wptGPGUtil.cpp (gpg_export_seckey): Export in ascii format. |
240 |
param inside the list. |
|
241 |
* wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx. |
2006-04-15 Timo Schulz <[email protected]> |
242 |
(file_stat_dlg_proc): End dialog if no PGP data was found. |
|
243 |
(do_list_packets): Return the number of valid PGP packets |
* wptKeyManager.cpp (km_get_key): New. |
244 |
of the file. |
(km_key_show_revoc_info): New. |
245 |
|
* wptKeyRevokeDlg.cpp (key_revoke_dlg): Cleanups. |
246 |
2005-08-02 Timo Schulz <[email protected]> |
(on_init_dialog): New. |
247 |
|
* wptKeyManagerDlg.cpp (key_manager_dlg_proc): Factour |
248 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of |
out some common code and use km_get_key() instead. |
249 |
using 'Default Keyserver' add the real keyserver name to |
* wptKeyEditDlgs.cpp (do_init_keylist): Change second |
250 |
the menu. |
param type. Change all callers. |
251 |
The rebuild command does not reload the cache any longer. |
* wptKeyEdit.cpp (addNotation): New. |
252 |
Use ATTR_NAME + .asc as the filename and not keyid + .asc. |
* wptKeyEditCB.cpp (editkey_command_handler): Remove 'step' |
253 |
* wptProxySettingsDlg.cpp (enable_proxy_auth): New. |
param everywhere. Change all callers. |
254 |
(keyserver_proxy_dlg_proc): Changed the design a little |
|
255 |
and add some additional sanity checks. |
2006-04-09 Timo Schulz <[email protected]> |
256 |
* wptGPGParser.cpp (commit_gpg_options): Use W32 line endings. |
|
257 |
This fixes the problem that the GPG option dialog does not show |
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Only return true |
258 |
very nice lines. |
if the homedir value was changed. |
259 |
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config. |
* wptGPG.cpp (default_key_from_cache): Only return secret key |
260 |
* wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected |
if public part is available. |
261 |
check for 'NOKEY' before asking a keyserver. |
(set_gnupg_default_key): Fix NULL problem. |
262 |
* wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag. |
* wptKeyEditDlgs.cpp (do_editkey_clean): Set update flag. |
263 |
If a lot of keys were selected, ask if the user wants to confirm |
* wptFileCBS.cpp (write_cb, read_cb): Better error handling. |
264 |
each delete procedure or allow to cancel the operation. |
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle |
265 |
* wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much |
'always-on-top' correctly. |
266 |
keys the file contain. |
* wptKeylist.cpp (keylist_get_recipients): Allocate enough |
267 |
* wptKeyList.cpp (get_key_algo): Beautified. |
mem to hold all possible keys. |
268 |
(get_key_status): Drop the "[XYZ] Unknown" format, it is too |
(keylist_enum_keys): Likewise. |
269 |
confusing for users. |
|
270 |
* wptKeyManager.cpp (km_check_key_status): Adjustments for the |
2006-04-08 Timo Schulz <[email protected]> |
271 |
new code. |
|
272 |
(km_check_for_seckey): Reset utrust parameter. Return -1 for |
* wptKeylist.cpp (keylist_get_recipients): Always use utf8 output. |
273 |
invalid (exp+rev+dis) keys. |
* wptKeyserver.cpp (kserver_connect): Fixed proxy support. |
274 |
|
* wptKeyserverSearchDlg.cpp (fetch_keys): New. |
275 |
2005-08-01 Timo Schulz <[email protected]> |
* WinPT.cpp (WinMain): if the default key was not found, reset |
276 |
|
the gpg.conf entry. |
277 |
* wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given |
* wptFileManager.cpp (fm_encrypt_into_zip): Use correct output |
278 |
sizes. |
file name. |
279 |
(check_IP_or_hostname): New. |
(show_verify_result): Always use utf8 output. |
280 |
(kserver_load_conf): Correct finger URL parsing problem. |
(get_output_file): Case in-sentensive comparison. |
281 |
(port_from_proto): New. |
(fm_assume_onepass_sig): Fixed temp file handling. |
282 |
(keyserver_load_conf): Guess the port. |
* wptClipEncryptDlg.cpp (show_invalid_recipients): Fix utf8 |
283 |
(keyserver_set_default): Allocate new buffer. |
output. |
284 |
(kserver_load_conf): Likewise. |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix possible segv. |
285 |
* wptHTTP.c (parse_reqline, parse_request): Removed. |
|
286 |
Use WinPT error code and remove all unused code. |
2006-04-07 Timo Schulz <[email protected]> |
287 |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs. |
|
288 |
* wptProxySettingsDlg.cpp (read_proxy): Simple check for |
* wptW32API.cpp (set_clip_text): Change code so it also |
289 |
invalid host/IP addresses. |
works again with non-XP systems. |
290 |
* wptGPG.cpp (multi_gnupg_path): Return allocated buffer. |
|
291 |
Changed all callers. |
2006-04-02 Timo Schulz <[email protected]> |
292 |
* wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start, |
|
293 |
automatically set 'backup to homedir'. |
* wptKeyserver.cpp: decrease general threshold for timeout. |
294 |
* WinPT.cpp (WinMain): Use desktop window as the parent window |
* wptKeyEditDlgs.cpp (do_editkey_clean): New. |
295 |
to load 'first-start' dialogs. |
|
296 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh' |
2006-04-01 Timo Schulz <[email protected]> |
297 |
flag after deleting keys. |
|
298 |
* wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure |
* wptFileVerifyDlg.cpp (file_verify_use_event): Removed. |
299 |
for passing the arguments. |
* wptFileManager.cpp (restore_original_name): New. |
300 |
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for |
(fm_decrypt): Restore original file name from literal |
301 |
the OptFile. This was responsible for a lot of 'General Errors' |
packet if possible. |
302 |
after the first start related to key caching. |
|
303 |
Automatically set the gpg binary if possible. |
2006-03-31 Timo Schulz <[email protected]> |
304 |
|
|
305 |
2005-07-22 Timo Schulz <[email protected]> |
* wptCommonDlg.cpp (nls_load_langlist): New. |
306 |
|
(nsl_set_language): New. |
307 |
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
(nls_dlg_proc): New. |
308 |
messages and make sure WinPT make a keyring backup in this case. |
(select_language): New. Allow user to select the language. |
309 |
* wptGPGME.cpp (keycache_reload): Do not rebuild the signature |
* wptNLS.c (get_gettext_langid): Updated available languages. |
310 |
cache each time. Just do it on startup. |
* WinPT.cpp (WinMain): Allow to select the languag on first |
311 |
* wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION. |
start in non-installer environments. |
312 |
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag |
* wptVerifyList.cpp (verlist_build): Simplified. |
313 |
was set by the calling function. |
(verlist_add_sig_log): Likewise. |
314 |
* wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups. |
* wptListview.cpp (listview_set_column_width, |
315 |
(keygen_dlg_proc): Only add the generated key to the keycache |
listview_get_selected_item): New. |
316 |
and do not reload the entire cache. |
* wptKeyManager.cpp (gpg_clip_export): Merged into.. |
317 |
* wptKeyManager.cpp (km_delete_keys): Store the number of keys |
(km_clip_export): ..this function. |
318 |
because in each loop iteration it will be new calculated. |
|
319 |
* wptListView.cpp (listview_del_items): Likewise. |
2006-03-30 Timo Schulz <[email protected]> |
320 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the |
|
321 |
generated key to the list instead of reloading the entire cache. |
* wptW32API.cpp (insert_menu_item): New. |
322 |
* wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn. |
* wptSigTreeDlg.cpp (create_popup): Use it. |
323 |
|
(sigtree_dlg_proc): Only show the name of the owner in the title. |
324 |
|
* wptMainProc.cpp (init_common_controls): Initialize all |
325 |
|
common controls here. |
326 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Drop static |
327 |
|
keyserver menu concept. Add all keyservers dynamically. |
328 |
|
|
329 |
|
2006-03-29 Timo Schulz <[email protected]> |
330 |
|
|
331 |
|
* wptKeyManager.cpp (km_refresh_one_key): Fix problem |
332 |
|
with preferred keyserver. |
333 |
|
* wptCommonDlg.cpp (check_URL): Allow non-http URL. |
334 |
|
* wptKeyEditDlgs.cpp (subkey_subclass_proc, |
335 |
|
uid_subclass_proc): Disable shortcuts for non keypairs. |
336 |
|
* wptMainProc.cpp (winpt_main_proc): No user interaction |
337 |
|
on automatic shutdown. Thanks to Werner. |
338 |
|
* wptGPGUtil.cpp (xcalloc): New. |
339 |
|
(gpg_rebuild_cache): Use --batch. |
340 |
|
|
341 |
|
2006-03-26 Timo Schulz <[email protected]> |
342 |
|
|
343 |
|
* wptSigTreeDlg.cpp (sigtree_load): Always use UTF8. |
344 |
|
* wptMainProc.cpp (winpt_main_proc): Reload key cache |
345 |
|
when the GPG settings were changed. |
346 |
|
* wptKeygenDlg.cpp (keygen_wizard_dlg_proc, |
347 |
|
keygen_dlg_proc): Improved check for the email address. |
348 |
|
* wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Likewise. |
349 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Modified design. |
350 |
|
|
351 |
|
2006-03-22 Timo Schulz <[email protected]> |
352 |
|
|
353 |
|
* wptClipSignDlg.cpp (on_init_dialog): New. |
354 |
|
Check that there is at least one useable signing key. |
355 |
|
* wptSigTreeDlg.cpp (sigtree_load): Correct UTF8 handling. |
356 |
|
* wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Show error |
357 |
|
if needed. |
358 |
|
|
359 |
|
2006-03-21 Timo Schulz <[email protected]> |
360 |
|
|
361 |
|
* wptUTF8.cpp (native_to_utf8): Use directly W32 API. |
362 |
|
(utf8_to_native): Likewise. Remove cp850 conversion. |
363 |
|
* wptKeyEditDlgs.cpp (do_find_userid): Correct UTF8 handling. |
364 |
|
* wptKeyManager.cpp (km_delete_keys): Do not reset 'with_seckey' |
365 |
|
flag. |
366 |
|
|
367 |
|
2006-03-20 Timo Schulz <[email protected]> |
368 |
|
|
369 |
|
* wptUTF8.cpp (get_native_charset): Removed. |
370 |
|
(utf8_to_native): Rewritten. |
371 |
|
* wptKeyEditDlgs.cpp (do_add_new_userid): Correct charset |
372 |
|
handling. |
373 |
|
* wptKeygenCBDlg.cpp (keygen_cb): Do proper reset if needed. |
374 |
|
|
375 |
|
2006-03-16 Timo Schulz <[email protected]> |
376 |
|
|
377 |
|
* wptMainProc.cpp (winpt_main_proc): Disable all CryptDisk code. |
378 |
|
* wptCryptDisk.cpp: Disable code. |
379 |
|
* wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): Support for |
380 |
|
NONE proxy protocol. |
381 |
|
(init_proxy_procotol): Likewise. |
382 |
|
(read_proxy): Likewise. |
383 |
|
* wptKeyserverSearchDlg.cpp (on_init_dialog): New. |
384 |
|
(keyserver_search_dlg_proc): Use it here. |
385 |
|
* wptKeyserverDlg.cpp (hkp_send_key): Use GPGME wrapper. |
386 |
|
* wptKeyserver.cpp (kserver_search_end): New. |
387 |
|
(kserver_search_begin): Be more strict on mem allocation. |
388 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix 'redraw' |
389 |
|
problem. |
390 |
|
* wptAboutDlgs.cpp (about_dlg_proc): Hide 'Help' button. |
391 |
|
|
392 |
|
2006-03-12 Timo Schulz <[email protected]> |
393 |
|
|
394 |
|
* wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'. |
395 |
|
* wptKeyPropsDlg.cpp (display_key_info): Automatically update |
396 |
|
sym algorithm preferences if needed. |
397 |
|
* wptKeysignDlg.cpp (date_is_today): New. |
398 |
|
(keysign_dlg_proc): Only allow to set cert expire date if |
399 |
|
the option was found. |
400 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set |
401 |
|
'ask-cert-expire'. |
402 |
|
|
403 |
|
2006-03-10 Timo Schulz <[email protected]> |
404 |
|
|
405 |
|
* wptHTTP.c: deleted. |
406 |
|
* wptHTTP.cpp (wHTTP): Transformed old code into an object. |
407 |
|
* wptKeyManager.cpp (km_http_import): Use new code. |
408 |
|
(km_refresh_one_key): Use preferred keyserver if possible. |
409 |
|
* wptComonDlg.cpp (check_URL): Better conformance checking. |
410 |
|
* wptKeyEditCB.cpp (cmd_keyserver_handler): By default |
411 |
|
set keyserver for all userids. |
412 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Enable code |
413 |
|
to set preferred keyserver. |
414 |
|
* wptKeyCache.cpp (decode_subpacket): New. |
415 |
|
(gpg_keycache_update_attr): New. |
416 |
|
* wptGPGUtil.cpp (gpg_find_key_subpacket): New. |
417 |
|
* wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Use |
418 |
|
-1 as an index for all userids. |
419 |
|
|
420 |
|
2006-03-07 Timo Schulz <[email protected]> |
421 |
|
|
422 |
|
* WinPT.cpp (set_default_keyserver): New. |
423 |
|
* wptKeyserver.cpp (kserver_set_socket_timeout): New. |
424 |
|
(kserver_set_default_keyserver): Initialize default settings |
425 |
|
if needed. |
426 |
|
* wptSymEnc.cpp (gpg_encrypt_symmetric): Disallow empty passwords. |
427 |
|
* wptPassphraseDlg.cpp (request_passphrase): Handle new flag. |
428 |
|
(passphrase_dlg_proc): Support new safe edit window procedure. |
429 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
430 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Flush passphrase cache |
431 |
|
if user disable it. |
432 |
|
* wptKeylist.cpp (keylist_build): Do not scale images but use |
433 |
|
original size. |
434 |
|
* wptListView.cpp (listview_set_image_list): New size params. |
435 |
|
Change all callers. |
436 |
|
|
437 |
|
2006-03-01 Timo Schulz <[email protected]> |
438 |
|
|
439 |
|
* wptW32API.cpp (set_clip_text): Free all memory. |
440 |
|
|
441 |
|
2006-02-27 Timo Schulz <[email protected]> |
442 |
|
|
443 |
|
* wptSOCKS.cpp (socks_handshake): New. |
444 |
|
* wptMainProc.cpp (winpt_main_proc): A dbl-click forces |
445 |
|
the key manager in teh foreground if possible. |
446 |
|
* wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys. |
447 |
|
* wptRegistry.cpp (get_reg_proxy_prefs, |
448 |
|
set_reg_proxy_prefs): Use directly the proxy context. |
449 |
|
Changed all callers. |
450 |
|
* wptProxySettingsDlg.cpp (init_proxy_protocols): New. |
451 |
|
(keyserver_proxy_dlg_proc): Use directly the proxy context. |
452 |
|
* wptKeyserver.cpp (kserver_connect): Better proxy support. |
453 |
|
(kserver_send_request, kserver_recvkey_request): Likewise. |
454 |
|
* wptKeyserverDlg.cpp (name_from_proto): New. |
455 |
|
(set_proxy): Adjusted for the new code. |
456 |
|
|
457 |
|
2006-02-26 Timo Schulz <[email protected]> |
458 |
|
|
459 |
|
* WinPT.cpp (WinMain): Removed hotkey_modify() code. |
460 |
|
* wptKeyEditDlgs.cpp (is_idea_protect_algo): Better support |
461 |
|
v4 keys. |
462 |
|
* wptKeyserver.cpp (sock_getline): Skip '\r'. |
463 |
|
(base64_encode): Remove @maxlen param. Changed all callers. |
464 |
|
(finger_readline): Removed. |
465 |
|
(finger_recvkey): Use internal functions. |
466 |
|
* wptSigTreeDlg.cpp (sigtree_dlg_proc): Support a context menu. |
467 |
|
(show_sigprops): New. |
468 |
|
(create_popup): New. |
469 |
|
* wptPreferenceDlg.cpp (prefs_dlg_proc): Cache amount is |
470 |
|
now in minutes. |
471 |
|
* wptRegistry.cpp (get_winpt_reg_prefs, set_winpt_reg_prefs): |
472 |
|
Change code to use hotkeys directly. |
473 |
|
* wptHotkeys.cpp (hotkeys_enable, hotkey_disable): Likewise. |
474 |
|
|
475 |
|
2006-02-24 Timo Schulz <[email protected]> |
476 |
|
|
477 |
|
* wptGPG.cpp (set_gnupg_default_key): Allow to remove entry |
478 |
|
when parameter is NULL. |
479 |
|
* wptKeyManager.cpp (check_exist_default_key): New. |
480 |
|
(km_delete_keys): Check if the default key is still valid, |
481 |
|
if not delete entry. |
482 |
|
* wptSigTreeDlg.cpp (sigtree_dlg_proc): Forgot to localize |
483 |
|
button. |
484 |
|
|
485 |
|
2006-02-21 Timo Schulz <[email protected]> |
486 |
|
|
487 |
|
* wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Minor |
488 |
|
cleanups. |
489 |
|
* wptGPGUtil.cpp (file_extract_recipients): New. |
490 |
|
(clip_extract_recipients): New. |
491 |
|
(gpg_get_recipients): New. |
492 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Support |
493 |
|
external recipient listings. |
494 |
|
|
495 |
|
2006-02-15 Timo Schulz <[email protected]> |
496 |
|
|
497 |
|
* wptKeysignDlg.cpp (keysign_dlg_proc): Localize new checkbox. |
498 |
|
* wptFileStatDlg.cpp (get_s2k_algo): New. |
499 |
|
* wptFileManagerDlg.cpp (update_status_bar): Use human readable |
500 |
|
formats. |
501 |
|
|
502 |
|
2006-02-14 Timo Schulz <[email protected]> |
503 |
|
|
504 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'. |
505 |
|
* wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'. |
506 |
|
* wptFileManager.cpp (fm_sym_encrypt): Set cancel. |
507 |
|
(fm_parse_files): Handle cancel. |
508 |
|
|
509 |
|
2006-02-10 Timo Schulz <[email protected]> |
510 |
|
|
511 |
|
* wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars. |
512 |
|
* wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t |
513 |
|
for the dialog param. |
514 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list |
515 |
|
signature dialog by default. |
516 |
|
* wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly |
517 |
|
gpgme_key_sig_t as param. |
518 |
|
(keysig_dlg_proc): Change param for property dialog. |
519 |
|
* wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids |
520 |
|
and use icons. |
521 |
|
(sigtree_dlg_proc): Allow to execute old list dialog to |
522 |
|
edit the signatures. |
523 |
|
|
524 |
|
2006-02-09 Timo Schulz <[email protected]> |
525 |
|
|
526 |
|
* wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode. |
527 |
|
* wptNLS.c (gettext_localize_dialog): New. |
528 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button |
529 |
|
to avoid to reload the key cache. |
530 |
|
* wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal' |
531 |
|
list mode. |
532 |
|
* wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise. |
533 |
|
* wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog |
534 |
|
initiation code to this function. |
535 |
|
(prefs_dlg_proc): Use it here. |
536 |
|
|
537 |
|
2006-02-07 Timo Schulz <[email protected]> |
538 |
|
|
539 |
|
* wptKeyEdit.cpp (setNoPassphrase): New. |
540 |
|
(getValidDays): New. |
541 |
|
* wptKeysignDlg.cpp (keysign_dlg_proc): Check on init |
542 |
|
if the key is protected. |
543 |
|
* wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle |
544 |
|
keys without a passphrase. |
545 |
|
(keyedit_addrevoker_dlg_proc): Likewise. |
546 |
|
|
547 |
|
2006-02-04 Timo Schulz <[email protected]> |
548 |
|
|
549 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for |
550 |
|
at least one ultimately trusted key. |
551 |
|
* wptKeyManager.cpp (km_refresh_key_from_keyserver): |
552 |
|
Only check inet connection if we refresh all keys. |
553 |
|
* wptGPGUtil.cpp (gpg_extract_keys): New. |
554 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode. |
555 |
|
* wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise. |
556 |
|
* wptClipSignDlg.cpp (get_selected_key): New. |
557 |
|
(one_key_proc): Use it here. |
558 |
|
(count_useable_seckeys): New. |
559 |
|
* wptSigTreeDlg.cpp (sigtree_dlg_proc): New. |
560 |
|
* wptKeyEditDlgs.cpp (diff_time): Removed. |
561 |
|
(w32_mktime): New. |
562 |
|
(keyedit_addsubkey_dlg_proc): Use it here. |
563 |
|
|
564 |
|
2006-02-02 Timo Schulz <[email protected]> |
565 |
|
|
566 |
|
* wptW32API.cpp (get_temp_name): New. |
567 |
|
* wptKeyserver.cpp (ldap_recvkey): Use it here. |
568 |
|
* wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise. |
569 |
|
* wptGPGUtil.cpp (create_tempfile): Likewise. |
570 |
|
* wptImportList.cpp (implist_load): Likewise. |
571 |
|
* wptKeyCache.cpp (parse_attr_data): Likewise. |
572 |
|
(w32_tempfile): Removed. |
573 |
|
* wptGPGME.cpp (check_ultimate_trusted_key): New. |
574 |
|
|
575 |
|
2006-01-31 Timo Schulz <[email protected]> |
576 |
|
|
577 |
|
* wptMainProc.cpp (winpt_main_proc): Fix usage of the |
578 |
|
help system. |
579 |
|
* wptListView.cpp (listview_set_chkbox_style): New. |
580 |
|
(listview_get_item_state): Support new checkbox style. |
581 |
|
(listview_new): Reset flag var. |
582 |
|
* wptKeylist.cpp (keylist_build): Support new checkbox style. |
583 |
|
|
584 |
|
2006-01-30 Timo Schulz <[email protected]> |
585 |
|
|
586 |
|
* WinPT.cpp (check_readonly_attr): New. |
587 |
|
(load_gpg_env): Use it here. |
588 |
|
(WinPT): Make the the default key is searched in the |
589 |
|
secret key cache. |
590 |
|
Change error message. |
591 |
|
* wptRegistry.cpp (regist_int_winpt): Make sure |
592 |
|
the register extension is only offered once to the user. |
593 |
|
* wptKeyPropsDlg.cpp (get_photo_tmpname): Always use |
594 |
|
temp directory. Fixed a privilege problem. |
595 |
|
|
596 |
|
2006-01-29 Timo Schulz <[email protected]> |
597 |
|
|
598 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC |
599 |
|
to quit dialog. |
600 |
|
* wptKeysignDlg.cpp (sig_class_dlg_proc): More space for |
601 |
|
translations. Directly return sig class. |
602 |
|
(keysign_dlg_proc): Change msgbox title. |
603 |
|
* wptKeyEdit.cpp (signUserid): New. |
604 |
|
(getUseridIndex): New. |
605 |
|
(getKeyIndex): New. |
606 |
|
(getSigIndex): New. |
607 |
|
(clear): New. |
608 |
|
* wptKeyEditCB.cpp (cmd_sign_handler): Allow to select |
609 |
|
user-id first. |
610 |
|
* wptKeyEditDlgs.cpp (lookup_cmd): New. |
611 |
|
(do_editkey_sign_userid): New. |
612 |
|
(do_init_cmdlist): Differ between key pairs and public keys |
613 |
|
and allowed actions. |
614 |
|
(keyedit_change_ownertrust): Show msgbox on success. |
615 |
|
(get_default_key): New. |
616 |
|
* wptPassphraseDlg.cpp (request_passphrase): Reset @cancel. |
617 |
|
|
618 |
|
2006-01-27 Timo Schulz <[email protected]> |
619 |
|
|
620 |
|
* WinPT.cpp (WinMain): Set minimal list mode as default. |
621 |
|
* wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys. |
622 |
|
|
623 |
|
2006-01-25 Timo Schulz <[email protected]> |
624 |
|
|
625 |
|
* wptRegistry.cpp (get_reg_entry_gpg): Return NULL if |
626 |
|
the key exist with no value. |
627 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string. |
628 |
|
* wptKeysignDlg.cpp (do_fill_seclist): Select the |
629 |
|
default key if possible. |
630 |
|
* wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly |
631 |
|
return the choice. |
632 |
|
* wptKeylist.cpp (get_key_desc): New. |
633 |
|
(keylist_upd_key): Free memory. |
634 |
|
* wptKeyCache.cpp (gpg_keycache_get_default_key): New. |
635 |
|
(gpg_keycache_set_default_key): New. |
636 |
|
* WinPT.cpp (gpg_prefs_ok): New. |
637 |
|
(WinMain): Only start gpg prefs if needed. |
638 |
|
|
639 |
|
2006-01-24 Timo Schulz <[email protected]> |
640 |
|
|
641 |
|
* wptKeyManager.cpp (km_dropped_file_import): New. |
642 |
|
* wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow |
643 |
|
to drop files and try to import them. |
644 |
|
(keymanager_dlg_proc): Pass kmi as opaque to the subclass |
645 |
|
proc. |
646 |
|
|
647 |
|
2006-01-23 Timo Schulz <[email protected]> |
648 |
|
|
649 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output |
650 |
|
to the clipboard. |
651 |
|
* wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New. |
652 |
|
(do_editkey_enable_disable): New. |
653 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not |
654 |
|
close the dialog if the user cancelled the ownertrust dialog. |
655 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate |
656 |
|
an update of any value. |
657 |
|
|
658 |
|
2006-01-21 Timo Schulz <[email protected]> |
659 |
|
|
660 |
|
* wptKeyCache.cpp (keycache_next_key): Handle the case |
661 |
|
that there is a secret key without a public part. |
662 |
|
* wptKeyserver.cpp (kserver_save_conf): Save ports. |
663 |
|
* wptKeyserverDlg.cpp (keyserver_modify_dlg_proc): |
664 |
|
Reset keyserver name. |
665 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate |
666 |
|
an update, do not update the cache. |
667 |
|
* wptFileManagerDlg.cpp (file_import_dlg_proc): Use one |
668 |
|
dialog for both clipboard and file imports. |
669 |
|
* wptKeyManager.cpp (km_file_import, km_clip_import): |
670 |
|
Changes to support new update system. |
671 |
|
(gpg_clip_import): New. |
672 |
|
* wptKeyManagerDlg.cpp (km_gui_import): New. |
673 |
|
(find_keypos): Rewritten. |
674 |
|
(refresh_keylist): Improved error checking. |
675 |
|
|
676 |
|
2006-01-20 Timo Schulz <[email protected]> |
677 |
|
|
678 |
|
* wptKeyCache.cpp (w32_tmpfile): New. |
679 |
|
(parse_attr_data): Use it here. |
680 |
|
* wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var. |
681 |
|
|
682 |
|
2006-01-19 Timo Schulz <[email protected]> |
683 |
|
|
684 |
|
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not |
685 |
|
reload the entire cache, just update the key. |
686 |
|
* wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise. |
687 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag. |
688 |
|
* wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise. |
689 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key |
690 |
|
if need after showing the properties. |
691 |
|
* wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug. |
692 |
|
* wptKeyManager.cpp (km_import_file): New param. Changed |
693 |
|
all callers. |
694 |
|
(km_import_clip): Likewise. |
695 |
|
(delete_keys_from_cache): Delete secret part if available. |
696 |
|
* wptClipImportDlg.cpp (print_import_status): If there |
697 |
|
are too many new keys, use reload code. |
698 |
|
|
699 |
|
2006-01-18 Timo Schulz <[email protected]> |
700 |
|
|
701 |
|
* wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume |
702 |
|
the self sig is always index 0. Noted by Kurt. |
703 |
|
* wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume |
704 |
|
the key user-ID contains an email address. |
705 |
|
* wptKeyEditDlgs.cpp (do_find_userid): Likewise. |
706 |
|
(do_editkey_deluid): Likewise. |
707 |
|
(do_editkey_revuid): Likewise. |
708 |
|
|
709 |
|
2006-01-18 Timo Schulz <[email protected]> |
710 |
|
|
711 |
|
* wptListview.cpp (listview_del_sel_items): Fixed index |
712 |
|
calculation. This fixed a lot of problems with the KM listview |
713 |
|
update. |
714 |
|
(listview_del_all): Renamed to... |
715 |
|
(listview_del_all_items): ..this. Changed all callers. |
716 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh |
717 |
|
list when file import contained new/updated keys. |
718 |
|
* wptKeyManager.cpp (km_file_import): Indicate if the |
719 |
|
import contained any new/update keys. |
720 |
|
* wptClipImportDlg.cpp (print_import_status): Just mark |
721 |
|
keys which actually changed. |
722 |
|
|
723 |
|
2006-01-17 Timo Schulz <[email protected]> |
724 |
|
|
725 |
|
* wptMAPI.cpp (mapi_send_pubkey_ext): New. |
726 |
|
* wptKeysigDlg.cpp (do_delsig): Just flag the key, do not |
727 |
|
update it. |
728 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more |
729 |
|
careful about const pointers. |
730 |
|
* wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to.. |
731 |
|
(get_subkey_keyid): ..this. Fix problem that key was updated |
732 |
|
twice and this corrupted. |
733 |
|
(keyedit_add_subkey): Set @lv item in the callback context. |
734 |
|
|
735 |
|
2006-01-16 Timo Schulz <[email protected]> |
736 |
|
|
737 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore |
738 |
|
window if it lost focus during the operation. Thanks to Kurt. |
739 |
|
Update keylist when the window is enabled. |
740 |
|
(find_keypos): New. |
741 |
|
* wptKeyCache.cpp (keycache_next_key): Reset update status. |
742 |
|
(gpg_keycache_next_updated_key): New arg @r_status. Change all |
743 |
|
callers. |
744 |
|
(gpg_keycache_update_key): Different status for new and updated. |
745 |
|
Include key signatures. |
746 |
|
* wptClipImportDlg.cpp (print_import_status): Mark all |
747 |
|
imported keys. |
748 |
|
* wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist. |
749 |
|
Thanks to Kurt. |
750 |
|
* wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys. |
751 |
|
(do_delsig): Directly reload key. Thanks to Kurt. |
752 |
|
* wptGPGME.cpp (keycache_set_reload, keycache_get_reload): |
753 |
|
Removed. |
754 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system. |
755 |
|
* wptClipImportDlg.cpp (clip_import_dlg_proc): Return |
756 |
|
FALSE if no keys were updated or operation was cancelled. |
757 |
|
* wptCommonDlg.cpp (http_dlg_proc): Fix title selection code. |
758 |
|
* wptKeylist.cpp (get_ext_validity): Handle disabled keys. |
759 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): |
760 |
|
Do not allow to change ownertrust of invalid keys. |
761 |
|
Changed translation. |
762 |
|
Slightly different user interface. |
763 |
|
|
764 |
|
2006-11-14 Timo Schulz <[email protected]> |
765 |
|
|
766 |
|
* wptW32API.cpp (make_special_filename): New. |
767 |
|
* wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs): |
768 |
|
Removed 'KeyServer' item. |
769 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver |
770 |
|
config item. |
771 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group |
772 |
|
window until we really use it. |
773 |
|
* wptKeyserver.cpp (kserver_save_conf): New. |
774 |
|
(wsock_end): Save keyserver config file. |
775 |
|
* wptKeyserverDlg.cpp (keyserver_edit): New. |
776 |
|
(keyserver_remove): New. |
777 |
|
(keyserver_add): New. |
778 |
|
(fill_keyserv_types): New. |
779 |
|
(keyserver_modify_dlg_proc): New. |
780 |
|
(keyserver_dlg_proc): Provide context menu to modify the |
781 |
|
keyserver list. |
782 |
|
(keyserver_build_list): Remove 'proto' column because it is |
783 |
|
not really useful. |
784 |
|
* WinPT.cpp (load_keyserver_conf): Store keyserver.conf at |
785 |
|
$APPDATA\winpt. If keyserver.conf exists in the current folder |
786 |
|
move it to the new destination. |
787 |
|
|
788 |
|
2006-11-13 Timo Schulz <[email protected]> |
789 |
|
|
790 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation. |
791 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise. |
792 |
|
* wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about |
793 |
|
dialog isn't shown twice. |
794 |
|
* wptKeyCache.cpp (gpg_keycache_next_updated_key): New. |
795 |
|
(gpg_keycache_update_key): Set update flag. |
796 |
|
* wptKeyManagerDlg.cpp (refresh_keylist): New. |
797 |
|
(keymanager_dlg_proc): Use new refresh system for keyservers. |
798 |
|
* wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc): |
799 |
|
Update keycache. |
800 |
|
* wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise. |
801 |
|
* wptKeyserver.cpp (socket_read_ext): New. |
802 |
|
(kserver_recv_key_ext): New. |
803 |
|
(kserver_read_config, kserver_write_config): Removed. |
804 |
|
|
805 |
|
2006-01-12 Timo Schulz <[email protected]> |
806 |
|
|
807 |
|
* wptListView.cpp (listview_set_image_list): Make icons |
808 |
|
always transparent. |
809 |
|
* wptImageList.cpp (imagelist_load): New icons. |
810 |
|
* wptGPGMEData.cpp (gpg_data_putc): New. |
811 |
|
* wptKeyManagerDlg.cpp (load_toolbar): Include new icons. |
812 |
|
(keymanager_dlg_proc): Add tooltips. |
813 |
|
* wptKeyserverDlg.cpp (keyserver_list_build): Use icons. |
814 |
|
* wptKeyserver.cpp (URL_encode): New. |
815 |
|
(URL_must_encode): New. |
816 |
|
(kserver_search_init): Properly encode pattern. |
817 |
|
(parse_iso_date): New. |
818 |
|
(keyserver_search): Be more strict to prevent buffer overflows. |
819 |
|
|
820 |
|
2006-01-11 Timo Schulz <[email protected]> |
821 |
|
|
822 |
|
* wptKeyManagerDlg.cpp (load_toolbar): 2 new icons. |
823 |
|
(keymanager_dlg_proc): Adjust tooltips. |
824 |
|
(update_ui_items): Handle new icons. |
825 |
|
* wptImageList.cpp (imagelist_load): New icons. |
826 |
|
|
827 |
|
2006-01-10 Timo Schulz <[email protected]> |
828 |
|
|
829 |
|
* wptMainProc.cpp (winpt_main_proc): Restore iconic |
830 |
|
File/Key Manager windows if needed. |
831 |
|
* wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button. |
832 |
|
* wptSiglist.cpp (init_cmp): New. |
833 |
|
(siglist_sort): New. |
834 |
|
(siglist_cmp_cb): New. |
835 |
|
(siglist_add_key): Force NOKEY status when key was not found. |
836 |
|
* wptKeysigDlg.cpp (recv_single_key): New. |
837 |
|
(recv_missing_keys): Reload entire key when more than one key |
838 |
|
was fetched. |
839 |
|
(keysig_dlg_proc): Support sorting the listview items. |
840 |
|
|
841 |
|
2006-01-09 Timo Schulz <[email protected]> |
842 |
|
|
843 |
|
* WinPT.cpp (load_gettext): Remove file locking. |
844 |
|
(WinMain): Use pre-defined autoconf constants. |
845 |
|
* wptW32API.cpp (init_file_lock, release_file_lock): Deleted. |
846 |
|
* wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver. |
847 |
|
Change all callers. |
848 |
|
|
849 |
|
2006-01-07 Timo Schulz <[email protected]> |
850 |
|
|
851 |
|
* wptKeyManager.cpp (km_refresh_from_keyserver): Summarize |
852 |
|
import status if just one key was selected. |
853 |
|
|
854 |
|
2006-01-04 Timo Schulz <[email protected]> |
855 |
|
|
856 |
|
* wptGPGMEWrapper.c (setChangeVersion): New. |
857 |
|
(exportToBuffer, exportToFile, exportToClipboard): New. |
858 |
|
(setArmor, getArmor): New. |
859 |
|
* wptKeylist.cpp (get_key_expire_date): Return locale specific |
860 |
|
date. |
861 |
|
(keylist_get_recipients): Do not fetch the key again. |
862 |
|
(keylist_enum_recipients): Likewise. |
863 |
|
* wptGPG.cpp (create_empty_keyring): New. |
864 |
|
(get_gnupg_keyring): Fixed 'strict' logic. |
865 |
|
* wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons |
866 |
|
when no secret keys are available. |
867 |
|
* wptKeyManager.cpp (km_send_to_mail_recipient): Release key data |
868 |
|
before the MAPI call is made. |
869 |
|
* WinPT.cpp (check_for_empty_keyrings): New. |
870 |
|
|
871 |
|
2006-01-03 Timo Schulz <[email protected]> |
872 |
|
|
873 |
|
* pubkey.ico, keypair.ico: New. |
874 |
|
* wptListview.cpp (listview_add_item_image): New. |
875 |
|
(listview_set_image_list): New. |
876 |
|
* wptSigList.cpp (siglist_add_key): Correct order of the sigs. |
877 |
|
* wptKeyProps.cpp (keyprops_load_photo): Adjusted for new |
878 |
|
JPEG data. |
879 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to |
880 |
|
add items to revoked keys. |
881 |
|
* wptKeyManager.cpp (km_delete_keys): Do not use uninitialized |
882 |
|
keyid buffer. This fixes a segv. |
883 |
|
* wptKeyserver.cpp (spawn_application): New. |
884 |
|
(ldap_recv_key): Support recent protocols and several cleanups. |
885 |
|
* wptKeylist.cpp (do_addkey): Set image which depends on the |
886 |
|
key type. |
887 |
|
(keylist_enum_recipients): Cleanups. |
888 |
|
(keylist_get_keyflags): Rewritten. |
889 |
|
* wptKeyCache.cpp (free_attr_list): New. |
890 |
|
(parse_attr_list): New. |
891 |
|
(parse_attr_data): New. |
892 |
|
(keycache_update_photo): New. |
893 |
|
(keycache_update_photos): New. |
894 |
|
(gpg_keycache_update_key): Automatically reload photos if needed. |
895 |
|
* wptGPGUtil.cpp (create_process): New param @err. Change all |
896 |
|
callers. |
897 |
|
(map_tmpfile): New param @nread. Change all callers. |
898 |
|
(gpg_get_photoid_data): New. |
899 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to |
900 |
|
add items to revoked keys. |
901 |
|
(subkey_init_list): Store gpgme key object. |
902 |
|
|
903 |
|
2005-12-29 Timo Schulz <[email protected]> |
904 |
|
|
905 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically. |
906 |
|
(gpg_genkey_params): Simplified. |
907 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal |
908 |
|
exclusion of the dialog items. |
909 |
|
* wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to |
910 |
|
quit the dialog. |
911 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
912 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND. |
913 |
|
(id2algo): New. |
914 |
|
|
915 |
|
2005-12-28 Timo Schulz <[email protected]> |
916 |
|
|
917 |
|
* wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs. |
918 |
|
* wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise. |
919 |
|
* wptKeylist.cpp (keylist_udp_key): Likewise. |
920 |
|
* wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise. |
921 |
|
* wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem |
922 |
|
when no signing key was found. |
923 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode |
924 |
|
user IDs. |
925 |
|
(translate_popup_strings): s/Revoke/Revoke Cert. |
926 |
|
* wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a |
927 |
|
0x prefixed keyid. |
928 |
|
* wptKeyEditCB.cpp (editkey_command_handler): Also reset |
929 |
|
step in case of a bad passphrase. |
930 |
|
|
931 |
|
2005-12-27 Timo Schulz <[email protected]> |
932 |
|
|
933 |
|
* wptListView.cpp (listview_set_view): New. |
934 |
|
(listview_del_column): New. |
935 |
|
* wptW32API.cpp (get_locale_date): New. |
936 |
|
(get_menu_state): New. |
937 |
|
(force_foreground_window): New. |
938 |
|
* wptVerifyList.cpp (strtimestamp): Support for |
939 |
|
locale date formats. |
940 |
|
* wptGPGUtil.cpp (gpg_revoke_cert): Handle bad |
941 |
|
passphrases. |
942 |
|
* wptKeyEditCB.cpp (editkey_command_handler): Immediately |
943 |
|
return when a bad passphrase was submitted. |
944 |
|
* wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change |
945 |
|
column order. |
946 |
|
* wptKeylist.cpp (keylist_upd_col): New. |
947 |
|
* wptKeyManagerDlg.cpp (update_ui_items): Deactivate |
948 |
|
'Revocation' for public keys. |
949 |
|
(translate_menu_strings): s/Revoke/Revoke Cert. |
950 |
|
(modify_listview_columns): New. |
951 |
|
|
952 |
|
2005-12-18 Timo Schulz <[email protected]> |
953 |
|
|
954 |
|
* wptKeyManagerDlg.cpp (save_column_size): New. |
955 |
|
(restore_column_size): New. |
956 |
|
(keymanager_dlg_proc): Save and restore column sizes for |
957 |
|
the listview control. |
958 |
|
* wptKeyManager.cpp (key_get_info): New. |
959 |
|
(km_delete_keys): Use it here to have a consistent message. |
960 |
|
Use stored key context and not the column data. |
961 |
|
(km_enable_disable_key): Likewise. |
962 |
|
(km_send_to_keyserver): Likewise. |
963 |
|
(km_set_implicit_trust): Likewise. |
964 |
|
* wptKeylist.cpp (get_key_pubalgo2): New. |
965 |
|
|
966 |
|
2005-12-17 Timo Schulz <[email protected]> |
967 |
|
|
968 |
|
* wptUTF8.cpp: Removed unused charset array. |
969 |
|
* wptSigList.cpp (siglist_build): Increase size for 'class' |
970 |
|
column. |
971 |
|
* wptGPG.cpp (get_gnupg_path): Simplified. |
972 |
|
* WinPT.cpp (load_gpg_env): New. |
973 |
|
(check_crypto_engine): Return type is now bool. |
974 |
|
* wptRegistry.cpp (is_gpg4win_installed): New. |
975 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent |
976 |
|
dialog design. |
977 |
|
* wptKeyManagerDlg.cpp (translate_menu_strings): New. |
978 |
|
(translate_popupmenu_strings): New. |
979 |
|
* wptKeyEditDlgs.cpp (is_jpg_file): New. |
980 |
|
|
981 |
|
2005-12-13 Timo Schulz <[email protected]> |
982 |
|
|
983 |
|
* wptCommonDlg.cpp (http_dlg_proc): Localized missing elements. |
984 |
|
* wptKeyManagerDlg.cpp (change_edit_menu): New. |
985 |
|
(change_key_menu): Renamed from... |
986 |
|
(menu_gpg_readonly): ..this. |
987 |
|
(clip_contains_pgpkey): New. |
988 |
|
(update_ui_items): Do not allow to sign expired keys. |
989 |
|
(keymanager_dlg_proc): Same for popup menu. |
990 |
|
* wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling. |
991 |
|
* wptKeyCache.cpp (copy_uid_prefs): |
992 |
|
(gpg_keycache_sync): Copy uid prefs so the key property |
993 |
|
dialog show the correct values. Thanks to Shane. |
994 |
|
|
995 |
|
2005-12-11 Timo Schulz <[email protected]> |
996 |
|
|
997 |
|
* wptW32API.cpp (get_file_version): New. |
998 |
|
* wptGPGUtil.cpp (create_process): Always hide window. |
999 |
|
* wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close' |
1000 |
|
instead of 'Exit'. |
1001 |
|
* wptKeyManager.cpp (km_http_import): New filename |
1002 |
|
generation code. |
1003 |
|
(km_send_to_mail_recipient): Cleanups. |
1004 |
|
* wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog. |
1005 |
|
* wptKeyManagerDlg.cpp (update_ui_items): Handle the case |
1006 |
|
when multiple keys are selected. |
1007 |
|
(popup_multiple): New. |
1008 |
|
* WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe |
1009 |
|
file versions are equal. Rewrote --keymanager code. |
1010 |
|
|
1011 |
|
2005-12-08 Timo Schulz <[email protected]> |
1012 |
|
|
1013 |
|
* wptKeyserverDlg.cpp (show_imported_keys): Enhanced. |
1014 |
|
(hkp_recv_key2): Show user-id of the imported key instead |
1015 |
|
of just the pattern. |
1016 |
|
* wptFileCBS.cpp (read_cb): Changed to W32 API. |
1017 |
|
(write_cb): Likewise. Create output file on demand. |
1018 |
|
(gpg_file_data_new): Adjusted code for new API. |
1019 |
|
* wptKeyEdit.cpp (cleanKey): New. |
1020 |
|
* wptKeyEditCB.cpp (cmd_clean_handler): New. |
1021 |
|
(editkey_command_handler): Call clean handler. |
1022 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort |
1023 |
|
keylist after inserting items. |
1024 |
|
* wptFileManager.cpp (fm_set_status): Take care of |
1025 |
|
cleartext sigs. |
1026 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make |
1027 |
|
sure can be closed. |
1028 |
|
|
1029 |
|
2005-12-07 Timo Schulz <[email protected]> |
1030 |
|
|
1031 |
|
* wptOwnertrustDlg.cpp (ownertrust_dlg_proc): |
1032 |
|
Use 'Close' instead of 'Exit'. |
1033 |
|
* wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise. |
1034 |
|
* wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA |
1035 |
|
as the destination dir. Thanks to Werner. |
1036 |
|
* wptRegistry.cpp (is_gpgee_installed): New. |
1037 |
|
(regist_inst_winpt): Do not register file extensions |
1038 |
|
if GPGee is available. |
1039 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit |
1040 |
|
use of local vars. |
1041 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure |
1042 |
|
no illegal backup mode is saved. |
1043 |
|
* wptKeyserverDlg.cpp (show_imported_key): New. |
1044 |
|
(hkp_recv_key2): Show imported keys if the blob |
1045 |
|
contained more than one. |
1046 |
|
|
1047 |
|
2005-12-06 Timo Schulz <[email protected]> |
1048 |
|
|
1049 |
|
* WinPT.cpp (WinMain): Load the gettext environment soon |
1050 |
|
as possible so all 'first start' messages are localized. |
1051 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is |
1052 |
|
received via the keyserver, return the gpgme key context on |
1053 |
|
success and add it directly to the list. |
1054 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param |
1055 |
|
to store the key. |
1056 |
|
(hkp_recv_key2): Add extra param for the fingerprint. |
1057 |
|
(hkp_recv_key): Call hkp_recv_key2 without fingerprint. |
1058 |
|
|
1059 |
|
2005-12-02 Werner Koch <[email protected]> |
1060 |
|
|
1061 |
|
* wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs. |
1062 |
|
|
1063 |
|
2005-12-01 Timo Schulz <[email protected]> |
1064 |
|
|
1065 |
|
* wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic |
1066 |
|
for get_gpg_sigstat(). |
1067 |
|
* wptGPGME.cpp (get_gpg_sigstat): New. It is now a function. |
1068 |
|
As a macro strings will not be translated at runtime. |
1069 |
|
* wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we |
1070 |
|
need to update the cache. Thanks to Jan-Oliver. |
1071 |
|
* wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized. |
1072 |
|
|
1073 |
|
2005-11-30 Timo Schulz <[email protected]> |
1074 |
|
|
1075 |
|
* wptW32API.cpp (dialog_box_param): Removed LANG_DE code. |
1076 |
|
* WinPT-en.rc: Removed string list. |
1077 |
|
* wptFileSaveDlg.cpp (file_save_dlg_proc): Localized |
1078 |
|
* wptKeylist.cpp (keylist_build): Cannot use global |
1079 |
|
arrays for the columns due to gettext. |
1080 |
|
|
1081 |
|
2005-11-29 Timo Schulz <[email protected]> |
1082 |
|
|
1083 |
|
* WinPT.cpp (WinMain): Modify --keymanager. If an instance |
1084 |
|
is running, just send the command to open the manager. |
1085 |
|
|
1086 |
|
2005-11-25 Timo Schulz <[email protected]> |
1087 |
|
|
1088 |
|
* wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging |
1089 |
|
process when the revoker is already there. |
1090 |
|
|
1091 |
|
2005-11-24 Timo Schulz <[email protected]> |
1092 |
|
|
1093 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Localize |
1094 |
|
signing dialog items. |
1095 |
|
* wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items. |
1096 |
|
* wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now. |
1097 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items. |
1098 |
|
* wptKeylist.cpp (key_check_validity): Likewise. |
1099 |
|
* wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise. |
1100 |
|
|
1101 |
|
2005-11-22 Timo Schulz <[email protected]> |
1102 |
|
|
1103 |
|
* wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG |
1104 |
|
macro debug output will be generated in release version. |
1105 |
|
|
1106 |
|
2005-11-21 Timo Schulz <[email protected]> |
1107 |
|
|
1108 |
|
* WinPT.cpp (WinMain): Implement --stop switch. |
1109 |
|
* wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize |
1110 |
|
missing string. |
1111 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise. |
1112 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context |
1113 |
|
first. Thanks to Ralf. |
1114 |
|
* wptFileManagerDlg.cpp (update_ui_items): New. |
1115 |
|
* wptFileManager.cpp (fm_set_status): New sigmode param. |
1116 |
|
Changed all callers. |
1117 |
|
|
1118 |
|
2005-11-17 Timo Schulz <[email protected]> |
1119 |
|
|
1120 |
|
* wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that |
1121 |
|
the cache will be loaded twice. |
1122 |
|
* wptRegistry.cpp (regist_inst_winpt): More comments. |
1123 |
|
* wptKeyManagerDlg.cpp (do_center_window): Make sure that |
1124 |
|
neg. coordinates are never used. |
1125 |
|
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all |
1126 |
|
strings. |
1127 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
1128 |
|
* wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu |
1129 |
|
and save 'AlwaysOnTop' in the registry. |
1130 |
|
|
1131 |
|
2005-11-16 Timo Schulz <[email protected]> |
1132 |
|
|
1133 |
|
* WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2. |
1134 |
|
* wptKeylist.cpp (keylist_add_key): Add disabled keys in list |
1135 |
|
mode. |
1136 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings. |
1137 |
|
* wptRegistry.cpp (regist_inst_winpt): Set install directory. |
1138 |
|
Useful for other programs to figure out the path to the EXE. |
1139 |
|
|
1140 |
|
2005-11-14 Timo Schulz <[email protected]> |
1141 |
|
|
1142 |
|
* wptGPG.cpp (check_gnupg_engine): Fix version check. |
1143 |
|
* wptMainProc.cpp (winpt_main_proc): Check keyring |
1144 |
|
file permissions always and do not use interative output |
1145 |
|
when the windows session ends. |
1146 |
|
* wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): |
1147 |
|
Localize all strings. |
1148 |
|
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
1149 |
|
* wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise. |
1150 |
|
* wptKeyEditDlgs.cpp (do_init_keylist): Skip all |
1151 |
|
non-valid keys. |
1152 |
|
|
1153 |
|
2005-11-12 Timo Schulz <[email protected]> |
1154 |
|
|
1155 |
|
Fix more GCC warnings. |
1156 |
|
|
1157 |
|
2005-11-10 Timo Schulz <[email protected]> |
1158 |
|
|
1159 |
|
* wptClipSignDlg.cpp (one_key_proc): Use |
1160 |
|
release_gpg_passphrase_cb() to free the context. |
1161 |
|
* wptListView.cpp (listview_deselect_all): New. |
1162 |
|
* wptMAPI.cpp (mapi_send_pubkey): Works again. |
1163 |
|
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt & |
1164 |
|
zip. |
1165 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase |
1166 |
|
caching for signing operations. |
1167 |
|
* wptKeyManager.cpp (km_send_to_mail_recipient): Works again. |
1168 |
|
* wptFileManager.cpp (fm_send_file): Likewise. |
1169 |
|
(fm_encrypt_into_zip): New. |
1170 |
|
|
1171 |
|
2005-11-09 Timo Schulz <[email protected]> |
1172 |
|
|
1173 |
|
* wptNLS.c (get_gettext_langid): Map user language id to |
1174 |
|
printable gettext language strings. |
1175 |
|
* wptRegistry.cpp (get_reg_entry_mo): Support for the |
1176 |
|
gettext environment. |
1177 |
|
* wptFileManager.cpp (fm_encrypt): Close all files before |
1178 |
|
the wipe procedure is called. |
1179 |
|
* wptVerlist.cpp (verlist_add_sig): Handle the case the |
1180 |
|
issuer is not valid but the signature is. |
1181 |
|
(verlist_add_sig_log): Likewise. Thanks to the folks on |
1182 |
|
winpt-users. |
1183 |
|
|
1184 |
|
2005-11-08 Werner Koch <[email protected]> |
1185 |
|
|
1186 |
|
* SAFE.ICO, SIGN.ICO: Fixed capitalization. |
1187 |
|
* WinPT-en.rc: Ditto. |
1188 |
|
* winpt_km.ico: Moved from ../. |
1189 |
|
|
1190 |
|
* Makefile.am (resource_files): Add missing backslash. |
1191 |
|
|
1192 |
|
2005-11-08 Timo Schulz <[email protected]> |
1193 |
|
|
1194 |
|
More minor changes to avoid GCC warnings. |
1195 |
|
|
1196 |
|
* wptGPG.cpp (check_homedir): Free memory in case of errors. |
1197 |
|
(multi_gnupg_path): Add strict mode. If non-strict mode return |
1198 |
|
the folder even if it does not exist. |
1199 |
|
(check_for_gpgwin): New. |
1200 |
|
* wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is |
1201 |
|
initialized. |
1202 |
|
* wptRegistry.cpp (get_reg_entry_gpg4win): New. |
1203 |
|
(get_reg_entry_mo): Support for gpg4win. |
1204 |
|
|
1205 |
|
2005-11-07 Timo Schulz <[email protected]> |
1206 |
|
|
1207 |
|
* wptMainProc.cpp (winpt_main_proc): Disable |
1208 |
|
some menu items when no secret key is available. |
1209 |
|
|
1210 |
|
2005-11-05 Timo Schulz <[email protected]> |
1211 |
|
|
1212 |
|
More minor changes to avoid GCC warnings. |
1213 |
|
|
1214 |
|
* wptErrors.cp (winpt_strerror): Return w32 |
1215 |
|
formatted error and do not use 'break'. |
1216 |
|
|
1217 |
|
2005-11-04 Werner Koch <[email protected]> |
1218 |
|
|
1219 |
|
* WinPT-en.rc: Fixed locations of icons. |
1220 |
|
|
1221 |
|
2005-11-03 Timo Schulz <[email protected]> |
1222 |
|
|
1223 |
|
A lot of minor changes to avoid GCC warnings. |
1224 |
|
|
1225 |
|
* wptGPG.cpp (get_gnupg_keyring): Only check size for |
1226 |
|
public keyring. |
1227 |
|
* wptKeyManager.cpp (km_update_default_key_str): Do |
1228 |
|
not issue a bug message when no secret key was found. |
1229 |
|
* wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct. |
1230 |
|
|
1231 |
|
2005-11-02 Werner Koch <[email protected]> |
1232 |
|
|
1233 |
|
* WinPT.cpp (WinMain): Disabled PTD version tests. |
1234 |
|
(check_crypto_engine): Fixed version check for scard. |
1235 |
|
|
1236 |
|
* wptErrors.cpp (debug_end): Add dummy function. |
1237 |
|
|
1238 |
|
* Makefile.am (code_files): Added wptCardEditCB.cpp and |
1239 |
|
wptKeyEditCB.cpp. |
1240 |
|
|
1241 |
|
2005-10-31 Werner Koch <[email protected]> |
1242 |
|
|
1243 |
|
* wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD |
1244 |
|
functions. |
1245 |
|
|
1246 |
|
* wptKeyEditDlgs.cpp: Include oleauto.h |
1247 |
|
* wptKeyEdit.cpp: Include time.h. |
1248 |
|
* wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h. |
1249 |
|
* wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/. |
1250 |
|
|
1251 |
|
* Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp, |
1252 |
|
wptKeyEdit.cpp and wptKeycache.cpp. |
1253 |
|
|
1254 |
|
* wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h |
1255 |
|
* wptImportList.cpp (implist_load): Use remove and not unlink. |
1256 |
|
* wptGPG.cpp: Fixed spelling of wptGpgCmds.h |
1257 |
|
* wptImportList.cpp (implist_load): Use remove and not unlink. |
1258 |
|
* wptKeyManager.cpp (km_http_import): Ditto |
1259 |
|
* wptMainProc.cpp: Include wptCrypto.h |
1260 |
|
* wptKeyManager.cpp: Ditto. |
1261 |
|
* wptFileManager.cpp: Ditto. |
1262 |
|
* wptImportList.cpp (parse_colon_key): Need to cast argument for |
1263 |
|
isdigit. Include ctype.h. |
1264 |
|
* wptGPG.cpp: Include shlobj.h. |
1265 |
|
|
1266 |
|
Fixed double inclusion of windows.h. |
1267 |
|
|
1268 |
|
* Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now. |
1269 |
|
* wptKeylist.cpp (get_key_created): Broke up trigraph. |
1270 |
|
(get_key_status): Removed dangerous use of sprintf. Still other |
1271 |
|
flaws present, see comment. |
1272 |
|
|
1273 |
|
* wptCardPCSC.c: Don't include winscard.h. |
1274 |
|
(pcsc_readerstate_t, pcsc_context_t): New. Changed call users to |
1275 |
|
use these types. |
1276 |
|
(PCSC_): Added a lot of constants, all taked from GnuPG 1.9. |
1277 |
|
(SCARD_S_SUCCESS): Changed all compares to test the value directly |
1278 |
|
against zero. |
1279 |
|
|
1280 |
|
* WinPT.cpp: Include wptCrypto.h. |
1281 |
|
(WinMain): Don't shard S. Removed usunsed variable SIZE. |
1282 |
|
* Makefile.am (code_files): Actually add files by adding a first |
1283 |
|
backslash. |
1284 |
|
* wptMDSumDlg.cpp: Include wptCrypto.h. |
1285 |
|
* wptProxySettingsDlg.cpp: Included ctype.h. |
1286 |
|
* wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h. |
1287 |
|
* wptKeysignDlg.cpp: Ditto |
1288 |
|
* wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h. |
1289 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove. |
1290 |
|
Removed unused variable. |
1291 |
|
* wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to |
1292 |
|
silly c++ operator synonyms. |
1293 |
|
* wptKeyEditDlgs.cpp: Include time.h. |
1294 |
|
* wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE. |
1295 |
|
* wptFileManagerDlg.cpp: Ditto. |
1296 |
|
(space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't |
1297 |
|
matter if it does an rmdir for a directory. |
1298 |
|
|
1299 |
|
Fixed include of resource.h which is not anymore in the top |
1300 |
|
directory. |
1301 |
|
|
1302 |
|
2005-10-28 Werner Koch <[email protected]> |
1303 |
|
|
1304 |
|
* wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to |
1305 |
|
unsigned. Never ever use a possible signed char as argument for |
1306 |
|
ctype tests. An alternative is to first test using isascii (). |
1307 |
|
(keyserver_proxy_dlg_proc): Removed unused variable. |
1308 |
|
|
1309 |
|
2005-10-27 Timo Schulz <[email protected]> |
1310 |
|
|
1311 |
|
* wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys. |
1312 |
|
* wptKeylist.cpp (keylist_add_key): Check global key flag to |
1313 |
|
see if the key is disabled and not each subkey. |
1314 |
|
(seclist_init): Likewise. |
1315 |
|
* wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use |
1316 |
|
gpgme_op_decrypt_verify. |
1317 |
|
(clip_decrypt_dlg_proc): Fixed fingerprint |
1318 |
|
to keyid conversation. This also fixes a crash. |
1319 |
|
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise. |
1320 |
|
* wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key |
1321 |
|
already expired if the user wants to change the date. |
1322 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old |
1323 |
|
'v3 sig' option with the 'ask cert level' option. Sync |
1324 |
|
with global preferences. |
1325 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the |
1326 |
|
gpg.conf contains 'ask-cert-level'. If not disable button. |
1327 |
|
* wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable |
1328 |
|
the button when the key is available. |
1329 |
|
Reload key directly, not the entire cache. |
1330 |
|
|
1331 |
|
2005-10-26 Timo Schulz <[email protected]> |
1332 |
|
|
1333 |
|
* wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but |
1334 |
|
possible overflow. |
1335 |
|
(is_openpgp_ext): Compare case insentensive. |
1336 |
|
(add_single_file): New. |
1337 |
|
(fm_add_opened_files): Support multi file selection. |
1338 |
|
* wptKeyPropsDlg.cpp (do_change_ownertrust): Removed. |
1339 |
|
* wptKeyManager.cpp (km_enable_disable_key): Do not set cache |
1340 |
|
reload flag. Just update the single key. |
1341 |
|
* wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var |
1342 |
|
and disable anonymize recipient for now. |
1343 |
|
|
1344 |
|
Begin to port code to GCC. Fix all warning issued by the gcc |
1345 |
|
compiler. |
1346 |
|
|
1347 |
|
2005-10-25 Timo Schulz <[email protected]> |
1348 |
|
|
1349 |
|
* wptGPGUtil.cpp (create_process): Hide window. |
1350 |
|
* wptKeyPropsDlg.cpp (get_photo_tmpname): New. |
1351 |
|
* wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove |
1352 |
|
static var 'enable'. |
1353 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Likewise. |
1354 |
|
(gpg_genkey_params): Make sure all primary keys are capable |
1355 |
|
for signing and certification. |
1356 |
|
* wptKeySigDlg.cpp (is_sig): If no item is selected, return 0. |
1357 |
|
* wptGPG.cpp (gnupg_access_keyring): Check return value for |
1358 |
|
NULL. Noted by Ralf. |
1359 |
|
(get_gnupg_prog): Simplified. |
1360 |
|
(check_homedir): Fixed. Return 0 when the dir is successfully created. |
1361 |
|
* wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to |
1362 |
|
indicate a pending GPG process. |
1363 |
|
* wptFileManager.cpp (op_begin, op_end): New. Indicate an start |
1364 |
|
and and of an operation. For now just the cursor changes. |
1365 |
|
(fm_parse_command_line): Remove debug output. Thanks to Ralf again. |
1366 |
|
* WinPT.cpp (WinMain): Check if there is already an instance and |
1367 |
|
set a variable early as possible. |
1368 |
|
(load_gettext): If a previous instance was found, do not output |
1369 |
|
any errors. Kudos to Ralf. |
1370 |
|
|
1371 |
|
2005-10-24 Timo Schulz <[email protected]> |
1372 |
|
|
1373 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use |
1374 |
|
pre-defined recipients. |
1375 |
|
(release_gpg_passphrase_cb): Release recipients. |
1376 |
|
* wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id |
1377 |
|
validity if needed. |
1378 |
|
(keyprops_dlg_proc): Issue a warning if the photo is valid. |
1379 |
|
|
1380 |
|
2005-10-23 Timo Schulz <[email protected]> |
1381 |
|
|
1382 |
|
* wptFileManager.cpp (fm_get_file_type): Detect detached sigs. |
1383 |
|
* wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys. |
1384 |
|
(get_ext_validity): New. |
1385 |
|
* wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups. |
1386 |
|
* wptClipEditDlg.cpp (load_clipboard): Factored out some code into |
1387 |
|
this function. |
1388 |
|
(load_clipboard_from_file): Likewise. |
1389 |
|
(save_clipboard_to_file): New. |
1390 |
|
* wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow. |
1391 |
|
|
1392 |
|
2005-10-22 Timo Schulz <[email protected]> |
1393 |
|
|
1394 |
|
Localized a lot of more strings. |
1395 |
|
|
1396 |
|
* wptMainProc.cpp (load_smartcard): New. |
1397 |
|
* wptFileManager.cpp (fm_parse_command_line): Simplify code. |
1398 |
|
(fm_check_armor_type): Add new arg. Change all callers. |
1399 |
|
(fm_get_file_type): Likewise. |
1400 |
|
* wptKeyPropsDlg.cpp (display_key_info): New. |
1401 |
|
(keyprops_show_photo): Factored out some code into.. |
1402 |
|
(keyprops_load_photo): ..this function. |
1403 |
|
|
1404 |
|
2005-10-21 Timo Schulz <[email protected]> |
1405 |
|
|
1406 |
|
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Use |
1407 |
|
WM_INITPOPUPMENU to localize popup menu texts. |
1408 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
1409 |
|
* wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset. |
1410 |
|
|
1411 |
|
2005-10-20 Timo Schulz <[email protected]> |
1412 |
|
|
1413 |
|
Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0. |
1414 |
|
|
1415 |
|
* wptPassphraseCB.cpp (passphrase_cb): Complete card support. |
1416 |
|
* wptCardEdit.cpp (genKey): Handle cancel case. |
1417 |
|
* keycache.c: Renamed into... |
1418 |
|
* wptKeyCache.cpp: ...this. |
1419 |
|
* wptW32API.cpp (set_menu_text): Removed unused code. |
1420 |
|
(set_menu_text_bypos): New. |
1421 |
|
* wptCrypto.h: New. |
1422 |
|
* wptMainProc.cpp (winpt_main_proc): Complete localize |
1423 |
|
menu texts. |
1424 |
|
* wptErrors.cpp (log_debug): Use a static var so the file |
1425 |
|
is only opened once. |
1426 |
|
(debug_end): Cleanup. Currently just close the log file. |
1427 |
|
* wptErrors.h (wipememory): New. |
1428 |
|
(sfree_if_alloc): Use it here. |
1429 |
|
* WinPT.cpp (WinMain): Display the min. GPGME version which |
1430 |
|
is needed in case of an error. |
1431 |
|
|
1432 |
|
2005-10-17 Timo Schulz <[email protected]> |
1433 |
|
|
1434 |
|
Free all memory returned by the GPGME dll with gpgme_free (). |
1435 |
|
|
1436 |
|
s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT. |
1437 |
|
|
1438 |
|
* wptKeyEdit.cpp (getCardStatus): Remove dummy key. |
1439 |
|
(list_handler): With user interaction to allow to insert |
1440 |
|
the card into the reader. |
1441 |
|
* wptKeyEditCB.cpp (gpg_edit_card): Likewise. |
1442 |
|
(common_card_handler): Fixed incorrect command string. |
1443 |
|
* wptKeyPropsDlg.cpp (get_card_type): New. |
1444 |
|
(keyprops_dlg_proc): Show card information if present. |
1445 |
|
* wptFileManager.cpp (secret_key_available): Make the code faster. |
1446 |
|
|
1447 |
|
|
1448 |
|
2005-10-16 Timo Schulz <[email protected]> |
1449 |
|
|
1450 |
|
* wptPassphraseCB.cpp (passphrase_cb): Fix problem |
1451 |
|
with hanging GPG process on cancel. |
1452 |
|
* keycache.c (gpg_keycache_release): Release all objects. |
1453 |
|
|
1454 |
|
2005-10-15 Timo Schulz <[email protected]> |
1455 |
|
|
1456 |
|
* wptCardEdit.cpp (setResult, getResult): New. |
1457 |
|
(reset): New. |
1458 |
|
(getCardStatus): Check return codes and release all objects |
1459 |
|
in case of errors. |
1460 |
|
* wptCardEditCB.cpp (change_pin_handler): Call reset() |
1461 |
|
before quit. |
1462 |
|
(editcard_handler): Likewise. |
1463 |
|
(common_card_handler): New. |
1464 |
|
* wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask |
1465 |
|
the old PIN when 'Hide Typing' is disabled. |
1466 |
|
* wptPassphraseCB.cpp (passphrase_cb): The card detection |
1467 |
|
works again. Support to re-enter passphrase. |
1468 |
|
|
1469 |
|
2005-10-14 Timo Schulz <[email protected]> |
1470 |
|
|
1471 |
|
* wptCardDlg.cpp (card_status): New fields for the |
1472 |
|
fingerprint creation time. Display card info as title. |
1473 |
|
(get_printable_version): New. |
1474 |
|
* wptCardEditCB.cpp (editcard_handler): Fix problem |
1475 |
|
with the counter comparison. |
1476 |
|
|
1477 |
|
2005-10-11 Timo Schulz <[email protected]> |
1478 |
|
|
1479 |
|
Port to GPGME basically finished. |
1480 |
|
|
1481 |
|
2005-09-20 Timo Schulz <[email protected]> |
1482 |
|
|
1483 |
|
* wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): |
1484 |
|
Do not use gpgme_recipients_t but the listview directly |
1485 |
|
to add the selected files. |
1486 |
|
|
1487 |
|
2005-09-07 Timo Schulz <[email protected]> |
1488 |
|
|
1489 |
|
* Make sure all GetOpenFileName filters are terminated by \0\0. |
1490 |
|
|
1491 |
|
2005-09-01 Timo Schulz <[email protected]> |
1492 |
|
|
1493 |
|
* wptW32API.cpp (center_window): New argument for parent window. |
1494 |
|
Change all callers. |
1495 |
|
(center_window2): Likewise. |
1496 |
|
* GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'. |
1497 |
|
* wptGPG.cpp (gnupg_backup_options): Remove param. One backup |
1498 |
|
file is enough. Changed all callers. |
1499 |
|
|
1500 |
|
2005-08-15 Timo Schulz <[email protected]> |
1501 |
|
|
1502 |
|
* wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys. |
1503 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title. |
1504 |
|
* Make sure the passphrase is always overwritten before it is |
1505 |
|
freed (or the function returns). |
1506 |
|
* wptKeyPropDlg.cpp (get_pref_cipher): New. |
1507 |
|
(keyprops_dlg_proc): Use it here. |
1508 |
|
|
1509 |
|
2005-08-06 Timo Schulz <[email protected]> |
1510 |
|
|
1511 |
|
* wptGPGME.cpp (keycache_update): Reload OpenPGP parts |
1512 |
|
of the secret key. |
1513 |
|
(keycache_init): cache name of secret keyring. |
1514 |
|
* wptKeyList.cpp (keylist_upd_key): Do not add long keyid. |
1515 |
|
(get_key_type): Do not assume 'ultimate' means key pair. |
1516 |
|
* wptKeyEditDlgs.cpp (diff_time): New. |
1517 |
|
(keyedit_addsubkey_dlg_proc): Changed design and use |
1518 |
|
diff_time. Drop checks for invalid keylength (< 1024, > 4096) |
1519 |
|
because the combo box automatically handles this. |
1520 |
|
* wptKeyManager.cpp (km_set_implicit_trust): Return error code. |
1521 |
|
* wptGPG.cpp (get_backup_name): New. |
1522 |
|
(gnupg_backup_keyrings): Rotate backup names, from 0..3. |
1523 |
|
* wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory. |
1524 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and |
1525 |
|
not the long keyid. |
1526 |
|
|
1527 |
|
2005-08-05 Timo Schulz <[email protected]> |
1528 |
|
|
1529 |
|
* wptListView.cpp (listview_set_item2): New. |
1530 |
|
* wptKeyManager.cpp (km_check_if_protected): Directly |
1531 |
|
retrieve gpgme_key_t from the list. |
1532 |
|
(km_check_key_status): Likewise. |
1533 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use |
1534 |
|
a human-readable name for secret key export. |
1535 |
|
Reload just the keys which were affected by updates |
1536 |
|
(edit-key). |
1537 |
|
(update_key): New. |
1538 |
|
* wptKeyList.cpp ((keylist_upd_key): Stripped down |
1539 |
|
version of keylist_add_key. |
1540 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not |
1541 |
|
reload the keycache here, just flag 'update'. Give the |
1542 |
|
control to the calling dialog. |
1543 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t |
1544 |
|
as parameter. Changed all callers. |
1545 |
|
Add date of expiration to the key info. |
1546 |
|
(get_expire_date): New. |
1547 |
|
Use a checkbox to allow to ask for the cert level. |
1548 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload |
1549 |
|
the cache. |
1550 |
|
|
1551 |
|
2005-08-04 Timo Schulz <[email protected]> |
1552 |
|
|
1553 |
|
* wptListView.cpp (listview_scroll): New. |
1554 |
|
(listview_get_item2): New. |
1555 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the |
1556 |
|
item was found, make it visible with scrolling. |
1557 |
|
* wptKeyManager.cpp (km_find_key): New. |
1558 |
|
(keylist_subclass_proc): Support to handle some acceleators. |
1559 |
|
Strg+{C, P, F, A}. |
1560 |
|
(km_get_key_status): Get the gpgme_key_t object directly |
1561 |
|
from the list. |
1562 |
|
* wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set |
1563 |
|
the config file (if it exists). |
1564 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code |
1565 |
|
to handle the click->activate situation. |
1566 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
1567 |
|
Support to check the passphrase quality. |
1568 |
|
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
1569 |
|
(request_passphrase): Rename 'init' to 'flags' to allow more |
1570 |
|
options. |
1571 |
|
* wptMAPI.cpp: Check all *alloc results. |
1572 |
|
* wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary |
1573 |
|
passphrase quality check. |
1574 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file |
1575 |
|
format and allow to save the checksum in a file. |
1576 |
|
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning |
1577 |
|
when the PGP mode is disabled. |
1578 |
|
wptKeyEditDlgs.cpp (do_editkey_primary): Return if just |
1579 |
|
one user-ID exists. |
1580 |
|
(keyedit_dlg_proc): Fixed index problem. |
1581 |
|
* wptKeyPropsDlg.cpp (get_validity): New. |
1582 |
|
(keyprops_dlg_proc): Actually show extended validity if possible. |
1583 |
|
* wptKeyList.cpp (get_key_fpr): Support for old v3 format. |
1584 |
|
(do_addkey): Use listview_add_item2 to store key as opaque |
1585 |
|
param inside the list. |
1586 |
|
* wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx. |
1587 |
|
(file_stat_dlg_proc): End dialog if no PGP data was found. |
1588 |
|
(do_list_packets): Return the number of valid PGP packets |
1589 |
|
of the file. |
1590 |
|
|
1591 |
|
2005-08-02 Timo Schulz <[email protected]> |
1592 |
|
|
1593 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of |
1594 |
|
using 'Default Keyserver' add the real keyserver name to |
1595 |
|
the menu. |
1596 |
|
The rebuild command does not reload the cache any longer. |
1597 |
|
Use ATTR_NAME + .asc as the filename and not keyid + .asc. |
1598 |
|
* wptProxySettingsDlg.cpp (enable_proxy_auth): New. |
1599 |
|
(keyserver_proxy_dlg_proc): Changed the design a little |
1600 |
|
and add some additional sanity checks. |
1601 |
|
* wptGPGParser.cpp (commit_gpg_options): Use W32 line endings. |
1602 |
|
This fixes the problem that the GPG option dialog does not show |
1603 |
|
very nice lines. |
1604 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config. |
1605 |
|
* wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected |
1606 |
|
check for 'NOKEY' before asking a keyserver. |
1607 |
|
* wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag. |
1608 |
|
If a lot of keys were selected, ask if the user wants to confirm |
1609 |
|
each delete procedure or allow to cancel the operation. |
1610 |
|
* wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much |
1611 |
|
keys the file contain. |
1612 |
|
* wptKeyList.cpp (get_key_algo): Beautified. |
1613 |
|
(get_key_status): Drop the "[XYZ] Unknown" format, it is too |
1614 |
|
confusing for users. |
1615 |
|
* wptKeyManager.cpp (km_check_key_status): Adjustments for the |
1616 |
|
new code. |
1617 |
|
(km_check_for_seckey): Reset utrust parameter. Return -1 for |
1618 |
|
invalid (exp+rev+dis) keys. |
1619 |
|
|
1620 |
|
2005-08-01 Timo Schulz <[email protected]> |
1621 |
|
|
1622 |
|
* wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given |
1623 |
|
sizes. |
1624 |
|
(check_IP_or_hostname): New. |
1625 |
|
(kserver_load_conf): Correct finger URL parsing problem. |
1626 |
|
(port_from_proto): New. |
1627 |
|
(keyserver_load_conf): Guess the port. |
1628 |
|
(keyserver_set_default): Allocate new buffer. |
1629 |
|
(kserver_load_conf): Likewise. |
1630 |
|
* wptHTTP.c (parse_reqline, parse_request): Removed. |
1631 |
|
Use WinPT error code and remove all unused code. |
1632 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs. |
1633 |
|
* wptProxySettingsDlg.cpp (read_proxy): Simple check for |
1634 |
|
invalid host/IP addresses. |
1635 |
|
* wptGPG.cpp (multi_gnupg_path): Return allocated buffer. |
1636 |
|
Changed all callers. |
1637 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start, |
1638 |
|
automatically set 'backup to homedir'. |
1639 |
|
* WinPT.cpp (WinMain): Use desktop window as the parent window |
1640 |
|
to load 'first-start' dialogs. |
1641 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh' |
1642 |
|
flag after deleting keys. |
1643 |
|
* wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure |
1644 |
|
for passing the arguments. |
1645 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for |
1646 |
|
the OptFile. This was responsible for a lot of 'General Errors' |
1647 |
|
after the first start related to key caching. |
1648 |
|
Automatically set the gpg binary if possible. |
1649 |
|
|
1650 |
|
2005-07-22 Timo Schulz <[email protected]> |
1651 |
|
|
1652 |
|
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
1653 |
|
messages and make sure WinPT make a keyring backup in this case. |
1654 |
|
* wptGPGME.cpp (keycache_reload): Do not rebuild the signature |
1655 |
|
cache each time. Just do it on startup. |
1656 |
|
* wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION. |
1657 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag |
1658 |
|
was set by the calling function. |
1659 |
|
* wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups. |
1660 |
|
(keygen_dlg_proc): Only add the generated key to the keycache |
1661 |
|
and do not reload the entire cache. |
1662 |
|
* wptKeyManager.cpp (km_delete_keys): Store the number of keys |
1663 |
|
because in each loop iteration it will be new calculated. |
1664 |
|
* wptListView.cpp (listview_del_items): Likewise. |
1665 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the |
1666 |
|
generated key to the list instead of reloading the entire cache. |
1667 |
|
* wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn. |
1668 |
|
|
1669 |
2005-05-09 Timo Schulz <[email protected]> |
2005-05-09 Timo Schulz <[email protected]> |
1670 |
|
|
1671 |
* wptCommonDlg.cpp (http_file_dlg_proc): Renamed to.. |
* wptCommonDlg.cpp (http_file_dlg_proc): Renamed to.. |
1708 |
(kserver_sendkey): Likewise. |
(kserver_sendkey): Likewise. |
1709 |
* wptProxySettingsDlg.cpp (check_number): New. |
* wptProxySettingsDlg.cpp (check_number): New. |
1710 |
(read_proxy): Check the entered port number. |
(read_proxy): Check the entered port number. |
1711 |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
1712 |
* wptW32API.cpp (get_folder_dlg): Free memory. |
* wptW32API.cpp (get_folder_dlg): Free memory. |
1713 |
|
|
1714 |
2005-04-11 Timo Schulz <[email protected]> |
2005-04-11 Timo Schulz <[email protected]> |
2053 |
|
|
2054 |
* WinPT.cpp (load_keyserver_conf): New. Factored out some code |
* WinPT.cpp (load_keyserver_conf): New. Factored out some code |
2055 |
from WinMain (). |
from WinMain (). |
2056 |
(WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner |
(WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner |
2057 |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver |
2058 |
in the list control, add at least the internal default HKP server. |
in the list control, add at least the internal default HKP server. |
2059 |
* wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support. |
* wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support. |