1 |
2005-10-24 Timo Schulz <[email protected]> |
2006-02-24 Timo Schulz <[email protected]> |
2 |
|
|
3 |
* wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use |
* wptGPG.cpp (set_gnupg_default_key): Allow to remove entry |
4 |
pre-defined recipients. |
when parameter is NULL. |
5 |
(release_gpg_passphrase_cb): Release recipients. |
* wptKeyManager.cpp (check_exist_default_key): New. |
6 |
* wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id |
(km_delete_keys): Check if the default key is still valid, |
7 |
validity if needed. |
if not delete entry. |
8 |
(keyprops_dlg_proc): Issue a warning if the photo is valid. |
* wptSigTreeDlg.cpp (sigtree_dlg_proc): Forgot to localize |
9 |
|
button. |
10 |
2005-10-23 Timo Schulz <[email protected]> |
|
11 |
|
2006-02-21 Timo Schulz <[email protected]> |
12 |
* wptFileManager.cpp (fm_get_file_type): Detect detached sigs. |
|
13 |
* wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys. |
* wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Minor |
14 |
(get_ext_validity): New. |
cleanups. |
15 |
* wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups. |
* wptGPGUtil.cpp (file_extract_recipients): New. |
16 |
* wptClipEditDlg.cpp (load_clipboard): Factored out some code into |
(clip_extract_recipients): New. |
17 |
this function. |
(gpg_get_recipients): New. |
18 |
(load_clipboard_from_file): Likewise. |
* wptPassphraseCB.cpp (passphrase_callback_proc): Support |
19 |
(save_clipboard_to_file): New. |
external recipient listings. |
20 |
* wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow. |
|
21 |
|
2006-02-15 Timo Schulz <[email protected]> |
22 |
2005-10-22 Timo Schulz <[email protected]> |
|
23 |
|
* wptKeysignDlg.cpp (keysign_dlg_proc): Localize new checkbox. |
24 |
Localized a lot of more strings. |
* wptFileStatDlg.cpp (get_s2k_algo): New. |
25 |
|
* wptFileManagerDlg.cpp (update_status_bar): Use human readable |
26 |
* wptMainProc.cpp (load_smartcard): New. |
formats. |
27 |
* wptFileManager.cpp (fm_parse_command_line): Simplify code. |
|
28 |
(fm_check_armor_type): Add new arg. Change all callers. |
2006-02-14 Timo Schulz <[email protected]> |
29 |
(fm_get_file_type): Likewise. |
|
30 |
* wptKeyPropsDlg.cpp (display_key_info): New. |
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'. |
31 |
(keyprops_show_photo): Factored out some code into.. |
* wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'. |
32 |
(keyprops_load_photo): ..this function. |
* wptFileManager.cpp (fm_sym_encrypt): Set cancel. |
33 |
|
(fm_parse_files): Handle cancel. |
34 |
2005-10-21 Timo Schulz <[email protected]> |
|
35 |
|
2006-02-10 Timo Schulz <[email protected]> |
36 |
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Use |
|
37 |
WM_INITPOPUPMENU to localize popup menu texts. |
* wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars. |
38 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
* wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t |
39 |
* wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset. |
for the dialog param. |
40 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list |
41 |
2005-10-20 Timo Schulz <[email protected]> |
signature dialog by default. |
42 |
|
* wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly |
43 |
Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0. |
gpgme_key_sig_t as param. |
44 |
|
(keysig_dlg_proc): Change param for property dialog. |
45 |
* wptPassphraseCB.cpp (passphrase_cb): Complete card support. |
* wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids |
46 |
* wptCardEdit.cpp (genKey): Handle cancel case. |
and use icons. |
47 |
* keycache.c: Renamed into... |
(sigtree_dlg_proc): Allow to execute old list dialog to |
48 |
* wptKeyCache.cpp: ...this. |
edit the signatures. |
49 |
* wptW32API.cpp (set_menu_text): Removed unused code. |
|
50 |
(set_menu_text_bypos): New. |
2006-02-09 Timo Schulz <[email protected]> |
51 |
* wptCrypto.h: New. |
|
52 |
* wptMainProc.cpp (winpt_main_proc): Complete localize |
* wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode. |
53 |
menu texts. |
* wptNLS.c (gettext_localize_dialog): New. |
54 |
* wptErrors.cpp (log_debug): Use a static var so the file |
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button |
55 |
is only opened once. |
to avoid to reload the key cache. |
56 |
(debug_end): Cleanup. Currently just close the log file. |
* wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal' |
57 |
* wptErrors.h (wipememory): New. |
list mode. |
58 |
(sfree_if_alloc): Use it here. |
* wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise. |
59 |
* WinPT.cpp (WinMain): Display the min. GPGME version which |
* wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog |
60 |
is needed in case of an error. |
initiation code to this function. |
61 |
|
(prefs_dlg_proc): Use it here. |
62 |
2005-10-17 Timo Schulz <[email protected]> |
|
63 |
|
2006-02-07 Timo Schulz <[email protected]> |
64 |
Free all memory returned by the GPGME dll with gpgme_free (). |
|
65 |
|
* wptKeyEdit.cpp (setNoPassphrase): New. |
66 |
s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT. |
(getValidDays): New. |
67 |
|
* wptKeysignDlg.cpp (keysign_dlg_proc): Check on init |
68 |
* wptKeyEdit.cpp (getCardStatus): Remove dummy key. |
if the key is protected. |
69 |
(list_handler): With user interaction to allow to insert |
* wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle |
70 |
the card into the reader. |
keys without a passphrase. |
71 |
* wptKeyEditCB.cpp (gpg_edit_card): Likewise. |
(keyedit_addrevoker_dlg_proc): Likewise. |
72 |
(common_card_handler): Fixed incorrect command string. |
|
73 |
* wptKeyPropsDlg.cpp (get_card_type): New. |
2006-02-04 Timo Schulz <[email protected]> |
74 |
(keyprops_dlg_proc): Show card information if present. |
|
75 |
* wptFileManager.cpp (secret_key_available): Make the code faster. |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for |
76 |
|
at least one ultimately trusted key. |
77 |
|
* wptKeyManager.cpp (km_refresh_key_from_keyserver): |
78 |
2005-10-16 Timo Schulz <[email protected]> |
Only check inet connection if we refresh all keys. |
79 |
|
* wptGPGUtil.cpp (gpg_extract_keys): New. |
80 |
* wptPassphraseCB.cpp (passphrase_cb): Fix problem |
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode. |
81 |
with hanging GPG process on cancel. |
* wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise. |
82 |
* keycache.c (gpg_keycache_release): Release all objects. |
* wptClipSignDlg.cpp (get_selected_key): New. |
83 |
|
(one_key_proc): Use it here. |
84 |
2005-10-15 Timo Schulz <[email protected]> |
(count_useable_seckeys): New. |
85 |
|
* wptSigTreeDlg.cpp (sigtree_dlg_proc): New. |
86 |
* wptCardEdit.cpp (setResult, getResult): New. |
* wptKeyEditDlgs.cpp (diff_time): Removed. |
87 |
(reset): New. |
(w32_mktime): New. |
88 |
(getCardStatus): Check return codes and release all objects |
(keyedit_addsubkey_dlg_proc): Use it here. |
89 |
in case of errors. |
|
90 |
* wptCardEditCB.cpp (change_pin_handler): Call reset() |
2006-02-02 Timo Schulz <[email protected]> |
91 |
before quit. |
|
92 |
(editcard_handler): Likewise. |
* wptW32API.cpp (get_temp_name): New. |
93 |
(common_card_handler): New. |
* wptKeyserver.cpp (ldap_recvkey): Use it here. |
94 |
* wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask |
* wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise. |
95 |
the old PIN when 'Hide Typing' is disabled. |
* wptGPGUtil.cpp (create_tempfile): Likewise. |
96 |
* wptPassphraseCB.cpp (passphrase_cb): The card detection |
* wptImportList.cpp (implist_load): Likewise. |
97 |
works again. Support to re-enter passphrase. |
* wptKeyCache.cpp (parse_attr_data): Likewise. |
98 |
|
(w32_tempfile): Removed. |
99 |
2005-10-14 Timo Schulz <[email protected]> |
* wptGPGME.cpp (check_ultimate_trusted_key): New. |
100 |
|
|
101 |
* wptCardDlg.cpp (card_status): New fields for the |
2006-01-31 Timo Schulz <[email protected]> |
102 |
fingerprint creation time. Display card info as title. |
|
103 |
(get_printable_version): New. |
* wptMainProc.cpp (winpt_main_proc): Fix usage of the |
104 |
* wptCardEditCB.cpp (editcard_handler): Fix problem |
help system. |
105 |
with the counter comparison. |
* wptListView.cpp (listview_set_chkbox_style): New. |
106 |
|
(listview_get_item_state): Support new checkbox style. |
107 |
2005-10-11 Timo Schulz <[email protected]> |
(listview_new): Reset flag var. |
108 |
|
* wptKeylist.cpp (keylist_build): Support new checkbox style. |
109 |
Port to GPGME basically finished. |
|
110 |
|
2006-01-30 Timo Schulz <[email protected]> |
111 |
2005-09-20 Timo Schulz <[email protected]> |
|
112 |
|
* WinPT.cpp (check_readonly_attr): New. |
113 |
* wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): |
(load_gpg_env): Use it here. |
114 |
Do not use gpgme_recipients_t but the listview directly |
(WinPT): Make the the default key is searched in the |
115 |
to add the selected files. |
secret key cache. |
116 |
|
Change error message. |
117 |
2005-09-07 Timo Schulz <[email protected]> |
* wptRegistry.cpp (regist_int_winpt): Make sure |
118 |
|
the register extension is only offered once to the user. |
119 |
* Make sure all GetOpenFileName filters are terminated by \0\0. |
* wptKeyPropsDlg.cpp (get_photo_tmpname): Always use |
120 |
|
temp directory. Fixed a privilege problem. |
121 |
2005-09-01 Timo Schulz <[email protected]> |
|
122 |
|
2006-01-29 Timo Schulz <[email protected]> |
123 |
* wptW32API.cpp (center_window): New argument for parent window. |
|
124 |
Change all callers. |
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC |
125 |
(center_window2): Likewise. |
to quit dialog. |
126 |
* GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'. |
* wptKeysignDlg.cpp (sig_class_dlg_proc): More space for |
127 |
* wptGPG.cpp (gnupg_backup_options): Remove param. One backup |
translations. Directly return sig class. |
128 |
file is enough. Changed all callers. |
(keysign_dlg_proc): Change msgbox title. |
129 |
|
* wptKeyEdit.cpp (signUserid): New. |
130 |
2005-08-15 Timo Schulz <[email protected]> |
(getUseridIndex): New. |
131 |
|
(getKeyIndex): New. |
132 |
* wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys. |
(getSigIndex): New. |
133 |
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title. |
(clear): New. |
134 |
* Make sure the passphrase is always overwritten before it is |
* wptKeyEditCB.cpp (cmd_sign_handler): Allow to select |
135 |
freed (or the function returns). |
user-id first. |
136 |
* wptKeyPropDlg.cpp (get_pref_cipher): New. |
* wptKeyEditDlgs.cpp (lookup_cmd): New. |
137 |
(keyprops_dlg_proc): Use it here. |
(do_editkey_sign_userid): New. |
138 |
|
(do_init_cmdlist): Differ between key pairs and public keys |
139 |
2005-08-06 Timo Schulz <[email protected]> |
and allowed actions. |
140 |
|
(keyedit_change_ownertrust): Show msgbox on success. |
141 |
* wptGPGME.cpp (keycache_update): Reload OpenPGP parts |
(get_default_key): New. |
142 |
of the secret key. |
* wptPassphraseDlg.cpp (request_passphrase): Reset @cancel. |
143 |
(keycache_init): cache name of secret keyring. |
|
144 |
* wptKeyList.cpp (keylist_upd_key): Do not add long keyid. |
2006-01-27 Timo Schulz <[email protected]> |
145 |
(get_key_type): Do not assume 'ultimate' means key pair. |
|
146 |
* wptKeyEditDlgs.cpp (diff_time): New. |
* WinPT.cpp (WinMain): Set minimal list mode as default. |
147 |
(keyedit_addsubkey_dlg_proc): Changed design and use |
* wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys. |
148 |
diff_time. Drop checks for invalid keylength (< 1024, > 4096) |
|
149 |
because the combo box automatically handles this. |
2006-01-25 Timo Schulz <[email protected]> |
150 |
* wptKeyManager.cpp (km_set_implicit_trust): Return error code. |
|
151 |
* wptGPG.cpp (get_backup_name): New. |
* wptRegistry.cpp (get_reg_entry_gpg): Return NULL if |
152 |
(gnupg_backup_keyrings): Rotate backup names, from 0..3. |
the key exist with no value. |
153 |
* wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory. |
* wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string. |
154 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and |
* wptKeysignDlg.cpp (do_fill_seclist): Select the |
155 |
not the long keyid. |
default key if possible. |
156 |
|
* wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly |
157 |
2005-08-05 Timo Schulz <[email protected]> |
return the choice. |
158 |
|
* wptKeylist.cpp (get_key_desc): New. |
159 |
* wptListView.cpp (listview_set_item2): New. |
(keylist_upd_key): Free memory. |
160 |
* wptKeyManager.cpp (km_check_if_protected): Directly |
* wptKeyCache.cpp (gpg_keycache_get_default_key): New. |
161 |
retrieve gpgme_key_t from the list. |
(gpg_keycache_set_default_key): New. |
162 |
(km_check_key_status): Likewise. |
* WinPT.cpp (gpg_prefs_ok): New. |
163 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use |
(WinMain): Only start gpg prefs if needed. |
164 |
a human-readable name for secret key export. |
|
165 |
Reload just the keys which were affected by updates |
2006-01-24 Timo Schulz <[email protected]> |
166 |
(edit-key). |
|
167 |
(update_key): New. |
* wptKeyManager.cpp (km_dropped_file_import): New. |
168 |
* wptKeyList.cpp ((keylist_upd_key): Stripped down |
* wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow |
169 |
version of keylist_add_key. |
to drop files and try to import them. |
170 |
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not |
(keymanager_dlg_proc): Pass kmi as opaque to the subclass |
171 |
reload the keycache here, just flag 'update'. Give the |
proc. |
172 |
control to the calling dialog. |
|
173 |
* wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t |
2006-01-23 Timo Schulz <[email protected]> |
174 |
as parameter. Changed all callers. |
|
175 |
Add date of expiration to the key info. |
* wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output |
176 |
(get_expire_date): New. |
to the clipboard. |
177 |
Use a checkbox to allow to ask for the cert level. |
* wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New. |
178 |
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload |
(do_editkey_enable_disable): New. |
179 |
the cache. |
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not |
180 |
|
close the dialog if the user cancelled the ownertrust dialog. |
181 |
2005-08-04 Timo Schulz <[email protected]> |
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate |
182 |
|
an update of any value. |
183 |
* wptListView.cpp (listview_scroll): New. |
|
184 |
(listview_get_item2): New. |
2006-01-21 Timo Schulz <[email protected]> |
185 |
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the |
|
186 |
item was found, make it visible with scrolling. |
* wptKeyCache.cpp (keycache_next_key): Handle the case |
187 |
* wptKeyManager.cpp (km_find_key): New. |
that there is a secret key without a public part. |
188 |
(keylist_subclass_proc): Support to handle some acceleators. |
* wptKeyserver.cpp (kserver_save_conf): Save ports. |
189 |
Strg+{C, P, F, A}. |
* wptKeyserverDlg.cpp (keyserver_modify_dlg_proc): |
190 |
(km_get_key_status): Get the gpgme_key_t object directly |
Reset keyserver name. |
191 |
from the list. |
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate |
192 |
* wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set |
an update, do not update the cache. |
193 |
the config file (if it exists). |
* wptFileManagerDlg.cpp (file_import_dlg_proc): Use one |
194 |
* wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code |
dialog for both clipboard and file imports. |
195 |
to handle the click->activate situation. |
* wptKeyManager.cpp (km_file_import, km_clip_import): |
196 |
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
Changes to support new update system. |
197 |
Support to check the passphrase quality. |
(gpg_clip_import): New. |
198 |
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
* wptKeyManagerDlg.cpp (km_gui_import): New. |
199 |
(request_passphrase): Rename 'init' to 'flags' to allow more |
(find_keypos): Rewritten. |
200 |
options. |
(refresh_keylist): Improved error checking. |
201 |
* wptMAPI.cpp: Check all *alloc results. |
|
202 |
* wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary |
2006-01-20 Timo Schulz <[email protected]> |
203 |
passphrase quality check. |
|
204 |
* wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file |
* wptKeyCache.cpp (w32_tmpfile): New. |
205 |
format and allow to save the checksum in a file. |
(parse_attr_data): Use it here. |
206 |
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning |
* wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var. |
207 |
when the PGP mode is disabled. |
|
208 |
wptKeyEditDlgs.cpp (do_editkey_primary): Return if just |
2006-01-19 Timo Schulz <[email protected]> |
209 |
one user-ID exists. |
|
210 |
(keyedit_dlg_proc): Fixed index problem. |
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not |
211 |
* wptKeyPropsDlg.cpp (get_validity): New. |
reload the entire cache, just update the key. |
212 |
(keyprops_dlg_proc): Actually show extended validity if possible. |
* wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise. |
213 |
* wptKeyList.cpp (get_key_fpr): Support for old v3 format. |
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag. |
214 |
(do_addkey): Use listview_add_item2 to store key as opaque |
* wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise. |
215 |
param inside the list. |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key |
216 |
* wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx. |
if need after showing the properties. |
217 |
(file_stat_dlg_proc): End dialog if no PGP data was found. |
* wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug. |
218 |
(do_list_packets): Return the number of valid PGP packets |
* wptKeyManager.cpp (km_import_file): New param. Changed |
219 |
of the file. |
all callers. |
220 |
|
(km_import_clip): Likewise. |
221 |
2005-08-02 Timo Schulz <[email protected]> |
(delete_keys_from_cache): Delete secret part if available. |
222 |
|
* wptClipImportDlg.cpp (print_import_status): If there |
223 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of |
are too many new keys, use reload code. |
224 |
using 'Default Keyserver' add the real keyserver name to |
|
225 |
the menu. |
2006-01-18 Timo Schulz <[email protected]> |
226 |
The rebuild command does not reload the cache any longer. |
|
227 |
Use ATTR_NAME + .asc as the filename and not keyid + .asc. |
* wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume |
228 |
* wptProxySettingsDlg.cpp (enable_proxy_auth): New. |
the self sig is always index 0. Noted by Kurt. |
229 |
(keyserver_proxy_dlg_proc): Changed the design a little |
* wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume |
230 |
and add some additional sanity checks. |
the key user-ID contains an email address. |
231 |
* wptGPGParser.cpp (commit_gpg_options): Use W32 line endings. |
* wptKeyEditDlgs.cpp (do_find_userid): Likewise. |
232 |
This fixes the problem that the GPG option dialog does not show |
(do_editkey_deluid): Likewise. |
233 |
very nice lines. |
(do_editkey_revuid): Likewise. |
234 |
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config. |
|
235 |
* wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected |
2006-01-18 Timo Schulz <[email protected]> |
236 |
check for 'NOKEY' before asking a keyserver. |
|
237 |
* wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag. |
* wptListview.cpp (listview_del_sel_items): Fixed index |
238 |
If a lot of keys were selected, ask if the user wants to confirm |
calculation. This fixed a lot of problems with the KM listview |
239 |
each delete procedure or allow to cancel the operation. |
update. |
240 |
* wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much |
(listview_del_all): Renamed to... |
241 |
keys the file contain. |
(listview_del_all_items): ..this. Changed all callers. |
242 |
* wptKeyList.cpp (get_key_algo): Beautified. |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh |
243 |
(get_key_status): Drop the "[XYZ] Unknown" format, it is too |
list when file import contained new/updated keys. |
244 |
confusing for users. |
* wptKeyManager.cpp (km_file_import): Indicate if the |
245 |
* wptKeyManager.cpp (km_check_key_status): Adjustments for the |
import contained any new/update keys. |
246 |
new code. |
* wptClipImportDlg.cpp (print_import_status): Just mark |
247 |
(km_check_for_seckey): Reset utrust parameter. Return -1 for |
keys which actually changed. |
248 |
invalid (exp+rev+dis) keys. |
|
249 |
|
2006-01-17 Timo Schulz <[email protected]> |
250 |
2005-08-01 Timo Schulz <[email protected]> |
|
251 |
|
* wptMAPI.cpp (mapi_send_pubkey_ext): New. |
252 |
* wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given |
* wptKeysigDlg.cpp (do_delsig): Just flag the key, do not |
253 |
sizes. |
update it. |
254 |
(check_IP_or_hostname): New. |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more |
255 |
(kserver_load_conf): Correct finger URL parsing problem. |
careful about const pointers. |
256 |
(port_from_proto): New. |
* wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to.. |
257 |
(keyserver_load_conf): Guess the port. |
(get_subkey_keyid): ..this. Fix problem that key was updated |
258 |
(keyserver_set_default): Allocate new buffer. |
twice and this corrupted. |
259 |
(kserver_load_conf): Likewise. |
(keyedit_add_subkey): Set @lv item in the callback context. |
260 |
* wptHTTP.c (parse_reqline, parse_request): Removed. |
|
261 |
Use WinPT error code and remove all unused code. |
2006-01-16 Timo Schulz <[email protected]> |
262 |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs. |
|
263 |
* wptProxySettingsDlg.cpp (read_proxy): Simple check for |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore |
264 |
invalid host/IP addresses. |
window if it lost focus during the operation. Thanks to Kurt. |
265 |
* wptGPG.cpp (multi_gnupg_path): Return allocated buffer. |
Update keylist when the window is enabled. |
266 |
Changed all callers. |
(find_keypos): New. |
267 |
* wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start, |
* wptKeyCache.cpp (keycache_next_key): Reset update status. |
268 |
automatically set 'backup to homedir'. |
(gpg_keycache_next_updated_key): New arg @r_status. Change all |
269 |
* WinPT.cpp (WinMain): Use desktop window as the parent window |
callers. |
270 |
to load 'first-start' dialogs. |
(gpg_keycache_update_key): Different status for new and updated. |
271 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh' |
Include key signatures. |
272 |
flag after deleting keys. |
* wptClipImportDlg.cpp (print_import_status): Mark all |
273 |
* wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure |
imported keys. |
274 |
for passing the arguments. |
* wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist. |
275 |
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for |
Thanks to Kurt. |
276 |
the OptFile. This was responsible for a lot of 'General Errors' |
* wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys. |
277 |
after the first start related to key caching. |
(do_delsig): Directly reload key. Thanks to Kurt. |
278 |
Automatically set the gpg binary if possible. |
* wptGPGME.cpp (keycache_set_reload, keycache_get_reload): |
279 |
|
Removed. |
280 |
2005-07-22 Timo Schulz <[email protected]> |
* wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system. |
281 |
|
* wptClipImportDlg.cpp (clip_import_dlg_proc): Return |
282 |
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
FALSE if no keys were updated or operation was cancelled. |
283 |
messages and make sure WinPT make a keyring backup in this case. |
* wptCommonDlg.cpp (http_dlg_proc): Fix title selection code. |
284 |
* wptGPGME.cpp (keycache_reload): Do not rebuild the signature |
* wptKeylist.cpp (get_ext_validity): Handle disabled keys. |
285 |
cache each time. Just do it on startup. |
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): |
286 |
* wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION. |
Do not allow to change ownertrust of invalid keys. |
287 |
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag |
Changed translation. |
288 |
was set by the calling function. |
Slightly different user interface. |
289 |
* wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups. |
|
290 |
(keygen_dlg_proc): Only add the generated key to the keycache |
2006-11-14 Timo Schulz <[email protected]> |
291 |
and do not reload the entire cache. |
|
292 |
* wptKeyManager.cpp (km_delete_keys): Store the number of keys |
* wptW32API.cpp (make_special_filename): New. |
293 |
because in each loop iteration it will be new calculated. |
* wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs): |
294 |
* wptListView.cpp (listview_del_items): Likewise. |
Removed 'KeyServer' item. |
295 |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the |
* wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver |
296 |
generated key to the list instead of reloading the entire cache. |
config item. |
297 |
* wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn. |
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group |
298 |
|
window until we really use it. |
299 |
|
* wptKeyserver.cpp (kserver_save_conf): New. |
300 |
|
(wsock_end): Save keyserver config file. |
301 |
|
* wptKeyserverDlg.cpp (keyserver_edit): New. |
302 |
|
(keyserver_remove): New. |
303 |
|
(keyserver_add): New. |
304 |
|
(fill_keyserv_types): New. |
305 |
|
(keyserver_modify_dlg_proc): New. |
306 |
|
(keyserver_dlg_proc): Provide context menu to modify the |
307 |
|
keyserver list. |
308 |
|
(keyserver_build_list): Remove 'proto' column because it is |
309 |
|
not really useful. |
310 |
|
* WinPT.cpp (load_keyserver_conf): Store keyserver.conf at |
311 |
|
$APPDATA\winpt. If keyserver.conf exists in the current folder |
312 |
|
move it to the new destination. |
313 |
|
|
314 |
|
2006-11-13 Timo Schulz <[email protected]> |
315 |
|
|
316 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation. |
317 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise. |
318 |
|
* wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about |
319 |
|
dialog isn't shown twice. |
320 |
|
* wptKeyCache.cpp (gpg_keycache_next_updated_key): New. |
321 |
|
(gpg_keycache_update_key): Set update flag. |
322 |
|
* wptKeyManagerDlg.cpp (refresh_keylist): New. |
323 |
|
(keymanager_dlg_proc): Use new refresh system for keyservers. |
324 |
|
* wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc): |
325 |
|
Update keycache. |
326 |
|
* wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise. |
327 |
|
* wptKeyserver.cpp (socket_read_ext): New. |
328 |
|
(kserver_recv_key_ext): New. |
329 |
|
(kserver_read_config, kserver_write_config): Removed. |
330 |
|
|
331 |
|
2006-01-12 Timo Schulz <[email protected]> |
332 |
|
|
333 |
|
* wptListView.cpp (listview_set_image_list): Make icons |
334 |
|
always transparent. |
335 |
|
* wptImageList.cpp (imagelist_load): New icons. |
336 |
|
* wptGPGMEData.cpp (gpg_data_putc): New. |
337 |
|
* wptKeyManagerDlg.cpp (load_toolbar): Include new icons. |
338 |
|
(keymanager_dlg_proc): Add tooltips. |
339 |
|
* wptKeyserverDlg.cpp (keyserver_list_build): Use icons. |
340 |
|
* wptKeyserver.cpp (URL_encode): New. |
341 |
|
(URL_must_encode): New. |
342 |
|
(kserver_search_init): Properly encode pattern. |
343 |
|
(parse_iso_date): New. |
344 |
|
(keyserver_search): Be more strict to prevent buffer overflows. |
345 |
|
|
346 |
|
2006-01-11 Timo Schulz <[email protected]> |
347 |
|
|
348 |
|
* wptKeyManagerDlg.cpp (load_toolbar): 2 new icons. |
349 |
|
(keymanager_dlg_proc): Adjust tooltips. |
350 |
|
(update_ui_items): Handle new icons. |
351 |
|
* wptImageList.cpp (imagelist_load): New icons. |
352 |
|
|
353 |
|
2006-01-10 Timo Schulz <[email protected]> |
354 |
|
|
355 |
|
* wptMainProc.cpp (winpt_main_proc): Restore iconic |
356 |
|
File/Key Manager windows if needed. |
357 |
|
* wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button. |
358 |
|
* wptSiglist.cpp (init_cmp): New. |
359 |
|
(siglist_sort): New. |
360 |
|
(siglist_cmp_cb): New. |
361 |
|
(siglist_add_key): Force NOKEY status when key was not found. |
362 |
|
* wptKeysigDlg.cpp (recv_single_key): New. |
363 |
|
(recv_missing_keys): Reload entire key when more than one key |
364 |
|
was fetched. |
365 |
|
(keysig_dlg_proc): Support sorting the listview items. |
366 |
|
|
367 |
|
2006-01-09 Timo Schulz <[email protected]> |
368 |
|
|
369 |
|
* WinPT.cpp (load_gettext): Remove file locking. |
370 |
|
(WinMain): Use pre-defined autoconf constants. |
371 |
|
* wptW32API.cpp (init_file_lock, release_file_lock): Deleted. |
372 |
|
* wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver. |
373 |
|
Change all callers. |
374 |
|
|
375 |
|
2006-01-07 Timo Schulz <[email protected]> |
376 |
|
|
377 |
|
* wptKeyManager.cpp (km_refresh_from_keyserver): Summarize |
378 |
|
import status if just one key was selected. |
379 |
|
|
380 |
|
2006-01-04 Timo Schulz <[email protected]> |
381 |
|
|
382 |
|
* wptGPGMEWrapper.c (setChangeVersion): New. |
383 |
|
(exportToBuffer, exportToFile, exportToClipboard): New. |
384 |
|
(setArmor, getArmor): New. |
385 |
|
* wptKeylist.cpp (get_key_expire_date): Return locale specific |
386 |
|
date. |
387 |
|
(keylist_get_recipients): Do not fetch the key again. |
388 |
|
(keylist_enum_recipients): Likewise. |
389 |
|
* wptGPG.cpp (create_empty_keyring): New. |
390 |
|
(get_gnupg_keyring): Fixed 'strict' logic. |
391 |
|
* wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons |
392 |
|
when no secret keys are available. |
393 |
|
* wptKeyManager.cpp (km_send_to_mail_recipient): Release key data |
394 |
|
before the MAPI call is made. |
395 |
|
* WinPT.cpp (check_for_empty_keyrings): New. |
396 |
|
|
397 |
|
2006-01-03 Timo Schulz <[email protected]> |
398 |
|
|
399 |
|
* pubkey.ico, keypair.ico: New. |
400 |
|
* wptListview.cpp (listview_add_item_image): New. |
401 |
|
(listview_set_image_list): New. |
402 |
|
* wptSigList.cpp (siglist_add_key): Correct order of the sigs. |
403 |
|
* wptKeyProps.cpp (keyprops_load_photo): Adjusted for new |
404 |
|
JPEG data. |
405 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to |
406 |
|
add items to revoked keys. |
407 |
|
* wptKeyManager.cpp (km_delete_keys): Do not use uninitialized |
408 |
|
keyid buffer. This fixes a segv. |
409 |
|
* wptKeyserver.cpp (spawn_application): New. |
410 |
|
(ldap_recv_key): Support recent protocols and several cleanups. |
411 |
|
* wptKeylist.cpp (do_addkey): Set image which depends on the |
412 |
|
key type. |
413 |
|
(keylist_enum_recipients): Cleanups. |
414 |
|
(keylist_get_keyflags): Rewritten. |
415 |
|
* wptKeyCache.cpp (free_attr_list): New. |
416 |
|
(parse_attr_list): New. |
417 |
|
(parse_attr_data): New. |
418 |
|
(keycache_update_photo): New. |
419 |
|
(keycache_update_photos): New. |
420 |
|
(gpg_keycache_update_key): Automatically reload photos if needed. |
421 |
|
* wptGPGUtil.cpp (create_process): New param @err. Change all |
422 |
|
callers. |
423 |
|
(map_tmpfile): New param @nread. Change all callers. |
424 |
|
(gpg_get_photoid_data): New. |
425 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to |
426 |
|
add items to revoked keys. |
427 |
|
(subkey_init_list): Store gpgme key object. |
428 |
|
|
429 |
|
2005-12-29 Timo Schulz <[email protected]> |
430 |
|
|
431 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically. |
432 |
|
(gpg_genkey_params): Simplified. |
433 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal |
434 |
|
exclusion of the dialog items. |
435 |
|
* wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to |
436 |
|
quit the dialog. |
437 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
438 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND. |
439 |
|
(id2algo): New. |
440 |
|
|
441 |
|
2005-12-28 Timo Schulz <[email protected]> |
442 |
|
|
443 |
|
* wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs. |
444 |
|
* wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise. |
445 |
|
* wptKeylist.cpp (keylist_udp_key): Likewise. |
446 |
|
* wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise. |
447 |
|
* wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem |
448 |
|
when no signing key was found. |
449 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode |
450 |
|
user IDs. |
451 |
|
(translate_popup_strings): s/Revoke/Revoke Cert. |
452 |
|
* wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a |
453 |
|
0x prefixed keyid. |
454 |
|
* wptKeyEditCB.cpp (editkey_command_handler): Also reset |
455 |
|
step in case of a bad passphrase. |
456 |
|
|
457 |
|
2005-12-27 Timo Schulz <[email protected]> |
458 |
|
|
459 |
|
* wptListView.cpp (listview_set_view): New. |
460 |
|
(listview_del_column): New. |
461 |
|
* wptW32API.cpp (get_locale_date): New. |
462 |
|
(get_menu_state): New. |
463 |
|
(force_foreground_window): New. |
464 |
|
* wptVerifyList.cpp (strtimestamp): Support for |
465 |
|
locale date formats. |
466 |
|
* wptGPGUtil.cpp (gpg_revoke_cert): Handle bad |
467 |
|
passphrases. |
468 |
|
* wptKeyEditCB.cpp (editkey_command_handler): Immediately |
469 |
|
return when a bad passphrase was submitted. |
470 |
|
* wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change |
471 |
|
column order. |
472 |
|
* wptKeylist.cpp (keylist_upd_col): New. |
473 |
|
* wptKeyManagerDlg.cpp (update_ui_items): Deactivate |
474 |
|
'Revocation' for public keys. |
475 |
|
(translate_menu_strings): s/Revoke/Revoke Cert. |
476 |
|
(modify_listview_columns): New. |
477 |
|
|
478 |
|
2005-12-18 Timo Schulz <[email protected]> |
479 |
|
|
480 |
|
* wptKeyManagerDlg.cpp (save_column_size): New. |
481 |
|
(restore_column_size): New. |
482 |
|
(keymanager_dlg_proc): Save and restore column sizes for |
483 |
|
the listview control. |
484 |
|
* wptKeyManager.cpp (key_get_info): New. |
485 |
|
(km_delete_keys): Use it here to have a consistent message. |
486 |
|
Use stored key context and not the column data. |
487 |
|
(km_enable_disable_key): Likewise. |
488 |
|
(km_send_to_keyserver): Likewise. |
489 |
|
(km_set_implicit_trust): Likewise. |
490 |
|
* wptKeylist.cpp (get_key_pubalgo2): New. |
491 |
|
|
492 |
|
2005-12-17 Timo Schulz <[email protected]> |
493 |
|
|
494 |
|
* wptUTF8.cpp: Removed unused charset array. |
495 |
|
* wptSigList.cpp (siglist_build): Increase size for 'class' |
496 |
|
column. |
497 |
|
* wptGPG.cpp (get_gnupg_path): Simplified. |
498 |
|
* WinPT.cpp (load_gpg_env): New. |
499 |
|
(check_crypto_engine): Return type is now bool. |
500 |
|
* wptRegistry.cpp (is_gpg4win_installed): New. |
501 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent |
502 |
|
dialog design. |
503 |
|
* wptKeyManagerDlg.cpp (translate_menu_strings): New. |
504 |
|
(translate_popupmenu_strings): New. |
505 |
|
* wptKeyEditDlgs.cpp (is_jpg_file): New. |
506 |
|
|
507 |
|
2005-12-13 Timo Schulz <[email protected]> |
508 |
|
|
509 |
|
* wptCommonDlg.cpp (http_dlg_proc): Localized missing elements. |
510 |
|
* wptKeyManagerDlg.cpp (change_edit_menu): New. |
511 |
|
(change_key_menu): Renamed from... |
512 |
|
(menu_gpg_readonly): ..this. |
513 |
|
(clip_contains_pgpkey): New. |
514 |
|
(update_ui_items): Do not allow to sign expired keys. |
515 |
|
(keymanager_dlg_proc): Same for popup menu. |
516 |
|
* wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling. |
517 |
|
* wptKeyCache.cpp (copy_uid_prefs): |
518 |
|
(gpg_keycache_sync): Copy uid prefs so the key property |
519 |
|
dialog show the correct values. Thanks to Shane. |
520 |
|
|
521 |
|
2005-12-11 Timo Schulz <[email protected]> |
522 |
|
|
523 |
|
* wptW32API.cpp (get_file_version): New. |
524 |
|
* wptGPGUtil.cpp (create_process): Always hide window. |
525 |
|
* wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close' |
526 |
|
instead of 'Exit'. |
527 |
|
* wptKeyManager.cpp (km_http_import): New filename |
528 |
|
generation code. |
529 |
|
(km_send_to_mail_recipient): Cleanups. |
530 |
|
* wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog. |
531 |
|
* wptKeyManagerDlg.cpp (update_ui_items): Handle the case |
532 |
|
when multiple keys are selected. |
533 |
|
(popup_multiple): New. |
534 |
|
* WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe |
535 |
|
file versions are equal. Rewrote --keymanager code. |
536 |
|
|
537 |
|
2005-12-08 Timo Schulz <[email protected]> |
538 |
|
|
539 |
|
* wptKeyserverDlg.cpp (show_imported_keys): Enhanced. |
540 |
|
(hkp_recv_key2): Show user-id of the imported key instead |
541 |
|
of just the pattern. |
542 |
|
* wptFileCBS.cpp (read_cb): Changed to W32 API. |
543 |
|
(write_cb): Likewise. Create output file on demand. |
544 |
|
(gpg_file_data_new): Adjusted code for new API. |
545 |
|
* wptKeyEdit.cpp (cleanKey): New. |
546 |
|
* wptKeyEditCB.cpp (cmd_clean_handler): New. |
547 |
|
(editkey_command_handler): Call clean handler. |
548 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort |
549 |
|
keylist after inserting items. |
550 |
|
* wptFileManager.cpp (fm_set_status): Take care of |
551 |
|
cleartext sigs. |
552 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make |
553 |
|
sure can be closed. |
554 |
|
|
555 |
|
2005-12-07 Timo Schulz <[email protected]> |
556 |
|
|
557 |
|
* wptOwnertrustDlg.cpp (ownertrust_dlg_proc): |
558 |
|
Use 'Close' instead of 'Exit'. |
559 |
|
* wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise. |
560 |
|
* wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA |
561 |
|
as the destination dir. Thanks to Werner. |
562 |
|
* wptRegistry.cpp (is_gpgee_installed): New. |
563 |
|
(regist_inst_winpt): Do not register file extensions |
564 |
|
if GPGee is available. |
565 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit |
566 |
|
use of local vars. |
567 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure |
568 |
|
no illegal backup mode is saved. |
569 |
|
* wptKeyserverDlg.cpp (show_imported_key): New. |
570 |
|
(hkp_recv_key2): Show imported keys if the blob |
571 |
|
contained more than one. |
572 |
|
|
573 |
|
2005-12-06 Timo Schulz <[email protected]> |
574 |
|
|
575 |
|
* WinPT.cpp (WinMain): Load the gettext environment soon |
576 |
|
as possible so all 'first start' messages are localized. |
577 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is |
578 |
|
received via the keyserver, return the gpgme key context on |
579 |
|
success and add it directly to the list. |
580 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param |
581 |
|
to store the key. |
582 |
|
(hkp_recv_key2): Add extra param for the fingerprint. |
583 |
|
(hkp_recv_key): Call hkp_recv_key2 without fingerprint. |
584 |
|
|
585 |
|
2005-12-02 Werner Koch <[email protected]> |
586 |
|
|
587 |
|
* wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs. |
588 |
|
|
589 |
|
2005-12-01 Timo Schulz <[email protected]> |
590 |
|
|
591 |
|
* wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic |
592 |
|
for get_gpg_sigstat(). |
593 |
|
* wptGPGME.cpp (get_gpg_sigstat): New. It is now a function. |
594 |
|
As a macro strings will not be translated at runtime. |
595 |
|
* wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we |
596 |
|
need to update the cache. Thanks to Jan-Oliver. |
597 |
|
* wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized. |
598 |
|
|
599 |
|
2005-11-30 Timo Schulz <[email protected]> |
600 |
|
|
601 |
|
* wptW32API.cpp (dialog_box_param): Removed LANG_DE code. |
602 |
|
* WinPT-en.rc: Removed string list. |
603 |
|
* wptFileSaveDlg.cpp (file_save_dlg_proc): Localized |
604 |
|
* wptKeylist.cpp (keylist_build): Cannot use global |
605 |
|
arrays for the columns due to gettext. |
606 |
|
|
607 |
|
2005-11-29 Timo Schulz <[email protected]> |
608 |
|
|
609 |
|
* WinPT.cpp (WinMain): Modify --keymanager. If an instance |
610 |
|
is running, just send the command to open the manager. |
611 |
|
|
612 |
|
2005-11-25 Timo Schulz <[email protected]> |
613 |
|
|
614 |
|
* wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging |
615 |
|
process when the revoker is already there. |
616 |
|
|
617 |
|
2005-11-24 Timo Schulz <[email protected]> |
618 |
|
|
619 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Localize |
620 |
|
signing dialog items. |
621 |
|
* wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items. |
622 |
|
* wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now. |
623 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items. |
624 |
|
* wptKeylist.cpp (key_check_validity): Likewise. |
625 |
|
* wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise. |
626 |
|
|
627 |
|
2005-11-22 Timo Schulz <[email protected]> |
628 |
|
|
629 |
|
* wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG |
630 |
|
macro debug output will be generated in release version. |
631 |
|
|
632 |
|
2005-11-21 Timo Schulz <[email protected]> |
633 |
|
|
634 |
|
* WinPT.cpp (WinMain): Implement --stop switch. |
635 |
|
* wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize |
636 |
|
missing string. |
637 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise. |
638 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context |
639 |
|
first. Thanks to Ralf. |
640 |
|
* wptFileManagerDlg.cpp (update_ui_items): New. |
641 |
|
* wptFileManager.cpp (fm_set_status): New sigmode param. |
642 |
|
Changed all callers. |
643 |
|
|
644 |
|
2005-11-17 Timo Schulz <[email protected]> |
645 |
|
|
646 |
|
* wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that |
647 |
|
the cache will be loaded twice. |
648 |
|
* wptRegistry.cpp (regist_inst_winpt): More comments. |
649 |
|
* wptKeyManagerDlg.cpp (do_center_window): Make sure that |
650 |
|
neg. coordinates are never used. |
651 |
|
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all |
652 |
|
strings. |
653 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
654 |
|
* wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu |
655 |
|
and save 'AlwaysOnTop' in the registry. |
656 |
|
|
657 |
|
2005-11-16 Timo Schulz <[email protected]> |
658 |
|
|
659 |
|
* WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2. |
660 |
|
* wptKeylist.cpp (keylist_add_key): Add disabled keys in list |
661 |
|
mode. |
662 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings. |
663 |
|
* wptRegistry.cpp (regist_inst_winpt): Set install directory. |
664 |
|
Useful for other programs to figure out the path to the EXE. |
665 |
|
|
666 |
|
2005-11-14 Timo Schulz <[email protected]> |
667 |
|
|
668 |
|
* wptGPG.cpp (check_gnupg_engine): Fix version check. |
669 |
|
* wptMainProc.cpp (winpt_main_proc): Check keyring |
670 |
|
file permissions always and do not use interative output |
671 |
|
when the windows session ends. |
672 |
|
* wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): |
673 |
|
Localize all strings. |
674 |
|
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
675 |
|
* wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise. |
676 |
|
* wptKeyEditDlgs.cpp (do_init_keylist): Skip all |
677 |
|
non-valid keys. |
678 |
|
|
679 |
|
2005-11-12 Timo Schulz <[email protected]> |
680 |
|
|
681 |
|
Fix more GCC warnings. |
682 |
|
|
683 |
|
2005-11-10 Timo Schulz <[email protected]> |
684 |
|
|
685 |
|
* wptClipSignDlg.cpp (one_key_proc): Use |
686 |
|
release_gpg_passphrase_cb() to free the context. |
687 |
|
* wptListView.cpp (listview_deselect_all): New. |
688 |
|
* wptMAPI.cpp (mapi_send_pubkey): Works again. |
689 |
|
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt & |
690 |
|
zip. |
691 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase |
692 |
|
caching for signing operations. |
693 |
|
* wptKeyManager.cpp (km_send_to_mail_recipient): Works again. |
694 |
|
* wptFileManager.cpp (fm_send_file): Likewise. |
695 |
|
(fm_encrypt_into_zip): New. |
696 |
|
|
697 |
|
2005-11-09 Timo Schulz <[email protected]> |
698 |
|
|
699 |
|
* wptNLS.c (get_gettext_langid): Map user language id to |
700 |
|
printable gettext language strings. |
701 |
|
* wptRegistry.cpp (get_reg_entry_mo): Support for the |
702 |
|
gettext environment. |
703 |
|
* wptFileManager.cpp (fm_encrypt): Close all files before |
704 |
|
the wipe procedure is called. |
705 |
|
* wptVerlist.cpp (verlist_add_sig): Handle the case the |
706 |
|
issuer is not valid but the signature is. |
707 |
|
(verlist_add_sig_log): Likewise. Thanks to the folks on |
708 |
|
winpt-users. |
709 |
|
|
710 |
|
2005-11-08 Werner Koch <[email protected]> |
711 |
|
|
712 |
|
* SAFE.ICO, SIGN.ICO: Fixed capitalization. |
713 |
|
* WinPT-en.rc: Ditto. |
714 |
|
* winpt_km.ico: Moved from ../. |
715 |
|
|
716 |
|
* Makefile.am (resource_files): Add missing backslash. |
717 |
|
|
718 |
|
2005-11-08 Timo Schulz <[email protected]> |
719 |
|
|
720 |
|
More minor changes to avoid GCC warnings. |
721 |
|
|
722 |
|
* wptGPG.cpp (check_homedir): Free memory in case of errors. |
723 |
|
(multi_gnupg_path): Add strict mode. If non-strict mode return |
724 |
|
the folder even if it does not exist. |
725 |
|
(check_for_gpgwin): New. |
726 |
|
* wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is |
727 |
|
initialized. |
728 |
|
* wptRegistry.cpp (get_reg_entry_gpg4win): New. |
729 |
|
(get_reg_entry_mo): Support for gpg4win. |
730 |
|
|
731 |
|
2005-11-07 Timo Schulz <[email protected]> |
732 |
|
|
733 |
|
* wptMainProc.cpp (winpt_main_proc): Disable |
734 |
|
some menu items when no secret key is available. |
735 |
|
|
736 |
|
2005-11-05 Timo Schulz <[email protected]> |
737 |
|
|
738 |
|
More minor changes to avoid GCC warnings. |
739 |
|
|
740 |
|
* wptErrors.cp (winpt_strerror): Return w32 |
741 |
|
formatted error and do not use 'break'. |
742 |
|
|
743 |
|
2005-11-04 Werner Koch <[email protected]> |
744 |
|
|
745 |
|
* WinPT-en.rc: Fixed locations of icons. |
746 |
|
|
747 |
|
2005-11-03 Timo Schulz <[email protected]> |
748 |
|
|
749 |
|
A lot of minor changes to avoid GCC warnings. |
750 |
|
|
751 |
|
* wptGPG.cpp (get_gnupg_keyring): Only check size for |
752 |
|
public keyring. |
753 |
|
* wptKeyManager.cpp (km_update_default_key_str): Do |
754 |
|
not issue a bug message when no secret key was found. |
755 |
|
* wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct. |
756 |
|
|
757 |
|
2005-11-02 Werner Koch <[email protected]> |
758 |
|
|
759 |
|
* WinPT.cpp (WinMain): Disabled PTD version tests. |
760 |
|
(check_crypto_engine): Fixed version check for scard. |
761 |
|
|
762 |
|
* wptErrors.cpp (debug_end): Add dummy function. |
763 |
|
|
764 |
|
* Makefile.am (code_files): Added wptCardEditCB.cpp and |
765 |
|
wptKeyEditCB.cpp. |
766 |
|
|
767 |
|
2005-10-31 Werner Koch <[email protected]> |
768 |
|
|
769 |
|
* wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD |
770 |
|
functions. |
771 |
|
|
772 |
|
* wptKeyEditDlgs.cpp: Include oleauto.h |
773 |
|
* wptKeyEdit.cpp: Include time.h. |
774 |
|
* wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h. |
775 |
|
* wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/. |
776 |
|
|
777 |
|
* Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp, |
778 |
|
wptKeyEdit.cpp and wptKeycache.cpp. |
779 |
|
|
780 |
|
* wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h |
781 |
|
* wptImportList.cpp (implist_load): Use remove and not unlink. |
782 |
|
* wptGPG.cpp: Fixed spelling of wptGpgCmds.h |
783 |
|
* wptImportList.cpp (implist_load): Use remove and not unlink. |
784 |
|
* wptKeyManager.cpp (km_http_import): Ditto |
785 |
|
* wptMainProc.cpp: Include wptCrypto.h |
786 |
|
* wptKeyManager.cpp: Ditto. |
787 |
|
* wptFileManager.cpp: Ditto. |
788 |
|
* wptImportList.cpp (parse_colon_key): Need to cast argument for |
789 |
|
isdigit. Include ctype.h. |
790 |
|
* wptGPG.cpp: Include shlobj.h. |
791 |
|
|
792 |
|
Fixed double inclusion of windows.h. |
793 |
|
|
794 |
|
* Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now. |
795 |
|
* wptKeylist.cpp (get_key_created): Broke up trigraph. |
796 |
|
(get_key_status): Removed dangerous use of sprintf. Still other |
797 |
|
flaws present, see comment. |
798 |
|
|
799 |
|
* wptCardPCSC.c: Don't include winscard.h. |
800 |
|
(pcsc_readerstate_t, pcsc_context_t): New. Changed call users to |
801 |
|
use these types. |
802 |
|
(PCSC_): Added a lot of constants, all taked from GnuPG 1.9. |
803 |
|
(SCARD_S_SUCCESS): Changed all compares to test the value directly |
804 |
|
against zero. |
805 |
|
|
806 |
|
* WinPT.cpp: Include wptCrypto.h. |
807 |
|
(WinMain): Don't shard S. Removed usunsed variable SIZE. |
808 |
|
* Makefile.am (code_files): Actually add files by adding a first |
809 |
|
backslash. |
810 |
|
* wptMDSumDlg.cpp: Include wptCrypto.h. |
811 |
|
* wptProxySettingsDlg.cpp: Included ctype.h. |
812 |
|
* wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h. |
813 |
|
* wptKeysignDlg.cpp: Ditto |
814 |
|
* wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h. |
815 |
|
* wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove. |
816 |
|
Removed unused variable. |
817 |
|
* wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to |
818 |
|
silly c++ operator synonyms. |
819 |
|
* wptKeyEditDlgs.cpp: Include time.h. |
820 |
|
* wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE. |
821 |
|
* wptFileManagerDlg.cpp: Ditto. |
822 |
|
(space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't |
823 |
|
matter if it does an rmdir for a directory. |
824 |
|
|
825 |
|
Fixed include of resource.h which is not anymore in the top |
826 |
|
directory. |
827 |
|
|
828 |
|
2005-10-28 Werner Koch <[email protected]> |
829 |
|
|
830 |
|
* wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to |
831 |
|
unsigned. Never ever use a possible signed char as argument for |
832 |
|
ctype tests. An alternative is to first test using isascii (). |
833 |
|
(keyserver_proxy_dlg_proc): Removed unused variable. |
834 |
|
|
835 |
|
2005-10-27 Timo Schulz <[email protected]> |
836 |
|
|
837 |
|
* wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys. |
838 |
|
* wptKeylist.cpp (keylist_add_key): Check global key flag to |
839 |
|
see if the key is disabled and not each subkey. |
840 |
|
(seclist_init): Likewise. |
841 |
|
* wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use |
842 |
|
gpgme_op_decrypt_verify. |
843 |
|
(clip_decrypt_dlg_proc): Fixed fingerprint |
844 |
|
to keyid conversation. This also fixes a crash. |
845 |
|
* wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise. |
846 |
|
* wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key |
847 |
|
already expired if the user wants to change the date. |
848 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old |
849 |
|
'v3 sig' option with the 'ask cert level' option. Sync |
850 |
|
with global preferences. |
851 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the |
852 |
|
gpg.conf contains 'ask-cert-level'. If not disable button. |
853 |
|
* wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable |
854 |
|
the button when the key is available. |
855 |
|
Reload key directly, not the entire cache. |
856 |
|
|
857 |
|
2005-10-26 Timo Schulz <[email protected]> |
858 |
|
|
859 |
|
* wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but |
860 |
|
possible overflow. |
861 |
|
(is_openpgp_ext): Compare case insentensive. |
862 |
|
(add_single_file): New. |
863 |
|
(fm_add_opened_files): Support multi file selection. |
864 |
|
* wptKeyPropsDlg.cpp (do_change_ownertrust): Removed. |
865 |
|
* wptKeyManager.cpp (km_enable_disable_key): Do not set cache |
866 |
|
reload flag. Just update the single key. |
867 |
|
* wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var |
868 |
|
and disable anonymize recipient for now. |
869 |
|
|
870 |
|
Begin to port code to GCC. Fix all warning issued by the gcc |
871 |
|
compiler. |
872 |
|
|
873 |
|
2005-10-25 Timo Schulz <[email protected]> |
874 |
|
|
875 |
|
* wptGPGUtil.cpp (create_process): Hide window. |
876 |
|
* wptKeyPropsDlg.cpp (get_photo_tmpname): New. |
877 |
|
* wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove |
878 |
|
static var 'enable'. |
879 |
|
* wptKeygenDlg.cpp (keygen_dlg_proc): Likewise. |
880 |
|
(gpg_genkey_params): Make sure all primary keys are capable |
881 |
|
for signing and certification. |
882 |
|
* wptKeySigDlg.cpp (is_sig): If no item is selected, return 0. |
883 |
|
* wptGPG.cpp (gnupg_access_keyring): Check return value for |
884 |
|
NULL. Noted by Ralf. |
885 |
|
(get_gnupg_prog): Simplified. |
886 |
|
(check_homedir): Fixed. Return 0 when the dir is successfully created. |
887 |
|
* wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to |
888 |
|
indicate a pending GPG process. |
889 |
|
* wptFileManager.cpp (op_begin, op_end): New. Indicate an start |
890 |
|
and and of an operation. For now just the cursor changes. |
891 |
|
(fm_parse_command_line): Remove debug output. Thanks to Ralf again. |
892 |
|
* WinPT.cpp (WinMain): Check if there is already an instance and |
893 |
|
set a variable early as possible. |
894 |
|
(load_gettext): If a previous instance was found, do not output |
895 |
|
any errors. Kudos to Ralf. |
896 |
|
|
897 |
|
2005-10-24 Timo Schulz <[email protected]> |
898 |
|
|
899 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use |
900 |
|
pre-defined recipients. |
901 |
|
(release_gpg_passphrase_cb): Release recipients. |
902 |
|
* wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id |
903 |
|
validity if needed. |
904 |
|
(keyprops_dlg_proc): Issue a warning if the photo is valid. |
905 |
|
|
906 |
|
2005-10-23 Timo Schulz <[email protected]> |
907 |
|
|
908 |
|
* wptFileManager.cpp (fm_get_file_type): Detect detached sigs. |
909 |
|
* wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys. |
910 |
|
(get_ext_validity): New. |
911 |
|
* wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups. |
912 |
|
* wptClipEditDlg.cpp (load_clipboard): Factored out some code into |
913 |
|
this function. |
914 |
|
(load_clipboard_from_file): Likewise. |
915 |
|
(save_clipboard_to_file): New. |
916 |
|
* wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow. |
917 |
|
|
918 |
|
2005-10-22 Timo Schulz <[email protected]> |
919 |
|
|
920 |
|
Localized a lot of more strings. |
921 |
|
|
922 |
|
* wptMainProc.cpp (load_smartcard): New. |
923 |
|
* wptFileManager.cpp (fm_parse_command_line): Simplify code. |
924 |
|
(fm_check_armor_type): Add new arg. Change all callers. |
925 |
|
(fm_get_file_type): Likewise. |
926 |
|
* wptKeyPropsDlg.cpp (display_key_info): New. |
927 |
|
(keyprops_show_photo): Factored out some code into.. |
928 |
|
(keyprops_load_photo): ..this function. |
929 |
|
|
930 |
|
2005-10-21 Timo Schulz <[email protected]> |
931 |
|
|
932 |
|
* wptFileManagerDlg.cpp (file_manager_dlg_proc): Use |
933 |
|
WM_INITPOPUPMENU to localize popup menu texts. |
934 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise. |
935 |
|
* wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset. |
936 |
|
|
937 |
|
2005-10-20 Timo Schulz <[email protected]> |
938 |
|
|
939 |
|
Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0. |
940 |
|
|
941 |
|
* wptPassphraseCB.cpp (passphrase_cb): Complete card support. |
942 |
|
* wptCardEdit.cpp (genKey): Handle cancel case. |
943 |
|
* keycache.c: Renamed into... |
944 |
|
* wptKeyCache.cpp: ...this. |
945 |
|
* wptW32API.cpp (set_menu_text): Removed unused code. |
946 |
|
(set_menu_text_bypos): New. |
947 |
|
* wptCrypto.h: New. |
948 |
|
* wptMainProc.cpp (winpt_main_proc): Complete localize |
949 |
|
menu texts. |
950 |
|
* wptErrors.cpp (log_debug): Use a static var so the file |
951 |
|
is only opened once. |
952 |
|
(debug_end): Cleanup. Currently just close the log file. |
953 |
|
* wptErrors.h (wipememory): New. |
954 |
|
(sfree_if_alloc): Use it here. |
955 |
|
* WinPT.cpp (WinMain): Display the min. GPGME version which |
956 |
|
is needed in case of an error. |
957 |
|
|
958 |
|
2005-10-17 Timo Schulz <[email protected]> |
959 |
|
|
960 |
|
Free all memory returned by the GPGME dll with gpgme_free (). |
961 |
|
|
962 |
|
s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT. |
963 |
|
|
964 |
|
* wptKeyEdit.cpp (getCardStatus): Remove dummy key. |
965 |
|
(list_handler): With user interaction to allow to insert |
966 |
|
the card into the reader. |
967 |
|
* wptKeyEditCB.cpp (gpg_edit_card): Likewise. |
968 |
|
(common_card_handler): Fixed incorrect command string. |
969 |
|
* wptKeyPropsDlg.cpp (get_card_type): New. |
970 |
|
(keyprops_dlg_proc): Show card information if present. |
971 |
|
* wptFileManager.cpp (secret_key_available): Make the code faster. |
972 |
|
|
973 |
|
|
974 |
|
2005-10-16 Timo Schulz <[email protected]> |
975 |
|
|
976 |
|
* wptPassphraseCB.cpp (passphrase_cb): Fix problem |
977 |
|
with hanging GPG process on cancel. |
978 |
|
* keycache.c (gpg_keycache_release): Release all objects. |
979 |
|
|
980 |
|
2005-10-15 Timo Schulz <[email protected]> |
981 |
|
|
982 |
|
* wptCardEdit.cpp (setResult, getResult): New. |
983 |
|
(reset): New. |
984 |
|
(getCardStatus): Check return codes and release all objects |
985 |
|
in case of errors. |
986 |
|
* wptCardEditCB.cpp (change_pin_handler): Call reset() |
987 |
|
before quit. |
988 |
|
(editcard_handler): Likewise. |
989 |
|
(common_card_handler): New. |
990 |
|
* wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask |
991 |
|
the old PIN when 'Hide Typing' is disabled. |
992 |
|
* wptPassphraseCB.cpp (passphrase_cb): The card detection |
993 |
|
works again. Support to re-enter passphrase. |
994 |
|
|
995 |
|
2005-10-14 Timo Schulz <[email protected]> |
996 |
|
|
997 |
|
* wptCardDlg.cpp (card_status): New fields for the |
998 |
|
fingerprint creation time. Display card info as title. |
999 |
|
(get_printable_version): New. |
1000 |
|
* wptCardEditCB.cpp (editcard_handler): Fix problem |
1001 |
|
with the counter comparison. |
1002 |
|
|
1003 |
|
2005-10-11 Timo Schulz <[email protected]> |
1004 |
|
|
1005 |
|
Port to GPGME basically finished. |
1006 |
|
|
1007 |
|
2005-09-20 Timo Schulz <[email protected]> |
1008 |
|
|
1009 |
|
* wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc): |
1010 |
|
Do not use gpgme_recipients_t but the listview directly |
1011 |
|
to add the selected files. |
1012 |
|
|
1013 |
|
2005-09-07 Timo Schulz <[email protected]> |
1014 |
|
|
1015 |
|
* Make sure all GetOpenFileName filters are terminated by \0\0. |
1016 |
|
|
1017 |
|
2005-09-01 Timo Schulz <[email protected]> |
1018 |
|
|
1019 |
|
* wptW32API.cpp (center_window): New argument for parent window. |
1020 |
|
Change all callers. |
1021 |
|
(center_window2): Likewise. |
1022 |
|
* GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'. |
1023 |
|
* wptGPG.cpp (gnupg_backup_options): Remove param. One backup |
1024 |
|
file is enough. Changed all callers. |
1025 |
|
|
1026 |
|
2005-08-15 Timo Schulz <[email protected]> |
1027 |
|
|
1028 |
|
* wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys. |
1029 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title. |
1030 |
|
* Make sure the passphrase is always overwritten before it is |
1031 |
|
freed (or the function returns). |
1032 |
|
* wptKeyPropDlg.cpp (get_pref_cipher): New. |
1033 |
|
(keyprops_dlg_proc): Use it here. |
1034 |
|
|
1035 |
|
2005-08-06 Timo Schulz <[email protected]> |
1036 |
|
|
1037 |
|
* wptGPGME.cpp (keycache_update): Reload OpenPGP parts |
1038 |
|
of the secret key. |
1039 |
|
(keycache_init): cache name of secret keyring. |
1040 |
|
* wptKeyList.cpp (keylist_upd_key): Do not add long keyid. |
1041 |
|
(get_key_type): Do not assume 'ultimate' means key pair. |
1042 |
|
* wptKeyEditDlgs.cpp (diff_time): New. |
1043 |
|
(keyedit_addsubkey_dlg_proc): Changed design and use |
1044 |
|
diff_time. Drop checks for invalid keylength (< 1024, > 4096) |
1045 |
|
because the combo box automatically handles this. |
1046 |
|
* wptKeyManager.cpp (km_set_implicit_trust): Return error code. |
1047 |
|
* wptGPG.cpp (get_backup_name): New. |
1048 |
|
(gnupg_backup_keyrings): Rotate backup names, from 0..3. |
1049 |
|
* wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory. |
1050 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and |
1051 |
|
not the long keyid. |
1052 |
|
|
1053 |
|
2005-08-05 Timo Schulz <[email protected]> |
1054 |
|
|
1055 |
|
* wptListView.cpp (listview_set_item2): New. |
1056 |
|
* wptKeyManager.cpp (km_check_if_protected): Directly |
1057 |
|
retrieve gpgme_key_t from the list. |
1058 |
|
(km_check_key_status): Likewise. |
1059 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use |
1060 |
|
a human-readable name for secret key export. |
1061 |
|
Reload just the keys which were affected by updates |
1062 |
|
(edit-key). |
1063 |
|
(update_key): New. |
1064 |
|
* wptKeyList.cpp ((keylist_upd_key): Stripped down |
1065 |
|
version of keylist_add_key. |
1066 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not |
1067 |
|
reload the keycache here, just flag 'update'. Give the |
1068 |
|
control to the calling dialog. |
1069 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t |
1070 |
|
as parameter. Changed all callers. |
1071 |
|
Add date of expiration to the key info. |
1072 |
|
(get_expire_date): New. |
1073 |
|
Use a checkbox to allow to ask for the cert level. |
1074 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload |
1075 |
|
the cache. |
1076 |
|
|
1077 |
|
2005-08-04 Timo Schulz <[email protected]> |
1078 |
|
|
1079 |
|
* wptListView.cpp (listview_scroll): New. |
1080 |
|
(listview_get_item2): New. |
1081 |
|
* wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the |
1082 |
|
item was found, make it visible with scrolling. |
1083 |
|
* wptKeyManager.cpp (km_find_key): New. |
1084 |
|
(keylist_subclass_proc): Support to handle some acceleators. |
1085 |
|
Strg+{C, P, F, A}. |
1086 |
|
(km_get_key_status): Get the gpgme_key_t object directly |
1087 |
|
from the list. |
1088 |
|
* wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set |
1089 |
|
the config file (if it exists). |
1090 |
|
* wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code |
1091 |
|
to handle the click->activate situation. |
1092 |
|
* wptPassphraseCB.cpp (passphrase_callback_proc): Likewise. |
1093 |
|
Support to check the passphrase quality. |
1094 |
|
* wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise. |
1095 |
|
(request_passphrase): Rename 'init' to 'flags' to allow more |
1096 |
|
options. |
1097 |
|
* wptMAPI.cpp: Check all *alloc results. |
1098 |
|
* wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary |
1099 |
|
passphrase quality check. |
1100 |
|
* wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file |
1101 |
|
format and allow to save the checksum in a file. |
1102 |
|
* wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning |
1103 |
|
when the PGP mode is disabled. |
1104 |
|
wptKeyEditDlgs.cpp (do_editkey_primary): Return if just |
1105 |
|
one user-ID exists. |
1106 |
|
(keyedit_dlg_proc): Fixed index problem. |
1107 |
|
* wptKeyPropsDlg.cpp (get_validity): New. |
1108 |
|
(keyprops_dlg_proc): Actually show extended validity if possible. |
1109 |
|
* wptKeyList.cpp (get_key_fpr): Support for old v3 format. |
1110 |
|
(do_addkey): Use listview_add_item2 to store key as opaque |
1111 |
|
param inside the list. |
1112 |
|
* wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx. |
1113 |
|
(file_stat_dlg_proc): End dialog if no PGP data was found. |
1114 |
|
(do_list_packets): Return the number of valid PGP packets |
1115 |
|
of the file. |
1116 |
|
|
1117 |
|
2005-08-02 Timo Schulz <[email protected]> |
1118 |
|
|
1119 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of |
1120 |
|
using 'Default Keyserver' add the real keyserver name to |
1121 |
|
the menu. |
1122 |
|
The rebuild command does not reload the cache any longer. |
1123 |
|
Use ATTR_NAME + .asc as the filename and not keyid + .asc. |
1124 |
|
* wptProxySettingsDlg.cpp (enable_proxy_auth): New. |
1125 |
|
(keyserver_proxy_dlg_proc): Changed the design a little |
1126 |
|
and add some additional sanity checks. |
1127 |
|
* wptGPGParser.cpp (commit_gpg_options): Use W32 line endings. |
1128 |
|
This fixes the problem that the GPG option dialog does not show |
1129 |
|
very nice lines. |
1130 |
|
* wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config. |
1131 |
|
* wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected |
1132 |
|
check for 'NOKEY' before asking a keyserver. |
1133 |
|
* wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag. |
1134 |
|
If a lot of keys were selected, ask if the user wants to confirm |
1135 |
|
each delete procedure or allow to cancel the operation. |
1136 |
|
* wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much |
1137 |
|
keys the file contain. |
1138 |
|
* wptKeyList.cpp (get_key_algo): Beautified. |
1139 |
|
(get_key_status): Drop the "[XYZ] Unknown" format, it is too |
1140 |
|
confusing for users. |
1141 |
|
* wptKeyManager.cpp (km_check_key_status): Adjustments for the |
1142 |
|
new code. |
1143 |
|
(km_check_for_seckey): Reset utrust parameter. Return -1 for |
1144 |
|
invalid (exp+rev+dis) keys. |
1145 |
|
|
1146 |
|
2005-08-01 Timo Schulz <[email protected]> |
1147 |
|
|
1148 |
|
* wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given |
1149 |
|
sizes. |
1150 |
|
(check_IP_or_hostname): New. |
1151 |
|
(kserver_load_conf): Correct finger URL parsing problem. |
1152 |
|
(port_from_proto): New. |
1153 |
|
(keyserver_load_conf): Guess the port. |
1154 |
|
(keyserver_set_default): Allocate new buffer. |
1155 |
|
(kserver_load_conf): Likewise. |
1156 |
|
* wptHTTP.c (parse_reqline, parse_request): Removed. |
1157 |
|
Use WinPT error code and remove all unused code. |
1158 |
|
* wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs. |
1159 |
|
* wptProxySettingsDlg.cpp (read_proxy): Simple check for |
1160 |
|
invalid host/IP addresses. |
1161 |
|
* wptGPG.cpp (multi_gnupg_path): Return allocated buffer. |
1162 |
|
Changed all callers. |
1163 |
|
* wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start, |
1164 |
|
automatically set 'backup to homedir'. |
1165 |
|
* WinPT.cpp (WinMain): Use desktop window as the parent window |
1166 |
|
to load 'first-start' dialogs. |
1167 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh' |
1168 |
|
flag after deleting keys. |
1169 |
|
* wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure |
1170 |
|
for passing the arguments. |
1171 |
|
* wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for |
1172 |
|
the OptFile. This was responsible for a lot of 'General Errors' |
1173 |
|
after the first start related to key caching. |
1174 |
|
Automatically set the gpg binary if possible. |
1175 |
|
|
1176 |
|
2005-07-22 Timo Schulz <[email protected]> |
1177 |
|
|
1178 |
|
* wptMainProc.cpp (winpt_main_proc): Take care for shutdown |
1179 |
|
messages and make sure WinPT make a keyring backup in this case. |
1180 |
|
* wptGPGME.cpp (keycache_reload): Do not rebuild the signature |
1181 |
|
cache each time. Just do it on startup. |
1182 |
|
* wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION. |
1183 |
|
* wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag |
1184 |
|
was set by the calling function. |
1185 |
|
* wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups. |
1186 |
|
(keygen_dlg_proc): Only add the generated key to the keycache |
1187 |
|
and do not reload the entire cache. |
1188 |
|
* wptKeyManager.cpp (km_delete_keys): Store the number of keys |
1189 |
|
because in each loop iteration it will be new calculated. |
1190 |
|
* wptListView.cpp (listview_del_items): Likewise. |
1191 |
|
* wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the |
1192 |
|
generated key to the list instead of reloading the entire cache. |
1193 |
|
* wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn. |
1194 |
|
|
1195 |
2005-05-09 Timo Schulz <[email protected]> |
2005-05-09 Timo Schulz <[email protected]> |
1196 |
|
|
1197 |
* wptCommonDlg.cpp (http_file_dlg_proc): Renamed to.. |
* wptCommonDlg.cpp (http_file_dlg_proc): Renamed to.. |
1234 |
(kserver_sendkey): Likewise. |
(kserver_sendkey): Likewise. |
1235 |
* wptProxySettingsDlg.cpp (check_number): New. |
* wptProxySettingsDlg.cpp (check_number): New. |
1236 |
(read_proxy): Check the entered port number. |
(read_proxy): Check the entered port number. |
1237 |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
* wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button. |
1238 |
* wptW32API.cpp (get_folder_dlg): Free memory. |
* wptW32API.cpp (get_folder_dlg): Free memory. |
1239 |
|
|
1240 |
2005-04-11 Timo Schulz <[email protected]> |
2005-04-11 Timo Schulz <[email protected]> |
1579 |
|
|
1580 |
* WinPT.cpp (load_keyserver_conf): New. Factored out some code |
* WinPT.cpp (load_keyserver_conf): New. Factored out some code |
1581 |
from WinMain (). |
from WinMain (). |
1582 |
(WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner |
(WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner |
1583 |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver |
* wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver |
1584 |
in the list control, add at least the internal default HKP server. |
in the list control, add at least the internal default HKP server. |
1585 |
* wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support. |
* wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support. |