reactos.git
9 years ago[ADVAPI32]
Eric Kohl [Sat, 13 Aug 2011 14:26:55 +0000 (14:26 +0000)]
[ADVAPI32]
Fix QueryServiceConfigEx[A/W]:
- If lpServiceConfig is NULL or cbBufSize is less than sizeof(QUERY_SERVICE_CONFIGA/W) pass a pointer to an internal status buffer to RQueryServiceConfigA/W.
- Revert r53153 and r53154. Adding 'in' and 'unique' attributes is NOT an option because this is not compatible with Windows.

svn path=/trunk/; revision=53202

9 years ago[ADVAPI32]
Eric Kohl [Sat, 13 Aug 2011 10:53:15 +0000 (10:53 +0000)]
[ADVAPI32]
Fix EnumServicesStatusEx[A/W]:
- If lpServices is NULL or cbBufSize is less than sizeof(ENUM_SERVICE_STATUS_PROCESS) pass a pointer to an internal status buffer to REnumServicesStatusExA/W. Adding 'in' and 'unique' attributes in the idl file is NOT an option because this is not compatible with Windows.
- Check the InfoLevel.

svn path=/trunk/; revision=53201

9 years ago[IP]
Cameron Gutman [Sat, 13 Aug 2011 04:03:26 +0000 (04:03 +0000)]
[IP]
- Zero the sin_zero member in the TDI_ADDRESS_IP struct

svn path=/trunk/; revision=53200

9 years ago[KS]
Timo Kreuzer [Fri, 12 Aug 2011 16:53:15 +0000 (16:53 +0000)]
[KS]
Fix MSVC build

svn path=/trunk/; revision=53199

9 years ago[CRT]
Timo Kreuzer [Fri, 12 Aug 2011 11:43:53 +0000 (11:43 +0000)]
[CRT]
Add assembly stubs and aliases for c++ symbols for MSVC

svn path=/trunk/; revision=53198

9 years ago[SPEC2DEF]
Timo Kreuzer [Fri, 12 Aug 2011 11:41:35 +0000 (11:41 +0000)]
[SPEC2DEF]
Ignore redirections for c++ symbols, since this doesn't work with link

svn path=/trunk/; revision=53197

9 years ago[USER32]
Cameron Gutman [Fri, 12 Aug 2011 10:07:16 +0000 (10:07 +0000)]
[USER32]
- Simplify finding the icon size in IntDrawState
- As a bonus, it now works for black and white icons too

svn path=/trunk/; revision=53193

9 years ago[USER32]
Cameron Gutman [Fri, 12 Aug 2011 09:54:50 +0000 (09:54 +0000)]
[USER32]
- Fix a bitmap leak in IntDrawState

svn path=/trunk/; revision=53192

9 years ago[USER32]
Cameron Gutman [Fri, 12 Aug 2011 09:39:05 +0000 (09:39 +0000)]
[USER32]
- Fix bitmap leaks in STATIC_SetIcon and get_icon_size

svn path=/trunk/; revision=53191

9 years ago[IPHLPAPI]
Cameron Gutman [Fri, 12 Aug 2011 08:12:47 +0000 (08:12 +0000)]
[IPHLPAPI]
- Fix a massive memory leak of our entire TDI entity ID database after each call to getInterfaceInfoSet
- Fix another massive leak of our entire TDI interface table after each call to getInterfaceInfoByIndex and getInterfaceInfoByName
- Fix some uninitialized variable warnings
- Explorer no longer leaks horrendous amounts of memory (about 1 MB per minute even without network activity) when the network status icon is in the system tray

svn path=/trunk/; revision=53190

9 years ago[LWIP]
Cameron Gutman [Thu, 11 Aug 2011 21:52:41 +0000 (21:52 +0000)]
[LWIP]
- Rewrite receive code to make it much simpler, handle some corner cases that weren't treated correctly, and fix the data corruption bug
- Downloaded successfully (no data corruption): OpenOffice 2.4, OpenOffice 3.3, BitTorrent 7.2.1, Firefox 5, Firefox 3.6, Firefox 3, Firefox 2, Abyss Web Server, Opera 9.64, and Opera 11.01

svn path=/trunk/; revision=53189

9 years ago[LWIP]
Cameron Gutman [Thu, 11 Aug 2011 21:22:00 +0000 (21:22 +0000)]
[LWIP]
- Fix a buffer overflow when the packet queue has more packets than the receive request can take
- Remove an extra variable

svn path=/trunk/; revision=53188

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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

10 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