/[winpt]/trunk/Src/wptW32API.cpp
ViewVC logotype

Log of /trunk/Src/wptW32API.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 376 - (view) (annotate) - [select for diffs]
Modified Fri Dec 9 12:25:36 2011 UTC (13 years, 2 months ago) by twoaday
File length: 16322 byte(s)
Diff to previous 368


Revision 368 - (view) (annotate) - [selected]
Modified Tue Dec 6 13:40:04 2011 UTC (13 years, 2 months ago) by twoaday
File length: 16320 byte(s)
Diff to previous 355
2011-12-06  Timo Schulz  <twoaday@gmx.net>

        * wptNLS.cpp (get_user_langid): Removed.
        Use gettext_get_langid() instead. Changed all callers.
        (gettext_set_file): Removed.
        (w32_stpcpy): Likewise.
        * StringBuffer.cpp: Overload '=' operator for 'char*'.



Revision 355 - (view) (annotate) - [select for diffs]
Modified Sat Dec 3 18:59:01 2011 UTC (13 years, 2 months ago) by twoaday
File length: 16334 byte(s)
Diff to previous 328 , to selected 368
2011-12-04  Timo Schulz  <twoaday@gmx.net>

        * WinPT.cpp (get_file_version): New.
	Improved error handling.
		


Revision 328 - (view) (annotate) - [select for diffs]
Modified Fri Sep 25 16:07:38 2009 UTC (15 years, 5 months ago) by twoaday
File length: 17422 byte(s)
Diff to previous 278 , to selected 368


Revision 278 - (view) (annotate) - [select for diffs]
Modified Mon Jan 15 22:02:04 2007 UTC (18 years, 1 month ago) by twoaday
File length: 16918 byte(s)
Diff to previous 271 , to selected 368
See ChangeLog.



Revision 271 - (view) (annotate) - [select for diffs]
Modified Sun Nov 5 08:57:45 2006 UTC (18 years, 3 months ago) by twoaday
File length: 16206 byte(s)
Diff to previous 255 , to selected 368


Revision 255 - (view) (annotate) - [select for diffs]
Modified Tue Aug 1 16:37:23 2006 UTC (18 years, 7 months ago) by twoaday
File length: 16149 byte(s)
Diff to previous 248 , to selected 368


Revision 248 - (view) (annotate) - [select for diffs]
Modified Fri Jul 28 11:11:09 2006 UTC (18 years, 7 months ago) by twoaday
File length: 16131 byte(s)
Diff to previous 208 , to selected 368
Prepare 1.0.0pre2 release.



Revision 208 - (view) (annotate) - [select for diffs]
Modified Mon May 1 12:22:18 2006 UTC (18 years, 10 months ago) by twoaday
File length: 16139 byte(s)
Diff to previous 205 , to selected 368
See ChangeLog.



Revision 205 - (view) (annotate) - [select for diffs]
Modified Thu Apr 27 12:46:03 2006 UTC (18 years, 10 months ago) by twoaday
File length: 15693 byte(s)
Diff to previous 204 , to selected 368
2006-04-27  Timo Schulz  <ts@g10code.de>
                                                                                
        * wptKeyManager.cpp (km_get_key_ptr): New.
        * wptListview.cpp (listview_get_item_text): Drop utf8 support.
        * wptKeyCache.cpp (keycache_decode_uids): New.
        (free_native_uids): New.
        * wptKeyEdit.cpp (uid_inf_colon_handler): Do utf8 decodig here.
                                                                                
2006-04-26  Timo Schulz  <ts@g10code.de>
                                                                                
        * wptKeylist.cpp (get_keyid_from_fpr): New.
        * wptDecryptClipDlg.cpp (clip_decrypt_dlg): Use it here.
        * wptVerifyList.cpp (verlist_add_sig): Likewise.



Revision 204 - (view) (annotate) - [select for diffs]
Modified Wed Apr 26 06:37:23 2006 UTC (18 years, 10 months ago) by twoaday
File length: 16167 byte(s)
Diff to previous 196 , to selected 368
2006-04-25  Timo Schulz  <ts@g10code.de>
                                                                                
        * wptFileManagerDlg.cpp (file_manager_dlg_proc): Handle IDCANCEL.
        * wptMDSumDlg.cpp (hash_selected_files): New.
        (mdsum_dlg_proc): Cleanups.
        * wptKeysignDlg.cpp (keysign_dlg_proc): Fix segv.
                                                                                
2006-04-23  Timo Schulz  <ts@g10code.de>
                                                                                
        * wptW32API.cpp (SetDlgItemText_utf8): New.
        (SetWindowText_utf8): New.
        (GetDlgItemText_utf8): New.
        * wptListView.cpp (listview_add_sub_item): Internal
        utf8 support.



Revision 196 - (view) (annotate) - [select for diffs]
Modified Fri Apr 7 10:47:37 2006 UTC (18 years, 10 months ago) by twoaday
File length: 14836 byte(s)
Diff to previous 193 , to selected 368
2006-04-07  Timo Schulz  <ts@g10code.de>

        * wptW32API.cpp (set_clip_text): Change code so it also
        works again with non-XP systems.



Revision 193 - (view) (annotate) - [select for diffs]
Modified Sat Apr 1 12:36:35 2006 UTC (18 years, 11 months ago) by twoaday
File length: 14813 byte(s)
Diff to previous 190 , to selected 368
2006-03-31  Timo Schulz  <ts@g10code.de>
 
        * wptCommonDlg.cpp (nls_load_langlist): New.
        (nsl_set_language): New.
        (nls_dlg_proc): New.
        (select_language): New. Allow user to select the language.
        * wptNLS.c (get_gettext_langid): Updated available languages.
        * WinPT.cpp (WinMain): Allow to select the languag on first
        start in non-installer environments.
        * wptVerifyList.cpp (verlist_build): Simplified.
        (verlist_add_sig_log): Likewise.
        * wptListview.cpp (listview_set_column_width,
        listview_get_selected_item): New.
        * wptKeyManager.cpp (gpg_clip_export): Merged into..
        (km_clip_export): ..this function.



Revision 190 - (view) (annotate) - [select for diffs]
Modified Mon Mar 27 10:05:14 2006 UTC (18 years, 11 months ago) by twoaday
File length: 14403 byte(s)
Diff to previous 181 , to selected 368
2006-03-26  Timo Schulz  <ts@g10code.de>
 
        * wptSigTreeDlg.cpp (sigtree_load): Always use UTF8.
        * wptMainProc.cpp (winpt_main_proc): Reload key cache
        when the GPG settings were changed.
        * wptKeygenDlg.cpp (keygen_wizard_dlg_proc,
        keygen_dlg_proc): Improved check for the email address.
        * wptKeyEditDlgs.cpp (keyedit_adduid_dlg_proc): Likewise.
        * wptKeyserverDlg.cpp (keyserver_dlg_proc): Modified design.
         



Revision 181 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 11:01:22 2006 UTC (18 years, 11 months ago) by twoaday
File length: 14216 byte(s)
Diff to previous 175 , to selected 368
2006-03-12  Timo Schulz  <ts@g10code.de>
 
        * wptGPG.cpp (gnupg_load_config): Search for 'ask-cert-expire'.
        * wptKeyPropsDlg.cpp (display_key_info): Automatically update
        sym algorithm preferences if needed.
        * wptKeysignDlg.cpp (date_is_today): New.
        (keysign_dlg_proc): Only allow to set cert expire date if
        the option was found.
        * wptGPGPrefsDlg.cpp (gpgprefs_dlg_proc): Allow to set
        'ask-cert-expire'.
         



Revision 175 - (view) (annotate) - [select for diffs]
Modified Tue Feb 7 08:58:04 2006 UTC (19 years ago) by twoaday
File length: 14210 byte(s)
Diff to previous 167 , to selected 368
2006-02-04  Timo Schulz  <ts@g10code.de>
                                                                                                                            
        * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Check for
        at least one ultimately trusted key.
        * wptKeyManager.cpp (km_refresh_key_from_keyserver):
        Only check inet connection if we refresh all keys.
        * wptGPGUtil.cpp (gpg_extract_keys): New.
        * wptClipEncryptDlg.cpp (clip_encrypt_dlg_proc): Use textmode.
        * wptClipSignEncDlg.cpp (clip_signenc_dlg_proc): Likewise.
        * wptClipSignDlg.cpp (get_selected_key): New.
        (one_key_proc): Use it here.
        (count_useable_seckeys): New.
        * wptSigTreeDlg.cpp (sigtree_dlg_proc): New.
        * wptKeyEditDlgs.cpp (diff_time): Removed.
        (w32_mktime): New.
        (keyedit_addsubkey_dlg_proc): Use it here.
                                                                                                                            
2006-02-02  Timo Schulz  <ts@g10code.de>
                                                                                                                            
        * wptW32API.cpp (get_temp_name): New.
        * wptKeyserver.cpp (ldap_recvkey): Use it here.
        * wptKeyPropsDlg.cpp (get_photo_tmpname): Likewise.
        * wptGPGUtil.cpp (create_tempfile): Likewise.
        * wptImportList.cpp (implist_load): Likewise.
        * wptKeyCache.cpp (parse_attr_data): Likewise.
        (w32_tempfile): Removed.
        * wptGPGME.cpp (check_ultimate_trusted_key): New.
                                                                                                                            


Revision 167 - (view) (annotate) - [select for diffs]
Modified Thu Jan 26 10:17:17 2006 UTC (19 years, 1 month ago) by twoaday
File length: 13713 byte(s)
Diff to previous 150 , to selected 368
2006-01-25  Timo Schulz  <ts@g10code.com>
 
        * wptRegistry.cpp (get_reg_entry_gpg): Return NULL if
        the key exist with no value.
        * wptMDSumDlg.cpp (mdsum_dlg_proc): Translate string.
        * wptKeysignDlg.cpp (do_fill_seclist): Select the
        default key if possible.
        * wptFirstRunDlg.cpp (firstrun_dlg_proc): Directly
        return the choice.
        * wptKeylist.cpp (get_key_desc): New.
        (keylist_upd_key): Free memory.
        * wptKeyCache.cpp (gpg_keycache_get_default_key): New.
        (gpg_keycache_set_default_key): New.
        * WinPT.cpp (gpg_prefs_ok): New.
        (WinMain): Only start gpg prefs if needed.
         



Revision 150 - (view) (annotate) - [select for diffs]
Modified Wed Jan 18 11:52:45 2006 UTC (19 years, 1 month ago) by twoaday
File length: 13716 byte(s)
Diff to previous 137 , to selected 368
2006-01-18  Timo Schulz  <ts@g10code.com>
 
        * wptListview.cpp (listview_del_sel_items): Fixed index
        calculation. This fixed a lot of problems with the KM listview
        update.
        (listview_del_all): Renamed to...
        (listview_del_all_items): ..this. Changed all callers.
        * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Just refresh
        list when file import contained new/updated keys.
        * wptKeyManager.cpp (km_file_import): Indicate if the
        import contained any new/update keys.
        * wptClipImportDlg.cpp (print_import_status): Just mark
        keys which actually changed.
         



Revision 137 - (view) (annotate) - [select for diffs]
Modified Mon Jan 9 14:01:51 2006 UTC (19 years, 1 month ago) by twoaday
File length: 12988 byte(s)
Diff to previous 129 , to selected 368
2006-01-09  Timo Schulz  <ts@g10code.com>
 
        * WinPT.cpp (load_gettext): Remove file locking.
        (WinMain): Use pre-defined autoconf constants.
        * wptW32API.cpp (init_file_lock, release_file_lock): Deleted.
        * wptGPG.cpp (check_gnupg_engine): Add param @need_gpg_ver.
        Change all callers.

Remove all static version constants. The only place for
constants is now configure.c (config.h).



Revision 129 - (view) (annotate) - [select for diffs]
Modified Fri Dec 30 13:56:10 2005 UTC (19 years, 2 months ago) by twoaday
File length: 13673 byte(s)
Diff to previous 121 , to selected 368
2005-12-27  Timo Schulz  <ts@g10code.com>
                                                                                
        * wptListView.cpp (listview_set_view): New.
        (listview_del_column): New.
        * wptW32API.cpp (get_locale_date): New.
        (get_menu_state): New.
        (force_foreground_window): New.
        * wptVerifyList.cpp (strtimestamp): Support for
        locale date formats.
        * wptGPGUtil.cpp (gpg_revoke_cert): Handle bad
        passphrases.
        * wptKeyEditCB.cpp (editkey_command_handler): Immediately
        return when a bad passphrase was submitted.
        * wptKeyRevokersDlg.cpp (keyrevokers_dlg_proc): Change
        column order.
        * wptKeylist.cpp (keylist_upd_col): New.
        * wptKeyManagerDlg.cpp (update_ui_items): Deactivate
        'Revocation' for public keys.
        (translate_menu_strings): s/Revoke/Revoke Cert.
        (modify_listview_columns): New.



Revision 121 - (view) (annotate) - [select for diffs]
Modified Mon Dec 12 11:19:56 2005 UTC (19 years, 2 months ago) by twoaday
File length: 12648 byte(s)
Diff to previous 105 , to selected 368
2005-12-11  Timo Schulz  <ts@g10code.com>
 
        * wptW32API.cpp (get_file_version): New.
        * wptGPGUtil.cpp (create_process): Always hide window.
        * wptClipEditDlg.cpp (clipedit_dlg_proc): Use 'Close'
        instead of 'Exit'.
        * wptKeyManager.cpp (km_http_import): New filename
        generation code.
        (km_send_to_mail_recipient): Cleanups.
        * wptKeyEditDlg.cpp (showpref_dlg_proc): Localize dialog.
        * wptKeyManagerDlg.cpp (update_ui_items): Handle the case
        when multiple keys are selected.
        (popup_multiple): New.
        * WinPT.cpp (WinMain): Check that the PTD.dll and WinPT.exe
        file versions are equal. Rewrote --keymanager code.
         
Removed temporary w32gpgme dirctory, all code is now in Src.
Changed configure files.



Revision 105 - (view) (annotate) - [select for diffs]
Modified Wed Nov 30 10:22:00 2005 UTC (19 years, 3 months ago) by twoaday
File length: 11521 byte(s)
Diff to previous 77 , to selected 368
Several cleanups and improved translation.



Revision 77 - (view) (annotate) - [select for diffs]
Modified Mon Nov 14 15:01:01 2005 UTC (19 years, 3 months ago) by twoaday
File length: 11771 byte(s)
Diff to previous 48 , to selected 368
2005-11-12  Timo Schulz  <ts@g10code.com>
 
        Fix more GCC warnings.
 
2005-11-10  Timo Schulz  <ts@g10code.com>
 
        * wptClipSignDlg.cpp (one_key_proc): Use
        release_gpg_passphrase_cb() to free the context.
        * wptListView.cpp (listview_deselect_all): New.
        * wptMAPI.cpp (mapi_send_pubkey): Works again.
        * wptFileManagerDlg.cpp (file_manager_dlg_proc): Support encrypt &
        zip.
        * wptPassphraseCB.cpp (passphrase_callback_proc): Fix passphrase
        caching for signing operations.
        * wptKeyManager.cpp (km_send_to_mail_recipient): Works again.
        * wptFileManager.cpp (fm_send_file): Likewise.
        (fm_encrypt_into_zip): New.
         


Revision 48 - (view) (annotate) - [select for diffs]
Modified Mon Oct 31 21:14:11 2005 UTC (19 years, 4 months ago) by werner
File length: 11709 byte(s)
Diff to previous 36 , to selected 368
More changes.  Compiles again but there are at least gettext issues with
w32-gettext.c.  I can't get a gpg-error build with ENABLE_NLS.


Revision 36 - (view) (annotate) - [select for diffs]
Modified Thu Oct 27 15:25:13 2005 UTC (19 years, 4 months ago) by werner
File length: 11730 byte(s)
Diff to previous 32 , to selected 368
First set of changes to use autotools for building.

Revision 32 - (view) (annotate) - [select for diffs]
Modified Mon Oct 24 08:03:48 2005 UTC (19 years, 4 months ago) by twoaday
File length: 12147 byte(s)
Diff to previous 25 , to selected 368
2005-10-23  Timo Schulz  <twoaday@g10code.com>
 
        * wptFileManager.cpp (fm_get_file_type): Detect detached sigs.
        * wptKeyList.cpp (keylist_cmp_cb): Take care of expired/revoked keys.
        (get_ext_validity): New.
        * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Several cleanups.
        * wptClipEditDlg.cpp (load_clipboard): Factored out some code into
        this function.
        (load_clipboard_from_file): Likewise.
        (save_clipboard_to_file): New.
        * wptKeyManagerDlg.cpp (keyprops_dlg_proc): Fix stack overflow.

For complete details, see the ChangeLog files.


Revision 25 - (view) (annotate) - [select for diffs]
Modified Wed Oct 12 10:04:26 2005 UTC (19 years, 4 months ago) by twoaday
File length: 11907 byte(s)
Diff to previous 24 , to selected 368
First testing phase finished.
Provide bug fixes for a lot of (minor) problems.


Revision 24 - (view) (annotate) - [select for diffs]
Modified Sat Oct 8 10:43:08 2005 UTC (19 years, 4 months ago) by twoaday
File length: 11538 byte(s)
Diff to previous 23 , to selected 368
Bug fixes to correct some problems introduced by
the MyGPGME to GPGME port.


Revision 23 - (view) (annotate) - [select for diffs]
Modified Fri Sep 30 10:10:16 2005 UTC (19 years, 5 months ago) by twoaday
File length: 11686 byte(s)
Diff to previous 22 , to selected 368
Almost finished phase 1 of the WinPT GPGME port.
Still need more cleanup, comments and tests.



Revision 22 - (view) (annotate) - [select for diffs]
Modified Wed Aug 10 11:33:35 2005 UTC (19 years, 6 months ago) by twoaday
File length: 10396 byte(s)
Diff to previous 6 , to selected 368
2005-08-06  Timo Schulz  <twoaday@freakmail.de>
 
        * wptGPGME.cpp (keycache_update): Reload OpenPGP parts
        of the secret key.
        (keycache_init): cache name of secret keyring.
        * wptKeyList.cpp (keylist_upd_key): Do not add long keyid.
        (get_key_type): Do not assume 'ultimate' means key pair.
        * wptKeyEditDlgs.cpp (diff_time): New.
        (keyedit_addsubkey_dlg_proc): Changed design and use
        diff_time. Drop checks for invalid keylength (< 1024, > 4096)
        because the combo box automatically handles this.
        * wptKeyManager.cpp (km_set_implicit_trust): Return error code.
        * wptGPG.cpp (get_backup_name): New.
        (gnupg_backup_keyrings): Rotate backup names, from 0..3.
        * wptClipImportDialog.cpp (clip_import_dlg_proc): Free memory.
        * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Use 0x short keyid and
        not the long keyid.



Revision 6 - (view) (annotate) - [select for diffs]
Modified Mon Apr 4 06:59:24 2005 UTC (19 years, 10 months ago) by twoaday
File length: 10346 byte(s)
Diff to previous 2 , to selected 368
2005-03-04  Timo Schulz  <twoaday@g10code.com>
 
        * GPG asks twice for the new PIN. Thanks to Achim.
        * wptCardDlg.cpp (card_changepin_dlg_proc): Reset the 'safety' pin also.        Only check the passphrase if the backup flag is enabled. Again thanks to        Achim.
 
2005-03-06  Timo Schulz  <twoaday@freakmail.de>
 
        * wptKeySignDlg.cpp (do_fill_seckeylist): Skip secret keys without
        a public key. Noted by Kurt Fitzner.
 
2005-03-22  Timo Schulz  <twoaday@freakmail.de>
 
        * WinPT.cpp (WinMain): --debug as an alias for --enable-debug.
        (enable_mobile_mode): New.
        * wptKeyEditDlg.cpp (keyedit_addsubkey_dlg_proc): Use new
        ID's for adding subkeys.
 



Revision 2 - (view) (annotate) - [select for diffs]
Added Mon Jan 31 11:02:21 2005 UTC (20 years, 1 month ago) by twoaday
File length: 10340 byte(s)
Diff to selected 368
WinPT initial checkin.



This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26