Commit graph

55033 commits

Author SHA1 Message Date
Thomas Faber 3def5beaf4 [NTOS:MM]
- Fix an invalid free

svn path=/trunk/; revision=60869
2013-11-05 20:41:25 +00:00
Thomas Faber 4d7a522726 [NDK][DDK][RTL]
- Correct prototypes and annotations and add missing declarations for Rtl string functions

svn path=/trunk/; revision=60868
2013-11-05 20:40:01 +00:00
James Tabor a9c4683b20 - Fix win test crash.
svn path=/trunk/; revision=60867
2013-11-05 19:53:56 +00:00
Giannis Adamopoulos 1f18e732a8 [shell32_apitest]
- CLSID_ShellFSFolder should also export IID_IStorage

svn path=/trunk/; revision=60866
2013-11-05 09:28:05 +00:00
James Tabor 60dada364b - Fix condition when lParam is null and not allow it to go into exception.
svn path=/trunk/; revision=60865
2013-11-04 04:26:40 +00:00
James Tabor 745c57ba70 - Fix msvc build.
svn path=/trunk/; revision=60864
2013-11-04 02:54:21 +00:00
James Tabor 49c64a52dd [User32]
- Fix message A to W to A to W. See CORE-7447.

svn path=/trunk/; revision=60863
2013-11-04 02:41:28 +00:00
James Tabor d6132d4c02 - Use LoadLibrary and only free it only when loaded.
svn path=/trunk/; revision=60862
2013-11-04 01:31:19 +00:00
James Tabor 821b74d168 - Init module handle.
svn path=/trunk/; revision=60861
2013-11-04 00:58:32 +00:00
James Tabor 97d07b958b - Turn off traces.
svn path=/trunk/; revision=60859
2013-11-03 23:44:59 +00:00
James Tabor 01263aac8b [User32]
- Add context hack from wine. Pass alt tab info calls to win32k.
- From wine: Alexandre Julliard : user32: Automatically load comctl32 when one of its classes is requested.

svn path=/trunk/; revision=60858
2013-11-03 23:19:59 +00:00
Thomas Faber 16c4fe33fb [RSYM]
- Include string table in checksum calculation
CORE-7547 #resolve

svn path=/trunk/; revision=60852
2013-11-03 19:01:03 +00:00
Benedikt Freisen d5e5e58ebf [PAINT]
* apply patch from [#CORE-7521] (paint fails silently if a file could not be opened)
* apply patch from [#CORE-7311] (fix and improve resource and UI) in modified form
New resource strings are involved => please check translations

svn path=/trunk/; revision=60850
2013-11-03 14:37:42 +00:00
Giannis Adamopoulos 3c3c040a1a [shell32]
- Hackix F5 accelerator by moving it for now to the accelerator table of the shell view control
- Use uppercase letters in the accelerator table in order to make windres compile it properly.
- shell accelerators should work fine now

svn path=/trunk/; revision=60848
2013-11-03 14:28:40 +00:00
Giannis Adamopoulos 996c436ef2 [shell32]
- When the caller uses SVGIO_BACKGROUND we should always return a context menu of the background. To do it we pass no items to CDefFolderMenu even when we have selected items. Should improve the situation for ctrl+c, ctrl+v in the shell

svn path=/trunk/; revision=60845
2013-11-03 13:15:52 +00:00
Thomas Faber c919f3e29f [SHELL32]
- Use correct constants for return values. Patch by Ivan Rodionov.
CORE-7543 #resolve

svn path=/trunk/; revision=60844
2013-11-03 12:03:54 +00:00
Dmitry Gorbachev 40ad1910ef [TCPSVCS]
Fix buffer size.

svn path=/trunk/; revision=60843
2013-11-03 11:04:59 +00:00
Timo Kreuzer a7708e17cc [PSEH3] Enable it by default.
svn path=/trunk/; revision=60839
2013-11-02 20:42:13 +00:00
Timo Kreuzer 2324ecfbb8 [MSV1_0]
Fix a bug (LsarClose must be passed a pointer to a LSAPR_HANDLE, not the handle itself)

svn path=/trunk/; revision=60838
2013-11-02 18:34:18 +00:00
Timo Kreuzer 1b54b4882c [PSEH3]
Fix a bug that could result in an endless loop and which caused the bootcd to hang on an exception.

svn path=/trunk/; revision=60837
2013-11-02 16:50:50 +00:00
Timo Kreuzer 1dce7e61b1 [PSEH2_TEST]
Add a test that fails with PSEH3

svn path=/trunk/; revision=60836
2013-11-02 16:48:45 +00:00
Dmitry Gorbachev d02e9a02fa [SAC]
Remove extra definitions of variables.

svn path=/trunk/; revision=60835
2013-11-02 14:48:01 +00:00
Eric Kohl 10e3457aad [USERENV]
Get the user name and domain name from the logon token and set the USERNAME and USERDOMAIN environment variables accordingly.

svn path=/trunk/; revision=60834
2013-11-02 14:45:26 +00:00
Dmitry Gorbachev 755334ff27 Remove some stuff added for old GCC versions.
svn path=/trunk/; revision=60833
2013-11-02 14:33:18 +00:00
Dmitry Gorbachev 5385764edf [CMAKE]
Reduce the disk space needed to build ReactOS (disabled for LTCG builds - linker bug #15143).

svn path=/trunk/; revision=60832
2013-11-02 13:56:47 +00:00
Dmitry Gorbachev 14d4a4fd26 [ATACTL]
Fix CORE-7042.

svn path=/trunk/; revision=60831
2013-11-02 13:54:48 +00:00
Timo Kreuzer bbac15c931 [WIN32K] Silence some debugprints
svn path=/trunk/; revision=60830
2013-11-02 13:15:01 +00:00
Timo Kreuzer 87d4eb75dc [WIN32K]
- Don't ASSERT the correct ConsoleCtrlInfoLength in NtUserConsoleControl
- Move GreSetObjectOwnerEx out of the SEH block.

svn path=/trunk/; revision=60829
2013-11-02 12:41:38 +00:00
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