Commit graph

46771 commits

Author SHA1 Message Date
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
Timo Kreuzer f26fd84197 [NDK]
- MMPTE is 64 bits on amd64, so make the Long field a ULONG_PTR

svn path=/trunk/; revision=52127
2011-06-07 09:31:39 +00:00
Timo Kreuzer 0dafd4a030 [CRT]
Don't use __set_errno in libcntpr

svn path=/trunk/; revision=52126
2011-06-07 09:26:48 +00:00
Cameron Gutman 84a9cedb4e [AFD]
- Fix IoModifyAccess vs IoReadAccess confusion

svn path=/trunk/; revision=52125
2011-06-06 22:55:17 +00:00
Rafal Harabien 35c3a00634 [WIN32K]
- Fix memory leak

svn path=/trunk/; revision=52124
2011-06-06 21:18:53 +00:00
Timo Kreuzer 63ed94244c [NTOSKRNL]
Fix MSVC and amd64 build 

svn path=/trunk/; revision=52121
2011-06-06 19:08:39 +00:00
Timo Kreuzer 116862c485 [PSEH]
Fix amd64 build of pseh

svn path=/trunk/; revision=52120
2011-06-06 19:03:53 +00:00
Timo Kreuzer 618606f8c5 [CRT]
Fix amd64 build of build of chkstk

svn path=/trunk/; revision=52119
2011-06-06 19:01:26 +00:00
Timo Kreuzer db1f509d7a [NTOSKRNL]
Remove useless casts to volatile ULONG. It doesn't make sense to cast something to volatile, after the pointer is already dereferenced. But we don't need this here anyway.

svn path=/trunk/; revision=52118
2011-06-06 17:50:05 +00:00
Pierre Schweitzer 15b10b556d [NTOSKRNL]
Fixes to r52065:
- In IopInterlockedDecrementUlong() and IopInterlockedIncrementUlong(), cast received value to volatile before de/incrementing it so ensure strict ordering with spin locks acquisition.
This was brought to you by Alex Ionescu.

svn path=/trunk/; revision=52117
2011-06-06 17:03:45 +00:00
Cameron Gutman 5d0bb55dde [SPEC2DEF]
- Fix a typo

svn path=/trunk/; revision=52116
2011-06-06 16:26:46 +00:00
Amine Khaldi 377dc192bb [CMAKE]
* Fix several modules to compile with the recent gcc versions.
* ReactOS now compiles with mingw-w64 gcc 4.6.0 and boots to shell.
* Dedicated to dreimer.

svn path=/trunk/; revision=52114
2011-06-06 11:44:58 +00:00
Amine Khaldi 637da7e860 [SYSSETUP]
* Make the lengthy strings compatible with the recent gcc preprocessor.

svn path=/trunk/; revision=52113
2011-06-06 11:41:54 +00:00
Amine Khaldi 79da86e5cb [SHELL32]
* Make the lengthy strings compatible with the recent gcc preprocessor.

svn path=/trunk/; revision=52112
2011-06-06 11:40:39 +00:00
Amine Khaldi 864fd70bcc [CRT/STARTUP]
* Sync startup code to recent mingw-w64. RosBE 2.0 here we come !

svn path=/trunk/; revision=52111
2011-06-06 10:01:14 +00:00
Timo Kreuzer e54b5f0d2e [SPEC2DEF]
- Fix build of importlibraries on MSVC / amd64

svn path=/trunk/; revision=52110
2011-06-06 09:58:58 +00:00
Cameron Gutman 83ce4c7d6c [WININET_WINETEST]
- Update to wine 1.3.21

svn path=/trunk/; revision=52109
2011-06-05 23:17:36 +00:00
Cameron Gutman f477c9818f - Add forgotten language files
svn path=/trunk/; revision=52108
2011-06-05 23:13:47 +00:00
Cameron Gutman 7cfff50f9a [WININET]
- Sync to wine 1.3.21
[PSDK]
- Update headers from sync

svn path=/trunk/; revision=52107
2011-06-05 23:11:41 +00:00
Cameron Gutman 9616b43abc [WINHTTP_WINETEST]
- Sync to wine 1.3.21

svn path=/trunk/; revision=52106
2011-06-05 21:41:14 +00:00
Cameron Gutman d7abc4fbf1 [WINHTTP]
- Sync to wine 1.3.21

svn path=/trunk/; revision=52105
2011-06-05 21:39:34 +00:00
Cameron Gutman e909d0b7db [URLMON_WINETEST]
- Sync to wine 1.3.21

svn path=/trunk/; revision=52104
2011-06-05 21:35:31 +00:00
Cameron Gutman 1828ed9d94 [URLMON]
- Sync to wine 1.3.21

svn path=/trunk/; revision=52103
2011-06-05 21:29:41 +00:00