Suggested tree cleanup for gfx/

RESOLVED FIXED in mozilla2.0



11 years ago
8 years ago


(Reporter: zwol, Unassigned)


(Blocks: 1 bug)


Firefox Tracking Flags

(Not tracked)




11 years ago
gfx/ has some unnecessary depth.  The src/shared and src/thebes directories could be brought down to src/ now that thebes is the only rendering implementation in the tree.  Also, per discussion at the summit, public/ and src/ directories are to be collapsed into the parent.  As there are only a handful of files in gfx/idl I think it simpler to bring them up too.  Thus, the proposed renames are:

cd gfx
hg mv src/psshared postscript
hg mv postscript/psshared.pkg postscript/postscript.pkg
hg mv public/*.h .
hg mv idl/*.idl idl/*.pl .
hg mv src/*.{h,cpp,pkg} .
hg mv src/shared/*.{h,cpp} .
hg mv src/thebes/*.{h,cpp} .
hg mv src/thebes/crashtests .
hg rm {idl,public,src/shared,src/thebes,src}/
hg rm idl public src/shared src/thebes src

One must then also merge the deleted Makefiles into the top-level Makefile, which I leave to someone who understands them better and can test cross-platform.


11 years ago
Blocks: 430829

Comment 1

11 years ago
Move everything to resp. public and src (as is practice in other areas).
But overall I am in favor of this!

Comment 2

11 years ago
Consensus at the summit was to get rid of public and src everywhere, if I remember correctly.

Comment 3

11 years ago
Even better. Unfortunately I couldn't make it to the summit :-(


10 years ago
Product: Core → Core Graveyard

Comment 4

10 years ago
grr, bogus product move.
Component: GFX → GFX: Thebes
Product: Core Graveyard → Core
QA Contact: general → thebes
gfx is currently:
angle  cairo  harfbuzz  ipc  layers  ots  qcms  src  tests  thebes  ycbcr

angle, cairo, harfbuxx, qcms, OTS, ycbcr are all library imports.  src has no subdirectories.  thebes is at the top level as suggested.  Tests are unified in gfx/tests.

I will call this done.
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.