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