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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.32  
changed lines
  Added in v.150

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26