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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26