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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.22  
changed lines
  Added in v.128

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26