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

Diff of /trunk/Src/ChangeLog

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

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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26