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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26