Commit graph

62280 commits

Author SHA1 Message Date
Hermès Bélusca-Maïto a4585313a5 [NTVDM]: at the end of a cpu slice, yield execution to other threads in the system.
svn path=/trunk/; revision=67851
2015-05-22 21:21:43 +00:00
Thomas Faber bac6c8579c [ADVAPI32]
- Do not fail in RegQueryInfoKeyW if NtQuerySecurityObject fails, as shown by the test
CORE-9719

svn path=/trunk/; revision=67850
2015-05-22 16:19:23 +00:00
Thomas Faber f7bf32d2ad [ADVAPI32_APITEST]
- Fix test failures on Win 2003: unlike on Win7, write rights don't imply read
CORE-9719

svn path=/trunk/; revision=67849
2015-05-22 16:06:58 +00:00
Thomas Faber 9600755aaa [ADVAPI32_APITEST]
- Add a test for calling RegQueryInfoKey with different access rights
CORE-9719

svn path=/trunk/; revision=67848
2015-05-22 15:47:02 +00:00
Aleksandar Andrejevic ac3616d42c [FAST486]
Fix Fast486FpuToInteger.


svn path=/trunk/; revision=67846
2015-05-22 04:51:20 +00:00
Aleksandar Andrejevic d9dcc9a022 [FAST486]
Implement FPREM and FPREM1.


svn path=/trunk/; revision=67845
2015-05-22 03:59:24 +00:00
Aleksandar Andrejevic 15c2b7663c [FAST486]
Fix comparing NaNs in Fast486FpuCompare.


svn path=/trunk/; revision=67844
2015-05-22 03:40:44 +00:00
Thomas Faber 7e58e7cf42 [ADVAPI32]
- Add a debug print in unusual failure case of RegQueryInfoKeyW
CORE-9719

svn path=/trunk/; revision=67843
2015-05-21 22:16:39 +00:00
Eric Kohl 86c2f31a49 [SYSDM]
Implement hardware profile deltion.

svn path=/trunk/; revision=67842
2015-05-21 21:47:57 +00:00
Aleksandar Andrejevic fe362794c6 [FAST486]
Due to some kind of mixup, I thought the series for log(x) was actually for log10(x).
Fix Fast486FpuCalculateLogBase2 by dividing the result with log(2) and not log10(2).


svn path=/trunk/; revision=67841
2015-05-21 17:27:47 +00:00
Aleksandar Andrejevic 1e5d331ec6 [FAST486]
No underflows will occur in Fast486FpuAdd when the signs are different, since
the exponent won't be reduced.


svn path=/trunk/; revision=67840
2015-05-21 00:51:21 +00:00
Aleksandar Andrejevic 4e457245b2 [FAST486]
Fix the broken math in r67838.


svn path=/trunk/; revision=67839
2015-05-21 00:44:49 +00:00
Aleksandar Andrejevic b0aa61088d [FAST486]
Fix a copy-paste bug. Adjust the number when subtracting in Fast486FpuAdd. Don't overflow
the mantissa in Fast486FpuToSingle/Fast486FpuToDouble without correcting the exponent.


svn path=/trunk/; revision=67838
2015-05-20 23:16:36 +00:00
Hermès Bélusca-Maïto fd3f43887a [ntvdm]: use an "unsigned" abs for the comparison (that's what I want). fix msvc warning.
svn path=/trunk/; revision=67837
2015-05-20 22:05:58 +00:00
Christoph von Wittich 0621d3bc17 [IEFRAME]
convert german translation to UTF-8

svn path=/trunk/; revision=67836
2015-05-20 18:43:08 +00:00
Aleksandar Andrejevic f0ffa72fc9 [FAST486]
Properly implement FRNDINT.


svn path=/trunk/; revision=67835
2015-05-20 17:23:55 +00:00
Christoph von Wittich c3e0cd41ca [WIN32SS]
spelling fix

svn path=/trunk/; revision=67834
2015-05-20 06:51:57 +00:00
Daniel Reimer 44fe04c85c [MAZESCR]
INI files for setting parameters? Lets get to the past Win 3.11 standards and make a configure dialog for that which reads and writes the stuff to the registry.

svn path=/trunk/; revision=67833
2015-05-20 01:57:07 +00:00
Aleksandar Andrejevic 4b0eed1598 [FAST486]
Fix Fast486FpuFromDoubleReal.


svn path=/trunk/; revision=67832
2015-05-20 01:04:21 +00:00
David Quintana e99e22229d [STOBJECT]
Followup to r67830: When no one handles a message, properly return that it was not handled.
This way all messages are handled correctly and not just NCCREATE.
Also took the chance to short-cut NCDESTROY, since the icon handlers have no need to receive this message.
CORE-9592 #resolve

svn path=/trunk/; revision=67831
2015-05-19 20:31:31 +00:00
Christoph von Wittich f799cb1290 [stobject]
do not handle WM_NCCREATE in ProcessWindowMessage
otherwise it get passed to ProcessIconMessage which will flag it as handled in case g_NumIcons is 0
which then will result in ATL not calling DefWndProc anymore
CORE-9592

svn path=/trunk/; revision=67830
2015-05-19 19:58:11 +00:00
Amine Khaldi 51db26b100 [SHELL32] Fix a typo. Spotted by IRC nick premoboss. CORE-9704
svn path=/trunk/; revision=67829
2015-05-19 19:38:06 +00:00
Aleksandar Andrejevic 904dcace9b [FAST486]
Fix Fast486FpuArithmeticOperation. It doesn't really matter for the operation
itself which operand is the source/destination, because the FPU actually
always performs the operation on ST0 and something else. So, FDIV/FDIVR were
never really reversed here, it's just that FDIV always divides ST0 by something
and FDIVR always divides something by ST0.


svn path=/trunk/; revision=67828
2015-05-19 16:57:46 +00:00
Aleksandar Andrejevic 94d8c8c4b2 [FAST486]
Fix UnsignedDivMod128 (again).
Fix Fast486FpuAdd to handle numbers whose difference of exponents is greater than
the number of bits in the mantissa.


svn path=/trunk/; revision=67827
2015-05-19 02:37:17 +00:00
Aleksandar Andrejevic 3bdb6b6e45 [FAST486]
Add checks for special numbers in Fast486FpuAdd.
Don't use pointers to out-of-scope variables.


svn path=/trunk/; revision=67826
2015-05-18 23:33:25 +00:00
Eric Kohl a37d047ad8 [SYSDM]
The maximum length of hardware profiles names is 79 characters. Use a matching string length and set the length of the edit control accordingly.

svn path=/trunk/; revision=67825
2015-05-18 20:29:14 +00:00
Pierre Schweitzer 4f7de22ae4 [FASTFAT]
Implement support for FastIO for:
- FastIoQueryBasicInfo
- FastIoQueryStandardInfo

Now, with this commit and the two previous, ReactOS won't attempt to issue an IRP for these query, but will directly go with the FastIO path.
The performance improvement is really visible in 1st stage (at least, here with VBox).

svn path=/trunk/; revision=67824
2015-05-18 19:51:14 +00:00
Pierre Schweitzer 30c11d7825 [NTOSKRNL]
Addendum to r67822: Add IoSetIoCompletion() to header

svn path=/trunk/; revision=67823
2015-05-18 19:49:15 +00:00
Pierre Schweitzer 13cb30a578 [NTOSKRNL]
Implement FastIO support for:
- NtFsControlFile()
- NtLockFile()
- NtUnlockFile()
- NtQueryInformationFile()

svn path=/trunk/; revision=67822
2015-05-18 19:47:11 +00:00
Aleksandar Andrejevic b96fb17aab [FAST486]
Implement FYL2X and FYL2XP1.


svn path=/trunk/; revision=67821
2015-05-18 15:27:08 +00:00
Aleksandar Andrejevic de0880752b [FAST486]
Fix several division related problems:
- In UnsignedDivMod128, fix the leading zero calculation for 128-bit numbers.
- In Fast486FpuDivide, there's no need to increase the exponent by 64 (adding zeros
at the end of a number after the decimal point changes nothing).
- FDIV/FDIVR were reversed


svn path=/trunk/; revision=67820
2015-05-18 12:17:40 +00:00
Aleksandar Andrejevic ec471e2759 [FAST486]
- Zero is not a denormalized number.
- In Fast486FpuMultiply, we must account for the fact that the resulting mantissa
also has the "decimal point" at the second position.


svn path=/trunk/; revision=67819
2015-05-18 04:42:22 +00:00
Aleksandar Andrejevic a6d59a04f6 [FAST486]
- Don't forget to check whether the FPU stack element exists before using it.
- Implement FSCALE.


svn path=/trunk/; revision=67818
2015-05-17 21:52:12 +00:00
Aleksandar Andrejevic 5be848439a [FAST486]
Fix F2XM1.
Implement FSIN, FCOS and FSINCOS.


svn path=/trunk/; revision=67817
2015-05-17 19:48:57 +00:00
Timo Kreuzer df9f3a9e44 [WIN32K]
Add debug prints to NtGdiPathToRegion

svn path=/trunk/; revision=67815
2015-05-17 16:26:23 +00:00
Aleksandar Andrejevic abd0364559 [FAST486]
Implement F2XM1 using a Maclaurin series.


svn path=/trunk/; revision=67814
2015-05-17 16:21:29 +00:00
Eric Kohl ade7bb8278 [SYSDM]
Implement renaming and copying of hardware profiles.
Modifications are not yet stored in the registry. WIP

svn path=/trunk/; revision=67813
2015-05-17 16:11:15 +00:00
Amine Khaldi dc555fa1f5 [SHLWAPI] Properly stub SHGetPrivateProfileSection. CORE-9708
svn path=/trunk/; revision=67812
2015-05-17 14:53:38 +00:00
Timo Kreuzer e59b02d08f [WIN32K]
Add debugprints to some region and path functions.

svn path=/trunk/; revision=67811
2015-05-17 14:34:49 +00:00
Timo Kreuzer 635d9ca5a2 [NTOSKRNL]
Implement MiGetFileObjectForSectionAddress and use it in MmGetFileNameForAddress and NtAreMappedFilesTheSame. Don't call MmLocateMemoryAreaByAddress from these functions anymore.

svn path=/trunk/; revision=67810
2015-05-17 13:46:12 +00:00
Timo Kreuzer 18861e4fde [GDIPLUS]
Add even more debugprints

svn path=/trunk/; revision=67809
2015-05-17 13:44:34 +00:00
Pierre Schweitzer 89eca90722 [FASTFAT]
Fix a fixme in VfatGetUserBuffer():
Only request high priority page when in the paging path. Otherwise, request normal priority

svn path=/trunk/; revision=67808
2015-05-17 12:22:28 +00:00
Timo Kreuzer 22106e6ce1 [GDIPLUS]
Add some debug output to try to track winetest failures.

svn path=/trunk/; revision=67807
2015-05-17 11:49:04 +00:00
Timo Kreuzer 8613578cea [DINPUT_WINETEST]
Skip randomly failing tests. See ROSTESTS-176 and CORE-9710

svn path=/trunk/; revision=67806
2015-05-17 10:55:03 +00:00
Pierre Schweitzer f1701931b0 [CONSOLE]
Fix memory leaks

svn path=/trunk/; revision=67805
2015-05-17 10:20:58 +00:00
Pierre Schweitzer ff88b914aa [SETUPAPI]
Fix a memory leak

svn path=/trunk/; revision=67804
2015-05-17 10:09:50 +00:00
Pierre Schweitzer 266e481f4c [WS2_32]
RtlFreeHeap -> FreeHeap

svn path=/trunk/; revision=67803
2015-05-17 10:07:00 +00:00
Pierre Schweitzer 8f143b24e3 [INFLIB]
Don't free memory twice on failure

svn path=/trunk/; revision=67802
2015-05-17 09:41:54 +00:00
Pierre Schweitzer 22fd66f79e [CREATE_NLS]
Initialize line count before incrementing it

svn path=/trunk/; revision=67801
2015-05-17 09:38:32 +00:00
James Tabor 65d178a69b - Fix local build.
svn path=/trunk/; revision=67800
2015-05-17 08:37:00 +00:00