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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.27  
changed lines
  Added in v.120

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26