This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /sourceforge.net/trunk/seamlessrdp/ServerExe/HookDll
Directory Listing
Revision
1145 -
Directory Listing
Modified
Thu Mar 16 13:24:18 2006 UTC
(18 years, 3 months ago)
by
ossman_
Prevent moves we do ourself from generating a POSITION. We do this by storing
the coordinate we're moving to in a shared variable. Since SetWindowPos is
synchronous, we know that the variable will have valid data when the hook
is called.
Revision
1134 -
Directory Listing
Modified
Wed Mar 15 13:19:54 2006 UTC
(18 years, 3 months ago)
by
ossman_
Get window titles in unicode and send them over the channel in UTF-8. This
also meant that we had to catch WM_SETTEXT after it was handled (so that we
can use GetWindowTextW()).
Revision
1131 -
Directory Listing
Modified
Wed Mar 15 12:15:23 2006 UTC
(18 years, 3 months ago)
by
ossman_
Change window creation so that POSITION is sent before STATE (as required by
the protocol). Also remove unnecessary z order comment.
Revision
1128 -
Directory Listing
Modified
Wed Mar 15 12:05:20 2006 UTC
(18 years, 3 months ago)
by
ossman_
ran indent-all
Revision
1117 -
Directory Listing
Modified
Tue Mar 14 09:03:19 2006 UTC
(18 years, 3 months ago)
by
astrand
Need to catch SW_RESTORE as well.
Revision
1113 -
Directory Listing
Modified
Fri Mar 10 16:40:57 2006 UTC
(18 years, 4 months ago)
by
ossman_
Add filtering of dangerous characters in strings that are part of the
protocol.
Revision
1109 -
Directory Listing
Modified
Fri Mar 10 15:12:28 2006 UTC
(18 years, 4 months ago)
by
ossman_
Windows can have popups without a parent. Indicate this by setting the parent
to -1.
Revision
1108 -
Directory Listing
Modified
Fri Mar 10 15:00:38 2006 UTC
(18 years, 4 months ago)
by
ossman_
Avoid sending position updates for minimized windows.
Revision
1106 -
Directory Listing
Modified
Fri Mar 10 13:47:41 2006 UTC
(18 years, 4 months ago)
by
ossman_
Add some more SW_ defines that we need to handle.
Revision
1102 -
Directory Listing
Modified
Fri Mar 10 13:25:25 2006 UTC
(18 years, 4 months ago)
by
ossman_
Catch WM_SETTEXT so that we follow changes to the window title.
Revision
1100 -
Directory Listing
Modified
Fri Mar 10 12:56:37 2006 UTC
(18 years, 4 months ago)
by
ossman_
show can have values we're not interested in, so we need to abort here.
Revision
1099 -
Directory Listing
Modified
Fri Mar 10 12:54:37 2006 UTC
(18 years, 4 months ago)
by
ossman_
Make sure we send a TITLE and STATE when a window is created.
Revision
1097 -
Directory Listing
Modified
Fri Mar 10 12:38:00 2006 UTC
(18 years, 4 months ago)
by
ossman_
Add the new parent argument to the CREATE command.
Revision
1096 -
Directory Listing
Modified
Fri Mar 10 12:27:38 2006 UTC
(18 years, 4 months ago)
by
ossman_
Move title info out of the STATE command.
Revision
1091 -
Directory Listing
Modified
Fri Mar 10 09:12:36 2006 UTC
(18 years, 4 months ago)
by
astrand
Removed the version numbers from SeamlessRDP commands
Revision
1084 -
Directory Listing
Modified
Thu Mar 9 16:42:26 2006 UTC
(18 years, 4 months ago)
by
ossman_
Rename hookdll.dll to seamlessrdp.dll.
Revision
1083 -
Directory Listing
Modified
Thu Mar 9 16:28:57 2006 UTC
(18 years, 4 months ago)
by
ossman_
Avoid sending messages for windows that aren't visible.
Revision
1082 -
Directory Listing
Modified
Thu Mar 9 16:27:59 2006 UTC
(18 years, 4 months ago)
by
ossman_
Microsoft's docs say that WS_CHILD and WS_POPUP is an illegal combination,
but they exist nonetheless. The resulting window is as if WS_CHILD wasn't
set.
Revision
1081 -
Directory Listing
Modified
Thu Mar 9 16:13:26 2006 UTC
(18 years, 4 months ago)
by
ossman_
Catch WM_MOVE and WM_SIZE.
Revision
1080 -
Directory Listing
Modified
Thu Mar 9 15:57:10 2006 UTC
(18 years, 4 months ago)
by
ossman_
Remove handling of WM_WINDOWPOSCHANGING and move that into WM_WINDOWPOSCHANGED
since the former isn't always sent.
Revision
1079 -
Directory Listing
Modified
Thu Mar 9 15:48:55 2006 UTC
(18 years, 4 months ago)
by
ossman_
More cleanup and reorganisation.
Revision
1073 -
Directory Listing
Modified
Thu Mar 9 12:26:31 2006 UTC
(18 years, 4 months ago)
by
ossman_
Put virtual channel handling into a separate file since both the DLL and
the main program will use it.
Revision
1071 -
Directory Listing
Modified
Thu Mar 9 12:00:15 2006 UTC
(18 years, 4 months ago)
by
ossman_
Big cleanup and reindentation of the code.
Revision
1069 -
Directory Listing
Modified
Thu Mar 9 09:46:30 2006 UTC
(18 years, 4 months ago)
by
ossman_
Use C instead of C++ since we don't depend on any C++ features anyway.
Revision
1068 -
Directory Listing
Modified
Thu Mar 9 09:17:55 2006 UTC
(18 years, 4 months ago)
by
ossman_
Refactor the hook dll loading so that we can remove hook.* and all C++ code.
Revision
1067 -
Directory Listing
Modified
Wed Mar 8 17:14:42 2006 UTC
(18 years, 4 months ago)
by
ossman_
Make WriteToChannel() a variable argument function. Cleans up the code a lot.
Also add a newline implicitly in the function. It is unsupported to call it
multiple times for one line anyway (because of locking).
Revision
1066 -
Directory Listing
Modified
Wed Mar 8 16:55:02 2006 UTC
(18 years, 4 months ago)
by
ossman_
Add a named mutex so that all hooks will write atomically into the virtual
channel.
Revision
1065 -
Directory Listing
Modified
Wed Mar 8 16:12:49 2006 UTC
(18 years, 4 months ago)
by
ossman_
Run indent-all on the server source.
Revision
1064 -
Directory Listing
Modified
Wed Mar 8 15:52:38 2006 UTC
(18 years, 4 months ago)
by
ossman_
Change strategy to catch WM_WINDOWPOSCHANGED instead as that seems to work
better.
Revision
1062 -
Directory Listing
Modified
Wed Mar 8 09:41:55 2006 UTC
(18 years, 4 months ago)
by
astrand
Mark DllMain as extern "C".
Revision
1061 -
Directory Listing
Modified
Wed Mar 8 09:36:59 2006 UTC
(18 years, 4 months ago)
by
astrand
Use lowercase version of cchannel.h, for MinGW compatibility.
Revision
1056 -
Directory Listing
Modified
Mon Mar 6 08:01:09 2006 UTC
(18 years, 4 months ago)
by
astrand
Changed channel name to seamrdp
Revision
1055 -
Directory Listing
Modified
Mon Mar 6 07:37:35 2006 UTC
(18 years, 4 months ago)
by
astrand
Changed channel name to seamlessrdp
Revision
1014 -
Directory Listing
Modified
Tue Sep 13 13:08:16 2005 UTC
(18 years, 9 months ago)
by
astrand
Reporting size/position changes in response to WM_WINDOWPOSCHANGED,
instead of WM_SIZING/WM_MOVING. This is more reliable.
Revision
1012 -
Directory Listing
Modified
Mon Sep 5 06:52:26 2005 UTC
(18 years, 10 months ago)
by
astrand
Do not send WM_CREATE messages for windows with negative sizes.
Revision
1011 -
Directory Listing
Modified
Wed Aug 31 15:36:59 2005 UTC
(18 years, 10 months ago)
by
astrand
Do a SPI_SETDRAGFULLWINDOWS, to make sure we use DragFullWindows. (The RDP setting is not always effective.)
Revision
1009 -
Directory Listing
Modified
Wed Aug 31 07:20:19 2005 UTC
(18 years, 10 months ago)
by
astrand
POSITION1 should be terminated by newline.
Revision
1008 -
Directory Listing
Modified
Tue Aug 30 12:31:58 2005 UTC
(18 years, 10 months ago)
by
astrand
Better names for global hook variables. Removed unnecessary hooked variables.
Revision
1007 -
Directory Listing
Modified
Tue Aug 30 12:04:08 2005 UTC
(18 years, 10 months ago)
by
astrand
Removed cbt from lots of variables, where it doesn't belong. Disabling hook of CbtProc.
Revision
1006 -
Directory Listing
Modified
Tue Aug 30 11:52:38 2005 UTC
(18 years, 10 months ago)
by
astrand
WM_CREATE now sends SETSTATE1 and POSITION1.
Revision
1005 -
Directory Listing
Modified
Tue Aug 30 11:34:05 2005 UTC
(18 years, 10 months ago)
by
astrand
Moved calls to WriteToChannel; now calling directly as we have our
string.
Also, make sure result from snprintf is null terminated.
Revision
1004 -
Directory Listing
Modified
Tue Aug 30 11:28:55 2005 UTC
(18 years, 10 months ago)
by
astrand
Moved usage of ChannelIsOpen into WriteToChannel.
Revision
1003 -
Directory Listing
Modified
Tue Aug 30 11:22:46 2005 UTC
(18 years, 10 months ago)
by
astrand
Got rid of unnecessary buffer variables.
Revision
1002 -
Directory Listing
Modified
Tue Aug 30 11:17:52 2005 UTC
(18 years, 10 months ago)
by
astrand
Fixed compiler warnings: Removed unused variables. Using %p for
converting HWND to hex.
Implemented SETSTATE1.
Revision
1001 -
Directory Listing
Modified
Tue Aug 30 09:48:07 2005 UTC
(18 years, 10 months ago)
by
astrand
Implemented DESTROY1.
Revision
1000 -
Directory Listing
Modified
Tue Aug 30 09:43:32 2005 UTC
(18 years, 10 months ago)
by
astrand
Only handle WM_SIZING/WM_MOVING for visible, toplevel windows.
Implemented CREATE1.
Revision
999 -
Directory Listing
Modified
Tue Aug 30 09:18:53 2005 UTC
(18 years, 10 months ago)
by
astrand
Removed the cases for HCBT_MOVESIZE and HCBT_SETFOCUS.
Revision
998 -
Directory Listing
Modified
Tue Aug 30 09:15:44 2005 UTC
(18 years, 10 months ago)
by
astrand
Added a function for sending debug printouts to the other end.
Re-implemented the code on WM_SIZING/WM_MOVING: Now generating
messages according to the new protocol.
Do not catch WM_WINDOWPOSCHANGED; WM_WINDOWPOSCHANGING is enough. In
response, generate a ZCHANGE1 messages according to the new protocol.
Revision
997 -
Directory Listing
Modified
Mon Aug 29 09:31:51 2005 UTC
(18 years, 10 months ago)
by
astrand
Added hack to silence WM_WINDOWPOSCHANGED for the language bar and the
Office XP speech/handwriting recognition.
Revision
996 -
Directory Listing
Modified
Mon Aug 29 09:11:50 2005 UTC
(18 years, 10 months ago)
by
astrand
Removed handling of WM_WINDOWPOSCHANGING.
Revision
995 -
Directory Listing
Modified
Mon Aug 29 09:10:13 2005 UTC
(18 years, 10 months ago)
by
astrand
Added temporary stubs for WM_CREATE and WM_DESTROY.
Revision
994 -
Directory Listing
Modified
Sun Aug 28 13:06:05 2005 UTC
(18 years, 10 months ago)
by
astrand
Imported changes from nxclipper-1.5.0-9
Revision
993 -
Directory Listing
Modified
Sun Aug 28 12:58:39 2005 UTC
(18 years, 10 months ago)
by
astrand
Indenting with the CVS version of astyle
Revision
938 -
Directory Listing
Modified
Fri Jul 1 07:01:00 2005 UTC
(19 years ago)
by
astrand
Added proper copyright headers
Revision
937 -
Directory Listing
Modified
Fri Jul 1 06:50:52 2005 UTC
(19 years ago)
by
astrand
Indenting with astyle instead of indent
Revision
933 -
Directory Listing
Modified
Thu Jun 30 14:46:14 2005 UTC
(19 years ago)
by
astrand
Fixed indentation, by running indent-all.
Revision
930 -
Directory Listing
Modified
Thu Jun 30 14:14:56 2005 UTC
(19 years ago)
by
astrand
Should have UNIX LF linebreaks, when running CVS from UNIX.
Revision
922 -
Directory Listing
Modified
Thu Jun 30 09:10:00 2005 UTC
(19 years ago)
by
astrand
Added .cvsignore:s
Revision
921 -
Directory Listing
Modified
Thu Jun 30 09:06:43 2005 UTC
(19 years ago)
by
astrand
Renamed solution to seamlessrdp.sln. Converted filenames to lowercase.
Revision
920 -
Directory Listing
Modified
Thu Jun 30 08:58:46 2005 UTC
(19 years ago)
by
astrand
Converted solution to VC7.1
Revision
918 -
Directory Listing
Added
Thu Jun 30 08:53:04 2005 UTC
(19 years ago)
by
astrand
Imported CodeProject tswindowclipper source.