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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26