- 22 Mar, 2005 6 commits
-
-
simonpj authored
Windows wibbles
-
simonmar authored
A start on the GHC API: Flesh out the GHC module so that it can replace CompManager. Now, the clients that used CompManager consume the GHC API instead (namely Main, DriverMkDepend, and InteractiveUI). Main is significantly cleaner as a result. The interface needs more work: in particular, getInfo returns results in the form of IfaceDecls but we want to use full HsSyn and Id/DataCon/Class across the boundary instead. The interfaces for inspecting loaded modules are not yet implemented.
-
simonmar authored
wibble
-
simonmar authored
update list of files to be touched during bootstrapping
-
simonmar authored
remove redundant dependency
-
wolfgang authored
Mac OS X: Make bindist work with dynamic libraries MERGE TO STABLE
-
- 21 Mar, 2005 3 commits
-
-
sof authored
__hscore_getFolderPath(): Don't limit ourselves to shell32.dll, look up shfolder.dll too. Merge to STABLE.
-
simonmar authored
Update the -fno-cse flags
-
simonmar authored
Complete the transition of -split-objs into a dynamic flag (looks like I half-finished it in the last commit). Also: complete the transition of -tmpdir into a dynamic flag, which involves some rearrangement of code from SysTools into DynFlags. Someday, initSysTools should move wholesale into initDynFlags, because most of the state that it initialises is now part of the DynFlags structure, and the rest could be moved in easily.
-
- 19 Mar, 2005 1 commit
-
-
sof authored
[Windows only] for System.Directory / Compat.Directory functionality that probes the OS for local details re: misc user directories, perform late binding of SHGetFolderPath() from shell32.dll, as it may not be present. (cf. ghc-6.4's failure to operate on Win9x / NT boxes.) If the API isn't there, fail with UnsupportedOperation. Packages.readPackageConfigs: gracefully handle excns from getAppUserDataDirectory. Merge to STABLE.
-
- 18 Mar, 2005 7 commits
-
-
simonpj authored
Import wibble
-
simonpj authored
Fix stage-2 build
-
simonmar authored
Undo rev. 1.6, these changes shouldn't have been in this tree
-
simonmar authored
Flags cleanup. Basically the purpose of this commit is to move more of the compiler's global state into DynFlags, which is moving in the direction we need to go for the GHC API which can have multiple active sessions supported by a single GHC instance. Before: $ grep 'global_var' */*hs | wc -l 78 After: $ grep 'global_var' */*hs | wc -l 27 Well, it's an improvement. Most of what's left won't really affect our ability to host multiple sessions. Lots of static flags have become dynamic flags (yay!). Notably lots of flags that we used to think of as "driver" flags, like -I and -L, are now dynamic. The most notable static flags left behind are the "way" flags, eg. -prof. It would be nice to fix this, but it isn't urgent. On the way, lots of cleanup has happened. Everything related to static and dynamic flags lives in StaticFlags and DynFlags respectively, and they share a common command-line parser library in CmdLineParser. The flags related to modes (--makde, --interactive etc.) are now private to the front end: in fact private to Main itself, for now.
-
simonmar authored
merge rev. 1.6.2.1, simplified slightly: Initialise a CostCentreStack by generating SIZEOF_CostCentreStack (gotten from the C compiler) zeros, padded to the nearest word. Improves on the previous fixes for unpredictable padding (see comment).
-
simonmar authored
Add SIZEOF_CostCentreStack
-
simonpj authored
Clarify -main-is documentation
-
- 17 Mar, 2005 10 commits
-
-
simonmar authored
Fix a few CCCS that should be W_[CCCS] that I just noticed. I suspect that heap-profiling STM code might run into difficulties in 6.4.
-
simonmar authored
Fix +RTS -xc, which is broken in 6.4.
-
simonmar authored
Rearrange the fields of CostCentreStack to leave no (or less) room for arbitrary padding decisions by C compilers.
-
simonpj authored
Re-clarify hs-boot docs
-
simonpj authored
Follow-up fix to this: ghc --make should check for a module graph that contains a hs-boot file with no corresponding parent module Namely, instead of complaining, just add the parent module. Merge to STABLE
-
simonpj authored
Clarify hs-boot docs
-
simonpj authored
minor to fix to (still probably broken) stglint
-
simonpj authored
ghc --make should check for a module graph that contains a hs-boot file with no corresponding parent module Merge to STABLE
-
simonpj authored
Buglet in compiling hs-boot files We should make GlobalIds not LocalIds Merge to STABLE
-
simonpj authored
Comments
-
- 16 Mar, 2005 7 commits
-
-
simonmar authored
Add note about GLUT from Claus (actually I have very little idea if this is correct or not - Sven, if you have a chance to take a look that would be great.)
-
simonpj authored
Localise the binder for the nested defn in LiberateCase, to avoid name clashes between top-level names. Discovered by Laszlo. Merge to STABLE
-
simonmar authored
Further to previous patch: only create the user database if we're modifying
-
simonmar authored
Be a bit less eager about creating the user database: now we only create it when explicitly asked to use it with --user.
-
simonmar authored
Fix InstalledPackageInfo link
-
krasimir authored
Remove Main module from exported-modules field
-
simonpj authored
---------------------------------- Two GADT error-reporting bugs ---------------------------------- Merge to STABLE ...missed file... 1. Bug in kind-checking for GADTs; turned out to be in isOpenTypeKind on KindVars ....
-
- 15 Mar, 2005 6 commits
-
-
sof authored
[mingw only]setProgName(): robustify by looking for the last '/' or '\\' in argv[0]. My copy of 'gdb' likes to use a mixture of the two, which causes a fatal error when trying to debug libHSrts_p.a. Other process-invoking apps/shells might be equally wavering when it comes to the use of slashes. Merge to STABLE.
-
krasimir authored
all modules from GHC are listed in exposed-modules field
-
simonmar authored
TARGET->HOST
-
simonpj authored
---------------------------------- Two GADT error-reporting bugs ---------------------------------- Merge to STABLE 1. Bug in kind-checking for GADTs; turned out to be in isOpenTypeKind on KindVars 2. Missed check for the return type for GADTs
-
krasimir authored
package.conf.in is changed to the new syntax. The list of exposed modules still have only one module GHC
-
simonmar authored
A very rough start at the GHC API, here so that others can look and modify it.
-