Commit graph

46584 commits

Author SHA1 Message Date
James Tabor feb81e4924 [Win32k]
- Fixed mouse tracking. See bug 6257.


svn path=/trunk/; revision=52188
2011-06-11 12:56:29 +00:00
Amine Khaldi aab3b19a22 [CMAKE]
* Copy CMakeDetermineASMCompiler.cmake from CMake 2.8.4 so that it's used with previous versions too. Fixes ASM compiler ID issue with MSVC.

svn path=/trunk/; revision=52187
2011-06-11 12:51:25 +00:00
Cameron Gutman dcf65c0e08 [AFD]
- Rewrite user-mode request locking to fix several bugs
- IRP_MJ_READ and IRP_MJ_WRITE doesn't crash
- Revert the IoModifyAccess change (the Write parameter was relevant to the buffer not the request)
- Use GetLockedData to retrieve a locked buffer instead of accessing it manually
- Lock several requests which were not locked and could cause a crash
- ASSERT that the in flight request is the IRP being completed
- Fix a socket closure bug so shutdown(SO_SEND) will not prevent packets being received
- Don't count bytes used in the receive content
- Don't free the datagram buffer if it is a peek request
- Requeue the datagram buffer at the head of the list if it is a peek request
- Fix a bug which could cause corrupted data to be received if multiple datagrams come in before the app receives them 
- Make sure that we're not overwriting an existing in flight request when creating a new one
- Perform an implicit bind in AfdPacketSocketWriteData if it is not already bound
- Implement batching several user-mode send IRPs into one TDI request (if there is already one pending)
- Fix a potential crash if a connectionless send IRP is cancelled

svn path=/trunk/; revision=52186
2011-06-11 12:46:04 +00:00
Giannis Adamopoulos a7abbd0f7e [win32k]
- Arch, stop breaking msvc build already

svn path=/trunk/; revision=52185
2011-06-11 12:03:38 +00:00
Eric Kohl a75f5b6375 [NTOSKRNL]
- Do not create/open the CurrentVersion key in a single call to NtCreateKey  because its parent key might not exist yet.
See issue #6302 for more details.

svn path=/trunk/; revision=52184
2011-06-11 11:58:46 +00:00
Timo Kreuzer 82a1d424b8 [BOOTSECTOR]
Convert dosmbr to new syntax

svn path=/trunk/; revision=52183
2011-06-11 10:58:34 +00:00
Timo Kreuzer 2df5334bfe [CMAKE]
Fix concatenate_files macro

svn path=/trunk/; revision=52182
2011-06-11 08:36:18 +00:00
Timo Kreuzer 961c4ece37 [BOOTSECTOR]
Try to fix regtest cd

svn path=/trunk/; revision=52181
2011-06-10 21:38:42 +00:00
Amine Khaldi 80fa17bac8 [CMAKE]
* Add inetcpl to build.

svn path=/trunk/; revision=52180
2011-06-10 20:46:56 +00:00
Timo Kreuzer 91612efc9d [CMAKE]
add macro to concatenate 2 files. So far only for windows.

svn path=/trunk/; revision=52179
2011-06-10 20:45:44 +00:00
Amine Khaldi 58fca73e26 [CMAKE]
* Add delay importlib creation support.

svn path=/trunk/; revision=52178
2011-06-10 20:44:47 +00:00
Timo Kreuzer ba1ef490f1 fix build?
svn path=/trunk/; revision=52177
2011-06-10 17:44:13 +00:00
Timo Kreuzer 14531e0020 fix build
svn path=/trunk/; revision=52176
2011-06-10 17:41:02 +00:00
Timo Kreuzer a3dee99b18 [FREELDR]
Major header cleanup

svn path=/trunk/; revision=52175
2011-06-10 17:18:26 +00:00
Gabriel Ilardi 1e26146dfd Fix build.
svn path=/trunk/; revision=52174
2011-06-10 16:00:50 +00:00
Gabriel Ilardi cb0eabc068 [inetcpl]
- Initial import from Wine 1.3.21

svn path=/trunk/; revision=52173
2011-06-10 15:45:51 +00:00
Timo Kreuzer 4076751ce2 [FREELDR]
Fix MSVC and amd64 build

svn path=/trunk/; revision=52172
2011-06-10 12:55:14 +00:00
Timo Kreuzer 74fcd7f506 {FREELDR]
Rename global variables BootDrive to FrldrBootDrive and BootPartition to FrldrBootPartition

svn path=/trunk/; revision=52171
2011-06-10 12:12:16 +00:00
Cameron Gutman 4f74cccd2d [AFD]
- Cleanup the pending connection list before closing the FCB
- Fixes yet another socket closure bug

svn path=/trunk/; revision=52166
2011-06-09 22:38:38 +00:00
Timo Kreuzer b02d5aea56 [FAT32]
- Fix a bug in the new fat32 bootsector code. The old code was using a 32bit push, the new code uses 2 16 bit pushes
- enable new fat32 and isobtrt bootsectors

svn path=/trunk/; revision=52165
2011-06-09 22:04:45 +00:00
Amine Khaldi 09845b038c [CMAKE]
* Add uniata debug option.

svn path=/trunk/; revision=52164
2011-06-09 20:56:05 +00:00
James Tabor 69a5b343d1 [Win32k]
- Fix hot tracking but does not clear it properly. See bug 6257.
- Ported NC_HandleNCHitTest from wine, will sync User32 later.

svn path=/trunk/; revision=52163
2011-06-09 20:00:43 +00:00
Timo Kreuzer 262ddc034b [OBJ2BIN]
- Skip empty sections. ML for x86 adds those, while ML (not ML64) for x64 doesn't.

svn path=/trunk/; revision=52159
2011-06-09 17:59:47 +00:00
Amine Khaldi 07d6a53ecc [CMAKE]
* MSVC fixes for msvcrtex.

svn path=/trunk/; revision=52158
2011-06-09 17:59:26 +00:00
Timo Kreuzer 65d0fe96c2 [BOOTSECTOR]
- export obj2bin on gcc builds, too
- Add new macro CreateBootSectorTarget2, which uses portable assembly and use it with isoboot.S. I will replace all bootsectors with the new code one at a time, and in the end we can eventually drop nmake
- add wrapper isobtrt.S, which defines ROS_REGTEST and includes isoboot.S

svn path=/trunk/; revision=52156
2011-06-09 13:56:44 +00:00
Timo Kreuzer 7b19156c50 [CRT]
Remove duplicate wtol

svn path=/trunk/; revision=52155
2011-06-09 12:08:16 +00:00
Amine Khaldi cad02800db [FREELDR]
* Add a ExFreePoolWithTag stub and forward it to ExFreePool. Fixes freeldr msvc build.

svn path=/trunk/; revision=52154
2011-06-09 11:49:42 +00:00
Timo Kreuzer 0944b73b87 [ISOBOOT]
Fix portable bootsector and make it gas compatible (its opcode identical to the nasm compiled one and works correctly)

svn path=/trunk/; revision=52153
2011-06-09 11:23:01 +00:00
Cameron Gutman 17de5b1c0f [AFD]
- Fix a bug in some completion routines that resulted in failures being treated as successes
- Fix various cancellation bugs
- Fixes termination of programs that open listening sockets (Firefox, server.exe, tcpsvcs.exe, telnetd.exe, etc) and should increase stability in these programs as well

svn path=/trunk/; revision=52152
2011-06-08 22:15:27 +00:00
Timo Kreuzer 7c2030f619 [ASM]
Add some more protability macros

svn path=/trunk/; revision=52151
2011-06-08 19:06:01 +00:00
Timo Kreuzer 57490e06f6 [ISOBOOT]
Add portable asm version of iso boot sector

svn path=/trunk/; revision=52150
2011-06-08 18:48:34 +00:00
Rafal Harabien 25b068df28 [WIN32K]
- Revert r51139. Fixes incorrect reading of all REG_MULTI_SZ values
See issue #6295 for more details.

svn path=/trunk/; revision=52149
2011-06-08 15:37:15 +00:00
Amine Khaldi 83af0a00e0 [CMAKE]
* Fix reactos.cab creation.

svn path=/trunk/; revision=52148
2011-06-08 13:58:33 +00:00
Timo Kreuzer 8d5976819d [FAT32]
Fix the "portable" version of the fat32 bootsector
Its now mostly identical to the one we currently use, only a few encoding differences

svn path=/trunk/; revision=52147
2011-06-08 12:45:56 +00:00
Timo Kreuzer af201a5b6a [OBJ2BIN]
- Fix relocation for gas build objetcs
- Protect from buffer overwrite

svn path=/trunk/; revision=52146
2011-06-08 12:42:04 +00:00
Timo Kreuzer fbbc07eda8 [CMAKE]
- Export obj2bin on MSVC builds
- Move CreateBootSectorTarget into compiler specific files
- Add _base_address parameter to CreateBootSectorTarget (neccessary for obj2bin)
- Implement CreateBootSectorTarget for msvc
- Add ML compatible fat32 bootsector (untested)

svn path=/trunk/; revision=52143
2011-06-07 23:22:38 +00:00
Timo Kreuzer 1ea0675e6b Fix build
svn path=/trunk/; revision=52142
2011-06-07 22:54:43 +00:00
Timo Kreuzer 96cf66ac35 [OBJ2BIN]
- Implement coff relocation

svn path=/trunk/; revision=52141
2011-06-07 22:45:56 +00:00
Rafal Harabien 26a96b762b [WIN32K]
- Ops, remove DbgBreakPoint

svn path=/trunk/; revision=52140
2011-06-07 20:52:09 +00:00
Rafal Harabien d2319845e3 - Silence unwanted debug messages added in r52136
svn path=/trunk/; revision=52139
2011-06-07 20:46:32 +00:00
Timo Kreuzer d1e3dc84fc [OBJ2BIN]
- Fix warnings

svn path=/trunk/; revision=52137
2011-06-07 20:16:52 +00:00
Rafal Harabien cc329d2fe9 - Add ShowingCursor counter and CursorObject to message queue and use them when moving mouse. They are not globally in Windows.
svn path=/trunk/; revision=52136
2011-06-07 20:12:56 +00:00
Rafal Harabien a1560e1c82 [WIN32K]
- Check if window object still exist in proper place
- Send WM_MOUSEMOVE message if mouse is over appearing window

svn path=/trunk/; revision=52135
2011-06-07 20:09:04 +00:00
Timo Kreuzer 7ae4309300 [NTOSKRNL]
Revert r51748 by popular demand

svn path=/trunk/; revision=52134
2011-06-07 19:50:01 +00:00
Timo Kreuzer fcff3cbf18 [OBJ2BIN]
- Add new tool obj2bin, that converts a coff object file into a raw binary file
- Move pe/coff types into a common header file pecoff.h

svn path=/trunk/; revision=52133
2011-06-07 19:29:09 +00:00
Timo Kreuzer 0705ceae3e [NTOSKRNL/USERINIT/WIN32K]
Implement support for SafeMode boot
Patch by Adam Kachwalla (geekdundee at gmail dot com)

See issue #6275 for more details.

svn path=/trunk/; revision=52132
2011-06-07 16:42:43 +00:00
Amine Khaldi a5bccb23d5 [CMAKE]
* Temporarily disable PCH support, as it breaks build for windows users with ccache (most importantly our windows buildbot).

svn path=/trunk/; revision=52131
2011-06-07 15:38:10 +00:00
Timo Kreuzer ba527343d6 [ASM]
Fix amd64 compilation of some code

svn path=/trunk/; revision=52130
2011-06-07 14:21:46 +00:00
Timo Kreuzer ca01ae5c4a [SPEC2DEF]
Fix another typo. Should fix cmake build


svn path=/trunk/; revision=52129
2011-06-07 14:19:17 +00:00
Timo Kreuzer 639f5ac23b [HAL]
Use KeMemoryBarrierWithoutFence instead of _ReadWriteBarrier

svn path=/trunk/; revision=52128
2011-06-07 09:49:23 +00:00