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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26