- This should allow for multiple NIC support but it's currently broken because GetIfTable returns invalid information for NICs after the first one which prevents DHCP initialization for those adapters
svn path=/trunk/; revision=41763
- Use a spin lock to protect the signalled connections list
- Add a debug ASSERT into each function that depends on the TCPLock being held
- Release TCPLock before completing the IRP
- Add some locking where it was forgotten
- Optimize HandleSignalledConnection
svn path=/trunk/; revision=41752
- Add locking in places that need it
- Eliminate double acquisition of TCPLock for the same request
- Next step: Verify that all places that need locking have it
svn path=/trunk/; revision=41751
Bug 4638: Japanese translation update for some files by Tomoya Kitagawa
Bug 4651: Unfinished translation to polish (ichoroszi@gmail.com)
Bug 4652: update for slovak and others translations by Mario Kacmar
svn path=/trunk/; revision=41739
- Use ExInterlocked list functions to manipulate the request lists
- Fix usage of the wrong lock to protect the listen request list
- Next step: Optimize usage of TCPLock
svn path=/trunk/; revision=41737
- Fix potential NULL pointer access
- Actually disassociate the address file and connection in DispTdiDisassociateAddress
- Insert new requests at the end of the list not the beginning
svn path=/trunk/; revision=41736
- Fixed new bug in palette drawing (replacing a + by a -)
- Added "Show grid" and "Show miniature" functions
- Therefore changed the menus -> please check translations
svn path=/trunk/; revision=41728
- Implemented new PostMessage and SendNotifyMessage, this is for bug 4646. I realize the need to update/sync dde code from wine. This relates to the new post and send functions and the use of MsgiKMToUMMessage. Trying to understand this mess.
- CreateDesktop is used to create the HWND_MESSAGE for the desktop. This is a work in progress. The ntuser prototype is updated too. Now pass the correct data from user to kernel space.
- Major update to event code and testing with user32 wine test msg. ATM, only two ntuser notifications are sent if the app has a event hook. Need to add more notifications at the correct points.
- Code arranging in hooks. Testing with user32 cross test works, need to add more ntuser hook calls at the correct points.
- Testing: More is required! User32 cross tests win and msg, win test hangs at flush_events. FF 1.5.x (Still has that funny minimize bug. Play with it and see. Missing one more check I think.) and AbiWord 2.4.1. Notepad lite is doing something very naughty inside it's hook call, with out the source, testing it will be imposable, so someone needs to find an open source program that does the same thing.
- Reference: Drag and drop file into window: winproc.c WM_COPYGLOBALDATA http://wiki.winprog.org/wiki/Windows_messages
svn path=/trunk/; revision=41727
- We were copying the address type (1 byte) and 3 bytes of the target address instead of all 4 bytes of the target address
svn path=/trunk/; revision=41723
- Remove (now unused) IPGetDefaultAddress which just broke things
- Fixes responses from different IP addresses when trying to ping the loopback adapter
- See issue #4573 for more details
svn path=/trunk/; revision=41720
- I need to do more investigation on which values need to be restored but I know CurrentLookahead is one of them
- Add support for protocol-initiated miniport resets
svn path=/trunk/; revision=41718
* Use a documented ENG_EVENT structure (thus be compatible with Windows videoprt/win32k) instead of a stupid (PKEVENT) casting everywhere through EngEvent or VideoPort event functions;
* Implement additional checks for user mapped events in EngDeleteEvent and EngWaitForSingleObject;
* Implement EngReadStateEvent and EngClearEvent.
* Provide a better, readable code which matches kernelstyle coding guidelines;
* Remove (stub out) totally incorrect and buggy map user events support;
- Compile videoprt with ms-extensions flag enabled.
svn path=/trunk/; revision=41713
- Cleanup some externs that were never referenced in mminit.c.
- Remove MiShutdownMemoryManager since it was dead code.
- There is no need to define the MiKseg0Start/End variables and loop through the memory descriptors to find the last kernel image. We already have this information through LoaderPagesSpanned saved in MmBootImageSize.
- Removed these variables, code that depended on them, and MiGetLastKernelAddress, and switch to just using MmBootImageSize, which simplifies things a lot.
- Also simplify the way that the initial memory latout is setup. Now the PFN database will always start after MmBootImageSize + KSEG0_BASE, instead of relying on the fact FreeLDR, on certain machines, may have had leftover space in the 6MB allocation that it makes (And worse, assuming FreeLDR on all architectures will allocate 6MB).
- This standardizes the PFN database address and makes the code portable.
- Same for the nonpaged pool address.
- Should not call MmInitializeHandBuiltProcess for the idle process -- this will be called for the system process in PsCreateProcess.
- The only thing we need, as the comment says, is the kernel MADDRESS_SPACE, so just initialize the lock for it.
- Do not zero MmStats since the load-linker takes care of that for us since it's a global.
svn path=/trunk/; revision=41710
- Make the VA-range-printing debug prints match the same format as those in ReactOS Mm (MiDbgKernelLayout).
- Add the appropriate number of spaces so that the layout appears continuous, even though it's coming from two source files.
- This makes it easy to see the VA mappings at boot (but not all of them).
svn path=/trunk/; revision=41709