reactos.git
12 years ago* Bring back rbuild build to be used until bug 6372 is fixed.
Amine Khaldi [Fri, 15 Jul 2011 22:27:16 +0000 (22:27 +0000)]
* Bring back rbuild build to be used until bug 6372 is fixed.

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52691

12 years ago"fix" vs generator
Giannis Adamopoulos [Fri, 15 Jul 2011 14:41:17 +0000 (14:41 +0000)]
"fix" vs generator

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52689

12 years ago[uxtheme]
Giannis Adamopoulos [Thu, 14 Jul 2011 12:15:06 +0000 (12:15 +0000)]
[uxtheme]
- Fix the size of the caption buttons. Now they have the correct size with themes like Luna Inspirat or clear looks

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52679

12 years ago[uxtheme]
Giannis Adamopoulos [Thu, 14 Jul 2011 10:10:07 +0000 (10:10 +0000)]
[uxtheme]
- Add yet another reactos specific hack
- Fixes drawing scrollbar items

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52677

12 years ago[apihooksrv]
Giannis Adamopoulos [Thu, 14 Jul 2011 08:46:43 +0000 (08:46 +0000)]
[apihooksrv]
- Call ThemeHooksRemove after the user presses a key

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52676

12 years ago[win32k]
Giannis Adamopoulos [Thu, 14 Jul 2011 08:37:55 +0000 (08:37 +0000)]
[win32k]
- Fix a bug that caused ClientLoadLibrary to be called recursively

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52675

12 years ago[ntdll]
Giannis Adamopoulos [Wed, 13 Jul 2011 17:57:40 +0000 (17:57 +0000)]
[ntdll]
- Disable Server to server calls in csr because they do not work yet as our csr is not compatible with windows.

[user32]
- Call CsrClientConnectToServer when the dll is initialized in order to connect with the server and determine if user32 is running in the server process.
- Do not load user api hook if we are in the server process
- Fixes drawing the console window

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52672

12 years ago* Update spec2def.
Amine Khaldi [Wed, 13 Jul 2011 12:00:42 +0000 (12:00 +0000)]
* Update spec2def.

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52671

12 years ago* Sync with recent trunk (r52669).
Amine Khaldi [Wed, 13 Jul 2011 11:58:32 +0000 (11:58 +0000)]
* Sync with recent trunk (r52669).

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52670

12 years agoremove test command
Giannis Adamopoulos [Tue, 12 Jul 2011 21:27:46 +0000 (21:27 +0000)]
remove test command

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52666

12 years ago[apihooksrv]
Giannis Adamopoulos [Tue, 12 Jul 2011 21:25:51 +0000 (21:25 +0000)]
[apihooksrv]
- Commit a test utility that can install user api hooks and give for the first time real themes support. This is a temporary test program till the same functionality is integrated to winlogon. To use it someone has to activate themes with themecfg and then run "apihook uxtheme.dll". Also note that it is possible to use this tool in windows for testing purposes

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52665

12 years ago[themecfg]
Giannis Adamopoulos [Tue, 12 Jul 2011 21:09:43 +0000 (21:09 +0000)]
[themecfg]
- Add a test utility called themecfg that can configure themes. This is a small part of winecfg from wine. With this utility we can test themes support now. In the future this functionality will become part of desk.cpl

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52664

12 years ago[uxtheme]
Giannis Adamopoulos [Tue, 12 Jul 2011 19:45:49 +0000 (19:45 +0000)]
[uxtheme]
- Fix build

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52662

12 years ago[win32k]
Giannis Adamopoulos [Tue, 12 Jul 2011 09:24:16 +0000 (09:24 +0000)]
[win32k]
- Call UserUnregisterUserApiHook from the process cleanup routine if the process has registered the user api hook

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52652

12 years ago[user32]
Giannis Adamopoulos [Tue, 12 Jul 2011 09:14:24 +0000 (09:14 +0000)]
[user32]
- Implement UnregisterUserApiHook
- Fix a warning

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52651

12 years ago[win32k]
Giannis Adamopoulos [Tue, 12 Jul 2011 08:43:43 +0000 (08:43 +0000)]
[win32k]
- Implement NtUserRegisterUserApiHook and NtUserUnregisterUserApiHook

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52650

12 years ago[win32k]
Giannis Adamopoulos [Tue, 12 Jul 2011 08:37:40 +0000 (08:37 +0000)]
[win32k]
- Implement co_IntClientLoadLibrary that calls ClientLoadLibrary in user32

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52649

12 years ago[user32]
Giannis Adamopoulos [Tue, 12 Jul 2011 08:34:00 +0000 (08:34 +0000)]
[user32]
- Convert LOADUSERAPIHOOK macro to an inline function
- Implement ClientLoadLibrary callback from win32k

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52648

12 years ago[uxtheme]
Giannis Adamopoulos [Mon, 11 Jul 2011 22:29:33 +0000 (22:29 +0000)]
[uxtheme]
- Implement drawing non client scrollbars. This code is heavily based on code from wine and modified properly to use themes

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52645

12 years ago* Sync with recent trunk (r52637).
Amine Khaldi [Mon, 11 Jul 2011 19:40:43 +0000 (19:40 +0000)]
* Sync with recent trunk (r52637).

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52643

12 years ago[uxtheme]
Giannis Adamopoulos [Mon, 11 Jul 2011 18:23:44 +0000 (18:23 +0000)]
[uxtheme]
- Fix build

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52640

12 years ago[uxtheme]
Giannis Adamopoulos [Mon, 11 Jul 2011 18:17:11 +0000 (18:17 +0000)]
[uxtheme]
- After doing any drawing operation for the non client area, restore the previously opened theme. Fixes GetWindowTheme

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52639

12 years ago[uxtheme]
Giannis Adamopoulos [Mon, 11 Jul 2011 14:18:36 +0000 (14:18 +0000)]
[uxtheme]
- Really fix a comment

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52636

12 years ago[uxtheme]
Giannis Adamopoulos [Mon, 11 Jul 2011 13:53:58 +0000 (13:53 +0000)]
[uxtheme]
- Fix some comments

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52635

12 years ago[uxtheme]
Giannis Adamopoulos [Mon, 11 Jul 2011 13:38:05 +0000 (13:38 +0000)]
[uxtheme]
- Do not close hKey in query_reg_path. Noticed while testing our uxtheme in windows. Should be sent to wine

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52634

12 years ago[uxtheme]
Giannis Adamopoulos [Mon, 11 Jul 2011 13:28:20 +0000 (13:28 +0000)]
[uxtheme]
- Call UXTHEME_InitSystem when user api hooks are installed

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52633

12 years ago[uxtheme]
Giannis Adamopoulos [Mon, 11 Jul 2011 13:17:39 +0000 (13:17 +0000)]
[uxtheme]
- Move some definitions to a header file

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52632

12 years ago[win32k]
Giannis Adamopoulos [Mon, 11 Jul 2011 12:59:21 +0000 (12:59 +0000)]
[win32k]
-Add a hack to GreStretchBltMask to return TRUE when a dimension is 0. After some investigation it seems that windows returns TRUE in such a case but couldn't investigate more if this change is really correct. This hack is needed because a drawing operation in uxtheme is aborted when StretchBlt returns FALSE

svn path=/branches/GSoC_2011/ThemesSupport/; revision=52631

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 years ago[AFD]
Cameron Gutman [Thu, 7 Jul 2011 22:43:35 +0000 (22:43 +0000)]
[AFD]
- Signal the event immediately if the select triggers have already been satisfied
- This fixes hangs with applications that wait on the select event before performing any socket operations

svn path=/trunk/; revision=52562

12 years ago[AFD]
Cameron Gutman [Thu, 7 Jul 2011 20:44:47 +0000 (20:44 +0000)]
[AFD]
- Implement IOCTL_AFD_RECV for connection-less sockets
- Fix a parameter check
- Fixes recv() on datagram sockets

svn path=/trunk/; revision=52561

12 years ago[MSAFD]
Cameron Gutman [Thu, 7 Jul 2011 20:16:28 +0000 (20:16 +0000)]
[MSAFD]
- Let WSPSend handle WSPSendTo on a non-datagram socket (mswsock_new does this)
- Fixes sendto on connection-oriented sockets

svn path=/trunk/; revision=52560

12 years ago[IP]
Cameron Gutman [Thu, 7 Jul 2011 20:02:52 +0000 (20:02 +0000)]
[IP]
- Return the amount of data sent in XXXSendDatagram() functions
- Fixes send() and sendto() return values for datagram sockets (bug exposed by the AFD send user-mode IRP rewrite)

svn path=/trunk/; revision=52559

12 years agoFix failed rel build.
Dmitry Gorbachev [Thu, 7 Jul 2011 19:50:52 +0000 (19:50 +0000)]
Fix failed rel build.

svn path=/trunk/; revision=52558

12 years ago[FREELDR]
Dmitry Gorbachev [Thu, 7 Jul 2011 19:19:44 +0000 (19:19 +0000)]
[FREELDR]
- Move read-only data into data section (allows to boot with GRUB again).
- Discard .drectve sections.
- Silence "set but not used" warnings.

svn path=/trunk/; revision=52557

12 years ago[NTOSKRNL]
Dmitry Gorbachev [Thu, 7 Jul 2011 19:18:16 +0000 (19:18 +0000)]
[NTOSKRNL]
Minas Abrahamyan (minas \dot/ subs \at/ gmail \dot/ com):
- Allow to view already shown, logged debug messages on the screen (bug #6018).

svn path=/trunk/; revision=52556

12 years agoPatch by Anton Yarotsky:
Sir Richard [Thu, 7 Jul 2011 12:03:56 +0000 (12:03 +0000)]
Patch by Anton Yarotsky:
[SACDRV]: Implement the SAC Channel Input/Output Interface and Getters/Setters.

svn path=/trunk/; revision=52555

12 years agoPatch by Anton Yarotsky:
Sir Richard [Thu, 7 Jul 2011 12:02:32 +0000 (12:02 +0000)]
Patch by Anton Yarotsky:
[SACDRV]: Add type definitions for channel VTABLE.
[SACDRV]: Add channel event macros and flags.
[SACDRV]: Add channal lock macros.
[SACDRV]: Add macros for parameter validation.
[SACDRV]: Add macro for pool allocation.
[SACDRV]: Misc fixes.

svn path=/trunk/; revision=52554

12 years ago[MSAFD]
Cameron Gutman [Thu, 7 Jul 2011 11:40:25 +0000 (11:40 +0000)]
[MSAFD]
- Let WSPRecv handle WSPRecvFrom on a non-datagram socket (mswsock_new does this)
- Fixes recvfrom on connection-oriented sockets

svn path=/trunk/; revision=52553

12 years ago[AFD]
Cameron Gutman [Thu, 7 Jul 2011 00:29:30 +0000 (00:29 +0000)]
[AFD]
- Rewrite user-mode send IRP handling so send errors get returned to the user properly
- Fixes OskitTCP: ESHUTDOWN/EPIPE debug log spam when a chargen telnet session is terminated by the remote side

svn path=/trunk/; revision=52552

12 years ago[RPCRT4]
Timo Kreuzer [Thu, 7 Jul 2011 00:21:41 +0000 (00:21 +0000)]
[RPCRT4]
Fix MSVC version of call_server_func

svn path=/trunk/; revision=52551