Commit graph

52621 commits

Author SHA1 Message Date
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
Thomas Faber 25c6b6c631 [STLPORT] - Add basic_fstream(FILE *) constructor to make up for the completely broken basic_fstream(int) one
[EXPLORER] - Fix accordingly. Also fix totally broken initialization order in t[io]fstream

svn path=/trunk/; revision=58227
2013-01-26 18:21:39 +00:00
Pierre Schweitzer 6e0c97bcbe [NTOSKRNL]
Fix a fixme in IopParseDevice() by calling SeOpenObjectAuditAlarm().
Won't change anything right now since it calls a stub.

svn path=/trunk/; revision=58226
2013-01-26 17:29:18 +00:00
Thomas Faber 94bb4b7aaf [EXPLORER]
- Use set_cpp instead of hand-coding all the parameters
- Use comutil.h and link with comsupp unconditionally, since we now have them
- Use STLPort-compatible filebuf constructor for TCHAR iostreams
- Fix a few MSVC and GCC 4.7 errors/warnings

svn path=/trunk/; revision=58224
2013-01-26 15:06:49 +00:00
Thomas Faber 9f6d7cdd67 [CRT]
- Import C++ compiler support headers from mingw-w64 (with some fixes)
- Implement the required parts of the comsupp library

svn path=/trunk/; revision=58223
2013-01-26 13:33:15 +00:00
Eric Kohl 8479fd6f47 [SAMSRV]
Implement SamrQueryDisplayInformation2, SamrGetDisplayEnumerationIndex2 and SamrQueryDisplayInformation3.

svn path=/trunk/; revision=58222
2013-01-26 13:03:33 +00:00
Eric Kohl 31309d62c1 [SAMSRV]
Implement SamrQueryInformationDomain2 and SamrQueryInformationUser2.

svn path=/trunk/; revision=58221
2013-01-26 12:18:55 +00:00
Eric Kohl 085adf3da0 [SAMSRV]
Start implementing SamrDeleteAlias and SamrDeleteUser. WIP

svn path=/trunk/; revision=58220
2013-01-26 11:23:05 +00:00
Timo Kreuzer 1cb3985a69 [FREELDR]
Return NULL, not FALSE on failure in Ext2ReadBlockPointerList

svn path=/trunk/; revision=58219
2013-01-26 09:34:12 +00:00
Thomas Faber 5994749f53 [BROWSEUI_APITEST]
- Add a test for SHExplorerParseCmdLine.
CORE-5568

svn path=/trunk/; revision=58218
2013-01-25 23:24:46 +00:00
Thomas Faber 8900ea9af6 [EXPLORER_NEW]
- Do not allow multiple "Taskbar and Start Menu Properties" windows. Based on patch by Edijs Kolesnikovičs & Grégori Macário Harbs.
CORE-6885 #resolve

svn path=/trunk/; revision=58217
2013-01-25 22:28:41 +00:00
Eric Kohl 97d934c8be [SAMSRV]
- Add missing domain information types to ntsam.h and fix conflicts in ntsecapi.h and sam.idl.
- Add SamChangePasswordUser, SamChangePasswordUser2 and SamChangePasswordUser3 stubs.

svn path=/trunk/; revision=58216
2013-01-25 20:36:23 +00:00
Sylvain Petreolle 379c1bba14 [USP10]
Fix ros_diff line endings.

svn path=/trunk/; revision=58215
2013-01-25 18:07:06 +00:00
Amine Khaldi 2bd930547c * Slap *some* sense into our header inclusions.
* This significantly shrinks the dependency tracking data and the compiled objects size, which speeds up the whole build process (especially the incremental builds) accelerating the daily development as a result.
* No intended code changes, ~27% smaller build. Enjoy ;)

svn path=/trunk/; revision=58214
2013-01-24 23:00:42 +00:00
Amine Khaldi 7d4974af75 [SHELL32_WINETEST]
* Add some missing includes.

svn path=/trunk/; revision=58212
2013-01-24 22:20:54 +00:00
Amine Khaldi d6e068a86c [EXPAT]
* Don't compile a static lib out of it.

svn path=/trunk/; revision=58209
2013-01-23 22:55:35 +00:00
Thomas Faber 8c4e91a1fc [EXPLORER_NEW]
- Do not allow multiple run dialogs. Based on patch by Edijs Kolesnikovičs & Grégori Macário Harbs.
CORE-6871 #resolve

svn path=/trunk/; revision=58208
2013-01-23 21:07:37 +00:00
Amine Khaldi 87644827ce [LIB/ATL]
* Fix a typo.
* Remove a redundant assign.

svn path=/trunk/; revision=58207
2013-01-23 19:09:52 +00:00
Dmitry Gorbachev 015d42cf42 Fix MSVC build.
svn path=/trunk/; revision=58206
2013-01-22 23:50:02 +00:00
Timo Kreuzer 062d16ac10 [INCLUDE]
- Remove duplicate dllimport attributes CORE-6917 #resolve
- Add annotations for wcslen
- Add kernelspecs.h (complete)
- Add some more entries in driverspecs.h
- Fix a number of annotations

svn path=/trunk/; revision=58204
2013-01-22 22:51:51 +00:00
Dmitry Gorbachev 9ba418e493 [TRANSLATION]
Hebrew translations by Baruch Rutman. CORE-6904.

svn path=/trunk/; revision=58203
2013-01-22 22:46:45 +00:00
Dmitry Gorbachev 73e8d00d1d [VGAFONTS]
Add bitmap font for code page 862. Hebrew glyphs are from X11 font 
"Schumacher Clean" (see license below), modified by Baruch Rutman 
(peterooch*at*gmail*dot*com). CORE-6912.

Copyright 1989 Dale Schumacher, dal@syntel.mn.org
               399 Beacon Ave.
               St. Paul, MN  55104-3527

Permission to use, copy, modify, and distribute this software and
its documentation for any purpose and without fee is hereby
granted, provided that the above copyright notice appear in all
copies and that both that copyright notice and this permission
notice appear in supporting documentation, and that the name of
Dale Schumacher not be used in advertising or publicity pertaining to
distribution of the software without specific, written prior
permission.  Dale Schumacher makes no representations about the
suitability of this software for any purpose.  It is provided "as
is" without express or implied warranty.

svn path=/trunk/; revision=58202
2013-01-22 22:41:31 +00:00
Dmitry Gorbachev e368e3af90 [CMAKE]
- Improve help strings for GCC optimization levels.
- Add new -Ofast and -Og levels.
- Simplify gcc.cmake a bit.
- Use MINGW_TOOLCHAIN_SUFFIX.

svn path=/trunk/; revision=58201
2013-01-22 22:38:40 +00:00
Timo Kreuzer 7bc3ce6d8e [NTOSKRNL]
Some keyed event fixes: disable APCs before acquiring the pushlock, close handle on exception, check if a wait was aborted and remove the wait list entry from the list in that case.

svn path=/trunk/; revision=58200
2013-01-21 20:58:23 +00:00
Timo Kreuzer 154f585353 [RTL]
Formatting, no code change

svn path=/trunk/; revision=58197
2013-01-20 11:03:10 +00:00
Eric Kohl 7a779210ab [SAMSRV]
- Add a generic delete function for database objects.
- Do not create Members sub keys for group objects.
- Get rid of the SamDbContainerObject object type.
- Implement SamrDeleteGroup.

svn path=/trunk/; revision=58196
2013-01-20 10:22:15 +00:00
Thomas Faber 56704cdb76 [BROWSEUI]
- Build an import library

svn path=/trunk/; revision=58195
2013-01-20 08:57:34 +00:00
Timo Kreuzer 474c3afc11 [SAL.H] "Implement" all used annotations
[XDK/DDK] Add missing annotations, move some prototypes to more appropriate headers
[NDK] Fix a number of annotations
[NDK] Use SAL2 dummys from umtypes as well

svn path=/trunk/; revision=58193
2013-01-19 21:49:12 +00:00
Thomas Faber f70cfa3c30 [EXPLORER_NEW]
- Restructure TaskSwitchWnd_CheckActivateTaskItem. No logic change intended.

svn path=/trunk/; revision=58192
2013-01-18 23:34:51 +00:00
Amine Khaldi de76dbe73f [SHELL32]
* Fix a typo.

svn path=/trunk/; revision=58189
2013-01-18 17:19:23 +00:00
Amine Khaldi b0376fc9fa [SETUPAPI]
* Don't check the return twice here.

svn path=/trunk/; revision=58188
2013-01-18 15:52:10 +00:00
Eric Kohl 8c365a1421 [SAMSRV]
Fix SamrRemoveMemberFromGroup.

svn path=/trunk/; revision=58187
2013-01-17 22:05:37 +00:00
Thomas Faber b8577036db [EXPLORER_NEW]
- Hide minimized window captions (and enable shell notifications, thus fixing taskbar buttons). This should have been in r57978, but got lost.
- From Andrew Green's GSoC branch. Spotted by Edijus.
CORE-6899 #resolve

svn path=/trunk/; revision=58186
2013-01-17 11:02:30 +00:00
Hermès Bélusca-Maïto a5192cf84c [EXPLORER_NEW]
- Italian Translation and fix duplicate MENUITEM in fr-FR.rc, ko-KR, no-NO.rc files. Patch by Ivan Di Francesco.
- Adapt a little bit French translation (by me).

CORE-6908 #resolve #comment Committed in r58185. Thanks !

svn path=/trunk/; revision=58185
2013-01-16 23:24:07 +00:00
Hermès Bélusca-Maïto 8d5316a95e [KERNEL32]
No need to use a UNICODE_STRING there.

svn path=/trunk/; revision=58183
2013-01-16 00:28:09 +00:00
Hermès Bélusca-Maïto 3297132e50 "always", not "allways" !!!!!!!!!!!!!!
svn path=/trunk/; revision=58181
2013-01-15 23:26:45 +00:00
Hermès Bélusca-Maïto 05bc0402cc Forgot this one.
svn path=/trunk/; revision=58180
2013-01-15 23:25:56 +00:00
Hermès Bélusca-Maïto ccf292a193 "always", not "allways" !!!!
svn path=/trunk/; revision=58179
2013-01-15 23:23:20 +00:00
Eric Kohl 6b883db864 [SAMSRV]
Implement SamrSetMemberAttributesOfGroup.

svn path=/trunk/; revision=58176
2013-01-14 21:56:45 +00:00
Timo Kreuzer 813f23e2bd [NTOSKRNL] Initialize MmCriticalSectionTimeout and use it to setup the value in the PEB (We currently continue to use 2.5 minutes, as opposed to the 30 days that Windows uses). Probe and copy the timeout value in NtWaitForKeyedEvent and NtReleaseKeyedEvent.
[RTL] Use RtlpTimeout for critical sections, which is initialized from the PEB. Implement using the LowMemory keyed event, when allocating the normal event failed.

svn path=/trunk/; revision=58175
2013-01-14 13:55:12 +00:00
Timo Kreuzer ece7ea44f6 [RTL] Inititalize the heap lock pointers with actual storage before calling RtlInitializeHeapLock
svn path=/trunk/; revision=58174
2013-01-14 10:58:16 +00:00
Timo Kreuzer 69bc32e0f6 [RTL/NTOSKRNL]
- Seperate some usermode only heap functions into their own file and implement dummys in the kernel rtl so that they don't get included in the kernel
- Convert usage of RTL_CRITICAL_SECTION in heappage.c to use of HEAP_LOCK
- Implement A kernel dummy for RtlCallVectoredExceptionHandlers, so we don't put vectored exception handler code into ntoskrnl
- Now we don't have critical section code in the kernel anymore, which wasn't working anyway.

svn path=/trunk/; revision=58173
2013-01-14 09:35:50 +00:00
Thomas Faber 70ff0357a0 [MSVCRT]
- Improve file description. Patch by Lee Schroeder.
CORE-6895 #resolve

svn path=/trunk/; revision=58172
2013-01-14 09:31:15 +00:00
Thomas Faber 6864baa2aa [EXPLORER_NEW]
- Check policy before processing startup items. Simplify startup code. Patch by Edijs Kolesnikovičs.

svn path=/trunk/; revision=58171
2013-01-13 20:13:30 +00:00
Eric Kohl ce07958bd9 [SAMSRV]
Implement SamrGetMembersInGroup.

svn path=/trunk/; revision=58170
2013-01-13 19:51:33 +00:00
Timo Kreuzer 823910690a [NDK] Revert accidental changes.
svn path=/trunk/; revision=58165
2013-01-13 15:02:38 +00:00