Commit graph

62264 commits

Author SHA1 Message Date
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
Timo Kreuzer 9b3193b087 [NTOSKRNL]
Kill all the code to remove memory areas from the old tree as well.

svn path=/trunk/; revision=67799
2015-05-17 00:35:56 +00:00
Timo Kreuzer 683badded6 [NTOSKRNL]
Don't check if a AMR3 owned memory area can be inserted, since we already know it's ok. Delete the related memory area code.

svn path=/trunk/; revision=67798
2015-05-17 00:35:47 +00:00
Timo Kreuzer c7d21f63c2 [NTOSKRNL]
Add a tiny hack to MiFindEmptyAddressRangeInTree and MiFindEmptyAddressRangeDownTree to support VADs in the kernel VA range. Make MmFindGap use those functions to look for free space.

svn path=/trunk/; revision=67797
2015-05-17 00:35:37 +00:00
Timo Kreuzer c6d5bbaa74 [NTOSKRNL]
Get rid of MiRosTakeOverSharedUserPage. We don't need it anymore, since the user page is manually handled in the page fault handler and since it's outside the VAD region, we don't need to block that range. Now there should be no memory areas left at all in MmDeleteProcessAddressSpace.

svn path=/trunk/; revision=67796
2015-05-17 00:35:23 +00:00
Timo Kreuzer 2b1be6187c [NTOSKRNL]
Modify MmLocateMemoryAreaByAddress as well to use the VAD table. Since the page fault handler uses it to find ARM3-Fault pages and the shared user page does have a memory area, but not a VAD, add a check for the shared user page in the old fault handler.

svn path=/trunk/; revision=67795
2015-05-17 00:35:09 +00:00
Timo Kreuzer 3538fd9556 [NTOSKRNL]
Implement MiRosCleanupMemoryArea to cleanup memory areas from MmCleanProcessAddressSpace, since later when we remove the old-style memory area links, we will not be able to retrieve those.

svn path=/trunk/; revision=67794
2015-05-17 00:34:59 +00:00
Timo Kreuzer 3565260212 [NTOSKRNL]
Use the VAD tree to search for MEMORY_AREAS, except when inserting an ARM3 based MA. In this case we still need to use the old tables, since the related VAD is already inserted into the VAD tree.

svn path=/trunk/; revision=67793
2015-05-17 00:34:45 +00:00
Timo Kreuzer 53a77173f5 [NTOSKRNL]
Insert kernel memory areas into a "kernel VAD table".

svn path=/trunk/; revision=67792
2015-05-16 23:36:42 +00:00
Timo Kreuzer 3964d05fb8 [NTOSKRNL]
- Allocate Memory area before trying to insert it in different pathes of MmCreateMemoryArea. This change is a preparation for upcoming changes.
- Cleanup MmInsertMemoryArea from useless stuff

svn path=/trunk/; revision=67791
2015-05-16 21:30:52 +00:00
Timo Kreuzer cf491f89ab [NTOSKRNL]
Use 1 as base address parameter to MmCreateMemoryArea, when 0 is the actual base and remove FixedAddress parameter in MmCreateMemoryArea

svn path=/trunk/; revision=67790
2015-05-16 21:30:28 +00:00
Pierre Schweitzer d2818e587c [NTOSKRNL]
Formatting. No code change!

svn path=/trunk/; revision=67789
2015-05-16 21:13:22 +00:00
Daniel Reimer ce915e428f [MAZE*]
Loading from ini file works flawless, even on ROS, so... ENABLE it.

svn path=/trunk/; revision=67788
2015-05-16 21:00:03 +00:00
Timo Kreuzer 595df76091 [NTOSKRNL]
Add an MMVAD to the MEMORY_AREA structure, instead of allocating a new one to synchronize with the process VAD tree

svn path=/trunk/; revision=67787
2015-05-16 20:10:41 +00:00
Timo Kreuzer 5280b4e3c6 [NTOSKRNL]
Convert MEMORY_AREA::EndingAddress to EndingVpn

svn path=/trunk/; revision=67786
2015-05-16 20:10:26 +00:00
Timo Kreuzer 85f59f294f [NTOSKRNL]
Convert MEMORY_AREA::StartingAddress to StaringVpn

svn path=/trunk/; revision=67785
2015-05-16 20:10:03 +00:00
Timo Kreuzer 418daaac86 [NTOSKRNL]
Convert StartingAddress and EndingAddress members in MEMORY_AREA to ULONG_PTR. Remove unused MmFindGapAtAddress.

svn path=/trunk/; revision=67784
2015-05-16 20:09:40 +00:00