Commit graph

46660 commits

Author SHA1 Message Date
Amine Khaldi 16227e3c1e [CMAKE]
* Skip rosautotest in msvc build.

svn path=/trunk/; revision=52261
2011-06-15 22:21:50 +00:00
Timo Kreuzer 6d962ddf28 [MSVC]
Don't compile wine direct x dlls on MSVC for now

svn path=/trunk/; revision=52260
2011-06-15 22:07:14 +00:00
Amine Khaldi 1692738b5c [INPUT]
* Fix msvc build.

svn path=/trunk/; revision=52259
2011-06-15 21:59:28 +00:00
Timo Kreuzer 242ff8000d [FREETYPE]
Remove command line definition of TT_CONFIG_OPTION_BYTECODE_INTERPRETER its already defined in the config file

svn path=/trunk/; revision=52258
2011-06-15 21:51:51 +00:00
Olaf Siejka d7cb7708dd Converting POLISH localisation strings to UTF-8. Part 5/5:
- base/shell converted. Only shell32 and kernel32 remained.
Tested on rbuild/cmake

svn path=/trunk/; revision=52257
2011-06-15 21:38:17 +00:00
Timo Kreuzer 3c245fd7a3 [FREELDR]
- Setup the IDT in C code instead of using 16 bit assembly and relying on trap handlers being below 64k
- Make the trap handler code MSVC compatible
- Add back multiboot code

svn path=/trunk/; revision=52256
2011-06-15 21:00:52 +00:00
Amine Khaldi 47b2fb3e68 [CMAKE]
* Merge 50707, 50713, 50742, 50779, 50795 and 50796 from the cmake branch.
* Merge state.c change from 50740.

svn path=/trunk/; revision=52255
2011-06-15 19:36:15 +00:00
Rafal Harabien ddab848f06 [NTOSKRNL]
- Revert part of r52244. It was incorrect. Spotted by Alex Ionescu

svn path=/trunk/; revision=52254
2011-06-15 19:28:22 +00:00
Timo Kreuzer c79c51d04d [FREELDR]
- Add underscore to names of trap handlers and add C prototypes (will be needed later)
- Move multiboot code to seperate file multiboot.S, not compiled atm, the code wasn't in use anyway
- Remove EnableA20 dummy

svn path=/trunk/; revision=52253
2011-06-15 19:17:00 +00:00
Timo Kreuzer ef19190372 [ASM]
Fix .fill macro for msvc

svn path=/trunk/; revision=52252
2011-06-15 19:07:50 +00:00
Amine Khaldi 7b3cbde1b7 [CMAKE]
* Rename _math.h to math.h and merge r50732 from the cmake branch.
* Remove msvchelper.h as it's not needed anymore for d3d8 and d3d9.
* Skip ftp, libxslt and ksproxy from msvc build.
* Dedicated to igorko.

svn path=/trunk/; revision=52251
2011-06-15 18:55:48 +00:00
Giannis Adamopoulos 0ab46ad495 [ntoskrnl]
- Fix compilation with msvc

svn path=/trunk/; revision=52250
2011-06-15 18:33:55 +00:00
Timo Kreuzer a5f255df13 [FREELDR]
use baseaddress of ßx10000 on MSVC builds. This doesn't yet work on gcc, because we still have 16 bit code inside the PE, that must reside below 64k

svn path=/trunk/; revision=52249
2011-06-15 18:28:10 +00:00
Colin Finck 413867145e [UNICODE]
- Finally say goodbye to my "wcsfuncs" experiment started in 2008.
  We have (and always had) Wine's "unicode" library for this, which does the same and is more complete.
  Now that host tools only use include/host, we only need to include <wine/unicode.h> and it will choose the right file in either include/host or include/reactos.
- Fix some include guards in PSDK headers to match the MS ones.
- Always define WINE_UNICODE_API to an empty string instead of doing this separately for every module.
- Cleanup some empty directories or non-existing include pathes.

svn path=/trunk/; revision=52248
2011-06-15 18:20:05 +00:00
Cameron Gutman 96ba16073d [FLOPPY]
- Validate the handle type
- Fix a bug that broke file system remounting after a media change

svn path=/trunk/; revision=52247
2011-06-15 17:07:07 +00:00
Timo Kreuzer e15164f46a [RTL]
Fix useage of volatile in casts.

svn path=/trunk/; revision=52246
2011-06-15 13:33:48 +00:00
Rafal Harabien 62a75503e1 [HID]
- Remove unneeded .def file

svn path=/trunk/; revision=52245
2011-06-15 13:07:26 +00:00
Rafal Harabien b0571d1c2e [NTOSKRNL]
- Disable displaying string by bootvid after successful kernel phase 1 initialization, so there won't be graphical glitches at the top of screen if system has screen debugging enabled
- Make screen black right after phase 1 initialization finish instead of waiting 5 seconds. It removes black rectangle which appeared for me in explorer.
- Initialize some global variables in inbv.c (it was done by compiler before)

svn path=/trunk/; revision=52244
2011-06-15 12:53:32 +00:00
Timo Kreuzer 6fc52906e5 forgot to commit this file
svn path=/trunk/; revision=52243
2011-06-15 11:42:37 +00:00
Timo Kreuzer da500146bf [CABMAN]
Fix build

svn path=/trunk/; revision=52242
2011-06-15 10:52:34 +00:00
Timo Kreuzer 5b277aa428 [RBUILD]
Add include/host ad include directory

svn path=/trunk/; revision=52241
2011-06-15 10:46:57 +00:00
Timo Kreuzer 301a62db3a [HOST]
Only use /include/host as include directory for host tools / libs.

svn path=/trunk/; revision=52240
2011-06-15 10:30:03 +00:00
Rafal Harabien ca370b4954 [BOOTVID]
- Fix scrolling if ScrollRegion contain whole screen.
- Add backspace support
- Remove unneeded code
- Now screen debugging in BSOD works much better :)

svn path=/trunk/; revision=52239
2011-06-14 22:04:42 +00:00
Olaf Siejka 86b5a7454a Converting POLISH localisation strings to UTF-8. Part 4/5:
- dll/cpl converted
Tested on rbuild/cmake

svn path=/trunk/; revision=52238
2011-06-14 21:28:07 +00:00
Timo Kreuzer 09b37ee744 [DDK]
according to WDK FsRtlRemoveBaseMcbEntry returns BOOLEAN

svn path=/trunk/; revision=52237
2011-06-14 20:36:24 +00:00
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