Commit graph

47035 commits

Author SHA1 Message Date
Amine Khaldi bc853b7d5c * Revert r52232.
svn path=/trunk/; revision=52236
2011-06-14 18:51:43 +00:00
Rafal Harabien 37f77aecd6 [FREELDR]
- Revert 52230 - it breaks freeldr build in GCC

svn path=/trunk/; revision=52235
2011-06-14 18:34:10 +00:00
Rafal Harabien d53b93507f [FREELDR]
- Return const pointers instead of converting them
- Fix MemoryMapSizeInPages calculation
- Don't use pages after 4GB limit on x86 (PAE is not supported yet)
- Should fix starting ROS on 4GB machines
See issue #6031 for more details.

svn path=/trunk/; revision=52234
2011-06-14 17:33:56 +00:00
Giannis Adamopoulos 9e24b605cb [uniata]
- Fix compilation with msvc

svn path=/trunk/; revision=52233
2011-06-14 17:23:36 +00:00
Amine Khaldi 6ba68445bf [CMAKE]
* Skip ftp, libxslt and ksproxy from msvc build.
* Remove msvchelper.h as it's not needed anymore for d3d8 and d3d9.
* Merge r50731 from the cmake branch.
* Merge r50732 from the cmake branch and apply the same fix to state.c.

svn path=/trunk/; revision=52232
2011-06-14 17:04:03 +00:00
Amine Khaldi 9d013a2ae1 [CMAKE]
* Forward add_delay_importlibs to add_importlibs in msvc builds for now.

svn path=/trunk/; revision=52231
2011-06-14 16:19:57 +00:00
Amine Khaldi 710f5e94dd [CMAKE]
* Set a correct image base for freeldr_pe and setupldr_pe. Both now compile and link with MSVC.

svn path=/trunk/; revision=52230
2011-06-14 15:41:22 +00:00
Amine Khaldi 3b0638cea7 [CMAKE]
* Separate VS and NMake generators handling of asm source files.

svn path=/trunk/; revision=52228
2011-06-14 15:28:16 +00:00
Timo Kreuzer 5d9b09f212 [FREELDR]
Reimplement Int386 based on realmode callback mechanism.

svn path=/trunk/; revision=52227
2011-06-14 14:53:02 +00:00
Timo Kreuzer cdd784fd19 [FREELDR]
Start implementing a realmode callback mechanism

svn path=/trunk/; revision=52226
2011-06-14 12:17:28 +00:00
Timo Kreuzer 2d003a9075 [FREELDR]
Move EnableA20 to realmode code, remove DisableA20

svn path=/trunk/; revision=52225
2011-06-14 08:10:59 +00:00
Cameron Gutman cbeac4750e [AFD]
- Only indicate that receive is possible if there are no pending receive IRPs waiting for data
- Don't attempt to receive on a connection which has been closed in the receive direction

svn path=/trunk/; revision=52224
2011-06-14 02:18:20 +00:00
Cameron Gutman 2c808bda98 [AFD]
- FD_CLOSE is only for remote disconnects so don't send it when the app closes its own socket
- Validate the user-mode event handle properly

svn path=/trunk/; revision=52223
2011-06-14 00:56:49 +00:00
Gabriel Ilardi b1f94f44ba update README.WINE
svn path=/trunk/; revision=52222
2011-06-13 20:36:46 +00:00
Timo Kreuzer 6be28050aa [FREELDR]
Start moving the 16 bit code into the raw binary chunk.
We now switch to protected mode before jumping to the PE entry point

svn path=/trunk/; revision=52221
2011-06-13 20:03:55 +00:00
Timo Kreuzer 4d1d576c44 forgot a pecoff.h update
svn path=/trunk/; revision=52220
2011-06-13 19:54:35 +00:00
Giannis Adamopoulos cf2fbe1b6d [user32]
- Fix several compilation issues with msvc

svn path=/trunk/; revision=52219
2011-06-13 19:49:46 +00:00
Giannis Adamopoulos f500fbfbde [browseui]
- Fix some compilation errors with msvc

svn path=/trunk/; revision=52218
2011-06-13 19:34:06 +00:00
Timo Kreuzer 330b33ea0d [OBJ2BIN]
- Rewrite large parts of the tool
- Support IMAGE_REL_I386_DIR32

svn path=/trunk/; revision=52217
2011-06-13 19:23:51 +00:00
Amine Khaldi 1d9a93046a [CMAKE]
* Don't link drmk and wmi to the non-existent msvcsup.

svn path=/trunk/; revision=52214
2011-06-13 17:26:38 +00:00
Amine Khaldi 7c3e144a2c [CMAKE]
* Automatically add _DLL and __USE_CRTIMP definitions when linking to msvcrt.
* Separate some flags from definitions (using add_compiler_flags).

svn path=/trunk/; revision=52213
2011-06-13 15:31:11 +00:00
Amine Khaldi 074d91351d [CMAKE]
* Disable ccache by default.

svn path=/trunk/; revision=52212
2011-06-13 13:46:50 +00:00
Amine Khaldi c1c1acb463 [CMAKE]
* Deduplicate add_importlibs.

svn path=/trunk/; revision=52211
2011-06-13 12:05:22 +00:00
Amine Khaldi 4c941247b4 [CMAKE]
* Move cmake files to the cmake folder.
* Rename msc.cmake to msvc.cmake and toolchain-mingw32.cmake to toolchain-gcc.cmake.
* Add compilerflags.cmake to group macros that handle different compiler flags.
* Move add_linkerflag and set_unicode macros to compilerflags.cmake. They were duplicated in gcc.cmake and msvc.cmake.
* Add add_compiler_flags macro to handle CMAKE_C_FLAGS and CMAKE_CXX_FLAGS properly, and replace add_definitions calls with add_compiler_flags calls when we're adding compiler flags, not definitions.
* Reorganize gcc.cmake to have compiler flags then linking and compiling rules.
* Move CMAKE_ASM_COMPILE_OBJECT out of toolchain-gcc.cmake into gcc.cmake and add ${CMAKE_C_FLAGS} to it, now that flags are properly set.
* Don't pass <FLAGS> (compiler flags) when linking.
* Without the (commented out) linker script flag, CMAKE_SHARED_LINKER_FLAGS_INIT is the same for both i386 and amd64. Deduplicate it.
* Fix CMAKE_C_STANDARD_LIBRARIES comment.
* Use <FLAGS> in msvc CMAKE_ASM_COMPILE_OBJECT instead of manual includes.
* Don't set ntdllsys linker language to C, it's an asm lib.
* Remove ros_cd.cmake as it's not needed anymore.
* Define _CRT_SECURE_NO_WARNINGS when compiling host tools with msvc.

svn path=/trunk/; revision=52210
2011-06-13 10:36:40 +00:00
Olaf Siejka e2247207e1 [MSPORTS]
- update polish translation

svn path=/trunk/; revision=52209
2011-06-13 09:43:43 +00:00
Eric Kohl f17bf3f6a6 [MSPORTS]
Finish the serial port settings dialog.

svn path=/trunk/; revision=52208
2011-06-13 09:27:23 +00:00
Timo Kreuzer d1cd4a2e8b [FREELDR]
Fix entry point

svn path=/trunk/; revision=52207
2011-06-13 09:23:11 +00:00
Timo Kreuzer e4b46e73c3 [FREELDR]
Try to fix dependency

svn path=/trunk/; revision=52206
2011-06-13 08:43:15 +00:00
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