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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26