[ros-diffs] [tkreuzer] 40182: In the beginning somebody created dc.c. And he saw that it was empty. So he quickly added some functions to it. And as there were so many nice dc functions, the dc.c quickly got populated with a lot of code. But dc.c must have still felt lonely, so that people added more and more code, even completely unrelated code. Finally dc.c became a fat wastedump for all the code a developer didn't know where to put. Clean up this mess by splitting the 3600 line monster file into 5 files and moving some stuff into other files.

tkreuzer at svn.reactos.org tkreuzer at svn.reactos.org
Mon Mar 23 04:43:12 CET 2009


Author: tkreuzer
Date: Mon Mar 23 06:43:11 2009
New Revision: 40182

URL: http://svn.reactos.org/svn/reactos?rev=40182&view=rev
Log:
In the beginning somebody created dc.c. And he saw that it was empty. So he quickly added some functions to it. And as there were so many nice dc functions, the dc.c quickly got populated with a lot of code. But dc.c must have still felt lonely,
so that people added more and more code, even completely unrelated code. Finally dc.c became a fat wastedump for all the code a developer didn't know where to put.

Clean up this mess by splitting the 3600 line monster file into 5 files and moving some stuff into other files.

Added:
    trunk/reactos/subsystems/win32/win32k/objects/dcattr.c
      - copied, changed from r40179, trunk/reactos/subsystems/win32/win32k/objects/dc.c
    trunk/reactos/subsystems/win32/win32k/objects/dclife.c
      - copied, changed from r40179, trunk/reactos/subsystems/win32/win32k/objects/dc.c
    trunk/reactos/subsystems/win32/win32k/objects/dcobjs.c
      - copied, changed from r40179, trunk/reactos/subsystems/win32/win32k/objects/dc.c
    trunk/reactos/subsystems/win32/win32k/objects/dcstate.c
      - copied, changed from r40179, trunk/reactos/subsystems/win32/win32k/objects/dc.c
    trunk/reactos/subsystems/win32/win32k/objects/device.c
      - copied, changed from r40179, trunk/reactos/subsystems/win32/win32k/objects/dc.c
Removed:
    trunk/reactos/subsystems/win32/win32k/objects/dc.c
Modified:
    trunk/reactos/subsystems/win32/win32k/include/dc.h
    trunk/reactos/subsystems/win32/win32k/objects/coord.c
    trunk/reactos/subsystems/win32/win32k/objects/dcutil.c
    trunk/reactos/subsystems/win32/win32k/win32k.rbuild

[This mail would be too long, it was shortened to contain the URLs only.]

Modified: trunk/reactos/subsystems/win32/win32k/include/dc.h
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/include/dc.h?rev=40182&r1=40181&r2=40182&view=diff

Modified: trunk/reactos/subsystems/win32/win32k/objects/coord.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/coord.c?rev=40182&r1=40181&r2=40182&view=diff

Removed: trunk/reactos/subsystems/win32/win32k/objects/dc.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/dc.c?rev=40181&view=auto

Copied: trunk/reactos/subsystems/win32/win32k/objects/dcattr.c (from r40179, trunk/reactos/subsystems/win32/win32k/objects/dc.c)
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/dcattr.c?p2=trunk/reactos/subsystems/win32/win32k/objects/dcattr.c&p1=trunk/reactos/subsystems/win32/win32k/objects/dc.c&r1=40179&r2=40182&rev=40182&view=diff

Copied: trunk/reactos/subsystems/win32/win32k/objects/dclife.c (from r40179, trunk/reactos/subsystems/win32/win32k/objects/dc.c)
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/dclife.c?p2=trunk/reactos/subsystems/win32/win32k/objects/dclife.c&p1=trunk/reactos/subsystems/win32/win32k/objects/dc.c&r1=40179&r2=40182&rev=40182&view=diff

Copied: trunk/reactos/subsystems/win32/win32k/objects/dcobjs.c (from r40179, trunk/reactos/subsystems/win32/win32k/objects/dc.c)
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/dcobjs.c?p2=trunk/reactos/subsystems/win32/win32k/objects/dcobjs.c&p1=trunk/reactos/subsystems/win32/win32k/objects/dc.c&r1=40179&r2=40182&rev=40182&view=diff

Copied: trunk/reactos/subsystems/win32/win32k/objects/dcstate.c (from r40179, trunk/reactos/subsystems/win32/win32k/objects/dc.c)
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/dcstate.c?p2=trunk/reactos/subsystems/win32/win32k/objects/dcstate.c&p1=trunk/reactos/subsystems/win32/win32k/objects/dc.c&r1=40179&r2=40182&rev=40182&view=diff

Modified: trunk/reactos/subsystems/win32/win32k/objects/dcutil.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/dcutil.c?rev=40182&r1=40181&r2=40182&view=diff

Copied: trunk/reactos/subsystems/win32/win32k/objects/device.c (from r40179, trunk/reactos/subsystems/win32/win32k/objects/dc.c)
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/objects/device.c?p2=trunk/reactos/subsystems/win32/win32k/objects/device.c&p1=trunk/reactos/subsystems/win32/win32k/objects/dc.c&r1=40179&r2=40182&rev=40182&view=diff

Modified: trunk/reactos/subsystems/win32/win32k/win32k.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/win32k.rbuild?rev=40182&r1=40181&r2=40182&view=diff



More information about the Ros-diffs mailing list