33 Commits

Author SHA1 Message Date
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
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
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
ulfn
ec3e63ef8d look for dynamic libraries when loading packages 2006-08-14 14:37:28 +00:00
boy
493be17566 strict file IO for make 2006-03-31 13:32:46 +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
Don Stewart
be506121a2 Better haddocks for Plugins.Make 2005-09-07 02:49:31 +00:00
Don Stewart
c336af2b0e mv code back into src/. Kindly pointed out by Lemmih 2005-09-03 06:38:06 +00:00
Don Stewart
90d780cff8 Partially improve the cabalisation 2005-09-03 03:10:04 +00:00
lemmih
d380755047 Report the error when a process returns a non-zero exit code. 2005-08-25 18:46:10 +00:00
lemmih
5d2b4db2a8 Unload loaded code if 'resolveObjs' fail.
Keeping the erroneous code in memory will leave the system in an unusable state.
2005-08-24 18:43:46 +00:00
Don Stewart
fcc91a57ab warning police 2005-08-19 02:09:20 +00:00
Don Stewart
e59c59d3ea Make dependency on HSX *optional*. Use ./configure --enable-hsx to use it 2005-08-19 01:43:17 +00:00
dons
5dbfa70f74 More fixes for 605, and adjust expected output 2005-08-19 01:04:43 +00:00
dons
6c122b67c4 Fixes to compile with 6.5 2005-08-19 00:52:51 +00:00
Don Stewart
ddebf95148 And the rest, oops 2005-08-19 00:47:47 +00:00
Don Stewart
bbd6456dff regen 2005-08-18 05:16:12 +00:00
Don Stewart
46b07ed75c Mv plugins -> src 2005-08-18 05:05:19 +00:00