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

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26