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

Diff of /trunk/Src/ChangeLog

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

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

Legend:
Removed from v.27  
changed lines
  Added in v.57

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26