reactos.git
9 years ago[WIDL]
Eric Kohl [Thu, 11 Aug 2011 18:34:26 +0000 (18:34 +0000)]
[WIDL]
- Reapply the switchtype patch from widl-ros.diff. This patch should be sent upstream to wine.

See issue #6406 for more details.

svn path=/trunk/; revision=53187

9 years ago[NETCFGX]
Amine Khaldi [Thu, 11 Aug 2011 15:17:39 +0000 (15:17 +0000)]
[NETCFGX]
* Improve the PCH and activate it.

svn path=/trunk/; revision=53186

9 years ago[WIN32DLLS]
Amine Khaldi [Thu, 11 Aug 2011 15:16:48 +0000 (15:16 +0000)]
[WIN32DLLS]
* PCHify some modules when possible.

svn path=/trunk/; revision=53185

9 years ago[MSVCRT]
Amine Khaldi [Thu, 11 Aug 2011 15:14:25 +0000 (15:14 +0000)]
[MSVCRT]
* Improve the PCH.

svn path=/trunk/; revision=53184

9 years ago[MSAFD]
Amine Khaldi [Thu, 11 Aug 2011 15:12:53 +0000 (15:12 +0000)]
[MSAFD]
* Improve the PCH.

svn path=/trunk/; revision=53183

9 years ago[HHCTRL]
Amine Khaldi [Thu, 11 Aug 2011 15:11:25 +0000 (15:11 +0000)]
[HHCTRL]
* Add missing wineheaders dependency.
* Set hhctrl.h as a PCH.

svn path=/trunk/; revision=53182

9 years ago[NETSHELL]
Amine Khaldi [Thu, 11 Aug 2011 15:09:52 +0000 (15:09 +0000)]
[NETSHELL]
* Improve the PCH.

svn path=/trunk/; revision=53181

9 years ago[MSWSOCK]
Amine Khaldi [Thu, 11 Aug 2011 15:07:19 +0000 (15:07 +0000)]
[MSWSOCK]
* Add a PCH.

svn path=/trunk/; revision=53180

9 years ago[MSPORTS]
Amine Khaldi [Thu, 11 Aug 2011 15:06:36 +0000 (15:06 +0000)]
[MSPORTS]
* Add a PCH.

svn path=/trunk/; revision=53179

9 years ago[CMAKE]
Timo Kreuzer [Thu, 11 Aug 2011 13:39:06 +0000 (13:39 +0000)]
[CMAKE]
Add add_delay_importlibs for MSVC

svn path=/trunk/; revision=53178

9 years ago[MSAFD]
Cameron Gutman [Thu, 11 Aug 2011 07:08:16 +0000 (07:08 +0000)]
[MSAFD]
- Implement SO_LINGER and SO_DONTLINGER for getsockopt and setsockopt
- Fix and add buffer size checks
- Yes, we've gone this long without SO_LINGER support

svn path=/trunk/; revision=53174

9 years ago[LWIP]
Cameron Gutman [Thu, 11 Aug 2011 06:39:17 +0000 (06:39 +0000)]
[LWIP]
- Fix user-initiated hard connection closures

svn path=/trunk/; revision=53173

9 years ago[WDMAUD.DRV]
Amine Khaldi [Thu, 11 Aug 2011 00:11:30 +0000 (00:11 +0000)]
[WDMAUD.DRV]
* Set wdmaud.h as a PCH.

svn path=/trunk/; revision=53172

9 years ago[WIDL]
Jérôme Gardou [Wed, 10 Aug 2011 23:19:52 +0000 (23:19 +0000)]
[WIDL]
- use -Oif flag to produce modern (!) NT4 stubs, with Microsoft extensions to IDL language.
[ADVAPI32]
- Initialize *pcbBytesNeeded, as it's marked as [in], it needs to be in the 0-8k range before being passed to RPC.
Now 2nd stage got his mouse and keyboard again.

svn path=/trunk/; revision=53171

9 years ago[WS2_32]
Amine Khaldi [Wed, 10 Aug 2011 23:04:40 +0000 (23:04 +0000)]
[WS2_32]
* Improve the PCH.

svn path=/trunk/; revision=53170

9 years ago[WS2_32_NEW][WS2HELP]
Amine Khaldi [Wed, 10 Aug 2011 22:40:12 +0000 (22:40 +0000)]
[WS2_32_NEW][WS2HELP]
* Add PCHs.

svn path=/trunk/; revision=53168

9 years ago[LWIP]
Cameron Gutman [Wed, 10 Aug 2011 18:04:49 +0000 (18:04 +0000)]
[LWIP]
- Remove 2 custom definitions to use the default values

svn path=/trunk/; revision=53166

9 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 10 Aug 2011 16:12:45 +0000 (16:12 +0000)]
[NTOSKRNL]
Fix MSVC build, when KDBG is used

svn path=/trunk/; revision=53165

9 years ago[ROSSYM_NEW]
Timo Kreuzer [Wed, 10 Aug 2011 16:11:59 +0000 (16:11 +0000)]
[ROSSYM_NEW]
Add RosSymAggregate and RosSymFreeAggregate stubs for MSVC

svn path=/trunk/; revision=53164

9 years ago[RTL]
Timo Kreuzer [Wed, 10 Aug 2011 13:52:30 +0000 (13:52 +0000)]
[RTL]
Fix MSVC warning about signed/unsigned mismatch. In this case it was not a bug, because the compiler implicitly casts to unsigned, when signed and unsigned are compared, so (-1 < 0x23U) is false.

svn path=/trunk/; revision=53163

9 years ago- Revert 53150, FAT corruption was not caused by ntdll:exception test;
Olaf Siejka [Wed, 10 Aug 2011 11:29:41 +0000 (11:29 +0000)]
- Revert 53150, FAT corruption was not caused by ntdll:exception test;

svn path=/trunk/; revision=53161

9 years ago[SETUPAPI]
Jérôme Gardou [Wed, 10 Aug 2011 01:31:35 +0000 (01:31 +0000)]
[SETUPAPI]
- fix confusion on buffer size between string length and number of bytes.
Might fix some infamous heap corruption bug during install. Please test.

svn path=/trunk/; revision=53160

9 years ago[WIDL]
Jérôme Gardou [Tue, 9 Aug 2011 22:58:13 +0000 (22:58 +0000)]
[WIDL]
- Don't include non host headers for host executables
I'm sure my dog told me that once.

svn path=/trunk/; revision=53159

9 years ago[TOOLS]
Jérôme Gardou [Tue, 9 Aug 2011 22:51:55 +0000 (22:51 +0000)]
[TOOLS]
- sync wpp, widl and wrc with wine 1.3.26

svn path=/trunk/; revision=53158

9 years ago[NTDLL_WINETEST]
Thomas Faber [Tue, 9 Aug 2011 22:37:53 +0000 (22:37 +0000)]
[NTDLL_WINETEST]
- Fix MSVC build

svn path=/trunk/; revision=53157

9 years ago[RC files]
Jérôme Gardou [Tue, 9 Aug 2011 21:44:20 +0000 (21:44 +0000)]
[RC files]
- don't declare unicode strings, newer wrc doesn't like it, and it's (hopefully) useless.

svn path=/trunk/; revision=53156

9 years ago[LWIP]
Cameron Gutman [Tue, 9 Aug 2011 19:55:12 +0000 (19:55 +0000)]
[LWIP]
- Tune several TCP attributes to behave similarly to Windows XP

svn path=/trunk/; revision=53155

9 years ago[SERVICES]
Jérôme Gardou [Tue, 9 Aug 2011 18:50:00 +0000 (18:50 +0000)]
[SERVICES]
- addendum to r53153 : [unique] and [ptr] can't be applied to [out] only parameters, so mark them as [in] too.
Now MSVC build gets as far as 3rd stage.

svn path=/trunk/; revision=53154

9 years ago[SERVICES]
Jérôme Gardou [Tue, 9 Aug 2011 18:39:06 +0000 (18:39 +0000)]
[SERVICES]
- mark pointers argument of RQueryServiceConfigA/W as [unique], since they can be NULL.
See http://msdn.microsoft.com/en-us/library/aa367153%28v=VS.85%29.aspx for details.

svn path=/trunk/; revision=53153

9 years ago[RPCRT4]
Jérôme Gardou [Tue, 9 Aug 2011 17:43:37 +0000 (17:43 +0000)]
[RPCRT4]
- restore lost ros specific change.
Thanks Vic.

svn path=/trunk/; revision=53152

9 years ago[INTRIN]
Timo Kreuzer [Tue, 9 Aug 2011 14:22:29 +0000 (14:22 +0000)]
[INTRIN]
memory barriers
- implement a fixed version of __invlpg for MSVC, since the intrinsic is broken and can generate wrong instructions, when optimization is enabled
- add MSVC versions of _mm_mfence, _mm_lfence, _mm_sfence and __faststorefence
- add _mm_mfence() for gcc
- give _mm_lfence, _mm_sfence, __invlpg and __wbinvd proper

svn path=/trunk/; revision=53151

9 years ago[NTDLL_WINETEST]
Amine Khaldi [Tue, 9 Aug 2011 12:10:04 +0000 (12:10 +0000)]
[NTDLL_WINETEST]
* Skip ntdll exception tests until bug 6404 is fixed.

svn path=/trunk/; revision=53150

9 years ago[PCNET]
Cameron Gutman [Tue, 9 Aug 2011 07:30:10 +0000 (07:30 +0000)]
[PCNET]
- Implement a simple buffer allocation algorithm which backs off the buffer size until all buffer allocations succeed

See issue #6284 for more details.

svn path=/trunk/; revision=53149

9 years ago[PCNET]
Cameron Gutman [Tue, 9 Aug 2011 06:36:10 +0000 (06:36 +0000)]
[PCNET]
- Allocate receive and transmit buffers (each 49152 bytes) as cached shared memory to increase the likelihood of a successful allocation in a low memory scenario
See issue #6284 for more details.

svn path=/trunk/; revision=53148

9 years ago[NDIS]
Cameron Gutman [Tue, 9 Aug 2011 06:00:38 +0000 (06:00 +0000)]
[NDIS]
- Implement NdisMDeregisterIoPortRange
[PCNET]
- Don't call NdisMFreeMapRegisters if no map registers were allocated
- Call MiFreeSharedMemory before freeing map registers to avoid a crash because freeing map registers deallocates the adapter object

svn path=/trunk/; revision=53147

9 years ago[RTL]
Timo Kreuzer [Mon, 8 Aug 2011 22:13:02 +0000 (22:13 +0000)]
[RTL]
Fix MSVC warnings

svn path=/trunk/; revision=53146

9 years ago[AFD]
Cameron Gutman [Mon, 8 Aug 2011 22:02:55 +0000 (22:02 +0000)]
[AFD]
- Handle canceled reads on datagram sockets

svn path=/trunk/; revision=53145

9 years ago[AFD]
Cameron Gutman [Mon, 8 Aug 2011 21:57:06 +0000 (21:57 +0000)]
[AFD]
- Fix shutdown() for datagram sockets
- Share some code between SD_BOTH and SD_RECEIVE

svn path=/trunk/; revision=53144

9 years ago[IP]
Cameron Gutman [Mon, 8 Aug 2011 21:28:50 +0000 (21:28 +0000)]
[IP]
- Merge r53134 and r53135 from the GSoC TCP/IP branch

svn path=/trunk/; revision=53143

9 years ago- Just kidding. Fix it for real.
Cameron Gutman [Mon, 8 Aug 2011 21:27:08 +0000 (21:27 +0000)]
- Just kidding. Fix it for real.

svn path=/trunk/; revision=53142

9 years ago[AFD]
Cameron Gutman [Mon, 8 Aug 2011 21:23:24 +0000 (21:23 +0000)]
[AFD]
- Fix shutdown(SD_RECEIVE) so it no longer brings down the entire connection

svn path=/trunk/; revision=53141

9 years ago[LWIP]
Timo Kreuzer [Mon, 8 Aug 2011 21:04:33 +0000 (21:04 +0000)]
[LWIP]
Fix msvc build

svn path=/trunk/; revision=53140

9 years ago[PCNET]
Cameron Gutman [Mon, 8 Aug 2011 12:06:26 +0000 (12:06 +0000)]
[PCNET]
- Remove excessive BREAKPOINT usage
- Promote some DPRINTs to DPRINT1s

svn path=/trunk/; revision=53138

9 years ago[CMAKE]
Amine Khaldi [Mon, 8 Aug 2011 11:54:20 +0000 (11:54 +0000)]
[CMAKE]
* Convert some macros to functions.

svn path=/trunk/; revision=53137

9 years ago[CMAKE]
Amine Khaldi [Mon, 8 Aug 2011 11:45:34 +0000 (11:45 +0000)]
[CMAKE]
* Convert some macros to functions.

svn path=/trunk/; revision=53136

9 years ago[INTRIN]
Timo Kreuzer [Sun, 7 Aug 2011 23:16:39 +0000 (23:16 +0000)]
[INTRIN]
_mm_pause has an implicit full memory barrier, emulate this on gcc as well

svn path=/trunk/; revision=53133

9 years ago[CMAKE]
Amine Khaldi [Sun, 7 Aug 2011 22:48:11 +0000 (22:48 +0000)]
[CMAKE]
* Convert add_importlibs to a function.

svn path=/trunk/; revision=53132

9 years ago[I8042PRT]
Jérôme Gardou [Sun, 7 Aug 2011 22:46:50 +0000 (22:46 +0000)]
[I8042PRT]
- "implement" IRP_MN_QUERY_PNP_DEVICE_STATE

svn path=/trunk/; revision=53131

9 years ago[I8042PRT]
Jérôme Gardou [Sun, 7 Aug 2011 22:45:17 +0000 (22:45 +0000)]
[I8042PRT]
- fix formatting

svn path=/trunk/; revision=53130

9 years ago[IDL]
Jérôme Gardou [Sun, 7 Aug 2011 22:42:51 +0000 (22:42 +0000)]
[IDL]
- set end points of interfaces

svn path=/trunk/; revision=53129

9 years ago[RPCRT4]
Jérôme Gardou [Sun, 7 Aug 2011 22:42:06 +0000 (22:42 +0000)]
[RPCRT4]
- fix msvc version of call_stubless_func

svn path=/trunk/; revision=53128

9 years ago[TRANSLATION]
Olaf Siejka [Sun, 7 Aug 2011 21:10:32 +0000 (21:10 +0000)]
[TRANSLATION]
- Resize controls to allow wider strings of polish translation to fit in;
- Assorted translation fixes, added missing strings;
- Patch by Adam Stachowicz (Saibamen) and wojo664, minor corrections by me;

svn path=/trunk/; revision=53127

9 years ago[IP]
Cameron Gutman [Sun, 7 Aug 2011 21:03:44 +0000 (21:03 +0000)]
[IP]
- Remove an obsolete comment

svn path=/trunk/; revision=53126

9 years ago[TCPIP]
Cameron Gutman [Sun, 7 Aug 2011 19:13:23 +0000 (19:13 +0000)]
[TCPIP]
- Merge the Google Summer of Code TcpIpDriver project to replace our current TCP implementation
- Remove oskittcp
- Big thanks to Claudiu Mihail for his work on the project

svn path=/trunk/; revision=53122

9 years ago[SERVMAN]
Eric Kohl [Sun, 7 Aug 2011 19:10:12 +0000 (19:10 +0000)]
[SERVMAN]
- When a service gets started, read the start parameters from the edit control and pass them to StartService.
- Disable the start parameter edit control while a service is running.

svn path=/trunk/; revision=53121

9 years ago[RPCRT4]
Jérôme Gardou [Sun, 7 Aug 2011 17:26:49 +0000 (17:26 +0000)]
[RPCRT4]
- Hack cmake build file to get wininet.dll delay importing.
msvc build reactos now gets as far as showing 2nd stage setup wizard.
Mouse/keyboard don't respond yet.

svn path=/trunk/; revision=53120

9 years ago[WINETESTS]
Jérôme Gardou [Sun, 7 Aug 2011 16:20:27 +0000 (16:20 +0000)]
[WINETESTS]
- update rpcrt4 tests to wine 1.3.26 while we're at it.

svn path=/trunk/; revision=53119

9 years ago[RPCRT4]
Jérôme Gardou [Sun, 7 Aug 2011 16:15:10 +0000 (16:15 +0000)]
[RPCRT4]
- sync with wine 1.3.26
MAny thanks to Filip Navara for his invaluable help.

svn path=/trunk/; revision=53118

9 years ago[CMAKE]
Jérôme Gardou [Sun, 7 Aug 2011 14:26:36 +0000 (14:26 +0000)]
[CMAKE]
remove useless file

svn path=/trunk/; revision=53117

9 years ago[CMAKE]
Jérôme Gardou [Sun, 7 Aug 2011 11:13:45 +0000 (11:13 +0000)]
[CMAKE]
- add the possibility to add dependencies to PCH.
- Use it to fix advapi32 build

svn path=/trunk/; revision=53116

9 years ago[CMAKE]
Jérôme Gardou [Sun, 7 Aug 2011 11:03:24 +0000 (11:03 +0000)]
[CMAKE]
- tentative to fix buildbot cmake build

svn path=/trunk/; revision=53115

9 years ago[RPCSS]
Jérôme Gardou [Sun, 7 Aug 2011 01:25:31 +0000 (01:25 +0000)]
[RPCSS]
-Fix build

svn path=/trunk/; revision=53114

9 years ago[ROSTESTS/CMAKE]
Jérôme Gardou [Sun, 7 Aug 2011 00:54:26 +0000 (00:54 +0000)]
[ROSTESTS/CMAKE]
- fix rpcrt4 winetest build file according to r53112

svn path=/trunk/; revision=53113

9 years ago[CMAKE][CMAKE]
Jérôme Gardou [Sun, 7 Aug 2011 00:53:19 +0000 (00:53 +0000)]
[CMAKE][CMAKE]
- turn most macros in function 2/x.
- separate rpc server and client stubs, and generate them directly instead of using a library, so they got the flags that the module uses.
- commit forgotten file from r53088
- get rid of winesdk target, it's useless now

svn path=/trunk/; revision=53112

9 years ago[CMAKE]
Jérôme Gardou [Sun, 7 Aug 2011 00:46:46 +0000 (00:46 +0000)]
[CMAKE]
- fix "use of uninitialized variables" warning.
Yes, cmake got this to!

svn path=/trunk/; revision=53111

9 years ago[CMAKE]
Jérôme Gardou [Sun, 7 Aug 2011 00:45:23 +0000 (00:45 +0000)]
[CMAKE]
- turn most macros in function 1/x.
This avoids defining a truckload of variables in the global space, and some of these variables would collapse themselves in certain cases.

svn path=/trunk/; revision=53110

9 years ago[CMAKE]
Amine Khaldi [Sat, 6 Aug 2011 23:18:17 +0000 (23:18 +0000)]
[CMAKE]
* Set RC compiler for some modules.

svn path=/trunk/; revision=53109

9 years ago[REGEDIT]
Amine Khaldi [Sat, 6 Aug 2011 23:15:46 +0000 (23:15 +0000)]
[REGEDIT]
* Lose the BOM.

svn path=/trunk/; revision=53108

9 years ago[AVIFIL32]
Amine Khaldi [Sat, 6 Aug 2011 18:50:52 +0000 (18:50 +0000)]
[AVIFIL32]
* Encode avifile_Bg.rc in UTF-8 without BOM.

svn path=/trunk/; revision=53104

9 years ago[WIN32K] - Fix uninitialized variable usage
Thomas Faber [Sat, 6 Aug 2011 17:02:54 +0000 (17:02 +0000)]
[WIN32K] - Fix uninitialized variable usage
[ADVAPI32] - Fix a TRACE
[PCIX] - Fix statements without effect
Spotted by MSVC.

svn path=/trunk/; revision=53102

9 years agoRemove shell32_new, the real one is in the branch
Ged Murphy [Sat, 6 Aug 2011 12:51:02 +0000 (12:51 +0000)]
Remove shell32_new, the real one is in the branch

svn path=/trunk/; revision=53101

9 years ago[MSAFD]
Cameron Gutman [Sat, 6 Aug 2011 12:01:09 +0000 (12:01 +0000)]
[MSAFD]
- Remove a broken debug print

svn path=/trunk/; revision=53100

9 years ago[SERVICES]
Eric Kohl [Sat, 6 Aug 2011 10:37:12 +0000 (10:37 +0000)]
[SERVICES]
Fix coding style. No code changes.

svn path=/trunk/; revision=53098

9 years ago[CMAKE]
Jérôme Gardou [Fri, 5 Aug 2011 20:40:40 +0000 (20:40 +0000)]
[CMAKE]
- make generated files depend on their generator
It seems stupid, but I removed this quite some time ago, don't ask me why.
Now, you just have to build the tools and do an incremental build each time a tool is updated.

svn path=/trunk/; revision=53088

9 years ago[PSDK]
Jérôme Gardou [Fri, 5 Aug 2011 19:35:54 +0000 (19:35 +0000)]
[PSDK]
- do not redefine UNICODE_STRING and NTSTATUS if wintrnl.h has already been included
- define PNTSTATUS in wintrnl.h
- add RPC_PROTSEC_VECTOR and RPC_MGMT_AUTHORIZATION_FN definitions

svn path=/trunk/; revision=53087

9 years ago[FORMATTING]
Jérôme Gardou [Fri, 5 Aug 2011 17:58:27 +0000 (17:58 +0000)]
[FORMATTING]
- damn you notepad++

svn path=/trunk/; revision=53086

9 years ago[FREELDR]
Jérôme Gardou [Fri, 5 Aug 2011 17:54:06 +0000 (17:54 +0000)]
[FREELDR]
- Add back apparently lost line of r52098.
Patch by Alex Ionescu, tested by Igor Paliychuk.
See issue #6292 for more details.

svn path=/trunk/; revision=53085

9 years ago[CMAKE]
Amine Khaldi [Fri, 5 Aug 2011 14:48:47 +0000 (14:48 +0000)]
[CMAKE]
* Force cl as the C/C++ Compiler when we detect the WDK environment.
* Buildbot can now have PCH support back.

svn path=/trunk/; revision=53084

9 years ago[NDK]
Thomas Faber [Fri, 5 Aug 2011 09:36:32 +0000 (09:36 +0000)]
[NDK]
- Add RtlCompareMemoryUlong and RtlCopyBytes/RtlFillBytes/RtlZeroBytes

svn path=/trunk/; revision=53081

9 years ago[DHCPCSVC] - Fix another funny GetLastError DPRINT
Thomas Faber [Fri, 5 Aug 2011 09:02:40 +0000 (09:02 +0000)]
[DHCPCSVC] - Fix another funny GetLastError DPRINT
[NETID] - It's unicode! Surprising it even worked. Fixes warnings
[SACDRV] - Fix entry point warning
[CRT] - Fix MSVC warning

svn path=/trunk/; revision=53080

9 years ago[CRTDLL]
Cameron Gutman [Fri, 5 Aug 2011 04:55:34 +0000 (04:55 +0000)]
[CRTDLL]
- Free the correct variable in the failure case

svn path=/trunk/; revision=53079

9 years ago- Fix the stupid mess we created when making this from the cmake branch
Cameron Gutman [Fri, 5 Aug 2011 02:25:05 +0000 (02:25 +0000)]
- Fix the stupid mess we created when making this from the cmake branch
- Part 1 of 2

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53074

9 years ago[DDK/XDK]
Thomas Faber [Fri, 5 Aug 2011 01:20:28 +0000 (01:20 +0000)]
[DDK/XDK]
- Add function types, not only function pointer types, for splay/avl tree functions
- RTL_SPLAY_LINKS needs to be defined regardless of RTL_USE_AVL_TABLES
[NDK]
- Add missing splay/avl tree function declarations
- Add the function types as well. These are also not in ntifs anymore

svn path=/trunk/; revision=53073

9 years ago[CSRSRV]
Thomas Faber [Fri, 5 Aug 2011 00:50:51 +0000 (00:50 +0000)]
[CSRSRV]
- Define NDEBUG only once
- Don't define helper macro in the source
- DPRINT fixes
[NTDLL/LDR]
- More verbose DPRINT for initialization failure

svn path=/trunk/; revision=53072

9 years ago[KERNEL32] - Fix DuplicateHandle return value
Thomas Faber [Thu, 4 Aug 2011 22:53:57 +0000 (22:53 +0000)]
[KERNEL32] - Fix DuplicateHandle return value
[WIN32CSR] - Fix DPRINT

svn path=/trunk/; revision=53071

9 years ago[NTOSKRNL]: Implement SystemRangeStartInformation.
Alex Ionescu [Thu, 4 Aug 2011 22:41:39 +0000 (22:41 +0000)]
[NTOSKRNL]: Implement SystemRangeStartInformation.

svn path=/trunk/; revision=53070

9 years ago[KERNEL32]: Fix the handle APIs. DuplicateHandle was pretty broken w.r.t console...
Alex Ionescu [Thu, 4 Aug 2011 22:21:39 +0000 (22:21 +0000)]
[KERNEL32]: Fix the handle APIs. DuplicateHandle was pretty broken w.r.t console handles, and the Query/Set APIs didn't handle those at all.

svn path=/trunk/; revision=53069

9 years ago[KERNEL32]: Cleanup and fix the Global* APIs for heap allocation. Mostly parameter...
Alex Ionescu [Thu, 4 Aug 2011 22:18:01 +0000 (22:18 +0000)]
[KERNEL32]: Cleanup and fix the Global* APIs for heap allocation. Mostly parameter check fixing, checking for errors and failure cases, as well as adding SEH (no real functionality improvement, other than fixing a security issue in GlobalLock).
[KERNEL32]: Rename hProcessHeap to BaseHeap, and only allow the heapmem.c access to this (change find.c to use RtlGetProcessHeap() like everyone else).

svn path=/trunk/; revision=53068

9 years ago[TCPIP]
Cameron Gutman [Thu, 4 Aug 2011 20:14:13 +0000 (20:14 +0000)]
[TCPIP]
- Comment out the timeout parameter until I implement disconnect timeouts for lwIP
- Branch repair (part 5 of x)

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53067

9 years ago[IP]
Cameron Gutman [Thu, 4 Aug 2011 19:03:20 +0000 (19:03 +0000)]
[IP]
- Remove oskittcp.h from the PCH
[LWIP]
- Don't define LWIP_PROVIDE_ERRNO because we get those from our CRT
- Branch repair (part 4 of x)

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53066

9 years ago[SPEC2DEF]
Cameron Gutman [Thu, 4 Aug 2011 18:31:07 +0000 (18:31 +0000)]
[SPEC2DEF]
- Merge a file that was forgotten in r52122
- Branch repair (part 3 of x)

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53065

9 years ago[NTOSKRNL/MM]
Jérôme Gardou [Thu, 4 Aug 2011 18:23:20 +0000 (18:23 +0000)]
[NTOSKRNL/MM]
- Actually, there is no need to crawl the entire tree, just going past the limit is enough. Thanks Timo.
- Fix MSVC warning, thanks Ged.
Now you have correct AND optimized code, Alex AND Timo should be happy.
I'm only the committer of these fix, the work was mostly done by Thomas Faber and Alex Ionescu.

svn path=/trunk/; revision=53064

9 years ago- Update to r53061
Cameron Gutman [Thu, 4 Aug 2011 17:42:50 +0000 (17:42 +0000)]
- Update to r53061
- Branch repair (part 2 of x)

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53063

9 years ago- Revert r52573
Cameron Gutman [Thu, 4 Aug 2011 17:16:20 +0000 (17:16 +0000)]
- Revert r52573
- Branch repair (part 1 of x)

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53062

9 years ago[NTOSKRNL]
Jérôme Gardou [Thu, 4 Aug 2011 16:39:04 +0000 (16:39 +0000)]
[NTOSKRNL]
Fix build

svn path=/trunk/; revision=53061

9 years ago[NTOSKRNL]
Jérôme Gardou [Thu, 4 Aug 2011 16:21:22 +0000 (16:21 +0000)]
[NTOSKRNL]
- begin search at the highest possible address in VAD tree

svn path=/trunk/; revision=53060

9 years ago[NTOSKRNL]: NLS tables should be mapped before PEB.
Alex Ionescu [Thu, 4 Aug 2011 13:10:57 +0000 (13:10 +0000)]
[NTOSKRNL]: NLS tables should be mapped before PEB.
[NTOSKRNL]: Handle failure of NLS and PEB mapping correctly.
[NTOSKRNL]: Only set Peb->OsCSDVersion if NtHeader->Win32VersionValue is set.

svn path=/trunk/; revision=53059

9 years ago[KERNEL32]: Cleanup GetSystemInfo and friends, fix some bugs, mainly removing support...
Alex Ionescu [Thu, 4 Aug 2011 00:55:52 +0000 (00:55 +0000)]
[KERNEL32]: Cleanup GetSystemInfo and friends, fix some bugs, mainly removing support for unsupported CPUs/architectures, and adding support for PROCESSOR_ARCHITECTURE_AMD64. Did some refactoring to support WoW64 in the future as well.

svn path=/trunk/; revision=53057

9 years ago[KERNEL32]: Cleanup and fix bugs in the TimerQueue implementation... mainly related...
Alex Ionescu [Thu, 4 Aug 2011 00:54:00 +0000 (00:54 +0000)]
[KERNEL32]: Cleanup and fix bugs in the TimerQueue implementation... mainly related to wrong/incorrect parameter checks and error codes.

svn path=/trunk/; revision=53056

9 years ago[CMAKE]
Jérôme Gardou [Wed, 3 Aug 2011 20:29:04 +0000 (20:29 +0000)]
[CMAKE]
- add cmake visual ASM compiler detection script, from cmake 2.8.5 + modification to handle ml32/64

svn path=/trunk/; revision=53055