Commit graph

66544 commits

Author SHA1 Message Date
Amine Khaldi 8ba1bd92d3 [CRT] Apply Wine commit d3a48ee by Piotr Caban: Only check for flag presence in isatty function. CORE-11866 CORE-11904
svn path=/trunk/; revision=72540
2016-09-03 10:32:43 +00:00
Dmitry Chapyshev f99009a18b [NTOS:FSRTL]
- The order of operations is changed
- Added check on availability of a '.' with a length of name of 8 and more characters (In 8.3 filename has to be a '.')
- Lead DBCS cannot precede the end of a filename

* Fixes 90 tests for kmtest FsRtlLegal

svn path=/trunk/; revision=72539
2016-09-03 00:37:51 +00:00
Mark Jansen 1f8f7ffbe8 [ICMP] Fix IcmpCloseHandle crashing on NULL handle. Patch by Tim Crawford. CORE-10707 #resolve #comment Thanks!
svn path=/trunk/; revision=72538
2016-09-02 21:47:05 +00:00
Hermès Bélusca-Maïto 8f1b88d617 [NDK]: Fix size of reserved member of the RTL_HEAP_INFORMATION structure, signaled by https://github.com/subTee/native-nt-toolkit/issues/5 and confirmed by Process Hacker headers.
svn path=/trunk/; revision=72537
2016-09-02 21:21:00 +00:00
Hermès Bélusca-Maïto c986fba6d1 [NDK][UNIATA]: Fix typo. See https://github.com/subTee/native-nt-toolkit/issues/2 .
svn path=/trunk/; revision=72536
2016-09-02 21:09:56 +00:00
Dmitry Chapyshev 2725eb9e0b [NTOS:FSRTL]
- The name of the file can be shorter than 3 symbols

* Fixes 36 tests for kmtest FsRtlLegal

svn path=/trunk/; revision=72535
2016-09-02 20:21:02 +00:00
Dmitry Chapyshev dff1c73022 [GDI32]
- ConvertBitmapInfo returns value of the cjInfoSize variable. We should not ignore this value. Checks are added
- The call of CalculateColorTableSize is not necessary, its value was already returned by ConvertBitmapInfo.

* Fixes 9 tests for gdi32_apitest CreateDIBitmap

svn path=/trunk/; revision=72534
2016-09-02 15:40:32 +00:00
Jérôme Gardou 9598f87c7c [KDGDB]
- Better report kernel stack (real back traces for all threads!)
 - Support reporting loaded libraries (== drivers, hal, etc.). You can even debug KDGDB inside KDGDB :-)
 - A few improvements here and there
CORE-8531

svn path=/trunk/; revision=72533
2016-09-01 22:58:15 +00:00
Dmitry Chapyshev 24834c0492 [NTOS:PS]
- Use ProbeForRead instead ProbeForWrite (ProbeForWrite is a behavior which was in win2000)
- Set returned length after checking buffer size (ntdll_apitest NtQueryInformationProcess has tests only for ProcessTimes, but I checked other cases and always Length is set after check of the size)

* Fixes 4 tests in ntdll_apitest NtQueryInformationProcess (all NtQueryInformationProcess tests passed now)

svn path=/trunk/; revision=72532
2016-09-01 22:38:25 +00:00
Dmitry Chapyshev e72b567d4e [NTOS:EX]
- More correct exit on failure

svn path=/trunk/; revision=72531
2016-09-01 18:22:48 +00:00
Dmitry Chapyshev 125c4571ad [NTOS:EX]
- Use all handles enumeration in system instead of enumeration for each process
See issue 11906 for more details.

svn path=/trunk/; revision=72530
2016-09-01 16:39:54 +00:00
James Tabor 27e451c99f [NtGDI]
- Allocate initial entries for paths.

svn path=/trunk/; revision=72529
2016-09-01 06:53:28 +00:00
Dmitry Chapyshev 170bf20513 [NTOS:EX]
- Try to fix CORE-11906
See issue 11906 for more details.

svn path=/trunk/; revision=72528
2016-08-31 21:29:40 +00:00
Hermès Bélusca-Maïto 06c287d000 [README]
- Show our URLs using https.
- Add a "FAQ" section to point to the corresponding website URL; feel free to improve the section!

svn path=/trunk/; revision=72527
2016-08-31 21:22:37 +00:00
Mark Jansen e54a97258b [SHELL32] Disable some controls for a network drive. Patch by Jared Smudde. CORE-11897 #resolve #comment Thanks!
svn path=/trunk/; revision=72526
2016-08-31 21:15:57 +00:00
James Tabor a83d5e5fe6 [Win32SS]
- Patch by Sebastian Lackner : Do not block sending/posting WM_NOTIFY messages.
- Sync/Port : Fix more msg:msg_queue:test_notify_message results.

svn path=/trunk/; revision=72525
2016-08-31 21:14:35 +00:00
Amine Khaldi cdce72e067 [BROWSEUI] Present "Is ReactOS legal" in ReactOS readme file. By Joachim Henze. CORE-11800
svn path=/trunk/; revision=72524
2016-08-31 20:54:51 +00:00
James Tabor 1ed7f14359 [NtUser]
- Fixed one of the msg:msg_paint:test_paint_messages while looking for another issue. See CORE-7166.

svn path=/trunk/; revision=72523
2016-08-31 20:38:09 +00:00
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