Commit graph

47616 commits

Author SHA1 Message Date
Cameron Gutman 0a3dc4735f [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
2011-08-07 19:13:23 +00:00
Eric Kohl 6e4f110888 [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
2011-08-07 19:10:12 +00:00
Jérôme Gardou 3e02029bbf [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
2011-08-07 17:26:49 +00:00
Jérôme Gardou 73d63701da [WINETESTS]
- update rpcrt4 tests to wine 1.3.26 while we're at it.

svn path=/trunk/; revision=53119
2011-08-07 16:20:27 +00:00
Jérôme Gardou 4c3406bcd6 [RPCRT4]
- sync with wine 1.3.26
MAny thanks to Filip Navara for his invaluable help.

svn path=/trunk/; revision=53118
2011-08-07 16:15:10 +00:00
Jérôme Gardou 22227e3f74 [CMAKE]
remove useless file

svn path=/trunk/; revision=53117
2011-08-07 14:26:36 +00:00
Jérôme Gardou 47a2a8069d [CMAKE]
- add the possibility to add dependencies to PCH.
- Use it to fix advapi32 build

svn path=/trunk/; revision=53116
2011-08-07 11:13:45 +00:00
Jérôme Gardou 42a9865a35 [CMAKE]
- tentative to fix buildbot cmake build

svn path=/trunk/; revision=53115
2011-08-07 11:03:24 +00:00
Jérôme Gardou f337a7aca5 [RPCSS]
-Fix build

svn path=/trunk/; revision=53114
2011-08-07 01:25:31 +00:00
Jérôme Gardou d25222c0de [ROSTESTS/CMAKE]
- fix rpcrt4 winetest build file according to r53112

svn path=/trunk/; revision=53113
2011-08-07 00:54:26 +00:00
Jérôme Gardou 8e004513b0 [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
2011-08-07 00:53:19 +00:00
Jérôme Gardou 909357699b [CMAKE]
- fix "use of uninitialized variables" warning.
Yes, cmake got this to!

svn path=/trunk/; revision=53111
2011-08-07 00:46:46 +00:00
Jérôme Gardou 186d1c6ac5 [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
2011-08-07 00:45:23 +00:00
Amine Khaldi bab90b199e [CMAKE]
* Set RC compiler for some modules.

svn path=/trunk/; revision=53109
2011-08-06 23:18:17 +00:00
Amine Khaldi dc953e9159 [REGEDIT]
* Lose the BOM.

svn path=/trunk/; revision=53108
2011-08-06 23:15:46 +00:00
Amine Khaldi d13803296d [AVIFIL32]
* Encode avifile_Bg.rc in UTF-8 without BOM.

svn path=/trunk/; revision=53104
2011-08-06 18:50:52 +00:00
Thomas Faber a258b5fbd7 [WIN32K] - Fix uninitialized variable usage
[ADVAPI32] - Fix a TRACE
[PCIX] - Fix statements without effect
Spotted by MSVC.

svn path=/trunk/; revision=53102
2011-08-06 17:02:54 +00:00
Ged Murphy 571521cb3b Remove shell32_new, the real one is in the branch
svn path=/trunk/; revision=53101
2011-08-06 12:51:02 +00:00
Cameron Gutman e7aed35533 [MSAFD]
- Remove a broken debug print

svn path=/trunk/; revision=53100
2011-08-06 12:01:09 +00:00
Eric Kohl ec4b20cd3a [SERVICES]
Fix coding style. No code changes.

svn path=/trunk/; revision=53098
2011-08-06 10:37:12 +00:00
Jérôme Gardou 073e87c6d2 [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
2011-08-05 20:40:40 +00:00
Jérôme Gardou ef2548095f [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
2011-08-05 19:35:54 +00:00
Jérôme Gardou 02fa32bc59 [FORMATTING]
- damn you notepad++

svn path=/trunk/; revision=53086
2011-08-05 17:58:27 +00:00
Jérôme Gardou d5194ad2dc [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
2011-08-05 17:54:06 +00:00
Amine Khaldi b1c97b02d8 [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
2011-08-05 14:48:47 +00:00
Thomas Faber 9385a7847e [NDK]
- Add RtlCompareMemoryUlong and RtlCopyBytes/RtlFillBytes/RtlZeroBytes

svn path=/trunk/; revision=53081
2011-08-05 09:36:32 +00:00
Thomas Faber 8fd9e23140 [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
2011-08-05 09:02:40 +00:00
Cameron Gutman 8cd5ca67a3 [CRTDLL]
- Free the correct variable in the failure case

svn path=/trunk/; revision=53079
2011-08-05 04:55:34 +00:00
Cameron Gutman 794ae4203f - 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
2011-08-05 02:25:05 +00:00
Thomas Faber 6de4861d8c [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
2011-08-05 01:20:28 +00:00
Thomas Faber 9c2f3b9dec [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
2011-08-05 00:50:51 +00:00
Thomas Faber 4b7e537cf9 [KERNEL32] - Fix DuplicateHandle return value
[WIN32CSR] - Fix DPRINT

svn path=/trunk/; revision=53071
2011-08-04 22:53:57 +00:00
Alex Ionescu b1daf52fc4 [NTOSKRNL]: Implement SystemRangeStartInformation.
svn path=/trunk/; revision=53070
2011-08-04 22:41:39 +00:00
Alex Ionescu 1ba986ca27 [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
2011-08-04 22:21:39 +00:00
Alex Ionescu 4e634556d9 [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
2011-08-04 22:18:01 +00:00
Cameron Gutman 52848c4373 [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
2011-08-04 20:14:13 +00:00
Cameron Gutman bf0ff35955 [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
2011-08-04 19:03:20 +00:00
Cameron Gutman b5d92f2efc [SPEC2DEF]
- Merge a file that was forgotten in r52122
- Branch repair (part 3 of x)

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53065
2011-08-04 18:31:07 +00:00
Jérôme Gardou e2c053a307 [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
2011-08-04 18:23:20 +00:00
Cameron Gutman b1d8a4df81 - Update to r53061
- Branch repair (part 2 of x)

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53063
2011-08-04 17:42:50 +00:00
Cameron Gutman 8b36c2fed5 - Revert r52573
- Branch repair (part 1 of x)

svn path=/branches/GSoC_2011/TcpIpDriver/; revision=53062
2011-08-04 17:16:20 +00:00
Jérôme Gardou 20087fcf26 [NTOSKRNL]
Fix build

svn path=/trunk/; revision=53061
2011-08-04 16:39:04 +00:00
Jérôme Gardou 415db7e8f3 [NTOSKRNL]
- begin search at the highest possible address in VAD tree

svn path=/trunk/; revision=53060
2011-08-04 16:21:22 +00:00
Alex Ionescu 8be271b56b [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
2011-08-04 13:10:57 +00:00
Alex Ionescu 6da0958817 [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
2011-08-04 00:55:52 +00:00
Alex Ionescu 17d451a6ae [KERNEL32]: Cleanup and fix bugs in the TimerQueue implementation... mainly related to wrong/incorrect parameter checks and error codes.
svn path=/trunk/; revision=53056
2011-08-04 00:54:00 +00:00
Jérôme Gardou 6f9699f671 [CMAKE]
- add cmake visual ASM compiler detection script, from cmake 2.8.5 + modification to handle ml32/64

svn path=/trunk/; revision=53055
2011-08-03 20:29:04 +00:00
Alex Ionescu 712de8491c [CSRSRV]: All the allocations must come from the CSRSS shared heap, not the current CSR heap.
svn path=/trunk/; revision=53052
2011-08-03 16:37:39 +00:00
Alex Ionescu a768ce8ab6 [CSRSRV]: CSRSS tries to connect with itself and already has the region mapped, so allow this as a hack.
svn path=/trunk/; revision=53051
2011-08-03 15:45:16 +00:00
Jérôme Gardou b3526a42af [PSDK]
- mark operators == et != of REFPROPERTYKEY as C++ externs

svn path=/trunk/; revision=53050
2011-08-03 15:20:36 +00:00