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

Diff of /trunk/Src/ChangeLog

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

revision 23 by twoaday, Fri Sep 30 10:10:16 2005 UTC revision 99 by twoaday, Fri Nov 25 07:47:51 2005 UTC
# Line 1  Line 1 
1  2005-09-20  Timo Schulz  <[email protected]>  2005-11-24  Timo Schulz  <[email protected]>
2    
3          * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):          * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
4          Do not use gpgme_recipients_t but the listview directly          signing dialog items.
5          to add the selected files.          * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
6            * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
7  2005-09-07  Timo Schulz  <[email protected]>          * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
8            * wptKeylist.cpp (key_check_validity): Likewise.
9          * Make sure all GetOpenFileName filters are terminated by \0\0.          * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
10            
11  2005-09-01  Timo Schulz  <[email protected]>  2005-11-22  Timo Schulz  <[email protected]>
12    
13          * wptW32API.cpp (center_window): New argument for parent window.          * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
14          Change all callers.          macro debug output will be generated in release version.
15          (center_window2): Likewise.          
16          * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.  2005-11-21  Timo Schulz  <[email protected]>
17          * wptGPG.cpp (gnupg_backup_options): Remove param. One backup  
18          file is enough. Changed all callers.          * WinPT.cpp (WinMain): Implement --stop switch.
19            * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
20  2005-08-15  Timo Schulz  <[email protected]>          missing string.
21            * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
22          * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.          * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
23          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.          first. Thanks to Ralf.
24          * Make sure the passphrase is always overwritten before it is          * wptFileManagerDlg.cpp (update_ui_items): New.
25          freed (or the function returns).          * wptFileManager.cpp (fm_set_status): New sigmode param.
26          * wptKeyPropDlg.cpp (get_pref_cipher): New.          Changed all callers.
27          (keyprops_dlg_proc): Use it here.          
28    2005-11-17  Timo Schulz  <[email protected]>
29  2005-08-06  Timo Schulz  <[email protected]>  
30            * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
31          * wptGPGME.cpp (keycache_update): Reload OpenPGP parts          the cache will be loaded twice.
32          of the secret key.          * wptRegistry.cpp (regist_inst_winpt): More comments.
33          (keycache_init): cache name of secret keyring.          * wptKeyManagerDlg.cpp (do_center_window): Make sure that
34          * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.          neg. coordinates are never used.
35          (get_key_type): Do not assume 'ultimate' means key pair.          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
36          * wptKeyEditDlgs.cpp (diff_time): New.          strings.
37          (keyedit_addsubkey_dlg_proc): Changed design and use          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
38          diff_time. Drop checks for invalid keylength (< 1024, > 4096)          * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
39          because the combo box automatically handles this.          and save 'AlwaysOnTop' in the registry.
40          * wptKeyManager.cpp (km_set_implicit_trust): Return error code.          
41          * wptGPG.cpp (get_backup_name): New.  2005-11-16  Timo Schulz  <[email protected]>
42          (gnupg_backup_keyrings): Rotate backup names, from 0..3.  
43          * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.          * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
44          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and          * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
45          not the long keyid.          mode.
46            * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
47  2005-08-05  Timo Schulz  <[email protected]>          * wptRegistry.cpp (regist_inst_winpt): Set install directory.
48            Useful for other programs to figure out the path to the EXE.
49          * wptListView.cpp (listview_set_item2): New.          
50          * wptKeyManager.cpp (km_check_if_protected): Directly  2005-11-14  Timo Schulz  <[email protected]>
51          retrieve gpgme_key_t from the list.  
52          (km_check_key_status): Likewise.                  * wptGPG.cpp (check_gnupg_engine): Fix version check.
53          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use          * wptMainProc.cpp (winpt_main_proc): Check keyring
54          a human-readable name for secret key export.          file permissions always and do not use interative output
55          Reload just the keys which were affected by updates          when the windows session ends.
56          (edit-key).          * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
57          (update_key): New.          Localize all strings.
58          * wptKeyList.cpp ((keylist_upd_key): Stripped down          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
59          version of keylist_add_key.          * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
60          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not          * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
61          reload the keycache here, just flag 'update'. Give the          non-valid keys.
62          control to the calling dialog.          
63          * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t  2005-11-12  Timo Schulz  <[email protected]>
64          as parameter. Changed all callers.  
65          Add date of expiration to the key info.          Fix more GCC warnings.
66          (get_expire_date): New.  
67          Use a checkbox to allow to ask for the cert level.  2005-11-10  Timo Schulz  <[email protected]>
68          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload  
69          the cache.          * wptClipSignDlg.cpp (one_key_proc): Use
70            release_gpg_passphrase_cb() to free the context.
71  2005-08-04  Timo Schulz  <[email protected]>          * wptListView.cpp (listview_deselect_all): New.
72            * wptMAPI.cpp (mapi_send_pubkey): Works again.
73          * wptListView.cpp (listview_scroll): New.          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
74          (listview_get_item2): New.          zip.    
75          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the          * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
76          item was found, make it visible with scrolling.          caching for signing operations.
77          * wptKeyManager.cpp (km_find_key): New.          * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
78          (keylist_subclass_proc): Support to handle some acceleators.          * wptFileManager.cpp (fm_send_file): Likewise.
79          Strg+{C, P, F, A}.          (fm_encrypt_into_zip): New.      
80          (km_get_key_status): Get the gpgme_key_t object directly          
81          from the list.  2005-11-09  Timo Schulz  <[email protected]>
82          * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set  
83          the config file (if it exists).          * wptNLS.c (get_gettext_langid): Map user language id to
84          * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code          printable gettext language strings.
85          to handle the click->activate situation.          * wptRegistry.cpp (get_reg_entry_mo): Support for the
86          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.          gettext environment.
87          Support to check the passphrase quality.          * wptFileManager.cpp (fm_encrypt): Close all files before
88          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.          the wipe procedure is called.
89          (request_passphrase): Rename 'init' to 'flags' to allow more          * wptVerlist.cpp (verlist_add_sig): Handle the case the
90          options.          issuer is not valid but the signature is.
91          * wptMAPI.cpp: Check all *alloc results.          (verlist_add_sig_log): Likewise. Thanks to the folks on
92          * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary          winpt-users.
93          passphrase quality check.          
94          * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file  2005-11-08  Werner Koch  <[email protected]>
95          format and allow to save the checksum in a file.  
96          * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning          * SAFE.ICO, SIGN.ICO: Fixed capitalization.
97          when the PGP mode is disabled.          * WinPT-en.rc: Ditto.
98          wptKeyEditDlgs.cpp (do_editkey_primary): Return if just          * winpt_km.ico:  Moved from ../.
99          one user-ID exists.  
100          (keyedit_dlg_proc): Fixed index problem.          * Makefile.am (resource_files): Add missing backslash.
101          * wptKeyPropsDlg.cpp (get_validity): New.  
102          (keyprops_dlg_proc): Actually show extended validity if possible.  2005-11-08  Timo Schulz  <[email protected]>
103          * wptKeyList.cpp (get_key_fpr): Support for old v3 format.  
104          (do_addkey): Use listview_add_item2 to store key as opaque          More minor changes to avoid GCC warnings.
105          param inside the list.          
106          * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.          * wptGPG.cpp (check_homedir): Free memory in case of errors.
107          (file_stat_dlg_proc): End dialog if no PGP data was found.          (multi_gnupg_path): Add strict mode. If non-strict mode return
108          (do_list_packets): Return the number of valid PGP packets          the folder even if it does not exist.
109          of the file.          (check_for_gpgwin): New.
110            * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
111  2005-08-02  Timo Schulz  <[email protected]>          initialized.
112            * wptRegistry.cpp (get_reg_entry_gpg4win): New.
113          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of          (get_reg_entry_mo): Support for gpg4win.
114          using 'Default Keyserver' add the real keyserver name to          
115          the menu.  2005-11-07  Timo Schulz  <[email protected]>
116          The rebuild command does not reload the cache any longer.  
117          Use ATTR_NAME + .asc as the filename and not keyid + .asc.          * wptMainProc.cpp (winpt_main_proc): Disable
118          * wptProxySettingsDlg.cpp (enable_proxy_auth): New.          some menu items when no secret key is available.
119          (keyserver_proxy_dlg_proc): Changed the design a little          
120          and add some additional sanity checks.  2005-11-05  Timo Schulz  <[email protected]>
121          * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.  
122          This fixes the problem that the GPG option dialog does not show          More minor changes to avoid GCC warnings.
123          very nice lines.          
124          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.          * wptErrors.cp (winpt_strerror): Return w32
125          * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected          formatted error and do not use 'break'.
126          check for 'NOKEY' before asking a keyserver.          
127          * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.  2005-11-04  Werner Koch  <[email protected]>
128          If a lot of keys were selected, ask if the user wants to confirm  
129          each delete procedure or allow to cancel the operation.          * WinPT-en.rc: Fixed locations of icons.
130          * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much  
131          keys the file contain.  2005-11-03  Timo Schulz  <[email protected]>
132          * wptKeyList.cpp (get_key_algo): Beautified.  
133          (get_key_status): Drop the "[XYZ] Unknown" format, it is too          A lot of minor changes to avoid GCC warnings.
134          confusing for users.  
135          * wptKeyManager.cpp (km_check_key_status): Adjustments for the          * wptGPG.cpp (get_gnupg_keyring): Only check size for
136          new code.          public keyring.
137          (km_check_for_seckey): Reset utrust parameter. Return -1 for          * wptKeyManager.cpp (km_update_default_key_str): Do
138          invalid (exp+rev+dis) keys.          not issue a bug message when no secret key was found.
139            * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
140  2005-08-01  Timo Schulz  <[email protected]>          
141    2005-11-02  Werner Koch  <[email protected]>
142          * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given  
143          sizes.          * WinPT.cpp (WinMain): Disabled PTD version tests.
144          (check_IP_or_hostname): New.          (check_crypto_engine): Fixed version check for scard.
145          (kserver_load_conf): Correct finger URL parsing problem.  
146          (port_from_proto): New.          * wptErrors.cpp (debug_end): Add dummy function.
147          (keyserver_load_conf): Guess the port.  
148          (keyserver_set_default): Allocate new buffer.          * Makefile.am (code_files): Added wptCardEditCB.cpp and
149          (kserver_load_conf): Likewise.          wptKeyEditCB.cpp.
150          * wptHTTP.c (parse_reqline, parse_request): Removed.  
151          Use WinPT error code and remove all unused code.  2005-10-31  Werner Koch  <[email protected]>
152          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.  
153          * wptProxySettingsDlg.cpp (read_proxy): Simple check for          * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
154          invalid host/IP addresses.          functions.
155          * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.  
156          Changed all callers.          * wptKeyEditDlgs.cpp: Include oleauto.h
157          * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,          * wptKeyEdit.cpp: Include time.h.
158          automatically set 'backup to homedir'.          * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
159          * WinPT.cpp (WinMain): Use desktop window as the parent window          * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
160          to load 'first-start' dialogs.  
161          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'          * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
162          flag after deleting keys.          wptKeyEdit.cpp and wptKeycache.cpp.
163          * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure  
164          for passing the arguments.          * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
165          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for          * wptImportList.cpp (implist_load): Use remove and not unlink.
166          the OptFile. This was responsible for a lot of 'General Errors'          * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
167          after the first start related to key caching.          * wptImportList.cpp (implist_load): Use remove and not unlink.
168          Automatically set the gpg binary if possible.          * wptKeyManager.cpp (km_http_import): Ditto
169            * wptMainProc.cpp: Include wptCrypto.h
170  2005-07-22  Timo Schulz  <[email protected]>          * wptKeyManager.cpp: Ditto.
171            * wptFileManager.cpp: Ditto.
172          * wptMainProc.cpp (winpt_main_proc): Take care for shutdown          * wptImportList.cpp (parse_colon_key): Need to cast argument for
173          messages and make sure WinPT make a keyring backup in this case.          isdigit.  Include ctype.h.
174          * wptGPGME.cpp (keycache_reload): Do not rebuild the signature          * wptGPG.cpp: Include shlobj.h.
175          cache each time. Just do it on startup.  
176          * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.          Fixed double inclusion of windows.h.
177          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag          
178          was set by the calling function.          * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
179          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.          * wptKeylist.cpp (get_key_created): Broke up trigraph.
180          (keygen_dlg_proc): Only add the generated key to the keycache          (get_key_status): Removed dangerous use of sprintf.  Still other
181          and do not reload the entire cache.          flaws present, see comment.
182          * wptKeyManager.cpp (km_delete_keys): Store the number of keys  
183          because in each loop iteration it will be new calculated.          * wptCardPCSC.c: Don't include winscard.h.
184          * wptListView.cpp (listview_del_items): Likewise.          (pcsc_readerstate_t, pcsc_context_t): New.  Changed call users to
185          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the          use these types.
186          generated key to the list instead of reloading the entire cache.          (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
187          * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.          (SCARD_S_SUCCESS): Changed all compares to test the value directly
188            against zero.
189    
190            * WinPT.cpp: Include wptCrypto.h.
191            (WinMain): Don't shard S. Removed usunsed variable SIZE.
192            * Makefile.am (code_files): Actually add files by adding a first
193            backslash.
194            * wptMDSumDlg.cpp: Include wptCrypto.h.
195            * wptProxySettingsDlg.cpp: Included ctype.h.
196            * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
197            * wptKeysignDlg.cpp: Ditto
198            * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
199            * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
200            Removed unused variable.
201            * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
202            silly c++ operator synonyms.
203            * wptKeyEditDlgs.cpp: Include time.h.
204            * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
205            * wptFileManagerDlg.cpp: Ditto.
206            (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
207            matter if it does an rmdir for a directory.
208    
209            Fixed include of resource.h which is not anymore in the top
210            directory.
211    
212    2005-10-28  Werner Koch  <[email protected]>
213    
214            * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
215            unsigned.  Never ever use a possible signed char as argument for
216            ctype tests.  An alternative is to first test using isascii ().
217            (keyserver_proxy_dlg_proc): Removed unused variable.
218    
219    2005-10-27  Timo Schulz  <[email protected]>
220    
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 228  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.23  
changed lines
  Added in v.99

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26