Commit graph

53965 commits

Author SHA1 Message Date
Eric Kohl aef959eff2 [LSALIB]
- Implement LsaConnectUntrusted.
- Remove dead code.
- LsaRegisterLogonProcess: Fix ConnectInfo.Status check.

svn path=/trunk/; revision=59369
2013-06-29 18:45:45 +00:00
Sylvain Petreolle d9ba33534f [SHELL32]
Fix MSVC build.

svn path=/trunk/; revision=59368
2013-06-29 17:46:24 +00:00
Sylvain Petreolle f5fbeb377b [SHELL32]
Properly disable DDE tests.

svn path=/trunk/; revision=59367
2013-06-29 17:35:05 +00:00
Hermès Bélusca-Maïto d405d25f8c [RTL:PATH]
- Use UNICODE markers for characters (the L'.' symbol for example) (i.e. fix code originating from Wine).
- Accept NULL Path/FileName in RtlDosSearchPath_U (fixes some ntdll_apitest tests, see after).

Fixes for RtlGetFullPathName_Ustr:
==================================
- Rework RtlGetFullPathName_Ustr by "reusing" little parts of the code of our old RtlGetFullPathName_U coming from Wine (and then make RtlGetFullPathName_U call RtlGetFullPathName_Ustr instead).
- Include the get_full_path_helper code into RtlGetFullPathName_Ustr and NT'ify it, and fix it too:
  * Fix skipping trailing path separators (slashes / backslashes) at the end of pathes.
  * Zero-out the destination buffer
  * Fix retrieving the "Short Name" (ie. the file name) out from the given full path name.
  * Fix remaining UNC path handling (ie. correctly remove trailing points, spaces, in UNC paths).

They fix the following tests:
* kernel32:FindFiles (6 failures to full success)
* ntdll:RtlDosPathNameToNtPathName_U (4 failures to full success)
* ntdll:RtlDosSearchPath_U (6 failures to full success)
* ntdll:RtlGetFullPathName_U (8 failures down to 2 failures because we don't correctly NULLify the user buffer when trimming unneeded chars)
* ntdll:RtlGetFullPathName_UstrEx (6 failures down to 2 failures for the same reasons as the previous test)

To Do: Finish to NT'ify the code originated from Wine, fix NULLification of the user buffer (when trimming unneeded characters), and "clean" the code ie. remove extra DPRINTs and added FIXMEs and NOTEs comments.

svn path=/trunk/; revision=59366
2013-06-29 15:29:09 +00:00
Timo Kreuzer 9db307e83e [CRT]
Fix exponential notation precision in scanf 
Patch by dmitry216
CORE-7010 #resolve

svn path=/trunk/; revision=59365
2013-06-29 14:55:01 +00:00
Hermès Bélusca-Maïto aa185f871c [MUP]
Return STATUS_OBJECT_NAME_INVALID instead of STATUS_BAD_NETWORK_PATH, fixes some tests (kernel32:FindFiles in particular).

svn path=/trunk/; revision=59364
2013-06-29 14:03:04 +00:00
Thomas Faber 56a80263d4 [GETUNAME]
- Implement GetUName. Patch by Baruch Rutman.
CORE-7264 #resolve #comment Awesome, thanks! Committed in r59363.

svn path=/trunk/; revision=59363
2013-06-29 13:44:17 +00:00
Thomas Faber 1c1f89cd6b [KMTESTS:MM]
- Gracefully handle file open failure in ZwCreateSection test. Patch by Aleksandar Andrejevic.
ROSTESTS-115 #resolve

svn path=/trunk/; revision=59362
2013-06-29 13:10:30 +00:00
Thomas Faber a8ece748b5 [DESK.CPL]
- Fix wrong buffer usage
CORE-7300 #resolve

svn path=/trunk/; revision=59361
2013-06-29 13:05:52 +00:00
Thomas Faber 1380373ae4 [SVCHOST]
- Fix various incorrect buffer size calculations
- Don't expand environment variables in REG_SZ values
- Repair all DPRINTs
- Other misc fixes
CORE-7296 #resolve

svn path=/trunk/; revision=59360
2013-06-29 13:01:35 +00:00
Thomas Faber 31e65c22bf [SVCHOST]
- Make WCHARs explicit

svn path=/trunk/; revision=59359
2013-06-29 11:46:13 +00:00
Thomas Faber 75877f2763 [SVCHOST]
- Yoda logic fix you must. No functional changes.

svn path=/trunk/; revision=59358
2013-06-29 11:41:05 +00:00
Thomas Faber 52a90949ed [SVCHOST]
- Convert tabs to spaces. No code changes.

svn path=/trunk/; revision=59357
2013-06-29 11:10:28 +00:00
Thomas Faber 14e80363be [QUARTZ_WINETEST]
- Skip dsoundrender, filtergraph, misc, videorenderer tests because they cause testbot timeouts.
ROSTESTS-116

svn path=/trunk/; revision=59356
2013-06-29 08:36:39 +00:00
Thomas Faber 2ce6f4b85d [KERNEL32]
- Fix use of uninitialized variables in failure case. Patch by Samuel Serapión
CORE-7302 #resolve

svn path=/trunk/; revision=59355
2013-06-29 06:08:57 +00:00
Thomas Faber d7f51ee28b [CRT]
- Handle realloc failure in SetEnv. Based on patch by Samuel Serapión
CORE-7306 #resolve

svn path=/trunk/; revision=59354
2013-06-29 06:04:58 +00:00
Thomas Faber e2789d2b8b [NDK]
- Fix some lpcfuncs.h annotations. Includes patch by Ivan Rodionov.
CORE-7329 #resolve #comment Thanks.

svn path=/trunk/; revision=59353
2013-06-29 05:48:22 +00:00
Thomas Faber 0dee0427aa [NTOSKRNL]
- Make MSVC analyzer happy by initializing the event before calling IoBuildDeviceIoControlRequest. Patch by Ivan Rodionov (overclocker at list dot ru).
CORE-7328 #resolve #comment Committed, thanks.

svn path=/trunk/; revision=59352
2013-06-29 05:40:09 +00:00
Thomas Faber 3b4a05175b [KMTESTS]
- Skip FsRtlMcb again to make testbot happy

svn path=/trunk/; revision=59351
2013-06-29 05:38:37 +00:00
Aleksandar Andrejevic 944d6e8b5a [NTVDM]
Implement "Get DOS Version" API call.
Implement BIOS keyboard IRQ handler and some "INT 16h" functions.


svn path=/branches/ntvdm/; revision=59350
2013-06-28 20:52:40 +00:00
Sylvain Petreolle 63e0c4e9d4 [KMTESTS:FSRTL]
Enable FsRtlMcb tests.


svn path=/trunk/; revision=59349
2013-06-28 19:25:37 +00:00
Aleksey Bragin 793b193422 [NTOS/FSRTL]
- Implement FsRtlSplitLargeMcb. 168 tests executed / 59 failures.

svn path=/trunk/; revision=59348
2013-06-27 09:18:32 +00:00
Aleksey Bragin e329b10e5c [KMTESTS/FSRTL]
- Add all runs dumping to aid in development.
- Do not try to add a mapping run with 0 LBN. Zero and negative LBNs are forbidden.
- Rework other tests to work as expected (plumb a hole).

svn path=/trunk/; revision=59347
2013-06-27 08:32:46 +00:00
Hermès Bélusca-Maïto 98b3cac350 [KERNEL32]
Remove a spurious cast, and add a note for the pInputControl parameter of ReadConsole.

[CONSRV]
- Move some input/output console function helpers to condrv.
- The way we notify for the presence of new input data, or for console pausing/unpausing, should be reconsidered (who should do this? The console driver? The active front-end?)

svn path=/trunk/; revision=59345
2013-06-27 00:20:58 +00:00
Aleksandar Andrejevic 4c4c69fc37 [NTVDM]
Clean up the code and properly separate different modules into different files.


svn path=/branches/ntvdm/; revision=59344
2013-06-26 22:58:41 +00:00
Aleksandar Andrejevic 44f2787b1f [NTVDM]
Use 286 mode in softx86.
Implement "Get / Set Disk Transfer Area".
Start implementation of PS/2 controller.
Improve hardware interrupts. Fix CLI / STI / HLT instruction support.


svn path=/branches/ntvdm/; revision=59343
2013-06-26 17:15:45 +00:00
Aleksey Bragin 9f8ca2b24b [NTOS/FSRTL]
- Develop a new implementation of Large MCBs. It's based on (tested-in-real-world) implementation from Captive NTFS project, which is improved, enhanced, cleaned and beautified, using our own tests.
There are some test failures and some fishy things there (you may notice them when a variable name doesn't follow ReactOS kernel functions naming convention), however it's way better than the previous implementation.

Link to the original source file: http://git.jankratochvil.net/?p=captive.git;a=blob;f=src/libcaptive/fs/mcb.c;h=62b524630af82c9124c2c9b4eea7c4f0128c2cc4;hb=HEAD

svn path=/trunk/; revision=59342
2013-06-26 12:24:55 +00:00
Sylvain Petreolle 49245758d3 [MMCCLIENT]
Copypasta--, fixes build.

svn path=/trunk/; revision=59341
2013-06-25 20:30:09 +00:00
Aleksandar Andrejevic 53fbdf6bc9 [NTVDM]
Implement the "Get Interrupt Vector" and "Set Interrupt Vector" DOS API functions.


svn path=/branches/ntvdm/; revision=59340
2013-06-25 17:56:05 +00:00
Aleksandar Andrejevic 2ea7dab9a6 [NTVDM]
Fix more bugs in DosResizeMemory().


svn path=/branches/ntvdm/; revision=59339
2013-06-25 17:18:34 +00:00
Aleksandar Andrejevic 6d45f4e6e3 [NTVDM]
Fix the VDM DOS memory manager to use the segment of the data portion of the block, rather than the MCB itself.


svn path=/branches/ntvdm/; revision=59338
2013-06-25 16:46:35 +00:00
Aleksandar Andrejevic 5db2a4a6dd [NTVDM]
Fix many VDM DOS memory manager bugs.


svn path=/branches/ntvdm/; revision=59336
2013-06-24 23:10:31 +00:00
Aleksandar Andrejevic 07928d50d4 [NTVDM]
Implement several directory operations.


svn path=/branches/ntvdm/; revision=59331
2013-06-24 18:15:53 +00:00
Aleksandar Andrejevic ca06374c9f [NTOSKRNL]
Check for old-style MZ executable in PeFmtCreateSection.
[NTVDM]
Fix bugs.
Implement MZ executable loading.


svn path=/branches/ntvdm/; revision=59328
2013-06-24 01:59:09 +00:00
Hermès Bélusca-Maïto 3af19c1ef0 Revert an unwanted change committed by error.
svn path=/trunk/; revision=59327
2013-06-23 23:22:38 +00:00
Hermès Bélusca-Maïto 60f250a72d [CONSRV]
- Turn some BOOLs into BOOLEANs in condrv.
- Move some coninput functions into condrv.

svn path=/trunk/; revision=59326
2013-06-23 23:19:42 +00:00
Thomas Faber 6b0f55c9e9 [NTOS:SE]
- Fix pool corruption of the nastiest sort. Big thanks to Amine. Also thanks to MS for idiotic unsafe typedefs.

svn path=/trunk/; revision=59325
2013-06-23 22:10:47 +00:00
Amine Khaldi 583b6cfed0 [WBEMPROX]
* Import from Wine 1.5.26

svn path=/trunk/; revision=59324
2013-06-23 20:41:42 +00:00
Amine Khaldi 5323dbcb6c [DXGI]
* Import from Wine 1.5.26.

svn path=/trunk/; revision=59323
2013-06-23 19:14:50 +00:00
Hermès Bélusca-Maïto 346e42535c [CONSRV]
Finish to move some text functions to condrv.

svn path=/trunk/; revision=59322
2013-06-23 18:20:39 +00:00
Hermès Bélusca-Maïto e781a0d29d [CONSRV]
Continue to move some (text) functions to condrv.

svn path=/trunk/; revision=59321
2013-06-23 17:19:08 +00:00
Eric Kohl 921fca76fc [SAMSRV]
Remove unused code.

svn path=/trunk/; revision=59320
2013-06-23 15:02:31 +00:00
Hermès Bélusca-Maïto 2f42f9205b [CONSRV]
Continue to move some functions to condrv.

svn path=/trunk/; revision=59319
2013-06-23 14:51:08 +00:00
Hermès Bélusca-Maïto 4eb56a46a9 "Seccurity" --> "Security"
svn path=/trunk/; revision=59318
2013-06-23 14:34:30 +00:00
Eric Kohl 42f3cd76ad [SAMSRV]
Create and store a security descriptor for the server object.

svn path=/trunk/; revision=59317
2013-06-23 14:26:18 +00:00
Aleksandar Andrejevic 13a004a57d [KERNEL32]
Use the already implemented BaseIsDosApplication instead of BasepCheckDosApp.


svn path=/branches/ntvdm/; revision=59316
2013-06-23 13:17:06 +00:00
Amine Khaldi 6f4f0633e6 [MSHTML]
* Fix a typo.

svn path=/trunk/; revision=59315
2013-06-23 12:56:00 +00:00
Hermès Bélusca-Maïto 4c66e672da [KERNEL32]
Never EVER process instructions INSIDE a debug macro (e.g. ASSERT) because when compiling in Release Mode, the code isn't executed at all.
Fix that. See revision r59310 for more details.

svn path=/branches/ntvdm/; revision=59314
2013-06-23 12:55:17 +00:00
Amine Khaldi abd29338ae [MSHTML]
* Welcome to the MSVC build club. Thanks to Thomas Faber.

svn path=/trunk/; revision=59313
2013-06-23 12:49:24 +00:00
Amine Khaldi 3ab157184b [WIDL]
* Do not generate empty Vtbl structure for empty interfaces. Brought to you by Thomas Faber.
* Patch is pending upstream.

svn path=/trunk/; revision=59312
2013-06-23 12:47:33 +00:00