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

Diff of /trunk/Src/ChangeLog

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

revision 30 by twoaday, Sat Oct 22 10:17:59 2005 UTC revision 123 by twoaday, Wed Dec 14 09:01:45 2005 UTC
# Line 1  Line 1 
1  2005-10-21  Timo Schulz  <[email protected]>  2005-12-13  Timo Schulz  <[email protected]>
2    
3          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use          * wptCommonDlg.cpp (http_dlg_proc): Localized missing elements.
4          WM_INITPOPUPMENU to localize popup menu texts.          * wptKeyManagerDlg.cpp (change_edit_menu): New.
5          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.          (change_key_menu): Renamed from...
6          * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.            (menu_gpg_readonly): ..this.
7            (clip_contains_pgpkey): New.
8  2005-10-20  Timo Schulz  <[email protected]>          (update_ui_items): Do not allow to sign expired keys.
9            (keymanager_dlg_proc): Same for popup menu.
10          Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.          * wptKeyPropsDlg.cpp (parse_preflist): Fixed string handling.
11            * wptKeyCache.cpp (copy_uid_prefs):
12          * wptPassphraseCB.cpp (passphrase_cb): Complete card support.          (gpg_keycache_sync): Copy uid prefs so the key property
13          * wptCardEdit.cpp (genKey): Handle cancel case.          dialog show the correct values. Thanks to Shane.
14          * keycache.c: Renamed into...          
15          * wptKeyCache.cpp: ...this.  2005-12-11  Timo Schulz  <[email protected]>
16          * wptW32API.cpp (set_menu_text): Removed unused code.  
17          (set_menu_text_bypos): New.          * wptW32API.cpp (get_file_version): New.
18          * wptCrypto.h: New.          * wptGPGUtil.cpp (create_process): Always hide window.
19          * wptMainProc.cpp (winpt_main_proc): Complete localize          * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
20          menu texts.          instead of 'Exit'.
21          * wptErrors.cpp (log_debug): Use a static var so the file          * wptKeyManager.cpp (km_http_import): New filename
22          is only opened once.          generation code.
23          (debug_end): Cleanup. Currently just close the log file.          (km_send_to_mail_recipient): Cleanups.
24          * wptErrors.h (wipememory): New.          * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
25          (sfree_if_alloc): Use it here.          * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
26          * WinPT.cpp (WinMain): Display the min. GPGME version which          when multiple keys are selected.
27          is needed in case of an error.          (popup_multiple): New.
28            * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
29  2005-10-17  Timo Schulz  <[email protected]>          file versions are equal. Rewrote --keymanager code.
30            
31          Free all memory returned by the GPGME dll with gpgme_free ().  2005-12-08  Timo Schulz  <[email protected]>
32    
33          s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.          * wptKeyserverDlg.cpp (show_imported_keys): Enhanced.
34            (hkp_recv_key2): Show user-id of the imported key instead
35          * wptKeyEdit.cpp (getCardStatus): Remove dummy key.          of just the pattern.
36          (list_handler): With user interaction to allow to insert          * wptFileCBS.cpp (read_cb): Changed to W32 API.
37          the card into the reader.          (write_cb): Likewise. Create output file on demand.
38          * wptKeyEditCB.cpp (gpg_edit_card): Likewise.          (gpg_file_data_new): Adjusted code for new API.
39          (common_card_handler): Fixed incorrect command string.          * wptKeyEdit.cpp (cleanKey): New.
40          * wptKeyPropsDlg.cpp (get_card_type): New.          * wptKeyEditCB.cpp (cmd_clean_handler): New.
41          (keyprops_dlg_proc): Show card information if present.          (editkey_command_handler): Call clean handler.
42          * wptFileManager.cpp (secret_key_available): Make the code faster.          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Sort
43                    keylist after inserting items.
44            * wptFileManager.cpp (fm_set_status): Take care of
45  2005-10-16  Timo Schulz  <[email protected]>          cleartext sigs.
46            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Make
47          * wptPassphraseCB.cpp (passphrase_cb): Fix problem          sure can be closed.
48          with hanging GPG process on cancel.          
49          * keycache.c (gpg_keycache_release): Release all objects.  2005-12-07  Timo Schulz  <[email protected]>
50    
51  2005-10-15  Timo Schulz  <[email protected]>          * wptOwnertrustDlg.cpp (ownertrust_dlg_proc):
52            Use 'Close' instead of 'Exit'.
53          * wptCardEdit.cpp (setResult, getResult): New.          * wptKeyEditDlgs.cpp (keyedit_dlg_proc): Likewise.
54          (reset): New.          * wptGPG.cpp (gnupg_backup_keyrings): Use $APPDATA
55          (getCardStatus): Check return codes and release all objects          as the destination dir. Thanks to Werner.
56          in case of errors.          * wptRegistry.cpp (is_gpgee_installed): New.
57          * wptCardEditCB.cpp (change_pin_handler): Call reset()          (regist_inst_winpt): Do not register file extensions
58          before quit.          if GPGee is available.
59          (editcard_handler): Likewise.          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Limit
60          (common_card_handler): New.          use of local vars.
61          * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask          * wptPreferencesDlg.cpp (prefs_dlg_proc): Make sure
62          the old PIN when 'Hide Typing' is disabled.          no illegal backup mode is saved.
63          * wptPassphraseCB.cpp (passphrase_cb): The card detection          * wptKeyserverDlg.cpp (show_imported_key): New.
64          works again. Support to re-enter passphrase.          (hkp_recv_key2): Show imported keys if the blob
65            contained more than one.
66  2005-10-14  Timo Schulz  <[email protected]>          
67    2005-12-06  Timo Schulz  <[email protected]>
68          * wptCardDlg.cpp (card_status): New fields for the  
69          fingerprint creation time. Display card info as title.          * WinPT.cpp (WinMain): Load the gettext environment soon
70          (get_printable_version): New.          as possible so all 'first start' messages are localized.
71          * wptCardEditCB.cpp (editcard_handler): Fix problem          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): If a single key is
72          with the counter comparison.          received via the keyserver, return the gpgme key context on
73            success and add it directly to the list.
74  2005-10-11  Timo Schulz  <[email protected]>          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Support a param
75            to store the key.
76          Port to GPGME basically finished.          (hkp_recv_key2): Add extra param for the fingerprint.
77            (hkp_recv_key): Call hkp_recv_key2 without fingerprint.
78  2005-09-20  Timo Schulz  <[email protected]>          
79    2005-12-02  Werner Koch  <[email protected]>
80          * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):  
81          Do not use gpgme_recipients_t but the listview directly          * wptKeyEditDlgs.cpp (subkey_list_init): Avoid trigraphs.
82          to add the selected files.  
83    2005-12-01  Timo Schulz  <[email protected]>
84  2005-09-07  Timo Schulz  <[email protected]>  
85            * wptClipVerifyDlg.cpp (clipverify_dlg_proc): Use new semantic
86          * Make sure all GetOpenFileName filters are terminated by \0\0.          for get_gpg_sigstat().
87            * wptGPGME.cpp (get_gpg_sigstat): New. It is now a function.
88  2005-09-01  Timo Schulz  <[email protected]>          As a macro strings will not be translated at runtime.
89            * wptKeyserverDlg.cpp (hkp_recv_key): Properly detect if we
90          * wptW32API.cpp (center_window): New argument for parent window.          need to update the cache. Thanks to Jan-Oliver.
91          Change all callers.          * wptKeyImportStatusDlg.cpp (import_status_dlg_proc): Localized.
92          (center_window2): Likewise.          
93          * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.  2005-11-30  Timo Schulz  <[email protected]>
94          * wptGPG.cpp (gnupg_backup_options): Remove param. One backup  
95          file is enough. Changed all callers.          * wptW32API.cpp (dialog_box_param): Removed LANG_DE code.
96            * WinPT-en.rc: Removed string list.
97  2005-08-15  Timo Schulz  <[email protected]>          * wptFileSaveDlg.cpp (file_save_dlg_proc): Localized
98            * wptKeylist.cpp (keylist_build): Cannot use global
99          * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.          arrays for the columns due to gettext.
100          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.          
101          * Make sure the passphrase is always overwritten before it is  2005-11-29  Timo Schulz  <[email protected]>
102          freed (or the function returns).  
103          * wptKeyPropDlg.cpp (get_pref_cipher): New.          * WinPT.cpp (WinMain): Modify --keymanager. If an instance
104          (keyprops_dlg_proc): Use it here.          is running, just send the command to open the manager.
105            
106  2005-08-06  Timo Schulz  <[email protected]>  2005-11-25  Timo Schulz  <[email protected]>
107    
108          * wptGPGME.cpp (keycache_update): Reload OpenPGP parts          * wptKeyEditCB.cpp (addrev_cmd_handler): Avoid hanging
109          of the secret key.          process when the revoker is already there.
110          (keycache_init): cache name of secret keyring.          
111          * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.  2005-11-24  Timo Schulz  <[email protected]>
112          (get_key_type): Do not assume 'ultimate' means key pair.  
113          * wptKeyEditDlgs.cpp (diff_time): New.          * wptPassphraseCB.cpp (passphrase_callback_proc): Localize
114          (keyedit_addsubkey_dlg_proc): Changed design and use          signing dialog items.
115          diff_time. Drop checks for invalid keylength (< 1024, > 4096)          * wptMainProc.cpp (confirm_delclip_dlg): Localize dialog items.
116          because the combo box automatically handles this.          * wptAboutDlgs.cpp (about_winpt_dlg_proc): Disable help for now.
117          * wptKeyManager.cpp (km_set_implicit_trust): Return error code.          * wptMDSumDlg.cpp (mdsum_dlg_proc): Localize missing items.
118          * wptGPG.cpp (get_backup_name): New.          * wptKeylist.cpp (key_check_validity): Likewise.
119          (gnupg_backup_keyrings): Rotate backup names, from 0..3.          * wptKeyEditDlgs.cpp (keyedit_addsubkey_dlg_proc): Likewise.
120          * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.          
121          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and  2005-11-22  Timo Schulz  <[email protected]>
122          not the long keyid.  
123            * wptCardEditCB.cpp (gpg_write): Due to removed _DEBUG
124  2005-08-05  Timo Schulz  <[email protected]>          macro debug output will be generated in release version.
125            
126          * wptListView.cpp (listview_set_item2): New.  2005-11-21  Timo Schulz  <[email protected]>
127          * wptKeyManager.cpp (km_check_if_protected): Directly  
128          retrieve gpgme_key_t from the list.          * WinPT.cpp (WinMain): Implement --stop switch.
129          (km_check_key_status): Likewise.                  * wptClipEditDlg.cpp (clip_edit_dlg_proc): Localize
130          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use          missing string.
131          a human-readable name for secret key export.          * wptPreferencesDlg.cpp (prefs_dlg_proc): Likewise.
132          Reload just the keys which were affected by updates          * wptKeygenDlg.cpp (keygen_dlg_proc): Verify valid context
133          (edit-key).          first. Thanks to Ralf.
134          (update_key): New.          * wptFileManagerDlg.cpp (update_ui_items): New.
135          * wptKeyList.cpp ((keylist_upd_key): Stripped down          * wptFileManager.cpp (fm_set_status): New sigmode param.
136          version of keylist_add_key.          Changed all callers.
137          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not          
138          reload the keycache here, just flag 'update'. Give the  2005-11-17  Timo Schulz  <[email protected]>
139          control to the calling dialog.  
140          * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t          * wptGPG.cpp (check_last_gnupg_access): Kludge to avoid that
141          as parameter. Changed all callers.          the cache will be loaded twice.
142          Add date of expiration to the key info.          * wptRegistry.cpp (regist_inst_winpt): More comments.
143          (get_expire_date): New.          * wptKeyManagerDlg.cpp (do_center_window): Make sure that
144          Use a checkbox to allow to ask for the cert level.          neg. coordinates are never used.
145          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload          * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Localize all
146          the cache.          strings.
147            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
148  2005-08-04  Timo Schulz  <[email protected]>          * wptFileManagerDlg.cpp (filemanager_dlg_proc): Localize menu
149            and save 'AlwaysOnTop' in the registry.
150          * wptListView.cpp (listview_scroll): New.          
151          (listview_get_item2): New.  2005-11-16  Timo Schulz  <[email protected]>
152          * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the  
153          item was found, make it visible with scrolling.          * WinPT.cpp (check_crypto_engine): Min is now GPG 1.4.2.
154          * wptKeyManager.cpp (km_find_key): New.          * wptKeylist.cpp (keylist_add_key): Add disabled keys in list
155          (keylist_subclass_proc): Support to handle some acceleators.          mode.
156          Strg+{C, P, F, A}.          * wptPreferencesDlg.cpp (prefs_dlg_proc): Localize all strings.
157          (km_get_key_status): Get the gpgme_key_t object directly          * wptRegistry.cpp (regist_inst_winpt): Set install directory.
158          from the list.          Useful for other programs to figure out the path to the EXE.
159          * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set          
160          the config file (if it exists).  2005-11-14  Timo Schulz  <[email protected]>
161          * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code  
162          to handle the click->activate situation.          * wptGPG.cpp (check_gnupg_engine): Fix version check.
163          * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.          * wptMainProc.cpp (winpt_main_proc): Check keyring
164          Support to check the passphrase quality.          file permissions always and do not use interative output
165          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.          when the windows session ends.
166          (request_passphrase): Rename 'init' to 'flags' to allow more          * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
167          options.          Localize all strings.
168          * wptMAPI.cpp: Check all *alloc results.          * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
169          * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary          * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
170          passphrase quality check.          * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
171          * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file          non-valid keys.
172          format and allow to save the checksum in a file.          
173          * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning  2005-11-12  Timo Schulz  <[email protected]>
174          when the PGP mode is disabled.  
175          wptKeyEditDlgs.cpp (do_editkey_primary): Return if just          Fix more GCC warnings.
176          one user-ID exists.  
177          (keyedit_dlg_proc): Fixed index problem.  2005-11-10  Timo Schulz  <[email protected]>
178          * wptKeyPropsDlg.cpp (get_validity): New.  
179          (keyprops_dlg_proc): Actually show extended validity if possible.          * wptClipSignDlg.cpp (one_key_proc): Use
180          * wptKeyList.cpp (get_key_fpr): Support for old v3 format.          release_gpg_passphrase_cb() to free the context.
181          (do_addkey): Use listview_add_item2 to store key as opaque          * wptListView.cpp (listview_deselect_all): New.
182          param inside the list.          * wptMAPI.cpp (mapi_send_pubkey): Works again.
183          * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.          * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
184          (file_stat_dlg_proc): End dialog if no PGP data was found.          zip.    
185          (do_list_packets): Return the number of valid PGP packets          * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
186          of the file.          caching for signing operations.
187            * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
188  2005-08-02  Timo Schulz  <[email protected]>          * wptFileManager.cpp (fm_send_file): Likewise.
189            (fm_encrypt_into_zip): New.      
190          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of          
191          using 'Default Keyserver' add the real keyserver name to  2005-11-09  Timo Schulz  <[email protected]>
192          the menu.  
193          The rebuild command does not reload the cache any longer.          * wptNLS.c (get_gettext_langid): Map user language id to
194          Use ATTR_NAME + .asc as the filename and not keyid + .asc.          printable gettext language strings.
195          * wptProxySettingsDlg.cpp (enable_proxy_auth): New.          * wptRegistry.cpp (get_reg_entry_mo): Support for the
196          (keyserver_proxy_dlg_proc): Changed the design a little          gettext environment.
197          and add some additional sanity checks.          * wptFileManager.cpp (fm_encrypt): Close all files before
198          * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.          the wipe procedure is called.
199          This fixes the problem that the GPG option dialog does not show          * wptVerlist.cpp (verlist_add_sig): Handle the case the
200          very nice lines.          issuer is not valid but the signature is.
201          * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.          (verlist_add_sig_log): Likewise. Thanks to the folks on
202          * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected          winpt-users.
203          check for 'NOKEY' before asking a keyserver.          
204          * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.  2005-11-08  Werner Koch  <[email protected]>
205          If a lot of keys were selected, ask if the user wants to confirm  
206          each delete procedure or allow to cancel the operation.          * SAFE.ICO, SIGN.ICO: Fixed capitalization.
207          * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much          * WinPT-en.rc: Ditto.
208          keys the file contain.          * winpt_km.ico:  Moved from ../.
209          * wptKeyList.cpp (get_key_algo): Beautified.  
210          (get_key_status): Drop the "[XYZ] Unknown" format, it is too          * Makefile.am (resource_files): Add missing backslash.
211          confusing for users.  
212          * wptKeyManager.cpp (km_check_key_status): Adjustments for the  2005-11-08  Timo Schulz  <[email protected]>
213          new code.  
214          (km_check_for_seckey): Reset utrust parameter. Return -1 for          More minor changes to avoid GCC warnings.
215          invalid (exp+rev+dis) keys.          
216            * wptGPG.cpp (check_homedir): Free memory in case of errors.
217  2005-08-01  Timo Schulz  <[email protected]>          (multi_gnupg_path): Add strict mode. If non-strict mode return
218            the folder even if it does not exist.
219          * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given          (check_for_gpgwin): New.
220          sizes.          * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
221          (check_IP_or_hostname): New.          initialized.
222          (kserver_load_conf): Correct finger URL parsing problem.          * wptRegistry.cpp (get_reg_entry_gpg4win): New.
223          (port_from_proto): New.          (get_reg_entry_mo): Support for gpg4win.
224          (keyserver_load_conf): Guess the port.          
225          (keyserver_set_default): Allocate new buffer.  2005-11-07  Timo Schulz  <[email protected]>
226          (kserver_load_conf): Likewise.  
227          * wptHTTP.c (parse_reqline, parse_request): Removed.          * wptMainProc.cpp (winpt_main_proc): Disable
228          Use WinPT error code and remove all unused code.          some menu items when no secret key is available.
229          * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.          
230          * wptProxySettingsDlg.cpp (read_proxy): Simple check for  2005-11-05  Timo Schulz  <[email protected]>
231          invalid host/IP addresses.  
232          * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.          More minor changes to avoid GCC warnings.
233          Changed all callers.          
234          * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,          * wptErrors.cp (winpt_strerror): Return w32
235          automatically set 'backup to homedir'.          formatted error and do not use 'break'.
236          * WinPT.cpp (WinMain): Use desktop window as the parent window          
237          to load 'first-start' dialogs.  2005-11-04  Werner Koch  <[email protected]>
238          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'  
239          flag after deleting keys.          * WinPT-en.rc: Fixed locations of icons.
240          * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure  
241          for passing the arguments.  2005-11-03  Timo Schulz  <[email protected]>
242          * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for  
243          the OptFile. This was responsible for a lot of 'General Errors'          A lot of minor changes to avoid GCC warnings.
244          after the first start related to key caching.  
245          Automatically set the gpg binary if possible.          * wptGPG.cpp (get_gnupg_keyring): Only check size for
246            public keyring.
247  2005-07-22  Timo Schulz  <[email protected]>          * wptKeyManager.cpp (km_update_default_key_str): Do
248            not issue a bug message when no secret key was found.
249          * wptMainProc.cpp (winpt_main_proc): Take care for shutdown          * wptGPGPrefsDlg.cpp: Replace "" with NULL in the name struct.
250          messages and make sure WinPT make a keyring backup in this case.          
251          * wptGPGME.cpp (keycache_reload): Do not rebuild the signature  2005-11-02  Werner Koch  <[email protected]>
252          cache each time. Just do it on startup.  
253          * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.          * WinPT.cpp (WinMain): Disabled PTD version tests.
254          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag          (check_crypto_engine): Fixed version check for scard.
255          was set by the calling function.  
256          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.          * wptErrors.cpp (debug_end): Add dummy function.
257          (keygen_dlg_proc): Only add the generated key to the keycache  
258          and do not reload the entire cache.          * Makefile.am (code_files): Added wptCardEditCB.cpp and
259          * wptKeyManager.cpp (km_delete_keys): Store the number of keys          wptKeyEditCB.cpp.
260          because in each loop iteration it will be new calculated.  
261          * wptListView.cpp (listview_del_items): Likewise.  2005-10-31  Werner Koch  <[email protected]>
262          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the  
263          generated key to the list instead of reloading the entire cache.          * wptCurrWnd.cpp: Include wptVersion.h to get prototypes of PTD
264          * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.          functions.
265    
266            * wptKeyEditDlgs.cpp: Include oleauto.h
267            * wptKeyEdit.cpp: Include time.h.
268            * wptRegistry.cpp (gpg_filetypes): New from ../Include/wptGPG.h.
269            * wptGPGUtil.cpp (gpg_manage_ownertrust): s/export/exportflag/.
270    
271            * Makefile.am (code_files): Add wptGPGUtil.cpp, wptCardEdit.cpp,
272            wptKeyEdit.cpp and wptKeycache.cpp.
273    
274            * wptPassphraseCB.cpp: Fixed spelling of wptKeylist.h
275            * wptImportList.cpp (implist_load): Use remove and not unlink.
276            * wptGPG.cpp: Fixed spelling of wptGpgCmds.h
277            * wptImportList.cpp (implist_load): Use remove and not unlink.
278            * wptKeyManager.cpp (km_http_import): Ditto
279            * wptMainProc.cpp: Include wptCrypto.h
280            * wptKeyManager.cpp: Ditto.
281            * wptFileManager.cpp: Ditto.
282            * wptImportList.cpp (parse_colon_key): Need to cast argument for
283            isdigit.  Include ctype.h.
284            * wptGPG.cpp: Include shlobj.h.
285    
286            Fixed double inclusion of windows.h.
287            
288            * Makefile.am (bin_PROGRAMS): Don't build KeyManagerExe for now.
289            * wptKeylist.cpp (get_key_created): Broke up trigraph.
290            (get_key_status): Removed dangerous use of sprintf.  Still other
291            flaws present, see comment.
292    
293            * wptCardPCSC.c: Don't include winscard.h.
294            (pcsc_readerstate_t, pcsc_context_t): New.  Changed call users to
295            use these types.
296            (PCSC_): Added a lot of constants, all taked from GnuPG 1.9.
297            (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 305  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.30  
changed lines
  Added in v.123

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26