OSDN Git Service
Kazuhiro Fujieda [Fri, 7 Oct 2011 00:37:10 +0000 (09:37 +0900)]
Reorganize header files and their inclusion.
Kazuhiro Fujieda [Thu, 6 Oct 2011 06:57:48 +0000 (15:57 +0900)]
Rewrite CUtils::Log with _vstprintf_s.
Kazuhiro Fujieda [Tue, 4 Oct 2011 09:37:44 +0000 (18:37 +0900)]
Remove obsolete or unused code from CUtils.
Kazuhiro Fujieda [Sat, 24 Sep 2011 14:51:10 +0000 (23:51 +0900)]
Start the 32bit process if the 64bit process previously starts.
Simplify code to start the 64bit process in the 32bit process.
Kazuhiro Fujieda [Sat, 24 Sep 2011 06:21:10 +0000 (15:21 +0900)]
Make some tweaks on resource files.
Regenerate the resource file for xkeymacs.exe with VS2010.
Use a separate resource file for xkeymacs64.exe and remove dependency
to another resource file.
Make ProductName "XKeymacs" in both resource files.
Set more intuitive FileDescription in each resource file.
Kazuhiro Fujieda [Tue, 6 Sep 2011 15:56:15 +0000 (00:56 +0900)]
Make the order of declarations and definitions of members in
CXkeymacsDll more sensible.
Kazuhiro Fujieda [Mon, 5 Sep 2011 07:48:48 +0000 (16:48 +0900)]
Remove Clear and rewrite IsPassThrough in CXkeymacsDll.
Kazuhiro Fujieda [Sun, 4 Sep 2011 10:39:58 +0000 (19:39 +0900)]
Remove IsValidKey and rewrite IsDepressedModifier in CXkeymacsDll.
Kazuhiro Fujieda [Sun, 4 Sep 2011 09:52:36 +0000 (18:52 +0900)]
Some minor modifications.
Kazuhiro Fujieda [Sun, 4 Sep 2011 09:09:34 +0000 (18:09 +0900)]
Take some member variables of CCommands and CXkeymacsDll outside of
the shared section. Different processes can't or shouldn't share them.
Kazuhiro Fujieda [Sun, 4 Sep 2011 06:24:11 +0000 (15:24 +0900)]
Modify or remove some declarations of constants in xkeymacsdll.h.
Declare some constants as const int.
Remove the declarations of EXTENDED_KEY, REPEATED_KEY, and BEING_RELEASED.
Exchange the values of ON_ICON and OFF_ICON.
Kazuhiro Fujieda [Sat, 3 Sep 2011 09:49:56 +0000 (18:49 +0900)]
Allocate the thread local storage in CXkeymacsDll::SetKeyboardHook
if it isn't allocated yet.
Kazuhiro Fujieda [Tue, 13 Sep 2011 04:37:51 +0000 (13:37 +0900)]
Use typecasting from CString to LPCTSTR instead of CString::GetString
in CUtils::SetClipboardText.
Kazuhiro Fujieda [Sat, 3 Sep 2011 12:04:22 +0000 (21:04 +0900)]
Make the first argument of CallNextHookEx NULL because it is ignored
on NT-based Windows.
Kazuhiro Fujieda [Tue, 30 Aug 2011 07:01:56 +0000 (16:01 +0900)]
Improve the member functions of CXkeymacsDll relating the hooks.
Remove the member variables of the hook handles from the shared section.
Remove unnecessary type casts in SetHooks.
Merge the invocations of CallNextHookEx in CallWndProc.
Add the invocations of SetKeyboardHook to CallWndRetProc and GetMsgProc.
Process messages in GetMsgProc only when nCode >= 0.
Kazuhiro Fujieda [Fri, 26 Aug 2011 06:06:18 +0000 (15:06 +0900)]
Rewrite member functions of CUtils relating to the clipboard. Remove
unused GetClipbardTextLength.
Kazuhiro Fujieda [Fri, 26 Aug 2011 04:43:17 +0000 (13:43 +0900)]
Hook release events of Alt caused by XKeymacs on Google Chrome.
Kazuhiro Fujieda [Thu, 25 Aug 2011 14:44:58 +0000 (23:44 +0900)]
Remove obsolete parameters from a log message.
Kazuhiro Fujieda [Thu, 25 Aug 2011 06:52:56 +0000 (15:52 +0900)]
Rename nVirtualCommandType nVirtualType.
Kazuhiro Fujieda [Fri, 26 Aug 2011 06:13:28 +0000 (15:13 +0900)]
Add *.aps to .gitignore.
Kazuhiro Fujieda [Sat, 13 Aug 2011 06:19:24 +0000 (15:19 +0900)]
Ignore inactive IMEs.
Kazuhiro Fujieda [Wed, 10 Aug 2011 07:43:26 +0000 (16:43 +0900)]
Change fonts into MS UI Gothic in Japanese and Tahoma in English.
Kazuhiro Fujieda [Sun, 7 Aug 2011 06:22:41 +0000 (15:22 +0900)]
Add a description of a fix for Firefox to doc/release{,_J}.txt.
Kazuhiro Fujieda [Sun, 7 Aug 2011 05:53:58 +0000 (14:53 +0900)]
CCommands::DeactivateMark() pushes VK_RIGHT on Firefox.
Kazuhiro Fujieda [Sun, 7 Aug 2011 04:55:17 +0000 (13:55 +0900)]
Use TLS APIs instead of __declspec(thread).
Kazuhiro Fujieda [Tue, 26 Jul 2011 06:33:32 +0000 (15:33 +0900)]
Fix a bug where some commands sensitive to being repeated such as
incremental search and kill line can't work in special cases.
Kazuhiro Fujieda [Fri, 22 Jul 2011 02:48:25 +0000 (11:48 +0900)]
Symlink Readme.markdown to Readme.txt.
Kazuhiro Fujieda [Fri, 22 Jul 2011 02:27:25 +0000 (11:27 +0900)]
Adjust the format of Readme{,_J}.txt to Markdown. Add detailed
instructions to uninstall or upgrade.
Kazuhiro Fujieda [Mon, 18 Jul 2011 07:45:24 +0000 (16:45 +0900)]
Move more code from C104Keyboard and C109Keyboard to CKeyboardLayout,
and remove DoDataExchange.
Kazuhiro Fujieda [Thu, 21 Jul 2011 00:58:06 +0000 (09:58 +0900)]
Make CXkeymacsApp::SendIPCMessage retry to send a message.
Kazuhiro Fujieda [Wed, 20 Jul 2011 12:37:11 +0000 (21:37 +0900)]
Make the keyboard hook local to each thread. Remove the code to
control IME with a window message.
Kazuhiro Fujieda [Wed, 20 Jul 2011 10:01:34 +0000 (19:01 +0900)]
Set alignment to IPC stuff.
Kazuhiro Fujieda [Sun, 17 Jul 2011 13:18:22 +0000 (22:18 +0900)]
Mention the change of how to show IMEs on the properties dialog.
Kazuhiro Fujieda [Sun, 17 Jul 2011 13:09:43 +0000 (22:09 +0900)]
Make xkeymacs.exe reset hooks on resuming from suspend.
Kazuhiro Fujieda [Sun, 17 Jul 2011 11:30:18 +0000 (20:30 +0900)]
Add a class to create a list of IMEs. Fix a bug where the properties
dialog doesn't show a IME based of TSF when there is no IME based
on IMM.
Kazuhiro Fujieda [Fri, 15 Jul 2011 14:26:30 +0000 (23:26 +0900)]
Make the properties dialog show one of IMEs only based on TSF.
Kazuhiro Fujieda [Wed, 13 Jul 2011 13:21:33 +0000 (22:21 +0900)]
Show the web site in Readme{,._J}.txt.
Kazuhiro Fujieda [Wed, 13 Jul 2011 12:39:56 +0000 (21:39 +0900)]
Remove the copyright notice and code to handle it. Modify the layout
of the about dialog.
Kazuhiro Fujieda [Wed, 13 Jul 2011 06:15:38 +0000 (15:15 +0900)]
Make the timeout of CallNamedPipe with IPC_PIPE forever.
Kazuhiro Fujieda [Tue, 12 Jul 2011 09:41:23 +0000 (18:41 +0900)]
Change arrays of BOOL or int to arrays of BYTE in CONFIG and CXkeymacsDll.
Kazuhiro Fujieda [Tue, 12 Jul 2011 09:00:33 +0000 (18:00 +0900)]
Add a description of a fix about IME to doc/release{,_J}.txt.
Kazuhiro Fujieda [Tue, 12 Jul 2011 08:21:07 +0000 (17:21 +0900)]
Rewrite code to handle titles and names of applications in CProfile
and CProperties.
Kazuhiro Fujieda [Tue, 12 Jul 2011 08:11:37 +0000 (17:11 +0900)]
Rename m_nApplicationID m_nAppID and rename m_szCurrentApplication
m_appName.
Kazuhiro Fujieda [Tue, 12 Jul 2011 07:01:47 +0000 (16:01 +0900)]
Rewrite CProfile::LevelUp.
Kazuhiro Fujieda [Mon, 11 Jul 2011 15:39:26 +0000 (00:39 +0900)]
Rename szAppName appTitle in CProfile. Merge CountSeparator,
GetNthString, and GetAppName into GetAppTitle.
Kazuhiro Fujieda [Mon, 11 Jul 2011 02:13:10 +0000 (11:13 +0900)]
Split GetApplicationIndex into DefaultAppID, AssingAppID,
GetSettingStyle, and SetSettingStyle in CProfile.
Kazuhiro Fujieda [Mon, 11 Jul 2011 02:00:32 +0000 (11:00 +0900)]
Rename CProfile::GetApplicaionIndex with one argument GetAppIndex
and change its argument to LPCSTR.
Kazuhiro Fujieda [Sat, 9 Jul 2011 04:53:59 +0000 (13:53 +0900)]
Remove UpdateDialogData in each of CProperties and its children.
Put the code in UpdateDialogData to get the dialog data into
GetDialogData and the code to set it into SetDialogData in each class.
Kazuhiro Fujieda [Fri, 8 Jul 2011 08:54:31 +0000 (17:54 +0900)]
Remove the argument of CString of SetDialogData and UpdateDialogData
in each of CProperties and its children.
Kazuhiro Fujieda [Fri, 8 Jul 2011 06:59:57 +0000 (15:59 +0900)]
Use references instead of pointers in arguments of CProfile::ReadKeyBind.
Kazuhiro Fujieda [Fri, 8 Jul 2011 01:25:39 +0000 (10:25 +0900)]
Use LPCSTR instead of CString in arguments of SaveKeyBind,
SaveCommand and AddKeyBind2C_ of CProfile. Change the return type of
CCommands::GetCommandName to LPCSTR. Shorten variable names in these
functions.
Kazuhiro Fujieda [Fri, 8 Jul 2011 01:07:05 +0000 (10:07 +0900)]
Rename appName szAppName in CProfile::SaveRegistry.
Make a minor change to CProfile::LoadRegistry.
Kazuhiro Fujieda [Thu, 7 Jul 2011 09:49:40 +0000 (18:49 +0900)]
Remove CData. The application manages settings with struct CONFIG
and sets the settings to the DLL by copying it.
Kazuhiro Fujieda [Wed, 6 Jul 2011 08:04:39 +0000 (17:04 +0900)]
Remove ineffective code handling window text types.
Kazuhiro Fujieda [Wed, 6 Jul 2011 08:00:36 +0000 (17:00 +0900)]
Remove unused nMessage and bAtIbeamCursorOnly from CONFIG.
Kazuhiro Fujieda [Wed, 6 Jul 2011 06:30:44 +0000 (15:30 +0900)]
Rewrite CXkeymacsDll::KeyboardProc.
Kazuhiro Fujieda [Tue, 5 Jul 2011 07:44:09 +0000 (16:44 +0900)]
Use pre increments if possible.
Kazuhiro Fujieda [Tue, 5 Jul 2011 05:54:34 +0000 (14:54 +0900)]
Shorten some names.
Rename nApplicationID nAppID. Rename nFunctionID as a variable name
nFuncID. Rename nCommandType nType. Rename nCommandID as a variable
name nComID. Rename szCommandTypeName szName.
Kazuhiro Fujieda [Tue, 12 Jul 2011 05:49:07 +0000 (14:49 +0900)]
Use GetKeyboardLayoutList instead of GetKeyboardLayout and drop the
code using TSF.
Kazuhiro Fujieda [Tue, 12 Jul 2011 05:23:08 +0000 (14:23 +0900)]
Replace auto with const_iterator.
Kazuhiro Fujieda [Fri, 8 Jul 2011 00:33:12 +0000 (09:33 +0900)]
Rename SaveRegistory SaveRegistry and LoadRegistory LoadRegistry.
co [Tue, 5 Jul 2011 03:12:33 +0000 (12:12 +0900)]
Add GetIMEInfo to CProfile. Make InitApplicationList uses it.
GetIMEInfo uses TSF to get the description of IME if IMM32 isn't
available.
Kazuhiro Fujieda [Sun, 3 Jul 2011 00:19:48 +0000 (09:19 +0900)]
Is64ProcessHwnd invokes OpenProcess with PROCESS_QUERY_INFORMATION. #25429
Kazuhiro Fujieda [Sat, 2 Jul 2011 13:42:20 +0000 (22:42 +0900)]
Add descriptions of recent changes to doc/release{,_J}.txt.
Modify slightly the introductions in Readme{,_J}.txt.
Kazuhiro Fujieda [Sat, 2 Jul 2011 07:35:42 +0000 (16:35 +0900)]
Add a new image of 256x256 pixels to xkeymacs.ico.
Kazuhiro Fujieda [Sun, 26 Jun 2011 13:13:19 +0000 (22:13 +0900)]
Add a developer.
Kazuhiro Fujieda [Sun, 26 Jun 2011 07:47:53 +0000 (16:47 +0900)]
Support incremental and normal search on recent versions of Eclipse
and forward incremental search on Notepad++. This change is derived
from work by Harold Bamford <hbamford@users.sourceforge.net>.
Kazuhiro Fujieda [Sat, 25 Jun 2011 12:44:35 +0000 (21:44 +0900)]
Fix typos in comments. This fix is produced by Harold Bamford
<hbamford@users.sourceforge.net>.
Kazuhiro Fujieda [Fri, 24 Jun 2011 13:33:42 +0000 (22:33 +0900)]
Remove invocations of obsolete Enable3dControls and Enable3dControlsStatic.
Remove dead code.
Kazuhiro Fujieda [Sun, 26 Jun 2011 05:19:04 +0000 (14:19 +0900)]
Remove unused check for VisualStudio in CCommands::GetDirectionForwardKey.
Kazuhiro Fujieda [Sun, 26 Jun 2011 01:59:23 +0000 (10:59 +0900)]
Add declarations of index variables.
Kazuhiro Fujieda [Fri, 24 Jun 2011 06:23:44 +0000 (15:23 +0900)]
Declare index variables in for-loops outside the loops as needed.
Kazuhiro Fujieda [Fri, 24 Jun 2011 05:03:28 +0000 (14:03 +0900)]
Remove empty constructors and destructors.
Kazuhiro Fujieda [Thu, 23 Jun 2011 06:59:53 +0000 (15:59 +0900)]
Use MAX_COMMAND and MAX_KEY_BIND further.
Kazuhiro Fujieda [Tue, 21 Jun 2011 14:11:16 +0000 (23:11 +0900)]
Modify coding style of Is64ProcessHwnd and others.
Kazuhiro Fujieda [Tue, 21 Jun 2011 11:33:21 +0000 (20:33 +0900)]
Fix a bug where CallNextHookEx is wrongly called twice in
CXkeymacsDll::CallWndProc.
Kazuhiro Fujieda [Tue, 21 Jun 2011 07:25:05 +0000 (16:25 +0900)]
Modify URLs and add a registry key to be deleted in Readme{,_J}.txt.
Modify a description of a bug and add descriptions of recent fixes
in doc/release{,_J}.txt.
Kazuhiro Fujieda [Tue, 21 Jun 2011 08:24:05 +0000 (17:24 +0900)]
Make Load not create new files and LoadMainData not create the "etc"
directory in CDotXkeymacs.
Kazuhiro Fujieda [Tue, 21 Jun 2011 08:21:06 +0000 (17:21 +0900)]
Remove typedef Language_t in dotxkeymacs.h. Move the declaration of
Languages from dotxkeymacs.h to dotxkeymacs.cpp.
Kazuhiro Fujieda [Tue, 21 Jun 2011 07:01:03 +0000 (16:01 +0900)]
Rewrite CXkeymacsDll::InitKeyboardProc.
Fix a bug where VK_END is wrongly pressed on find dialogs.
Kazuhiro Fujieda [Tue, 21 Jun 2011 06:19:30 +0000 (15:19 +0900)]
Add const modifiers to arguments and bHookApp in CXkeymacsDll::SetModifierState.
Kazuhiro Fujieda [Mon, 20 Jun 2011 13:09:57 +0000 (22:09 +0900)]
Modify type casting of arguments of CCommands::DoSetInputMethodOpenStatus
in CXkeymacsDll::GetMsgProc.
Kazuhiro Fujieda [Wed, 15 Jun 2011 08:19:05 +0000 (17:19 +0900)]
Rewrite code to handle keyboard macros again with std::list.
Fix a bug where \C-u\C-x( doesn't work.
Kazuhiro Fujieda [Mon, 13 Jun 2011 16:08:19 +0000 (01:08 +0900)]
Rewrite code to handle original functions. Fix a bug where original
functions enclosed by '"' don't work well.
Kazuhiro Fujieda [Wed, 15 Jun 2011 12:38:19 +0000 (21:38 +0900)]
Remove m_bAtIbeamCursorOnly from CData.
Kazuhiro Fujieda [Mon, 20 Jun 2011 07:38:25 +0000 (16:38 +0900)]
Fix bugs related to the setting modes on the properties dialog.
- The setting modes for default and dialogs are initially set to the
default mode.
- The default key assignments are used after the setting mode
reverts from the specific mode to the default mode.
- The setting mode can't revert from the disable mode to the default mode.
Kazuhiro Fujieda [Mon, 20 Jun 2011 07:05:30 +0000 (16:05 +0900)]
Separate UpdateRegistryData into LoadRegistry and SaveRegistry in CProfile.
Kazuhiro Fujieda [Sun, 19 Jun 2011 12:37:02 +0000 (21:37 +0900)]
Rename m_XkeymacsData m_Data, LoadRegistryData LoadData, and
SaveRegistryData SaveData in CProfile.
Kazuhiro Fujieda [Sat, 11 Jun 2011 02:38:31 +0000 (11:38 +0900)]
Set the version number to 4.0. Modify URL on the version dialog.
Kazuhiro Fujieda [Sat, 11 Jun 2011 00:41:43 +0000 (09:41 +0900)]
Remove NEWS.txt and Readme64.txt. Rewrite original documents.
Kazuhiro Fujieda [Fri, 10 Jun 2011 11:40:22 +0000 (20:40 +0900)]
Add original documents and dot.xkeymacs.
Kazuhiro Fujieda [Wed, 8 Jun 2011 03:28:32 +0000 (12:28 +0900)]
Fix a bug where the choice of the default setting for an application
can't be saved once you choose the setting specific to it.
Kazuhiro Fujieda [Tue, 7 Jun 2011 08:12:02 +0000 (17:12 +0900)]
Remove code handling unused AtIbeamCursorOnly.
Kazuhiro Fujieda [Sat, 28 May 2011 16:47:37 +0000 (01:47 +0900)]
Remove unused CXkeymacsDll::GetMickey.
Kazuhiro Fujieda [Sat, 28 May 2011 06:25:32 +0000 (15:25 +0900)]
Rewrite code handling the keyboard macro.
Separate DefiningMacro into StartRecordMacro and EndRecordMacro in
CXkeymacsDll. Make bDown a member variable of CXkeymacsDll. Change
the type of CXkeymacsDll::m_Macro from CObList to CList. Remove
member variables for the keyboard macro from the shared section of
the DLL.
Kazuhiro Fujieda [Wed, 11 May 2011 14:39:49 +0000 (23:39 +0900)]
Rewrite code to handle original keys. Use VK_{CONTROL,SHIFT,MENU}
instead of VK_{R,L}{CONTROL,SHIFT,MENU} to simplify code.
Kazuhiro Fujieda [Fri, 10 Jun 2011 09:18:29 +0000 (18:18 +0900)]
Rewrite CallWndProc, CallWndRetProc, GetMsgProc, and ShellProc in
CXkeymacsDll.
Remove code to handle WM_POWERBROADCAST in CallWndProc because it
doesn't work at all. Remove unuseful LogCallWndProcMessage in
CXkeymacsDll.
Kazuhiro Fujieda [Wed, 11 May 2011 09:29:33 +0000 (18:29 +0900)]
Separate SetKeyboardFookFlag(BOOL) in CXkeymacsDll into
ToggleKeyboardHookState() and ShowKeyboardHookState(). Replace
SetKeyboardFookFlag() with ShowKeyboardHookState().
Kazuhiro Fujieda [Tue, 10 May 2011 09:44:01 +0000 (18:44 +0900)]
Fix a bug where deactivating the mark fails on Visual Studio.
Kazuhiro Fujieda [Tue, 10 May 2011 09:02:00 +0000 (18:02 +0900)]
Modify the way to hook the release of Alt of shortcut keys with Alt
to keep the focus from moving to the menu.
Fix a bug where the focus moves to the menu when you release Alt
first when you use a shortcut key with Alt on Visual Studio.
Hook the release of Alt instead of a dummy push of Ctrl on Visual
C++ and Firefox. Hook it on InternetExplorer too.