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

Diff of /trunk/Src/ChangeLog

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

revision 28 by twoaday, Thu Oct 20 12:35:59 2005 UTC revision 372 by twoaday, Fri Dec 9 10:59:16 2011 UTC
# Line 1  Line 1 
1  2005-10-20  Timo Schulz  <[email protected]>  2011-12-09  Timo Schulz  <[email protected]>
2    
3          Now WinPT depends on GPG 1.4.3.          * wptNLS.cpp (gettext_set_user_domain): Changed return type to
4            void.
5          * wptPassphraseCB.cpp (passphrase_cb): Complete card support.  
6          * wptCardEdit.cpp (genKey): Handle cancel case.  2011-12-06  Timo Schulz  <[email protected]>
7          * keycache.c: Renamed into...  
8          * wptKeyCache.cpp: ...this.          * wptNLS.cpp (get_user_langid): Removed.
9            Use gettext_get_langid() instead. Changed all callers.
10  2005-10-17  Timo Schulz  <[email protected]>          (gettext_set_file): Removed.
11            (w32_stpcpy): Likewise.
12          Free all memory returned by the GPGME dll with gpgme_free ().          * StringBuffer.cpp: Overload '=' operator for 'char*'.
13    
14          s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.  2011-12-06  Timo Schulz  <[email protected]>
15    
16          * wptKeyEdit.cpp (getCardStatus): Remove dummy key.          * wptKeyPropsDlg.cpp (on_init_dialog): Extra hint in
17          (list_handler): With user interaction to allow to insert          the title that the key has been revoked.
18          the card into the reader.          * wptKeyManagerDlg.cpp (keymanger_dlg_proc): Redraw
19          * wptKeyEditCB.cpp (gpg_edit_card): Likewise.          list view in case a modal client dialog has been closed.
20          (common_card_handler): Fixed incorrect command string.          
21          * wptKeyPropsDlg.cpp (get_card_type): New.  2011-12-04  Timo Schulz  <[email protected]>
22          (keyprops_dlg_proc): Show card information if present.  
23          * wptFileManager.cpp (secret_key_available): Make the code faster.          * WinPT.cpp (get_file_version): New.
24                    Improved error handling.
25    
26  2005-10-16  Timo Schulz  <[email protected]>  2011-12-01  Timo Schulz  <[email protected]>
27    
28          * wptPassphraseCB.cpp (passphrase_cb): Fix problem         * wptGroupsDlg.cpp: Removed.
29          with hanging GPG process on cancel.         * wptGroupManager.cpp: Likewise.
30          * keycache.c (gpg_keycache_release): Release all objects.         * wptKeyTrustPathDlg.cpp: Removed.
31          
32  2005-10-15  Timo Schulz  <[email protected]>  2011-11-30  Timo Schulz  <[email protected]>
33    
34          * wptCardEdit.cpp (setResult, getResult): New.         * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Adjusted
35          (reset): New.         positions for GPG menu entries.
36          (getCardStatus): Check return codes and release all objects        
37          in case of errors.  2011-11-25  Timo Schulz  <[email protected]>
38          * wptCardEditCB.cpp (change_pin_handler): Call reset()  
39          before quit.          * WinPT.cpp (check_os_version): New. Separated
40          (editcard_handler): Likewise.          function to check the OS verson.
41          (common_card_handler): New.          Removed emulate utf8 bug legacy code.
42          * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask          * wptKeygenDlg.cpp (gpg_genkey_params): Use the bits
43          the old PIN when 'Hide Typing' is disabled.          also for the primary key since we are now supporting DSAv2.
44          * wptPassphraseCB.cpp (passphrase_cb): The card detection          (keygen_wizard_dlg_proc): Adjusted for DSAv2.
45          works again. Support to re-enter passphrase.          * wptKeyEditDlgs.cpp (is_jpg_file): Modernized.
46            (keyedit_addsubkey_dlg_proc): Removed 1024-bit DSA check
47  2005-10-14  Timo Schulz  <[email protected]>          and rewrote index to gpg menu mapping. Fixed wrong text label.
48            * wptProxySettingsDlg.cpp (keyserver_proxy_dlg_proc): Use balloon
49          * wptCardDlg.cpp (card_status): New fields for the          error boxes.
50          fingerprint creation time. Display card info as title.  
51          (get_printable_version): New.          * Integrated patches from Remi FAVIER.
52          * wptCardEditCB.cpp (editcard_handler): Fix problem          
53          with the counter comparison.  2007-08-03  Timo Schulz  <[email protected]>
54    
55  2005-10-11  Timo Schulz  <[email protected]>          * wptMainproc.cpp (wpt_main_proc): A single click
56            with the mouse, left button, also shows the menu.
57          Port to GPGME basically finished.          * wptKeyEdit.cpp (uid_inf_colon_handler): uid is always
58            allocated and thus remove the additional check before free().
59  2005-09-20  Timo Schulz  <[email protected]>  
60            
61          * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):  2007-05-25  Timo Schulz  <[email protected]>
62          Do not use gpgme_recipients_t but the listview directly  
63          to add the selected files.          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Issue a warning
64            if the gpgProgram entry will be modified. Suggested by Werner.
65  2005-09-07  Timo Schulz  <[email protected]>  
66    2007-03-23  Timo Schulz  <[email protected]>
67          * Make sure all GetOpenFileName filters are terminated by \0\0.  
68            * wptCardDlg.cpp (card_keygen_dlg_proc): Use dynamic
69  2005-09-01  Timo Schulz  <[email protected]>          variables to avoid heap operations.
70            * wptKeyManager.cpp (km_http_import): Adjust the http class.
71          * wptW32API.cpp (center_window): New argument for parent window.  
72          Change all callers.  2007-03-21  Timo Schulz  <[email protected]>
73          (center_window2): Likewise.  
74          * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.          * wptKeyManager.cpp (gpg_keylist_to_pattern): Return allocated
75          * wptGPG.cpp (gnupg_backup_options): Remove param. One backup          array of strings.
76          file is enough. Changed all callers.          (km_clip_export): Really export all selected keys.
77            (km_file_export): Likewise.
78  2005-08-15  Timo Schulz  <[email protected]>          
79    2007-03-17  Timo Schulz  <[email protected]>
80          * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.  
81          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.          * wptErrors.cpp (debug_end): Reset FP pointer.
82          * Make sure the passphrase is always overwritten before it is          (printf_box): Fix buffer calculation.
83          freed (or the function returns).          * wptOwnertrustDlg.cpp (gpg_import_ownertrust): Actually
84          * wptKeyPropDlg.cpp (get_pref_cipher): New.          return the error.
85          (keyprops_dlg_proc): Use it here.  
86    2007-03-13  Timo Schulz  <[email protected]>
87  2005-08-06  Timo Schulz  <[email protected]>  
88            * wptGPG.cpp (gpg_check_file_permissions): New.
89          * wptGPGME.cpp (keycache_update): Reload OpenPGP parts          (my_access): Renamed to..
90          of the secret key.          (check_file_access): ..this.
91          (keycache_init): cache name of secret keyring.  
92          * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.  2007-03-12  Timo Schulz  <[email protected]>
93          (get_key_type): Do not assume 'ultimate' means key pair.          
94          * wptKeyEditDlgs.cpp (diff_time): New.          * wptVerifyList.cpp (extract_filename): Simplified.
95          (keyedit_addsubkey_dlg_proc): Changed design and use          * wptKeyserverSearchDlg.cpp (fetch_keys): Avoid possible memory
96          diff_time. Drop checks for invalid keylength (< 1024, > 4096)          leak for some error cases.
97          because the combo box automatically handles this.  
98          * wptKeyManager.cpp (km_set_implicit_trust): Return error code.  2007-03-10  Timo Schulz  <[email protected]>
99          * wptGPG.cpp (get_backup_name): New.  
100          (gnupg_backup_keyrings): Rotate backup names, from 0..3.          * wptKeyserver.cpp (kserver_recvkey): Use StringBuffer to
101          * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.          avoid possible allocation problems.
102          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and          (kserver_seararch_begin): Likewise.
103          not the long keyid.          (parse_pub_record): Double check fpr to key ID problem.
104            Noted by Mike Culbertson.
105  2005-08-05  Timo Schulz  <[email protected]>  
106    2007-03-09  Timo Schulz  <[email protected]>
107          * wptListView.cpp (listview_set_item2): New.  
108          * wptKeyManager.cpp (km_check_if_protected): Directly          * wptClipImportDlg.cpp (print_import_status): Use the fingerprint
109          retrieve gpgme_key_t from the list.          instead of the key ID to avoid problems with v3 keys.
110          (km_check_key_status): Likewise.                  * wptClipDecryptDlg.cpp (verify_get_clip_info): Use key ID
111          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use          in case of v3 keys. Noted by Raphael
112          a human-readable name for secret key export.          (verify_show_signature_state): Likewise.
113          Reload just the keys which were affected by updates          * wptVerifyList.cpp (verlist_add_sig_log): Likewise.
114          (edit-key).          (verlist_add_sig): Likewise.
115          (update_key): New.            
116          * wptKeyList.cpp ((keylist_upd_key): Stripped down  2006-12-30  Timo Schulz  <[email protected]>
117          version of keylist_add_key.  
118          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not          * StringBuffer.cpp (StringBuffer): New.
119          reload the keycache here, just flag 'update'. Give the          * wptPassphraseDlg.cpp (set_passphrase_hint): Replace error prone
120          control to the calling dialog.          sprintf code with the new string buffer implementation.
121          * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
122          as parameter. Changed all callers.  
123          Add date of expiration to the key info.  2006-12-28  Timo Schulz  <[email protected]>
124          (get_expire_date): New.  
125          Use a checkbox to allow to ask for the cert level.          * wptKeylist.cpp (get_key_desc): Avoid possible overflow.
126          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload          * wptW32API.cpp (get_locale_time): New.
127          the cache.          (get_locale_timedate): New.
128            * wptVerifyList.cpp (strtimestamp): Deleted. Changed all
129  2005-08-04  Timo Schulz  <[email protected]>          callers to get_locale_timedate.
130            * wptMainProc.cpp (winpt_main_proc): Cleanup gettext resources.
131          * wptListView.cpp (listview_scroll): New.          * wptNLS.cpp (gettext_free_current_domain): New.
132          (listview_get_item2): New.          (gettext_set_file): Removed all '/' code.
133          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the          * wptPassphraseCb.cpp (passphrase_callback_proc): Make sprintf
134          item was found, make it visible with scrolling.          code more robust.
135          * wptKeyManager.cpp (km_find_key): New.  
136          (keylist_subclass_proc): Support to handle some acceleators.  2006-12-21  Timo Schulz  <[email protected]>
137          Strg+{C, P, F, A}.  
138          (km_get_key_status): Get the gpgme_key_t object directly          * wptCryptDisk.cpp, wptCryptDiskSrv.cpp: Deleted.
139          from the list.          The Code will be possibly used in a separate project.
140          * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set  
141          the config file (if it exists).  2006-12-05  Timo Schulz  <[email protected]>
142          * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code  
143          to handle the click->activate situation.          * wptClipDecryptDlg.cpp (verify_get_clip_info): If
144          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.          there is no pubkey available, issue a hint and not BUG.
145          Support to check the passphrase quality.          
146          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.  2006-12-02  Timo Schulz  <[email protected]>
147          (request_passphrase): Rename 'init' to 'flags' to allow more  
148          options.          * WinPT-en.rc: Remove wipe free space menu item.
149          * wptMAPI.cpp: Check all *alloc results.          * wptRegistry.cpp (get_reg_winpt_prefs): Remove wipemode.
150          * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary          * wptFileManageRDlg.cpp (file_secdel_confirm_dlg_proc):
151          passphrase quality check.          Allow to set the passes here.
152          * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file          * wptFileManager.cpp (fm_encrypt): change all callers
153          format and allow to save the checksum in a file.          for the wipe functions.
154          * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning          * wptListview.cpp (listview_sort_items): Extract code
155          when the PGP mode is disabled.          to change the column image.
156          wptKeyEditDlgs.cpp (do_editkey_primary): Return if just          * wptKeylist.cpp (key_get_image_id): New.
157          one user-ID exists.          (keylist_build): Change return type and all callers.
158          (keyedit_dlg_proc): Fixed index problem.          * wptGPG.cpp (gnupg_load_config): Kludge to detect
159          * wptKeyPropsDlg.cpp (get_validity): New.          the 'textmode' option.
160          (keyprops_dlg_proc): Actually show extended validity if possible.          * wptPassCache.cpp (wipe_data): replaced with wipememory().    
161          * wptKeyList.cpp (get_key_fpr): Support for old v3 format.  
162          (do_addkey): Use listview_add_item2 to store key as opaque  2006-11-12  Timo Schulz  <[email protected]>
163          param inside the list.  
164          * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.          * wptGPG.cpp (check_gnupg_options): Fix sizeof != DIM problem.
165          (file_stat_dlg_proc): End dialog if no PGP data was found.          * wptGPGOptDlg.cpp (gpg_opt_dlg_proc): Better checks to
166          (do_list_packets): Return the number of valid PGP packets          avoid invalid gpg.conf entries.
167          of the file.          Thanks to Ralf Latz.
168            
169  2005-08-02  Timo Schulz  <[email protected]>  2006-11-04  Timo Schulz  <[email protected]>
170    
171          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of          * wptW32API.cpp (set_clip_text2): Make sure enough memory
172          using 'Default Keyserver' add the real keyserver name to          will be allocated.
173          the menu.          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Delete list
174          The rebuild command does not reload the cache any longer.          view entries for none existing files.
175          Use ATTR_NAME + .asc as the filename and not keyid + .asc.          * wptKeySignDlg.cpp (keysign_dlg_proc): Simplified.
176          * wptProxySettingsDlg.cpp (enable_proxy_auth): New.          * wptClipboard.cpp (gpg_data_change_version): Be more liberal.
177          (keyserver_proxy_dlg_proc): Changed the design a little          * wptKeyserver.cpp (parse_pub_record): Convert FPR entries
178          and add some additional sanity checks.          into KEYID entries.
179          * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.          * wptGPG.cpp (gnupg_backup_keyrings): Release memory in case
180          This fixes the problem that the GPG option dialog does not show          of errors.
181          very nice lines.          (get_backup_name): Use constant formant spec.
182          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.          (extract_keyid): Simplified.
183          * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected          * wptKeyserver.cpp (kserver_connect): Return proxy error if
184          check for 'NOKEY' before asking a keyserver.          approriate.
185          * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Correct memory
186          If a lot of keys were selected, ask if the user wants to confirm          handling to avoid possible segfaults.
187          each delete procedure or allow to cancel the operation.          (fetch_key_from_keyserver): Real error handling.
188          * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much          * wptFileManager.cpp (fm_gpg_verify): New.
189          keys the file contain.          (fm_verify): Support to fetch key here to avoid problems later.
190          * wptKeyList.cpp (get_key_algo): Beautified.          * wptFileCBS.cpp (file_data_rewind): New.
191          (get_key_status): Drop the "[XYZ] Unknown" format, it is too          
192          confusing for users.          
193          * wptKeyManager.cpp (km_check_key_status): Adjustments for the  2006-10-27  Timo Schulz  <[email protected]>
194          new code.  
195          (km_check_for_seckey): Reset utrust parameter. Return -1 for          * wptGPG.cpp (get_backup_name): Make sure enough memory
196          invalid (exp+rev+dis) keys.          will be allocated.
197            (gnupg_backup_keyrings): Release memory in case of errors.
198  2005-08-01  Timo Schulz  <[email protected]>          
199    2006-10-21  Timo Schulz  <[email protected]>
200          * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given  
201          sizes.          * wptKeyserver.cpp (get_reg_proxy_prefs): Load the protocol
202          (check_IP_or_hostname): New.          and store it.
203          (kserver_load_conf): Correct finger URL parsing problem.          * wptKeyCache.cpp (parse_attr_data): Avoid zombie temp files.
204          (port_from_proto): New.          
205          (keyserver_load_conf): Guess the port.  2006-10-04  Timo Schulz  <[email protected]>
206          (keyserver_set_default): Allocate new buffer.  
207          (kserver_load_conf): Likewise.          * wptFileManager.cpp (fm_check_armor_type): Remove space in
208          * wptHTTP.c (parse_reqline, parse_request): Removed.          search pattern string.
209          Use WinPT error code and remove all unused code.          (fm_check_for_entry): Case insentensive search.
210          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.          (fm_add_dir_files): Use W32 API directly.
211          * wptProxySettingsDlg.cpp (read_proxy): Simple check for          * wptVerifyList.cpp (verlist_add_sig_log): Use proper icon.
212          invalid host/IP addresses.          * wptGPGUtil.cpp (get_gpg_version): Cleanups.
213          * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.          
214          Changed all callers.  2006-08-30  Timo Schulz  <[email protected]>
215          * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,  
216          automatically set 'backup to homedir'.          * wptRegistry.cpp (get_reg_entry): Do not use static buffers.
217          * WinPT.cpp (WinMain): Use desktop window as the parent window          * wptKeyserverDlg.cpp (add_pattern_to_combox): New.
218          to load 'first-start' dialogs.          (save_pattern_from_combox): New.
219          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Solve icon problem.
220          flag after deleting keys.          * wptGPGMEWrapper.c (importFromBuffer): New.
221          * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure          * WinPT.cpp (check_crypto_engine): Only enable PC/SC when the
222          for passing the arguments.          system really has smart card services enabled.
223          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for          * wptKeyManger.cpp (km_http_import): Stricter error checking.
224          the OptFile. This was responsible for a lot of 'General Errors'          * wptFileManager.cpp (fm_send_file): Use at least MAX_PATH
225          after the first start related to key caching.          for the file name.
226          Automatically set the gpg binary if possible.          
227    2006-08-24  Timo Schulz  <[email protected]>
228  2005-07-22  Timo Schulz  <[email protected]>  
229            * wptHTTP.cpp (extraHostInfo): Handle case when no doc were given.
230          * wptMainProc.cpp (winpt_main_proc): Take care for shutdown          (get): Better error handling.
231          messages and make sure WinPT make a keyring backup in this case.          (head): Likewise.
232          * wptGPGME.cpp (keycache_reload): Do not rebuild the signature          * wptGPGME.cpp (sigsum_to_index): Just map the index without
233          cache each time. Just do it on startup.          any checks.
234          * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.          * wptCommonDlg.cpp (check_URL): Be more strict.
235          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag          
236          was set by the calling function.  2006-08-11  Timo Schulz  <[email protected]>
237          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.  
238          (keygen_dlg_proc): Only add the generated key to the keycache          * wptGPGMEWrapper.cpp (importFromFile): New.
239          and do not reload the entire cache.          (importFromClipboard): New.
240          * wptKeyManager.cpp (km_delete_keys): Store the number of keys          (importGetResult): New.
241          because in each loop iteration it will be new calculated.          * wptKeyManager.cpp (km_file_import): Use gpgme wrapper.
242          * wptListView.cpp (listview_del_items): Likewise.          (km_clip_import): Ditto.
243          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the          * wptKeyEdit.cpp (addCardKey): New.
244          generated key to the list instead of reloading the entire cache.          * wptKeyEditCB.cpp (cmd_addcardkey_handler): New.
245          * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.          * wptCardEdit.cpp (get_str_timestamp): Use locale date format.
246            * wptCardDlg.cpp (card_edit_dlg_proc): Began to localize dialog.
247            * wptKeyCache.cpp (key_divert_to_card): Adjusted for 'addcardkey'.
248            
249    2006-08-10  Timo Schulz  <[email protected]>
250    
251            * wptFileManager.cpp (fm_verify_pasted_detsig): '=' should be
252            '=='.
253            * wptGPGME.cpp (sigsum_to_index): Correctly handle expired
254            keys and signatures.
255            (get_gpg_sigstat): Adjusted code.
256            * wptCardDlg.cpp (card_changepin_dlg_proc): Cleanups.
257            (gpg_card_load): Improved card detection code.
258            * wptFirstRunDlg.cpp (first_run_dlg_proc): Allow to generate
259            a key on a card. Suggested by Achim.
260            * wptUtil.cpp (check_email_address): Add sanity check for
261            the length.
262            * WinPT.cpp (WinMain): Handle cardgen request.
263            
264    2006-08-04  Timo Schulz  <[email protected]>
265    
266            * wptKeysignDlg.cpp (display_keyinfo): Skip revoked user IDs.
267            * wptKeyManagerDlg.cpp (reload_keylist): Use updated ptr.
268            * wptKeyCache.cpp (gpg_keycache_delete_key): Correct handling
269            for the situation that the last key in the cache is deleted.
270            * wptFileManagerDlg.cpp (update_ui_items): Fix file name
271            detection.
272            
273    2006-08-02  Timo Schulz  <[email protected]>
274    
275            * wptClipDecryptDlg.cpp (verify_get_clip_info): Fix problem
276            with static data.
277            (clip_decrypt_dlg_proc): Prefix keyid with 0x.
278            (get_key_userid): Fix problem when key was not found.
279            * wptClipVerifyDlg.cpp (fetch_key_from_keyserver): Correct
280            fingerprint to short keyid conversion.
281            * wptVerifyList.cpp (verlist_set_additional_info): Handle bad
282            sigs.
283            * wptKeyManagerDlg.cpp (update_status_bar): Faster update code.
284            
285            
286    2006-08-01  Timo Schulz  <[email protected]>
287    
288            * wptGPG.cpp (get_last_gnupg_access): Enhanced.
289            (gnupg_display_error): Removed unused code.
290            * wptPassphraseCB.cpp (parse_gpg_description): Text output
291            is now more human readable.
292            * wptKeyManager.cpp (km_refresh_from_keyserver): Return an
293            error code in all cases.
294            
295    2006-07-31  Timo Schulz  <[email protected]>
296    
297            * wptMainProc.cpp (clip_gpg_dlg): Merge in the current window
298            handling code.
299            * wptCurrWnd.cpp (wnd_msg_em_set_pos): Reset pos to 0, not 1.
300            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Disable sorting
301            for list view controls.
302            
303    2006-07-30  Timo Schulz  <[email protected]>
304    
305            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Change menu style.
306            * wptKeySignDlg.cpp (keysign_dlg_proc): List all user IDs.
307            (display_keyinfo): New.
308            * wptKeySigDlg.cpp (init_datepicker_from_time): New.
309            (keysig_dlg_proc): List creation time.
310            * wptKeyManager.cpp (km_send_to_mail_recipient): Fix file
311            handling.
312            
313    2006-07-28  Timo Schulz  <[email protected]>
314    
315            * wptKeyManager.cpp (lv_del_confirmed_keys): New.
316            * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Automatically
317            adjust key size.
318            * wptKeygenDlg.cpp (keygend_dlg_proc): Likewise.
319            
320    2006-07-25  Timo Schulz  <[email protected]>
321    
322            Applied spelling corrections from Anthony Bryan.
323            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Changed design.
324            * wptKeygenDlg.cpp (backup_keyrings): Change default keyring.
325            
326    2006-07-22  Timo Schulz  <[email protected]>
327    
328            * wptMainProc.cpp (elgamal_warn_dlg_proc): Properly handle
329            utf8 encoded user ids.
330            (winpt_main_proc): Cleanups.
331            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Allow to copy
332            email address to the clipboard.
333            
334    2006-07-15  Timo Schulz  <[email protected]>
335    
336            * WinPT.cpp (WinMain): Compare PTD and WinPT version to avoid
337            any compatibility problems.
338            * wptW32API.cpp (get_file_version): Cleanups.
339            
340    2006-07-10  Timo Schulz  <[email protected]>
341    
342            * wptUtil.cpp (check_file_name): New.
343            * wptKeyRevokeDlg.cpp (mk_cert_name): Avoid illegal chars.
344            (key_revoke_dlg_proc): Likewise.
345            * wptMDSumDlg.cpp (mdsum_dlg_proc): Corrected file handling.
346            * wptImportList.cpp (implist_load): Likewise.
347            * wptFileSaveDlg.cpp (file_save_dlg_proc): Likewise.
348            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Hide dialog item.
349            
350    2006-07-05  Timo Schulz  <[email protected]>
351    
352            * wptMainProc.cpp (winpt_main_proc): Change menu texts.
353            * wptClipEditDlg.cpp (clip_edit_dlg_proc): More lightweight
354            with a menu instead of dozen of buttons.
355            
356    2006-07-01  Timo Schulz  <[email protected]>
357    
358            * wptFileManager.cpp (fm_sort): Rewritten.
359            (fm_build): Modify param type. Change all callers.
360            (fm_cmp_cb): Adjusted for the new code.
361            * wptMDSumDlg.cpp (mdsum_dlg_proc): Minor changes and model
362            for the list view.
363            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use info
364            context and model for the list view.
365            (update_status_bar): Fix calculation of the size of the
366            selected files.
367            * wptProgressDlg.cpp (wait_for_progress_cb): Changed semantic
368            and return type.
369            
370    2006-06-28  Timo Schulz  <[email protected]>
371    
372            * wptGPGPrefsDlg.cpp (load_gpg4win_values): Fix control logic
373            and memory leak.
374            * wptListView.cpp (listview_find_substr): New.
375            (listview_sort_items): Use symbolic ids.
376            * wptKeyManager.cpp (km_find_key): Allow substring search.
377            
378    2006-06-27  Timo Schulz  <[email protected]>
379    
380            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Also call viewer
381            when no sig has been found (if requested).
382            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Use a button to
383            quote instead of the check box. Cleanups.
384            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Correct
385            sorting problem and wrong icon display.
386            * wptListView.cpp (listview_sort_items): Correct code for
387            checkbox based lists.
388            * wptKeylist.cpp (keylist_build): Add sorting icons.
389            * wptKeyEditDlgs.cpp (create_header_tooltip): New.
390            
391    2006-06-24  Timo Schulz  <[email protected]>
392    
393            * wptMainProc.cpp (winpt_main_proc): Localize missing string.
394            * wptKeyEditDlgs.cpp (do_add_new_subkey): Better fpr to keyid
395            conversion.
396            (subkey_list_init): Simplified.
397            
398    2006-06-22  Timo Schulz  <[email protected]>
399    
400            * WinPT-en.rc: Include versioninfo.rc to generate
401            the version info automatically.
402            
403    2006-06-19  Timo Schulz  <[email protected]>
404    
405            * wptClipDecryptDlg.cpp (verify_get_clip_info): Improved
406            format of the sig info text.
407            * wptKeyserver.cpp (check_hkp_response): Invert error logic.
408            * wptKeyserverDlg.cpp (keyserver_recv_key): Corrected error
409            handling.
410            * wptPassphraseDlg.cpp (request_key_passphrase): Return
411            utf8 encoded passphrase.
412            
413    2006-06-18  Timo Schulz  <[email protected]>
414    
415            * wptKeygenDlg.cpp (keygen_dlg_proc): Fix typo.
416            * wptClipDecryptDlg.cpp (verify_get_clip_info): New.
417            (verify_get_key_ownertrust): New.
418            (clip_decrypt_dlg_proc): New argument. Change all callers.
419            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle the case
420            that the dialog was called with a param.
421            * wptMainProc.cpp (winpt_main_proc): Wait for thread in
422            case of dbl-click.
423            
424    2006-06-16  Timo Schulz  <[email protected]>
425    
426            * wptProgressDlg.cpp (wait_for_progress_cb): New.
427            * wptMainProc.cpp (winpt_main_proc): Use this function
428            to disallow to access the cache during synchronisation.
429            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
430            * wptKeyserver.cpp (check_hkp_response): Improved text
431            extraction.
432            (parse_keyserver_error): New.
433            * wptPassphraseDlg.cpp (request_passphrase): Support utf8
434            encoding.
435            * wptKeyEditDlgs.cpp (keyedit_change_passwd): Warn if passhrase
436            needs to be utf8 encoded but still allow it.
437            * wptPassphraseCBDlg.cpp (passphrase_callback_proc): Utf8 support.
438            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
439            * wptKeyRevokeDlg.cpp (keyrevoke_dlg_proc): Likewise.
440            
441    2006-06-15  Timo Schulz  <[email protected]>
442    
443            * wptVerList.cpp (verlist_build): Use icons.
444            (verlist_add_sig): Set image number according to sig state.
445            
446    2006-06-14  Timo Schulz  <[email protected]>
447    
448            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Translate
449            authors string here. Noted by Eduardo.
450            * wptSymEnc.cpp (gpg_clip_sym_encrypt): Check all return codes.
451            
452    2006-06-09  Timo Schulz  <[email protected]>
453    
454            * wptKeyEditDlgs.cpp (do_add_new_subkey): Properly handle
455            RSA_E and RSA_S.
456            * wptFileManager.cpp (fm_sym_encrypt): Better dialog title.
457            
458    2006-06-08  Timo Schulz  <[email protected]>
459    
460            * wptKeyserver.cpp (parse_keyserver_url): Handle special case.
461            * wptKeySignDlg.cpp (keysign_dlg_proc): Show photo if possible.
462            (showphoto_dlg_proc): New.
463            * wptKeyManagerDlg.cpp (restore_window_size): New.
464            (keymanager_dlg_proc): Restore original window size on startup.
465            (copy_key_info): Allow to copy multiple key items.
466            
467    2006-06-06  Timo Schulz  <[email protected]>
468    
469            * wptKeyEditCB.cpp (cmd_sign_handler): Return 0 by default
470            if no expire date were given.
471            
472    2006-06-05  Timo Schulz  <[email protected]>
473    
474            * wptPassphraseDlg.cpp (request_passphrase): Release mem
475            in case of errors.
476            (request_key_passphrase): New.
477            (set_passphrase_hint): New.
478            * wptKeyEditDlgs.cpp (do_editkey_sign_userid): Show passphrase
479            hint. Suggested by vedaal.
480            
481    2006-06-03  Timo Schulz  <[email protected]>
482    
483            * wptPINDlg.cpp (pin_dlg_proc): Remove static var.
484            * wptClipEncryptDlg.cpp (show_invalid_recipients): Handle
485            the case that 'encrypt-to' points to a non-existing item.
486            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Do not close
487            the dialog if an error occurred.
488            * wptKeygenDlg.cpp (keygn_dlg_proc): Check expirate date.
489            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Release mem
490            in case of errors.
491            * wptKeyserverDlg.cpp (check_pattern): Improved code.
492            (keyserver_dlg_proc): All comparisons are case insentensive.
493            * wptKeyserver.cpp (parse_uid_record): utf8 decode user id.
494            
495    2006-06-02  Timo Schulz  <[email protected]>
496    
497            * wptKeygenDlg.cpp (keygen_dlg_proc): Forgot to apply patch.
498            
499    2006-06-01  Timo Schulz  <[email protected]>
500    
501            * wptKeyserver.cpp (check_URL): change semantic.
502            (skip_type_prefix): Use check_URL().
503            * wptGPG.cpp (gnupg_backup_keyrings): New argument to
504            include secret keyring backups. Change all callers.
505            * wptRegistry.cpp (get_reg_winpt_prefs): Support new option.
506            (set_reg_winpt_prefs): Likewise.
507            * wptPreferencesDlg.cpp (on_init_dialog): Adjust the code.
508            
509    2006-05-29  Timo Schulz  <[email protected]>
510    
511            * wptKeyserver.cpp (keyserver_set_default): Also set default port.
512    
513    2006-05-27  Timo Schulz  <[email protected]>
514    
515            * wptKeyEditDlgs.cpp (keyedit_change_passwd): Handle empty
516            passphrase requests.
517            * wptClipDecryptDlg.cpp (verify_show_signature_state): Modified
518            for global use.
519            * wptFileManager.cpp (fm_decrypt): Use it here.
520            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Simplified.
521            
522    2006-05-25  Timo Schulz  <[email protected]>
523    
524            * wptGPGUtil.cpp (gpg_rebuild_cache): Return error code.
525            * wptGPGME.cpp (winpt_get_seckey): Fix off-by-one bug.
526            * wptVerifyList.cpp (verlist_build): New argument type.
527            Change all callers.
528            (verlist_set_info_control): New.
529            (verlist_set_additional_info): New.
530            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Adjust code.
531            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
532            * wptFileCBS.cpp (read_cb, write_cb): Add logging.
533            
534    2006-05-23  Timo Schulz  <[email protected]>
535    
536            * wptKeyEditDlgs.cpp (do_add_new_userid): Fix re-introduced
537            problem.
538            (keyedit_main_dlg_proc): Popup menu for the user ID list
539            with common commands.
540            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Automatically
541            disable search for ldap servers.
542            Use subkeys.pgp.net by default when no server was selected.
543    
544    2006-05-22  Timo Schulz  <[email protected]>
545    
546            * wptRegistry.cpp (set_reg_winpt_prefs, get_reg_winpt_prefs):
547            Support for the new 'default ext' value.
548            * wptPreferencesDlg.cpp (on_init_dialog): Likewise.
549            (prefs_dlg_proc): Likewise.
550            * wptFileManager.cpp (file_get_extension): Likewise.
551            (get_output_file): Likewise.
552            (fm_export): Likewise.
553            
554    2006-05-20  Timo Schulz  <[email protected]>
555    
556            * wptKeyPropsDlg.cpp (keyprops_load_photo): avoid expensive
557            process call when no photo is available.
558            (keyprops_dlg_proc): avoid static data.
559            * wptFileManager.cpp (fm_add_sig_stat): Free memory in case
560            of on demand key requests.
561            (show_verify_result): Likewise.
562            (secret_key_available): Likewise.
563            (fm_decrypt, fm_sign): Handle the new on demand key request
564            mode and free all memory.
565            
566    2006-05-15  Timo Schulz  <[email protected]>
567    
568            * wptKeyEditDlgs.cpp (userid_list_init): Forgot to
569            apply patch. Thanks to vedaal.
570            
571    2006-05-14  Timo Schulz  <[email protected]>
572    
573            * wptKeyCache.cpp (gpg_keycache_update_attr): Parse
574            preferred keyserver URL.
575            * wptHTTP.cpp (extractHostInfo): Fix segv.
576            * wptGPGUtil.cpp (gpg_find_key_subpacket): Ignore default
577            gpg.conf.
578            * wptKeyserverSearchDlg.cpp (search_hkp_keys): Do not
579            assume an existing user id.
580            * wptPassphraseCB.cpp (passphrase_cb): Automatic cancel
581            if no passphrase is available.
582    
583    2006-05-13  Timo Schulz  <[email protected]>
584    
585            * wpMainProc.cpp (secret_key_available): Move it...
586            * wptGPGME.cpp: ..to this file.
587            (check_ultimate_trusted_key): Handle the case there
588            is no secret key available.
589            * wptFileManagerDlg.cpp (update_ui_items): Improved.
590            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Deactive
591            some functions when no secret key is available.
592            * wptKeyserverSearchDlg.cpp (search_hkp_keys): Adjust
593            code and also display pubkey algorithm.
594            * wptKeyserver.cpp (safe_alloc): New.
595            (count_keys_in_response): New.
596            (parse_pub_record): New.
597            (parse_uid_record): New.
598            (kserver_release_key): New.
599            (kserver_search_begin, kserver_search_next_key):
600            Adjust for the machine readable output. Removed old code.
601            (parse_keyserver_url): New.
602            * wptUtil.cpp (substr): New.
603            * wptKeyManager.cpp (km_refresh_one_key): Properly
604            parse the keyserver URL.
605            
606    2006-05-11  Timo Schulz  <[email protected]>
607    
608            * wptPassphraseCB.cpp (release_gpg_recipients): New.
609            (release_gpg_recipients): Use it here.
610            * wptFileManager.cpp (fm_decrypt): List all recipients.
611            Thanks to vedaal.
612            * wptGPG.cpp (extract_keyid): New.
613            (get_gnupg_default_key): Use it here.
614            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Allow to verify
615            one-pass-sigs again.
616            
617    2006-05-09  Timo Schulz  <[email protected]>
618    
619            * wptKeyRevokersDlg.cpp (revokelist_build): Store key ptr.
620            * wptClipSignDlg.cpp (gpg_clip_sign): Improve error handling.
621            * wptKeysigDlg.cpp (sigprops_dlg_proc): Correct expire date.
622            
623    2006-05-07  Timo Schulz  <[email protected]>
624    
625            * wptKeyserverDlg.cpp (hkp_err_box): Improved.
626            * wptKeyserver.cpp (wsock_strerror): Likewise.
627            * wptKeygenCBDlg.cpp (keygen_cb_dlg_destroy): New param.
628            Change all callers.
629            * wptKeysigDlg.cpp (do_load_keyprops): Correct key update
630            problem.
631            
632    2006-05-06  Timo Schulz  <[email protected]>
633    
634            * wptKeyManagerDlg.cpp (reload_keycache): Use pre-defined
635            sorting order if available.
636            * wptKeyPropsDlg.cpp (key_props_dlg_proc): Use 0x prefix
637            for the key ID.
638            (get_pref_cipher): Differ between the AES algorithm IDs.
639            (key_is_valid): New.
640            * wptKeyserverDlg.cpp (check_pattern): Simplified.
641            
642    2006-05-03  Timo Schulz  <[email protected]>
643    
644            * wptKeyCache.cpp (keycache_prepare2): Fix possible segv.
645            Thanks to Mathias.
646            
647    2006-05-02  Timo Schulz  <[email protected]>
648    
649            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Use a
650            caption for the radio button group.
651            * wptKeyserverDlg.cpp (keyserver_recv_key): Use new code.
652            * wptKeyserver.cpp (kserver_recvkey, finger_recvkey,
653            ldap_recvkey): Avoid fixed buffers.
654            (do_spawn_ldap_helper): New.
655            (ldap_recvkey): Factor out code into helper function.
656            * wptPassphraseCBDlg.cpp (passphrase_callback_proc):
657            Increase width of the list box to make sure even large
658            user IDs will be completly displayed.
659            
660    2006-05-01  Timo Schulz  <[email protected]>
661    
662            * WinPT.cpp (WinMain): Check if the user has admin privileges.
663            * wptW32API.cpp (user_is_admin): New.
664            * wptKeysigDlg.cpp (sigprops_dlg_proc): Cosmetical changes.
665            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Use timer
666            to re-activate the window again.
667            * wptKeylist.cpp (get_key_trust2): Differ between "full"
668            and "ultimate".
669            * wptKeyCache.cpp (keycache_prepare2): Primary user-id
670            has now highest priority.
671            * wptClipDecryptDlg.cpp (clip_decrypt_dlg): Use new utf8
672            system.
673            
674    2006-04-30  Timo Schulz  <[email protected]>
675    
676            * wptKeyCache.cpp (gpg_keycache_release): Release revoker
677            list if needed.
678            * wptKeyRevokersDlg.cpp (key_get_revokers): New.
679            (key_revokers_dlg_proc): Expect winpt_key_t. Change all callers.
680            * wptKeyEditDlgs.cpp (check_desig_rev): New.
681            (do_editkey_minimize): New.
682            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Support to
683            generate a revoc cert as a desig revoker.
684            
685    2006-04-29  Timo Schulz  <[email protected]>
686    
687            * wptVerifyList.cpp (verlist_build): Adjusted code for new
688            list view interface.
689            * wptSigList.cpp (siglist_build): Likewise.
690            * wptKeyEditDlgs.cpp (showpref_dlg_proc): Correct code
691            to display the preferences of the selected UID. Thanks to Mathias.
692            * wptKeyCacheDlg.cpp (keycache_dlg_proc): Return 1 in case
693            of an error.
694            * wptKeyCache.cpp (gpg_keycache_update_key): Always update
695            the utf8 decoded uid list.
696            * wptImportList.cpp (decode_userid): Do utf8 decoding here.
697            * wptListView.cpp (listview_new): New param for HWND handle.
698            Change all callers.
699            * wptFileManager.cpp (fm_add_sig_stat): Use utf8 decoding.
700            * wptGPGUtil.cpp (gpg_revoke_cert): Support --desig-revoker.
701            * wptClipVerifyDlg.cpp (wptClipVerifyDlg.cpp): Correct
702            keyid extraction.
703            
704    2006-04-28  Timo Schulz  <[email protected]>
705    
706            * wptMAPI.cpp (mapi_send_pubkey): Use new key struct.
707            * wptKeysigDlg.cpp (sigprops_dlg_proc): Prepare dialog
708            for handling policy URLs.
709            * wptKeyManagerDlg.cpp (save_column_info, restore_column_info):
710            New option KMSortBy.
711            * wptKeylist.cpp (get_key_algo): Lower priority for revoked keys.
712            * wptKeyEdit.cpp (minimizeKey): New.
713            * wptKeyCache.cpp (gpg_keycache_update_key): Reload utf8 uid list.
714            
715    2006-04-27  Timo Schulz  <[email protected]>
716    
717            * wptKeyManager.cpp (km_get_key_ptr): New.
718            * wptListview.cpp (listview_get_item_text): Drop utf8 support.
719            * wptKeyCache.cpp (keycache_decode_uids): New.
720            (free_native_uids): New.
721            * wptKeyEdit.cpp (uid_inf_colon_handler): Do utf8 decodig here.
722            
723    2006-04-26  Timo Schulz  <[email protected]>
724    
725            * wptKeylist.cpp (get_keyid_from_fpr): New.
726            * wptDecryptClipDlg.cpp (clip_decrypt_dlg): Use it here.
727            * wptVerifyList.cpp (verlist_add_sig): Likewise.
728            
729    2006-04-25  Timo Schulz  <[email protected]>
730    
731            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle IDCANCEL.
732            * wptMDSumDlg.cpp (hash_selected_files): New.
733            (mdsum_dlg_proc): Cleanups.
734            * wptKeysignDlg.cpp (keysign_dlg_proc): Fix segv.
735            
736    2006-04-23  Timo Schulz  <[email protected]>
737    
738            * wptW32API.cpp (SetDlgItemText_utf8): New.
739            (SetWindowText_utf8): New.
740            (GetDlgItemText_utf8): New.
741            * wptListView.cpp (listview_add_sub_item): Internal
742            utf8 support.
743            
744    2006-04-22  Timo Schulz  <[email protected]>
745    
746            * wptKeyEditDlgs.cpp (addrevoker_dlg_proc): Encode
747            revoker name in UTF8.
748            * wptKeysigDlg.cpp (keysig_dlg_proc): Fix utf8 problem
749            with the window title.
750            
751    2006-04-20  Timo Schulz  <[email protected]>
752    
753            * wptUTF8.cpp (native_to_utf8): Use c++ alloc.
754            * wptKeygenDlg.cpp (keygen_dlg_proc): Do not mix c and
755            c++ memory allocation.
756            * wptFileManager.cpp (show_verify_result): Show PKA status
757            if possible.
758            * wptClipVerifyDlg.cpp (get_pka_status): New.
759            (clip_verify_dlg_proc): Show PKA status if possible.
760            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Handle IDCANCEL
761            to use ESC to quit the dialog.
762            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Also
763            encode the comment in UTF8. Thanks to Werner and Jan.
764            
765    2006-04-16  Timo Schulz  <[email protected]>
766    
767            * wptHTTP.cpp (getErrorCode): New.
768            (connect): Store winsock error code.
769            * wptGPGMEData.cpp (is_armor_header): New.
770            * wptGPG.cpp (check_gnupg_engine): Free context.
771            (gnupg_backup_keyrings): Do not use global vars.
772            * wptGPGUtil.cpp (gpg_export_seckey): Export in ascii format.
773            
774    2006-04-15  Timo Schulz  <[email protected]>
775    
776            * wptKeyManager.cpp (km_get_key): New.
777            (km_key_show_revoc_info): New.
778            * wptKeyRevokeDlg.cpp (key_revoke_dlg): Cleanups.
779            (on_init_dialog): New.
780            * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Factour
781            out some common code and use km_get_key() instead.
782            * wptKeyEditDlgs.cpp (do_init_keylist): Change second
783            param type. Change all callers.
784            * wptKeyEdit.cpp (addNotation): New.
785            * wptKeyEditCB.cpp (editkey_command_handler): Remove 'step'
786            param everywhere. Change all callers.
787            
788    2006-04-09  Timo Schulz  <[email protected]>
789    
790            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Only return true
791            if the homedir value was changed.
792            * wptGPG.cpp (default_key_from_cache): Only return secret key
793            if public part is available.
794            (set_gnupg_default_key): Fix NULL problem.
795            * wptKeyEditDlgs.cpp (do_editkey_clean): Set update flag.
796            * wptFileCBS.cpp (write_cb, read_cb): Better error handling.
797            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle
798            'always-on-top' correctly.
799            * wptKeylist.cpp (keylist_get_recipients): Allocate enough
800            mem to hold all possible keys.
801            (keylist_enum_keys): Likewise.
802            
803    2006-04-08  Timo Schulz  <[email protected]>
804    
805            * wptKeylist.cpp (keylist_get_recipients): Always use utf8 output.
806            * wptKeyserver.cpp (kserver_connect): Fixed proxy support.
807            * wptKeyserverSearchDlg.cpp (fetch_keys): New.
808            * WinPT.cpp (WinMain): if the default key was not found, reset
809            the gpg.conf entry.
810            * wptFileManager.cpp (fm_encrypt_into_zip): Use correct output
811            file name.
812            (show_verify_result): Always use utf8 output.
813            (get_output_file): Case in-sentensive comparison.
814            (fm_assume_onepass_sig): Fixed temp file handling.
815            * wptClipEncryptDlg.cpp (show_invalid_recipients): Fix utf8
816            output.
817            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix possible segv.
818            
819    2006-04-07  Timo Schulz  <[email protected]>
820    
821            * wptW32API.cpp (set_clip_text): Change code so it also
822            works again with non-XP systems.
823            
824    2006-04-02  Timo Schulz  <[email protected]>
825    
826            * wptKeyserver.cpp: decrease general threshold for timeout.
827            * wptKeyEditDlgs.cpp (do_editkey_clean): New.
828            
829    2006-04-01  Timo Schulz  <[email protected]>
830    
831            * wptFileVerifyDlg.cpp (file_verify_use_event): Removed.
832            * wptFileManager.cpp (restore_original_name): New.
833            (fm_decrypt): Restore original file name from literal
834            packet if possible.
835            
836    2006-03-31  Timo Schulz  <[email protected]>
837    
838            * wptCommonDlg.cpp (nls_load_langlist): New.
839            (nsl_set_language): New.
840            (nls_dlg_proc): New.
841            (select_language): New. Allow user to select the language.
842            * wptNLS.c (get_gettext_langid): Updated available languages.
843            * WinPT.cpp (WinMain): Allow to select the languag on first
844            start in non-installer environments.
845            * wptVerifyList.cpp (verlist_build): Simplified.
846            (verlist_add_sig_log): Likewise.
847            * wptListview.cpp (listview_set_column_width,
848            listview_get_selected_item): New.
849            * wptKeyManager.cpp (gpg_clip_export): Merged into..
850            (km_clip_export): ..this function.
851            
852    2006-03-30  Timo Schulz  <[email protected]>
853    
854            * wptW32API.cpp (insert_menu_item): New.
855            * wptSigTreeDlg.cpp (create_popup): Use it.
856            (sigtree_dlg_proc): Only show the name of the owner in the title.
857            * wptMainProc.cpp (init_common_controls): Initialize all
858            common controls here.
859            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Drop static
860            keyserver menu concept. Add all keyservers dynamically.
861            
862    2006-03-29  Timo Schulz  <[email protected]>
863    
864            * wptKeyManager.cpp (km_refresh_one_key): Fix problem
865            with preferred keyserver.
866            * wptCommonDlg.cpp (check_URL): Allow non-http URL.
867            * wptKeyEditDlgs.cpp (subkey_subclass_proc,
868            uid_subclass_proc): Disable shortcuts for non keypairs.
869            * wptMainProc.cpp (winpt_main_proc): No user interaction
870            on automatic shutdown. Thanks to Werner.
871            * wptGPGUtil.cpp (xcalloc): New.
872            (gpg_rebuild_cache): Use --batch.
873            
874    2006-03-26  Timo Schulz  <[email protected]>
875    
876            * wptSigTreeDlg.cpp (sigtree_load): Always use UTF8.
877            * wptMainProc.cpp (winpt_main_proc): Reload key cache
878            when the GPG settings were changed.
879            * wptKeygenDlg.cpp (keygen_wizard_dlg_proc,
880            keygen_dlg_proc): Improved check for the email address.
881            * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Likewise.
882            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Modified design.
883            
884    2006-03-22  Timo Schulz  <[email protected]>
885    
886            * wptClipSignDlg.cpp (on_init_dialog): New.
887            Check that there is at least one useable signing key.
888            * wptSigTreeDlg.cpp (sigtree_load): Correct UTF8 handling.
889            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Show error
890            if needed.
891            
892    2006-03-21  Timo Schulz  <[email protected]>
893    
894            * wptUTF8.cpp (native_to_utf8): Use directly W32 API.
895            (utf8_to_native): Likewise. Remove cp850 conversion.
896            * wptKeyEditDlgs.cpp (do_find_userid): Correct UTF8 handling.
897            * wptKeyManager.cpp (km_delete_keys): Do not reset 'with_seckey'
898            flag.
899            
900    2006-03-20  Timo Schulz  <[email protected]>
901    
902            * wptUTF8.cpp (get_native_charset): Removed.
903            (utf8_to_native): Rewritten.
904            * wptKeyEditDlgs.cpp (do_add_new_userid): Correct charset
905            handling.
906            * wptKeygenCBDlg.cpp (keygen_cb): Do proper reset if needed.
907            
908    2006-03-16  Timo Schulz  <[email protected]>
909    
910            * wptMainProc.cpp (winpt_main_proc): Disable all CryptDisk code.
911            * wptCryptDisk.cpp: Disable code.
912            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc): Support for
913            NONE proxy protocol.
914            (init_proxy_procotol): Likewise.
915            (read_proxy): Likewise.
916            * wptKeyserverSearchDlg.cpp (on_init_dialog): New.
917            (keyserver_search_dlg_proc): Use it here.
918            * wptKeyserverDlg.cpp (hkp_send_key): Use GPGME wrapper.
919            * wptKeyserver.cpp (kserver_search_end): New.
920            (kserver_search_begin): Be more strict on mem allocation.
921            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Fix 'redraw'
922            problem.
923            * wptAboutDlgs.cpp (about_dlg_proc): Hide 'Help' button.
924            
925    2006-03-12  Timo Schulz  <[email protected]>
926    
927            * wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'.
928            * wptKeyPropsDlg.cpp (display_key_info): Automatically update
929            sym algorithm preferences if needed.
930            * wptKeysignDlg.cpp (date_is_today): New.
931            (keysign_dlg_proc): Only allow to set cert expire date if
932            the option was found.
933            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set
934            'ask-cert-expire'.
935            
936    2006-03-10  Timo Schulz  <[email protected]>
937    
938            * wptHTTP.c: deleted.
939            * wptHTTP.cpp (wHTTP): Transformed old code into an object.
940            * wptKeyManager.cpp (km_http_import): Use new code.
941            (km_refresh_one_key): Use preferred keyserver if possible.
942            * wptComonDlg.cpp (check_URL): Better conformance checking.
943            * wptKeyEditCB.cpp (cmd_keyserver_handler): By default
944            set keyserver for all userids.
945            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Enable code
946            to set preferred keyserver.
947            * wptKeyCache.cpp (decode_subpacket): New.
948            (gpg_keycache_update_attr): New.
949            * wptGPGUtil.cpp (gpg_find_key_subpacket): New.
950            * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): Use
951            -1 as an index for all userids.
952            
953    2006-03-07  Timo Schulz  <[email protected]>
954    
955            * WinPT.cpp (set_default_keyserver): New.
956            * wptKeyserver.cpp (kserver_set_socket_timeout): New.
957            (kserver_set_default_keyserver): Initialize default settings
958            if needed.
959            * wptSymEnc.cpp (gpg_encrypt_symmetric): Disallow empty passwords.
960            * wptPassphraseDlg.cpp (request_passphrase): Handle new flag.
961            (passphrase_dlg_proc): Support new safe edit window procedure.
962            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
963            * wptPreferencesDlg.cpp (prefs_dlg_proc): Flush passphrase cache
964            if user disable it.
965            * wptKeylist.cpp (keylist_build): Do not scale images but use
966            original size.
967            * wptListView.cpp (listview_set_image_list): New size params.
968            Change all callers.
969            
970    2006-03-01  Timo Schulz  <[email protected]>
971    
972            * wptW32API.cpp (set_clip_text): Free all memory.
973            
974    2006-02-27  Timo Schulz  <[email protected]>
975    
976            * wptSOCKS.cpp (socks_handshake): New.
977            * wptMainProc.cpp (winpt_main_proc): A dbl-click forces
978            the key manager in teh foreground if possible.
979            * wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys.
980            * wptRegistry.cpp (get_reg_proxy_prefs,
981            set_reg_proxy_prefs): Use directly the proxy context.
982            Changed all callers.
983            * wptProxySettingsDlg.cpp (init_proxy_protocols): New.
984            (keyserver_proxy_dlg_proc): Use directly the proxy context.
985            * wptKeyserver.cpp (kserver_connect): Better proxy support.
986            (kserver_send_request, kserver_recvkey_request): Likewise.
987            * wptKeyserverDlg.cpp (name_from_proto): New.
988            (set_proxy): Adjusted for the new code.
989            
990    2006-02-26  Timo Schulz  <[email protected]>
991    
992            * WinPT.cpp (WinMain): Removed hotkey_modify() code.
993            * wptKeyEditDlgs.cpp (is_idea_protect_algo): Better support
994            v4 keys.
995            * wptKeyserver.cpp (sock_getline): Skip '\r'.
996            (base64_encode): Remove @maxlen param. Changed all callers.
997            (finger_readline): Removed.
998            (finger_recvkey): Use internal functions.
999            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Support a context menu.
1000            (show_sigprops): New.
1001            (create_popup): New.
1002            * wptPreferenceDlg.cpp (prefs_dlg_proc): Cache amount is
1003            now in minutes.
1004            * wptRegistry.cpp (get_winpt_reg_prefs, set_winpt_reg_prefs):
1005            Change code to use hotkeys directly.
1006            * wptHotkeys.cpp (hotkeys_enable, hotkey_disable): Likewise.
1007            
1008    2006-02-24  Timo Schulz  <[email protected]>
1009    
1010            * wptGPG.cpp (set_gnupg_default_key): Allow to remove entry
1011            when parameter is NULL.
1012            * wptKeyManager.cpp (check_exist_default_key): New.
1013            (km_delete_keys): Check if the default key is still valid,
1014            if not delete entry.
1015            * wptSigTreeDlg.cpp (sigtree_dlg_proc): Forgot to localize
1016            button.
1017            
1018    2006-02-21  Timo Schulz  <[email protected]>
1019    
1020            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Minor
1021            cleanups.
1022            * wptGPGUtil.cpp (file_extract_recipients): New.
1023            (clip_extract_recipients): New.
1024            (gpg_get_recipients): New.
1025            * wptPassphraseCB.cpp (passphrase_callback_proc): Support
1026            external recipient listings.
1027            
1028    2006-02-15  Timo Schulz  <[email protected]>
1029    
1030            * wptKeysignDlg.cpp (keysign_dlg_proc): Localize new checkbox.
1031            * wptFileStatDlg.cpp (get_s2k_algo): New.
1032            * wptFileManagerDlg.cpp (update_status_bar): Use human readable
1033            formats.
1034            
1035    2006-02-14  Timo Schulz  <[email protected]>
1036    
1037            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Localize 'Cancel'.
1038            * wptKeysignDlg.cpp (keysign_dlg_proc): Implement 'Hide Typing'.
1039            * wptFileManager.cpp (fm_sym_encrypt): Set cancel.
1040            (fm_parse_files): Handle cancel.
1041            
1042    2006-02-10  Timo Schulz  <[email protected]>
1043    
1044            * wptKeyPropsDlg.cpp (props_dlg_proc): Removed unused vars.
1045            * wptKeyEditDlgs.cpp (do_editkey_check): Use winpt_key_t
1046            for the dialog param.
1047            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use new list
1048            signature dialog by default.
1049            * wptKeysigDlg.cpp (sigprops_dlg_proc): Use directly
1050            gpgme_key_sig_t as param.
1051            (keysig_dlg_proc): Change param for property dialog.
1052            * wptSigTreeDlg.cpp (sigtree_load): Skip revoked user-ids
1053            and use icons.
1054            (sigtree_dlg_proc): Allow to execute old list dialog to
1055            edit the signatures.
1056            
1057    2006-02-09  Timo Schulz  <[email protected]>
1058    
1059            * wptRegistry.cpp (set_winpt_reg_prefs): Removed keylist mode.
1060            * wptNLS.c (gettext_localize_dialog): New.
1061            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Add 'Cancel' button
1062            to avoid to reload the key cache.
1063            * wptClipEncryptDlg.cpp (clipenc_dlg_proc): Drop old 'normal'
1064            list mode.
1065            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
1066            * wptPreferencesDlg.cpp (on_init_dialog): New. Move dialog
1067            initiation code to this function.
1068            (prefs_dlg_proc): Use it here.
1069            
1070    2006-02-07  Timo Schulz  <[email protected]>
1071    
1072            * wptKeyEdit.cpp (setNoPassphrase): New.
1073            (getValidDays): New.
1074            * wptKeysignDlg.cpp (keysign_dlg_proc): Check on init
1075            if the key is protected.
1076            * wptKeyEditDlgs.cpp (keyedit_addphoto_dlg_proc): Handle
1077            keys without a passphrase.
1078            (keyedit_addrevoker_dlg_proc): Likewise.
1079            
1080    2006-02-04  Timo Schulz  <[email protected]>
1081    
1082            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for
1083            at least one ultimately trusted key.
1084            * wptKeyManager.cpp (km_refresh_key_from_keyserver):
1085            Only check inet connection if we refresh all keys.
1086            * wptGPGUtil.cpp (gpg_extract_keys): New.
1087            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode.
1088            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
1089            * wptClipSignDlg.cpp (get_selected_key): New.
1090            (one_key_proc): Use it here.
1091            (count_useable_seckeys): New.
1092            * wptSigTreeDlg.cpp (sigtree_dlg_proc): New.
1093            * wptKeyEditDlgs.cpp (diff_time): Removed.
1094            (w32_mktime): New.
1095            (keyedit_addsubkey_dlg_proc): Use it here.
1096            
1097    2006-02-02  Timo Schulz  <[email protected]>
1098    
1099            * wptW32API.cpp (get_temp_name): New.
1100            * wptKeyserver.cpp (ldap_recvkey): Use it here.
1101            * wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise.
1102            * wptGPGUtil.cpp (create_tempfile): Likewise.
1103            * wptImportList.cpp (implist_load): Likewise.
1104            * wptKeyCache.cpp (parse_attr_data): Likewise.
1105            (w32_tempfile): Removed.
1106            * wptGPGME.cpp (check_ultimate_trusted_key): New.
1107            
1108    2006-01-31  Timo Schulz  <[email protected]>
1109    
1110            * wptMainProc.cpp (winpt_main_proc): Fix usage of the
1111            help system.
1112            * wptListView.cpp (listview_set_chkbox_style): New.
1113            (listview_get_item_state): Support new checkbox style.
1114            (listview_new): Reset flag var.
1115            * wptKeylist.cpp (keylist_build): Support new checkbox style.
1116            
1117    2006-01-30  Timo Schulz  <[email protected]>
1118    
1119            * WinPT.cpp (check_readonly_attr): New.
1120            (load_gpg_env): Use it here.
1121            (WinPT): Make the the default key is searched in the
1122            secret key cache.
1123            Change error message.
1124            * wptRegistry.cpp (regist_int_winpt): Make sure
1125            the register extension is only offered once to the user.
1126            * wptKeyPropsDlg.cpp (get_photo_tmpname): Always use
1127            temp directory. Fixed a privilege problem.
1128            
1129    2006-01-29  Timo Schulz  <[email protected]>
1130    
1131            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Allow to use ESC
1132            to quit dialog.
1133            * wptKeysignDlg.cpp (sig_class_dlg_proc): More space for
1134            translations. Directly return sig class.
1135            (keysign_dlg_proc): Change msgbox title.
1136            * wptKeyEdit.cpp (signUserid): New.
1137            (getUseridIndex): New.
1138            (getKeyIndex): New.
1139            (getSigIndex): New.
1140            (clear): New.
1141            * wptKeyEditCB.cpp (cmd_sign_handler): Allow to select
1142            user-id first.
1143            * wptKeyEditDlgs.cpp (lookup_cmd): New.
1144            (do_editkey_sign_userid): New.
1145            (do_init_cmdlist): Differ between key pairs and public keys
1146            and allowed actions.
1147            (keyedit_change_ownertrust): Show msgbox on success.
1148            (get_default_key): New.
1149            * wptPassphraseDlg.cpp (request_passphrase): Reset @cancel.
1150            
1151    2006-01-27  Timo Schulz  <[email protected]>
1152    
1153            * WinPT.cpp (WinMain): Set minimal list mode as default.
1154            * wptKeyCache.cpp (gpg_keycache_sync): Handle special v3 keys.
1155            
1156    2006-01-25  Timo Schulz  <[email protected]>
1157    
1158            * wptRegistry.cpp (get_reg_entry_gpg): Return NULL if
1159            the key exist with no value.
1160            * wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string.
1161            * wptKeysignDlg.cpp (do_fill_seclist): Select the
1162            default key if possible.
1163            * wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly
1164            return the choice.
1165            * wptKeylist.cpp (get_key_desc): New.
1166            (keylist_upd_key): Free memory.
1167            * wptKeyCache.cpp (gpg_keycache_get_default_key): New.
1168            (gpg_keycache_set_default_key): New.
1169            * WinPT.cpp (gpg_prefs_ok): New.
1170            (WinMain): Only start gpg prefs if needed.
1171            
1172    2006-01-24  Timo Schulz  <[email protected]>
1173    
1174            * wptKeyManager.cpp (km_dropped_file_import): New.
1175            * wptKeyManagerDlg.cpp (keylist_subclass_proc): Allow
1176            to drop files and try to import them.
1177            (keymanager_dlg_proc): Pass kmi as opaque to the subclass
1178            proc.
1179            
1180    2006-01-23  Timo Schulz  <[email protected]>
1181    
1182            * wptMDSumDlg.cpp (mdsum_dlg_proc): Allow to send output
1183            to the clipboard.
1184            * wptKeyEditDlgs.cpp (keyedit_change_ownertrust): New.
1185            (do_editkey_enable_disable): New.
1186            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Usability fix. Do not
1187            close the dialog if the user cancelled the ownertrust dialog.
1188            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Return TRUE to indicate
1189            an update of any value.
1190            
1191    2006-01-21  Timo Schulz  <[email protected]>
1192    
1193            * wptKeyCache.cpp (keycache_next_key): Handle the case
1194            that there is a secret key without a public part.
1195            * wptKeyserver.cpp (kserver_save_conf): Save ports.
1196            * wptKeyserverDlg.cpp (keyserver_modify_dlg_proc):
1197            Reset keyserver name.
1198            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate
1199            an update, do not update the cache.
1200            * wptFileManagerDlg.cpp (file_import_dlg_proc): Use one
1201            dialog for both clipboard and file imports.
1202            * wptKeyManager.cpp (km_file_import, km_clip_import):
1203            Changes to support new update system.
1204            (gpg_clip_import): New.
1205            * wptKeyManagerDlg.cpp (km_gui_import): New.
1206            (find_keypos): Rewritten.
1207            (refresh_keylist): Improved error checking.
1208            
1209    2006-01-20  Timo Schulz  <[email protected]>
1210    
1211            * wptKeyCache.cpp (w32_tmpfile): New.
1212            (parse_attr_data): Use it here.
1213            * wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var.
1214            
1215    2006-01-19  Timo Schulz  <[email protected]>
1216    
1217            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not
1218            reload the entire cache, just update the key.
1219            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise.
1220            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag.
1221            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1222            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
1223            if need after showing the properties.
1224            * wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
1225            * wptKeyManager.cpp (km_import_file): New param. Changed
1226            all callers.
1227            (km_import_clip): Likewise.
1228            (delete_keys_from_cache): Delete secret part if available.
1229            * wptClipImportDlg.cpp (print_import_status): If there
1230            are too many new keys, use reload code.
1231            
1232    2006-01-18  Timo Schulz  <[email protected]>
1233    
1234            * wptKeyEditCB.cpp (cmd_delsig_handler): Do not assume
1235            the self sig is always index 0. Noted by Kurt.
1236            * wptPassphraseCB.cpp (passphrase_dlg_proc): Do not assume
1237            the key user-ID contains an email address.
1238            * wptKeyEditDlgs.cpp (do_find_userid): Likewise.
1239            (do_editkey_deluid): Likewise.
1240            (do_editkey_revuid): Likewise.
1241            
1242    2006-01-18  Timo Schulz  <[email protected]>
1243    
1244            * wptListview.cpp (listview_del_sel_items): Fixed index
1245            calculation. This fixed a lot of problems with the KM listview
1246            update.
1247            (listview_del_all): Renamed to...
1248            (listview_del_all_items): ..this. Changed all callers.
1249            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh
1250            list when file import contained new/updated keys.
1251            * wptKeyManager.cpp (km_file_import): Indicate if the
1252            import contained any new/update keys.
1253            * wptClipImportDlg.cpp (print_import_status): Just mark
1254            keys which actually changed.
1255            
1256    2006-01-17  Timo Schulz  <[email protected]>
1257    
1258            * wptMAPI.cpp (mapi_send_pubkey_ext): New.
1259            * wptKeysigDlg.cpp (do_delsig): Just flag the key, do not
1260            update it.
1261            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Be more
1262            careful about const pointers.
1263            * wptKeyEditDlgs.cpp (get_subkey_fingerprint): Renamed to..
1264            (get_subkey_keyid): ..this. Fix problem that key was updated
1265            twice and this corrupted.
1266            (keyedit_add_subkey): Set @lv item in the callback context.
1267            
1268    2006-01-16  Timo Schulz  <[email protected]>
1269    
1270            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Restore
1271            window if it lost focus during the operation. Thanks to Kurt.
1272            Update keylist when the window is enabled.
1273            (find_keypos): New.
1274            * wptKeyCache.cpp (keycache_next_key): Reset update status.
1275            (gpg_keycache_next_updated_key): New arg @r_status. Change all
1276            callers.
1277            (gpg_keycache_update_key): Different status for new and updated.
1278            Include key signatures.
1279            * wptClipImportDlg.cpp (print_import_status): Mark all
1280            imported keys.
1281            * wptMainProc.cpp (clip_gpg_dlg): On import refresh KM keylist.
1282            Thanks to Kurt.
1283            * wptKeysigDlg.cpp (recv_missing_keys): Mark all received keys.
1284            (do_delsig): Directly reload key. Thanks to Kurt.
1285            * wptGPGME.cpp (keycache_set_reload, keycache_get_reload):
1286            Removed.
1287            * wptKeygenDlg.cpp (keygen_dlg_proc): Use new update system.
1288            * wptClipImportDlg.cpp (clip_import_dlg_proc): Return
1289            FALSE if no keys were updated or operation was cancelled.
1290            * wptCommonDlg.cpp (http_dlg_proc): Fix title selection code.
1291            * wptKeylist.cpp (get_ext_validity): Handle disabled keys.
1292            * wptKeyPropsDlg.cpp (keyprops_dlg_proc):
1293            Do not allow to change ownertrust of invalid keys.
1294            Changed translation.
1295            Slightly different user interface.
1296            
1297    2006-11-14  Timo Schulz  <[email protected]>
1298    
1299            * wptW32API.cpp (make_special_filename): New.
1300            * wptRegistry.cpp (set_winpt_reg_prefs, get_winpt_reg_prefs):
1301            Removed 'KeyServer' item.
1302            * wptPreferencesDlg.cpp (prefs_dlg_proc): Remove keyserver
1303            config item.
1304            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Disable group
1305            window until we really use it.
1306            * wptKeyserver.cpp (kserver_save_conf): New.
1307            (wsock_end): Save keyserver config file.
1308            * wptKeyserverDlg.cpp (keyserver_edit): New.
1309            (keyserver_remove): New.
1310            (keyserver_add): New.
1311            (fill_keyserv_types): New.
1312            (keyserver_modify_dlg_proc): New.
1313            (keyserver_dlg_proc): Provide context menu to modify the
1314            keyserver list.
1315            (keyserver_build_list): Remove 'proto' column because it is
1316            not really useful.
1317            * WinPT.cpp (load_keyserver_conf): Store keyserver.conf at
1318            $APPDATA\winpt. If keyserver.conf exists in the current folder
1319            move it to the new destination.
1320            
1321    2006-11-13  Timo Schulz  <[email protected]>
1322    
1323            * wptPreferencesDlg.cpp (prefs_dlg_proc): Changed translation.
1324            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Likewise.
1325            * wptAboutDlgs.cpp (about_dlg_proc): Make sure GPG about
1326            dialog isn't shown twice.
1327            * wptKeyCache.cpp (gpg_keycache_next_updated_key): New.
1328            (gpg_keycache_update_key): Set update flag.
1329            * wptKeyManagerDlg.cpp (refresh_keylist): New.
1330            (keymanager_dlg_proc): Use new refresh system for keyservers.
1331            * wptKeyserverSearchDlg.cpp (kserver_search_dlg_proc):
1332            Update keycache.
1333            * wptKeyserverDlg.cpp (hkp_dlg_proc): Likewise.
1334            * wptKeyserver.cpp (socket_read_ext): New.
1335            (kserver_recv_key_ext): New.
1336            (kserver_read_config, kserver_write_config): Removed.
1337            
1338    2006-01-12  Timo Schulz  <[email protected]>
1339    
1340            * wptListView.cpp (listview_set_image_list): Make icons
1341            always transparent.
1342            * wptImageList.cpp (imagelist_load): New icons.
1343            * wptGPGMEData.cpp (gpg_data_putc): New.
1344            * wptKeyManagerDlg.cpp (load_toolbar): Include new icons.
1345            (keymanager_dlg_proc): Add tooltips.
1346            * wptKeyserverDlg.cpp (keyserver_list_build): Use icons.
1347            * wptKeyserver.cpp (URL_encode): New.
1348            (URL_must_encode): New.
1349            (kserver_search_init): Properly encode pattern.
1350            (parse_iso_date): New.
1351            (keyserver_search): Be more strict to prevent buffer overflows.
1352            
1353    2006-01-11  Timo Schulz  <[email protected]>
1354    
1355            * wptKeyManagerDlg.cpp (load_toolbar): 2 new icons.
1356            (keymanager_dlg_proc): Adjust tooltips.
1357            (update_ui_items): Handle new icons.
1358            * wptImageList.cpp (imagelist_load): New icons.
1359            
1360    2006-01-10  Timo Schulz  <[email protected]>
1361    
1362            * wptMainProc.cpp (winpt_main_proc): Restore iconic
1363            File/Key Manager windows if needed.
1364            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button.
1365            * wptSiglist.cpp (init_cmp): New.
1366            (siglist_sort): New.
1367            (siglist_cmp_cb): New.
1368            (siglist_add_key): Force NOKEY status when key was not found.
1369            * wptKeysigDlg.cpp (recv_single_key): New.
1370            (recv_missing_keys): Reload entire key when more than one key
1371            was fetched.
1372            (keysig_dlg_proc): Support sorting the listview items.
1373            
1374    2006-01-09  Timo Schulz  <[email protected]>
1375    
1376            * WinPT.cpp (load_gettext): Remove file locking.
1377            (WinMain): Use pre-defined autoconf constants.
1378            * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
1379            * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
1380            Change all callers.
1381            
1382    2006-01-07  Timo Schulz  <[email protected]>
1383    
1384            * wptKeyManager.cpp (km_refresh_from_keyserver): Summarize
1385            import status if just one key was selected.
1386    
1387    2006-01-04  Timo Schulz  <[email protected]>
1388    
1389            * wptGPGMEWrapper.c (setChangeVersion): New.
1390            (exportToBuffer, exportToFile, exportToClipboard): New.
1391            (setArmor, getArmor): New.
1392            * wptKeylist.cpp (get_key_expire_date): Return locale specific
1393            date.
1394            (keylist_get_recipients): Do not fetch the key again.
1395            (keylist_enum_recipients): Likewise.
1396            * wptGPG.cpp (create_empty_keyring): New.
1397            (get_gnupg_keyring): Fixed 'strict' logic.
1398            * wptKeyManagerDlg.cpp (update_ui_items): Disable some buttons
1399            when no secret keys are available.
1400            * wptKeyManager.cpp (km_send_to_mail_recipient): Release key data
1401            before the MAPI call is made.
1402            * WinPT.cpp (check_for_empty_keyrings): New.
1403            
1404    2006-01-03  Timo Schulz  <[email protected]>
1405    
1406            * pubkey.ico, keypair.ico: New.
1407            * wptListview.cpp (listview_add_item_image): New.
1408            (listview_set_image_list): New.
1409            * wptSigList.cpp (siglist_add_key): Correct order of the sigs.
1410            * wptKeyProps.cpp (keyprops_load_photo): Adjusted for new
1411            JPEG data.
1412            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not allow to
1413            add items to revoked keys.
1414            * wptKeyManager.cpp (km_delete_keys): Do not use uninitialized
1415            keyid buffer. This fixes a segv.
1416            * wptKeyserver.cpp (spawn_application): New.
1417            (ldap_recv_key): Support recent protocols and several cleanups.
1418            * wptKeylist.cpp (do_addkey): Set image which depends on the
1419            key type.
1420            (keylist_enum_recipients): Cleanups.
1421            (keylist_get_keyflags): Rewritten.
1422            * wptKeyCache.cpp (free_attr_list): New.
1423            (parse_attr_list): New.
1424            (parse_attr_data): New.
1425            (keycache_update_photo): New.
1426            (keycache_update_photos): New.
1427            (gpg_keycache_update_key): Automatically reload photos if needed.
1428            * wptGPGUtil.cpp (create_process): New param @err. Change all
1429            callers.
1430            (map_tmpfile): New param @nread. Change all callers.
1431            (gpg_get_photoid_data): New.
1432            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not allow to
1433            add items to revoked keys.
1434            (subkey_init_list): Store gpgme key object.
1435            
1436    2005-12-29  Timo Schulz  <[email protected]>
1437    
1438            * wptKeygenDlg.cpp (keygen_dlg_proc): Request passphrase dynamically.
1439            (gpg_genkey_params): Simplified.
1440            * wptPreferencesDlg.cpp (prefs_dlg_proc): Fix problem with mutal
1441            exclusion of the dialog items.
1442            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Allow to use ESC to
1443            quit the dialog.
1444            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1445            * wptMDSumDlg.cpp (mdsum_dlg_proc): Handle WM_SYSCOMMAND.
1446            (id2algo): New.
1447    
1448    2005-12-28  Timo Schulz  <[email protected]>
1449    
1450            * wptKeyserverDlg.cpp (show_imported_keys): Decode user IDs.
1451            * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
1452            * wptKeylist.cpp (keylist_udp_key): Likewise.
1453            * wptKeyManager.cpp (key_get_clip_info, key_get_info): Likewise.
1454            * wptClipDecryptDlg.cpp (clip_decrypt_dlg_proc): Fix problem
1455            when no signing key was found.
1456            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Properly decode
1457            user IDs.
1458            (translate_popup_strings): s/Revoke/Revoke Cert.
1459            * wptKeyEditDlgs.cpp (do_init_keylist): Do not assume a
1460            0x prefixed keyid.
1461            * wptKeyEditCB.cpp (editkey_command_handler): Also reset
1462            step in case of a bad passphrase.
1463            
1464    2005-12-27  Timo Schulz  <[email protected]>
1465    
1466            * wptListView.cpp (listview_set_view): New.
1467            (listview_del_column): New.
1468            * wptW32API.cpp (get_locale_date): New.
1469            (get_menu_state): New.
1470            (force_foreground_window): New.
1471            * wptVerifyList.cpp (strtimestamp): Support for
1472            locale date formats.
1473            * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
1474            passphrases.
1475            * wptKeyEditCB.cpp (editkey_command_handler): Immediately
1476            return when a bad passphrase was submitted.
1477            * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
1478            column order.
1479            * wptKeylist.cpp (keylist_upd_col): New.
1480            * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
1481            'Revocation' for public keys.
1482            (translate_menu_strings): s/Revoke/Revoke Cert.
1483            (modify_listview_columns): New.
1484            
1485    2005-12-18  Timo Schulz  <[email protected]>
1486    
1487            * wptKeyManagerDlg.cpp (save_column_size): New.
1488            (restore_column_size): New.
1489            (keymanager_dlg_proc): Save and restore column sizes for
1490            the listview control.
1491            * wptKeyManager.cpp (key_get_info): New.
1492            (km_delete_keys): Use it here to have a consistent message.
1493            Use stored key context and not the column data.
1494            (km_enable_disable_key): Likewise.
1495            (km_send_to_keyserver): Likewise.
1496            (km_set_implicit_trust): Likewise.
1497            * wptKeylist.cpp (get_key_pubalgo2): New.
1498            
1499    2005-12-17  Timo Schulz  <[email protected]>
1500    
1501            * wptUTF8.cpp: Removed unused charset array.
1502            * wptSigList.cpp (siglist_build): Increase size for 'class'
1503            column.
1504            * wptGPG.cpp (get_gnupg_path): Simplified.
1505            * WinPT.cpp (load_gpg_env): New.
1506            (check_crypto_engine): Return type is now bool.
1507            * wptRegistry.cpp (is_gpg4win_installed): New.
1508            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): More consistent
1509            dialog design.
1510            * wptKeyManagerDlg.cpp (translate_menu_strings): New.
1511            (translate_popupmenu_strings): New.
1512            * wptKeyEditDlgs.cpp (is_jpg_file): New.
1513            
1514    2005-12-13  Timo Schulz  <[email protected]>
1515    
1516            * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
1517            * wptKeyManagerDlg.cpp (change_edit_menu): New.
1518            (change_key_menu): Renamed from...
1519            (menu_gpg_readonly): ..this.
1520            (clip_contains_pgpkey): New.
1521            (update_ui_items): Do not allow to sign expired keys.
1522            (keymanager_dlg_proc): Same for popup menu.
1523            * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
1524            * wptKeyCache.cpp (copy_uid_prefs):
1525            (gpg_keycache_sync): Copy uid prefs so the key property
1526            dialog show the correct values. Thanks to Shane.
1527            
1528    2005-12-11  Timo Schulz  <[email protected]>
1529    
1530            * wptW32API.cpp (get_file_version): New.
1531            * wptGPGUtil.cpp (create_process): Always hide window.
1532            * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
1533            instead of 'Exit'.
1534            * wptKeyManager.cpp (km_http_import): New filename
1535            generation code.
1536            (km_send_to_mail_recipient): Cleanups.
1537            * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
1538            * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
1539            when multiple keys are selected.
1540            (popup_multiple): New.
1541            * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
1542            file versions are equal. Rewrote --keymanager code.
1543            
1544    2005-12-08  Timo Schulz  <[email protected]>
1545    
1546            * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
1547            (hkp_recv_key2): Show user-id of the imported key instead
1548            of just the pattern.
1549            * wptFileCBS.cpp (read_cb): Changed to W32 API.
1550            (write_cb): Likewise. Create output file on demand.
1551            (gpg_file_data_new): Adjusted code for new API.
1552            * wptKeyEdit.cpp (cleanKey): New.
1553            * wptKeyEditCB.cpp (cmd_clean_handler): New.
1554            (editkey_command_handler): Call clean handler.
1555            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
1556            keylist after inserting items.
1557            * wptFileManager.cpp (fm_set_status): Take care of
1558            cleartext sigs.
1559            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
1560            sure can be closed.
1561            
1562    2005-12-07  Timo Schulz  <[email protected]>
1563    
1564            * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
1565            Use 'Close' instead of 'Exit'.
1566            * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
1567            * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
1568            as the destination dir. Thanks to Werner.
1569            * wptRegistry.cpp (is_gpgee_installed): New.
1570            (regist_inst_winpt): Do not register file extensions
1571            if GPGee is available.
1572            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
1573            use of local vars.
1574            * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
1575            no illegal backup mode is saved.
1576            * wptKeyserverDlg.cpp (show_imported_key): New.
1577            (hkp_recv_key2): Show imported keys if the blob
1578            contained more than one.
1579            
1580    2005-12-06  Timo Schulz  <[email protected]>
1581    
1582            * WinPT.cpp (WinMain): Load the gettext environment soon
1583            as possible so all 'first start' messages are localized.
1584            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
1585            received via the keyserver, return the gpgme key context on
1586            success and add it directly to the list.
1587            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
1588            to store the key.
1589            (hkp_recv_key2): Add extra param for the fingerprint.
1590            (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
1591            
1592    2005-12-02  Werner Koch  <[email protected]>
1593    
1594            * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
1595    
1596    2005-12-01  Timo Schulz  <[email protected]>
1597    
1598            * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
1599            for get_gpg_sigstat().
1600            * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
1601            As a macro strings will not be translated at runtime.
1602            * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
1603            need to update the cache. Thanks to Jan-Oliver.
1604            * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
1605            
1606    2005-11-30  Timo Schulz  <[email protected]>
1607    
1608            * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
1609            * WinPT-en.rc: Removed string list.
1610            * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
1611            * wptKeylist.cpp (keylist_build): Cannot use global
1612            arrays for the columns due to gettext.
1613            
1614    2005-11-29  Timo Schulz  <[email protected]>
1615    
1616            * WinPT.cpp (WinMain): Modify --keymanager. If an instance
1617            is running, just send the command to open the manager.
1618            
1619    2005-11-25  Timo Schulz  <[email protected]>
1620    
1621            * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
1622            process when the revoker is already there.
1623            
1624    2005-11-24  Timo Schulz  <[email protected]>
1625    
1626            * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
1627            signing dialog items.
1628            * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
1629            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
1630            * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
1631            * wptKeylist.cpp (key_check_validity): Likewise.
1632            * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
1633            
1634    2005-11-22  Timo Schulz  <[email protected]>
1635    
1636            * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
1637            macro debug output will be generated in release version.
1638            
1639    2005-11-21  Timo Schulz  <[email protected]>
1640    
1641            * WinPT.cpp (WinMain): Implement --stop switch.
1642            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
1643            missing string.
1644            * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
1645            * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
1646            first. Thanks to Ralf.
1647            * wptFileManagerDlg.cpp (update_ui_items): New.
1648            * wptFileManager.cpp (fm_set_status): New sigmode param.
1649            Changed all callers.
1650            
1651    2005-11-17  Timo Schulz  <[email protected]>
1652    
1653            * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
1654            the cache will be loaded twice.
1655            * wptRegistry.cpp (regist_inst_winpt): More comments.
1656            * wptKeyManagerDlg.cpp (do_center_window): Make sure that
1657            neg. coordinates are never used.
1658            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
1659            strings.
1660            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
1661            * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
1662            and save 'AlwaysOnTop' in the registry.
1663            
1664    2005-11-16  Timo Schulz  <[email protected]>
1665    
1666            * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
1667            * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
1668            mode.
1669            * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
1670            * wptRegistry.cpp (regist_inst_winpt): Set install directory.
1671            Useful for other programs to figure out the path to the EXE.
1672            
1673    2005-11-14  Timo Schulz  <[email protected]>
1674    
1675            * wptGPG.cpp (check_gnupg_engine): Fix version check.
1676            * wptMainProc.cpp (winpt_main_proc): Check keyring
1677            file permissions always and do not use interative output
1678            when the windows session ends.
1679            * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
1680            Localize all strings.
1681            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
1682            * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
1683            * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
1684            non-valid keys.
1685            
1686    2005-11-12  Timo Schulz  <[email protected]>
1687    
1688            Fix more GCC warnings.
1689    
1690    2005-11-10  Timo Schulz  <[email protected]>
1691    
1692            * wptClipSignDlg.cpp (one_key_proc): Use
1693            release_gpg_passphrase_cb() to free the context.
1694            * wptListView.cpp (listview_deselect_all): New.
1695            * wptMAPI.cpp (mapi_send_pubkey): Works again.
1696            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
1697            zip.    
1698            * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
1699            caching for signing operations.
1700            * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
1701            * wptFileManager.cpp (fm_send_file): Likewise.
1702            (fm_encrypt_into_zip): New.      
1703            
1704    2005-11-09  Timo Schulz  <[email protected]>
1705    
1706            * wptNLS.c (get_gettext_langid): Map user language id to
1707            printable gettext language strings.
1708            * wptRegistry.cpp (get_reg_entry_mo): Support for the
1709            gettext environment.
1710            * wptFileManager.cpp (fm_encrypt): Close all files before
1711            the wipe procedure is called.
1712            * wptVerlist.cpp (verlist_add_sig): Handle the case the
1713            issuer is not valid but the signature is.
1714            (verlist_add_sig_log): Likewise. Thanks to the folks on
1715            winpt-users.
1716            
1717    2005-11-08  Werner Koch  <[email protected]>
1718    
1719            * SAFE.ICO, SIGN.ICO: Fixed capitalization.
1720            * WinPT-en.rc: Ditto.
1721            * winpt_km.ico:  Moved from ../.
1722    
1723            * Makefile.am (resource_files): Add missing backslash.
1724    
1725    2005-11-08  Timo Schulz  <[email protected]>
1726    
1727            More minor changes to avoid GCC warnings.
1728            
1729            * wptGPG.cpp (check_homedir): Free memory in case of errors.
1730            (multi_gnupg_path): Add strict mode. If non-strict mode return
1731            the folder even if it does not exist.
1732            (check_for_gpgwin): New.
1733            * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
1734            initialized.
1735            * wptRegistry.cpp (get_reg_entry_gpg4win): New.
1736            (get_reg_entry_mo): Support for gpg4win.
1737            
1738    2005-11-07  Timo Schulz  <[email protected]>
1739    
1740            * wptMainProc.cpp (winpt_main_proc): Disable
1741            some menu items when no secret key is available.
1742            
1743    2005-11-05  Timo Schulz  <[email protected]>
1744    
1745            More minor changes to avoid GCC warnings.
1746            
1747            * wptErrors.cp (winpt_strerror): Return w32
1748            formatted error and do not use 'break'.
1749            
1750    2005-11-04  Werner Koch  <[email protected]>
1751    
1752            * WinPT-en.rc: Fixed locations of icons.
1753    
1754    2005-11-03  Timo Schulz  <[email protected]>
1755    
1756            A lot of minor changes to avoid GCC warnings.
1757    
1758            * wptGPG.cpp (get_gnupg_keyring): Only check size for
1759            public keyring.
1760            * wptKeyManager.cpp (km_update_default_key_str): Do
1761            not issue a bug message when no secret key was found.
1762            * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
1763            
1764    2005-11-02  Werner Koch  <[email protected]>
1765    
1766            * WinPT.cpp (WinMain): Disabled PTD version tests.
1767            (check_crypto_engine): Fixed version check for scard.
1768    
1769            * wptErrors.cpp (debug_end): Add dummy function.
1770    
1771            * Makefile.am (code_files): Added wptCardEditCB.cpp and
1772            wptKeyEditCB.cpp.
1773    
1774    2005-10-31  Werner Koch  <[email protected]>
1775    
1776            * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
1777            functions.
1778    
1779            * wptKeyEditDlgs.cpp: Include oleauto.h
1780            * wptKeyEdit.cpp: Include time.h.
1781            * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
1782            * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
1783    
1784            * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
1785            wptKeyEdit.cpp and wptKeycache.cpp.
1786    
1787            * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
1788            * wptImportList.cpp (implist_load): Use remove and not unlink.
1789            * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
1790            * wptImportList.cpp (implist_load): Use remove and not unlink.
1791            * wptKeyManager.cpp (km_http_import): Ditto
1792            * wptMainProc.cpp: Include wptCrypto.h
1793            * wptKeyManager.cpp: Ditto.
1794            * wptFileManager.cpp: Ditto.
1795            * wptImportList.cpp (parse_colon_key): Need to cast argument for
1796            isdigit.  Include ctype.h.
1797            * wptGPG.cpp: Include shlobj.h.
1798    
1799            Fixed double inclusion of windows.h.
1800            
1801            * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
1802            * wptKeylist.cpp (get_key_created): Broke up trigraph.
1803            (get_key_status): Removed dangerous use of sprintf.  Still other
1804            flaws present, see comment.
1805    
1806            * wptCardPCSC.c: Don't include winscard.h.
1807            (pcsc_readerstate_t, pcsc_context_t): New.  Changed call users to
1808            use these types.
1809            (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
1810            (SCARD_S_SUCCESS): Changed all compares to test the value directly
1811            against zero.
1812    
1813            * WinPT.cpp: Include wptCrypto.h.
1814            (WinMain): Don't shard S. Removed usunsed variable SIZE.
1815            * Makefile.am (code_files): Actually add files by adding a first
1816            backslash.
1817            * wptMDSumDlg.cpp: Include wptCrypto.h.
1818            * wptProxySettingsDlg.cpp: Included ctype.h.
1819            * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
1820            * wptKeysignDlg.cpp: Ditto
1821            * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
1822            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
1823            Removed unused variable.
1824            * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
1825            silly c++ operator synonyms.
1826            * wptKeyEditDlgs.cpp: Include time.h.
1827            * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
1828            * wptFileManagerDlg.cpp: Ditto.
1829            (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
1830            matter if it does an rmdir for a directory.
1831    
1832            Fixed include of resource.h which is not anymore in the top
1833            directory.
1834    
1835    2005-10-28  Werner Koch  <[email protected]>
1836    
1837            * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
1838            unsigned.  Never ever use a possible signed char as argument for
1839            ctype tests.  An alternative is to first test using isascii ().
1840            (keyserver_proxy_dlg_proc): Removed unused variable.
1841    
1842    2005-10-27  Timo Schulz  <[email protected]>
1843    
1844            * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
1845            * wptKeylist.cpp (keylist_add_key): Check global key flag to
1846            see if the key is disabled and not each subkey.
1847            (seclist_init): Likewise.
1848            * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
1849            gpgme_op_decrypt_verify.
1850            (clip_decrypt_dlg_proc): Fixed fingerprint
1851            to keyid conversation. This also fixes a crash.
1852            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
1853            * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
1854            already expired if the user wants to change the date.
1855            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
1856            'v3 sig' option with the 'ask cert level' option. Sync
1857            with global preferences.
1858            * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
1859            gpg.conf contains 'ask-cert-level'. If not disable button.
1860            * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
1861            the button when the key is available.
1862            Reload key directly, not the entire cache.
1863            
1864    2005-10-26  Timo Schulz  <[email protected]>
1865    
1866            * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
1867            possible overflow.
1868            (is_openpgp_ext): Compare case insentensive.
1869            (add_single_file): New.
1870            (fm_add_opened_files): Support multi file selection.
1871            * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
1872            * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
1873            reload flag. Just update the single key.
1874            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
1875            and disable anonymize recipient for now.
1876    
1877            Begin to port code to GCC. Fix all warning issued by the gcc
1878            compiler.
1879    
1880    2005-10-25  Timo Schulz  <[email protected]>
1881    
1882            * wptGPGUtil.cpp (create_process): Hide window.
1883            * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
1884            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
1885            static var 'enable'.
1886            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
1887            (gpg_genkey_params): Make sure all primary keys are capable
1888            for signing and certification.
1889            * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
1890            * wptGPG.cpp (gnupg_access_keyring): Check return value for
1891            NULL. Noted by Ralf.
1892            (get_gnupg_prog): Simplified.
1893            (check_homedir): Fixed. Return 0 when the dir is successfully created.
1894            * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
1895            indicate a pending GPG process.
1896            * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
1897            and and of an operation. For now just the cursor changes.
1898            (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
1899            * WinPT.cpp (WinMain): Check if there is already an instance and
1900            set a variable early as possible.
1901            (load_gettext): If a previous instance was found, do not output
1902            any errors. Kudos to Ralf.      
1903    
1904    2005-10-24  Timo Schulz  <[email protected]>
1905    
1906            * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use
1907            pre-defined recipients.
1908            (release_gpg_passphrase_cb): Release recipients.
1909            * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id
1910            validity if needed.
1911            (keyprops_dlg_proc): Issue a warning if the photo is valid.
1912    
1913    2005-10-23  Timo Schulz  <[email protected]>
1914    
1915            * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.  
1916            * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
1917            (get_ext_validity): New.
1918            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
1919            * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
1920            this function.
1921            (load_clipboard_from_file): Likewise.
1922            (save_clipboard_to_file): New.
1923            * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.
1924    
1925    2005-10-22  Timo Schulz  <[email protected]>
1926    
1927            Localized a lot of more strings.
1928    
1929            * wptMainProc.cpp (load_smartcard): New.
1930            * wptFileManager.cpp (fm_parse_command_line): Simplify code.
1931            (fm_check_armor_type): Add new arg. Change all callers.
1932            (fm_get_file_type): Likewise.
1933            * wptKeyPropsDlg.cpp (display_key_info): New.  
1934            (keyprops_show_photo): Factored out some code into..
1935            (keyprops_load_photo): ..this function.
1936    
1937    2005-10-21  Timo Schulz  <[email protected]>
1938    
1939            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use
1940            WM_INITPOPUPMENU to localize popup menu texts.
1941            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
1942            * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.  
1943    
1944    2005-10-20  Timo Schulz  <[email protected]>
1945    
1946            Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.
1947    
1948            * wptPassphraseCB.cpp (passphrase_cb): Complete card support.
1949            * wptCardEdit.cpp (genKey): Handle cancel case.
1950            * keycache.c: Renamed into...
1951            * wptKeyCache.cpp: ...this.
1952            * wptW32API.cpp (set_menu_text): Removed unused code.
1953            (set_menu_text_bypos): New.
1954            * wptCrypto.h: New.
1955            * wptMainProc.cpp (winpt_main_proc): Complete localize
1956            menu texts.
1957            * wptErrors.cpp (log_debug): Use a static var so the file
1958            is only opened once.
1959            (debug_end): Cleanup. Currently just close the log file.
1960            * wptErrors.h (wipememory): New.
1961            (sfree_if_alloc): Use it here.
1962            * WinPT.cpp (WinMain): Display the min. GPGME version which
1963            is needed in case of an error.
1964    
1965    2005-10-17  Timo Schulz  <[email protected]>
1966    
1967            Free all memory returned by the GPGME dll with gpgme_free ().
1968    
1969            s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.
1970    
1971            * wptKeyEdit.cpp (getCardStatus): Remove dummy key.
1972            (list_handler): With user interaction to allow to insert
1973            the card into the reader.
1974            * wptKeyEditCB.cpp (gpg_edit_card): Likewise.
1975            (common_card_handler): Fixed incorrect command string.
1976            * wptKeyPropsDlg.cpp (get_card_type): New.
1977            (keyprops_dlg_proc): Show card information if present.
1978            * wptFileManager.cpp (secret_key_available): Make the code faster.
1979            
1980    
1981    2005-10-16  Timo Schulz  <[email protected]>
1982    
1983            * wptPassphraseCB.cpp (passphrase_cb): Fix problem
1984            with hanging GPG process on cancel.
1985            * keycache.c (gpg_keycache_release): Release all objects.
1986    
1987    2005-10-15  Timo Schulz  <[email protected]>
1988    
1989            * wptCardEdit.cpp (setResult, getResult): New.
1990            (reset): New.
1991            (getCardStatus): Check return codes and release all objects
1992            in case of errors.
1993            * wptCardEditCB.cpp (change_pin_handler): Call reset()
1994            before quit.
1995            (editcard_handler): Likewise.
1996            (common_card_handler): New.
1997            * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask
1998            the old PIN when 'Hide Typing' is disabled.
1999            * wptPassphraseCB.cpp (passphrase_cb): The card detection
2000            works again. Support to re-enter passphrase.
2001    
2002    2005-10-14  Timo Schulz  <[email protected]>
2003    
2004            * wptCardDlg.cpp (card_status): New fields for the
2005            fingerprint creation time. Display card info as title.
2006            (get_printable_version): New.
2007            * wptCardEditCB.cpp (editcard_handler): Fix problem
2008            with the counter comparison.
2009    
2010    2005-10-11  Timo Schulz  <[email protected]>
2011    
2012            Port to GPGME basically finished.
2013    
2014    2005-09-20  Timo Schulz  <[email protected]>
2015    
2016            * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):
2017            Do not use gpgme_recipients_t but the listview directly
2018            to add the selected files.
2019    
2020    2005-09-07  Timo Schulz  <[email protected]>
2021    
2022            * Make sure all GetOpenFileName filters are terminated by \0\0.
2023    
2024    2005-09-01  Timo Schulz  <[email protected]>
2025    
2026            * wptW32API.cpp (center_window): New argument for parent window.
2027            Change all callers.
2028            (center_window2): Likewise.
2029            * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.
2030            * wptGPG.cpp (gnupg_backup_options): Remove param. One backup
2031            file is enough. Changed all callers.
2032    
2033    2005-08-15  Timo Schulz  <[email protected]>
2034    
2035            * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.
2036            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.
2037            * Make sure the passphrase is always overwritten before it is
2038            freed (or the function returns).
2039            * wptKeyPropDlg.cpp (get_pref_cipher): New.
2040            (keyprops_dlg_proc): Use it here.
2041    
2042    2005-08-06  Timo Schulz  <[email protected]>
2043    
2044            * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
2045            of the secret key.
2046            (keycache_init): cache name of secret keyring.
2047            * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
2048            (get_key_type): Do not assume 'ultimate' means key pair.
2049            * wptKeyEditDlgs.cpp (diff_time): New.
2050            (keyedit_addsubkey_dlg_proc): Changed design and use
2051            diff_time. Drop checks for invalid keylength (< 1024, > 4096)
2052            because the combo box automatically handles this.
2053            * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
2054            * wptGPG.cpp (get_backup_name): New.
2055            (gnupg_backup_keyrings): Rotate backup names, from 0..3.
2056            * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
2057            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
2058            not the long keyid.
2059    
2060    2005-08-05  Timo Schulz  <[email protected]>
2061    
2062            * wptListView.cpp (listview_set_item2): New.
2063            * wptKeyManager.cpp (km_check_if_protected): Directly
2064            retrieve gpgme_key_t from the list.
2065            (km_check_key_status): Likewise.        
2066            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use
2067            a human-readable name for secret key export.
2068            Reload just the keys which were affected by updates
2069            (edit-key).
2070            (update_key): New.
2071            * wptKeyList.cpp ((keylist_upd_key): Stripped down
2072            version of keylist_add_key.
2073            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not
2074            reload the keycache here, just flag 'update'. Give the
2075            control to the calling dialog.
2076            * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t
2077            as parameter. Changed all callers.
2078            Add date of expiration to the key info.
2079            (get_expire_date): New.
2080            Use a checkbox to allow to ask for the cert level.
2081            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload
2082            the cache.
2083    
2084    2005-08-04  Timo Schulz  <[email protected]>
2085    
2086            * wptListView.cpp (listview_scroll): New.
2087            (listview_get_item2): New.
2088            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the
2089            item was found, make it visible with scrolling.
2090            * wptKeyManager.cpp (km_find_key): New.
2091            (keylist_subclass_proc): Support to handle some acceleators.
2092            Strg+{C, P, F, A}.
2093            (km_get_key_status): Get the gpgme_key_t object directly
2094            from the list.
2095            * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set
2096            the config file (if it exists).
2097            * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code
2098            to handle the click->activate situation.
2099            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
2100            Support to check the passphrase quality.
2101            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
2102            (request_passphrase): Rename 'init' to 'flags' to allow more
2103            options.
2104            * wptMAPI.cpp: Check all *alloc results.
2105            * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary
2106            passphrase quality check.
2107            * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file
2108            format and allow to save the checksum in a file.
2109            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning
2110            when the PGP mode is disabled.
2111            wptKeyEditDlgs.cpp (do_editkey_primary): Return if just
2112            one user-ID exists.
2113            (keyedit_dlg_proc): Fixed index problem.
2114            * wptKeyPropsDlg.cpp (get_validity): New.
2115            (keyprops_dlg_proc): Actually show extended validity if possible.
2116            * wptKeyList.cpp (get_key_fpr): Support for old v3 format.
2117            (do_addkey): Use listview_add_item2 to store key as opaque
2118            param inside the list.
2119            * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.
2120            (file_stat_dlg_proc): End dialog if no PGP data was found.
2121            (do_list_packets): Return the number of valid PGP packets
2122            of the file.
2123    
2124    2005-08-02  Timo Schulz  <[email protected]>
2125    
2126            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of
2127            using 'Default Keyserver' add the real keyserver name to
2128            the menu.
2129            The rebuild command does not reload the cache any longer.
2130            Use ATTR_NAME + .asc as the filename and not keyid + .asc.
2131            * wptProxySettingsDlg.cpp (enable_proxy_auth): New.
2132            (keyserver_proxy_dlg_proc): Changed the design a little
2133            and add some additional sanity checks.
2134            * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.
2135            This fixes the problem that the GPG option dialog does not show
2136            very nice lines.
2137            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.
2138            * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected
2139            check for 'NOKEY' before asking a keyserver.
2140            * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.
2141            If a lot of keys were selected, ask if the user wants to confirm
2142            each delete procedure or allow to cancel the operation.
2143            * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much
2144            keys the file contain.
2145            * wptKeyList.cpp (get_key_algo): Beautified.
2146            (get_key_status): Drop the "[XYZ] Unknown" format, it is too
2147            confusing for users.
2148            * wptKeyManager.cpp (km_check_key_status): Adjustments for the
2149            new code.
2150            (km_check_for_seckey): Reset utrust parameter. Return -1 for
2151            invalid (exp+rev+dis) keys.
2152    
2153    2005-08-01  Timo Schulz  <[email protected]>
2154    
2155            * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given
2156            sizes.
2157            (check_IP_or_hostname): New.
2158            (kserver_load_conf): Correct finger URL parsing problem.
2159            (port_from_proto): New.
2160            (keyserver_load_conf): Guess the port.
2161            (keyserver_set_default): Allocate new buffer.
2162            (kserver_load_conf): Likewise.
2163            * wptHTTP.c (parse_reqline, parse_request): Removed.
2164            Use WinPT error code and remove all unused code.
2165            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.
2166            * wptProxySettingsDlg.cpp (read_proxy): Simple check for
2167            invalid host/IP addresses.
2168            * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.
2169            Changed all callers.
2170            * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,
2171            automatically set 'backup to homedir'.
2172            * WinPT.cpp (WinMain): Use desktop window as the parent window
2173            to load 'first-start' dialogs.
2174            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'
2175            flag after deleting keys.
2176            * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure
2177            for passing the arguments.
2178            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for
2179            the OptFile. This was responsible for a lot of 'General Errors'
2180            after the first start related to key caching.
2181            Automatically set the gpg binary if possible.
2182    
2183    2005-07-22  Timo Schulz  <[email protected]>
2184    
2185            * wptMainProc.cpp (winpt_main_proc): Take care for shutdown
2186            messages and make sure WinPT make a keyring backup in this case.
2187            * wptGPGME.cpp (keycache_reload): Do not rebuild the signature
2188            cache each time. Just do it on startup.
2189            * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.
2190            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag
2191            was set by the calling function.
2192            * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.
2193            (keygen_dlg_proc): Only add the generated key to the keycache
2194            and do not reload the entire cache.
2195            * wptKeyManager.cpp (km_delete_keys): Store the number of keys
2196            because in each loop iteration it will be new calculated.
2197            * wptListView.cpp (listview_del_items): Likewise.
2198            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the
2199            generated key to the list instead of reloading the entire cache.
2200            * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.
2201    
2202  2005-05-09  Timo Schulz  <[email protected]>  2005-05-09  Timo Schulz  <[email protected]>
2203    
2204          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..
# Line 286  Line 2241 
2241          (kserver_sendkey): Likewise.          (kserver_sendkey): Likewise.
2242          * wptProxySettingsDlg.cpp (check_number): New.          * wptProxySettingsDlg.cpp (check_number): New.
2243          (read_proxy): Check the entered port number.          (read_proxy): Check the entered port number.
2244          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.
2245          * wptW32API.cpp (get_folder_dlg): Free memory.          * wptW32API.cpp (get_folder_dlg): Free memory.
2246    
2247  2005-04-11  Timo Schulz  <[email protected]>  2005-04-11  Timo Schulz  <[email protected]>
# Line 631  Line 2586 
2586    
2587          * WinPT.cpp (load_keyserver_conf): New. Factored out some code          * WinPT.cpp (load_keyserver_conf): New. Factored out some code
2588          from WinMain ().          from WinMain ().
2589          (WinMain): Load keyserver config at the begin. Thanks to Bodo A�ner          (WinMain): Load keyserver config at the begin. Thanks to Bodo Aßner
2590          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver          * wptKeyserverDlg.cpp (keyserver_dlg_proc): If there is no keyserver
2591          in the list control, add at least the internal default HKP server.          in the list control, add at least the internal default HKP server.
2592          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.          * wptKeygenDlg.cpp (keygen_wizard_dlg_proc): NLS support.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26