OSDN Git Service
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.
Kazuhiro Fujieda [Tue, 10 May 2011 07:51:52 +0000 (16:51 +0900)]
Rewrite code to change modifier states.
Kazuhiro Fujieda [Tue, 10 May 2011 05:34:59 +0000 (14:34 +0900)]
CXkeymacsDll::IsDown uses GetAsyncKeyState instead of GetKeyState
when bPhysicalKey is TRUE.
Kazuhiro Fujieda [Tue, 10 May 2011 04:04:13 +0000 (13:04 +0900)]
Correctly solve a problem where shift key is locked after using a
key combination with the right shift key.
Kazuhiro Fujieda [Sun, 5 Jun 2011 12:16:39 +0000 (21:16 +0900)]
Incorporate differences in version 3.48.
Support recent versions of Firefox. Support Fn key as a shortcut key.
Kazuhiro Fujieda [Fri, 10 Jun 2011 07:48:35 +0000 (16:48 +0900)]
Remove unused m_bEnableKeyboardHook in CXkeymacsDll and related code.
Rename ReleaseHook to ReleaseHooks in CXkeymacsDll and rewrite it
with ReleaseHooks and SetHooks.
Tomohiro Kashiwada [Thu, 9 Jun 2011 07:50:31 +0000 (16:50 +0900)]
Make the keyboard hooks global.
Each keyboard hook of 32bit and 64bit works only corresponding
applications and controls IME through a window message.
Make the reset of 64bit hooks disabled because it doesn't work.
Tomohiro Kashiwada [Wed, 8 Jun 2011 23:47:39 +0000 (08:47 +0900)]
Add .gitignore.
Tomohiro Kashiwada [Thu, 9 Jun 2011 09:51:08 +0000 (18:51 +0900)]
Specify the dependency of projects in the solution file instead of
specifying the reference to the xkeymacsdll project in the xkeymacs
project file to avoid the error missing the project GUID in
different environments.
Kazuhiro Fujieda [Wed, 8 Jun 2011 08:16:33 +0000 (17:16 +0900)]
Stop considering the different GUIDs of the xkeymacsdll project in
different environments.
Kazuhiro Fujieda [Tue, 3 May 2011 03:23:39 +0000 (12:23 +0900)]
Some cosmetic change in Readme64.txt.
Add NEWS.txt.
Kazuhiro Fujieda [Wed, 27 Apr 2011 04:45:08 +0000 (13:45 +0900)]
Support recent versions of Microsoft Visual Studio.
Fix a bug where M-v doesn't work at first time on Visual Studio
2010. Fix a bug where C-g releases the control key on recent
versions of Visual Studio. Support the incremental search on them.
Kazuhiro Fujieda [Tue, 26 Apr 2011 08:20:17 +0000 (17:20 +0900)]
Add Readme64.txt.
Kazuhiro Fujieda [Wed, 18 May 2011 14:39:32 +0000 (23:39 +0900)]
Use secure versions of library functions.
Kazuhiro Fujieda [Wed, 18 May 2011 14:14:19 +0000 (23:14 +0900)]
Use WINDOW_TEXT_LENGTH instead of 0x100 as the buffer size for
GetWindowText. Remove size arguments from SetCorrectApplicationName,
FairConsoleApplicationName, IsConsole and IsJavaW in CUtils.
Kazuhiro Fujieda [Tue, 26 Apr 2011 00:33:31 +0000 (09:33 +0900)]
Give main roles to 32bit version and simplify 64bit version.
Add 64bit versions of CXkeymacsApp and CMainFrame. xkeymacs64.exe
consists of these classes. xkeymacs.exe launches xkeymacs64.exe on
WOW64 and controls it through a named pipe.
xkeymacs.dll and xkeymacs64.dll share the properties through a
temporary file. xkeymacs64.exe enables the keyboard hook after it
reads the properties.
Kazuhiro Fujieda [Wed, 18 May 2011 12:07:19 +0000 (21:07 +0900)]
Move CAboutDlg in xkeymacs/xkeymacs.{cpp,h} to xkeymacs/about.{cpp,h}.
Kazuhiro Fujieda [Wed, 18 May 2011 11:15:35 +0000 (20:15 +0900)]
Remove typedef of Translate_t and the declaration of struct
Translate and enum Instance in xkeymacs/xkeymacs.h. Remove
m_Instance in CXkeymacsApp. Remove CXkeymacsApp::OnAppAbout.
Kazuhiro Fujieda [Sat, 16 Apr 2011 05:00:10 +0000 (14:00 +0900)]
CMainFrame handles notify icons instead of CXkeymacsDll.
CXkeymacsDll changes notify icons through a named pipe.
It changes all modifier icons and the M-x tip at the same time.
CMainFrame creates a thread to receive messages from CXkeymacsDll.
Kazuhiro Fujieda [Fri, 22 Apr 2011 05:07:02 +0000 (14:07 +0900)]
Make all member functions of CXkeymacsDll static.
Make CMainFrame::m_pPropertiesDlg private.
Kazuhiro Fujieda [Sat, 14 May 2011 19:11:47 +0000 (04:11 +0900)]
Move CXkeymacsData in xkeymacsdll/xkeymacsdll.{cpp,h} to
xkeymacs/data.{cpp,h} as CData.
Kazuhiro Fujieda [Fri, 13 May 2011 23:05:39 +0000 (08:05 +0900)]
Move member functions related to Commands in CXkeymacsData to CCommands.
Kazuhiro Fujieda [Fri, 13 May 2011 14:13:50 +0000 (23:13 +0900)]
Move Is106Keyboard and Set106Keyboard in CXkeymacsData to CXkeymacsDll.
Kazuhiro Fujieda [Thu, 14 Apr 2011 14:48:42 +0000 (23:48 +0900)]
Add CKeyboardLayout class.
Move code to handle KeyboardLayout from CProfile and CKey to
CKeyboardLayout. Move common code in C104Keyboard and C109Keyboard
to it. These calsses inherit it.
Kazuhiro Fujieda [Fri, 20 May 2011 23:37:22 +0000 (08:37 +0900)]
Rewrite CProfile::GetTaskList.
Delete PROCESS_SIZE macro. Make m_TaskList and m_dwTasks in CProfile
private. GetTaskList operates them directly. Remove arguments and
the return value of it. Remove code to delete directory names in it.
Kazuhiro Fujieda [Thu, 12 May 2011 21:54:07 +0000 (06:54 +0900)]
Remove support for Win9x/Me and NT4.0.
Kazuhiro Fujieda [Thu, 12 May 2011 07:45:40 +0000 (16:45 +0900)]
Remove unused GetCaretPosition, SetCaretPosition, GetCaretPos, and
related variables in CCoomands.
Kazuhiro Fujieda [Thu, 12 May 2011 09:20:19 +0000 (18:20 +0900)]
Remove typedef OriginalWindowPosition_t in Commands.h. Make MAX_WINDOW
constant and use it as the size of m_OriginalWindowPosition in CCommands.
Kazuhiro Fujieda [Sat, 14 May 2011 17:15:33 +0000 (02:15 +0900)]
Use MAX_COMMAND and MAX_KEY_BIND.
Kazuhiro Fujieda [Fri, 13 May 2011 11:28:40 +0000 (20:28 +0900)]
Remove typedef of Command_t in Commands.h. Move the initilizer of
Commands in Commands.h to Commands.cpp and export Commands from
DLL. Declare MAX_COMMAND in Commands.h.