- 09 Dec, 2005 1 commit
-
-
simonmar authored
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
-
- 02 Dec, 2005 4 commits
-
-
simonmar authored
remove one mention of hslibs
-
simonmar authored
- remove hslibs link - add Building Guide link - remove the word "hierarchical" from "hierarchical libraries"
-
simonmar authored
revert rev. 1.22 again, just in case this is the cause of the segfaults reported on OpenBSD and SuSE.
-
simonmar authored
Fix Windows build Patch submitted by: Esa Ilari Vuokko <eivuokko at gmail.com>
-
- 30 Nov, 2005 7 commits
-
-
simonmar authored
fix bug in the case of an uncaught exception
-
simonmar authored
check for overrun of the fd_set, some OSs give you more descriptors than FD_SETSIZE
-
simonpj authored
----------------------------------------- Fix 'mkName' operator in Template Haskell so that it handles built-in syntax ----------------------------------------- Merge to stable branch The 'mkName' function in Template Haskell wasn't dealing correctly with built-in syntax. The parser generates Exact RdrNames for built-in syntax operators, such as ':' and '[]'; and hence so should Convert. At the same time I'm now generating a better error message in TH when you use a constructor as a variable or vice versa.
-
John Goerzen authored
-
John Goerzen authored
-
John Goerzen authored
-
John Goerzen authored
-
- 28 Nov, 2005 6 commits
-
-
simonmar authored
small tidyup for printing bindings with long identifiers: allow the binder and its definition to go on separate lines
-
simonmar authored
Small performance improvement to STM: reduce the size of an atomically frame from 3 words to 2 words by combining the "waiting" boolean field with the info pointer, i.e. having two separate info tables/return addresses for an atomically frame, one for the normal case and one for the waiitng case.
-
simonmar authored
small fix to debugging output
-
simonpj authored
Dont try to output code for "naughty" record selectors
-
simonpj authored
Document record syntax for GADTs and existentials (thanks Autrijus)
-
simonpj authored
Patch from Atrijus alleged to fix FreeBSD build
-
- 25 Nov, 2005 10 commits
-
-
simonmar authored
We must empty the suspended_ccalling_tasks and the returning_task list when forking.
-
simonmar authored
Modify some assertions that were occasionally incorrect
-
simonmar authored
remove a misplaced RELEASE_LOCK
-
simonmar authored
oops, undo previous (SMP.h is already included)
-
simonmar authored
#include SMP.h
-
simonmar authored
define wb() and xchg() for non-SMP versions of the RTS
-
simonmar authored
-ddump-minimal-imports shouldn't turn off recompilation checking
-
simonmar authored
sort packages by name and version in the 'ghc-pkg list' output
-
simonmar authored
fix comment
-
simonmar authored
object files don't use the .obj suffix on Windows.
-
- 24 Nov, 2005 10 commits
-
-
simonmar authored
In SMP mode it is still possible for an update frame on the stack to point to an indirection, when two threads evaluate the same thunk (see comment for details). So we use the following trick: when the GC discovers an update frame pointing to an indirection, it changes the indirection to be an IND_PERM, so it will be retained rather than discarded.
-
simonmar authored
fix some (thankfully harmless) typos
-
simonmar authored
strictly speaking, we also need write barriers in the update code too (although gcc hasn't been caught doing any reordering here, as yet).
-
simonmar authored
unlockClosure() requires a write barrier for the compiler - write barriers aren't required for the CPU, but gcc re-orders non-aliasing writes unless we use an explicit barrier. This only just showed up when we started compiling the RTS with -O2.
-
simonmar authored
make this compile non-threaded again
-
simonmar authored
lock down the global state in the StablePtr implementation
-
simonmar authored
wibble
-
simonmar authored
bugfix to rev. 1.3: we must fill the slop before writing the indirectee, because in the case of AP_STACK the indirectee will overwrite the size field of the closure.
-
simonmar authored
bugfix to new raiseAsync_
-
simonpj authored
A patch to the already-somewhat-delicate machinery that deals with pattern-matching on unboxed tuples. This patch deals with pattern matches that can fail, e.g. case f x of (# Just x, Nothing #) -> ... The fix is in desugaring of HsCase (DsExpr.lhs). The test is dsrun013
-
- 23 Nov, 2005 2 commits