Commit graph

66515 commits

Author SHA1 Message Date
Dmitry Chapyshev 779ba0d221 [KERNEL32]
- Initialization of a string before obtaining information

* Fixes 2 tests for kernel32_apitest GetComputerNameEx (all tests passed now)

svn path=/trunk/; revision=72511
2016-08-30 17:36:01 +00:00
Dmitry Chapyshev cc64f06a82 [RTL]
- Remove unneeded type-casts

svn path=/trunk/; revision=72510
2016-08-30 16:28:47 +00:00
Dmitry Chapyshev 7b880d99d0 [RTL]
- The Condition parameter every time is compared to VER_EQUAL, but does not change thus. This behavior wrong. We have to receive new Condition every time

* Fixes 7 tests in kernel32_winetest version (all tests passed now)

svn path=/trunk/; revision=72509
2016-08-30 15:10:07 +00:00
Aleksandar Andrejevic 8622e4ccf9 [NTVDM:EMS]
Implement EMS function 4E/03: "Get Size of Page-Mapping Array".


svn path=/trunk/; revision=72508
2016-08-30 02:13:40 +00:00
Dmitry Chapyshev 9df6fe4496 [NTOS:EX]
- Remove duplicate check

svn path=/trunk/; revision=72507
2016-08-29 21:11:01 +00:00
Dmitry Chapyshev 5168c15faa [NTOS:EX]
- Blocking of the user buffer before obtaining information
- Use of ObpGetHandleObject macro for receiving ObjectHeader
- Remove duplicate NULL pointer check for HandleTableEntry

svn path=/trunk/; revision=72506
2016-08-29 20:41:23 +00:00
Hermès Bélusca-Maïto c56713f129 [CRT]: Fix typo. Thanks DopefishJustin:)
svn path=/trunk/; revision=72505
2016-08-29 16:44:21 +00:00
Hermès Bélusca-Maïto 499b414a4b [DOSKEY]
Our kernel32.lib already exports all of the console API and in particular the console history API, so we can directly link doskey against it and use them, instead of delay-loading at runtime. We just need to add their prototypes in the source code since they are not declared by wincon.h by default.

svn path=/trunk/; revision=72504
2016-08-29 15:39:19 +00:00
Mark Jansen 1dd7857278 [APPHELP][APPHELP_APITEST] Partially implement SdbMakeIndexKeyFromString
svn path=/trunk/; revision=72503
2016-08-29 15:19:55 +00:00
Mark Jansen 71ad0a0f9b [INCLUDE/WINE] Update test.h with a debug function for longlong.
Disabled by default because it introduces a new dependency on ntdll (_aullshr)

svn path=/trunk/; revision=72502
2016-08-29 15:16:50 +00:00
Hermès Bélusca-Maïto 99a31b3e64 [SHELL32]: We are not Windows! (and not completely Wine either).
svn path=/trunk/; revision=72501
2016-08-29 14:30:51 +00:00
Mark Jansen 0c589e512f Fix the build for msvc users.
svn path=/trunk/; revision=72500
2016-08-29 13:15:44 +00:00
Mark Jansen 820426939a [ATL][SHELL32] Add basic support for _ATL_NO_EXCEPTIONS in CString, use it in shell32 so that we can link without exception support. CORE-11841 #comment Please retest!
svn path=/trunk/; revision=72499
2016-08-29 12:29:45 +00:00
Aleksandar Andrejevic 93b57a7a0f [NTVDM:SVGA]
Don't forget to adapt the console attaching code to the new transposed video
memory, and certainly don't forget to make sure the ScanlineSizeLatch and
StartAddressLatch have the correct values before calling VgaVerticalRetrace.


svn path=/trunk/; revision=72498
2016-08-29 04:31:02 +00:00
Jérôme Gardou 0e07d3b761 [NTOS/MM]
- Shuffle parameter chacks in NtMapViewOfSection to make kmtest pass more of them
 - Restore previously lost check on ZeroBits against 21. Use the architecture specific define
 - Better check for ZeroBits and ViewSize

svn path=/trunk/; revision=72497
2016-08-28 21:07:51 +00:00
Aleksandar Andrejevic 78bb256379 [NTVDM:BIOS]
Implement mode 0x5F, otherwise known as VESA mode 0x101 (640x480 256 colors).


svn path=/trunk/; revision=72496
2016-08-28 20:15:03 +00:00
Jérôme Gardou 097bbc5c95 [WIN32SS/USER32]
- Do not mask exceptions from WndProc. If this makes programs crash, fine, fix it, but DON'T HIDE BUGS.
 - Use a wrappper (like wine does) to handle procs with bad calling conventions
ROSTESTS-155 : Please retest, user32 got in the way and masked the exception handler the wine test installed

svn path=/trunk/; revision=72495
2016-08-28 20:04:01 +00:00
Jérôme Gardou 665e8ea561 [NTOS/MM]
- Do not assert on transitions PTEs, we handle them just fine
ROSTESTS-155

svn path=/trunk/; revision=72494
2016-08-28 19:59:13 +00:00
Jérôme Gardou 3bb511ea04 [NTOS/MM]
- Properly chain events when reading a page from disk, aka don't wait on events allocated on the stack of another thread
 - Use proper type pointers, compilers sometimes help making things right

svn path=/trunk/; revision=72493
2016-08-28 19:53:27 +00:00
Dmitry Chapyshev f25358387b [NTOS:EX]
- Remove duplicate checks

svn path=/trunk/; revision=72492
2016-08-28 19:28:41 +00:00
Dmitry Chapyshev 7fe5f71795 [NTOS]
- Use ExpLookupHandleTableEntry function for enumerate handles of process
- Filling handle information
- Setting ReqSize value before check of the size

* Fixes 2 tests ntdll_winetest info

svn path=/trunk/; revision=72491
2016-08-28 19:18:28 +00:00
Thomas Faber cc9a7f1482 [NTOS:MM]
- Add MmSysPteIndex, MmSysPteTables and MmSysPteListBySizeCount to make WinDbg's !sysptes extension happy

svn path=/trunk/; revision=72490
2016-08-28 18:03:41 +00:00
Aleksandar Andrejevic 493ad03e52 [NTVDM:SVGA]
Fix the refresh rate calculation, again.


svn path=/trunk/; revision=72489
2016-08-28 16:17:14 +00:00
Dmitry Chapyshev 75ece18c55 [RTL]
- Implement IS_TEXT_UNICODE_DBCS_LEADBYTE flag

* Fixes 4 new tests in advapi32_apitest

svn path=/trunk/; revision=72488
2016-08-28 16:08:25 +00:00
Dmitry Chapyshev 85d39f7ebe [ADVAPI32_APITEST]
- Add tests for IS_TEXT_UNICODE_DBCS_LEADBYTE flag

[SDK]
- Add missed IS_TEXT_UNICODE_DBCS_LEADBYTE definition

svn path=/trunk/; revision=72487
2016-08-28 15:59:29 +00:00
Dmitry Chapyshev af19896deb [RTL]
- Implement IS_TEXT_UNICODE_ILLEGAL_CHARS and IS_TEXT_UNICODE_ASCII16 flags

* It fixes 7 tests for the IsTextUnicode function in advapi32_apitest. All tests passed now

svn path=/trunk/; revision=72486
2016-08-28 11:05:01 +00:00
Thomas Faber 25d05a1982 [USBHUB]
- Return the correct pointer when handling TargetDeviceRelation, and avoid unnecessarily allocating from NonPagedPool. Patch by Vardan Mikayelyan, merged from r72376.

svn path=/trunk/; revision=72485
2016-08-28 10:52:40 +00:00
Dmitry Chapyshev c49c7bb373 [ADVAPI32_APITEST]
- Add tests for IS_TEXT_UNICODE_ILLEGAL_CHARS flag (not passed on ReactOS)

svn path=/trunk/; revision=72484
2016-08-28 10:42:32 +00:00
Jérôme Gardou 92a722fd03 [NTOS/MM]
- NtQuerySection : Add initial support for ARM3 sections

svn path=/trunk/; revision=72483
2016-08-28 09:38:54 +00:00
Thomas Faber 4359ce1117 [NTOS:MM]
- Improve a debug print

svn path=/trunk/; revision=72482
2016-08-28 08:17:03 +00:00
Aleksandar Andrejevic c93742a831 [NTVDM:BIOS]
Properly implement INT 15h, AH = 86h.


svn path=/trunk/; revision=72481
2016-08-28 02:00:10 +00:00
Aleksandar Andrejevic fd7db0e65b [NTVDM:SVGA]
Fix the refresh rate calculation.


svn path=/trunk/; revision=72480
2016-08-28 01:53:52 +00:00
Aleksandar Andrejevic 3ecb5aa01a [NTVDM:SVGA]
Fix read mode 1.


svn path=/trunk/; revision=72479
2016-08-27 23:40:44 +00:00
James Tabor b4743181f7 - Fix GCC build.
svn path=/trunk/; revision=72478
2016-08-27 23:05:51 +00:00
Aleksandar Andrejevic 4966051e96 [NTVDM]
Move the framebuffer update to the start of the display cycle to reduce tearing.
Stabilize the IPS calculation.


svn path=/trunk/; revision=72477
2016-08-27 21:55:34 +00:00
Dmitry Chapyshev e5bc9e5062 [RTL]
- Implement IS_TEXT_UNICODE_REVERSE_ASCII16, IS_TEXT_UNICODE_REVERSE_STATISTICS flags
- Fix IS_TEXT_UNICODE_STATISTICS

* It fixes 2 tests for RtlIsTextUnicode function. Now all rtlstr in winetest are passed successfully

svn path=/trunk/; revision=72476
2016-08-27 20:18:18 +00:00
Hermès Bélusca-Maïto 148354095a [HAL]
Update the PCI hardware IDs database. Extracted from the pci.ids database from http://pci-ids.ucw.cz/ from 2016-08-26 03:15:02
Maintained by Albert Pool, Martin Mares, and other volunteers from the PCI ID Project at http://pci-ids.ucw.cz/.
CORE-11903 #resolve

svn path=/trunk/; revision=72475
2016-08-27 19:12:11 +00:00
Aleksandar Andrejevic 1bfb13f4fb [NTVDM:SVGA]
Properly implement the vertical retrace interval. The starting address and the
scanline size are calculated at the start, and the actual update is performed at
the end. This allows software to change the pixel panning and some other
parameters during the vertical retrace.
Also, normalize the CRTC register names.


svn path=/trunk/; revision=72474
2016-08-27 17:10:08 +00:00
Jérôme Gardou acd35552c3 [NTOS/MM]
- Addendum to r72472 : address nodes are not VADs for the base section AVL table
CORE-11900

svn path=/trunk/; revision=72473
2016-08-27 13:22:17 +00:00
Jérôme Gardou 707280b695 [NTOS/MM]
- Keep the control area as being created through the whole creation process in MmCreateArm3Section
 - Use the segment length to find a suitable place for SEC_BASED sections
 - Properly remove the global section node when deleting a based section
CORE-11900 #resolve

svn path=/trunk/; revision=72472
2016-08-27 13:17:10 +00:00
Thomas Faber 5c207cc611 [USBHUB]
- Fix memory leaks in failure case of CreateUsbChildDeviceObject. Patch by Vardan Mikayelyan, merged from r72366.

svn path=/trunk/; revision=72471
2016-08-27 11:29:42 +00:00
James Tabor c064e95689 [NtUser]
- Fix crash when there are no system cursors created. See CORE-11899.

svn path=/trunk/; revision=72470
2016-08-26 23:43:19 +00:00
Jérôme Gardou 2215ccef67 [NTOS/MM]
- Fix ZeroBits check in NtMapViewOfSection
 - Implement handling MEM_DOS_LIM AllocationType
This fixes all but a few NtMapViewOfSection (due to some temp file not being removed) wine tests + tests from 72468


svn path=/trunk/; revision=72469
2016-08-26 21:15:06 +00:00
Jérôme Gardou 9726a48493 [NTDLL_APITEST]
- Add some tests which show how Windows handles the ZeroBits argument

svn path=/trunk/; revision=72468
2016-08-26 21:08:24 +00:00
Jérôme Gardou c0b63bd391 [KDGDB]
- Add a ugly and grotesque hack to give "o" back to RtlAssert so that we actually break on ASSERTs
 - Check for the breakpoint instruction for deciding when to move forward the ProgramCounter. This is OK since KD removes all breakpoints set when hitting a soft BP


svn path=/trunk/; revision=72467
2016-08-26 21:07:27 +00:00
Hermès Bélusca-Maïto 2e18c7a3cf Fix translation (cf. r72465) CORE-11763
svn path=/trunk/; revision=72466
2016-08-26 11:09:34 +00:00
Amine Khaldi 4959899003 * Please at least compile before committing patches. CORE-11763
svn path=/trunk/; revision=72465
2016-08-26 10:53:33 +00:00
Aleksandar Andrejevic 5aa44019cc [NTVDM:SVGA]
Implement the extended wrapping control (64 KB / 1 MB).
Transpose the video memory so that it corresponds to chain-4 and packed-pixel
modes. This allows us to optimize video memory access, since the majority of all
SVGA modes are packed-pixel. Only VgaReadMemory has been optimized so far.


svn path=/trunk/; revision=72464
2016-08-26 01:22:00 +00:00
Hermès Bélusca-Maïto 5108bc5af6 [CMAKE]: Update baseaddress_msvc.cmake with the updated scripts from CORE-11382 , with RTC1 enabled so that we get a bit of space margin. Dedicated to Thomas Faber :)
svn path=/trunk/; revision=72463
2016-08-25 18:26:13 +00:00
Hermès Bélusca-Maïto c1a625b590 [IERUNONCE]: CORE-11763 #comment Addendum to r72456 : comment out one of the IDS_INCORRECTFORMAT strings (since only one can exist at a time!). Somebody (Sergey?) should choose the best translation between the two. Also re-add the original IDS_NOEXPORT string that just vanished out.
svn path=/trunk/; revision=72461
2016-08-25 17:13:24 +00:00