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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.25  
changed lines
  Added in v.118

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26