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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26