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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26