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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.26  
changed lines
  Added in v.119

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26