OSDN Git Service

yamy/yamy.git
14 years agoenable retry to escape NLS keys only on fail by timeout v0.02
U-i7\gimy [Sat, 29 Aug 2009 16:04:11 +0000 (01:04 +0900)]
enable retry to escape NLS keys only on fail by timeout

14 years agoupdate readme.txt for v0.02
U-i7\gimy [Sat, 29 Aug 2009 13:50:40 +0000 (22:50 +0900)]
update readme.txt for v0.02

14 years agoinvoke yamy{64,32} and yamyd32 from same directory of yamy.exe instead of current...
U-i7\gimy [Sat, 29 Aug 2009 10:57:27 +0000 (19:57 +0900)]
invoke yamy{64,32} and yamyd32 from same directory of yamy.exe instead of current working directory

14 years ago* use SendMessageTimeout() instead of PostMessage()
U-i7\gimy [Sat, 29 Aug 2009 10:08:45 +0000 (19:08 +0900)]
* use SendMessageTimeout() instead of PostMessage()
* unify sending WM_NULL from yamyd32 into yamy64
* don't send WM_NULL during logoff

14 years agoreadjust restore/escape NLS keys rule on session event
U-i7\gimy [Fri, 28 Aug 2009 16:15:05 +0000 (01:15 +0900)]
readjust restore/escape NLS keys rule on session event

14 years agodon't put retry dialog of escape NLS keys when internal retry successed
U-i7\gimy [Thu, 27 Aug 2009 14:42:24 +0000 (23:42 +0900)]
don't put retry dialog of escape NLS keys when internal retry successed

14 years agore-number error code with macro
U-i7\gimy [Thu, 27 Aug 2009 14:38:25 +0000 (23:38 +0900)]
re-number error code with macro
delete junk debug code

14 years agoupdate readme.txt
U-i7\gimy [Thu, 27 Aug 2009 13:58:13 +0000 (22:58 +0900)]
update readme.txt

14 years agothrough mouse event even if it isn't defined in .mayu for fail safe
U-i7\gimy [Thu, 27 Aug 2009 13:55:28 +0000 (22:55 +0900)]
through mouse event even if it isn't defined in .mayu for fail safe

14 years agothrough input when no focus
U-i7\gimy [Thu, 27 Aug 2009 13:37:34 +0000 (22:37 +0900)]
through input when no focus

14 years agofix problem that baloon help doesn't appear on Windows XP
U-i7\gimy [Thu, 27 Aug 2009 13:22:37 +0000 (22:22 +0900)]
fix problem that baloon help doesn't appear on Windows XP

14 years agothrough mouse event when logging and disabled
U-i7\gimy [Thu, 27 Aug 2009 13:21:18 +0000 (22:21 +0900)]
through mouse event when logging and disabled

14 years agoupdate Scancode Map asynchronouslly by independent thread to avoid stall on Windows XP
U-i7\gimy [Thu, 27 Aug 2009 13:15:45 +0000 (22:15 +0900)]
update Scancode Map asynchronouslly by independent thread to avoid stall on Windows XP
put retry dialog on update Scancode Map fail, instead of timer retry
restore NLS keys during yamy disabled

14 years agouse ULONG_PTR instead of DWORD to calculate pointer difference for x64
U-i7\gimy [Sun, 23 Aug 2009 14:46:47 +0000 (23:46 +0900)]
use ULONG_PTR instead of DWORD to calculate pointer difference for x64

14 years agoforce MINIMIZEDMETRICS::iArrange after UpdatePerUserSystemParameters() to ARW_HIDE
U-i7\gimy [Sun, 23 Aug 2009 14:42:41 +0000 (23:42 +0900)]
force MINIMIZEDMETRICS::iArrange after UpdatePerUserSystemParameters() to ARW_HIDE

14 years agoprototype of UpdatePerUserSystemParameters differ by vista or earlier
U-i7\gimy [Sun, 23 Aug 2009 14:40:13 +0000 (23:40 +0900)]
prototype of UpdatePerUserSystemParameters differ by vista or earlier

14 years agoneed SeDebugPrivilege to escape NLS keys
U-i7\gimy [Sat, 22 Aug 2009 17:18:48 +0000 (02:18 +0900)]
need SeDebugPrivilege to escape NLS keys

14 years agoadd description for v0.02
U-i7\gimy [Sat, 22 Aug 2009 17:11:35 +0000 (02:11 +0900)]
add description for v0.02

14 years agoadd entry for NonConvert key
U-i7\gimy [Sat, 22 Aug 2009 17:10:35 +0000 (02:10 +0900)]
add entry for NonConvert key

14 years agomake threshold for drag event configurable by .mayu
U-i7\gimy [Sat, 22 Aug 2009 14:39:48 +0000 (23:39 +0900)]
make threshold for drag event configurable by .mayu

14 years agoignore case when compare process name
U-i7\gimy [Thu, 20 Aug 2009 14:31:23 +0000 (23:31 +0900)]
ignore case when compare process name

14 years agoescape NLS keys on lock or disconnect asynchronous, and retry by timer if failed
U-i7\gimy [Thu, 20 Aug 2009 14:23:00 +0000 (23:23 +0900)]
escape NLS keys on lock or disconnect asynchronous, and retry by timer if failed

14 years agomove procedures at once to constructor
U-i7\gimy [Thu, 20 Aug 2009 14:21:56 +0000 (23:21 +0900)]
move procedures at once to constructor

14 years agocollect injection fails as list, and try to clean them on next chance
U-i7\gimy [Wed, 19 Aug 2009 13:56:44 +0000 (22:56 +0900)]
collect injection fails as list, and try to clean them on next chance

14 years agoadd log on fail to escape NLS keys
U-i7\gimy [Tue, 18 Aug 2009 23:12:16 +0000 (08:12 +0900)]
add log on fail to escape NLS keys

14 years agoobsolete entry for test in FixScancodeMap::s_fixEntry to NonConvert code
U-i7\gimy [Mon, 17 Aug 2009 13:11:45 +0000 (22:11 +0900)]
obsolete entry for test in FixScancodeMap::s_fixEntry to NonConvert code

14 years agoIf there is hunged process, injection thread stall and when hunged process restart...
U-i7\gimy [Sun, 16 Aug 2009 15:11:34 +0000 (00:11 +0900)]
If there is hunged process, injection thread stall and when hunged process restart, injection thread restart too. So, if yamy free injected memory in this case, winlogon.exe will crash. To avoid this, don't free injected memory when waiting injected thread was timeout, and try to wait(and free injected memory) on next chance.

14 years agoadd configuration for escaped NLS keys
U-i7\gimy [Fri, 14 Aug 2009 15:45:42 +0000 (00:45 +0900)]
add configuration for escaped NLS keys

14 years agoadd entry to escape NLS keys
U-i7\gimy [Fri, 14 Aug 2009 15:44:58 +0000 (00:44 +0900)]
add entry to escape NLS keys

14 years agoswitch registry key for Scancode Map, HKCU for Vista or earlier and HKLM for Windows7
U-i7\gimy [Fri, 14 Aug 2009 14:00:34 +0000 (23:00 +0900)]
switch registry key for Scancode Map, HKCU for Vista or earlier and HKLM for Windows7

14 years agocall Mayu::enableToWriteByUser() only for Vista or later, because GetSecurityInfo...
U-i7\gimy [Fri, 14 Aug 2009 13:45:07 +0000 (22:45 +0900)]
call Mayu::enableToWriteByUser() only for Vista or later, because GetSecurityInfo() for mailslot fails on WindowsXP

14 years agoadd dummy operation to afterFunc()@fixscancodemap.cpp to avoid side effect of optimiz...
U-i7\gimy [Fri, 14 Aug 2009 08:43:27 +0000 (17:43 +0900)]
add dummy operation to afterFunc()@fixscancodemap.cpp to avoid side effect of optimization
put error dialog with error code on fail of changing security info for mainslot and escape NLS Keys

14 years agohold InjectInfo as member of FixScancodeMap and reuse it on injection
U-i7\gimy [Fri, 14 Aug 2009 05:53:04 +0000 (14:53 +0900)]
hold InjectInfo as member of FixScancodeMap and reuse it on injection
enable to escape NLS keys by yamy.ini(escapeNLSKeys=1)
restore NLS keys on change of user and re-escape them on re-rechge to previous user

14 years agouse FixScancodeMap to escape NLS keys(but disabled by macro yet)
U-i7\gimy [Thu, 13 Aug 2009 15:44:01 +0000 (00:44 +0900)]
use FixScancodeMap to escape NLS keys(but disabled by macro yet)
abort if ReadFileEx(m_hNotifyMailslot) failed in callback
enable standard user to write m_hNotifyMailslot created under UAC elevation
move CloseHandle of m_hNotifyEvent and m_hNotifyMailslot to head of destructor and CancleIo and SleepEx(to be alertable) to avoid crash by delayed call of callback

14 years agoreceive return code of injected code by GetExitCodeThread()
U-i7\gimy [Thu, 13 Aug 2009 15:25:40 +0000 (00:25 +0900)]
receive return code of injected code by GetExitCodeThread()
continue search of winlogon.exe even if ProcessIdToSessionId() failed
add comment that Windows7 may not support Scancode Map on HKCU

14 years agocheck session id on finding winlogon.exe PID
U-i7\gimy [Tue, 11 Aug 2009 04:14:58 +0000 (13:14 +0900)]
check session id on finding winlogon.exe PID

14 years agoadd module to update Scancode Map without logoff
U-i7\gimy [Tue, 11 Aug 2009 03:59:07 +0000 (12:59 +0900)]
add module to update Scancode Map without logoff

14 years agouse ini file or registry optionally
U-i7\gimy [Tue, 11 Aug 2009 03:56:02 +0000 (12:56 +0900)]
use ini file or registry optionally

14 years agogenerate WHEEL/HWHEEL up event virtually to avoid stay on pressed for these events...
U-i7\gimy [Mon, 27 Jul 2009 23:15:35 +0000 (08:15 +0900)]
generate WHEEL/HWHEEL up event virtually to avoid stay on pressed for these events in yamy engine

14 years agoworkaround for ticket #17607
U-i7\gimy [Fri, 24 Jul 2009 17:05:55 +0000 (02:05 +0900)]
workaround for ticket #17607

14 years agosupport wheel tilt(i.e. WH_MOUSEHWHEEL), but only on Vista and later
U-i7\gimy [Fri, 24 Jul 2009 16:49:11 +0000 (01:49 +0900)]
support wheel tilt(i.e. WH_MOUSEHWHEEL), but only on Vista and later

14 years agofix: illegal drag event after wheel event
U-i7\gimy [Fri, 24 Jul 2009 15:05:39 +0000 (00:05 +0900)]
fix: illegal drag event after wheel event

14 years agocombine correction of pointer postion during drag and following bottun down event
U-i7\gimy [Thu, 23 Jul 2009 15:03:05 +0000 (00:03 +0900)]
combine correction of pointer postion during drag and following bottun down event

14 years agomouse button event injected by SendInput() can't activate cmd.exe window on Vista...
U-i7\gimy [Thu, 23 Jul 2009 14:12:00 +0000 (23:12 +0900)]
mouse button event injected by SendInput() can't activate cmd.exe window on Vista(x64), so make workaound which call SetForegroundWindow() before inject button event to such window

14 years agorestore position of pointer after correction by drag event
U-i7\gimy [Wed, 22 Jul 2009 15:51:12 +0000 (00:51 +0900)]
restore position of pointer after correction by drag event

14 years agopreserve m_msllHookCurrent only on button down event
U-i7\gimy [Wed, 22 Jul 2009 14:35:38 +0000 (23:35 +0900)]
preserve m_msllHookCurrent only on button down event

14 years agonot trigger Drag event on Wheel event
U-i7\gimy [Wed, 22 Jul 2009 14:32:29 +0000 (23:32 +0900)]
not trigger Drag event on Wheel event

14 years agosupport XButton1/XButton2, but not tested
U-i7\gimy [Wed, 22 Jul 2009 14:28:20 +0000 (23:28 +0900)]
support XButton1/XButton2, but not tested

14 years agointroduce pseudo key event "Drag",
U-i7\gimy [Tue, 21 Jul 2009 23:26:30 +0000 (08:26 +0900)]
introduce pseudo key event "Drag",

which Down on pointer move over threshold(30 pixel now) during button down, and Up on button up.

14 years agoadd &CancelPrefix function
U-i7\gimy [Mon, 20 Jul 2009 10:20:01 +0000 (19:20 +0900)]
add &CancelPrefix function

14 years agosupport to replace mouse button event like key, experimantal, so disable by default
U-i7\gimy [Mon, 20 Jul 2009 09:23:36 +0000 (18:23 +0900)]
support to replace mouse button event like key, experimantal, so disable by default

14 years agoabolish suppressing yamy on remote desktop
U-i7\gimy [Thu, 16 Jul 2009 22:47:01 +0000 (07:47 +0900)]
abolish suppressing yamy on remote desktop

14 years agofix ticket #17643(retry)
U-i7\gimy [Wed, 15 Jul 2009 14:10:50 +0000 (23:10 +0900)]
fix ticket #17643(retry)

14 years agoseparate WH_KEYBOARD_LL and WH_MOUSE_LL handlers as thread, expect to fix ticket...
U-i7\gimy [Wed, 15 Jul 2009 13:37:49 +0000 (22:37 +0900)]
separate WH_KEYBOARD_LL and WH_MOUSE_LL handlers as thread, expect to fix ticket #17576 and #17767

14 years agochange indent rule to hard tab with width 4 to adjust to default setting of VC++...
U-i7\gimy [Sat, 11 Jul 2009 16:37:29 +0000 (01:37 +0900)]
change indent rule to hard tab with width 4 to adjust to default setting of VC++. and incidentally change coding style to K&R(linux) style. by command "astyle --style=linux -T4"

14 years agochange EOL style to CRLF to adjust to default setting of Visual Studio
U-i7\gimy [Sat, 11 Jul 2009 14:05:57 +0000 (23:05 +0900)]
change EOL style to CRLF to adjust to default setting of Visual Studio

14 years agofix problem that makefunc project Release is not unitility but exe
U-i7\gimy [Sat, 11 Jul 2009 12:49:37 +0000 (21:49 +0900)]
fix problem that makefunc project Release is not unitility but exe

14 years agofix typo in readme.txt
U-i7\gimy [Fri, 10 Jul 2009 15:31:54 +0000 (00:31 +0900)]
fix typo in readme.txt

14 years agodisable incremental link for hook DLL to avoid confliction yamy{32,64}.ilk
U-i7\gimy [Tue, 7 Jul 2009 23:36:54 +0000 (08:36 +0900)]
disable incremental link for hook DLL to avoid confliction yamy{32,64}.ilk

14 years agoseparate execution of makefunc.js as project to avoid confliction of dependency on...
U-i7\gimy [Tue, 7 Jul 2009 22:48:59 +0000 (07:48 +0900)]
separate execution of makefunc.js as project to avoid confliction of dependency on functions.h

14 years agoseparate intermediate directories for each projects to avoid confliction of dependenc...
U-i7\gimy [Tue, 7 Jul 2009 15:38:14 +0000 (00:38 +0900)]
separate intermediate directories for each projects to avoid confliction of dependency to sources shared by projects, such as stringtool.cpp.
and now, renaming of vc90.pdb/BuildLog.htm in previous commit is unnecessary no longer, so rollback it.

14 years agofix conflict on vc90.pdb/BuildLog.htm when parallel compile
U-i7\gimy [Tue, 7 Jul 2009 13:20:41 +0000 (22:20 +0900)]
fix conflict on vc90.pdb/BuildLog.htm when parallel compile

14 years agofix invalid depedency in project files
U-i7\gimy [Mon, 6 Jul 2009 22:41:49 +0000 (07:41 +0900)]
fix invalid depedency in project files

14 years agofix error on clean regex when clean build
U-i7\gimy [Mon, 6 Jul 2009 13:28:21 +0000 (22:28 +0900)]
fix error on clean regex when clean build

14 years agofix error on undefined CPUBIT
U-i7\gimy [Mon, 6 Jul 2009 13:27:35 +0000 (22:27 +0900)]
fix error on undefined CPUBIT

14 years agoadd some ignore files
U-i7\gimy [Sun, 5 Jul 2009 15:33:23 +0000 (00:33 +0900)]
add some ignore files

14 years agoadd solution and project files for VisualStudio and some utility tools
U-i7\gimy [Sun, 5 Jul 2009 14:33:19 +0000 (23:33 +0900)]
add solution and project files for VisualStudio and some utility tools

14 years agoincrement version number for next release
U-i7\gimy [Sun, 5 Jul 2009 14:00:23 +0000 (23:00 +0900)]
increment version number for next release

14 years agofix ticket #17643
U-i7\gimy [Sat, 4 Jul 2009 11:09:16 +0000 (20:09 +0900)]
fix ticket #17643

14 years agodelete Win9x/NT support code
U-i7\gimy [Wed, 1 Jul 2009 23:03:48 +0000 (08:03 +0900)]
delete Win9x/NT support code

14 years agofix first release date v0.01
U-i7\gimy [Sat, 27 Jun 2009 10:42:48 +0000 (19:42 +0900)]
fix first release date

14 years agoadd README file
U-i7\gimy [Sat, 20 Jun 2009 14:19:38 +0000 (23:19 +0900)]
add README file

14 years agoadd *.mayu and yamy.ini for Scancode Map registry workaround
U-i7\gimy [Sat, 20 Jun 2009 14:16:30 +0000 (23:16 +0900)]
add *.mayu and yamy.ini for Scancode Map registry workaround

14 years agoadd various configuration entries to yamy.ini
U-i7\gimy [Sat, 20 Jun 2009 14:13:40 +0000 (23:13 +0900)]
add various configuration entries to yamy.ini

14 years agofix version dialog
U-i7\gimy [Sat, 20 Jun 2009 14:12:55 +0000 (23:12 +0900)]
fix version dialog

14 years agoerror dialog on invoke yamyd32 failed
U-i7\gimy [Tue, 16 Jun 2009 13:53:43 +0000 (22:53 +0900)]
error dialog on invoke yamyd32 failed

14 years agointroduce launcher(yamy.exe) which examine 64bit or 32bit
U-i7\gimy [Tue, 16 Jun 2009 13:38:05 +0000 (22:38 +0900)]
introduce launcher(yamy.exe) which examine 64bit or 32bit

14 years agodefine VERSION for first release
U-i7\gimy [Mon, 15 Jun 2009 13:08:22 +0000 (22:08 +0900)]
define VERSION for first release

14 years agodefine NDEBUG macro for release build explicitly
U-i7\gimy [Sun, 14 Jun 2009 23:23:16 +0000 (08:23 +0900)]
define NDEBUG macro for release build explicitly

14 years agochange program name in resource to YAMY
U-i7\gimy [Sun, 14 Jun 2009 23:17:39 +0000 (08:17 +0900)]
change program name in resource to YAMY

14 years agoadd .gitignore file
U-i7\gimy [Sun, 14 Jun 2009 13:56:54 +0000 (22:56 +0900)]
add .gitignore file

14 years agobuild yamyd only for 32bit
U-i7\gimy [Sun, 14 Jun 2009 13:55:44 +0000 (22:55 +0900)]
build yamyd only for 32bit

14 years agodetect CPU architecture in *.mak to obsolete X64
U-i7\gimy [Sun, 14 Jun 2009 11:18:37 +0000 (20:18 +0900)]
detect CPU architecture in *.mak to obsolete X64
change basename of 32bit binary to yamy32

14 years agoadd rule to make zip package
U-i7\gimy [Sat, 13 Jun 2009 16:45:35 +0000 (01:45 +0900)]
add rule to make zip package

14 years agoappend dependency to mayu-common.mak
U-i7\gimy [Sat, 13 Jun 2009 16:23:43 +0000 (01:23 +0900)]
append dependency to mayu-common.mak

14 years agochange basename of exe/dll from mayu to yamy
U-i7\gimy [Sat, 13 Jun 2009 16:17:51 +0000 (01:17 +0900)]
change basename of exe/dll from mayu to yamy

14 years agofix invalid file permission
U-i7\gimy [Sat, 13 Jun 2009 15:18:07 +0000 (00:18 +0900)]
fix invalid file permission

14 years agoforgot to "git add" modified files, so re-commit:
U-i7\gimy [Sat, 13 Jun 2009 13:15:17 +0000 (22:15 +0900)]
forgot to "git add" modified files, so re-commit:
many changes as follow:

* key input substitution in user mode instead of driver(NO_DRIVER macro)
  - no access to mayud driver
  - hook key input by WH_KEYBOARD_LL
  - generate key event by SendInput() API
  - use mailslot to avoid stall on WM_COPYDATA notify(USE_MAILSLOT macro)
  - ignore !PM_REMOVE message to avoid duplicate message in mayu.dll
  - workaround on {104,109}.mayu for E0-RShift problem

* support 64bit(MAYU64 macro)
  - change API such as GetWindowLong() -> GetWindowLongPtr()
  - change type such as LONG -> LONG_PTR
  - cast HWND to DWORD to share it between 32bit and 64bit
  - add yamyd which install hook to 32bit process on 64bit system
  - use X64 macro in *.mak
  - devide obj out directory for 32bit and 64bit
  - overload load_ARGUMENT() for WPARAM/LPARAM on 64bit
  - not assume INVALID_HANDLE_VALUE=0xffffffff
  - disable notifyCommand()(tentative)

* execute without install
  - not build installer
  - use yamy.ini file instead of registry(USE_INI macro)

* logging
  - add HOOK_RPT*() macro for hook debug
  - suppress HOOK_RPT*() output in specific process such as debugger
  - dump log to file(LOG_TO_FILE macro:disable by default)
  - add "Check" to menu which log key press state in system

* bug fix
  - fix crash on Engine::setFocus()
  - fix assert fail on processing empty list in KeyIterator::KeyIterator()
  - link debug runtime on debug build

* etc
  - move out most part of initialization for mayu.dll from DllMain
  - remove explicit tregex::use_except to follow update of boost::regex
  - change default compiler to VC++9
  - LOGNAME -> USENAME
  - -GX -> -EHsc
  - remove -k from nmake options
  - broadcast WM_NULL to detach mayu.dll on mayu.exe exit

14 years agomany changes as follow:
U-i7\gimy [Sat, 13 Jun 2009 11:24:43 +0000 (20:24 +0900)]
many changes as follow:

* key input substitution in user mode instead of driver(NO_DRIVER macro)
  - no access to mayud driver
  - hook key input by WH_KEYBOARD_LL
  - generate key event by SendInput() API
  - use mailslot to avoid stall on WM_COPYDATA notify(USE_MAILSLOT macro)
  - ignore !PM_REMOVE message to avoid duplicate message in mayu.dll
  - workaround on {104,109}.mayu for E0-RShift problem

* support 64bit(MAYU64 macro)
  - change API such as GetWindowLong() -> GetWindowLongPtr()
  - change type such as LONG -> LONG_PTR
  - cast HWND to DWORD to share it between 32bit and 64bit
  - add yamyd which install hook to 32bit process on 64bit system
  - use X64 macro in *.mak
  - devide obj out directory for 32bit and 64bit
  - overload load_ARGUMENT() for WPARAM/LPARAM on 64bit
  - not assume INVALID_HANDLE_VALUE=0xffffffff
  - disable notifyCommand()(tentative)

* execute without install
  - not build installer
  - use yamy.ini file instead of registry(USE_INI macro)

* logging
  - add HOOK_RPT*() macro for hook debug
  - suppress HOOK_RPT*() output in specific process such as debugger
  - dump log to file(LOG_TO_FILE macro:disable by default)
  - add "Check" to menu which log key press state in system

* bug fix
  - fix crash on Engine::setFocus()
  - fix assert fail on processing empty list in KeyIterator::KeyIterator()
  - link debug runtime on debug build

* etc
  - move out most part of initialization for mayu.dll from DllMain
  - remove explicit tregex::use_except to follow update of boost::regex
  - change default compiler to VC++9
  - LOGNAME -> USENAME
  - -GX -> -EHsc
  - remove -k from nmake options
  - broadcast WM_NULL to detach mayu.dll on mayu.exe exit

14 years agoimport the last version of the original mayu extracted by following command:
U-i7\gimy [Thu, 11 Jun 2009 13:47:28 +0000 (22:47 +0900)]
import the last version of the original mayu extracted by following command:
cvs -d:pserver:anonymous@cvs1.sourceforge.net:/cvsroot/mayu export -D "2009-06-11" mayu