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

Legend:
Removed from v.30  
changed lines
  Added in v.88

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26