Commit graph

55055 commits

Author SHA1 Message Date
Eric Kohl b463d3a396 [USERENV]
LoadUserProfileW: Add a hack to prevent a failure when a newly created user profile is loaded twice. This failure (sharing violation) is caused by the unimplemented NtUnloadKey function!

This patch enables us to create and use our own user accounts. Please note that these accounts still have hard-coded group and privilege settings.

svn path=/trunk/; revision=60823
2013-11-01 14:41:06 +00:00
Aleksey Bragin 7445605fbd [CMAKE]
- Add an option to fully disable PSEH (aka use dummy PSEH).

svn path=/trunk/; revision=60822
2013-11-01 11:58:31 +00:00
Thomas Faber e1664319fa [SHELL32]
- Use correct constants for return values in shlmenu.cpp. Patch by Ivan Rodionov.
CORE-7540 #resolve

svn path=/trunk/; revision=60821
2013-11-01 09:44:28 +00:00
James Tabor c9372b80da [User32]
- Fix a condition that fails the dialog test_GetDlgItemText after running the msg test then run dialog again.

svn path=/trunk/; revision=60820
2013-11-01 06:43:56 +00:00
Pierre Schweitzer 15743f2521 [NTOSKRNL]
- Finally fully implement FstubVerifyPartitionTableEFI(). It is capable of fixing a GPT disk.
- Fix implementation of FstubReadHeaderEFI() (which returns a pointer to the header). Fixed all the other functions accordingly. Note that you have to be careful when using Disk->Buffer. You can easily read a buffer that doesn't contain your data anylonger.
- Fix implementation of FstubReadPartitionTableEFI(). It was improperly dealing with the backup table. Now, it will look for it and replace/recreate it if not found where expected.
- Fix implementation of FstubWriteEntryEFI(). The computation of memory placement was wrong, and thus it was missing partitions and causing corruption. Thank you checksums!

In case you format a disk with GPT using Linux (with GParted, for instance), don't be surprised if once started with ReactOS your GPT is modified, and especially its backup table moved. They don't have the same sector counts.
It was a nice way to tests whether ReactOS properly write GPT. Which it does now :-).

svn path=/trunk/; revision=60811
2013-10-31 18:03:48 +00:00
Amine Khaldi adf03f838a [USER32]
* Fix MSVC build.

svn path=/trunk/; revision=60810
2013-10-31 17:45:16 +00:00
James Tabor 26a5caa78d - Fix build
svn path=/trunk/; revision=60809
2013-10-31 17:21:04 +00:00
James Tabor 3d5763ff2f - ActivateActCtx seems to be broken, skip test.
svn path=/trunk/; revision=60808
2013-10-31 17:15:49 +00:00
James Tabor 6f2696d0d5 - Fix Text tests. Update wine sync.
svn path=/trunk/; revision=60807
2013-10-31 16:54:01 +00:00
James Tabor 0a16450437 - Add message type to debug.
svn path=/trunk/; revision=60806
2013-10-31 16:52:18 +00:00
Thomas Faber da2aa16556 [SHELL32]
- Fix copy/paste in shell views when multiple files are selected. Patch by Huw Campbell
CORE-4771

svn path=/trunk/; revision=60805
2013-10-31 16:46:14 +00:00
Thomas Faber 1cbc964e3f [SHELL32]
- Handle invalid cbSize in Shell_NotifyIcon[AW]. Patch by Ivan Rodionov.
- Use FIELD_OFFSET for variable-length structure
CORE-7164

svn path=/trunk/; revision=60804
2013-10-31 16:21:57 +00:00
Thomas Faber 667dfa7267 [CMAKE]
- Add /FS to VS 2013 build to fix issues with concurrent access to PDB files. Patch by David Quintana
- Use subsystem version 5.02 for x64, because 5.01 doesn't exist
CORE-7434 #resolve

svn path=/trunk/; revision=60803
2013-10-31 09:59:55 +00:00
Pierre Schweitzer 436edb2c3f [NTOSKRNL]
Implement MiSetControlAreaSymbolsLoaded and MiLoadUserSymbols. These are responsible
for marking the control area that we've loaded the symbols and for effectively loading
the symbols.

These two functions only apply on image section! (ie, ControlArea->u.Flags.Image not null).
They are only compatible with ARM3. But, for the moment, old MM is responsible for image section
mapping and thus, these two functions cannot be used.

Once this responsibility is transfered to ARM3, first call MiCacheImageSymbols, if successful, then call
MiSetControlAreaSymbolsLoaded and MiLoadUserSymbols. After checking image was at base and GlobalMemory was not
set.

Once this is finally linked, this *should* fix PSAPI apitests.

svn path=/trunk/; revision=60802
2013-10-30 23:17:08 +00:00
Eric Kohl b4b9913715 [ADVAPI32]
Enable the new SAM-based logon system.

Using your own accounts to log-on to ReactOS will still fail because of bugs in winlogon, userenv.dll and the registry. But at least the infrastructure is in place and we can start to fix the reamining bugs. All accounts still use a hard-coded privilege set, but this will be fixed as soon as possible.

svn path=/trunk/; revision=60800
2013-10-30 21:19:03 +00:00
Pierre Schweitzer 93bd6b7500 [PSAPI]
void -> VOID

svn path=/trunk/; revision=60799
2013-10-30 17:59:20 +00:00
Pierre Schweitzer 0316d84f20 [NTOSKRNL]
Implement a helper function ExpConvertLdrModuleToRtlModule() that converts
a Ldr represented module to a Rtl represented module (structure matters).
Use it for kernel modules list AND user modules list.

This fixes the FIXME of that section but it actually doesn't fix anything
given that our user module lists is still empty (whereas it should be filled in).

svn path=/trunk/; revision=60798
2013-10-30 17:56:25 +00:00
Pierre Schweitzer c01603fd51 [PSAPI]
Stub support for profiling

svn path=/trunk/; revision=60797
2013-10-30 15:19:35 +00:00
Pierre Schweitzer 6cbda0abe5 [PSAPI]
Reduce DLL verbosity

svn path=/trunk/; revision=60796
2013-10-30 10:58:31 +00:00
Pierre Schweitzer ba7c7ab755 [PSAPI_WINETESTS]
No need to skip these tests, they are working again.

ROSTESTS-122

svn path=/trunk/; revision=60795
2013-10-30 10:57:05 +00:00
Pierre Schweitzer bb4fe2c408 [PSAPI]
Bye bye PSAPI. Welcome PSAPI :-).

This is a rewrite of the PSAPI DLL to make it match the W2K3 DLL.
It fixes several bugs and implements missing features.
It doesn't use the EPSAPI library anylonger (which old and buggy).

All winetests are passing when executed on W2K3 with this DLL.
Not all tests are passing on ReactOS though, because of missing features in the kernel.
Anyway, this greatly reduces the amount of failed tests.

ROSTESTS-122 #comment Fixed with r60794 #resolve

svn path=/trunk/; revision=60794
2013-10-30 10:56:02 +00:00
Pierre Schweitzer 5aeeadda17 [NDK]
Complete MEMORY_INFORMATION_CLASS by adding a missing class (at the proper place): MemoryWorkingSetExList

Alex, could you review please? Not fully sure about the name of such class.

svn path=/trunk/; revision=60793
2013-10-30 10:51:30 +00:00
Pierre Schweitzer 276c520892 [PSDK]
- Fix definition of PROCESS_MEMORY_COUNTERS
- Add defintion for PROCESS_MEMORY_COUNTERS_EX

svn path=/trunk/; revision=60792
2013-10-30 10:48:29 +00:00
Timo Kreuzer 5b8f6f48da [GDI32_APITEST]
- Add more tests for CreateDIBitmap and SetDIBitsToDevice

svn path=/trunk/; revision=60787
2013-10-28 20:39:26 +00:00
Timo Kreuzer 39b0f9dba1 [WIN32K]
- Add missing DC_vPrepareDCsForBlit / DC_vFinishBlit
- Save and restore floating point state in some functions

svn path=/trunk/; revision=60786
2013-10-28 20:26:08 +00:00
James Tabor 7cfd0230d5 - Sync wine to 1.7.5.
svn path=/trunk/; revision=60785
2013-10-28 05:12:48 +00:00
James Tabor b829eed49f - Fis SysParams WM_SETTINGCHANGE.
svn path=/trunk/; revision=60784
2013-10-28 05:00:16 +00:00
James Tabor 30690e8fce - Sync wine to 1.7.5.
svn path=/trunk/; revision=60780
2013-10-27 23:22:00 +00:00
James Tabor df6ecd9a0a - Fix test. ATM AW and WA testing is going well.
svn path=/trunk/; revision=60779
2013-10-27 22:34:44 +00:00
James Tabor 47b5950895 - Sync wine to 1.7.5.
svn path=/trunk/; revision=60777
2013-10-27 22:13:41 +00:00
Eric Kohl ebf29a79f6 [INF]
Add the remaining privilege definitons.

svn path=/trunk/; revision=60768
2013-10-27 12:13:42 +00:00
Eric Kohl d1fe5b9120 [LSASRV]
Remove unused code.

svn path=/trunk/; revision=60766
2013-10-27 11:08:48 +00:00
James Tabor d62b121a23 - Patch by Andrew Eikum: Don't try to paint during WM_SETFOCUS if the edit control is not visible.
svn path=/trunk/; revision=60763
2013-10-27 01:23:46 +00:00
James Tabor 22cc4c8cc5 - Update wine test to 1.7.5, this is for msg AW WA testing.
svn path=/trunk/; revision=60762
2013-10-27 01:05:53 +00:00
Hermès Bélusca-Maïto b903c64412 Add the definition for WriteConsoleInputVDM too.
svn path=/trunk/; revision=60760
2013-10-26 21:30:44 +00:00
Amine Khaldi a9f9ecd76f [WBEMPROX]
* Sync with Wine 1.7.2. Hello LocalDateTime.

svn path=/trunk/; revision=60759
2013-10-26 21:29:03 +00:00
Hermès Bélusca-Maïto ccdf36a380 [KERNEL32][CONSRV]
Implement WriteConsoleInputVDMA/W, its only purpose being putting console input events at the beginning of the console input event list instead of putting them at the end, as it is done with WriteConsoleInputA/W .

svn path=/trunk/; revision=60756
2013-10-26 20:53:05 +00:00
Thomas Faber 077b7ac04d [SAMSRV]
- Fix incorrect heap buffer size, CID 716678.

svn path=/trunk/; revision=60754
2013-10-26 18:48:53 +00:00
Amine Khaldi e8ee07de91 [WMIC]
* Properly import WMIC (correcting the previous import committed in r60748).
* The import of other WMI related modules is also already done, and will be committed eventually in the current ongoing sync.
CORE-7469

svn path=/trunk/; revision=60751
2013-10-26 09:48:25 +00:00
Eric Kohl c2691edfa1 [SAMSRV]
Create and set a security descriptor for new user account objects.

svn path=/trunk/; revision=60750
2013-10-26 09:09:31 +00:00
Hermès Bélusca-Maïto 52a74dbc90 [SETUP]
The standard writing for ReactOS is with "OS" in capital letters, not in lowercase letters.
Patch by Yuntian Zhang.
CORE-7524 #resolve #comment Fixed in revision 60749, cheers!

svn path=/trunk/; revision=60749
2013-10-26 01:17:11 +00:00
Hermès Bélusca-Maïto 268e8b2366 [WMIC]
Import WMIC ("Windows Management Instrumentation Console") from Wine 1.7.5 (just released yesterday, 25/10/2013), in which we include only the necessary headers.
Sync up README.WINE too.
WMIC is needed (amongst other things) for retrieving the date of the build when configuring a new build using RosBE. Dedicated to Sylvain Petreolle and Amine Khaldi.

svn path=/trunk/; revision=60748
2013-10-26 01:02:19 +00:00
Hermès Bélusca-Maïto 4b715c4056 [USETUP]
It appears that "Dhivehi" is the preferred scripture.
CORE-7523 #resolve #comment Committed in revision 60746, cheers.

svn path=/trunk/; revision=60746
2013-10-25 20:52:33 +00:00
Eric Kohl 480ce3de05 [USERENV]
Fix coding style and indentation. No code changes!

svn path=/trunk/; revision=60744
2013-10-24 20:16:20 +00:00
Thomas Faber 5bb77216c8 [KMTESTS:EX]
- Fix incorrect sizeof usage. CID 1102449, 1102451

svn path=/trunk/; revision=60743
2013-10-24 19:33:17 +00:00
Thomas Faber e02f9e1406 [NPFS]
- Fix IRP_MJ_SET_SECURITY. CID 1102517, 1106330
- Fix variable type in NpCommonQueryVolumeInformation. CID 1102210, 1102211

svn path=/trunk/; revision=60742
2013-10-24 19:11:04 +00:00
Thomas Faber 5e7db1ef90 [NTOS]
- Also fix misguided return type aka fix build

svn path=/trunk/; revision=60741
2013-10-24 18:05:58 +00:00
Thomas Faber 8b7398acf8 [NTOS]
- Remove misguided casts

svn path=/trunk/; revision=60740
2013-10-24 17:53:45 +00:00
Timo Kreuzer f8e71a7dc5 [REACTOS]
Fix the mess I left... (remove unwanted changes and commit missing change)

svn path=/trunk/; revision=60738
2013-10-23 19:38:49 +00:00
Timo Kreuzer d96c1fa4d8 [NTDLL] Use LDR_LOCK_LOADER_LOCK_FLAG_RAISE_ON_ERRORS flag instead of TRUE
[RTL] Fix RtlAddAce (the version checks were inverted.)
[NTOSKRNL] Make SystemExtendServiceTableInformation case of NtSetSystemInformation behave more like Windows
[NTOSKRNL] Fix PsGetCurrentThreadWin32ThreadAndEnterCriticalRegion

svn path=/trunk/; revision=60737
2013-10-23 19:31:41 +00:00