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

Diff of /trunk/Src/ChangeLog

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

revision 23 by twoaday, Fri Sep 30 10:10:16 2005 UTC revision 144 by twoaday, Thu Jan 12 16:28:06 2006 UTC
# Line 1  Line 1 
1  2005-09-20  Timo Schulz  <[email protected]>  2006-01-12  Timo Schulz  <[email protected]>
2    
3          * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):          * wptListView.cpp (listview_set_image_list): Make icons
4          Do not use gpgme_recipients_t but the listview directly          always transparent.
5          to add the selected files.          * wptImageList.cpp (imagelist_load): New icons.
6            * wptGPGMEData.cpp (gpg_data_putc): New.
7  2005-09-07  Timo Schulz  <[email protected]>          * wptKeyManagerDlg.cpp (load_toolbar): Include new icons.
8            (keymanager_dlg_proc): Add tooltips.
9          * Make sure all GetOpenFileName filters are terminated by \0\0.          * wptKeyserverDlg.cpp (keyserver_list_build): Use icons.
10            * wptKeyserver.cpp (URL_encode): New.
11  2005-09-01  Timo Schulz  <[email protected]>          (URL_must_encode): New.
12            (kserver_search_init): Properly encode pattern.
13          * wptW32API.cpp (center_window): New argument for parent window.          (parse_iso_date): New.
14          Change all callers.          (keyserver_search): Be more strict to prevent buffer overflows.
15          (center_window2): Likewise.          
16          * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.  2006-01-11  Timo Schulz  <[email protected]>
17          * wptGPG.cpp (gnupg_backup_options): Remove param. One backup  
18          file is enough. Changed all callers.          * wptKeyManagerDlg.cpp (load_toolbar): 2 new icons.
19            (keymanager_dlg_proc): Adjust tooltips.
20  2005-08-15  Timo Schulz  <[email protected]>          (update_ui_items): Handle new icons.
21            * wptImageList.cpp (imagelist_load): New icons.
22          * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.          
23          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.  2006-01-10  Timo Schulz  <[email protected]>
24          * Make sure the passphrase is always overwritten before it is  
25          freed (or the function returns).          * wptMainProc.cpp (winpt_main_proc): Restore iconic
26          * wptKeyPropDlg.cpp (get_pref_cipher): New.          File/Key Manager windows if needed.
27          (keyprops_dlg_proc): Use it here.          * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button.
28            * wptSiglist.cpp (init_cmp): New.
29  2005-08-06  Timo Schulz  <[email protected]>          (siglist_sort): New.
30            (siglist_cmp_cb): New.
31          * wptGPGME.cpp (keycache_update): Reload OpenPGP parts          (siglist_add_key): Force NOKEY status when key was not found.
32          of the secret key.          * wptKeysigDlg.cpp (recv_single_key): New.
33          (keycache_init): cache name of secret keyring.          (recv_missing_keys): Reload entire key when more than one key
34          * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.          was fetched.
35          (get_key_type): Do not assume 'ultimate' means key pair.          (keysig_dlg_proc): Support sorting the listview items.
36          * wptKeyEditDlgs.cpp (diff_time): New.          
37          (keyedit_addsubkey_dlg_proc): Changed design and use  2006-01-09  Timo Schulz  <[email protected]>
38          diff_time. Drop checks for invalid keylength (< 1024, > 4096)  
39          because the combo box automatically handles this.          * WinPT.cpp (load_gettext): Remove file locking.
40          * wptKeyManager.cpp (km_set_implicit_trust): Return error code.          (WinMain): Use pre-defined autoconf constants.
41          * wptGPG.cpp (get_backup_name): New.          * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
42          (gnupg_backup_keyrings): Rotate backup names, from 0..3.          * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
43          * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.          Change all callers.
44          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and          
45          not the long keyid.  2006-01-07  Timo Schulz  <[email protected]>
46    
47  2005-08-05  Timo Schulz  <[email protected]>          * wptKeyManager.cpp (km_refresh_from_keyserver): Summarize
48            import status if just one key was selected.
49          * wptListView.cpp (listview_set_item2): New.  
50          * wptKeyManager.cpp (km_check_if_protected): Directly  2006-01-04  Timo Schulz  <[email protected]>
51          retrieve gpgme_key_t from the list.  
52          (km_check_key_status): Likewise.                  * wptGPGMEWrapper.c (setChangeVersion): New.
53          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use          (exportToBuffer, exportToFile, exportToClipboard): New.
54          a human-readable name for secret key export.          (setArmor, getArmor): New.
55          Reload just the keys which were affected by updates          * wptKeylist.cpp (get_key_expire_date): Return locale specific
56          (edit-key).          date.
57          (update_key): New.          (keylist_get_recipients): Do not fetch the key again.
58          * wptKeyList.cpp ((keylist_upd_key): Stripped down          (keylist_enum_recipients): Likewise.
59          version of keylist_add_key.          * wptGPG.cpp (create_empty_keyring): New.
60          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not          (get_gnupg_keyring): Fixed 'strict' logic.
61          reload the keycache here, just flag 'update'. Give the          * wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons
62          control to the calling dialog.          when no secret keys are available.
63          * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t          * wptKeyManager.cpp (km_send_to_mail_recipient): Release key data
64          as parameter. Changed all callers.          before the MAPI call is made.
65          Add date of expiration to the key info.          * WinPT.cpp (check_for_empty_keyrings): New.
66          (get_expire_date): New.          
67          Use a checkbox to allow to ask for the cert level.  2006-01-03  Timo Schulz  <[email protected]>
68          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload  
69          the cache.          * pubkey.ico, keypair.ico: New.
70            * wptListview.cpp (listview_add_item_image): New.
71  2005-08-04  Timo Schulz  <[email protected]>          (listview_set_image_list): New.
72            * wptSigList.cpp (siglist_add_key): Correct order of the sigs.
73          * wptListView.cpp (listview_scroll): New.          * wptKeyProps.cpp (keyprops_load_photo): Adjusted for new
74          (listview_get_item2): New.          JPEG data.
75          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to
76          item was found, make it visible with scrolling.          add items to revoked keys.
77          * wptKeyManager.cpp (km_find_key): New.          * wptKeyManager.cpp (km_delete_keys): Do not use uninitialized
78          (keylist_subclass_proc): Support to handle some acceleators.          keyid buffer. This fixes a segv.
79          Strg+{C, P, F, A}.          * wptKeyserver.cpp (spawn_application): New.
80          (km_get_key_status): Get the gpgme_key_t object directly          (ldap_recv_key): Support recent protocols and several cleanups.
81          from the list.          * wptKeylist.cpp (do_addkey): Set image which depends on the
82          * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set          key type.
83          the config file (if it exists).          (keylist_enum_recipients): Cleanups.
84          * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code          (keylist_get_keyflags): Rewritten.
85          to handle the click->activate situation.          * wptKeyCache.cpp (free_attr_list): New.
86          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.          (parse_attr_list): New.
87          Support to check the passphrase quality.          (parse_attr_data): New.
88          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.          (keycache_update_photo): New.
89          (request_passphrase): Rename 'init' to 'flags' to allow more          (keycache_update_photos): New.
90          options.          (gpg_keycache_update_key): Automatically reload photos if needed.
91          * wptMAPI.cpp: Check all *alloc results.          * wptGPGUtil.cpp (create_process): New param @err. Change all
92          * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary          callers.
93          passphrase quality check.          (map_tmpfile): New param @nread. Change all callers.
94          * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file          (gpg_get_photoid_data): New.
95          format and allow to save the checksum in a file.          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to
96          * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning          add items to revoked keys.
97          when the PGP mode is disabled.          (subkey_init_list): Store gpgme key object.
98          wptKeyEditDlgs.cpp (do_editkey_primary): Return if just          
99          one user-ID exists.  2005-12-29  Timo Schulz  <[email protected]>
100          (keyedit_dlg_proc): Fixed index problem.  
101          * wptKeyPropsDlg.cpp (get_validity): New.          * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
102          (keyprops_dlg_proc): Actually show extended validity if possible.          (gpg_genkey_params): Simplified.
103          * wptKeyList.cpp (get_key_fpr): Support for old v3 format.          * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
104          (do_addkey): Use listview_add_item2 to store key as opaque          exclusion of the dialog items.
105          param inside the list.          * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
106          * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.          quit the dialog.
107          (file_stat_dlg_proc): End dialog if no PGP data was found.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
108          (do_list_packets): Return the number of valid PGP packets          * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
109          of the file.          (id2algo): New.
110    
111  2005-08-02  Timo Schulz  <[email protected]>  2005-12-28  Timo Schulz  <[email protected]>
112    
113          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of          * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
114          using 'Default Keyserver' add the real keyserver name to          * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
115          the menu.          * wptKeylist.cpp (keylist_udp_key): Likewise.
116          The rebuild command does not reload the cache any longer.          * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
117          Use ATTR_NAME + .asc as the filename and not keyid + .asc.          * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
118          * wptProxySettingsDlg.cpp (enable_proxy_auth): New.          when no signing key was found.
119          (keyserver_proxy_dlg_proc): Changed the design a little          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
120          and add some additional sanity checks.          user IDs.
121          * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.          (translate_popup_strings): s/Revoke/Revoke Cert.
122          This fixes the problem that the GPG option dialog does not show          * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
123          very nice lines.          0x prefixed keyid.
124          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.          * wptKeyEditCB.cpp (editkey_command_handler): Also reset
125          * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected          step in case of a bad passphrase.
126          check for 'NOKEY' before asking a keyserver.          
127          * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.  2005-12-27  Timo Schulz  <[email protected]>
128          If a lot of keys were selected, ask if the user wants to confirm  
129          each delete procedure or allow to cancel the operation.          * wptListView.cpp (listview_set_view): New.
130          * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much          (listview_del_column): New.
131          keys the file contain.          * wptW32API.cpp (get_locale_date): New.
132          * wptKeyList.cpp (get_key_algo): Beautified.          (get_menu_state): New.
133          (get_key_status): Drop the "[XYZ] Unknown" format, it is too          (force_foreground_window): New.
134          confusing for users.          * wptVerifyList.cpp (strtimestamp): Support for
135          * wptKeyManager.cpp (km_check_key_status): Adjustments for the          locale date formats.
136          new code.          * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
137          (km_check_for_seckey): Reset utrust parameter. Return -1 for          passphrases.
138          invalid (exp+rev+dis) keys.          * wptKeyEditCB.cpp (editkey_command_handler): Immediately
139            return when a bad passphrase was submitted.
140  2005-08-01  Timo Schulz  <[email protected]>          * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
141            column order.
142          * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given          * wptKeylist.cpp (keylist_upd_col): New.
143          sizes.          * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
144          (check_IP_or_hostname): New.          'Revocation' for public keys.
145          (kserver_load_conf): Correct finger URL parsing problem.          (translate_menu_strings): s/Revoke/Revoke Cert.
146          (port_from_proto): New.          (modify_listview_columns): New.
147          (keyserver_load_conf): Guess the port.          
148          (keyserver_set_default): Allocate new buffer.  2005-12-18  Timo Schulz  <[email protected]>
149          (kserver_load_conf): Likewise.  
150          * wptHTTP.c (parse_reqline, parse_request): Removed.          * wptKeyManagerDlg.cpp (save_column_size): New.
151          Use WinPT error code and remove all unused code.          (restore_column_size): New.
152          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.          (keymanager_dlg_proc): Save and restore column sizes for
153          * wptProxySettingsDlg.cpp (read_proxy): Simple check for          the listview control.
154          invalid host/IP addresses.          * wptKeyManager.cpp (key_get_info): New.
155          * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.          (km_delete_keys): Use it here to have a consistent message.
156          Changed all callers.          Use stored key context and not the column data.
157          * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,          (km_enable_disable_key): Likewise.
158          automatically set 'backup to homedir'.          (km_send_to_keyserver): Likewise.
159          * WinPT.cpp (WinMain): Use desktop window as the parent window          (km_set_implicit_trust): Likewise.
160          to load 'first-start' dialogs.          * wptKeylist.cpp (get_key_pubalgo2): New.
161          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'          
162          flag after deleting keys.  2005-12-17  Timo Schulz  <[email protected]>
163          * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure  
164          for passing the arguments.          * wptUTF8.cpp: Removed unused charset array.
165          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for          * wptSigList.cpp (siglist_build): Increase size for 'class'
166          the OptFile. This was responsible for a lot of 'General Errors'          column.
167          after the first start related to key caching.          * wptGPG.cpp (get_gnupg_path): Simplified.
168          Automatically set the gpg binary if possible.          * WinPT.cpp (load_gpg_env): New.
169            (check_crypto_engine): Return type is now bool.
170  2005-07-22  Timo Schulz  <[email protected]>          * wptRegistry.cpp (is_gpg4win_installed): New.
171            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent
172          * wptMainProc.cpp (winpt_main_proc): Take care for shutdown          dialog design.
173          messages and make sure WinPT make a keyring backup in this case.          * wptKeyManagerDlg.cpp (translate_menu_strings): New.
174          * wptGPGME.cpp (keycache_reload): Do not rebuild the signature          (translate_popupmenu_strings): New.
175          cache each time. Just do it on startup.          * wptKeyEditDlgs.cpp (is_jpg_file): New.
176          * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.          
177          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag  2005-12-13  Timo Schulz  <[email protected]>
178          was set by the calling function.  
179          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.          * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
180          (keygen_dlg_proc): Only add the generated key to the keycache          * wptKeyManagerDlg.cpp (change_edit_menu): New.
181          and do not reload the entire cache.          (change_key_menu): Renamed from...
182          * wptKeyManager.cpp (km_delete_keys): Store the number of keys          (menu_gpg_readonly): ..this.
183          because in each loop iteration it will be new calculated.          (clip_contains_pgpkey): New.
184          * wptListView.cpp (listview_del_items): Likewise.          (update_ui_items): Do not allow to sign expired keys.
185          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the          (keymanager_dlg_proc): Same for popup menu.
186          generated key to the list instead of reloading the entire cache.          * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
187          * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.          * wptKeyCache.cpp (copy_uid_prefs):
188            (gpg_keycache_sync): Copy uid prefs so the key property
189            dialog show the correct values. Thanks to Shane.
190            
191    2005-12-11  Timo Schulz  <[email protected]>
192    
193            * wptW32API.cpp (get_file_version): New.
194            * wptGPGUtil.cpp (create_process): Always hide window.
195            * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
196            instead of 'Exit'.
197            * wptKeyManager.cpp (km_http_import): New filename
198            generation code.
199            (km_send_to_mail_recipient): Cleanups.
200            * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
201            * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
202            when multiple keys are selected.
203            (popup_multiple): New.
204            * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
205            file versions are equal. Rewrote --keymanager code.
206            
207    2005-12-08  Timo Schulz  <[email protected]>
208    
209            * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
210            (hkp_recv_key2): Show user-id of the imported key instead
211            of just the pattern.
212            * wptFileCBS.cpp (read_cb): Changed to W32 API.
213            (write_cb): Likewise. Create output file on demand.
214            (gpg_file_data_new): Adjusted code for new API.
215            * wptKeyEdit.cpp (cleanKey): New.
216            * wptKeyEditCB.cpp (cmd_clean_handler): New.
217            (editkey_command_handler): Call clean handler.
218            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
219            keylist after inserting items.
220            * wptFileManager.cpp (fm_set_status): Take care of
221            cleartext sigs.
222            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
223            sure can be closed.
224            
225    2005-12-07  Timo Schulz  <[email protected]>
226    
227            * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
228            Use 'Close' instead of 'Exit'.
229            * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
230            * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
231            as the destination dir. Thanks to Werner.
232            * wptRegistry.cpp (is_gpgee_installed): New.
233            (regist_inst_winpt): Do not register file extensions
234            if GPGee is available.
235            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
236            use of local vars.
237            * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
238            no illegal backup mode is saved.
239            * wptKeyserverDlg.cpp (show_imported_key): New.
240            (hkp_recv_key2): Show imported keys if the blob
241            contained more than one.
242            
243    2005-12-06  Timo Schulz  <[email protected]>
244    
245            * WinPT.cpp (WinMain): Load the gettext environment soon
246            as possible so all 'first start' messages are localized.
247            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
248            received via the keyserver, return the gpgme key context on
249            success and add it directly to the list.
250            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
251            to store the key.
252            (hkp_recv_key2): Add extra param for the fingerprint.
253            (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
254            
255    2005-12-02  Werner Koch  <[email protected]>
256    
257            * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
258    
259    2005-12-01  Timo Schulz  <[email protected]>
260    
261            * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
262            for get_gpg_sigstat().
263            * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
264            As a macro strings will not be translated at runtime.
265            * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
266            need to update the cache. Thanks to Jan-Oliver.
267            * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
268            
269    2005-11-30  Timo Schulz  <[email protected]>
270    
271            * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
272            * WinPT-en.rc: Removed string list.
273            * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
274            * wptKeylist.cpp (keylist_build): Cannot use global
275            arrays for the columns due to gettext.
276            
277    2005-11-29  Timo Schulz  <[email protected]>
278    
279            * WinPT.cpp (WinMain): Modify --keymanager. If an instance
280            is running, just send the command to open the manager.
281            
282    2005-11-25  Timo Schulz  <[email protected]>
283    
284            * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
285            process when the revoker is already there.
286            
287    2005-11-24  Timo Schulz  <[email protected]>
288    
289            * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
290            signing dialog items.
291            * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
292            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
293            * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
294            * wptKeylist.cpp (key_check_validity): Likewise.
295            * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
296            
297    2005-11-22  Timo Schulz  <[email protected]>
298    
299            * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
300            macro debug output will be generated in release version.
301            
302    2005-11-21  Timo Schulz  <[email protected]>
303    
304            * WinPT.cpp (WinMain): Implement --stop switch.
305            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
306            missing string.
307            * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
308            * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
309            first. Thanks to Ralf.
310            * wptFileManagerDlg.cpp (update_ui_items): New.
311            * wptFileManager.cpp (fm_set_status): New sigmode param.
312            Changed all callers.
313            
314    2005-11-17  Timo Schulz  <[email protected]>
315    
316            * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
317            the cache will be loaded twice.
318            * wptRegistry.cpp (regist_inst_winpt): More comments.
319            * wptKeyManagerDlg.cpp (do_center_window): Make sure that
320            neg. coordinates are never used.
321            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
322            strings.
323            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
324            * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
325            and save 'AlwaysOnTop' in the registry.
326            
327    2005-11-16  Timo Schulz  <[email protected]>
328    
329            * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
330            * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
331            mode.
332            * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
333            * wptRegistry.cpp (regist_inst_winpt): Set install directory.
334            Useful for other programs to figure out the path to the EXE.
335            
336    2005-11-14  Timo Schulz  <[email protected]>
337    
338            * wptGPG.cpp (check_gnupg_engine): Fix version check.
339            * wptMainProc.cpp (winpt_main_proc): Check keyring
340            file permissions always and do not use interative output
341            when the windows session ends.
342            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
343            Localize all strings.
344            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
345            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
346            * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
347            non-valid keys.
348            
349    2005-11-12  Timo Schulz  <[email protected]>
350    
351            Fix more GCC warnings.
352    
353    2005-11-10  Timo Schulz  <[email protected]>
354    
355            * wptClipSignDlg.cpp (one_key_proc): Use
356            release_gpg_passphrase_cb() to free the context.
357            * wptListView.cpp (listview_deselect_all): New.
358            * wptMAPI.cpp (mapi_send_pubkey): Works again.
359            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
360            zip.    
361            * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
362            caching for signing operations.
363            * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
364            * wptFileManager.cpp (fm_send_file): Likewise.
365            (fm_encrypt_into_zip): New.      
366            
367    2005-11-09  Timo Schulz  <[email protected]>
368    
369            * wptNLS.c (get_gettext_langid): Map user language id to
370            printable gettext language strings.
371            * wptRegistry.cpp (get_reg_entry_mo): Support for the
372            gettext environment.
373            * wptFileManager.cpp (fm_encrypt): Close all files before
374            the wipe procedure is called.
375            * wptVerlist.cpp (verlist_add_sig): Handle the case the
376            issuer is not valid but the signature is.
377            (verlist_add_sig_log): Likewise. Thanks to the folks on
378            winpt-users.
379            
380    2005-11-08  Werner Koch  <[email protected]>
381    
382            * SAFE.ICO, SIGN.ICO: Fixed capitalization.
383            * WinPT-en.rc: Ditto.
384            * winpt_km.ico:  Moved from ../.
385    
386            * Makefile.am (resource_files): Add missing backslash.
387    
388    2005-11-08  Timo Schulz  <[email protected]>
389    
390            More minor changes to avoid GCC warnings.
391            
392            * wptGPG.cpp (check_homedir): Free memory in case of errors.
393            (multi_gnupg_path): Add strict mode. If non-strict mode return
394            the folder even if it does not exist.
395            (check_for_gpgwin): New.
396            * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
397            initialized.
398            * wptRegistry.cpp (get_reg_entry_gpg4win): New.
399            (get_reg_entry_mo): Support for gpg4win.
400            
401    2005-11-07  Timo Schulz  <[email protected]>
402    
403            * wptMainProc.cpp (winpt_main_proc): Disable
404            some menu items when no secret key is available.
405            
406    2005-11-05  Timo Schulz  <[email protected]>
407    
408            More minor changes to avoid GCC warnings.
409            
410            * wptErrors.cp (winpt_strerror): Return w32
411            formatted error and do not use 'break'.
412            
413    2005-11-04  Werner Koch  <[email protected]>
414    
415            * WinPT-en.rc: Fixed locations of icons.
416    
417    2005-11-03  Timo Schulz  <[email protected]>
418    
419            A lot of minor changes to avoid GCC warnings.
420    
421            * wptGPG.cpp (get_gnupg_keyring): Only check size for
422            public keyring.
423            * wptKeyManager.cpp (km_update_default_key_str): Do
424            not issue a bug message when no secret key was found.
425            * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
426            
427    2005-11-02  Werner Koch  <[email protected]>
428    
429            * WinPT.cpp (WinMain): Disabled PTD version tests.
430            (check_crypto_engine): Fixed version check for scard.
431    
432            * wptErrors.cpp (debug_end): Add dummy function.
433    
434            * Makefile.am (code_files): Added wptCardEditCB.cpp and
435            wptKeyEditCB.cpp.
436    
437    2005-10-31  Werner Koch  <[email protected]>
438    
439            * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
440            functions.
441    
442            * wptKeyEditDlgs.cpp: Include oleauto.h
443            * wptKeyEdit.cpp: Include time.h.
444            * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
445            * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
446    
447            * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
448            wptKeyEdit.cpp and wptKeycache.cpp.
449    
450            * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
451            * wptImportList.cpp (implist_load): Use remove and not unlink.
452            * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
453            * wptImportList.cpp (implist_load): Use remove and not unlink.
454            * wptKeyManager.cpp (km_http_import): Ditto
455            * wptMainProc.cpp: Include wptCrypto.h
456            * wptKeyManager.cpp: Ditto.
457            * wptFileManager.cpp: Ditto.
458            * wptImportList.cpp (parse_colon_key): Need to cast argument for
459            isdigit.  Include ctype.h.
460            * wptGPG.cpp: Include shlobj.h.
461    
462            Fixed double inclusion of windows.h.
463            
464            * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
465            * wptKeylist.cpp (get_key_created): Broke up trigraph.
466            (get_key_status): Removed dangerous use of sprintf.  Still other
467            flaws present, see comment.
468    
469            * wptCardPCSC.c: Don't include winscard.h.
470            (pcsc_readerstate_t, pcsc_context_t): New.  Changed call users to
471            use these types.
472            (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
473            (SCARD_S_SUCCESS): Changed all compares to test the value directly
474            against zero.
475    
476            * WinPT.cpp: Include wptCrypto.h.
477            (WinMain): Don't shard S. Removed usunsed variable SIZE.
478            * Makefile.am (code_files): Actually add files by adding a first
479            backslash.
480            * wptMDSumDlg.cpp: Include wptCrypto.h.
481            * wptProxySettingsDlg.cpp: Included ctype.h.
482            * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
483            * wptKeysignDlg.cpp: Ditto
484            * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
485            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
486            Removed unused variable.
487            * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
488            silly c++ operator synonyms.
489            * wptKeyEditDlgs.cpp: Include time.h.
490            * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
491            * wptFileManagerDlg.cpp: Ditto.
492            (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
493            matter if it does an rmdir for a directory.
494    
495            Fixed include of resource.h which is not anymore in the top
496            directory.
497    
498    2005-10-28  Werner Koch  <[email protected]>
499    
500            * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
501            unsigned.  Never ever use a possible signed char as argument for
502            ctype tests.  An alternative is to first test using isascii ().
503            (keyserver_proxy_dlg_proc): Removed unused variable.
504    
505    2005-10-27  Timo Schulz  <[email protected]>
506    
507            * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
508            * wptKeylist.cpp (keylist_add_key): Check global key flag to
509            see if the key is disabled and not each subkey.
510            (seclist_init): Likewise.
511            * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
512            gpgme_op_decrypt_verify.
513            (clip_decrypt_dlg_proc): Fixed fingerprint
514            to keyid conversation. This also fixes a crash.
515            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
516            * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
517            already expired if the user wants to change the date.
518            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
519            'v3 sig' option with the 'ask cert level' option. Sync
520            with global preferences.
521            * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
522            gpg.conf contains 'ask-cert-level'. If not disable button.
523            * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
524            the button when the key is available.
525            Reload key directly, not the entire cache.
526            
527    2005-10-26  Timo Schulz  <[email protected]>
528    
529            * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
530            possible overflow.
531            (is_openpgp_ext): Compare case insentensive.
532            (add_single_file): New.
533            (fm_add_opened_files): Support multi file selection.
534            * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
535            * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
536            reload flag. Just update the single key.
537            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
538            and disable anonymize recipient for now.
539    
540            Begin to port code to GCC. Fix all warning issued by the gcc
541            compiler.
542    
543    2005-10-25  Timo Schulz  <[email protected]>
544    
545            * wptGPGUtil.cpp (create_process): Hide window.
546            * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
547            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
548            static var 'enable'.
549            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
550            (gpg_genkey_params): Make sure all primary keys are capable
551            for signing and certification.
552            * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
553            * wptGPG.cpp (gnupg_access_keyring): Check return value for
554            NULL. Noted by Ralf.
555            (get_gnupg_prog): Simplified.
556            (check_homedir): Fixed. Return 0 when the dir is successfully created.
557            * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
558            indicate a pending GPG process.
559            * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
560            and and of an operation. For now just the cursor changes.
561            (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
562            * WinPT.cpp (WinMain): Check if there is already an instance and
563            set a variable early as possible.
564            (load_gettext): If a previous instance was found, do not output
565            any errors. Kudos to Ralf.      
566    
567    2005-10-24  Timo Schulz  <[email protected]>
568    
569            * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use
570            pre-defined recipients.
571            (release_gpg_passphrase_cb): Release recipients.
572            * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id
573            validity if needed.
574            (keyprops_dlg_proc): Issue a warning if the photo is valid.
575    
576    2005-10-23  Timo Schulz  <[email protected]>
577    
578            * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.  
579            * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
580            (get_ext_validity): New.
581            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
582            * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
583            this function.
584            (load_clipboard_from_file): Likewise.
585            (save_clipboard_to_file): New.
586            * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.
587    
588    2005-10-22  Timo Schulz  <[email protected]>
589    
590            Localized a lot of more strings.
591    
592            * wptMainProc.cpp (load_smartcard): New.
593            * wptFileManager.cpp (fm_parse_command_line): Simplify code.
594            (fm_check_armor_type): Add new arg. Change all callers.
595            (fm_get_file_type): Likewise.
596            * wptKeyPropsDlg.cpp (display_key_info): New.  
597            (keyprops_show_photo): Factored out some code into..
598            (keyprops_load_photo): ..this function.
599    
600    2005-10-21  Timo Schulz  <[email protected]>
601    
602            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use
603            WM_INITPOPUPMENU to localize popup menu texts.
604            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
605            * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.  
606    
607    2005-10-20  Timo Schulz  <[email protected]>
608    
609            Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.
610    
611            * wptPassphraseCB.cpp (passphrase_cb): Complete card support.
612            * wptCardEdit.cpp (genKey): Handle cancel case.
613            * keycache.c: Renamed into...
614            * wptKeyCache.cpp: ...this.
615            * wptW32API.cpp (set_menu_text): Removed unused code.
616            (set_menu_text_bypos): New.
617            * wptCrypto.h: New.
618            * wptMainProc.cpp (winpt_main_proc): Complete localize
619            menu texts.
620            * wptErrors.cpp (log_debug): Use a static var so the file
621            is only opened once.
622            (debug_end): Cleanup. Currently just close the log file.
623            * wptErrors.h (wipememory): New.
624            (sfree_if_alloc): Use it here.
625            * WinPT.cpp (WinMain): Display the min. GPGME version which
626            is needed in case of an error.
627    
628    2005-10-17  Timo Schulz  <[email protected]>
629    
630            Free all memory returned by the GPGME dll with gpgme_free ().
631    
632            s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.
633    
634            * wptKeyEdit.cpp (getCardStatus): Remove dummy key.
635            (list_handler): With user interaction to allow to insert
636            the card into the reader.
637            * wptKeyEditCB.cpp (gpg_edit_card): Likewise.
638            (common_card_handler): Fixed incorrect command string.
639            * wptKeyPropsDlg.cpp (get_card_type): New.
640            (keyprops_dlg_proc): Show card information if present.
641            * wptFileManager.cpp (secret_key_available): Make the code faster.
642            
643    
644    2005-10-16  Timo Schulz  <[email protected]>
645    
646            * wptPassphraseCB.cpp (passphrase_cb): Fix problem
647            with hanging GPG process on cancel.
648            * keycache.c (gpg_keycache_release): Release all objects.
649    
650    2005-10-15  Timo Schulz  <[email protected]>
651    
652            * wptCardEdit.cpp (setResult, getResult): New.
653            (reset): New.
654            (getCardStatus): Check return codes and release all objects
655            in case of errors.
656            * wptCardEditCB.cpp (change_pin_handler): Call reset()
657            before quit.
658            (editcard_handler): Likewise.
659            (common_card_handler): New.
660            * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask
661            the old PIN when 'Hide Typing' is disabled.
662            * wptPassphraseCB.cpp (passphrase_cb): The card detection
663            works again. Support to re-enter passphrase.
664    
665    2005-10-14  Timo Schulz  <[email protected]>
666    
667            * wptCardDlg.cpp (card_status): New fields for the
668            fingerprint creation time. Display card info as title.
669            (get_printable_version): New.
670            * wptCardEditCB.cpp (editcard_handler): Fix problem
671            with the counter comparison.
672    
673    2005-10-11  Timo Schulz  <[email protected]>
674    
675            Port to GPGME basically finished.
676    
677    2005-09-20  Timo Schulz  <[email protected]>
678    
679            * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):
680            Do not use gpgme_recipients_t but the listview directly
681            to add the selected files.
682    
683    2005-09-07  Timo Schulz  <[email protected]>
684    
685            * Make sure all GetOpenFileName filters are terminated by \0\0.
686    
687    2005-09-01  Timo Schulz  <[email protected]>
688    
689            * wptW32API.cpp (center_window): New argument for parent window.
690            Change all callers.
691            (center_window2): Likewise.
692            * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.
693            * wptGPG.cpp (gnupg_backup_options): Remove param. One backup
694            file is enough. Changed all callers.
695    
696    2005-08-15  Timo Schulz  <[email protected]>
697    
698            * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.
699            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.
700            * Make sure the passphrase is always overwritten before it is
701            freed (or the function returns).
702            * wptKeyPropDlg.cpp (get_pref_cipher): New.
703            (keyprops_dlg_proc): Use it here.
704    
705    2005-08-06  Timo Schulz  <[email protected]>
706    
707            * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
708            of the secret key.
709            (keycache_init): cache name of secret keyring.
710            * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
711            (get_key_type): Do not assume 'ultimate' means key pair.
712            * wptKeyEditDlgs.cpp (diff_time): New.
713            (keyedit_addsubkey_dlg_proc): Changed design and use
714            diff_time. Drop checks for invalid keylength (< 1024, > 4096)
715            because the combo box automatically handles this.
716            * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
717            * wptGPG.cpp (get_backup_name): New.
718            (gnupg_backup_keyrings): Rotate backup names, from 0..3.
719            * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
720            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
721            not the long keyid.
722    
723    2005-08-05  Timo Schulz  <[email protected]>
724    
725            * wptListView.cpp (listview_set_item2): New.
726            * wptKeyManager.cpp (km_check_if_protected): Directly
727            retrieve gpgme_key_t from the list.
728            (km_check_key_status): Likewise.        
729            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use
730            a human-readable name for secret key export.
731            Reload just the keys which were affected by updates
732            (edit-key).
733            (update_key): New.
734            * wptKeyList.cpp ((keylist_upd_key): Stripped down
735            version of keylist_add_key.
736            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not
737            reload the keycache here, just flag 'update'. Give the
738            control to the calling dialog.
739            * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t
740            as parameter. Changed all callers.
741            Add date of expiration to the key info.
742            (get_expire_date): New.
743            Use a checkbox to allow to ask for the cert level.
744            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload
745            the cache.
746    
747    2005-08-04  Timo Schulz  <[email protected]>
748    
749            * wptListView.cpp (listview_scroll): New.
750            (listview_get_item2): New.
751            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the
752            item was found, make it visible with scrolling.
753            * wptKeyManager.cpp (km_find_key): New.
754            (keylist_subclass_proc): Support to handle some acceleators.
755            Strg+{C, P, F, A}.
756            (km_get_key_status): Get the gpgme_key_t object directly
757            from the list.
758            * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set
759            the config file (if it exists).
760            * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code
761            to handle the click->activate situation.
762            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
763            Support to check the passphrase quality.
764            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
765            (request_passphrase): Rename 'init' to 'flags' to allow more
766            options.
767            * wptMAPI.cpp: Check all *alloc results.
768            * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary
769            passphrase quality check.
770            * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file
771            format and allow to save the checksum in a file.
772            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning
773            when the PGP mode is disabled.
774            wptKeyEditDlgs.cpp (do_editkey_primary): Return if just
775            one user-ID exists.
776            (keyedit_dlg_proc): Fixed index problem.
777            * wptKeyPropsDlg.cpp (get_validity): New.
778            (keyprops_dlg_proc): Actually show extended validity if possible.
779            * wptKeyList.cpp (get_key_fpr): Support for old v3 format.
780            (do_addkey): Use listview_add_item2 to store key as opaque
781            param inside the list.
782            * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.
783            (file_stat_dlg_proc): End dialog if no PGP data was found.
784            (do_list_packets): Return the number of valid PGP packets
785            of the file.
786    
787    2005-08-02  Timo Schulz  <[email protected]>
788    
789            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of
790            using 'Default Keyserver' add the real keyserver name to
791            the menu.
792            The rebuild command does not reload the cache any longer.
793            Use ATTR_NAME + .asc as the filename and not keyid + .asc.
794            * wptProxySettingsDlg.cpp (enable_proxy_auth): New.
795            (keyserver_proxy_dlg_proc): Changed the design a little
796            and add some additional sanity checks.
797            * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.
798            This fixes the problem that the GPG option dialog does not show
799            very nice lines.
800            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.
801            * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected
802            check for 'NOKEY' before asking a keyserver.
803            * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.
804            If a lot of keys were selected, ask if the user wants to confirm
805            each delete procedure or allow to cancel the operation.
806            * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much
807            keys the file contain.
808            * wptKeyList.cpp (get_key_algo): Beautified.
809            (get_key_status): Drop the "[XYZ] Unknown" format, it is too
810            confusing for users.
811            * wptKeyManager.cpp (km_check_key_status): Adjustments for the
812            new code.
813            (km_check_for_seckey): Reset utrust parameter. Return -1 for
814            invalid (exp+rev+dis) keys.
815    
816    2005-08-01  Timo Schulz  <[email protected]>
817    
818            * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given
819            sizes.
820            (check_IP_or_hostname): New.
821            (kserver_load_conf): Correct finger URL parsing problem.
822            (port_from_proto): New.
823            (keyserver_load_conf): Guess the port.
824            (keyserver_set_default): Allocate new buffer.
825            (kserver_load_conf): Likewise.
826            * wptHTTP.c (parse_reqline, parse_request): Removed.
827            Use WinPT error code and remove all unused code.
828            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.
829            * wptProxySettingsDlg.cpp (read_proxy): Simple check for
830            invalid host/IP addresses.
831            * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.
832            Changed all callers.
833            * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,
834            automatically set 'backup to homedir'.
835            * WinPT.cpp (WinMain): Use desktop window as the parent window
836            to load 'first-start' dialogs.
837            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'
838            flag after deleting keys.
839            * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure
840            for passing the arguments.
841            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for
842            the OptFile. This was responsible for a lot of 'General Errors'
843            after the first start related to key caching.
844            Automatically set the gpg binary if possible.
845    
846    2005-07-22  Timo Schulz  <[email protected]>
847    
848            * wptMainProc.cpp (winpt_main_proc): Take care for shutdown
849            messages and make sure WinPT make a keyring backup in this case.
850            * wptGPGME.cpp (keycache_reload): Do not rebuild the signature
851            cache each time. Just do it on startup.
852            * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.
853            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag
854            was set by the calling function.
855            * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.
856            (keygen_dlg_proc): Only add the generated key to the keycache
857            and do not reload the entire cache.
858            * wptKeyManager.cpp (km_delete_keys): Store the number of keys
859            because in each loop iteration it will be new calculated.
860            * wptListView.cpp (listview_del_items): Likewise.
861            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the
862            generated key to the list instead of reloading the entire cache.
863            * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.
864    
865  2005-05-09  Timo Schulz  <[email protected]>  2005-05-09  Timo Schulz  <[email protected]>
866    
867          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..
# Line 228  Line 904 
904          (kserver_sendkey): Likewise.          (kserver_sendkey): Likewise.
905          * wptProxySettingsDlg.cpp (check_number): New.          * wptProxySettingsDlg.cpp (check_number): New.
906          (read_proxy): Check the entered port number.          (read_proxy): Check the entered port number.
907          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.
908          * wptW32API.cpp (get_folder_dlg): Free memory.          * wptW32API.cpp (get_folder_dlg): Free memory.
909    
910  2005-04-11  Timo Schulz  <[email protected]>  2005-04-11  Timo Schulz  <[email protected]>
# Line 573  Line 1249 
1249    
1250          * WinPT.cpp (load_keyserver_conf): New. Factored out some code          * WinPT.cpp (load_keyserver_conf): New. Factored out some code
1251          from WinMain ().          from WinMain ().
1252          (WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner          (WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner
1253          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver
1254          in the list control, add at least the internal default HKP server.          in the list control, add at least the internal default HKP server.
1255          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.

Legend:
Removed from v.23  
changed lines
  Added in v.144

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26