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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26