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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.34  
changed lines
  Added in v.119

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26