reactos.git
11 years ago[SERVICES]
Eric Kohl [Sun, 17 Jul 2011 15:45:03 +0000 (15:45 +0000)]
[SERVICES]
Implement service image records. This will enable us to run executables that contain multiple services and control them individually.

svn path=/trunk/; revision=52717

11 years ago[RTL]: Implement RtlGetFullPathName_Ustr, not yet used.
Alex Ionescu [Sun, 17 Jul 2011 13:15:50 +0000 (13:15 +0000)]
[RTL]: Implement RtlGetFullPathName_Ustr, not yet used.
[RTL]: Simplify RtlDosSearchPath_U by not using a temporary "char" value, and just reading straight from the string buffer.

svn path=/trunk/; revision=52713

11 years ago[D3D]
Sylvain Petreolle [Sun, 17 Jul 2011 11:55:57 +0000 (11:55 +0000)]
[D3D]
Do not link d3dx9 dlls to wined3d.

svn path=/trunk/; revision=52711

11 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 17 Jul 2011 11:37:00 +0000 (11:37 +0000)]
[NTOSKRNL]
Fix a warning on MSVC

svn path=/trunk/; revision=52710

11 years ago[CMAKE]
Jérôme Gardou [Sun, 17 Jul 2011 11:34:14 +0000 (11:34 +0000)]
[CMAKE]
- touch dlldata.c files to avoid to recompile them on a rebuild

svn path=/trunk/; revision=52709

11 years ago[NTOSKRNL]
Jérôme Gardou [Sun, 17 Jul 2011 11:27:40 +0000 (11:27 +0000)]
[NTOSKRNL]
- as a rule of thumb, don't even try to fix something too badly broken.

svn path=/trunk/; revision=52708

11 years ago[RTL]
Jérôme Gardou [Sun, 17 Jul 2011 10:51:42 +0000 (10:51 +0000)]
[RTL]
- fix RtlDosSearchPath_U : do not alter filename while searching for file extension

svn path=/trunk/; revision=52707

11 years ago[TRANSLATION]
Olaf Siejka [Sun, 17 Jul 2011 09:20:34 +0000 (09:20 +0000)]
[TRANSLATION]
- Add newlines at the end of rc files. Fixes MSVC build;

svn path=/trunk/; revision=52706

11 years ago[ASM]
Timo Kreuzer [Sun, 17 Jul 2011 00:38:46 +0000 (00:38 +0000)]
[ASM]
Generate MSVC debugging info for KiUserExceptionDispatcher, KiIntSystemCall, KiFastSystemCall, KiFastSystemCallRet, KiSystemService, KiFastCallEntry, all systemcall stubs
Now usermode backtraces look as they should in WinDbg

svn path=/trunk/; revision=52705

11 years ago[CMAKE]
Timo Kreuzer [Sat, 16 Jul 2011 22:41:10 +0000 (22:41 +0000)]
[CMAKE]
Generate a checksum for ntdll with MSVC

svn path=/trunk/; revision=52704

11 years ago[TRANSLATION]
Dmitry Gorbachev [Sat, 16 Jul 2011 19:54:06 +0000 (19:54 +0000)]
[TRANSLATION]
Simplified Chinese translations by Song Fuchang, bug #6365.

svn path=/trunk/; revision=52703

11 years ago[AFD]
Cameron Gutman [Sat, 16 Jul 2011 19:16:45 +0000 (19:16 +0000)]
[AFD]
- Change some debug prints to reduce useless spam

svn path=/trunk/; revision=52702

11 years ago[RTL]: Cleanup, no code changes.
Alex Ionescu [Sat, 16 Jul 2011 19:03:50 +0000 (19:03 +0000)]
[RTL]: Cleanup, no code changes.

svn path=/trunk/; revision=52700

11 years ago[NDK]: Add RtlReleaseRelativeName.
Alex Ionescu [Sat, 16 Jul 2011 18:58:52 +0000 (18:58 +0000)]
[NDK]: Add RtlReleaseRelativeName.
[RTL]: Re-implement RtlDosSearchPath_U using new path functions from past commits. Uses correct behavior with RtlDoesFileExists (for relative paths, return success when file is locked -- for absolute paths, do not!). Also uses a more optimized path loop that does not alloc/realloc/free heap continously (only one heap allocation is used).

svn path=/trunk/; revision=52699

11 years ago[TCPIP]
Cameron Gutman [Sat, 16 Jul 2011 17:17:08 +0000 (17:17 +0000)]
[TCPIP]
- Fix the broken TDI_QUERY_CONNECTION_INFO implementation
- Perform buffer size checks on TDI_QUERY_MAX_DATAGRAM_INFO requests
[AFD]
- Greatly simplify AfdGetPeerName by using the remote address stored while connecting

svn path=/trunk/; revision=52698

11 years ago[AFD]
Cameron Gutman [Sat, 16 Jul 2011 16:57:07 +0000 (16:57 +0000)]
[AFD]
- Debugging overhaul

svn path=/trunk/; revision=52697

11 years ago[TRANSLATION]
Olaf Siejka [Sat, 16 Jul 2011 15:35:15 +0000 (15:35 +0000)]
[TRANSLATION]
- Remove simplified chinese translation patch from previous commit. It didn't apply correctly;

svn path=/trunk/; revision=52696

11 years ago[TRANSLATION]
Olaf Siejka [Sat, 16 Jul 2011 13:01:48 +0000 (13:01 +0000)]
[TRANSLATION]
- Fix translation crediting by Elton Chung;
- Solitaire and Spider swedish translation by Ronny Svensson;
- Multiple applications translated to simplified chinese by Song Fuchang;

svn path=/trunk/; revision=52695

11 years ago[RTL]: Fix RtlDoesFileExists_UEx, thanks to ThFabba.
Alex Ionescu [Fri, 15 Jul 2011 21:59:06 +0000 (21:59 +0000)]
[RTL]: Fix RtlDoesFileExists_UEx, thanks to ThFabba.

svn path=/trunk/; revision=52690

11 years ago[NDK]: DEPENDENCY TRACKING. GET IT RIGHT. GODDAMN IT RBUILD.
Alex Ionescu [Fri, 15 Jul 2011 13:56:30 +0000 (13:56 +0000)]
[NDK]: DEPENDENCY TRACKING. GET IT RIGHT.  GODDAMN IT RBUILD.

svn path=/trunk/; revision=52688

11 years ago[RTL]: Implement RtlIsDosDeviceName_Ustr and make RtlIsDosDeviceName use it. Uses...
Alex Ionescu [Fri, 15 Jul 2011 13:08:43 +0000 (13:08 +0000)]
[RTL]: Implement RtlIsDosDeviceName_Ustr and make RtlIsDosDeviceName use it. Uses UNICODE_STRING APIs everywhere and similar to the old implementation.

svn path=/trunk/; revision=52687

11 years ago[KERNEL32/RTL]: Fix build.
Alex Ionescu [Fri, 15 Jul 2011 01:44:03 +0000 (01:44 +0000)]
[KERNEL32/RTL]: Fix build.

svn path=/trunk/; revision=52686

11 years ago[RTL]: Implement RtlDoesFileExists_UstrEx, RtlDoesFileExists_UStr, RtlDoesFileExists_UEx.
Alex Ionescu [Fri, 15 Jul 2011 01:29:10 +0000 (01:29 +0000)]
[RTL]: Implement RtlDoesFileExists_UstrEx, RtlDoesFileExists_UStr, RtlDoesFileExists_UEx.
[RTL]: Make RtlDoesFileExists_UStrEx use the new RTL_RELATIVE_NAME structure and also support whether or not sharing violations should return success or not.
[RTL]: For now, use the old RtlDosPathNameToNtPathName API instead of the newer one.

svn path=/trunk/; revision=52685

11 years ago[RTL]: Fix prototype of RtlDosPathNameToNtPathName_U and fix code to match the new...
Alex Ionescu [Thu, 14 Jul 2011 15:33:29 +0000 (15:33 +0000)]
[RTL]: Fix prototype of RtlDosPathNameToNtPathName_U and fix code to match the new prototype.
[NDK]: Add RTL_RELATIVE_NAME_U which is the Windows 2003+ structure used instead of CURDIR for all relative path APIs.

svn path=/trunk/; revision=52681

11 years ago[CALC]
Gabriel Ilardi [Thu, 14 Jul 2011 11:36:52 +0000 (11:36 +0000)]
[CALC]
- Workaround linking to msvcrt in rbuild, patch by Alexander Yastrebov
See issue #6358 for more details.

svn path=/trunk/; revision=52678

11 years ago[NPFS]
Olaf Siejka [Tue, 12 Jul 2011 22:33:53 +0000 (22:33 +0000)]
[NPFS]
- Comment out ASSERT, requested by Timo;

svn path=/trunk/; revision=52669

11 years ago[WS2_32_WINETEST]
Cameron Gutman [Tue, 12 Jul 2011 21:46:42 +0000 (21:46 +0000)]
[WS2_32_WINETEST]
- Fix check to catch WSAEnumProtocols failure

svn path=/trunk/; revision=52668

11 years ago[IP]
Cameron Gutman [Tue, 12 Jul 2011 21:31:36 +0000 (21:31 +0000)]
[IP]
- Store the address of an outgoing NIC properly (gethostname() fix)
- Don't do an explicit bind if we don't have to (ws2_32_winetest sock hang fix)

svn path=/trunk/; revision=52667

11 years ago[IP]
Cameron Gutman [Tue, 12 Jul 2011 20:21:59 +0000 (20:21 +0000)]
[IP]
- Reset the reassembly timeout when a new fragment is received

svn path=/trunk/; revision=52663

11 years ago[NTOSKRNL/MM]
Jérôme Gardou [Tue, 12 Jul 2011 18:25:00 +0000 (18:25 +0000)]
[NTOSKRNL/MM]
- Remove unused/useless function

svn path=/trunk/; revision=52661

11 years ago[NTOSKRNL]
Cameron Gutman [Tue, 12 Jul 2011 18:18:13 +0000 (18:18 +0000)]
[NTOSKRNL]
- Fix broken handling for duplicate loads in IopLoadUnloadDriver
- Fixes duplicate loading messages being displayed during boot and duplicate legacy device nodes being created for the same driver
- NOTE: These fixes do not affect drivers loaded by FreeLoader which are handled by a separate function IopInitializeBuiltinDriver

svn path=/trunk/; revision=52660

11 years ago[APITESTS]
Jérôme Gardou [Tue, 12 Jul 2011 17:55:20 +0000 (17:55 +0000)]
[APITESTS]
- Add some more tests to NtFreeVirtualMemory

svn path=/trunk/; revision=52659

11 years ago[APITEST]
Jérôme Gardou [Tue, 12 Jul 2011 17:36:52 +0000 (17:36 +0000)]
[APITEST]
- add one more test to NtFreeVirtualMemory

svn path=/trunk/; revision=52658

11 years ago[WIN32K]
Timo Kreuzer [Tue, 12 Jul 2011 15:39:24 +0000 (15:39 +0000)]
[WIN32K]
Fix MIN_SYSCALL_NUMBER and MAX_SYSCALL_NUMBER

svn path=/trunk/; revision=52656

11 years ago[NTDLL/LDR]
Timo Kreuzer [Tue, 12 Jul 2011 12:55:03 +0000 (12:55 +0000)]
[NTDLL/LDR]
Hey Arch, stop corrupting the stack!

svn path=/trunk/; revision=52654

11 years ago[NTOSKRNL]
Timo Kreuzer [Tue, 12 Jul 2011 01:04:20 +0000 (01:04 +0000)]
[NTOSKRNL]
Align the idt to 16 bytes. Fixes random boot problems on MSVC builds.

svn path=/trunk/; revision=52647

11 years ago[USETUP]
Timo Kreuzer [Tue, 12 Jul 2011 00:27:22 +0000 (00:27 +0000)]
[USETUP]
Do not add RosDbg section on _WINKD_ builds

svn path=/trunk/; revision=52646

11 years ago[CMAKE] Revert this for now.
Art Yerkes [Mon, 11 Jul 2011 21:46:54 +0000 (21:46 +0000)]
[CMAKE] Revert this for now.

svn path=/trunk/; revision=52644

11 years ago[APITESTS]
Jérôme Gardou [Mon, 11 Jul 2011 19:31:34 +0000 (19:31 +0000)]
[APITESTS]
- add simple tests for NtFreeVirtualMemory

svn path=/trunk/; revision=52642

11 years ago[TCPIP]
Cameron Gutman [Mon, 11 Jul 2011 19:18:34 +0000 (19:18 +0000)]
[TCPIP]
- Increase the default and overflow size of the TCP/IP packet pool to allow for periods of very high network load (such as using BitTorrent or hosting high load services on a network) without dropping outgoing or incoming packets
- Increase the size of the TCP/IP buffer pool for the same reason

svn path=/trunk/; revision=52641

11 years ago[CMAKE] Fix my mistake returning the original space, rather than the mapped area.
Art Yerkes [Mon, 11 Jul 2011 07:11:12 +0000 (07:11 +0000)]
[CMAKE] Fix my mistake returning the original space, rather than the mapped area.

svn path=/trunk/; revision=52629

11 years ago[NTOSKRNL]
Timo Kreuzer [Mon, 11 Jul 2011 03:36:29 +0000 (03:36 +0000)]
[NTOSKRNL]
Implement the "SLIST hack". It checks whether the access to the Next member of the first list item of an iSList caused the exception, this can happen, when a concurrent thread pops the first entry and frees its memory between the point where the address of the entry is loaded and the access to it. This is done before the call to MmAccessFault to handle the theoretical scenario of a guard page exception being triggered by the fault, which we don't want to be handled.
Currently only kernel mode is handled.

svn path=/trunk/; revision=52628

11 years ago[OSKITTCP]
Cameron Gutman [Mon, 11 Jul 2011 02:44:32 +0000 (02:44 +0000)]
[OSKITTCP]
- Fix a crash that occurs during BitTorrent downloads
- The official BitTorrent client works now

svn path=/trunk/; revision=52627

11 years ago[NTDLL]: Always compile your code before comitting, like my cat used to say.
Alex Ionescu [Mon, 11 Jul 2011 01:22:01 +0000 (01:22 +0000)]
[NTDLL]: Always compile your code before comitting, like my cat used to say.

svn path=/trunk/; revision=52626

11 years ago[NTDLL]: Reimplement RtlGetCurrentDirectory_U... I couldn't even understand what...
Alex Ionescu [Mon, 11 Jul 2011 01:13:34 +0000 (01:13 +0000)]
[NTDLL]: Reimplement RtlGetCurrentDirectory_U... I couldn't even understand what the old version was doing. This one is at least commented and makes more sense.

svn path=/trunk/; revision=52625

11 years ago[RTL]: RtlDetermineDosPathNameType_U Path is not optional. Checked build ASSERTs...
Alex Ionescu [Mon, 11 Jul 2011 00:47:44 +0000 (00:47 +0000)]
[RTL]: RtlDetermineDosPathNameType_U Path is not optional. Checked build ASSERTs if not present. Also, \\? is valid, not only \\., so this should fix a bunch of incorrect path determinations. Aren't there supposed to be unit tests for these things?!

svn path=/trunk/; revision=52624

11 years ago[RTL]: Clarify what RtlGetLongestNtPathLength returns instead of using "+9" as a...
Alex Ionescu [Mon, 11 Jul 2011 00:38:34 +0000 (00:38 +0000)]
[RTL]: Clarify what RtlGetLongestNtPathLength returns instead of using "+9" as a magic constant.

svn path=/trunk/; revision=52623

11 years ago[NTDLL] Merge LdrpResolveFullName and LdrpSearchPath and LdrpAllocateUnicodeString...
Alex Ionescu [Mon, 11 Jul 2011 00:25:26 +0000 (00:25 +0000)]
[NTDLL] Merge LdrpResolveFullName and LdrpSearchPath and LdrpAllocateUnicodeString from the LDR Rewrite branch. Not actually used yet since they use Rtl APIs that ReactOS does not implement. Guess what the next commits are going to be about.

svn path=/trunk/; revision=52622

11 years ago[NTDLL]: Cleanup and half-fix LdrpCheckForLoadedDll, including adding comments for...
Alex Ionescu [Mon, 11 Jul 2011 00:12:33 +0000 (00:12 +0000)]
[NTDLL]: Cleanup and half-fix LdrpCheckForLoadedDll, including adding comments for where it's broken. This uses RtlImageNtHeaderEx with much stringent checks as well.

svn path=/trunk/; revision=52621

11 years ago[RTL]: One day, Microsoft is going to stop using flags that are negatives. Fix boot...
Alex Ionescu [Mon, 11 Jul 2011 00:10:27 +0000 (00:10 +0000)]
[RTL]: One day, Microsoft is going to stop using flags that are negatives. Fix boot/etc.

svn path=/trunk/; revision=52620

11 years ago[WIN32CSR]
Rafal Harabien [Sun, 10 Jul 2011 22:40:43 +0000 (22:40 +0000)]
[WIN32CSR]
- Fix CSR hard error messages. Parameters are now converted to ANSI string which are expected by message format string.

svn path=/trunk/; revision=52619

11 years ago[NDK]: Add missing RtlImageNtHeaderEx flags.
Alex Ionescu [Sun, 10 Jul 2011 21:55:55 +0000 (21:55 +0000)]
[NDK]: Add missing RtlImageNtHeaderEx flags.
[RTL]: Implement RtlImageNtHeaderEx and make RtlImageNtHeader call it. This will result in much stricter (and correct) PE loading by default, and enable a flag which can do even stricter checks.
[NTDLL]: Export RtlImageNtHeaderEx (maybe NTOS should export it too, not sure).

svn path=/trunk/; revision=52618

11 years ago- Add more NT status messages. Few of them are used by new LDR. Contains patch by...
Rafal Harabien [Sun, 10 Jul 2011 19:47:45 +0000 (19:47 +0000)]
- Add more NT status messages. Few of them are used by new LDR. Contains patch by Thomas Faber.

svn path=/trunk/; revision=52617

11 years ago[NTOSKRNL/MM]
Jérôme Gardou [Sun, 10 Jul 2011 19:24:49 +0000 (19:24 +0000)]
[NTOSKRNL/MM]
- The initial region does not necessarily begins with the asked address, calculate remaining space acccordingly.

svn path=/trunk/; revision=52616

11 years ago[RTL]
Cameron Gutman [Sun, 10 Jul 2011 17:46:27 +0000 (17:46 +0000)]
[RTL]
- Revert r52612
- It came before its time ;)

svn path=/trunk/; revision=52615

11 years ago[NTOSKRNL/MM]
Jérôme Gardou [Sun, 10 Jul 2011 17:21:38 +0000 (17:21 +0000)]
[NTOSKRNL/MM]
- fix broken logic
- simplify calculation of remainig space to alter
- call ExFreePoolWithTag instead of ExFreePool
- return error on failure

svn path=/trunk/; revision=52614

11 years ago[NTDLL]
Timo Kreuzer [Sun, 10 Jul 2011 16:43:03 +0000 (16:43 +0000)]
[NTDLL]
add some stubs for amd64

svn path=/trunk/; revision=52613

11 years ago[RTL]
Cameron Gutman [Sun, 10 Jul 2011 16:33:23 +0000 (16:33 +0000)]
[RTL]
- Enable the proper implementation of RtlActivateActivationContextUnsafeFast

svn path=/trunk/; revision=52612

11 years ago[NTDLL]
Cameron Gutman [Sun, 10 Jul 2011 16:25:42 +0000 (16:25 +0000)]
[NTDLL]
- Fix memory corruption by reverting part of r52603

svn path=/trunk/; revision=52611

11 years ago[EVENTLOG]
Rafal Harabien [Sun, 10 Jul 2011 15:39:32 +0000 (15:39 +0000)]
[EVENTLOG]
- Fix MSVC warnings

svn path=/trunk/; revision=52610

11 years ago[SFC_OS]
Sylvain Petreolle [Sun, 10 Jul 2011 15:05:14 +0000 (15:05 +0000)]
[SFC_OS]
Implement SfcFileException, required by VBox Guest additions to install 3D support.

svn path=/trunk/; revision=52609

11 years ago[NTDLL/LDR] - Fix one more USHORT and -1 comparison. Patch by Thomas Faber
Rafal Harabien [Sun, 10 Jul 2011 15:02:00 +0000 (15:02 +0000)]
[NTDLL/LDR] - Fix one more USHORT and -1 comparison. Patch by Thomas Faber

svn path=/trunk/; revision=52608

11 years ago[NTDLL]: Fix parsing and buffer overflow in LdrpLoadDll. Add more debug prints, and...
Alex Ionescu [Sun, 10 Jul 2011 13:51:40 +0000 (13:51 +0000)]
[NTDLL]: Fix parsing and buffer overflow in LdrpLoadDll. Add more debug prints, and add some missing code (commented out) for later.

svn path=/trunk/; revision=52607

11 years ago[NTDLL/LDR]
Rafal Harabien [Sun, 10 Jul 2011 13:44:19 +0000 (13:44 +0000)]
[NTDLL/LDR]
- Fix CMake build
- Minor improvements
Path by Thomas Faber

svn path=/trunk/; revision=52606

11 years ago[AFD]
Jérôme Gardou [Sun, 10 Jul 2011 13:28:47 +0000 (13:28 +0000)]
[AFD]
  - fix MSVC build

svn path=/trunk/; revision=52605

11 years ago[NTDLL]: Actually delete the file.
Alex Ionescu [Sun, 10 Jul 2011 13:23:54 +0000 (13:23 +0000)]
[NTDLL]: Actually delete the file.

svn path=/trunk/; revision=52604

11 years ago[NTDLL]: More fixes to the PE parsing code.
Alex Ionescu [Sun, 10 Jul 2011 13:23:19 +0000 (13:23 +0000)]
[NTDLL]: More fixes to the PE parsing code.
[NTDLL]: Move and fix LdrUnloadDll to ldrapi.c
[NTDLL]: Remove yet another cruft file.

svn path=/trunk/; revision=52603

11 years ago[NTDLL/LDR]
Rafal Harabien [Sun, 10 Jul 2011 11:49:52 +0000 (11:49 +0000)]
[NTDLL/LDR]
- Don't use -1 for USHORT LDR_DATA_TABLE_ENTRY::LoadCount. When comparing ((USHORT)-1) == 0xFFFF vs (int)-1 it ends in comparison 0xFFFF vs 0xFFFFFFFF with is wrong. Fixes shutdown from shell
See issue #6345 for more details.

svn path=/trunk/; revision=52601

11 years ago[AFD]
Cameron Gutman [Sun, 10 Jul 2011 08:25:31 +0000 (08:25 +0000)]
[AFD]
- Fix broken TDI address functions which were causing subtle memory corruptions, wasted memory, and incorrect or uninitialized values of the address length field
- Remove some buggy code that wasn't used anywhere
- General refactoring to reduce code duplication
- Handle an invalid address type properly

svn path=/trunk/; revision=52600

11 years ago[KERNEL32]: Fix build
Cameron Gutman [Sun, 10 Jul 2011 07:15:26 +0000 (07:15 +0000)]
[KERNEL32]: Fix build

svn path=/trunk/; revision=52598

11 years ago[AFD]
Cameron Gutman [Sun, 10 Jul 2011 02:23:12 +0000 (02:23 +0000)]
[AFD]
- Probe and lock pages with the KernelMode access mode instead of Irp->RequestorMode (UserMode) since we're dealing with memory that we allocated in kernel-mode
- Fixes getpeername() and HTTPS browsing in Firefox

svn path=/trunk/; revision=52597

11 years ago[NTDLL]: More attempts at fixing up the loader, this time in the PE side of things.
Alex Ionescu [Sun, 10 Jul 2011 02:14:29 +0000 (02:14 +0000)]
[NTDLL]: More attempts at fixing up the loader, this time in the PE side of things.

svn path=/trunk/; revision=52596

11 years ago[NTDLL]: Multiple fixes and cleanups to several loader functions in ldrutils.
Alex Ionescu [Sun, 10 Jul 2011 01:34:19 +0000 (01:34 +0000)]
[NTDLL]: Multiple fixes and cleanups to several loader functions in ldrutils.
[NTDLL]: Use original symbolic function names instead of modified ones.
[NTDLL]: Fixup some incorrect flag and typedef definitions with correct ones.
[NTDLL]: Tag functions which seem broken/lacking in functionality/very different from the rest of the code the LDR rewrite was based on.

svn path=/trunk/; revision=52595

11 years ago[NTDLL/LDR]
Rafal Harabien [Sat, 9 Jul 2011 22:26:23 +0000 (22:26 +0000)]
[NTDLL/LDR]
- Fix build (not sure if its right place for IMAGE_LOADER_FLAGS_*)
- Remove unused label

svn path=/trunk/; revision=52593

11 years ago[NTDLL/LDR]
Rafal Harabien [Sat, 9 Jul 2011 21:48:59 +0000 (21:48 +0000)]
[NTDLL/LDR]
- Fix CMake build
- Don't override failure status in LdrGetDllHandleEx
- Minor improvements
Fixes loading of mshtml.tlb in 2nd stage. Patch by Thomas Faber

svn path=/trunk/; revision=52591

11 years ago[BZIP2]
Rafal Harabien [Sat, 9 Jul 2011 21:07:30 +0000 (21:07 +0000)]
[BZIP2]
- Fix MSVC build

svn path=/trunk/; revision=52590

11 years ago[FRAMEBUF_NEW]
Rafal Harabien [Sat, 9 Jul 2011 20:33:47 +0000 (20:33 +0000)]
[FRAMEBUF_NEW]
- Fix MSVC build

svn path=/trunk/; revision=52589

11 years ago[NTDLL]: Fix busted up LdrpCreateDllSection function, checking for the wrong things...
Alex Ionescu [Sat, 9 Jul 2011 20:33:29 +0000 (20:33 +0000)]
[NTDLL]: Fix busted up LdrpCreateDllSection function, checking for the wrong things completely for Safer support, and also messing up the failure/success paths. Based on a find by arty.

svn path=/trunk/; revision=52588

11 years ago[NORMALIZ]
Rafal Harabien [Sat, 9 Jul 2011 19:18:49 +0000 (19:18 +0000)]
[NORMALIZ]
- Don't build normaliz.dll - it's Win Vista library. It didn't even work because exports was redirected to commented out kernel32 exports. GCC ignored it but MSVC returns error in such case.

svn path=/trunk/; revision=52587

11 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 9 Jul 2011 19:15:34 +0000 (19:15 +0000)]
[NTOSKRNL]
Update TRAP_ENTRY macro to generate debugging information. Now WinDbg knows how to deal with the trap functions and also shows the user mode back traces.

svn path=/trunk/; revision=52586

11 years ago[NTDLL]: Reimplemnt LdrDisableThreadCalloutsForDll using new loader APIS.
Alex Ionescu [Sat, 9 Jul 2011 16:15:43 +0000 (16:15 +0000)]
[NTDLL]: Reimplemnt LdrDisableThreadCalloutsForDll using new loader APIS.
[NTDLL]: Fix LdrpInitializeProcess to use new loader relocation API instead of LdrRelocateImage. Warn if an EXE gets relocated since this was never supported in ReactOS.
[NTDLL]: Move APIs into ldrapi.c and delete 3 leftover cruft files.
This is the extent of my review for the moment. There are still many problems with the loader. It should've been tested/put in a branch. I found these 25 bugs in less than a day. Other problems remaining are missing SEH around loader lock, not too sure if the cookie generation is correct, cookies are ULONG_PTR not ULONGs, and haven't checked the PE loading code yet (only reviewed ldrapi.c).

svn path=/trunk/; revision=52585

11 years ago[NTDLL]: Some more misc. cleanups and extra output.
Alex Ionescu [Sat, 9 Jul 2011 15:32:36 +0000 (15:32 +0000)]
[NTDLL]: Some more misc. cleanups and extra output.

svn path=/trunk/; revision=52584

11 years ago[NTDLL]: LdrFindEntryForAddress should cehck EntryInProgress first. Also add missing...
Alex Ionescu [Sat, 9 Jul 2011 14:52:07 +0000 (14:52 +0000)]
[NTDLL]: LdrFindEntryForAddress should cehck EntryInProgress first. Also add missing dprint.
[NTDLL]: LdrVerifyImageMatchesCheckSum does not actually do the check if the FileHandle is ORed with 1 (this is an optimization for KnownDLLs). Also, use EndOfFile.LowPart for the checksum, not ViewSize.
[NTDLL]: LdrpGetProcedureAddress: fix overflows, incorrect constants, incorrect memcopy call, and only run init routines if the thunk was actually snapped.

svn path=/trunk/; revision=52583

11 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 9 Jul 2011 14:15:47 +0000 (14:15 +0000)]
[NTOSKRNL]
In MmDbgCopyMemory do physical memory copy, if the virtual target address is valid, but not writable. Fixes Step-Over on user mode addresses with WinDbg (can write break points now)

svn path=/trunk/; revision=52582

11 years ago[NTDLL]: Fix multiple levels of fail in LdrGetDllHandleEx (returning with lock held...
Alex Ionescu [Sat, 9 Jul 2011 13:37:47 +0000 (13:37 +0000)]
[NTDLL]: Fix multiple levels of fail in LdrGetDllHandleEx (returning with lock held, leaking memory, using NULL pointers, using magic flags, missing ASSERTs, buffer overflows, usage of incorrect constants, ignoring status failures, lack of varaible initialization, incorrect string initialization).

svn path=/trunk/; revision=52581

11 years ago[CMAKE]
Jérôme Gardou [Sat, 9 Jul 2011 11:17:12 +0000 (11:17 +0000)]
[CMAKE]
  - fix typo

svn path=/trunk/; revision=52580

11 years ago[WLANSVC]
Eric Kohl [Sat, 9 Jul 2011 10:41:55 +0000 (10:41 +0000)]
[WLANSVC]
Set status SERVICE_STOPPED when the service has been stopped.

svn path=/trunk/; revision=52579

11 years ago[CMAKE] Sidesetup overloading nonpaged pool with big slabs of dwarf data.
Art Yerkes [Sat, 9 Jul 2011 09:58:02 +0000 (09:58 +0000)]
[CMAKE] Sidesetup overloading nonpaged pool with big slabs of dwarf data.

svn path=/trunk/; revision=52578

11 years ago[NTDLL/LDR]
Aleksey Bragin [Fri, 8 Jul 2011 22:32:48 +0000 (22:32 +0000)]
[NTDLL/LDR]
- Comment out the actctx redirection check because it's placed wrongly. This should fix cases when a DLL is being loaded twice or more times for the same process. Spotted by Rafal Harabien.

svn path=/trunk/; revision=52577

11 years ago[NTDLL]: Simplify LdrLockLoaderLock, fix its prototype, add an ASSERT, move cookie...
Alex Ionescu [Fri, 8 Jul 2011 21:19:38 +0000 (21:19 +0000)]
[NTDLL]: Simplify LdrLockLoaderLock, fix its prototype, add an ASSERT, move cookie generation into its own inline.

svn path=/trunk/; revision=52576

11 years ago[NTDLL]: Fix LdrUnlockLoaderLock bugs. 4x10000$.
Alex Ionescu [Fri, 8 Jul 2011 21:07:31 +0000 (21:07 +0000)]
[NTDLL]: Fix LdrUnlockLoaderLock bugs. 4x10000$.

svn path=/trunk/; revision=52575

11 years ago[NTDLL/LDR]
Rafal Harabien [Fri, 8 Jul 2011 19:42:53 +0000 (19:42 +0000)]
[NTDLL/LDR]
- Use \\KnownDlls\\KnownDllPath instead of \\KnownDlls\\KnownDlls to check known dlls patch (spotted by Thomas Faber)
- Assume known dlls are in system32 if \\KnownDlls exists but KnownDllPath not

svn path=/trunk/; revision=52574

11 years ago[IP]
Cameron Gutman [Fri, 8 Jul 2011 16:34:49 +0000 (16:34 +0000)]
[IP]
- Complete waiting requests upon socket error
- Fixes connect() stall forever if the remote side is not listening

svn path=/trunk/; revision=52572

11 years ago[CMAKE]
Amine Khaldi [Fri, 8 Jul 2011 11:16:26 +0000 (11:16 +0000)]
[CMAKE]
* Add yet another awesome rossym/kdbg feature: struct printing using the command "dt". Brought to you by the Arty.

svn path=/trunk/; revision=52571

11 years ago[CMAKE]
Amine Khaldi [Fri, 8 Jul 2011 11:14:10 +0000 (11:14 +0000)]
[CMAKE]
* Disable stdcall fixup for executables.

svn path=/trunk/; revision=52570

11 years ago[CMAKE]
Timo Kreuzer [Fri, 8 Jul 2011 10:01:43 +0000 (10:01 +0000)]
[CMAKE]
Improve configure.cmd

svn path=/trunk/; revision=52569

11 years ago[NDK]
Timo Kreuzer [Fri, 8 Jul 2011 09:25:50 +0000 (09:25 +0000)]
[NDK]
Fix LPCP_PORT_OBJECT definition

svn path=/trunk/; revision=52568

11 years ago[URLMON]
Timo Kreuzer [Fri, 8 Jul 2011 01:50:27 +0000 (01:50 +0000)]
[URLMON]
Fix build with MSVC and add it to MSVC bootcd

svn path=/trunk/; revision=52566

11 years ago[CMAKE]
Timo Kreuzer [Fri, 8 Jul 2011 01:48:51 +0000 (01:48 +0000)]
[CMAKE]
Improve generation of rpc proxy files with midl (dependency handling)

svn path=/trunk/; revision=52564

11 years ago[AFD]
Cameron Gutman [Thu, 7 Jul 2011 23:17:23 +0000 (23:17 +0000)]
[AFD]
- Fix a desired access bug that totally broke event select
- FILE_ALL_ACCESS is NOT equal to EVENT_ALL_ACCESS

svn path=/trunk/; revision=52563