Commit graph

52147 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto 779ce9effe [CSRSS/CSRSRV]
- Do not compile anymore the old CSRSS.
- Update some headers and resource files.
- Add header guards in srv.h

svn path=/trunk/; revision=57402
2012-09-27 18:44:50 +00:00
Hermès Bélusca-Maïto c930d17a3c [BOOTDATA]
- Correct the version signature of some inf files.

CORE-6549 #comment Committed in rev.57401 #resolved

svn path=/trunk/; revision=57401
2012-09-27 18:18:36 +00:00
Hermès Bélusca-Maïto 572d5fcaeb [NTOSKRNL]
Coverity code defects fixes :
- Cache: CID 701441
- Config: CIDs 716570, 716669, 716760
- Dbgk: Kdbg: CIDs 716571, 515128/9, 500432
- Ex: CIDs 500156/7, 515122, 716200/67, 701301, 514669
- Fsrtl: Fstub: CIDs 701341/2, 701288, 716770, 701302, and CIDs 716576/7/8 + 514636 + 716805 thanks to Thomas Faber
- Io: CIDs 514576, 514643, 514672/3, 716203, 716269, 716581, 716591, 716713
- Ke: CIDs 515125, 716592
- Ps: CIDs 716603/4, 701422
- Ob: Po: CIDs 514671/680, 701419/420/421, 716763, 716601/2
All the details are given in the different bug reports.

CORE-6677 CORE-6679 CORE-6680 CORE-6683 CORE-6686 CORE-6692 CORE-6693 CORE-6694 CORE-6695 CORE-6696 #comment Committed in rev.57400 #resolve #close

svn path=/trunk/; revision=57400
2012-09-27 17:16:31 +00:00
Hermès Bélusca-Maïto 31418a2eb5 [NTOSKRNL]
- Code formatting
- It's my first commit \o/
CORE-6687 #comment Committed. #resolve

svn path=/trunk/; revision=57399
2012-09-27 13:39:14 +00:00
Eric Kohl ccdee96401 [ADVAPI32]
Implement LsaQuerySecurityObject and LsaSetSecurityObject.

svn path=/trunk/; revision=57398
2012-09-27 09:57:43 +00:00
Eric Kohl a19df8170d [LSASRV]
- Implement the PolicyDnsDomainInformation class of LsarQueryInformationPolicy and enable the PolicyModificationInformation class.
- Add required attributes to the initialization code.

svn path=/trunk/; revision=57397
2012-09-26 22:51:12 +00:00
Amine Khaldi e897519bf8 * Revert r57394 as per Mike's request.
svn path=/trunk/; revision=57395
2012-09-26 19:38:42 +00:00
Mike Nordell 1f1e85bee6 [LIB:3RDPARTY] Add iconv.
svn path=/trunk/; revision=57394
2012-09-26 19:18:13 +00:00
Thomas Faber f0d72063a8 [NTDLL_APITEST]
- Use GetProcAddress for RtlGetFullPathName_UstrEx to allow running the test on WinXP

svn path=/trunk/; revision=57393
2012-09-26 18:15:44 +00:00
Sylvain Petreolle 6b568374dd [KERNEL32]
Remove svn:keywords properties.

svn path=/trunk/; revision=57392
2012-09-26 17:49:14 +00:00
Eric Kohl c7dbcac228 [LSASRV]
- Implement most missing information classes of LsarQueryInformationPolicy.
- Add initialization code for new attributes of the policy object.
- Implement LsarQueryInformationPolicy2 and LsarSetInformationPolicy2.

svn path=/trunk/; revision=57391
2012-09-26 16:15:29 +00:00
Mike Nordell 2e2e4fca4e [ROSTEST:APITEST:NTDLL] Give RtlDosPathNameToNtPathName_U more descriptive failure messages, and more tests.
svn path=/trunk/; revision=57390
2012-09-26 15:06:56 +00:00
Timo Kreuzer d10b8009fb [PSDK/DDK/XDK]
- Remove duplicated definitions from ntddk.h
- Fix annotations in ntifs.h, wdm.h, ntgdi.h, winddi.h
[NDK]
- Declare most of the heap functions only for user mode
- Remove duplicate RtlGetNtGlobalFlags()

svn path=/trunk/; revision=57389
2012-09-26 09:40:44 +00:00
Mike Nordell 450eea9c2a [ROSTEST:APITEST:NTDLL]\nFlesh out test for RtlDosPathNameToNtPathName_U.
svn path=/trunk/; revision=57388
2012-09-26 02:56:01 +00:00
Amine Khaldi 4304f847cb [W32KNAPI]
* Silence some warnings.

svn path=/trunk/; revision=57387
2012-09-25 21:30:25 +00:00
Amine Khaldi c61f485d4d [FRAMEBUF_NEW]
* Explicitly mark the functions as stdcall.

svn path=/trunk/; revision=57386
2012-09-25 21:10:12 +00:00
Amine Khaldi 48fc82f317 [CDROM_NEW]
* Explicitly mark the functions as stdcall.
* Fix warnings.

svn path=/trunk/; revision=57385
2012-09-25 20:59:32 +00:00
Eric Kohl cd89ea4d2f [PSDK]
Remove non-existing enumeration _POLICY_LOCAL_INFORMATION_CLASS and functions LsaQueryLocalInformationPolicy and LsaSetLocalInformationPolicy.

svn path=/trunk/; revision=57384
2012-09-25 17:06:25 +00:00
Eric Kohl 580872f32d [LSASRV]
- Set the default quota limits when the LSA database is created.
- Implement the PolicyDefaultQuotaInformation class of LsarQueryInformationPolicy.

svn path=/trunk/; revision=57383
2012-09-25 16:08:00 +00:00
Eric Kohl c108d80dee [ADVAPI32]
Implement LsaEnumerateAccountsWithUserRight, LsaEnumeratePrivileges, LsaGetQuotasForAccount and LsaSetQuotasForAccount.

svn path=/trunk/; revision=57382
2012-09-25 00:15:24 +00:00
Ziliang Guo 12a3bb46db [TRANSLATION] Add Chinese translation for time/date control panel applet by yinwh79 at 163.com. CORE-6702.
svn path=/trunk/; revision=57381
2012-09-24 22:57:23 +00:00
Eric Kohl 2063356a22 [ADVAPI32]
Implement LsaCreateTrustedDomainEx and LsaEnumerateAccounts.

svn path=/trunk/; revision=57378
2012-09-24 15:04:32 +00:00
Mike Nordell 8052454a08 Make RtlDosPathNameToNtPathName_U actually report sucess count too.
svn path=/trunk/; revision=57376
2012-09-24 12:45:55 +00:00
Eric Kohl 194222d3bc [NET] CORE-6413
- Convert the application to Unicode.
- Implement "net start" and "net stop" commands that use the service manager APIs.

svn path=/trunk/; revision=57375
2012-09-24 12:37:12 +00:00
Mike Nordell d39ec05957 Add test for RtlDosPathNameToNtPathName_U. This time with the actual test file too.
svn path=/trunk/; revision=57374
2012-09-24 12:20:06 +00:00
Mike Nordell 83ec1cb161 Add test for RtlDosPathNameToNtPathName_U.
svn path=/trunk/; revision=57373
2012-09-24 12:17:04 +00:00
Mike Nordell e79e0dea55 Added descriptive DPRINT for an ioctl intended for the mount manager. Hopefully helps someone else trying to find that device 0x4d or 77 is, when no such device exists. It's not defined by value in header file but by ASCII 'M'.
svn path=/trunk/; revision=57368
2012-09-23 05:38:35 +00:00
Timo Kreuzer b6b08f5566 [WIN32K]
Unmap the desktop heap in IntFreeDesktopHeap. Fixes leaking session space memory, when creating and deleting desktops.
I would revert the "hackfix" from r57348, but for me changing MiPteToAddress to MiAddressToPte looks more like a legit bug fix, rather than "increasing system view space to 36MB instead of 20MB". But I'm probably missing something. In that case, Alex, please revert your hack, it shouldn't be needed anymore.
CORE-6688 #resolve

svn path=/trunk/; revision=57367
2012-09-22 23:14:16 +00:00
Aleksey Bragin 71e8c3bf7f [WIN32CSR]
- Re-enable delay-importing of user32,gdi32 and advapi32 as it was before in the RBuild times.

svn path=/trunk/; revision=57366
2012-09-22 13:31:18 +00:00
Thomas Faber ff9902d224 [RPCRT4]
- Fix overlapped I/O error handling for pipe transport
- ROS now works with Windows npfs.sys again (CORE-2198)
- Wine has this completely reworked, so this ros-diff should finally disappear with the next sync

svn path=/trunk/; revision=57365
2012-09-22 12:47:03 +00:00
Thomas Faber 3cce9acbab [RPCRT4:FORMATTING]
- Forgotten file

svn path=/trunk/; revision=57364
2012-09-22 11:10:01 +00:00
Thomas Faber 96ee78be1e [RPCRT4]
- Make rpcrt4_ros.diff actually reflect our difference to Wine

svn path=/trunk/; revision=57363
2012-09-22 11:08:44 +00:00
Thomas Faber c721fa52d8 [NPFS]
- Do not fail for a valid buffer size in NpfsPeekPipe
- Do not read from an output buffer in NpfsPeekPipe

svn path=/trunk/; revision=57362
2012-09-22 09:48:27 +00:00
Eric Kohl 84deb4ab83 [ADVAPI32]
Implement LsaGetUserName and LsaOpenTrustedDomain.

svn path=/trunk/; revision=57361
2012-09-22 09:23:38 +00:00
Thomas Faber 1cc975ea63 [KERNEL32]
- Fix buffer overflow in PeekNamedPipe

svn path=/trunk/; revision=57360
2012-09-22 09:18:34 +00:00
Thomas Faber 46029920aa [KMTEST:IO]
- Add a test for IoCreateNotificationEvent/IoCreateSynchronizationEvent

svn path=/trunk/; revision=57359
2012-09-21 22:12:47 +00:00
Eric Kohl 4b1e288969 [ADVAPI32]
- Implement LsaClearAuditLog.
- Sort functions, update function headers and trace-messages.

svn path=/trunk/; revision=57358
2012-09-21 17:19:54 +00:00
Amine Khaldi 68e7f54bc1 * Exclude host tools when setting the default build type.
svn path=/trunk/; revision=57357
2012-09-21 14:35:19 +00:00
Amine Khaldi daef68bbb8 * Make CMAKE_BUILD_TYPE default to Debug for all our builds.
svn path=/trunk/; revision=57356
2012-09-21 14:29:02 +00:00
Thomas Faber e3cd71c6d6 [RTL]
- Separate condition calculation in RtlVerifyVersionInfo into an extra function. Patch by Hermès Bélusca (2/X)
- Don't make the Hungarian more ridiculous than it needs to be
CORE-6611

svn path=/trunk/; revision=57355
2012-09-20 20:46:08 +00:00
Thomas Faber 69232d954d [NTOSKRNL][NTDLL][RTL][KERNEL32]
- Code simplification and clarification for version-reporting functionality. Patch by Hermès Bélusca (1/X)
CORE-6611

svn path=/trunk/; revision=57354
2012-09-20 19:53:14 +00:00
Thomas Faber 8681ae792a [QMGR_WINETESTS]
- Skip all qmgr tests because they cause timeouts on testbot. This should hopefully be fixed soon and they can be re-enabled.
CORE-6536

svn path=/trunk/; revision=57353
2012-09-20 15:41:32 +00:00
Eric Kohl 7b00b3170e [ADVAPI32/LSASRV]
Implement LsaQuerySecret/LsarQuerySecret. Does not work due to bugs in widl.

svn path=/trunk/; revision=57352
2012-09-20 13:44:24 +00:00
Eric Kohl bd28842f69 [LSASRV]
LsarSetInfromationPolicy: Check desired access depending on the information class.
LsarLookupPrivilegeValue / LsarLookupPrivilegeName: Check desired access.

svn path=/trunk/; revision=57351
2012-09-20 11:29:45 +00:00
Olaf Siejka 1e007b7c03 [TRANSLATION]
- hungarian calc translation by Nagy Tibor(xnagytibor at gmail dot com); CORE-6511 #resolve #comment Commited. Thanks for your work
- dutch rapps translation update by stijnsanders (stijn at yoy dot be); CORE-6540 #resolve #comment Commited. Thanks for your work

svn path=/trunk/; revision=57350
2012-09-20 11:15:16 +00:00
Alex Ionescu 6f3acf748b [NTOSKRNL] Typo fail, real fix.
svn path=/trunk/; revision=57349
2012-09-20 08:20:24 +00:00
Alex Ionescu 83736d77a5 [NTOSKRNL]: CORE-6675 #resolve #time 5h #comment Fixed the ASSERTion by increasing system view space to 36MB instead of 20MB. Note that the real bug is that we never free desktop heaps. But why fix the bug when the only thing people care about is "fix the tests!". So let's fix the tests instead of the bug :) Also, fix a bug in MiCheckForSessionPde which broke user32_apitest. All should be good now.
svn path=/trunk/; revision=57348
2012-09-20 07:44:43 +00:00
Alex Ionescu 46eff17170 [NTOSKRNL]: DACL and SACL should only be returned if the control flag indicates that they are present.
svn path=/trunk/; revision=57347
2012-09-20 00:04:42 +00:00
Alex Ionescu 6081db8d41 [NTOSKRNL]: MOAR TEH SESSION SPACE PLZ. KTHXBAI.
svn path=/trunk/; revision=57346
2012-09-19 23:26:39 +00:00
Timo Kreuzer 5fcb637cb2 [CRT]
Implement mbstowcs_s. passes all crt apitests.


svn path=/trunk/; revision=57345
2012-09-19 22:33:13 +00:00