packages/base.git
15 years ago[project @ 2004-10-17 00:08:08 by ross]
ross [Sun, 17 Oct 2004 00:08:09 +0000 (00:08 +0000)] 
[project @ 2004-10-17 00:08:08 by ross]
markup

15 years ago[project @ 2004-10-14 14:58:50 by simonmar]
simonmar [Thu, 14 Oct 2004 14:58:51 +0000 (14:58 +0000)] 
[project @ 2004-10-14 14:58:50 by simonmar]
Threaded RTS improvements:

 - Unix only: implement waitRead#, waitWrite# and delay# in Haskell,
   by having a single Haskell thread (the IO manager) performing a blocking
   select() operation.  Threads communicate with the IO manager
   via channels.  This is faster than doing the select() in the RTS,
   because we only restart the select() when a new request arrives,
   rather than each time around the scheduler.

   On Windows we just make blocking IO calls, we don't have a fancy IO
   manager (yet).

 - Simplify the scheduler for the threaded RTS, now that we don't have
   to wait for IO in the scheduler loop.

 - Remove detectBlackHoles(), which isn't used now (not sure how long
   this has been unused for... perhaps it was needed back when main threads
   used to be GC roots, so we had to check for blackholes manually rather
   than relying on the GC.)

Signals aren't quite right in the threaded RTS.  In fact, they're
slightly worse than before, because the thread receiving signals might
be blocked in a C call - previously there always be another thread
stuck in awaitEvent() that would notice the signal, but that's not
true now.  I can't see an easy fix yet.

15 years ago[project @ 2004-10-13 10:24:16 by simonpj]
simonpj [Wed, 13 Oct 2004 10:24:16 +0000 (10:24 +0000)] 
[project @ 2004-10-13 10:24:16 by simonpj]
c_execvpe & pPrPr_disableITimers: remove these in a Windows build.

15 years ago[project @ 2004-10-12 17:45:44 by ross]
ross [Tue, 12 Oct 2004 17:45:44 +0000 (17:45 +0000)] 
[project @ 2004-10-12 17:45:44 by ross]
unused line

15 years ago[project @ 2004-10-11 10:54:57 by simonmar]
simonmar [Mon, 11 Oct 2004 10:54:57 +0000 (10:54 +0000)] 
[project @ 2004-10-11 10:54:57 by simonmar]
genericRaise() hack needed on FreeBSD too.

15 years ago[project @ 2004-10-09 07:51:06 by panne]
panne [Sat, 9 Oct 2004 07:51:06 +0000 (07:51 +0000)] 
[project @ 2004-10-09 07:51:06 by panne]
Unbreak Hugs by moving pPrPr_disableITimers and execvpe to System.Posix.Internals
(base package) and use it from System.Posix.Process (unix package).

15 years ago[project @ 2004-10-08 21:21:08 by malcolm]
malcolm [Fri, 8 Oct 2004 21:21:08 +0000 (21:21 +0000)] 
[project @ 2004-10-08 21:21:08 by malcolm]
Fix layout to Haskell'98.

15 years ago[project @ 2004-10-08 12:07:02 by ross]
ross [Fri, 8 Oct 2004 12:07:02 +0000 (12:07 +0000)] 
[project @ 2004-10-08 12:07:02 by ross]
Hugs can't handle System.Process yet

15 years ago[project @ 2004-10-08 12:04:48 by ross]
ross [Fri, 8 Oct 2004 12:04:48 +0000 (12:04 +0000)] 
[project @ 2004-10-08 12:04:48 by ross]
revert previous change, so now these includes don't define PACKAGE_*

15 years ago[project @ 2004-10-08 10:28:37 by simonmar]
simonmar [Fri, 8 Oct 2004 10:28:37 +0000 (10:28 +0000)] 
[project @ 2004-10-08 10:28:37 by simonmar]
- make sure we don't overflow the table
- use a checked array index just in case we *do* try to overflow
- fix a harmless off-by-one

15 years ago[project @ 2004-10-07 13:13:22 by stolz]
stolz [Thu, 7 Oct 2004 13:13:22 +0000 (13:13 +0000)] 
[project @ 2004-10-07 13:13:22 by stolz]
Bring declaration of runProcess back in line with prototype:
pid_t (ProcHandle) isn't compatible with int on SunOS.

15 years ago[project @ 2004-10-07 09:42:28 by malcolm]
malcolm [Thu, 7 Oct 2004 09:42:28 +0000 (09:42 +0000)] 
[project @ 2004-10-07 09:42:28 by malcolm]
Oops, fix impdecl/fundecl ordering.

15 years ago[project @ 2004-10-06 23:45:37 by dons]
dons [Wed, 6 Oct 2004 23:45:37 +0000 (23:45 +0000)] 
[project @ 2004-10-06 23:45:37 by dons]
Fix order of PACKAGE_* #undefs. They must appear before HsBaseConfig.h

15 years ago[project @ 2004-10-06 15:02:41 by malcolm]
malcolm [Wed, 6 Oct 2004 15:02:41 +0000 (15:02 +0000)] 
[project @ 2004-10-06 15:02:41 by malcolm]
Dummy implementations of openBinaryFile and hSetBinaryMode for nhc98.

15 years ago[project @ 2004-10-06 11:11:34 by ross]
ross [Wed, 6 Oct 2004 11:11:35 +0000 (11:11 +0000)] 
[project @ 2004-10-06 11:11:34 by ross]
Add getEnvironment from hslibs/lang/SystemExts.  This differs from the
System.Posix.Env version in not failing if an entry lacks an '=' sign.

15 years ago[project @ 2004-10-06 10:13:07 by ross]
ross [Wed, 6 Oct 2004 10:13:07 +0000 (10:13 +0000)] 
[project @ 2004-10-06 10:13:07 by ross]
make the evil PACKAGE_* hacks consistent

15 years ago[project @ 2004-10-05 15:56:17 by simonmar]
simonmar [Tue, 5 Oct 2004 15:56:17 +0000 (15:56 +0000)] 
[project @ 2004-10-05 15:56:17 by simonmar]
If we try to use a finalized handle, then throw a useful exception.
Before, the thread would just block forever on the MVar or get a
BlockedOnDeadMVar exception.

The fact that you can actually get into a situation where a finalized
handle can be accessed is arguably a bug itself, but at least now
we'll be able to quickly see when it is happening which should cut
down on debugging time.

15 years ago[project @ 2004-10-05 12:51:33 by simonmar]
simonmar [Tue, 5 Oct 2004 12:51:33 +0000 (12:51 +0000)] 
[project @ 2004-10-05 12:51:33 by simonmar]
inputReady foreign import should be "safe.

15 years ago[project @ 2004-10-05 07:43:07 by mthomas]
mthomas [Tue, 5 Oct 2004 07:43:07 +0000 (07:43 +0000)] 
[project @ 2004-10-05 07:43:07 by mthomas]
Nonexistent file stopped entire install for libraries.

15 years ago[project @ 2004-10-02 07:34:38 by dons]
dons [Sat, 2 Oct 2004 07:34:38 +0000 (07:34 +0000)] 
[project @ 2004-10-02 07:34:38 by dons]
Bind raiseSignal to genericRaise, on OpenBSD only, atm.

15 years ago[project @ 2004-10-02 07:14:38 by dons]
dons [Sat, 2 Oct 2004 07:14:38 +0000 (07:14 +0000)] 
[project @ 2004-10-02 07:14:38 by dons]
Undef PACKAGE_NAME PACKAGE_STRING PACKAGE_BUGREPORT PACKAGE_TARNAME
coming in from ghcconfig.h, so that we can use HsBaseConfig.h versions
without screenfulls of cpp warnings.

15 years ago[project @ 2004-09-30 10:01:46 by malcolm]
malcolm [Thu, 30 Sep 2004 10:01:46 +0000 (10:01 +0000)] 
[project @ 2004-09-30 10:01:46 by malcolm]
Add a type signature to help nhc98 out.

15 years ago[project @ 2004-09-30 09:42:17 by simonmar]
simonmar [Thu, 30 Sep 2004 09:42:17 +0000 (09:42 +0000)] 
[project @ 2004-09-30 09:42:17 by simonmar]
Haddock fixes

15 years ago[project @ 2004-09-30 08:54:00 by simonmar]
simonmar [Thu, 30 Sep 2004 08:54:00 +0000 (08:54 +0000)] 
[project @ 2004-09-30 08:54:00 by simonmar]
Update the signature of execvpe() to match the one in HsBase.

15 years ago[project @ 2004-09-29 22:49:36 by krasimir]
krasimir [Wed, 29 Sep 2004 22:49:38 +0000 (22:49 +0000)] 
[project @ 2004-09-29 22:49:36 by krasimir]
Change file extension. We don't need hsc2hs here.

15 years ago[project @ 2004-09-29 22:48:06 by krasimir]
krasimir [Wed, 29 Sep 2004 22:48:07 +0000 (22:48 +0000)] 
[project @ 2004-09-29 22:48:06 by krasimir]
compile execvpe only under Unix. The mingw's process.h header also contains
definition for execvpe which conflicts with our definition.

15 years ago[project @ 2004-09-29 15:50:51 by simonmar]
simonmar [Wed, 29 Sep 2004 15:50:53 +0000 (15:50 +0000)] 
[project @ 2004-09-29 15:50:51 by simonmar]
Process reorganisation: the System.Process library moves into base,
and System.Cmd is re-implemented in terms of it.

Thanks to Krasimir Angelov, we have a version of System.Process that
doesn't rely on the unix or Win32 libraries.  Normally using
unix/Win32 would be the right thing, but since we want to implement
System.Cmd on top of this, and GHC uses System.Cmd, we can't introduce
a bunch of .hsc dependencies into GHC's bootstrap libraries.

So, the new version is larger, but has fewer dependencies.  I imagine
it shouldn't be too hard to port to other compilers.

15 years ago[project @ 2004-09-29 15:46:53 by simonmar]
simonmar [Wed, 29 Sep 2004 15:46:53 +0000 (15:46 +0000)] 
[project @ 2004-09-29 15:46:53 by simonmar]
Move this to the Attic

15 years ago[project @ 2004-09-29 10:29:13 by ross]
ross [Wed, 29 Sep 2004 10:29:15 +0000 (10:29 +0000)] 
[project @ 2004-09-29 10:29:13 by ross]
haddock markup

15 years ago[project @ 2004-09-28 23:34:26 by ross]
ross [Tue, 28 Sep 2004 23:34:26 +0000 (23:34 +0000)] 
[project @ 2004-09-28 23:34:26 by ross]
unbreak for non-GHC implementations

15 years ago[project @ 2004-09-28 12:38:55 by simonmar]
simonmar [Tue, 28 Sep 2004 12:38:55 +0000 (12:38 +0000)] 
[project @ 2004-09-28 12:38:55 by simonmar]
Add update, and improve documentation of insert.

15 years ago[project @ 2004-09-28 11:29:29 by simonmar]
simonmar [Tue, 28 Sep 2004 11:29:29 +0000 (11:29 +0000)] 
[project @ 2004-09-28 11:29:29 by simonmar]
- export foldl1'
- specialise minimum/maximum for Integer too

15 years ago[project @ 2004-09-28 09:02:13 by simonmar]
simonmar [Tue, 28 Sep 2004 09:02:13 +0000 (09:02 +0000)] 
[project @ 2004-09-28 09:02:13 by simonmar]
- Move foldl1 to Data.List
- Provide a strict version of foldl1, namely foldl1'
- Move minimum, maximum to Data.List
- Provide specialised versions of minimum & maximum for Int, which use foldl1'

15 years ago[project @ 2004-09-27 09:04:15 by ross]
ross [Mon, 27 Sep 2004 09:04:17 +0000 (09:04 +0000)] 
[project @ 2004-09-27 09:04:15 by ross]
update documentation of memory allocation

15 years ago[project @ 2004-09-22 08:37:01 by panne]
panne [Wed, 22 Sep 2004 08:37:01 +0000 (08:37 +0000)] 
[project @ 2004-09-22 08:37:01 by panne]
* Replace obsolete macro AC_TRY_RUN with AC_RUN_IFELSE
* Same for AC_TRY_LINK and AC_LINK_IFELSE
* Minor cleanup

15 years ago[project @ 2004-09-20 16:35:12 by sof]
sof [Mon, 20 Sep 2004 16:35:12 +0000 (16:35 +0000)] 
[project @ 2004-09-20 16:35:12 by sof]
openFile: have Haddock comments mention openBinaryFile

15 years ago[project @ 2004-09-18 12:49:59 by panne]
panne [Sat, 18 Sep 2004 12:49:59 +0000 (12:49 +0000)] 
[project @ 2004-09-18 12:49:59 by panne]
Make autoupdate 2.52 happy, mainly by using the new formats of AC_INIT and
AC_OUTPUT. This has the nice side effect that all "packages" have now a name, a
version, a bug-report address, and a tar name, yielding better output with
"configure --help=recursive". Nuked an unused AC_STRUCT_ST_BLKSIZE test on the
way.

15 years ago[project @ 2004-09-15 13:51:00 by stolz]
stolz [Wed, 15 Sep 2004 13:51:00 +0000 (13:51 +0000)] 
[project @ 2004-09-15 13:51:00 by stolz]
- Remove configure tests for SIG{POLL,INFO,WINCH}:
  Testing via #ifdef SIGFOO should be sufficient.
- Change #if HAVE_SIGPOLL to #ifdef SIGPOLL
- Remove SIGINFO/WINCH from package base: they'll reappear in package unix
  in System/Posix/Signals.Exts.

15 years ago[project @ 2004-09-10 22:43:20 by ross]
ross [Fri, 10 Sep 2004 22:43:20 +0000 (22:43 +0000)] 
[project @ 2004-09-10 22:43:20 by ross]
doc tweaks

15 years ago[project @ 2004-09-10 20:38:53 by ross]
ross [Fri, 10 Sep 2004 20:38:53 +0000 (20:38 +0000)] 
[project @ 2004-09-10 20:38:53 by ross]
docs

15 years ago[project @ 2004-09-10 08:29:14 by stolz]
stolz [Fri, 10 Sep 2004 08:29:14 +0000 (08:29 +0000)] 
[project @ 2004-09-10 08:29:14 by stolz]
Fix build on Solaris: CTime is no longer an instance of Integral, so do the
realToInteger-dance.

15 years ago[project @ 2004-09-08 11:10:08 by ross]
ross [Wed, 8 Sep 2004 11:10:13 +0000 (11:10 +0000)] 
[project @ 2004-09-08 11:10:08 by ross]
typos in comments

15 years ago[project @ 2004-09-07 15:35:41 by stolz]
stolz [Tue, 7 Sep 2004 15:35:43 +0000 (15:35 +0000)] 
[project @ 2004-09-07 15:35:41 by stolz]
Add cpp-protected signals sigINFO & sigWINCH if available.
(An autoconf-wizard might want to look at the bottom of configure.ac, the
similarities between HAVE_SIGPOLL, HAVE_SIGINFO & HAVE_SIGWINCH can surely
be factored out)

15 years ago[project @ 2004-09-06 17:20:02 by ross]
ross [Mon, 6 Sep 2004 17:20:02 +0000 (17:20 +0000)] 
[project @ 2004-09-06 17:20:02 by ross]
add some RULES

15 years ago[project @ 2004-09-06 09:07:45 by ross]
ross [Mon, 6 Sep 2004 09:07:47 +0000 (09:07 +0000)] 
[project @ 2004-09-06 09:07:45 by ross]
Text.Regex.Posix is portable (because it includes an implementation)

15 years ago[project @ 2004-09-02 05:57:41 by dons]
dons [Thu, 2 Sep 2004 05:57:41 +0000 (05:57 +0000)] 
[project @ 2004-09-02 05:57:41 by dons]
Trying to closedir the wrong pointer in "readdir sets errno" test.
This caused test to dump core, leading to 'bogus' value of test
result, which breaks the build.

15 years ago[project @ 2004-09-01 15:57:13 by ross]
ross [Wed, 1 Sep 2004 15:57:15 +0000 (15:57 +0000)] 
[project @ 2004-09-01 15:57:13 by ross]
devolve the recently added dirent checks to a new libraries/base/configure.ac

15 years ago[project @ 2004-09-01 09:47:31 by simonmar]
simonmar [Wed, 1 Sep 2004 09:47:31 +0000 (09:47 +0000)] 
[project @ 2004-09-01 09:47:31 by simonmar]
Win32 rawSystem: set errno to EINVAL on error.  This is a gross hack,
but is slightly better than the existing situation (errno not set at
all, caller tries to report errno and draws a blank).

Microsoft's C runtime has a conversion function from Win32 error codes
into errno error codes, but it isn't part of the external interface.
grrrrr.

Strictly speaking, we should have support for Win32 error codes in the
base package.

15 years ago[project @ 2004-08-31 09:07:26 by ross]
ross [Tue, 31 Aug 2004 09:07:26 +0000 (09:07 +0000)] 
[project @ 2004-08-31 09:07:26 by ross]
make the new directory queries available to all implementations,
though the mingw versions only work for GHC.

15 years ago[project @ 2004-08-25 18:42:47 by sof]
sof [Wed, 25 Aug 2004 18:42:47 +0000 (18:42 +0000)] 
[project @ 2004-08-25 18:42:47 by sof]
__hscore_d_name(), __hscore_end_of_dir(): de-platformify and use
 feature #defines instead.

[Should anyone see compilation breakages stemming from HsBase.h as a result
 of this commit, remember to 'autoreconf' in FPTOOLS_TOP and re-make.]

15 years ago[project @ 2004-08-25 18:35:29 by sof]
sof [Wed, 25 Aug 2004 18:35:29 +0000 (18:35 +0000)] 
[project @ 2004-08-25 18:35:29 by sof]
extrs_libraries{mingw32}: replace 'shell32' with 'shfolder'; standard, and more version-proof

15 years ago[project @ 2004-08-25 16:20:13 by sof]
sof [Wed, 25 Aug 2004 16:20:13 +0000 (16:20 +0000)] 
[project @ 2004-08-25 16:20:13 by sof]
Be resistant to missing CSIDL_* defines

15 years ago[project @ 2004-08-23 11:53:08 by simonmar]
simonmar [Mon, 23 Aug 2004 11:53:08 +0000 (11:53 +0000)] 
[project @ 2004-08-23 11:53:08 by simonmar]
Fix deadlock problem when the difference list for \\ refers
recursively to the array.

Fixes [ 973063 ] DiffArray deadlock

MERGE TO STABLE

15 years ago[project @ 2004-08-21 10:56:59 by panne]
panne [Sat, 21 Aug 2004 10:56:59 +0000 (10:56 +0000)] 
[project @ 2004-08-21 10:56:59 by panne]
Haddock fix

15 years ago[project @ 2004-08-20 08:45:52 by simonpj]
simonpj [Fri, 20 Aug 2004 08:45:52 +0000 (08:45 +0000)] 
[project @ 2004-08-20 08:45:52 by simonpj]
Better handling of overflow conditions for Enum Int.

(I also reduced the use of RULES and deforestation
for the [a,b..] case, because it took a lot of code
for a case that isn't common.

15 years ago[project @ 2004-08-19 10:54:34 by malcolm]
malcolm [Thu, 19 Aug 2004 10:54:34 +0000 (10:54 +0000)] 
[project @ 2004-08-19 10:54:34 by malcolm]
Missing import for nhc98.

15 years ago[project @ 2004-08-19 08:23:01 by simonmar]
simonmar [Thu, 19 Aug 2004 08:23:01 +0000 (08:23 +0000)] 
[project @ 2004-08-19 08:23:01 by simonmar]
Add a new Haddock section "Pre-defined directories"

15 years ago[project @ 2004-08-18 17:48:44 by krasimir]
krasimir [Wed, 18 Aug 2004 17:48:44 +0000 (17:48 +0000)] 
[project @ 2004-08-18 17:48:44 by krasimir]
add getUserDocumentsDirectory function

15 years ago[project @ 2004-08-18 09:34:02 by simonmar]
simonmar [Wed, 18 Aug 2004 09:34:02 +0000 (09:34 +0000)] 
[project @ 2004-08-18 09:34:02 by simonmar]
Add Haddock comments for getHomeDirectory/getAppUserDataDirectory

15 years ago[project @ 2004-08-18 09:23:19 by malcolm]
malcolm [Wed, 18 Aug 2004 09:23:19 +0000 (09:23 +0000)] 
[project @ 2004-08-18 09:23:19 by malcolm]
Add versions of getHomeDirectory and getAppUserDataDirectory for nhc98.
(Note: implementation still missing for Hugs.)

15 years ago[project @ 2004-08-17 16:48:09 by krasimir]
krasimir [Tue, 17 Aug 2004 16:48:09 +0000 (16:48 +0000)] 
[project @ 2004-08-17 16:48:09 by krasimir]
Add getHomeDirectory and getAppUserDataDirectory functions

15 years ago[project @ 2004-08-16 11:08:47 by simonmar]
simonmar [Mon, 16 Aug 2004 11:08:47 +0000 (11:08 +0000)] 
[project @ 2004-08-16 11:08:47 by simonmar]
wibble

15 years ago[project @ 2004-08-16 11:07:31 by simonmar]
simonmar [Mon, 16 Aug 2004 11:07:31 +0000 (11:07 +0000)] 
[project @ 2004-08-16 11:07:31 by simonmar]
More ugly hacks related to the config.h change.  I'm beginning to
think maybe this wasn't such a great idea.

15 years ago[project @ 2004-08-16 09:31:15 by simonmar]
simonmar [Mon, 16 Aug 2004 09:31:15 +0000 (09:31 +0000)] 
[project @ 2004-08-16 09:31:15 by simonmar]
#ifdefery to work around change in name of config.h

15 years ago[project @ 2004-08-13 13:29:00 by simonmar]
simonmar [Fri, 13 Aug 2004 13:29:07 +0000 (13:29 +0000)] 
[project @ 2004-08-13 13:29:00 by simonmar]
Changes required be merge of backend-hacking-branch.  Mostly config.h
==> ghcconfig.h.

15 years ago[project @ 2004-08-13 10:55:06 by simonmar]
simonmar [Fri, 13 Aug 2004 10:55:06 +0000 (10:55 +0000)] 
[project @ 2004-08-13 10:55:06 by simonmar]
Add a Todo

15 years ago[project @ 2004-08-13 10:54:15 by simonmar]
simonmar [Fri, 13 Aug 2004 10:54:15 +0000 (10:54 +0000)] 
[project @ 2004-08-13 10:54:15 by simonmar]
Update copyright date

15 years ago[project @ 2004-08-13 08:50:32 by simonmar]
simonmar [Fri, 13 Aug 2004 08:50:32 +0000 (08:50 +0000)] 
[project @ 2004-08-13 08:50:32 by simonmar]
work around stricter CPP in GCC 3.4.1

15 years ago[project @ 2004-08-10 11:35:24 by simonpj]
simonpj [Tue, 10 Aug 2004 11:35:24 +0000 (11:35 +0000)] 
[project @ 2004-08-10 11:35:24 by simonpj]
Add a Haddock note about dynamic linking

15 years ago[project @ 2004-08-09 12:00:34 by simonmar]
simonmar [Mon, 9 Aug 2004 12:00:34 +0000 (12:00 +0000)] 
[project @ 2004-08-09 12:00:34 by simonmar]
whitespace changes to the header only, for new compatibility with new Haddock

15 years ago[project @ 2004-08-09 10:04:33 by simonmar]
simonmar [Mon, 9 Aug 2004 10:04:33 +0000 (10:04 +0000)] 
[project @ 2004-08-09 10:04:33 by simonmar]
quotes: use an appostrophe at both ends rather than a grave accent at
the front and an apostrophe at the end.

Previously

  `quotes'

now

  'quotes'

the latter is more correct.  See
http://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html fpr details.

15 years ago[project @ 2004-08-03 19:36:41 by panne]
panne [Tue, 3 Aug 2004 19:36:41 +0000 (19:36 +0000)] 
[project @ 2004-08-03 19:36:41 by panne]
Fixed spelling of "http-equiv" attribute

MERGE TO STABLE

15 years ago[project @ 2004-07-30 23:29:41 by ross]
ross [Fri, 30 Jul 2004 23:29:41 +0000 (23:29 +0000)] 
[project @ 2004-07-30 23:29:41 by ross]
copyFile is GHC-only at the moment

15 years ago[project @ 2004-07-30 22:17:44 by krasimir]
krasimir [Fri, 30 Jul 2004 22:17:44 +0000 (22:17 +0000)] 
[project @ 2004-07-30 22:17:44 by krasimir]
fix

15 years ago[project @ 2004-07-30 20:33:54 by krasimir]
krasimir [Fri, 30 Jul 2004 20:33:54 +0000 (20:33 +0000)] 
[project @ 2004-07-30 20:33:54 by krasimir]
add copyFile to the export list

15 years ago[project @ 2004-07-30 06:16:00 by krasimir]
krasimir [Fri, 30 Jul 2004 06:16:00 +0000 (06:16 +0000)] 
[project @ 2004-07-30 06:16:00 by krasimir]
add copyFile function

15 years ago[project @ 2004-07-28 10:32:11 by ross]
ross [Wed, 28 Jul 2004 10:32:12 +0000 (10:32 +0000)] 
[project @ 2004-07-28 10:32:11 by ross]
haddock food

15 years ago[project @ 2004-07-27 10:35:54 by ross]
ross [Tue, 27 Jul 2004 10:35:55 +0000 (10:35 +0000)] 
[project @ 2004-07-27 10:35:54 by ross]
haddock fodder

15 years ago[project @ 2004-07-26 17:22:41 by ross]
ross [Mon, 26 Jul 2004 17:22:43 +0000 (17:22 +0000)] 
[project @ 2004-07-26 17:22:41 by ross]
a few odd docs

15 years ago[project @ 2004-07-26 13:26:41 by ross]
ross [Mon, 26 Jul 2004 13:26:46 +0000 (13:26 +0000)] 
[project @ 2004-07-26 13:26:41 by ross]
docs only

15 years ago[project @ 2004-07-23 15:31:59 by ross]
ross [Fri, 23 Jul 2004 15:32:00 +0000 (15:32 +0000)] 
[project @ 2004-07-23 15:31:59 by ross]
To make Text.Regex.Posix work with Hugs, move cbits/regex/regex.h under
include, where Hugs can find it.

15 years ago[project @ 2004-07-23 15:26:06 by ross]
ross [Fri, 23 Jul 2004 15:26:06 +0000 (15:26 +0000)] 
[project @ 2004-07-23 15:26:06 by ross]
tweak comment

15 years ago[project @ 2004-07-23 13:24:04 by ross]
ross [Fri, 23 Jul 2004 13:24:05 +0000 (13:24 +0000)] 
[project @ 2004-07-23 13:24:04 by ross]
docs only

15 years ago[project @ 2004-07-23 11:34:31 by ross]
ross [Fri, 23 Jul 2004 11:34:33 +0000 (11:34 +0000)] 
[project @ 2004-07-23 11:34:31 by ross]
docs only

15 years ago[project @ 2004-07-11 09:20:07 by panne]
panne [Sun, 11 Jul 2004 09:20:07 +0000 (09:20 +0000)] 
[project @ 2004-07-11 09:20:07 by panne]
Use "flat" names for the type constructors of Ptr/StablePtr/IORef. This might be
debatable, but at least it is consistent with the rest of the types.

15 years ago[project @ 2004-07-01 18:05:00 by panne]
panne [Thu, 1 Jul 2004 18:05:00 +0000 (18:05 +0000)] 
[project @ 2004-07-01 18:05:00 by panne]
Increase heap size and stack size when building via hbc

15 years ago[project @ 2004-07-01 14:49:11 by malcolm]
malcolm [Thu, 1 Jul 2004 14:49:11 +0000 (14:49 +0000)] 
[project @ 2004-07-01 14:49:11 by malcolm]
Heap-profiling build bootstrapped with nhc98 requires more heap.

15 years ago[project @ 2004-07-01 13:25:09 by malcolm]
malcolm [Thu, 1 Jul 2004 13:25:09 +0000 (13:25 +0000)] 
[project @ 2004-07-01 13:25:09 by malcolm]
Revert from common heap/stack options to per-package options.  Since
hbc's runtime requirements are on occasion so much larger ghc/nhc98,
break out EXTRA_HBC_FLAGS as a separate variable.

15 years ago[project @ 2004-06-29 19:10:47 by panne]
panne [Tue, 29 Jun 2004 19:10:47 +0000 (19:10 +0000)] 
[project @ 2004-06-29 19:10:47 by panne]
Centralized compiler differences for requesting additional heap/stack in a
single place. Only tested for bootstrapping via hbc, and this needs 170M heap
for Language/Haskell/Parser.hs. There seems to be a "small" space leak here...
:-]

15 years ago[project @ 2004-06-25 10:42:48 by ross]
ross [Fri, 25 Jun 2004 10:42:48 +0000 (10:42 +0000)] 
[project @ 2004-06-25 10:42:48 by ross]
more Ptr/FunPtr documentation

15 years ago[project @ 2004-06-23 09:47:47 by simonmar]
simonmar [Wed, 23 Jun 2004 09:47:47 +0000 (09:47 +0000)] 
[project @ 2004-06-23 09:47:47 by simonmar]
Add documentation from the FFI spec.

15 years ago[project @ 2004-06-22 12:45:55 by ross]
ross [Tue, 22 Jun 2004 12:45:55 +0000 (12:45 +0000)] 
[project @ 2004-06-22 12:45:55 by ross]
Change the interface (but not the implementation) to match the FFI spec:

* added charIsRepresentable, *CAString and *CWString

* currently (and in violation of the spec), fooCString = fooCAString

* The WString versions use UTF-16 under Windows and UTF-32 elsewhere
  (valid only if the compiler defines __STDC_ISO_10646__).

15 years ago[project @ 2004-06-16 09:50:25 by malcolm]
malcolm [Wed, 16 Jun 2004 09:50:25 +0000 (09:50 +0000)] 
[project @ 2004-06-16 09:50:25 by malcolm]
Typo.

15 years ago[project @ 2004-06-15 21:07:23 by panne]
panne [Tue, 15 Jun 2004 21:07:23 +0000 (21:07 +0000)] 
[project @ 2004-06-15 21:07:23 by panne]
Yet another fix for the fact that CTime is not an instance of Integral anymore,

15 years ago[project @ 2004-06-15 10:29:12 by malcolm]
malcolm [Tue, 15 Jun 2004 10:29:12 +0000 (10:29 +0000)] 
[project @ 2004-06-15 10:29:12 by malcolm]
Note dependency of Foreign.C on Foreign.C.*

15 years ago[project @ 2004-06-15 10:20:05 by malcolm]
malcolm [Tue, 15 Jun 2004 10:20:05 +0000 (10:20 +0000)] 
[project @ 2004-06-15 10:20:05 by malcolm]
Add missing instances of Data.Bits.Bits for nhc98.

15 years ago[project @ 2004-06-14 13:28:52 by malcolm]
malcolm [Mon, 14 Jun 2004 13:28:52 +0000 (13:28 +0000)] 
[project @ 2004-06-14 13:28:52 by malcolm]
Solaris/nhc98 fixes: HAVE_TZNAME rather than HAVE_TM_ZONE, and need a
"time.h" specification on every foreign import.

15 years ago[project @ 2004-06-13 21:03:46 by panne]
panne [Sun, 13 Jun 2004 21:03:47 +0000 (21:03 +0000)] 
[project @ 2004-06-13 21:03:46 by panne]
Changes related to arithmetic types:

* Renamed macros NUMERIC_FOO to ARITHMETIC_FOO to match C99-speak

* ARITHMETIC_TYPEs now have a Real instance, otherwise they are quite useless.
  Note that this differs from the FFI spec, but the spec should very probably
  changed in this respect.

* Some changes to fix the wrong assumption that CTime/CClock are integral types,
  C99 in fact guarantees only that they are arithmetic types. This has been
  accomplished by using

     realToInteger = round . realToFrac :: Real a => a -> Integer

  instead of fromIntegral for CTime/CClock. I'm not sure if we could do better,
  going via Double seems to be overkill, but I couldn't think of a better way.
  GHC could e.g. use RULES here. Improvements welcome.

15 years ago[project @ 2004-06-13 20:26:03 by panne]
panne [Sun, 13 Jun 2004 20:26:03 +0000 (20:26 +0000)] 
[project @ 2004-06-13 20:26:03 by panne]
Added missing dependencies of Haskell files to header files they include

15 years ago[project @ 2004-06-13 17:16:40 by panne]
panne [Sun, 13 Jun 2004 17:16:40 +0000 (17:16 +0000)] 
[project @ 2004-06-13 17:16:40 by panne]
The FFI report does not mention that CClock and CTime have instances for
Bounded, Real, Integral, and Bits.