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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.34  
changed lines
  Added in v.213

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26