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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.25  
changed lines
  Added in v.121

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26