Commit graph

52666 commits

Author SHA1 Message Date
Johannes Anderwald 1f20d4f2f2 - Disable assert
CORE-6866

svn path=/trunk/; revision=58287
2013-02-04 12:39:40 +00:00
Johannes Anderwald b0eb2fb598 [EXPLORER]
- Fix taskbar icons

svn path=/trunk/; revision=58286
2013-02-04 12:09:35 +00:00
Amine Khaldi 4bc787a402 [IMM32_WINETEST]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=58285
2013-02-03 20:58:19 +00:00
Amine Khaldi a59dae7701 [IMM32]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=58284
2013-02-03 20:58:12 +00:00
Amine Khaldi 17c3c78605 [USP10_WINETEST]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=58283
2013-02-03 20:49:58 +00:00
Amine Khaldi 17089cd7b4 [USP10]
* Sync with Wine 1.5.19.

svn path=/trunk/; revision=58282
2013-02-03 20:49:47 +00:00
Thomas Faber 358bfbd6c8 [NTOSKRNL:OB]
- Actually fail when the maximum number of reparse attempts is reached in ObpLookupObjectName. It previously returned a pointer to whatever object was currently in charge of parsing, but without taking a reference to it.
- Fixes 'Header->HandleCount == 0' assertion failure (on \REGISTRY object) after running ntdll_winetest:reg three times (and also fixes the remaining test failure)

svn path=/trunk/; revision=58281
2013-02-03 20:15:54 +00:00
Amine Khaldi f65ef1e725 [EXPLORER_NEW]
* Add transparency to icons in the task bar and in the tray bar. Brought to you by Carlo Bramini.
CORE-6938 #resolve #comment Committed in r58279. Grazie ;)

svn path=/trunk/; revision=58279
2013-02-03 11:11:21 +00:00
Eric Kohl 0b9d197db8 [SAMSRV]
Add new passwords to the password history and move the whole password setting code into a separate function.

svn path=/trunk/; revision=58278
2013-02-03 00:13:53 +00:00
Timo Kreuzer 90047dad52 [MKHIVE]
Fix build, but remove support for architecture specific inf sections. This means livecd cannot have those until someone implements this. I give up...

svn path=/trunk/; revision=58276
2013-02-02 22:36:31 +00:00
Timo Kreuzer 8b7c62e84f [MKHIVE]
2nd try to fix *nix build

svn path=/trunk/; revision=58274
2013-02-02 22:08:53 +00:00
Timo Kreuzer 2cd667a6d8 [MKHIVE]
Try to fix *nix build

svn path=/trunk/; revision=58272
2013-02-02 22:05:47 +00:00
Timo Kreuzer 52b6469887 [SETUP]
- Implement support for architecture specific INF sections both in mkhive and in usetup (For an example, check hivesys.inf at the bottom)
- Get rid of architecture specific .inf files

svn path=/trunk/; revision=58271
2013-02-02 21:56:00 +00:00
Amine Khaldi 4db4c4b81f [NTOS/FSRTL]
* Remove a harmless ASSERT. Brought to you by Art Yerkes (arty).
CORE-6580 #resolve #comment Committed in 58270.

svn path=/trunk/; revision=58270
2013-02-02 18:49:53 +00:00
Johannes Anderwald c7ba42abc2 [LIBUSB]
- Fix bug introduced in 58268
- Spotted by Usurp

svn path=/trunk/; revision=58269
2013-02-02 17:26:03 +00:00
Johannes Anderwald b60486430f [USB]
- Add interface function to IUSBHardwareDevice, which returns the USB controller type
- The controller type is used for debugging in the common usb library (libusb)

svn path=/trunk/; revision=58268
2013-02-02 15:45:02 +00:00
Thomas Faber e1fa66b4e2 [CRT]
- Fix the strxfrm hack to allow dest == NULL.

svn path=/trunk/; revision=58267
2013-02-02 13:48:19 +00:00
Thomas Faber 0ce19565ed [NTOSKRNL:MM]
- Ignore the unsupported MEM_TOP_DOWN flag instead of failing NtAllocateVirtualMemory
CORE-6392 CORE-6805 #comment MEM_TOP_DOWN should be sufficiently fixed in r58266, and setup now starts. Please confirm.

svn path=/trunk/; revision=58266
2013-02-02 13:27:49 +00:00
Thomas Faber ffc5070e19 [EXPLORER_NEW]
- Do not use printf for startup debug messages
- Fix some (alas, not all) TCHAR misuse

svn path=/trunk/; revision=58265
2013-02-02 11:31:30 +00:00
Thomas Faber 2c829c1ad2 [EXPLORER_NEW]
- Prefer HeapAlloc over malloc

svn path=/trunk/; revision=58264
2013-02-02 11:14:58 +00:00
Thomas Faber 7537a1a708 [EXPLORER_NEW]
- Prefer HEAP_ZERO_MEMORY over a separate ZeroMemory call. Patch by Carlo Bramini.
CORE-6928 #resolve

svn path=/trunk/; revision=58263
2013-02-02 10:55:29 +00:00
Thomas Faber 37f8edd307 [EXPLORER_NEW]
- Process startup items before creating the desktop. Fix some comments, add TODOs. Based on patch by Edijs Kolesnikovičs.
CORE-6896 #resolve

svn path=/trunk/; revision=58262
2013-02-02 10:49:58 +00:00
Thomas Faber 6402d5fa10 [EXPLORER_NEW]
- Handle tray window notification to open start menu. By Edijs Kolesnikovičs & Grégori Macário Harbs.
CORE-6874 #resolve

svn path=/trunk/; revision=58261
2013-02-02 10:33:08 +00:00
Eric Kohl 627a195996 [SAMLIB]
SamSetInformationUser: Build the LM password and calculate the LM password hash in the UserSetPasswordInformation case.

svn path=/trunk/; revision=58259
2013-02-01 22:18:28 +00:00
Thomas Faber cdb9b56484 [NTOSKRNL:MM]
- More effective debugging
CORE-6929

svn path=/trunk/; revision=58258
2013-02-01 09:39:54 +00:00
Hermès Bélusca-Maïto 16bc7253b9 [BOOTDATA]
Remove a comment becoming pointless since revision r58255.

[WIN32SS]
Remove an operation, redundant since revision r58255.

svn path=/trunk/; revision=58257
2013-01-31 21:27:01 +00:00
Eric Kohl 3097671ab5 [SAMLIB]
SamSetInformationUser: Add special code for the UserSetPasswordInformation class that calculates the NT hash of the password and stores it by calling SamrSetInformationUser using the UserInternal1Information class.

svn path=/trunk/; revision=58256
2013-01-31 20:35:54 +00:00
Sylvain Petreolle 3bdd2d8119 Fix font substitutes registry key's name.
SysFontSubstitutes => FontSubstitutes.

svn path=/trunk/; revision=58255
2013-01-31 18:04:13 +00:00
Eric Kohl 43baa3ad91 [SAMSRV]
Fix SamrQueryInformationUser.UserInternal1Information.

svn path=/trunk/; revision=58254
2013-01-30 23:10:25 +00:00
Eric Kohl 3cdac21fae [SAMSRV]
Implement UserInternal1Information for SamrQueryInformationUser and SamrSetInformationUser.

svn path=/trunk/; revision=58252
2013-01-29 23:24:37 +00:00
Timo Kreuzer 1edcc31339 [CRT]
- Remove x64 asm stub for acos from cmake file, since we already have a generic C implementation
- Implement sqrt for amd64 in SSE, both in C and asm. While the C version would be sufficient, it's currently less portable due to the lack of mm intrinsics for GCC
- Silence a warning

svn path=/trunk/; revision=58251
2013-01-28 23:44:29 +00:00
Eric Kohl 57f9b8f9ab [SAMSRV]
Create user routines:
- Set fixed user attribute explicitly.
- Add missing Parameters attribute.
- Add empty (zero-sized) password and password history attributes.

svn path=/trunk/; revision=58250
2013-01-28 23:18:10 +00:00
Thomas Faber 71e05ace6d [INCLUDE:WINE]
- Fix host-tools build with clang

svn path=/trunk/; revision=58248
2013-01-28 19:21:29 +00:00
Thomas Faber 852517d18c [NTOSKRNL:MM]
- Validate virtual address range on pool free
CORE-6929
CORE-6712 #resolve

svn path=/trunk/; revision=58247
2013-01-28 18:58:55 +00:00
Thomas Faber 1a683bbb89 [NTOSKRNL:MM]
- Add a DPRINT with more info to the 'Hash == TableMask' assertion
- Validate pool tags on free also for big allocations
- Validate pool tag earlier, before tracking the free operation
CORE-6929

svn path=/trunk/; revision=58246
2013-01-28 18:27:21 +00:00
Pierre Schweitzer 55be9e4adc [NTOSKRNL]
Properly queue the IRP in IoCancelFileOpen()

svn path=/trunk/; revision=58245
2013-01-27 16:38:24 +00:00
Pierre Schweitzer 48c45bbe68 [NTOSKRNL]
Implement IoCancelFileOpen().

You can read: http://www.osronline.com/showThread.cfm?link=20807
Even though the proposed implementation is closer to W2K implementation than to W2K3 implementation

In W2K3, no IRP is issued with major close.

svn path=/trunk/; revision=58244
2013-01-27 16:18:00 +00:00
Pierre Schweitzer fc5c683b7b [NTOSKRNL]
Implement IopAllocateIrpMustSucceed() which is designed to *normally* always return an IRP.
Even in low memory situations (if you wait enough). 

svn path=/trunk/; revision=58243
2013-01-27 16:11:55 +00:00
Pierre Schweitzer a12df33047 [BUGCODES]
Add the bug code for IoCancelFileOpen()

svn path=/trunk/; revision=58242
2013-01-27 16:08:54 +00:00
Hermès Bélusca-Maïto 9fd0632528 [SMSS]
Revert my change of loading the win32k kernel-mode subsystem driver by reading the Kmode value and use instead a hardcoded value, per request of Alex.
I'm wondering why Windows wouldn't allow you to use a personalized value there and forces you to use win32k with this name, placed in \SystemRoot\System32 directory and not in an other place.

svn path=/trunk/; revision=58241
2013-01-27 13:55:04 +00:00
Thomas Faber 50b1d52ba9 [KSPROXY]
- Fix some MSVC and GCC 4.7 warnings

svn path=/trunk/; revision=58240
2013-01-27 11:39:09 +00:00
Pierre Schweitzer f7a609c7fc [NTOSKRNL]
In ObpCheckTraverseAccess() first try to perform a fast traverse check
before doing the entire access check.

svn path=/trunk/; revision=58239
2013-01-27 09:50:20 +00:00
Hermès Bélusca-Maïto 0b3f274e0e [SMSS]
- Uniformize the error messages and also, SmpParseCommand is SmpParseCommandLine in fact.
- Remove an unneeded cast since Flags is already ULONG.

svn path=/trunk/; revision=58238
2013-01-27 00:19:43 +00:00
Hermès Bélusca-Maïto 20acbf7dfa [BOOTDATA-SMLIB]
"SubSystems" name letter-case consistency modification.

svn path=/trunk/; revision=58237
2013-01-27 00:07:58 +00:00
Hermès Bélusca-Maïto 7ef6decbcf [SMSS]
Clarify a bit the code. No logical changes.

svn path=/trunk/; revision=58236
2013-01-26 23:56:07 +00:00
Hermès Bélusca-Maïto 3f7404e73b [SMSS]
Load the Win32k driver from the path mentioned in the Kmode value of the registry, not via a hardcoded value.

svn path=/trunk/; revision=58235
2013-01-26 23:43:28 +00:00
Hermès Bélusca-Maïto 4ad0f2245b [SERVICES]
Fix acquiring/releasing driver-loading and unloading privilege (see r57754) by using the RtlAdjustPrivilege API instead of using the standard user-mode Win32 API (thus get rid of calling LSA when calling LookupPrivilegeValueW).

svn path=/trunk/; revision=58233
2013-01-26 23:14:05 +00:00
Pierre Schweitzer 705173ebd5 [NTOSKRNL]
Fix a fixme in IopParseDevice() by calling SeFastTraverseCheck for traverse access check

svn path=/trunk/; revision=58231
2013-01-26 19:37:01 +00:00
Pierre Schweitzer e6f8602d9d [NTOSKRNL]
Implement SeFastTraverseCheck().
For more information, see:
- http://msdn.microsoft.com/en-us/library/windows/desktop/aa374872(v=vs.85).aspx
- http://msdn.microsoft.com/en-us/library/windows/desktop/aa446683(v=vs.85).aspx

svn path=/trunk/; revision=58230
2013-01-26 19:33:54 +00:00
Thomas Faber 073f350f87 [INCLUDE]
- Actually put in the C++ headers what our CRT implements, instead of some random mix of libstdc++ and who knows what. This means the header contents are somewhat outdated and non-standard, but that's preferable to unusable
- Fix a forward declaration in math.h

svn path=/trunk/; revision=58228
2013-01-26 18:34:33 +00:00