Commit graph

12 commits

Author SHA1 Message Date
Colin Finck c2c66aff7d Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
Timo Kreuzer d33bc192ba [WIN32K]
Fix all MSVC static analyzer warnings. (a few are suppressed after checking that it's ok)
Fixes a number of missing or wrong function return checks, wrong printf format specifiers and a few other things,

svn path=/trunk/; revision=66646
2015-03-10 00:12:41 +00:00
Hermès Bélusca-Maïto 42c3492b5c Revert tree-restructure attempt: r66583, r66582, r66581, r66578, sauf ntdll changes, r66576 and r66575 sauf mvdm changes (ok with Aleksander).
svn path=/trunk/; revision=66588
2015-03-06 14:33:02 +00:00
Hermès Bélusca-Maïto ddb90f1e10 Start source tree (final, I hope!) restructuration. Part 1/X
Win32, Shell, Services, MVDM

svn path=/trunk/; revision=66575
2015-03-05 23:03:33 +00:00
Timo Kreuzer 556eadf871 [WIN32K]
- Implement FLOATOBJ_bConvertToLong inline function that converts a FLOATOBJ to a long or returns FALSE if the value would overflow a LONG
- Remove underscore prefixes from inline FLOATOBJ functions and use it only on those that already exist as non-inline versions.
- Remove duplicated FLOATOBJ defines for non-x86
- Fail on integer overflow in XFORMOBJ_bXformFixPoints to avoid creating bogus coordinates.

svn path=/trunk/; revision=65490
2014-11-25 23:44:59 +00:00
Timo Kreuzer 34e909ecc9 [WIN32K]
- In XFORMOBJ_bApplyXform do not overwrite the data in the input buffer
- Make XFORMOBJ_bXformFixPoints return VOID instead of BOOL

svn path=/trunk/; revision=65445
2014-11-22 09:07:33 +00:00
Timo Kreuzer 79965b20db [WIN32K]
Round to nearest integer in FIX2LONG, used in XFORMOBJ APIs. Fixes rounding errors when doing coordinate transformation.

svn path=/trunk/; revision=65392
2014-11-13 11:12:56 +00:00
Timo Kreuzer cdb844e88c [WIN32K]
- Improve performance of XFORMOBJ_bXformFixPoints by getting the integer values from the FLOATOBJ once instead of on every iteration

svn path=/trunk/; revision=64261
2014-09-24 21:27:47 +00:00
Alex Ionescu 485cd9ca16 [WIN32K]: Get rid of unused variables, fix all warnings on GCC 4.7
svn path=/trunk/; revision=59516
2013-07-19 17:06:14 +00:00
Timo Kreuzer 6a17ab3c5e [WIN32K]
- Take translation into account when inverting an XFORMOBJ
- Always use the matrices from the DCATTR instead of DCLEVEL
- Mark Device-to-World translation as invalid when the Window Origin is modified
Fixes 7088
See issue #7088 for more details.

svn path=/trunk/; revision=56970
2012-07-28 18:31:24 +00:00
Timo Kreuzer 0e6b454957 [WIN32K]
- Make XFORMOBJ_iSetXform fail, when the XFORM is invalid (eM11 or eM22 are 0)
- Handle error in GreModifyWorldTransform

svn path=/trunk/; revision=56422
2012-04-25 17:29:50 +00:00
Amine Khaldi e19d519f52 * Reorganize the whole ReactOS codebase into a new layout. Discussing it will only waste time, so we better have it then talk about it after.
* Put ntoskrnl and ntdll in the same folder, because they both start with nt.
* Place hal next to acpi, they both deal with hardware stuff.
* Move mountmgr next to usb drivers.
* Put the rtl next to the crt, and share as much as possible between the two.
* I'm just kidding, you know, April's fool and all ;)

Here's the real deal:

[WIN32SS]
* And finally, integrate win32k itself into the new file layout. Now the subsystem modules are located close to each other (like gdi32 and ntgdi, or user32 and ntuser).
* Thanks go to the subsystem team for coming up with this nice layout, hopefully this will scale to the whole codebase layout soon.
* Special thanks to Smiley for coming up with this cool idea :)

svn path=/trunk/; revision=56311
2012-04-01 20:42:43 +00:00
Renamed from reactos/subsystems/win32/win32k/objects/xformobj.c (Browse further)