Sir Richard
354ad6b9eb
[NTOS]: One last fix to the zero page thread before we move to ARM3: use MiRemoveAnyPage instead of dangerous MiRemoveHeadList. The code works on the assumption (validated by Windows through a bug check) that MiRemoveAnyPage always returns the first free page, and we also manually grab the first free page, and compare this is true. Nice way to detect PFN database corruption.
...
[NTOS]: Fix MiInsertZeroAtBack to increment the MmAvailablePage count, since MiRemoveAnyPage decrements it (MiRemoveHeadList did not).
svn path=/trunk/; revision=48918
2010-09-28 14:29:37 +00:00
Aleksey Bragin
66ff3d5774
[KERNEL32]
...
- Igor Paliychuk: Fix properly showing genitive names from NLS data by applying a missed Wine sync.
See issue #5556 for more details.
svn path=/trunk/; revision=48917
2010-09-28 14:24:17 +00:00
Amine Khaldi
f2afdbbc4a
[CMAKE]
...
- Add csrss, csrsrv and win32csr to build. By Alexey Komarov (IRC: q4a)
svn path=/branches/cmake-bringup/; revision=48916
2010-09-28 13:41:23 +00:00
Amine Khaldi
a6480c90d3
[USETUP]
...
- Update Ukrainian translation by Igor Paliychuk.
See issue #5536 5540 5604 5614 5617 for more details.
svn path=/trunk/; revision=48915
2010-09-28 13:39:57 +00:00
Amine Khaldi
9a79b1e80d
[CMAKE]
...
- Add typelib support macro and use it with stdole2. By Jerome Gardou.
svn path=/branches/cmake-bringup/; revision=48914
2010-09-28 13:32:41 +00:00
Kamil Hornicek
9856680c43
[KERNEL32]
...
Winnls.h can be included now.
svn path=/trunk/; revision=48913
2010-09-28 00:02:05 +00:00
Sir Richard
f269313793
- Remove MiZeroPage, use MiZeroPhysicalPage instead. They work pretty much the same except the needless raise to DISPATCH_LEVEL.
...
- Get rid of the messed up MiMapPageToZeroInHyperSpace which was hacking into MiMapPagesToZeroInHyperSpace. Now MiMapPagesToZeroInHyperSpace is properly implemented to use chained PFNs, and the MmZeroPageThread code has been modified to correctly use the new mechanism.
- Zero page mapping now happens at PASSIVE trough MiMapPAgesToZeroInHyperSpace, not DISPATCH anymore.
- More fixes are coming to remove the remaining MiRemoveHeadList and rewrite the zero page loop. Should fix more possible corruptions.
svn path=/trunk/; revision=48912
2010-09-27 21:58:54 +00:00
Sir Richard
df34e334f0
[NTOS]: Adding colored page lists means we need to start using the OriginalPte field as a forward/back link. This is shared with AweReferenceCount, which ReactOS uses as the RMAP list head. However, RMAPped pages shoudl never be free/zero, and non-free-zero pages will never have a color backlink in OriginalPte, so it should theoretically be safe to do this. However, it's possible for the RMAP "get" function to be called on a free/zero page (which would normally return NULL), but with color chaining enabled, the "get" function would misinterpret the backlink as an RMAP entry. Therefore, we overload the ParityError bit to signify "there is an RMAP". The get/set functions now handle this, and the color linkage will ASSERT this later. This way, a colorlink with ParityError == FALSE is not treated as an rmap list head.
...
svn path=/trunk/; revision=48910
2010-09-27 17:36:54 +00:00
Sir Richard
05ce063ebc
[NTOS]: Don't use dangerous MiRemoveHeadList in MDL page allocation, use MiRemoveAnyPage instead.
...
[NTOS]: Don't repurpose pages from the zero/free page list without actually unlinking the page first! This should fix even more corruptions.
svn path=/trunk/; revision=48909
2010-09-27 17:09:33 +00:00
Sir Richard
f5f6cee1d0
[NTOS]: Stop using MiInsertInListTail and MiRemoveHeadList in the deprecated ReactOS page functions. Those two functions do not adequately support the semantis needed for page insertion/removal and should've never been used. MmAllocPage now uses MiRemoveAny/ZeroPage, and MmDereferencePage uses MiInsertPageInFreeList. Should help with some corruptions. More is coming.
...
svn path=/trunk/; revision=48908
2010-09-27 16:00:24 +00:00
Giannis Adamopoulos
3e70fced07
[user32]
...
- Remove the last reactos-only export from user32 (PrivateCsrssManualGuiCheck)
[win32csr]
- Move PrivateCsrssManualGuiCheck from user32 to win32csr
svn path=/trunk/; revision=48907
2010-09-27 14:31:13 +00:00
Sylvain Petreolle
c0c597d9c6
[CMAKE]
...
Add a set_rc_compiler macro,
its a workaround for lack of mingw RC support in cmake.
Enable winemine build.
Improve user32 CMakeLists.txt.
Thanks to AmineKhaldi for initial support of resources in user32.
svn path=/branches/cmake-bringup/; revision=48906
2010-09-27 09:14:54 +00:00
Michael Martin
f9692ba22c
[ntoskrnl/mm]
...
- Acquire rundown protection on process to make sure it is not being terminated and before attempting to do anything with the process. Fixed a rare case of PspDeleteProcess being called twice for a process, resulting in bugcheck.
svn path=/trunk/; revision=48905
2010-09-27 08:46:02 +00:00
James Tabor
e4ec568733
[Win32k]
...
- Implement win32k support functions for Get and Set process default layout.
- Due to changes with wine it will be difficult to sync when RTL support is being added to ComCtl32.
svn path=/trunk/; revision=48904
2010-09-27 02:46:16 +00:00
Sir Richard
de914c19e1
[DDK]: Add misisng MmLockPagableCodeSection.
...
svn path=/trunk/; revision=48903
2010-09-26 15:01:37 +00:00
Eric Kohl
db53bf24cb
[NTOSKRNL]
...
Implement NtQueryOpenSubKeys.
svn path=/trunk/; revision=48902
2010-09-26 11:37:40 +00:00
Jérôme Gardou
3b92867c2a
[CMAKE]
...
- Add disabled winemine build file
svn path=/branches/cmake-bringup/; revision=48901
2010-09-26 10:09:06 +00:00
Jérôme Gardou
c9dc1e22be
[CMAKE]
...
- add iexplore to build
svn path=/branches/cmake-bringup/; revision=48900
2010-09-26 09:56:28 +00:00
Jérôme Gardou
5cacf14c7f
[CMAKE]
...
- add hh to build
svn path=/branches/cmake-bringup/; revision=48899
2010-09-26 00:37:46 +00:00
Matthias Kupfer
c23c9c81ca
disable some locale IDs because they are not supported yet
...
- 417 Rhaeto-Romanic
- 445 Bengali (India)
or still unknown
- 48f
- 490
this fixes multiple entries (see bug #5636 )
svn path=/trunk/; revision=48898
2010-09-25 23:20:23 +00:00
Jérôme Gardou
796d321ba6
[CMAKE]
...
- add set_unicode macro to msvc toolchain
- fix win32cui module type for msvc
svn path=/branches/cmake-bringup/; revision=48897
2010-09-25 23:01:09 +00:00
Eric Kohl
1f2f04ed9b
[NTOSKRNL]
...
IoRegisterPlugPlayNotification: Do not fail if no Interface can be found for the given GUID. Just do not call the Callback-Routine in this case. The Interface could be created later.
svn path=/trunk/; revision=48896
2010-09-25 21:49:15 +00:00
Pierre Schweitzer
d695e74a70
[RTL]
...
Fixed a really stupid (and old) bug in RtlComputeCrc32():
First parameter is initial CRC32 checksum. And it's complete and not partial, thus it needs to be an ULONG and not an USHORT.
This fixes CRC32 checksum computation with initial checksum (tested again Windows 2003 & Seven).
svn path=/trunk/; revision=48895
2010-09-25 21:20:54 +00:00
Amine Khaldi
ced22a087c
[PSDK]
...
- Add missing header's header.
svn path=/trunk/; revision=48894
2010-09-25 20:47:15 +00:00
Amine Khaldi
9ea8827010
[CMAKE]
...
- Introduce proper set_entrypoint and set_subsystem macros for both mingw and msvc.
- Fix the subsystem for console apps.
svn path=/branches/cmake-bringup/; revision=48893
2010-09-25 20:44:46 +00:00
Christoph von Wittich
355ac9b9dc
[bzip2]
...
update bzip2 library to 2.06
svn path=/trunk/; revision=48892
2010-09-25 20:28:00 +00:00
Jérôme Gardou
cb3ae7dca0
[WIN32K]
...
- clean up EXLATEOBJ before error path in NtGdiBitBlt
svn path=/trunk/; revision=48891
2010-09-25 19:53:43 +00:00
Jérôme Gardou
0dfa12e039
[CMAKE]
...
- add fontview to build
- add experimental solitaire build file
svn path=/branches/cmake-bringup/; revision=48890
2010-09-25 19:51:28 +00:00
Sylvain Petreolle
1a3df1da9b
[CMAKE]
...
Add importlibs for c++ modules.
svn path=/branches/cmake-bringup/; revision=48889
2010-09-25 19:43:52 +00:00
Matthias Kupfer
cfb984e8bb
one more fix (on request of Pierre S.)
...
svn path=/trunk/; revision=48888
2010-09-25 19:24:03 +00:00
Sylvain Petreolle
fcc4413386
[CMAKE]
...
Add explorer to build.
Not enabled now, it links but executable is not valid.
svn path=/branches/cmake-bringup/; revision=48887
2010-09-25 19:17:39 +00:00
Matthias Kupfer
2a1e1c7eff
add missing close for handle
...
svn path=/trunk/; revision=48886
2010-09-25 19:07:37 +00:00
Jérôme Gardou
9273ed2434
merge r48884 from trunk
...
svn path=/branches/cmake-bringup/; revision=48885
2010-09-25 18:48:17 +00:00
Jérôme Gardou
6d6fd14277
[SOLITAIRE]
...
- do not include already included file in rc files
svn path=/trunk/; revision=48884
2010-09-25 18:44:54 +00:00
Matthias Kupfer
0b903df4a7
fix GeoID bug (forgotten \0)
...
svn path=/trunk/; revision=48883
2010-09-25 18:24:57 +00:00
Amine Khaldi
3938ef73b1
[CMAKE]
...
- Fix the linking regression.
svn path=/branches/cmake-bringup/; revision=48882
2010-09-25 17:57:03 +00:00
Jérôme Gardou
0196ce1ec8
[CMAKE]
...
- improve cacls build file
- add control and extrac32 to build
svn path=/branches/cmake-bringup/; revision=48881
2010-09-25 17:42:29 +00:00
Sylvain Petreolle
ba887f723b
[CMAKE]
...
Add cmd to build.
svn path=/branches/cmake-bringup/; revision=48880
2010-09-25 17:40:02 +00:00
Giannis Adamopoulos
28b33bcfe7
[win32k]
...
- Cleanup UserSetCursorPos
- UserSetCursorPos: set the new position after sending WM_MOUSEMOVE message
now we pass all tests for SetCursorPos
svn path=/trunk/; revision=48879
2010-09-25 16:59:53 +00:00
Amine Khaldi
f6e6759404
[PSDK]
...
- Add CDROM_TOC_SESSION_DATA structure.
[DDK]
- Add missing min and max macros.
svn path=/trunk/; revision=48878
2010-09-25 15:51:42 +00:00
Amine Khaldi
fd0b03ddfd
[PSDK]
...
- Add missing ntddmmc.h definitions.
svn path=/trunk/; revision=48877
2010-09-25 15:37:43 +00:00
Sylvain Petreolle
639ad14ab9
[CMAKE]
...
Add add_minicd_target and add_minicd macros.
svn path=/branches/cmake-bringup/; revision=48876
2010-09-25 15:36:17 +00:00
Jérôme Gardou
38dd8fce5f
[CMAKE]
...
- improve cacls build file
- add charmap, dbgprint, doskey, find, hostname, lodctr, more, reg and xcopy build files
- add win32cui module type to msc toolchain
find is commented out for now.
svn path=/branches/cmake-bringup/; revision=48875
2010-09-25 15:31:18 +00:00
Amine Khaldi
5360c03d98
[PSDK]
...
- Add some missing IOCTL_* definitions.
svn path=/trunk/; revision=48874
2010-09-25 14:45:03 +00:00
Amine Khaldi
29ab93ce7f
[CMAKE]
...
- Improve acpi, isapnp, pci, pcix and pcmcia (import libs, dependencies...etc)
svn path=/branches/cmake-bringup/; revision=48873
2010-09-25 14:39:51 +00:00
Amine Khaldi
afe5d2ee6e
[CMAKE]
...
- Improve uuid and add psdk dependency.
svn path=/branches/cmake-bringup/; revision=48872
2010-09-25 14:30:47 +00:00
Sylvain Petreolle
4b8f69dfac
[CMAKE]
...
Add set_unicode macro.
Add win32dll module type.
Set CMAKE_CXX_LINK_EXECUTABLE.
Clear CMAKE_CXX_STANDARD_LIBRARIES.
Improve calc.
svn path=/branches/cmake-bringup/; revision=48871
2010-09-25 14:22:16 +00:00
Amine Khaldi
6b61faf281
[CMAKE]
...
- Fix set_subsystem for mingw32.
svn path=/branches/cmake-bringup/; revision=48870
2010-09-25 14:02:06 +00:00
Jérôme Gardou
eb95f483b7
[CMAKE]
...
- Add win32cui module type to gcc toolchain
- Add cacls to build
svn path=/branches/cmake-bringup/; revision=48869
2010-09-25 13:38:44 +00:00
Amine Khaldi
610744f805
[DDK]
...
- Fix a typo and introduce some minor formatting changes.
svn path=/trunk/; revision=48868
2010-09-25 09:39:08 +00:00