236 Commits

Author SHA1 Message Date
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
Don Stewart
7c0264ec1e bump 2010-10-18 18:06:08 +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
c3cbce5390 Bump 2010-09-23 21:23:09 +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
Don Stewart
bdd7df5bec Add upper bound 2010-09-22 20:42:17 +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
Don Stewart
e848b6ea1d Remove Linker.h 2009-03-15 20:14:03 +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
Don Stewart
80291eec13 bump range 2008-11-11 19:02:41 +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
Don Stewart
8038250591 cabal tweaks 2008-11-02 18:01:25 +00:00
Don Stewart
686892fbdc bump 2008-08-25 18:51:58 +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
Spencer Janssen
3e128d4b58 Bump version to 1.2 2008-04-07 23:27:23 +00:00
Spencer Janssen
24d17934fd More extra-source-files 2008-04-07 23:20:22 +00:00
Spencer Janssen
2250501fca Merge in changes from the tarball on hackage, add install.sh to extra-source-files 2008-04-07 23:10:45 +00:00
Spencer Janssen
72cfea7cda Remove -O and -fasm from plugins.cabal 2008-04-07 23:06:53 +00:00
Don Stewart
a8e1d4f21f Cabal >= 1.2.3 2007-12-20 02:25:55 +00:00
Don Stewart
cafe841cf4 TAG plugins 1.1 2007-12-16 07:10:26 +00:00
Don Stewart
4839fe8a68 update configure 2007-12-16 06:06:37 +00:00
Don Stewart
de2f42f9c2 update .cabal file for ghc 6.8. we *depend* on ghc 6.8 from this point onwards 2007-12-16 05:56:54 +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
Ian Lynagh
1872c2735a Strip \r's to fix building on Windows 2007-03-16 22:47:55 +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
e930951796 Fix the testsuite. 2007-01-29 03:18:27 +00:00
Lemmih
2b876f52e9 Hi parser for ghc6.6 2007-01-29 03:15:27 +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
71cc0e9222 regenerate configure 2006-07-28 03:30:50 +00:00
bjorn
946fc8e863 Changed configure to define MACOSX also on Intel Macs. 2006-07-17 23:42:19 +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