summaryrefslogtreecommitdiff
path: root/ghc/rts/VisWindow.c
Commit message (Collapse)AuthorAgeFilesLines
* Reorganisation of the source treeSimon Marlow2006-04-071-747/+0
| | | | | | | | | | | | | | | Most of the other users of the fptools build system have migrated to Cabal, and with the move to darcs we can now flatten the source tree without losing history, so here goes. The main change is that the ghc/ subdir is gone, and most of what it contained is now at the top level. The build system now makes no pretense at being multi-project, it is just the GHC build system. No doubt this will break many things, and there will be a period of instability while we fix the dependencies. A straightforward build should work, but I haven't yet fixed binary/source distributions. Changes to the Building Guide will follow, too.
* [project @ 2005-12-09 11:35:44 by simonmar]simonmar2005-12-091-257/+266
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make the front panel compile again, submitted by Duncan Coutts <duncan.coutts@worc.ox.ac.uk>. From his email: Attached is a patch to port the GHC RTS font panel to Gtk+ 2.x rather than the obsolete Gtk+ 1.2. There were basically two changes needed. Change the configure check to look for the pkg-config utility rather than the old gtk-config. At it's just checking for Gtk+ 2.0 or later. It may be that the new code actually needs a slightly later version than that. I'm not quite sure. The other change was to convert the ghc-fontpanel.glade file to the glade-2 format using the libglade-convert script and then to re-generate the C code for constructing the GUI, that is the Vis*.c Vis*.h files in ghc/rts. The front panel has been bit-rotting for quite some time so it has not kept up with changes in the rts structures. So I had to comment out references to 3 bits that no longer exist. I've left FIXMEs in the code at the appropriate places so that someone wiser than me can make the appropriate changes. So the thing does now build though I have no doubt that it will not run, or at least will not do the right thing because it has not yet been updated to the current state of the rts. However hopefully now that it is at least buildable with a modern Gtk+ version someone else might be able to fix it up. This also relates to trac ticket #599: http://cvs.haskell.org/trac/ghc/ticket/599
* [project @ 2003-06-24 08:47:05 by stolz]stolz2003-06-241-1/+1
| | | | Can't use tab stops in GTK
* [project @ 2000-11-01 11:57:29 by simonmar]simonmar2000-11-011-78/+78
| | | | Add the GLADE config for the front panel, tweak a few things.
* [project @ 2000-11-01 11:41:47 by simonmar]simonmar2000-11-011-0/+738
Add a basic "front panel" for GHC-compiled programs. How to use it: - re-autoconf & configure to detect GTK+ - add "GhcRtsWithFrontPanel = YES" to mk/build.mk - rebuild the RTS - compile up a program, add `gtk-config --libs` to the link command line - run with program with +RTS -f, - sit back & watch the show :-) Programs with lots of heap-resident data are the most interesting. For extra kicks, turn up the number of generations & steps like so: +RTS -f -G5 -T3. - Bootstrap your compiler, and see in glorious technicolor just how much of a lumbering beast GHC really is. This is a work in progress. There's lots more stuff we could display on the panel: suggestions/comments are of course welcome. The window layout was designed with GLADE, I'll commit the config file shortly. I haven't quite figured out how we're going to integrate this with the release yet (ie. whether we'll distribute two separate RTS's or what).