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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.33  
changed lines
  Added in v.123

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26