Commit Graph

15 Commits

Author SHA1 Message Date
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
5e250e94d2 Fix some warnings. 2007-12-16 05:52:29 +00:00
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
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
bc5726ccd2 Version handling wibbles. 2007-01-29 03:16:34 +00:00
afc53152e9 AltData is pure evil. 2006-01-25 10:49:40 +00:00
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
3db2f02a2c comments, retab 2005-12-25 23:43:27 +00:00
fc1a519459 Some debug ideas from bringert 2005-12-07 23:52:30 +00:00
a7991e8cb6 Refactored System.Plugins.Load.loadFunction 2005-09-13 16:54:28 +00:00
dfa37bb45f Add some documentation 2005-09-08 07:06:12 +00:00
c336af2b0e mv code back into src/. Kindly pointed out by Lemmih 2005-09-03 06:38:06 +00:00
90d780cff8 Partially improve the cabalisation 2005-09-03 03:10:04 +00:00
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
46b07ed75c Mv plugins -> src 2005-08-18 05:05:19 +00:00