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

Log of /trunk/Src/wptMainProc.cpp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 200 - (view) (annotate) - [select for diffs]
Modified Mon Apr 17 09:12:50 2006 UTC (18 years, 10 months ago) by twoaday
File length: 19806 byte(s)
Diff to previous 193 , to selected 95
2006-04-16  Timo Schulz  <ts@g10code.de>
 
        * wptHTTP.cpp (getErrorCode): New.
        (connect): Store winsock error code.
        * wptGPGMEData.cpp (is_armor_header): New.
        * wptGPG.cpp (check_gnupg_engine): Free context.
        (gnupg_backup_keyrings): Do not use global vars.
        * wptGPGUtil.cpp (gpg_export_seckey): Export in ascii format.
         
2006-04-15  Timo Schulz  <ts@g10code.de>
 
        * wptKeyManager.cpp (km_get_key): New.
        (km_key_show_revoc_info): New.
        * wptKeyRevokeDlg.cpp (key_revoke_dlg): Cleanups.
        (on_init_dialog): New.
        * wptKeyManagerDlg.cpp (key_manager_dlg_proc): Factour
        out some common code and use km_get_key() instead.
        * wptKeyEditDlgs.cpp (do_init_keylist): Change second
        param type. Change all callers.
        * wptKeyEdit.cpp (addNotation): New.
        * wptKeyEditCB.cpp (editkey_command_handler): Remove 'step'
        param everywhere. Change all callers.



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: 19762 byte(s)
Diff to previous 190 , to selected 95
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: 20513 byte(s)
Diff to previous 185 , to selected 95
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 185 - (view) (annotate) - [select for diffs]
Modified Mon Mar 20 12:48:52 2006 UTC (18 years, 11 months ago) by twoaday
File length: 20431 byte(s)
Diff to previous 180 , to selected 95
2006-03-20  Timo Schulz  <ts@g10code.de>

        * wptUTF8.cpp (get_native_charset): Removed.
        (utf8_to_native): Rewritten.
        * wptKeyEditDlgs.cpp (do_add_new_userid): Correct charset
        handling.
        * wptKeygenCBDlg.cpp (keygen_cb): Do proper reset if needed.



Revision 180 - (view) (annotate) - [select for diffs]
Modified Mon Mar 6 14:41:58 2006 UTC (18 years, 11 months ago) by twoaday
File length: 20395 byte(s)
Diff to previous 174 , to selected 95
2006-02-27  Timo Schulz  <twoaday@freakmail.de>
 
        * wptSOCKS.cpp (socks_handshake): New.
        * wptMainProc.cpp (winpt_main_proc): A dbl-click forces
        the key manager in teh foreground if possible.
        * wptHotkey.cpp (hotkey_unregister): Unregister all hotkeys.
        * wptRegistry.cpp (get_reg_proxy_prefs,
        set_reg_proxy_prefs): Use directly the proxy context.
        Changed all callers.
        * wptProxySettingsDlg.cpp (init_proxy_protocols): New.
        (keyserver_proxy_dlg_proc): Use directly the proxy context.
        * wptKeyserver.cpp (kserver_connect): Better proxy support.
        (kserver_send_request, kserver_recvkey_request): Likewise.
        * wptKeyserverDlg.cpp (name_from_proto): New.
        (set_proxy): Adjusted for the new code.



Revision 174 - (view) (annotate) - [select for diffs]
Modified Thu Feb 2 08:20:50 2006 UTC (19 years ago) by twoaday
File length: 20352 byte(s)
Diff to previous 165 , to selected 95
2006-01-31  Timo Schulz  <ts@g10code.de>
 
        * wptMainProc.cpp (winpt_main_proc): Fix usage of the
        help system.
        * wptListView.cpp (listview_set_chkbox_style): New.
        (listview_get_item_state): Support new checkbox style.
        (listview_new): Reset flag var.
        * wptKeylist.cpp (keylist_build): Support new checkbox style.
         
2006-01-30  Timo Schulz  <ts@g10code.de>
 
        * WinPT.cpp (check_readonly_attr): New.
        (load_gpg_env): Use it here.
        (WinPT): Make the the default key is searched in the
        secret key cache.
        Change error message.
        * wptRegistry.cpp (regist_int_winpt): Make sure
        the register extension is only offered once to the user.
        * wptKeyPropsDlg.cpp (get_photo_tmpname): Always use
        temp directory. Fixed a privilege problem.



Revision 165 - (view) (annotate) - [select for diffs]
Modified Tue Jan 24 10:10:15 2006 UTC (19 years, 1 month ago) by twoaday
File length: 20272 byte(s)
Diff to previous 164 , to selected 95
2006-01-21  Timo Schulz  <twoaday@freakmail.de>
                                                                                
        * wptKeyCache.cpp (keycache_next_key): Handle the case
        that there is a secret key without a public part.
        * wptKeyserver.cpp (kserver_save_conf): Save ports.
        * wptKeyserverDlg.cpp (keyserver_modify_dlg_proc):
        Reset keyserver name.
        * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Just indicate
        an update, do not update the cache.
        * wptFileManagerDlg.cpp (file_import_dlg_proc): Use one
        dialog for both clipboard and file imports.
        * wptKeyManager.cpp (km_file_import, km_clip_import):
        Changes to support new update system.
        (gpg_clip_import): New.
        * wptKeyManagerDlg.cpp (km_gui_import): New.
        (find_keypos): Rewritten.
        (refresh_keylist): Improved error checking.
                                                                                
(for complete list of changes, see PTD/ChangeLog, Src/ChangeLog)



Revision 164 - (view) (annotate) - [select for diffs]
Modified Fri Jan 20 09:19:15 2006 UTC (19 years, 1 month ago) by twoaday
File length: 20260 byte(s)
Diff to previous 150 , to selected 95
2006-01-20  Timo Schulz  <ts@g10code.com>
 
        * wptKeyCache.cpp (w32_tmpfile): New.
        (parse_attr_data): Use it here.
        * wptGPGUtil.cpp (gpg_get_photoid_data): Reset @ndata var.
         
2006-01-19  Timo Schulz  <ts@g10code.com>
 
        * wptClipVerifyDlg.cpp (clip_verify_dlg_proc): Do not
        reload the entire cache, just update the key.
        * wptFileVerifyDlg.cpp (file_verify_dlg_proc): Likewise.
        * wptKeyPropsDlg.cpp (keyprops_dlg_proc): Set update flag.
        * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Likewise.
        * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Update key
        if need after showing the properties.
        * wptGPGMEData.cpp (gpg_data_putc): Fix off-by-one bug.
        * wptKeyManager.cpp (km_import_file): New param. Changed
        all callers.
        (km_import_clip): Likewise.
        (delete_keys_from_cache): Delete secret part if available.
        * wptClipImportDlg.cpp (print_import_status): If there
        are too many new keys, use reload code.
         



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: 20248 byte(s)
Diff to previous 139 , to selected 95
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 139 - (view) (annotate) - [select for diffs]
Modified Wed Jan 11 12:19:41 2006 UTC (19 years, 1 month ago) by twoaday
File length: 20247 byte(s)
Diff to previous 137 , to selected 95
2006-01-10  Timo Schulz  <ts@g10code.com>
 
        * wptMainProc.cpp (winpt_main_proc): Restore iconic
        File/Key Manager windows if needed.
        * wptGPGPrefsDlg.cpp (gpg_prefs_dlg_proc): Disable button.
        * wptSiglist.cpp (init_cmp): New.
        (siglist_sort): New.
        (siglist_cmp_cb): New.
        (siglist_add_key): Force NOKEY status when key was not found.
        * wptKeysigDlg.cpp (recv_single_key): New.
        (recv_missing_keys): Reload entire key when more than one key
        was fetched.
        (keysig_dlg_proc): Support sorting the listview items.
         


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: 20001 byte(s)
Diff to previous 129 , to selected 95
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: 20066 byte(s)
Diff to previous 121 , to selected 95
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: 20253 byte(s)
Diff to previous 105 , to selected 95
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: 20762 byte(s)
Diff to previous 95
Several cleanups and improved translation.



Revision 95 - (view) (annotate) - [selected]
Modified Thu Nov 24 12:09:28 2005 UTC (19 years, 3 months ago) by twoaday
File length: 20681 byte(s)
Diff to previous 78
See ChangeLog.



Revision 78 - (view) (annotate) - [select for diffs]
Modified Tue Nov 15 08:54:44 2005 UTC (19 years, 3 months ago) by twoaday
File length: 20502 byte(s)
Diff to previous 73 , to selected 95
2005-11-14  Timo Schulz  <ts@g10code.com>
 
        * wptGPG.cpp (check_gnupg_engine): Fix version check.
        * wptMainProc.cpp (winpt_main_proc): Check keyring
        file permissions always and do not use interative output
        when the windows session ends.
        * wptProxySettingsDlg.cpp (proxy_settings_dlg_proc):
        Localize all strings.
        * wptPassphraseDlg.cpp (passwd_dlg_proc): Likewise.
        * wptGPGPrefsDlg.cpp (gpg_prefs_dlg): Likewise.
        * wptKeyEditDlgs.cpp (do_init_keylist): Skip all
        non-valid keys.
         



Revision 73 - (view) (annotate) - [select for diffs]
Modified Tue Nov 8 07:15:13 2005 UTC (19 years, 3 months ago) by twoaday
File length: 20419 byte(s)
Diff to previous 72 , to selected 95
2005-11-08  Timo Schulz  <ts@g10code.com>
 
        More minor changes to avoid GCC warnings.
         
        * wptGPG.cpp (check_homedir): Free memory in case of errors.
        (multi_gnupg_path): Add strict mode. If non-strict mode return
        the folder even if it does not exist.
        (check_for_gpgwin): New.
        * wptKeyserverDlg.cpp (hkp_recv_key): Make sure import_res is
        initialized.
        * wptRegistry.cpp (get_reg_entry_gpg4win): New.
        (get_reg_entry_mo): Support for gpg4win.
         
For complete changes see ChangeLogs.


Revision 72 - (view) (annotate) - [select for diffs]
Modified Mon Nov 7 12:48:34 2005 UTC (19 years, 3 months ago) by twoaday
File length: 20422 byte(s)
Diff to previous 68 , to selected 95
Patch for better encrypt-only environment.


Revision 68 - (view) (annotate) - [select for diffs]
Modified Sat Nov 5 12:00:55 2005 UTC (19 years, 3 months ago) by twoaday
File length: 19919 byte(s)
Diff to previous 48 , to selected 95
More minor changes to avoid GCC warnings.



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: 19991 byte(s)
Diff to previous 47 , to selected 95
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 47 - (view) (annotate) - [select for diffs]
Modified Mon Oct 31 14:04:59 2005 UTC (19 years, 4 months ago) by werner
File length: 19989 byte(s)
Diff to previous 36 , to selected 95
Minor changes; compiles now but gettext is still missing.


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: 19992 byte(s)
Diff to previous 32 , to selected 95
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: 20541 byte(s)
Diff to previous 26 , to selected 95
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 26 - (view) (annotate) - [select for diffs]
Modified Mon Oct 17 08:49:30 2005 UTC (19 years, 4 months ago) by twoaday
File length: 20204 byte(s)
Diff to previous 25 , to selected 95
More bug fixes all over the place.
See ChangeLog for details.


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: 20388 byte(s)
Diff to previous 24 , to selected 95
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: 20150 byte(s)
Diff to previous 23 , to selected 95
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: 20154 byte(s)
Diff to previous 20 , to selected 95
Almost finished phase 1 of the WinPT GPGME port.
Still need more cleanup, comments and tests.



Revision 20 - (view) (annotate) - [select for diffs]
Modified Wed Jul 27 11:17:22 2005 UTC (19 years, 7 months ago) by twoaday
File length: 20275 byte(s)
Diff to previous 19 , to selected 95
2005-07-22  Timo Schulz  <twoaday@freakmail.de>
 
        * wptMainProc.cpp (winpt_main_proc): Take care for shutdown
        messages and make sure WinPT make a keyring backup in this case.
        * wptGPGME.cpp (keycache_reload): Do not rebuild the signature
        cache each time. Just do it on startup.
        * wptKeyManager.cpp (km_key_is_v3): Use new ATTR_VERSION.
        * wptKeyEditDlgs.cpp (keyedit_main_dlg_proc): Assume the v3 flag
        was set by the calling function.
        * wptKeyGenDlg.cpp (keygen_wizard_dlg_proc): Ask for backups.
        (keygen_dlg_proc): Only add the generated key to the keycache
        and do not reload the entire cache.
        * wptKeyManager.cpp (km_delete_keys): Store the number of keys
        because in each loop iteration it will be new calculated.
        * wptListView.cpp (listview_del_items): Likewise.
        * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Directly add the
        generated key to the list instead of reloading the entire cache.
        * wptKeyEditDlgs.cpp (parse_preflist): Support fpr SHAnnn.



Revision 19 - (view) (annotate) - [select for diffs]
Modified Fri May 20 08:39:15 2005 UTC (19 years, 9 months ago) by twoaday
File length: 20231 byte(s)
Diff to previous 2 , to selected 95
2005-05-09 Timo Schulz  <twoaday@freakmail.de>
                                                                                  
        * wptCommonDlg.cpp (http_file_dlg_proc): Renamed to..
        (http_dlg_proc): ..this.
        (get_keyserver_URL_dlg): New.
        (check_URL): New.
        * wptKeyEditDlgs.cpp (keyedit_set_pref_keyserver): New.
        (keyedit_main_dlg_proc): Avoid massive keycache reloads, just reload
        the single key.
        * wptKeyRevokersDlg.cpp (key_revokers_dlg_proc): Show the key properties
        of the selected desig. revoker.
        * wptVerifyList.cpp (verlist_build): Increase the column size of 'keyid'.
        * wptGPGME.cpp (keycache_update): New.
        * wptKeySigDlg.cpp (keysig_dlg_proc): Update the key if a signature
        was deleted.
        * wptKeyManagerDlg.cpp (keymanager_dlg_proc): Zeroing the key struct
        before we set any values.
                                                                                  


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: 20247 byte(s)
Diff to selected 95
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