Commit graph

46657 commits

Author SHA1 Message Date
Sylvain Petreolle f7def77f99 [CMAKE]
Implement concatenate_files() for unix.

svn path=/trunk/; revision=52205
2011-06-12 22:23:22 +00:00
Timo Kreuzer 8c46f42495 [FREELDR]
Make freeldr/setupldr composed of a PE file and prepended raw 16bit code. The 16 bit code starts with the usual fathelp code. This brings back support for fragmented fat12/16 disks.
Later all 16 bit code is supposed to go into the raw binary chunk to be able to build freeldr with MSVC.

svn path=/trunk/; revision=52204
2011-06-12 21:21:47 +00:00
Timo Kreuzer 6a588bbcd4 [NTOSKRNL]
Fix the "standard" for MSVC

svn path=/trunk/; revision=52203
2011-06-12 21:15:33 +00:00
Amine Khaldi ec7b67285b [NTOSKRNL]
* Fix uninitialized data use. Really.

svn path=/trunk/; revision=52202
2011-06-12 20:49:06 +00:00
Amine Khaldi b9e37ae053 [NTOSKRNL]
* Fix uninitialized data use. Spotted by gcc 4.6.0

svn path=/trunk/; revision=52199
2011-06-12 18:18:52 +00:00
Cameron Gutman 11ed2398f0 [MSAFD]
- Reenable the FD_OOB async event after a call to WSPRecvFrom which received OOB data
- Remove a useless check

svn path=/trunk/; revision=52198
2011-06-12 17:38:16 +00:00
Timo Kreuzer 7cc02537dd [BOOTSECTOR]
Convert fat bootsector to new syntax

svn path=/trunk/; revision=52197
2011-06-12 15:57:36 +00:00
Gabriel Ilardi 4a4060ce3c [IEXPLORE]
- Add iexplore.exe to bootcd (it's being copied to its localized location in 3rd stage via runonce due to lack of support for additional paths in the installer)
- Register default system web browser, fixes launching URLs from the run dialog.
- Firefox 3.X/4.X still don't register as default web browsers (bug 4444)
See issue #1461 for more details.

svn path=/trunk/; revision=52196
2011-06-11 22:42:54 +00:00
Cameron Gutman f855ea9bdb [AFD]
- Fix packet size overflow check

svn path=/trunk/; revision=52195
2011-06-11 20:10:55 +00:00
Amine Khaldi a0c90088eb [CMAKE]
* Don't create cleanup targets when using a VS generator

svn path=/trunk/; revision=52194
2011-06-11 18:12:48 +00:00
Cameron Gutman 56c66ff1fd [MSAFD]
- Fix linger and graceful disconnect
- Fix a crash in WSPGetSockName and WSPGetPeerName exposed by ws2_32 winetest sock

svn path=/trunk/; revision=52193
2011-06-11 17:49:30 +00:00
Sylvain Petreolle e39c778ae1 [CMAKE]
configure :
Remove reactos cache.
Fix echo syntax.


svn path=/trunk/; revision=52192
2011-06-11 17:03:03 +00:00
Gabriel Ilardi 8f6e059fee [BOOTDATA]
- Set www.reactos.org as the homepage.

svn path=/trunk/; revision=52191
2011-06-11 16:21:42 +00:00
Amine Khaldi 7d25a0c11b [CMAKE]
* Move CMAKE_RC_COMPILE_OBJECT and CMAKE_ASM_COMPILE_OBJECT to msc.cmake.
* Fix CMAKE_ASM_COMPILE_OBJECT to account for the needed includes and defines.
* Add CMAKE_ASM_CREATE_STATIC_LIBRARY to handle our asm static lib.
* Don't include chkstk_ms.s into chkstk and libcntpr for msvc.
* Add missing chkstk -> asm dependency.
* Don't make an assumption about the location of genincdata.dll.
* Move definition on top of the included cmake files in the root cmake file.
* This brings the VS solution to a working state, many modules can compile now.

svn path=/trunk/; revision=52190
2011-06-11 16:09:57 +00:00
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