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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.28  
changed lines
  Added in v.212

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26