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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26