63 Commits

Author SHA1 Message Date
Galen Huntington
57aa1e606a Try to integrate @abarbu patches. 2019-03-15 21:43:56 -07:00
Galen Huntington
2443774403 Get this to compile. 2019-03-15 21:10:40 -07:00
Mark Laws
9eb6ab384e Fixes for GHC 8.x, archive loading, -dynamic, and file generation 2018-01-23 10:32:37 +09:00
Harendra Kumar
dee0f76486 Support GHC 8 2017-02-20 02:05:05 +05:30
Jeremy Shaw
7c50a8cb6c convert tabs to spaces. strip trailing whitespace. 2015-10-09 19:35:06 -05:00
Franklin Chen
53a0f5b97b Support GHC 7.10. Add new GitHub URL. Add Travis. 2015-10-09 15:10:10 -04:00
Jeremy Shaw
8124e44234 added -c flag in System.Plugins.Load.unify 2013-10-03 18:39:43 +00:00
Jeremy Shaw
08f4a08a08 remove -fglasgow-exts flag from System.Eval.Utils.getPath 2013-10-03 18:38:41 +00:00
Jeremy Shaw
709114d1ec some minor haddock improvements and removal of trailing whitespace 2012-10-22 19:46:51 +00:00
Jeremy Shaw
682a2dcbf2 add explicit import list for System.Directory to avoid name clash on findFile 2012-10-22 19:46:19 +00:00
Jeremy Shaw
58d98a7471 fix compiler warning regarding Prelude.catch -> Control.Exception.catch 2012-03-19 22:26:53 +00:00
Jeremy Shaw
26d09ce631 create valid DynFlags argument for newHscEnv when using GHC >= 7.2 2012-03-19 22:19:37 +00:00
Ben Gamari
2893cdd167 Added support for GHC >= 7.4 (via conditional compilation) 2012-03-19 18:22:53 +00:00
Brian Victor
c0b4642cbc update plugins to support GHC >= 7.2 (via conditional compilation) 2012-03-19 18:20:05 +00:00
Don Stewart
c90676d8f7 remove a warning 2010-10-18 18:09:09 +00:00
Jeremy Shaw
29547f0f81 two fixes for chasing dependencies via lookupPkg
1. union needs to add each package *three* times

    i.   with out the version number
    ii.  with the version number
    iii. with the full installed package id (new)

 2. lookupPkg needs to avoid getting caught in a loop by circular
 dependencies
2010-10-18 04:03:21 +00:00
Don Stewart
b8e8809186 Replace custom mktemp implementation in favor of one now in base 2010-09-23 21:22:06 +00:00
Don Stewart
420a1644ce Strip out two dead package api modules 2010-09-23 20:11:04 +00:00
Don Stewart
bc895a28f9 Remove the two obsolete package.conf parsers 2010-09-23 20:03:11 +00:00
Don Stewart
f56ab96f34 Make ascii clean and ghci clean, bump 2010-09-23 19:43:18 +00:00
Manuel M T Chakravarty
838f8c0aca Adapt to work with GHC 6.12
- Adapted the package to work with GHC 6.12
- Plugins that depend on the old base3 are currently
  not correctly loaded as the plugin loaded misses
  the dependence on syb (leading to unresolved symbols)
- Cleaned up most of the testsuite (there are still
  some outstanding failures, of which only one
  demonstrates a bug in the plugins library as far
  as I can see — see previous bullet point)
- Cleaned out a little cruft (but more could be done)
2010-09-22 05:10:19 +00:00
James Cook
67635f72b8 Fix mkTemp, et al. to handle the case where an X appears in the dir part of the template.
This happens quite often on Mac OS X in my experience.  $TMPDIR is set to a private location with the name apparently generated by some hashing algorithm.  I wouldn't be surprised if it is derived from the username somehow, as my accounts consistently wind up with 'X's in their $TMPDIR, on many systems.
2009-08-18 23:12:15 +00:00
alson
a0391e5cd3 More for GHC 6.10 2009-01-31 23:29:21 +00:00
alson
9d431c68a3 Updating for GHC 6.10 2009-01-31 23:16:26 +00:00
gbmvdd
77722b17bc fix-cabal-1.4-build
Hide conflicting imports of Distribution.Package.depends and packageName where necessary to allow hs-plugins to build against Cabal>=1.4.
2008-11-04 16:12:06 +00:00
jeremy
927cb18681 remove bogus calls to decode in loadDepends
decode was being called on the module names in loadDepends, however
these strings were not Z-coded. Most of the time decode just returns
the string unmodified, which is why this problem has not caused
widespread failure.
2008-08-24 23:49:48 +00:00
Sergei Trofimovich
d548687001 added support for --user package discovery
This patch allows run plugins, containig
import of --user installed packages. Useful
for lambdabot installation in $HOME.

package.conf are found by parsing `ghc-pkg list`
2008-08-20 12:55:16 +00:00
cgibbard
5e250e94d2 Fix some warnings. 2007-12-16 05:52:29 +00:00
cgibbard
b80977561c Remove Language.Hi in favour of using the ghc-api directly, fix to work with GHC 6.8.2.
This is still *very* kludgey, and it needs lots of work which I'm not
entirely prepared for, seeing as I really don't know anything about
the ghc-api and how things are supposed to fit together. It is quite
conceivable that the code could be simplified much further by someone who
actually understands the ghc-api, and there may be bugs related to the fact
that I don't actually know what some things do. However, this builds
and does appear to work. Most of the testsuite is passing.
2007-12-16 05:28:44 +00:00
bjorn
642bd3add6 GHC 6.6 includes the package name in symbol names. This means that loadPackage_ needs to know the package name. I added a loadPackage__ with a package name argument. I also added loadPackageFunction with is a convenience functions for loading a value from a package module. This is very useful in HaskellDB. 2007-08-29 14:26:57 +00:00
Benja Fallenstein
a1058e1ecb remove AltData.* from exposed-modules in plugins.cabal.hsx; remove a comment that talks about AltData 2007-03-23 00:04:42 +00:00
Lemmih
48e054cfd5 Ugly fix to an ugly problem. 2007-01-30 04:00:41 +00:00
Lemmih
9b3069cb3d Comment. 2007-01-29 03:20:59 +00:00
Lemmih
bc5726ccd2 Version handling wibbles. 2007-01-29 03:16:34 +00:00
lemmih
5d497a1c60 Hardcoding ["m","gmp"] is bad. We shouldn't link with any of the DLLs from a already linked package. 2006-01-25 10:45:40 +00:00
Lemmih
7856e250aa Remove AltData, yay. 2007-01-29 03:14:51 +00:00
lemmih
afc53152e9 AltData is pure evil. 2006-01-25 10:49:40 +00:00
Don Stewart
748afc256e make lookupSymbol threadsafe, so loading doesn't block all threads on systems without an IO manager thread (win32) 2006-10-23 02:38:44 +00:00
dons
a1b9782556 whitespace only 2006-06-21 05:13:53 +00:00
ulfn
ec3e63ef8d look for dynamic libraries when loading packages 2006-08-14 14:37:28 +00:00
dons
2ba550faa1 Truly random idents to foil #haskell games 2006-04-30 02:01:14 +00:00
boy
493be17566 strict file IO for make 2006-03-31 13:32:46 +00:00
dons
33c374fb75 Random name instead of 'v' 2006-04-10 00:25:00 +00:00
dons
3db2f02a2c comments, retab 2005-12-25 23:43:27 +00:00
dons
fc1a519459 Some debug ideas from bringert 2005-12-07 23:52:30 +00:00
lemmih
1acd230b94 Let new package dbs take precedence over old ones. 2005-09-23 16:12:24 +00:00
lemmih
1a2cbbf582 Export 'env' from System.Plugins.Env 2005-09-13 20:33:33 +00:00
lemmih
a7991e8cb6 Refactored System.Plugins.Load.loadFunction 2005-09-13 16:54:28 +00:00
Don Stewart
dfa37bb45f Add some documentation 2005-09-08 07:06:12 +00:00
Don Stewart
ab803f0975 More haddocks 2005-09-07 06:29:51 +00:00