Amine Khaldi [Fri, 14 May 2010 18:40:23 +0000 (18:40 +0000)]
[NTOSKRNL]
- Fix ExInterlockedPopEntryList and ExInterlockedPushEntryList, they were not working at all. Brought to you by Timo ;)
svn path=/branches/header-work/; revision=47201
Amine Khaldi [Fri, 14 May 2010 11:45:14 +0000 (11:45 +0000)]
[INTRIN_ARM]
- Implement __yield and __break arm intrinsics.
[DDK]
- Relax INTERLOCKED_RESULT conditional definition.
[PSDK]
- Fix some nasty structure misalignments.
- Fix YieldProcessor definition for ARM.
[ARMDDK]
- Add several missing definitions.
svn path=/branches/header-work/; revision=47196
Amine Khaldi [Wed, 12 May 2010 18:43:23 +0000 (18:43 +0000)]
[XDK]
- Add RESULT_ZERO, RESULT_NEGATIVE and RESULT_POSITIVE definitions for other architectures than X86
[DDK]
- Update ntddk.h to reflect XDK changes.
svn path=/branches/header-work/; revision=47176
Amine Khaldi [Wed, 12 May 2010 18:19:05 +0000 (18:19 +0000)]
[KDCOM]
- Include ntifs.h instead of ntddk.h (and don't include both at the same time).
svn path=/branches/header-work/; revision=47171
Amine Khaldi [Wed, 12 May 2010 13:02:44 +0000 (13:02 +0000)]
[XDK]
- Remove RESULT_NEGATIVE, RESULT_ZERO and RESULT_POSITIVE from amd64/ke.h
- INTERLOCKED_RESULT isn't x86 only.
[DDK]
- Update wdm.h and ntddk.h to reflect the XDK changes.
svn path=/branches/header-work/; revision=47170
Amine Khaldi [Mon, 10 May 2010 19:04:41 +0000 (19:04 +0000)]
- Sync with trunk up to r46941.
[VMWINST]
- Rename FileExists() to DoesFileExist() to avoid clashing with the real API.
svn path=/branches/header-work/; revision=47155
Amine Khaldi [Sun, 9 May 2010 22:53:41 +0000 (22:53 +0000)]
[PSDK]
- Fix PREVENT_MEDIA_REMOVAL redefinition.
- Add some missing winnt.h and winuser.h definitions.
[NDK]
- Remove some redundant definitions (that now exist in winnt.h)
[KERNEL32]
- Remove a useless undef (although the hack above it still remains for now)
[ADVAPI32]
- Fix some TraceMessage params types.
svn path=/branches/header-work/; revision=47153
Amine Khaldi [Mon, 3 May 2010 16:42:07 +0000 (16:42 +0000)]
Revert the sync.
We only can safely sync up to r46941.
svn path=/branches/header-work/; revision=47096
Amine Khaldi [Mon, 3 May 2010 12:54:59 +0000 (12:54 +0000)]
Sync with trunk head (part 1 of 2)
svn path=/branches/header-work/; revision=47094
Amine Khaldi [Mon, 3 May 2010 11:22:34 +0000 (11:22 +0000)]
- DriverEntry is ULONG.
svn path=/branches/header-work/; revision=47092
Cameron Gutman [Mon, 3 May 2010 00:30:49 +0000 (00:30 +0000)]
- Remove a forgotten debug print
svn path=/trunk/; revision=47091
Cameron Gutman [Mon, 3 May 2010 00:28:29 +0000 (00:28 +0000)]
[NDIS]
- Provide a IRP_MJ_CREATE and IRP_MJ_CLOSE handler for miniport drivers so IoGetDeviceObjectPointer doesn't fail (and consequently, IoSetDeviceInterfaceState)
svn path=/trunk/; revision=47090
Cameron Gutman [Mon, 3 May 2010 00:06:31 +0000 (00:06 +0000)]
[NETCFGX]
- Remove the hack that set DI_NEEDRESTART for all network adapters which prevented us from starting the miniport driver
- Part of the fix for bug 3716
svn path=/trunk/; revision=47089
Timo Kreuzer [Sun, 2 May 2010 23:26:06 +0000 (23:26 +0000)]
[NTDLL]
The harderror message for STATUS_DLL_NOT_FOUND expects an ANSI dll name.
svn path=/trunk/; revision=47088
Cameron Gutman [Sun, 2 May 2010 21:04:47 +0000 (21:04 +0000)]
[VGA]
- Return SPS_ACCEPT_NOEXCLUDE from DrvSetPointerShape because we completed the requested operation successfully
- Patch by Daniel Zimmermann
- Fixes bug 4347
svn path=/trunk/; revision=47087
Johannes Anderwald [Sun, 2 May 2010 19:19:28 +0000 (19:19 +0000)]
[SETUPAPI]
- Store device settings in the "Device Parameters" key, as the kernel now does it too
- Fixes display of AC97 device in audio cpl
svn path=/trunk/; revision=47084
Michael Martin [Sun, 2 May 2010 16:40:05 +0000 (16:40 +0000)]
[win32k]
- co_UserDestroyWindow: ThreadInfo->pDeskInfo->hShell holds the hWnd of the Shells Desktop Window. Set it to NULL if that windows is being destroyed. Fixes bug #4902.
svn path=/trunk/; revision=47082
Aleksey Bragin [Sun, 2 May 2010 11:47:19 +0000 (11:47 +0000)]
Gabriel Ilardi:
- Update spanish %temp% path, part of bug 2482.
svn path=/trunk/; revision=47081
Michael Martin [Sun, 2 May 2010 11:34:13 +0000 (11:34 +0000)]
[win32k]
- IntMouseInput: Add the state of virtual keys to wParam before calling MsqInsertSystemMessage. Fixes bug #5066.
- Add and Remove MK_XBUTTON1/2 flags to CurInfo->ButtonsDown vice XBUTTON1/2.
- Code based on patches in bug #5066.
svn path=/trunk/; revision=47080
Eric Kohl [Sat, 1 May 2010 22:17:34 +0000 (22:17 +0000)]
- Convert hivedef_i386.inf to Unicode.
- Add Strings-Sections for several languages and add TEMP_DIR string.
Please translate the TEMP_DIR string as this is the sollution for bug #2482.
svn path=/trunk/; revision=47079
Eric Kohl [Sat, 1 May 2010 22:16:44 +0000 (22:16 +0000)]
Delete ANSI version.
svn path=/trunk/; revision=47078
Eric Kohl [Sat, 1 May 2010 22:00:09 +0000 (22:00 +0000)]
Remove duplicate line. WRC complains about the control id already being in use.
svn path=/trunk/; revision=47077
Eric Kohl [Sat, 1 May 2010 20:17:11 +0000 (20:17 +0000)]
[CMLIB/NEWINFLIB/MKHIVE]
- Make cmlib, newinflib and mkhive use the Wine unicode lib instead of the host_wcsfuncs lib.
- Only the header file include/host/wcsfuncs.h is still used to map str*W functions to wcs* functions in WIN32 builds.
- Remove obsolete rtl functions.
- Make mkhive use the newinflib instead of inflib.
ATTENTION: This might break the build bot although it has been tested on Windows and Linux!!!
svn path=/trunk/; revision=47076
Michael Martin [Sat, 1 May 2010 13:32:38 +0000 (13:32 +0000)]
[win32k]
- Only call ExFreePool.. if Buffer is not NULL, which can occur if the Unicode String MessageNameUnsafe coming from user mode is incorrect. Fixes a bugcheck when using OllyDbg V2.0.
svn path=/trunk/; revision=47075
Timo Kreuzer [Sat, 1 May 2010 13:02:46 +0000 (13:02 +0000)]
[GDI32]
- Fix pointer arithmetics in the gdi batch code (&pTeb->GdiTebBatch.Buffer[0] is a PULONG, but pTeb->GdiTebBatch.Offset is a byte offset)
- To prevent this from happening again, refactor the code to use one common routine GdiAllocBatchCommand to do most of the stuff.
- Reenable gdi batch for SelectObject
- Fixes gdi handle leak, causes some drawing problems in Acrobat reader, but those are less critical and I'll investigate those.
svn path=/trunk/; revision=47074
Michael Martin [Sat, 1 May 2010 12:02:23 +0000 (12:02 +0000)]
[win32k]
- Revert the hack done in 47059 to apply a better solution.
- co_IntCreateWindowEx: Add the WNDS2_WMCREATEMSGPROCESSED flag to state2 member of WND after sending the WM_CREATE message.
- By setting this flag it can be examined elsewhere to determine if the window was created successfully.
- co_UserDestroyWindow: Examine above mentioned flag to make sure the windows was created before calling hook procedure to inform of destroying window.
svn path=/trunk/; revision=47073
Johannes Anderwald [Sat, 1 May 2010 10:47:23 +0000 (10:47 +0000)]
- Partly revert 470470
svn path=/trunk/; revision=47072
Eric Kohl [Sat, 1 May 2010 10:43:39 +0000 (10:43 +0000)]
[NEWINFLIB]
- Change Unicode string functions from wcs* to str*W because glibc (Linux build) provides the wcs* functions but they use a wchar_t size of 32 bits instead of the required 16 bits.
- Add a str*W to wcs* wrapper (infrosrtl.c) in order to use the wcs* function for the WIN32 build.
- Add required str*W functions to the host library.
ATTENTION: This might break the build bot although it has been tested on Windows and Linux!!!
svn path=/trunk/; revision=47071
Johannes Anderwald [Sat, 1 May 2010 10:42:45 +0000 (10:42 +0000)]
[WIN32K]
- Add an assert to PostTimerMessages to catch null pointer windows
- Add another assert to catch special windows (Window == 1)
- Improve check if the window is '1'
svn path=/trunk/; revision=47070
Johannes Anderwald [Sat, 1 May 2010 09:55:16 +0000 (09:55 +0000)]
[WIN32K]
<bug>
- The timer implementation uses a bitmap to store window-less timers. As an optimization to find the first free index, it uses the variable "HintIndex" which points to the first timer index. In order to find the next free index, the RtlFindClearBitsAndSet function is used. When a new timer is allocated, the "HintIndex" variable is increased, which increases the search offset. Now if more than NUM_WINDOW_LESS_TIMERS (1024) timers are allocated, no more timers can be allocated because RtlFindClearBitsAndSet will claim no more index are available, because the free indexes are below the search offset.
</bug>
<fix>
Everytime a timer gets freed, store the freed index in "HintIndex". As a result the timer implementation will always find a free timer index (when there is one)
</fix>
svn path=/trunk/; revision=47069
Cameron Gutman [Sat, 1 May 2010 01:52:47 +0000 (01:52 +0000)]
[PCI]
- Store correct bus and slot information in resource lists that we give in response to IRP_MN_QUERY_RESOURCES and IRP_MN_QUERY_RESOURCE_REQUIREMENTS
- Fixes bug 4354
svn path=/trunk/; revision=47068
Timo Kreuzer [Fri, 30 Apr 2010 22:48:43 +0000 (22:48 +0000)]
[WIN32K]
- Fix IntDumpHandleTable, it was very broken.
svn path=/trunk/; revision=47067
Timo Kreuzer [Fri, 30 Apr 2010 22:47:44 +0000 (22:47 +0000)]
[NTOSKRNL]
- Fix RtlWalkFrameChain to do usermode back traces for threads that are not system threads. Also use _SEH2_YIELD when leaving the SEH block.
svn path=/trunk/; revision=47066
Michael Martin [Fri, 30 Apr 2010 11:23:17 +0000 (11:23 +0000)]
[win32k]
- When calling NtUserCallNextHookEx check that the current hook is not the first in the chain. If so don't call the hook proc and just return, as it has already been called and it makes no sense for the NextHook function to call the first hook proc. Fixes bugs #4461 and #4407.
- The previous commit claiming to fix bug #4461 was incorrect, it may have actually fixed bug #5320. Testers please test.
svn path=/trunk/; revision=47065
Cameron Gutman [Thu, 29 Apr 2010 22:35:49 +0000 (22:35 +0000)]
[NTOSKRNL]
- Fix a horrible casting bug
- EventCategoryData1 is a pointer to a GUID not a pointer to a UNICODE_STRING
- Convert the GUID into a UNICODE_STRING properly by using RtlStringFromGUID and pass that string to RtlCompareUnicodeString
- Fix another bug which results in us sending EventCategoryHardwareProfileChange and EventCategoryTargetDeviceChange events to everyone registered for PnP notifications
- Fixes sending EventCategoryDeviceInterfaceChange notifications that happen after calling IoRegisterPlugPlayNotification
svn path=/trunk/; revision=47064
Timo Kreuzer [Thu, 29 Apr 2010 20:51:28 +0000 (20:51 +0000)]
[MSIMTF]
Silence debug spam
svn path=/trunk/; revision=47063
Benedikt Freisen [Thu, 29 Apr 2010 19:56:18 +0000 (19:56 +0000)]
[PAINT]
- angle rounding for lines and polygons when SHIFT key is pressed
- equal width and height for (rounded) rectangles and ellipses when SHIFT key is pressed
Based on a patch by Katayama Hirofumi, see #5285
svn path=/trunk/; revision=47062
Cameron Gutman [Thu, 29 Apr 2010 19:20:32 +0000 (19:20 +0000)]
[INF]
- Comment out the service installation for VBE and VGA so the configuration set in first-stage won't get overwritten
- Nasty graphical glitches still remain in VGA mode
- Fixes bug 2073 and bug 4192
svn path=/trunk/; revision=47061
Timo Kreuzer [Thu, 29 Apr 2010 16:39:52 +0000 (16:39 +0000)]
[NTOSKRNL]
- On backtraces, print the address of the call instruction (assumed 5 bytes lentgh) instead of the return address, which in many cases does not make sense. (WinDbg does it this way, too)
- Fix Ke386SaveFpuState to store the fpu state in the buffer, but in the pointer to the buffer
- Anable Ke386SaveFpuState to save the floating point state in KiNpxHandler and KiTrap13Handler, so we know what error we got.
- Disable saving debug registers in the trap frame, as long as the kernel doesn't support this
- Fixes ntdll_winetest exception / OllyDbg freeze/reboot
See issue #5301 for more details.
svn path=/trunk/; revision=47060
Michael Martin [Thu, 29 Apr 2010 13:41:32 +0000 (13:41 +0000)]
[win32k]
- Fix a problem where application that used WH_CBT hook procedures were receiving destroy window notification on windows that were never created. The window was never created because the application had returned a non zero value when it was notified of window creation, which effectively destroys the window and returns failure for window creation. See CBTProc Function on MSDN. Fixes bug #4461.
svn path=/trunk/; revision=47059
Giannis Adamopoulos [Thu, 29 Apr 2010 07:48:43 +0000 (07:48 +0000)]
[win32k]
- Do not do callbacks to user mode while holding a lock
- Fix when WH_MOUSE_LL and WH_JOURNALRECORD are called
See issue #4926 for more details.
svn path=/trunk/; revision=47058
Cameron Gutman [Thu, 29 Apr 2010 01:44:20 +0000 (01:44 +0000)]
[NTOSKRNL]
- Rewrite IoOpenDeviceInterfaceRegistryKey using the same helper function that is used in IoGetDeviceInterfaces and IoSetDeviceInterfaceState to reduce complexity and chance of bugs (tested and confirmed working)
- Revert r46748
- Fixes bug #5321 (AC97)
svn path=/trunk/; revision=47057
Cameron Gutman [Wed, 28 Apr 2010 20:06:28 +0000 (20:06 +0000)]
[NTOSKRNL]
- Fix length calculation of symbolic links with reference strings attached
- Fixes opening registry keys for symbolic links with reference strings (such as audio devices)
svn path=/trunk/; revision=47056
Sylvain Petreolle [Wed, 28 Apr 2010 19:15:17 +0000 (19:15 +0000)]
Hardcode GeckoCabDir to C:\ReactOS.
the mshtml installer now wants a REG_SZ string for it, which excludes using %SystemRoot%.
Fixes bootcdregtest.
svn path=/trunk/; revision=47055
Eric Kohl [Wed, 28 Apr 2010 11:35:34 +0000 (11:35 +0000)]
[MKHIVE/USETUP]
- Fix buffer size calculation for the parser.
- Do not try to execute an empty registry instruction
Patches by Roel Messiant.
- Stop the parser at the first NULL character.
Patch by me.
svn path=/trunk/; revision=47053
Cameron Gutman [Wed, 28 Apr 2010 03:07:21 +0000 (03:07 +0000)]
[FREELDR]
- Remove the useless function MachDiskNormalizeSystemPath
- Rewrite DiskGetBootPath to be much less hacky (but still not hack free)
- Freeloader doesn't have to be installed on multi(0)disk(0)rdisk(0)partition(1) (IDE primary master) anymore :)
- Freeloader successfully booted ROS after loading itself from multi(0)disk(0)rdisk(1)partition(1)
svn path=/trunk/; revision=47052
Cameron Gutman [Tue, 27 Apr 2010 22:12:11 +0000 (22:12 +0000)]
[FREELDR]
- Set the partition count to 0 for a floppy drive so it can be told apart from a cd-rom drive
- Add a last-chance sector size detection algorithm based on the partition number
- Add the same detection code to the xbox code too (it is essentially the same as what was already there just with more comments)
- Change DiskNormalizeSystemPath so it doesn't try to "normalize" a floppy boot path
- Fixes bug #5233
svn path=/trunk/; revision=47051
Eric Kohl [Tue, 27 Apr 2010 21:47:54 +0000 (21:47 +0000)]
[MKHIVE]
- Add RegDeleteKeyW stub.
- Implement RegDeleteKeyA so that it calls RegDeleteKeyW.
svn path=/trunk/; revision=47050
Michael Martin [Tue, 27 Apr 2010 13:41:37 +0000 (13:41 +0000)]
[ntoskrnl/io]
- Check for null pointers before attempting to copy or free memory.
svn path=/trunk/; revision=47049
Michael Martin [Tue, 27 Apr 2010 13:35:52 +0000 (13:35 +0000)]
[ntoskrnl\mm]
- Fix a continuous loop bug in MiWriteProtectSystemImage.
svn path=/trunk/; revision=47048
Aleksey Bragin [Tue, 27 Apr 2010 13:06:42 +0000 (13:06 +0000)]
[KMTEST]
- Add KeStallExecutionProcessor test.
svn path=/trunk/; revision=47047
Daniel Reimer [Tue, 27 Apr 2010 06:31:32 +0000 (06:31 +0000)]
Update rapps Database to recent Versions.
svn path=/trunk/; revision=47046
Johannes Anderwald [Mon, 26 Apr 2010 19:50:11 +0000 (19:50 +0000)]
[SHELL32]
- Start implementing file copy / move / delete dialog
- Not yet enabled
svn path=/trunk/; revision=47043
Gregor Schneider [Mon, 26 Apr 2010 19:01:37 +0000 (19:01 +0000)]
[EXPLORER] Add missing 24bpp start menu icon, created by Gabriel Ilardi
See issue #5007 for more details.
svn path=/trunk/; revision=47042
Gregor Schneider [Mon, 26 Apr 2010 18:30:08 +0000 (18:30 +0000)]
[NETSHELL] Fix LAN status icon resource
See issue #3813 for more details.
svn path=/trunk/; revision=47041
Eric Kohl [Mon, 26 Apr 2010 16:06:17 +0000 (16:06 +0000)]
[MKHIVE]
Revert remaining changes of r47019.
svn path=/trunk/; revision=47040
Timo Kreuzer [Mon, 26 Apr 2010 15:46:16 +0000 (15:46 +0000)]
Comment out an ASSERT that gets trigged frequently.
See issue #5320 for more details.
svn path=/trunk/; revision=47039
Eric Kohl [Mon, 26 Apr 2010 15:35:57 +0000 (15:35 +0000)]
[MKHIVE]
Partial revert of r47019 because mkhive failed on Linux machines.
svn path=/trunk/; revision=47038
Eric Kohl [Mon, 26 Apr 2010 15:10:23 +0000 (15:10 +0000)]
[USETUP]
- Use newinflib instead of inflib.
- Pass the user-selected language to the inf parser.
- Convert registry code from ANSI APIs to UNICODE APIs.
ATTENTION: This commit might break the build bot because it was not tested on a Linux system.
svn path=/trunk/; revision=47037
Giannis Adamopoulos [Mon, 26 Apr 2010 13:58:46 +0000 (13:58 +0000)]
[win32k]
-rename w32k.h to win32k.h and win32k.h to win32kp.h
svn path=/trunk/; revision=47036
Johannes Anderwald [Mon, 26 Apr 2010 13:58:09 +0000 (13:58 +0000)]
[USERINIT]
- Fix Startup Folder
- ShellExecuteEx needs lots of work
See issue #4568 for more details.
svn path=/trunk/; revision=47035
Johannes Anderwald [Mon, 26 Apr 2010 12:56:32 +0000 (12:56 +0000)]
[SHELL32]
- Assume it is an empty cdrom drive when there is no root mounted
See issue #2977 for more details.
svn path=/trunk/; revision=47033
Johannes Anderwald [Mon, 26 Apr 2010 12:26:31 +0000 (12:26 +0000)]
[SHELL32]
- Let explorer open control panel class folder when there is no default action
See issue #4916 for more details.
svn path=/trunk/; revision=47032
Johannes Anderwald [Mon, 26 Apr 2010 10:38:15 +0000 (10:38 +0000)]
[SHELL32]
- Rewrite enumerating folder options file type dialog
svn path=/trunk/; revision=47031
Johannes Anderwald [Mon, 26 Apr 2010 09:37:08 +0000 (09:37 +0000)]
- Fix file type description
svn path=/trunk/; revision=47030
Cameron Gutman [Mon, 26 Apr 2010 04:54:25 +0000 (04:54 +0000)]
[NTOSKRNL]
- Create a helper function named OpenRegistryHandlesFromSymbolicLink which opens handles to various paths associated with a symbolic link
- Store the Linked value in IoSetDeviceInterfaceState
- Implement checking if an interface is enabled by reading the Linked value
- Interfaces reported from IoGetDeviceInterfaces are only active ones now (unless the caller explicitly says that they want disabled ones too)
svn path=/trunk/; revision=47029
Cameron Gutman [Mon, 26 Apr 2010 04:18:11 +0000 (04:18 +0000)]
[NTOSKRNL]
- Revert r46682
- The NULL terminator is not supposed to be included in the length
- Fixes corruption when printing the symbolic link
svn path=/trunk/; revision=47028
Timo Kreuzer [Mon, 26 Apr 2010 01:23:21 +0000 (01:23 +0000)]
[WIN32CSR]
- Rewrite harderror handling.
The old code was a monster function, leaking memory, using ansi rather than unicode strings and not getting this right. It was also vulnerable to attacks, making csrss crash, when corrupt parameters were sent.
svn path=/trunk/; revision=47027
Timo Kreuzer [Mon, 26 Apr 2010 00:41:09 +0000 (00:41 +0000)]
[STRSAFE]
Add strsafe.h from amd64 branch.
svn path=/trunk/; revision=47026
Cameron Gutman [Sun, 25 Apr 2010 21:00:04 +0000 (21:00 +0000)]
[OSKITTCP]
- Add a sanity check
- Dedicated to Caemyr
svn path=/trunk/; revision=47024
Cameron Gutman [Sun, 25 Apr 2010 20:51:07 +0000 (20:51 +0000)]
[AFD]
- Add some sanity checks
svn path=/trunk/; revision=47023
Eric Kohl [Sun, 25 Apr 2010 20:49:29 +0000 (20:49 +0000)]
[MKHIVE]
Fix a buggy format string (%s --> %S).
Add _wcsicmp to rtl.c.
svn path=/trunk/; revision=47022
Gregor Schneider [Sun, 25 Apr 2010 20:26:37 +0000 (20:26 +0000)]
[MKHIVE] wcsicmp -> _wcsicmp, should fix buildbot build
svn path=/trunk/; revision=47021
Cameron Gutman [Sun, 25 Apr 2010 20:01:59 +0000 (20:01 +0000)]
[WS2_32]
- Add support for reading the hosts file
- Fix an off-by-one error which prevented reading the last value in the services file
- Fixes bug 4410 and bug 4880
svn path=/trunk/; revision=47020
Eric Kohl [Sun, 25 Apr 2010 19:54:57 +0000 (19:54 +0000)]
[MKHIVE]
- Use newinflib instead of inflib.
- Add RegDeleteKeyW stub.
- Convert registry generation code from ANSI APIs to UNICODE APIs.
ATTENTION: This commit might break the build bot because it was not tested on a Linux system.
svn path=/trunk/; revision=47019
Eric Kohl [Sun, 25 Apr 2010 19:20:59 +0000 (19:20 +0000)]
[NEWINFLIB]
- Use LANGID instead of LCID.
- Move LANGID and language macros into the host typedefs header.
- Remove dead code.
svn path=/trunk/; revision=47018
Cameron Gutman [Sun, 25 Apr 2010 18:36:15 +0000 (18:36 +0000)]
[HOSTS]
- Add a simple hosts file
- Not used yet
svn path=/trunk/; revision=47017
Eric Kohl [Sun, 25 Apr 2010 15:58:34 +0000 (15:58 +0000)]
[NEWINFLIB]
Add a UNICODE-aware version of the inflib library.
It is not used by other components yet but usetup and mkhive will use it in the future.
ATTENTION: This commit might break the build bot because I could not test a build on a Linux system.
svn path=/trunk/; revision=47016
Gregor Schneider [Sun, 25 Apr 2010 12:13:01 +0000 (12:13 +0000)]
[SYSSETUP]
- Create a modeless syssetup dialog so we can explicitly ignore intermediate WM_CLOSE messages (modal property sheets handle them automatically)
See issue #4960 for more details.
svn path=/trunk/; revision=47011
Gregor Schneider [Sun, 25 Apr 2010 10:47:10 +0000 (10:47 +0000)]
[NETCFGX]
- Save DHCP and DNS settings from the basic TCP/IP panel independently of each other
See issue #5193 for more details.
svn path=/trunk/; revision=47010
Gregor Schneider [Sun, 25 Apr 2010 10:45:06 +0000 (10:45 +0000)]
[NETCFGX]
- Improve the DNS data exchange between the basic IP settings and the advanced DNS panel
- Simplify LaunchAdvancedTcpipSettings
svn path=/trunk/; revision=47009
Cameron Gutman [Sat, 24 Apr 2010 22:37:45 +0000 (22:37 +0000)]
[IP]
- Don't try to close the connection again if it has already been terminated by the remote peer
svn path=/trunk/; revision=47007
Gregor Schneider [Sat, 24 Apr 2010 18:12:31 +0000 (18:12 +0000)]
[NETSHELL]
- Load all LAN status icons with the same size
- Only set the status icon if the icon occurred, don't set NULL icons (properties of LAN adapter window)
See issue #3813 for more details.
svn path=/trunk/; revision=47006
Gregor Schneider [Sat, 24 Apr 2010 18:08:11 +0000 (18:08 +0000)]
[NETSHELL] Fix some German resources:
- Use BS_MULTILINE instead of embedding newline characters into text
- Make groupboxes and text fit into the window
svn path=/trunk/; revision=47005
Johannes Anderwald [Sat, 24 Apr 2010 08:51:07 +0000 (08:51 +0000)]
[RBUILD]
- Fix cleaning of msvc 10 project files
svn path=/trunk/; revision=47004
Timo Kreuzer [Fri, 23 Apr 2010 22:16:59 +0000 (22:16 +0000)]
[FORMATTING]
- Apply consistent indentation
svn path=/trunk/; revision=47003
Amine Khaldi [Fri, 23 Apr 2010 10:50:19 +0000 (10:50 +0000)]
[XDK]
- Apply _ANONYMOUS_UNION/_ANONYMOUS_STRUCT where it's missing, and get rid of __GNU_EXTENSION.
- Some minor formatting consistencies.
[DDK]
- Update wdm.h, ntifs.h and ntddk.h to reflect the recent XDK changes.
svn path=/branches/header-work/; revision=47000
Timo Kreuzer [Thu, 22 Apr 2010 22:28:49 +0000 (22:28 +0000)]
Disable gdi batch for SelectObject with fonts. Fixes font regression.
svn path=/trunk/; revision=46998
Cameron Gutman [Thu, 22 Apr 2010 21:07:46 +0000 (21:07 +0000)]
[NTOSKRNL]
- Add a stub for IRP_MN_REMOVE_DEVICE in PnpRoot
- Revert 2 incorrect changes from r46983 (DNF_ENUMERATED added to the DNF_ADDED assertion and setting the DNF_RESOURCE_REPORTED flag in IopStartDevice2)
- Set the DNF_LEGACY_DRIVER flag if the AddDevice handler is missing
- Add a helper function called IopSendRemoveDevice which sends IRP_MN_REMOVE_DEVICE to a device object
- Call IopSendRemoveDevice if IRP_MN_START_DEVICE fails
- Set the DNF_STARTED and DNF_ADDED flags for legacy drivers
- Enable the DNF_ADDED assertion in IopStartDevice2
svn path=/trunk/; revision=46997
Cameron Gutman [Thu, 22 Apr 2010 20:35:58 +0000 (20:35 +0000)]
[PCI]
- Forward IRPs to our PDO instead of just completing them
- Handle IRP_MN_START_DEVICE on the way back up the stack (allows the PDO code to assign resources to the bus)
- Add some synchronous IRP forwarding copied from i8042prt
svn path=/trunk/; revision=46996
Gregor Schneider [Thu, 22 Apr 2010 12:49:20 +0000 (12:49 +0000)]
[REGEDIT]
- Don't assign an uninitialized custom filter buffer to the OPENFILENAME structure, clean up commented out code
- Allows standard file type filters to show up
See issue #5307 for more details.
svn path=/trunk/; revision=46992
Gregor Schneider [Thu, 22 Apr 2010 11:25:56 +0000 (11:25 +0000)]
[REGEDIT] Only set a registry path if the root node is not selected, adjust checks
See issue #5297 for more details.
svn path=/trunk/; revision=46991
Aleksey Bragin [Thu, 22 Apr 2010 08:47:47 +0000 (08:47 +0000)]
[KERNEL32]
- Update kernel32_winetests to Wine-1.1.43.
svn path=/trunk/; revision=46990
Sir Richard [Thu, 22 Apr 2010 08:13:56 +0000 (08:13 +0000)]
[NTOS]: Implement and call MiBuildImportsForBootDrivers. We now have full dependency tracking for correct unloading.
[NTOS]: Implement and call MiLocateKernelSections. Pool code and paging paths will require this information later. Loader work done for now.
svn path=/trunk/; revision=46989
Sir Richard [Thu, 22 Apr 2010 08:04:57 +0000 (08:04 +0000)]
[NTOS]: Implement and call MiUseLargeDriverPage.
[NTOS]: MmCheckSystemImage: Check for 32-bit/64-bit image/OS mismatch.
[NTOS]: MmCheckSystemImage: Return invalid checksum if couldn't get the NT header from the image.
[NTOS]: MmCheckSystemImage: Map images as SEC_IMAGE instead of SEC_COMMIT, and simply read the size off that way.
svn path=/trunk/; revision=46988
Sir Richard [Thu, 22 Apr 2010 03:54:09 +0000 (03:54 +0000)]
[NTOS]: MiFindExportedRoutineByName should validate the ordinal to make sure it's not higher than the function count.
[NTOS]: Use MM_SYSLDR_ defines instead of magic pointer casts. Use appropriate pool tags.
[NTOS]: Set the LoadedImport count early-on during image referencing, so that failure will correctly de-reference the imports. By setting it to zero, failures would've leaked driver-dependent DLLs already loaded but now useless.
[NTOS]: Do the same checks as Windows to avoid drivers linked with user-mode DLLs.
[NTOS]: Allow "coverage" and "irt" to be linked with Win32K drivers as well.
[NTOS]: When the linker is fixed not to generate corrupt drivers, add the appropriate code to scan IMAGE_DIRECTORY_ENTRY_IAT for updating thunks. A hack exists in ReactOS now to permit loading these hacked drivers, but Windows is not so generous and will crash with a ReactOS driver.
svn path=/trunk/; revision=46987
Cameron Gutman [Wed, 21 Apr 2010 23:19:12 +0000 (23:19 +0000)]
[PCI]
- Don't set DO_BUS_ENUMERATED_DEVICE on child PDOs because the PnP manager does it for us
svn path=/trunk/; revision=46985
Cameron Gutman [Wed, 21 Apr 2010 22:42:21 +0000 (22:42 +0000)]
- Missed this from my last commit
svn path=/trunk/; revision=46984
Cameron Gutman [Wed, 21 Apr 2010 22:33:11 +0000 (22:33 +0000)]
[NTOSKRNL]
- Replace the broken CM_RESOURCE_LIST_SIZE with a better function that actually works with resource lists that have device-specific data in them (fixes missing device specific data when resources are retrieved with IoGetDeviceProperty)
- Separate the resource code out of pnpmgr.c and into pnpres.c
- Simplify resource assigning to simply calling one function, IopAssignDeviceResources, which takes care of the registry configuration, translation, etc.
- Set the DNF_NEED_ENUMERATION_ONLY flag only AFTER the device is actually started not before
- Set DNF_START_FAILED if IRP_MN_START_DEVICE fails
- Fix a bug in IoReportDetectedDevice that wrote the AllocConfig value to wrong place
svn path=/trunk/; revision=46983
Aleksey Bragin [Wed, 21 Apr 2010 20:35:09 +0000 (20:35 +0000)]
[WINESYNC]
- Sync comdlg32, crypt32, gdiplus, inetcomm, jscript, msctf, mshtml, msxml3, rsaenh, schannel, shlwapi, urlmon, usp10, wininet winetests.
svn path=/trunk/; revision=46982