Commit graph

56346 commits

Author SHA1 Message Date
James Tabor 4498725892 [User32Test]
- Patch by Henri Verbeet : Fix TEXT_WordBreak() when no characters fit.
- Update text to wine head.

svn path=/trunk/; revision=62487
2014-03-13 01:39:31 +00:00
James Tabor fa0e017d2a [User32]
- Patch by Henri Verbeet : Fix TEXT_WordBreak() when no characters fit.
- Sync port from wine.

svn path=/trunk/; revision=62486
2014-03-13 01:36:31 +00:00
Pierre Schweitzer 6d582f3f95 [FASTFAT]
Also cleanup ongoing notifications during cleanup.

This fixes kernel32:change winetests crash.
This gets us from 300 tests executed, 134 failed to 312 executed, 33 failed.

CORE-2582

svn path=/trunk/; revision=62485
2014-03-12 19:58:11 +00:00
Pierre Schweitzer 3d31a14caa [NTOSKRNL]
Properly compute file name length for output buffer
CORE-2582

svn path=/trunk/; revision=62484
2014-03-12 19:54:08 +00:00
Timo Kreuzer a0173baa19 [NTOSKRNL]
Fix a bug in MmGetPhysicalAddress, that resulted in unwanted sign extension of physical addresses > 2GB. Will hopefully fix some uniata related issues.

svn path=/trunk/; revision=62482
2014-03-11 22:56:31 +00:00
Timo Kreuzer 7ceac2f6a4 [NTOSKRNL]
Massive cleanup of old and deprecated "Ros-Mm"-Code

svn path=/trunk/; revision=62481
2014-03-11 22:51:22 +00:00
Timo Kreuzer de561c683e [PSDK]
winternl.h: Fix RtlLookupAtomInAtomTable prototype (should be sent to wine? not sure)

svn path=/trunk/; revision=62480
2014-03-11 22:48:04 +00:00
Timo Kreuzer c82b3ee66d [PSDK]
intsafe.h: fix a comment and 2 benign "typos"

svn path=/trunk/; revision=62479
2014-03-11 22:46:49 +00:00
Eric Kohl 15d43e5a94 [MSGINA]
Do not close the logon dialog if the user failed to log on.

svn path=/trunk/; revision=62478
2014-03-11 20:33:25 +00:00
Aleksey Bragin e6fb12f8ca [NTOS]
- Remove unneeded macro by David Welch in 2002 and me in 2003.

svn path=/trunk/; revision=62477
2014-03-11 18:46:32 +00:00
Amine Khaldi 2c26c653a9 [SHELL32_APITEST]
* Plug some leaks. CIDs 1106362, 1106363 and 1106364.
CORE-7975

svn path=/trunk/; revision=62474
2014-03-11 13:06:09 +00:00
Ged Murphy 3bce7d16d7 [NTOSKRNL]
- Fix the buffer size check / set

svn path=/trunk/; revision=62473
2014-03-11 10:53:06 +00:00
Pierre Schweitzer cb87e96df6 [FASTFAT]
Add support for more notifications on file modification.

CORE-2582

svn path=/trunk/; revision=62471
2014-03-11 07:22:28 +00:00
Christoph von Wittich 32cd2f8ced [comctl32]
rename TBSTYLE_EX_UNDOC1 to TBSTYLE_EX_VERTICAL

svn path=/trunk/; revision=62470
2014-03-11 05:09:14 +00:00
Eric Kohl 0e9938326d [MSGINA]
Display warning messages if a user tries to log on using a non-existing account name, a wrong password or if the account was disabled.

svn path=/trunk/; revision=62468
2014-03-09 17:48:42 +00:00
Christoph von Wittich d9eab6f7d4 [usetup]
exit when no usable disks are found

svn path=/trunk/; revision=62467
2014-03-09 14:19:56 +00:00
Timo Kreuzer 7165a7c35b [PSEH3]
- Add AllocaFrame field to the exception registration record. It is required for Clang and C++ handlers.
- Fix the way how "nested functions" are emulated on Clang and C++, respecting the fact that the compiler can and will use a temporary esp-based stack frame below any alloca-allocations for function invocation. This uses the AllocaFrame field to calculate and setup a new temp stack frame for the "nested functions".
- Make use of the HandlerType field in the exception registration record to use different methods for invoking filters / finally functions.
- Write @_SEH3$_CallRtlUnwind@4 in raw asm instead of inline, because Clang cannot deal with stdcall decorations in inline asm (see http://llvm.org/bugs/show_bug.cgi?id=19027)
- Make sure ExceptionPointers are properly initialized in _SEH3$_except_handler

svn path=/trunk/; revision=62466
2014-03-09 13:55:26 +00:00
Timo Kreuzer 1ff93cb52e [WINE/TEST.H]
Add explicit casts, so that the header can be used from C++

svn path=/trunk/; revision=62465
2014-03-09 12:48:25 +00:00
Eric Kohl 88a9cdffba [MSGINA]
- Split DoLoginTasks into DoLoginTasks and CreateProfile, and fix all callers of DoLoginTasks accordingly.
- Make DoLoginTasks pass the SubStatus from MyLogonUser to its caller.
- Move the logon code from LoggedOutWindowProc to a new function DoLogon and add some experimental code to report logon errors to the user (still WIP).

svn path=/trunk/; revision=62464
2014-03-08 22:13:19 +00:00
Eric Kohl e4fbb93e96 [LSALIB]
LsaLogonUser: Pass the SubStatus to the caller before leaving the function in case of an error.

svn path=/trunk/; revision=62463
2014-03-08 21:12:07 +00:00
Timo Kreuzer 315180ba07 [PSEH3]
Add a bit more code to support Clang and C++.

svn path=/trunk/; revision=62462
2014-03-08 18:57:45 +00:00
Hermès Bélusca-Maïto 9602dba13e [CONSRV]: Fix menu ids for not clashing with user-defined ones.
svn path=/trunk/; revision=62461
2014-03-08 16:44:04 +00:00
Hermès Bélusca-Maïto a0c9db7610 [KERNEL32][CONSRV]
Make kernel32 / winsrv console CSR structures Win2k3-compliant.
The aim is to be able to put our kernel32.dll or winsrv.dll on win2k3, and vice-versa.

Most of the changes consist in:
- adding a HANDLE ConsoleHandle; to the structures, representing the console handle of the current application;
- reorganizing the order of the members in the different structures;
- few structures need to hold a event handle because it appears that some APIs create a event handle to perform some sort of synchronization with the console server (this is totally unused at the moment).
- Since CsrClientCallServer returns the value of ApiMessage.Status, then just use ApiMessage.Status instead of declaring another Status variable for querying the return value of CsrClientCallServer.

Part 1/X

Aside:
The VerifyConsoleIoHandle winetest problem is solved here (see CORE-7941 for more details).
CORE-7941 #resolved #comment Fixed in revision 62460, thanks :)

CORE-7931

svn path=/trunk/; revision=62460
2014-03-08 15:31:05 +00:00
Timo Kreuzer 7647ccfb92 [PSEH3]
Move the generation of the nested filter function to a different location 

svn path=/trunk/; revision=62459
2014-03-08 12:38:12 +00:00
Timo Kreuzer c2f825a0fe [PSEH3]
Enforce the use of a frame pointer in all functions that use PSEH, even when -fomit-frame-pointer option was specified. This way we don't need to explicitly tell PSEH with a global define, whether we have a frame pointer or not, which would also probably not have worked together with alloca().

svn path=/trunk/; revision=62458
2014-03-08 11:51:51 +00:00
Timo Kreuzer dc64b5bd63 [NPFS/NTOSKRNL]
Silence 2 more debug prints that are not so useful.

svn path=/trunk/; revision=62457
2014-03-08 11:37:03 +00:00
Timo Kreuzer 4ff9f64d52 [ACPI]
Silence some debug prints

svn path=/trunk/; revision=62456
2014-03-08 11:28:21 +00:00
Pierre Schweitzer b4a3df8d3f [NTOSKRNL]
Integrate Timo's review:
- Fix pointer arithmetic
- Remove unless variable

CORE-2582

svn path=/trunk/; revision=62455
2014-03-08 09:03:59 +00:00
Pierre Schweitzer ed057abe86 [VGAFONTEDIT]
- Fix CMake script (for PCH)

[IMAGESOFT]
- Fix CMake script (for PCH)

[GREEN]
- Add header guard
- Fix CMake script (for PCH)

This fixes rosapps build with RosBE 2.1.1

CORE-7716

svn path=/trunk/; revision=62454
2014-03-08 08:47:03 +00:00
Pierre Schweitzer 70dc7b586e [NOTSKRNL]
Fix Frenchism, spotted by Christoph

svn path=/trunk/; revision=62447
2014-03-07 21:51:11 +00:00
Pierre Schweitzer a101d80ab6 [FASTFAT]
Properly handle directories when notifying the kernel about creation.

This makes the MS test application fully passing on ReactOS.
You can find it at: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365261%28v=vs.85%29.aspx

CORE-2582

svn path=/trunk/; revision=62446
2014-03-07 20:30:29 +00:00
Pierre Schweitzer 3d38a13543 [FASTFAT]
Add really limited support for file system notifications.
In case of file creation, we report this.

More cases are missing, such as: dir creation, attributes change, size change, last write change.
See: http://msdn.microsoft.com/en-us/library/windows/desktop/aa364417%28v=vs.85%29.aspx as a reference

CORE-2582

svn path=/trunk/; revision=62445
2014-03-07 19:46:37 +00:00
Pierre Schweitzer d315b7bb39 [FASTFAT]
- Implement VfatNotifyChangeDirectory which handles file system notifications registration
- Also add support to dispatch routine for not queuing IRPs when pending and not required
CORE-2582

svn path=/trunk/; revision=62444
2014-03-07 19:42:54 +00:00
Pierre Schweitzer 0ef03fcf25 [FASTFAT]
Add required fields to handle file system notifications to device extension/VCB and properly initialize them on volume mount

svn path=/trunk/; revision=62443
2014-03-07 19:38:35 +00:00
Pierre Schweitzer 623048035a [NTOSKRNL]
- Implement FsRtlNotifyFilterReportChange
- Implement FsRtlNotifyUpdateBuffer
- Implement FsRtlCancelNotify
- Implement FsRtlNotifyGetLastPartOffset
- Fix implementation of FsRtlNotifyFilterChangeDirectory

This finishes the implementation of file system notifications inside the kernel.
Data are properly returned to the caller on changes.

CORE-2582

svn path=/trunk/; revision=62442
2014-03-07 19:33:38 +00:00
Amine Khaldi ce66ff5056 [XINPUT1_3]
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62434
2014-03-05 14:31:26 +00:00
Amine Khaldi eb5a260b2e [WINMM]
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62431
2014-03-05 12:46:34 +00:00
Amine Khaldi ec1dcd341e [USER32]
* Mark some APIs as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62430
2014-03-05 12:36:04 +00:00
Amine Khaldi 1116c00fa2 [SHELL32]
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62428
2014-03-05 12:12:05 +00:00
Amine Khaldi 19962054f9 [NTDLL]
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62427
2014-03-05 12:06:28 +00:00
Amine Khaldi 4e25055d91 [KERNEL32]
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62425
2014-03-05 11:45:39 +00:00
Amine Khaldi 41202d274f [CMAKE]
* User the proper target var name.
CORE-7959

svn path=/trunk/; revision=62424
2014-03-05 11:39:15 +00:00
Amine Khaldi 47ce544479 [WIN-ICONV]
* Import a library that provides iconv implementation using Win32 API.
[LIBXML2][LIBXSLT][MSXML3]
* Make use of this library to support Windows-1252 encoding.
* Fixes some failed msxml:domdoc tests.
CORE-6697

svn path=/trunk/; revision=62423
2014-03-05 10:42:27 +00:00
Hermès Bélusca-Maïto 61d834485b [APITESTS:kernel32]
Be more specific about which last error we expect.

svn path=/trunk/; revision=62419
2014-03-05 01:53:46 +00:00
Jérôme Gardou 73100dd557 [VFATLIB]
- remove useless dependency to psdk

svn path=/trunk/; revision=62418
2014-03-04 21:28:25 +00:00
Amine Khaldi 2b1527a421 [FREETYPE]
* Update to version 2.5.2. Thanks to Robert Naumann for providing a patch that I used as a base for this.
[WIN32K]
* Update the FreeType header inclusions.
CORE-7719

svn path=/trunk/; revision=62417
2014-03-03 20:41:39 +00:00
Eric Kohl 50c9a384f4 [ADVAPI32]
Implement the ANSI part of ion's half done patch from r59843. Fixes two more service bugs.

svn path=/trunk/; revision=62413
2014-03-03 15:44:44 +00:00
James Tabor 6334f63dbc [WinSS]
- Fix activate modal dialog when clicking on a disabled window (part 2) without zorder support. Other than clicking the tool bar, it will help activate the popup and bring it to the top. Panic mode support.
- Adapt window from point to ignore disabled windows. Attempting to fill a code hole. See CORE-6651.

svn path=/trunk/; revision=62410
2014-03-03 06:38:45 +00:00
Eric Kohl 6e275a78d2 [SERVICES]
RSetServiceStatus:  Set the wait hint and check point only if the service is in a pending state, otherwise they should be 0.

svn path=/trunk/; revision=62408
2014-03-02 23:39:20 +00:00
James Tabor d0ba06e7f2 - Move code, this relates to CORE-6651.
svn path=/trunk/; revision=62405
2014-03-02 22:42:00 +00:00