Commit graph

46544 commits

Author SHA1 Message Date
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
Amine Khaldi
debda4e307 [CMAKE]
* Use our oldnames library instead of libcoldname.

svn path=/trunk/; revision=52102
2011-06-05 21:24:00 +00:00
Amine Khaldi
c5cda767c7 [CMAKE]
* Temporarily add libcoldname.a

svn path=/trunk/; revision=52101
2011-06-05 21:04:31 +00:00
Amine Khaldi
09284f5d66 [CRT/INTRINSICS]
Timo Kreuzer:
* Change inline assembly constraint from "r" to "q". "r" means any kind of register, including *si and *di, these cannot be used for 8bit operations on x86, only x64 has sil, dil registers. But gcc is stupid and doesn't get that if we don't tell it explicitly, by using "q", which will only allow a, b, c, d registers. Fixes an assembler error messages that can occur under certain circumstances.

svn path=/trunk/; revision=52100
2011-06-05 20:59:09 +00:00
Amine Khaldi
b6d8950a07 [CMAKE]
* chkstk is already part of msvcrtex. Just update it.

svn path=/trunk/; revision=52099
2011-06-05 20:57:13 +00:00
Sir Richard
16bffdd5f9 [FREELDR]: Some ARM architectures do not necessarily have CS0_BASE at 0x00000000, for example, most Ti OMAP Platforms have DDR at 0x80000000. The current FreeLDR algorithms would build FreeLDR "page entries" for every page from 0 to 0x7FFF0000 and mark it as unusable, then build the actual valid entries from 0x80000000 -> end of RAM, thus resulting in large memory consumption (and in the bloat of the PFN database later once NTOS loads) and boot time. Therefore, the algorithm is changed to start the PFN database at the lowest valid RAM page described by the Firemware descriptors, and entries therefore will be offset. This means a 128MB embedded system no longer appears to have 2048+128MB of RAM worth of PFN entries.
NOTE: Windows does not do this, opting instead to force manufacturers/use pull-up resistors/reconfigure the ARM Bus to map RAM at 0x00000000. For wider portability, I believe it makes more sense to simply do this "trick" in the boot loader.

svn path=/trunk/; revision=52098
2011-06-05 20:48:34 +00:00
Cameron Gutman
66d289c9ad [WSOCK32]
- Fix the spec file
- Fixes FF regression

svn path=/trunk/; revision=52097
2011-06-05 20:40:57 +00:00
Amine Khaldi
fbe0668c94 [CMAKE]
* Fix msvcrtex unix build.

svn path=/trunk/; revision=52096
2011-06-05 19:44:33 +00:00
Amine Khaldi
0e21352b22 [CMAKE]
* Link msvcrtex to chkstk.

svn path=/trunk/; revision=52095
2011-06-05 18:56:29 +00:00
Amine Khaldi
0a457d3246 [CMAKE]
* Add chkstk library and link crt against it.
* Add chkstk_ms.s to libcntpr source files.

svn path=/trunk/; revision=52094
2011-06-05 18:42:09 +00:00
Amine Khaldi
30fac98374 [CMAKE]
* Fix cab creation on unix.

svn path=/trunk/; revision=52093
2011-06-05 18:00:09 +00:00
Cameron Gutman
768cc14b79 [AFD]
- Create an empty TRANSPORT_ADDRESS for the local address when doing an implicit bind so TCP/IP can choose its own local port and address instead of trying to bind the remote address and port
- Fixes another critical networking bug

svn path=/trunk/; revision=52092
2011-06-05 17:08:37 +00:00
Timo Kreuzer
a0f9149ce9 [WIN32K]
Add some more debug output in case of a failed ASSERT

svn path=/trunk/; revision=52091
2011-06-05 16:00:24 +00:00
Timo Kreuzer
83aed0697f [CMAKE]
Fix build with msvc

svn path=/trunk/; revision=52090
2011-06-05 14:51:31 +00:00
Eric Kohl
a9d4438b61 [MSPORTS]
Add missing definitions.

svn path=/trunk/; revision=52089
2011-06-05 13:26:43 +00:00
Kamil Hornicek
36ca51c79e fix build?
svn path=/trunk/; revision=52088
2011-06-05 12:50:02 +00:00
Eric Kohl
d5f1454033 [MSPORTS]
Implement ComDBGetCurrentPortUsage.

svn path=/trunk/; revision=52087
2011-06-05 12:20:52 +00:00
Cameron Gutman
b92d45b853 [IP/TCPIP]
- Add a Next member to CONNECTION_ENDPOINT to allow multiple connections to be associated with a single address file while not overwriting pointers, dereferencing other people's connection objects, and causing horrific amounts of memory corruption
- Add several sanity checks to prevent this from happening again
- Don't try dereference address files and connection endpoints in the free functions; there should be none associated since r52083 (sanity checks ensure this)
- Don't hold an extra reference to the address file when creating a listener; this reference is implicit
- This should greatly increase reliability of activities that open lots of sockets such as web browsing and running servers on ROS
- This also fixes most issues of not releasing a server port when the listener is closed

svn path=/trunk/; revision=52086
2011-06-05 02:16:45 +00:00
Eric Kohl
347ef6343f [MSPORTS]
Protect the COM database from concurrent access.

svn path=/trunk/; revision=52084
2011-06-04 21:07:28 +00:00