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

Diff of /trunk/Src/ChangeLog

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

revision 20 by twoaday, Wed Jul 27 11:17:22 2005 UTC revision 47 by werner, Mon Oct 31 14:04:59 2005 UTC
# Line 1  Line 1 
1  2005-07-22  Timo Schulz  <[email protected]>  2005-10-31  Werner Koch  <[email protected]>
2    
3          * wptMainProc.cpp (winpt_main_proc): Take care for shutdown          * wptMDSumDlg.cpp: Include wptCrypto.h.
4          messages and make sure WinPT make a keyring backup in this case.  
5          * wptGPGME.cpp (keycache_reload): Do not rebuild the signature          * wptProxySettingsDlg.cpp: Included ctype.h and removed duplicate
6          cache each time. Just do it on startup.          inclusion of windows.h.
7          * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.  
8          * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag          * wptKeysigDlg.cpp: Fixed spelling of wptKeylist.h.
9          was set by the calling function.          * wptKeysignDlg.cpp: Ditto
10          * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.          * wptKeyRevokersDlg.cpp: Ditto. Fixed spelling of wptW32API.h.
11          (keygen_dlg_proc): Only add the generated key to the keycache  
12          and do not reload the entire cache.          * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Replaced unlink by remove.
13          * wptKeyManager.cpp (km_delete_keys): Store the number of keys          Removed unused variable.
14          because in each loop iteration it will be new calculated.  
15          * wptListView.cpp (listview_del_items): Likewise.          * wptKeyManagerDlg.cpp (_WIN32_IE): Define and include w32api.h
16          * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the  
17          generated key to the list instead of reloading the entire cache.          * wptClipVerifyDlg.cpp (show_notation_data): s/not/nota/ due to
18          * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.          silly c++ operator synonyms.
19    
20            * wptKeyEditDlgs.cpp: Include time.h.
21    
22            * wptClipDecryptDlg.cpp: Include wptCrypto.h to define PGP_MESSAGE.
23            * wptFileManagerDlg.cpp: Ditto.
24            (space_wipefrees_dlg_proc): Replaced unlink by remove; it doesn't
25            matter if it does an rmdir for a directory.
26    
27            Fixed include of resource.h which is not anymore in the top
28            directory.
29    
30    2005-10-28  Werner Koch  <[email protected]>
31    
32            * wptProxySettingsDlg.cpp (check_number): Cast isdigit() arg to
33            unsigned.  Never ever use a possible signed char as argument for
34            ctype tests.  An alternative is to first test using isascii ().
35            (keyserver_proxy_dlg_proc): Removed unused variable.
36    
37    2005-10-27  Timo Schulz  <[email protected]>
38    
39            * wptKeyPropsDlg.cpp (get_validity): Take care of disabled keys.
40            * wptKeylist.cpp (keylist_add_key): Check global key flag to
41            see if the key is disabled and not each subkey.
42            (seclist_init): Likewise.
43            * wptClipDecryptDlg.cpp (gpgme_op_clip_decrypt): Use
44            gpgme_op_decrypt_verify.
45            (clip_decrypt_dlg_proc): Fixed fingerprint
46            to keyid conversation. This also fixes a crash.
47            * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Likewise.
48            * wptKeyEditDlgs.cpp (do_editkey_expire): Ask if the key
49            already expired if the user wants to change the date.
50            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Replace old
51            'v3 sig' option with the 'ask cert level' option. Sync
52            with global preferences.
53            * wptKeySignDlg.cpp (keysign_dlg_proc): Watch if the
54            gpg.conf contains 'ask-cert-level'. If not disable button.
55            * wptKeySigDlg.cpp (keysig_dlg_proc): Automatically disable
56            the button when the key is available.
57            Reload key directly, not the entire cache.
58            
59    2005-10-26  Timo Schulz  <[email protected]>
60    
61            * wptFileManager.cpp (is_floppy_disc): Prevent very unlikely but
62            possible overflow.
63            (is_openpgp_ext): Compare case insentensive.
64            (add_single_file): New.
65            (fm_add_opened_files): Support multi file selection.
66            * wptKeyPropsDlg.cpp (do_change_ownertrust): Removed.
67            * wptKeyManager.cpp (km_enable_disable_key): Do not set cache
68            reload flag. Just update the single key.
69            * wptFileManagerDlg.cpp (file_encrypt_dlg_proc): Remove static var
70            and disable anonymize recipient for now.
71    
72            Begin to port code to GCC. Fix all warning issued by the gcc
73            compiler.
74    
75    2005-10-25  Timo Schulz  <[email protected]>
76    
77            * wptGPGUtil.cpp (create_process): Hide window.
78            * wptKeyPropsDlg.cpp (get_photo_tmpname): New.
79            * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Remove
80            static var 'enable'.
81            * wptKeygenDlg.cpp (keygen_dlg_proc): Likewise.
82            (gpg_genkey_params): Make sure all primary keys are capable
83            for signing and certification.
84            * wptKeySigDlg.cpp (is_sig): If no item is selected, return 0.
85            * wptGPG.cpp (gnupg_access_keyring): Check return value for
86            NULL. Noted by Ralf.
87            (get_gnupg_prog): Simplified.
88            (check_homedir): Fixed. Return 0 when the dir is successfully created.
89            * wptKeyManagerDlg.cpp (km_file_import): Use the hourglass to
90            indicate a pending GPG process.
91            * wptFileManager.cpp (op_begin, op_end): New. Indicate an start
92            and and of an operation. For now just the cursor changes.
93            (fm_parse_command_line): Remove debug output. Thanks to Ralf again.
94            * WinPT.cpp (WinMain): Check if there is already an instance and
95            set a variable early as possible.
96            (load_gettext): If a previous instance was found, do not output
97            any errors. Kudos to Ralf.      
98    
99    2005-10-24  Timo Schulz  <[email protected]>
100    
101            * wptPassphraseCB.cpp (passphrase_callback_proc): Allow to use
102            pre-defined recipients.
103            (release_gpg_passphrase_cb): Release recipients.
104            * wptKeyPropsDlg.cpp (keyprops_load_photo): Set photo-id
105            validity if needed.
106            (keyprops_dlg_proc): Issue a warning if the photo is valid.
107    
108    2005-10-23  Timo Schulz  <[email protected]>
109    
110            * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.  
111            * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
112            (get_ext_validity): New.
113            * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
114            * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
115            this function.
116            (load_clipboard_from_file): Likewise.
117            (save_clipboard_to_file): New.
118            * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.
119    
120    2005-10-22  Timo Schulz  <[email protected]>
121    
122            Localized a lot of more strings.
123    
124            * wptMainProc.cpp (load_smartcard): New.
125            * wptFileManager.cpp (fm_parse_command_line): Simplify code.
126            (fm_check_armor_type): Add new arg. Change all callers.
127            (fm_get_file_type): Likewise.
128            * wptKeyPropsDlg.cpp (display_key_info): New.  
129            (keyprops_show_photo): Factored out some code into..
130            (keyprops_load_photo): ..this function.
131    
132    2005-10-21  Timo Schulz  <[email protected]>
133    
134            * wptFileManagerDlg.cpp (file_manager_dlg_proc): Use
135            WM_INITPOPUPMENU to localize popup menu texts.
136            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Likewise.
137            * wptClipSignDlg.cpp (one_key_proc): Use wipememory instead of memset.  
138    
139    2005-10-20  Timo Schulz  <[email protected]>
140    
141            Now WinPT depends on GPG 1.4.3 and GPGME 1.2.0.
142    
143            * wptPassphraseCB.cpp (passphrase_cb): Complete card support.
144            * wptCardEdit.cpp (genKey): Handle cancel case.
145            * keycache.c: Renamed into...
146            * wptKeyCache.cpp: ...this.
147            * wptW32API.cpp (set_menu_text): Removed unused code.
148            (set_menu_text_bypos): New.
149            * wptCrypto.h: New.
150            * wptMainProc.cpp (winpt_main_proc): Complete localize
151            menu texts.
152            * wptErrors.cpp (log_debug): Use a static var so the file
153            is only opened once.
154            (debug_end): Cleanup. Currently just close the log file.
155            * wptErrors.h (wipememory): New.
156            (sfree_if_alloc): Use it here.
157            * WinPT.cpp (WinMain): Display the min. GPGME version which
158            is needed in case of an error.
159    
160    2005-10-17  Timo Schulz  <[email protected]>
161    
162            Free all memory returned by the GPGME dll with gpgme_free ().
163    
164            s/GPG_ERR_CARD_REMOVED/GPG_ERR_CARD_NOT_PRESENT.
165    
166            * wptKeyEdit.cpp (getCardStatus): Remove dummy key.
167            (list_handler): With user interaction to allow to insert
168            the card into the reader.
169            * wptKeyEditCB.cpp (gpg_edit_card): Likewise.
170            (common_card_handler): Fixed incorrect command string.
171            * wptKeyPropsDlg.cpp (get_card_type): New.
172            (keyprops_dlg_proc): Show card information if present.
173            * wptFileManager.cpp (secret_key_available): Make the code faster.
174            
175    
176    2005-10-16  Timo Schulz  <[email protected]>
177    
178            * wptPassphraseCB.cpp (passphrase_cb): Fix problem
179            with hanging GPG process on cancel.
180            * keycache.c (gpg_keycache_release): Release all objects.
181    
182    2005-10-15  Timo Schulz  <[email protected]>
183    
184            * wptCardEdit.cpp (setResult, getResult): New.
185            (reset): New.
186            (getCardStatus): Check return codes and release all objects
187            in case of errors.
188            * wptCardEditCB.cpp (change_pin_handler): Call reset()
189            before quit.
190            (editcard_handler): Likewise.
191            (common_card_handler): New.
192            * wptCardDlg.cpp (card_changepin_dlg_proc): Also unmask
193            the old PIN when 'Hide Typing' is disabled.
194            * wptPassphraseCB.cpp (passphrase_cb): The card detection
195            works again. Support to re-enter passphrase.
196    
197    2005-10-14  Timo Schulz  <[email protected]>
198    
199            * wptCardDlg.cpp (card_status): New fields for the
200            fingerprint creation time. Display card info as title.
201            (get_printable_version): New.
202            * wptCardEditCB.cpp (editcard_handler): Fix problem
203            with the counter comparison.
204    
205    2005-10-11  Timo Schulz  <[email protected]>
206    
207            Port to GPGME basically finished.
208    
209    2005-09-20  Timo Schulz  <[email protected]>
210    
211            * wptFileManagerDlg.cpp (file_secdel_confirm_dlg_proc):
212            Do not use gpgme_recipients_t but the listview directly
213            to add the selected files.
214    
215    2005-09-07  Timo Schulz  <[email protected]>
216    
217            * Make sure all GetOpenFileName filters are terminated by \0\0.
218    
219    2005-09-01  Timo Schulz  <[email protected]>
220    
221            * wptW32API.cpp (center_window): New argument for parent window.
222            Change all callers.
223            (center_window2): Likewise.
224            * GPGME now can read gpgProgram entries with 'REG_EXPAND_SZ'.
225            * wptGPG.cpp (gnupg_backup_options): Remove param. One backup
226            file is enough. Changed all callers.
227    
228    2005-08-15  Timo Schulz  <[email protected]>
229    
230            * wptKeyEditDlgs.cpp (do_editkey_showpref): Take care of v3 keys.
231            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): Fixed name of title.
232            * Make sure the passphrase is always overwritten before it is
233            freed (or the function returns).
234            * wptKeyPropDlg.cpp (get_pref_cipher): New.
235            (keyprops_dlg_proc): Use it here.
236    
237    2005-08-06  Timo Schulz  <[email protected]>
238    
239            * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
240            of the secret key.
241            (keycache_init): cache name of secret keyring.
242            * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
243            (get_key_type): Do not assume 'ultimate' means key pair.
244            * wptKeyEditDlgs.cpp (diff_time): New.
245            (keyedit_addsubkey_dlg_proc): Changed design and use
246            diff_time. Drop checks for invalid keylength (< 1024, > 4096)
247            because the combo box automatically handles this.
248            * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
249            * wptGPG.cpp (get_backup_name): New.
250            (gnupg_backup_keyrings): Rotate backup names, from 0..3.
251            * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
252            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
253            not the long keyid.
254    
255    2005-08-05  Timo Schulz  <[email protected]>
256    
257            * wptListView.cpp (listview_set_item2): New.
258            * wptKeyManager.cpp (km_check_if_protected): Directly
259            retrieve gpgme_key_t from the list.
260            (km_check_key_status): Likewise.        
261            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Also use
262            a human-readable name for secret key export.
263            Reload just the keys which were affected by updates
264            (edit-key).
265            (update_key): New.
266            * wptKeyList.cpp ((keylist_upd_key): Stripped down
267            version of keylist_add_key.
268            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Do not
269            reload the keycache here, just flag 'update'. Give the
270            control to the calling dialog.
271            * wptKeySignDlg.cpp (keysign_dlg_proc): Use winpt_key_t
272            as parameter. Changed all callers.
273            Add date of expiration to the key info.
274            (get_expire_date): New.
275            Use a checkbox to allow to ask for the cert level.
276            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Do no reload
277            the cache.
278    
279    2005-08-04  Timo Schulz  <[email protected]>
280    
281            * wptListView.cpp (listview_scroll): New.
282            (listview_get_item2): New.
283            * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): If the
284            item was found, make it visible with scrolling.
285            * wptKeyManager.cpp (km_find_key): New.
286            (keylist_subclass_proc): Support to handle some acceleators.
287            Strg+{C, P, F, A}.
288            (km_get_key_status): Get the gpgme_key_t object directly
289            from the list.
290            * wptGPGPRefsDlg.cpp (gpgprefs_dlg_proc): Also try to set
291            the config file (if it exists).
292            * wptKeySignDlg.cpp (keysign_dlg_proc): Use easier code
293            to handle the click->activate situation.
294            * wptPassphraseCB.cpp (passphrase_callback_proc): Likewise.
295            Support to check the passphrase quality.
296            * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
297            (request_passphrase): Rename 'init' to 'flags' to allow more
298            options.
299            * wptMAPI.cpp: Check all *alloc results.
300            * wptKeyGenDlg.cpp (keygen_dlg_proc): Use a rudimentary
301            passphrase quality check.
302            * wptMDSumDlg.cpp (mdsum_dlg_proc): Use md5/sha1sum file
303            format and allow to save the checksum in a file.
304            * wptKeyRevokeDlg.cpp (key_revoke_dlg_proc): Issue a warning
305            when the PGP mode is disabled.
306            wptKeyEditDlgs.cpp (do_editkey_primary): Return if just
307            one user-ID exists.
308            (keyedit_dlg_proc): Fixed index problem.
309            * wptKeyPropsDlg.cpp (get_validity): New.
310            (keyprops_dlg_proc): Actually show extended validity if possible.
311            * wptKeyList.cpp (get_key_fpr): Support for old v3 format.
312            (do_addkey): Use listview_add_item2 to store key as opaque
313            param inside the list.
314            * wptFileStatDlg.cpp (get_digest_algo): Add SHAxxx.
315            (file_stat_dlg_proc): End dialog if no PGP data was found.
316            (do_list_packets): Return the number of valid PGP packets
317            of the file.
318    
319    2005-08-02  Timo Schulz  <[email protected]>
320    
321            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Instead of
322            using 'Default Keyserver' add the real keyserver name to
323            the menu.
324            The rebuild command does not reload the cache any longer.
325            Use ATTR_NAME + .asc as the filename and not keyid + .asc.
326            * wptProxySettingsDlg.cpp (enable_proxy_auth): New.
327            (keyserver_proxy_dlg_proc): Changed the design a little
328            and add some additional sanity checks.
329            * wptGPGParser.cpp (commit_gpg_options): Use W32 line endings.
330            This fixes the problem that the GPG option dialog does not show
331            very nice lines.
332            * wptGPGOptDlg.cpp (gpgopt_dlg_proc): s/options/config.
333            * wptKeySigDlg.cpp (keysig_dlg_proc): If a single key is selected
334            check for 'NOKEY' before asking a keyserver.
335            * wptKeyManager.cpp (km_delete_keys): Do not set 'refresh' flag.
336            If a lot of keys were selected, ask if the user wants to confirm
337            each delete procedure or allow to cancel the operation.
338            * wptFileManagerDlg.cpp (file_import_dlg_proc): Display how much
339            keys the file contain.
340            * wptKeyList.cpp (get_key_algo): Beautified.
341            (get_key_status): Drop the "[XYZ] Unknown" format, it is too
342            confusing for users.
343            * wptKeyManager.cpp (km_check_key_status): Adjustments for the
344            new code.
345            (km_check_for_seckey): Reset utrust parameter. Return -1 for
346            invalid (exp+rev+dis) keys.
347    
348    2005-08-01  Timo Schulz  <[email protected]>
349    
350            * wptKeyserver.cpp (kserver_urlencode): Use unsigned for all given
351            sizes.
352            (check_IP_or_hostname): New.
353            (kserver_load_conf): Correct finger URL parsing problem.
354            (port_from_proto): New.
355            (keyserver_load_conf): Guess the port.
356            (keyserver_set_default): Allocate new buffer.
357            (kserver_load_conf): Likewise.
358            * wptHTTP.c (parse_reqline, parse_request): Removed.
359            Use WinPT error code and remove all unused code.
360            * wptKeyserverDlg.cpp (keyserver_dlg_proc): Properly handle finger URLs.
361            * wptProxySettingsDlg.cpp (read_proxy): Simple check for
362            invalid host/IP addresses.
363            * wptGPG.cpp (multi_gnupg_path): Return allocated buffer.
364            Changed all callers.
365            * wptPreferencesDlg.cpp (prefs_dlg_proc): At the first start,
366            automatically set 'backup to homedir'.
367            * WinPT.cpp (WinMain): Use desktop window as the parent window
368            to load 'first-start' dialogs.
369            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Do not set 'refresh'
370            flag after deleting keys.
371            * wptFirstRunDlg.cpp (first_run_dlg_proc): Use a new structure
372            for passing the arguments.
373            * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Do not store "" for
374            the OptFile. This was responsible for a lot of 'General Errors'
375            after the first start related to key caching.
376            Automatically set the gpg binary if possible.
377    
378    2005-07-22  Timo Schulz  <[email protected]>
379    
380            * wptMainProc.cpp (winpt_main_proc): Take care for shutdown
381            messages and make sure WinPT make a keyring backup in this case.
382            * wptGPGME.cpp (keycache_reload): Do not rebuild the signature
383            cache each time. Just do it on startup.
384            * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.
385            * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag
386            was set by the calling function.
387            * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.
388            (keygen_dlg_proc): Only add the generated key to the keycache
389            and do not reload the entire cache.
390            * wptKeyManager.cpp (km_delete_keys): Store the number of keys
391            because in each loop iteration it will be new calculated.
392            * wptListView.cpp (listview_del_items): Likewise.
393            * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the
394            generated key to the list instead of reloading the entire cache.
395            * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.
396    
397  2005-05-09  Timo Schulz  <[email protected]>  2005-05-09  Timo Schulz  <[email protected]>
398    
399          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..          * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..
# Line 60  Line 437 
437          * wptProxySettingsDlg.cpp (check_number): New.          * wptProxySettingsDlg.cpp (check_number): New.
438          (read_proxy): Check the entered port number.          (read_proxy): Check the entered port number.
439          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.          * wptKeySignDlg.cpp (sig_class_dlg_proc): Check default button.
440            * wptW32API.cpp (get_folder_dlg): Free memory.
441    
442  2005-04-11  Timo Schulz  <[email protected]>  2005-04-11  Timo Schulz  <[email protected]>
443    

Legend:
Removed from v.20  
changed lines
  Added in v.47

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26