Commit graph

66526 commits

Author SHA1 Message Date
James Tabor 684902c4cc [NtUser]
- Fix test results for msg:msg_queue:test_broadcast.

svn path=/trunk/; revision=72522
2016-08-31 17:59:41 +00:00
James Tabor 8496d0aa2e [NtGDI]
- Patch by Sebastian Gasiorek : Fix incorrect placement of the text in the Tab buttons. Implement TA_UPDATECP. See CORE-1578 and CORE-11415.

svn path=/trunk/; revision=72521
2016-08-31 16:20:57 +00:00
James Tabor 303ece2421 [User32]
- MDI Sync/Port from wine head, not sure about Staging.

svn path=/trunk/; revision=72520
2016-08-31 16:05:34 +00:00
Aleksandar Andrejevic a809e4ff02 [NTVDM:BIOS]
The 640x480x256 video mode has 640 bytes per scanline.


svn path=/trunk/; revision=72519
2016-08-31 15:37:53 +00:00
Aleksandar Andrejevic 724065020c [NTVDM:SVGA]
Halfplement (or perhaps hackplement) SVGA packed pixel addressing.


svn path=/trunk/; revision=72518
2016-08-31 05:38:56 +00:00
James Tabor 17a315285a [NtUser]
- Fix mouse move auto selecting while tracking popup menu. See CORE-2338.

svn path=/trunk/; revision=72517
2016-08-31 02:24:14 +00:00
Aleksandar Andrejevic 81b5e2b655 [NTVDM:BIOS]
Implement VESA function AH = 07h.


svn path=/trunk/; revision=72516
2016-08-30 22:52:49 +00:00
Dmitry Chapyshev 622507d06f [WIN32K]
- Stubpliment UOI_FLAGS flag in NtUserGetObjectInformation

* Fixes 32 tests in user32_apitest GetUserObjectInformation

svn path=/trunk/; revision=72515
2016-08-30 21:45:39 +00:00
Aleksandar Andrejevic 8c89d519a9 [NTVDM:SVGA]
Chain-4 addressing isn't really the same as packed-pixel addressing.
Also, fix a bug in the optimized odd/even mode reading code.


svn path=/trunk/; revision=72514
2016-08-30 21:07:26 +00:00
James Tabor aa033a5fc4 [NtUser]
- Fix crash while using mouse or keyboard for menu selection in UxThmeme.
- Sync/Ports and copy paste error fixes.

svn path=/trunk/; revision=72513
2016-08-30 19:30:45 +00:00
Dmitry Chapyshev 2ef1af40a1 [KERNEL32]
- Failure if does not come to an end a way with a symbol '\' (exception - a path of a looks like 'C:')

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

svn path=/trunk/; revision=72512
2016-08-30 19:22:00 +00:00
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