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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.25  
changed lines
  Added in v.179

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26