Code repositories
Port to ghc 6.8.3 and new filepath
darcs-hash:20081024165132-b1033-3155984e5d0716724449c35bbc7ea74b1da2294f.gz
darcs-hash:20081024165132-b1033-3155984e5d0716724449c35bbc7ea74b1da2294f.gz
release_candidate
Final code cleanup for release candidate. Added comments.
Fixed -V option and logic if there are other options but no include
files: terminate with diagnostics.
darcs-hash:20060213024156-29b23-c1bbc05e60c9ad8e7fcdf0484234145c72cf86d4.gz
Final code cleanup for release candidate. Added comments.
Fixed -V option and logic if there are other options but no include
files: terminate with diagnostics.
darcs-hash:20060213024156-29b23-c1bbc05e60c9ad8e7fcdf0484234145c72cf86d4.gz
cleanup
Code cleanup. Implemented the -V option (show program version).
The program queries Cabal for all packages installed, and retrieves
information about the package HSFFIG: the version returned will be shown.
darcs-hash:20060212045605-29b23-9deaa792b993f6a17264addd4fd83b059639cd9c.gz
Code cleanup. Implemented the -V option (show program version).
The program queries Cabal for all packages installed, and retrieves
information about the package HSFFIG: the version returned will be shown.
darcs-hash:20060212045605-29b23-9deaa792b993f6a17264addd4fd83b059639cd9c.gz
p_opt_fix
Made sure additional C compiler/preprocessor options are correctly passed
to all gcc invocations (except one from within GHC, but this seems to be
non-relevant) (might think about it in the future)
Fixed the -P option to work correctly
darcs-hash:20060205132808-29b23-cdd95dc33344782b8c4b9448c3c1e3f114ac348c.gz
Made sure additional C compiler/preprocessor options are correctly passed
to all gcc invocations (except one from within GHC, but this seems to be
non-relevant) (might think about it in the future)
Fixed the -P option to work correctly
darcs-hash:20060205132808-29b23-cdd95dc33344782b8c4b9448c3c1e3f114ac348c.gz
cpp-option
Added the -c (--cpp
darcs-hash:20060203112531-29b23-e85012a84b48aa66e81f9c3d0cc23b71fdacef94.gz
Added the -c (--cpp
darcs-hash:20060203112531-29b23-e85012a84b48aa66e81f9c3d0cc23b71fdacef94.gz
new-hooks
Added a --new-hooks (-n) option to emit Setup.hs for Cabal
verions 1.1.4 and higher (as of this moment not tested yet).
darcs-hash:20060131040645-29b23-ff076cc2f3e4b0c6bea99a99c532c9ead4c6ec68.gz
Added a --new-hooks (-n) option to emit Setup.hs for Cabal
verions 1.1.4 and higher (as of this moment not tested yet).
darcs-hash:20060131040645-29b23-ff076cc2f3e4b0c6bea99a99c532c9ead4c6ec68.gz
setup_user_hook
Setup.hs kind of working: need more hooks to disable
Cabal commands that are nonsense with FFI import.
darcs-hash:20060127040725-29b23-8f69580c39dd32adcd0e5ca2de03f8b95c717d61.gz
Setup.hs kind of working: need more hooks to disable
Cabal commands that are nonsense with FFI import.
darcs-hash:20060127040725-29b23-8f69580c39dd32adcd0e5ca2de03f8b95c717d61.gz
polished_makefile
Polished the makefile template: now to build the library and the GHCi object
it is necessary to run make build LOC
darcs-hash:20060126111053-29b23-3d0dace9bcd399a6f6ca94fa24c7ab6199523dbf.gz
Polished the makefile template: now to build the library and the GHCi object
it is necessary to run make build LOC
darcs-hash:20060126111053-29b23-3d0dace9bcd399a6f6ca94fa24c7ab6199523dbf.gz
cabal_file
Code cleanup. The program now creates a minimal Cabal file.
darcs-hash:20060124043450-29b23-cdb038a3117fbe9e455f03c447ecbae98677170c.gz
Code cleanup. The program now creates a minimal Cabal file.
darcs-hash:20060124043450-29b23-cdb038a3117fbe9e455f03c447ecbae98677170c.gz
working_makefile
At this point, ffipkg is able to create a working Makefile (i. e. capable of
building of a library). A lot of polishing is still needed, but this draft state
is worth of checking out.
darcs-hash:20060123103010-29b23-0f69dd2f95ec80276b8e26006f209cbf8c750b67.gz
At this point, ffipkg is able to create a working Makefile (i. e. capable of
building of a library). A lot of polishing is still needed, but this draft state
is worth of checking out.
darcs-hash:20060123103010-29b23-0f69dd2f95ec80276b8e26006f209cbf8c750b67.gz
compile_with_ghc_6.4.1
In order to make HSFFIG compile with GHC 6.4.1,
- resident Cabal stuff has been removed:
use Cabal installed separately (version 1.1.3 is OK)
- Data.FiniteMap has been replaced with Data.Map
The XML dumper has been added, but Template Haskell stuff has not been yet.
darcs-hash:20060102032614-29b23-e2da9f2e63b3db6d055c6ce432842b54c38a398f.gz
In order to make HSFFIG compile with GHC 6.4.1,
- resident Cabal stuff has been removed:
use Cabal installed separately (version 1.1.3 is OK)
- Data.FiniteMap has been replaced with Data.Map
The XML dumper has been added, but Template Haskell stuff has not been yet.
darcs-hash:20060102032614-29b23-e2da9f2e63b3db6d055c6ce432842b54c38a398f.gz
version_1.1_started
Imported the Version 1.0 tree to start working on the Version 1.1
In this version, XML dumper will be added.
darcs-hash:20051220040446-29b23-1287d5761e5482aa76a8a5929236e7bcbf92b075.gz
Imported the Version 1.0 tree to start working on the Version 1.1
In this version, XML dumper will be added.
darcs-hash:20051220040446-29b23-1287d5761e5482aa76a8a5929236e7bcbf92b075.gz
patchlevel_2
Correct support for C arrays added. Now arrays of any dimensions
are represented as pointers to their element type (in fact, the first
element, with all zero indices). For structures'e members which are arrays,
an interface is provided to obtain array dimensions as a list of Intehers ([Int]).
Refactored code handling structures: now information about each structure type and
structure members is represented as a Data structure (one step towards future
versions of HSFFIG where arbitrary manipulation by the collection of C declarations
will be allowed).
darcs-hash:20051018031452-29b23-c87eaf67fd838feb8bf88bdd6f00cdfb8a515675.gz
Correct support for C arrays added. Now arrays of any dimensions
are represented as pointers to their element type (in fact, the first
element, with all zero indices). For structures'e members which are arrays,
an interface is provided to obtain array dimensions as a list of Intehers ([Int]).
Refactored code handling structures: now information about each structure type and
structure members is represented as a Data structure (one step towards future
versions of HSFFIG where arbitrary manipulation by the collection of C declarations
will be allowed).
darcs-hash:20051018031452-29b23-c87eaf67fd838feb8bf88bdd6f00cdfb8a515675.gz
patchlevel_1
The type alias resolution mechanism is corrected, so it looks deep enough
in the simplified declarations tree. As result of this patch, the following
construction:
typedef struct X {
int bla;
} Y;
int (*fun1(Y *, int))(Y *);
is now converted correctly: without this patch the first occurrence of
`Y' (within the function pointer parameter list) was not mapped into its
original type (struct X).
darcs-hash:20050918112651-29b23-7b94e1938de65663090f5861c81bba28d4d07912.gz
The type alias resolution mechanism is corrected, so it looks deep enough
in the simplified declarations tree. As result of this patch, the following
construction:
typedef struct X {
int bla;
} Y;
int (*fun1(Y *, int))(Y *);
is now converted correctly: without this patch the first occurrence of
`Y' (within the function pointer parameter list) was not mapped into its
original type (struct X).
darcs-hash:20050918112651-29b23-7b94e1938de65663090f5861c81bba28d4d07912.gz
Release-1.0
HSFFIG has been released as a Cabalized package.
darcs-hash:20050731024317-29b23-55fcdb3b0174c3923b5d824fbb3962484d996755.gz
HSFFIG has been released as a Cabalized package.
darcs-hash:20050731024317-29b23-55fcdb3b0174c3923b5d824fbb3962484d996755.gz
custom_template
HSFFIG requires custom template for hsc2hs. While it is possible to install it
with the package, it is inconvenient to remember path to it.
Since the template is just an include file, it may be placed
in the very beginning of the generated .hsc file. hsc2hs will be
run with -t /dev/null then.
To hardcode the template in hsffig, a short program, mkhstmpl.hs is compiled
and run prior to package build. It reads the template from the distribution's include directory
and creates a Haskell module Template.hs which contains the only function
which outputs the file text into standard output.
darcs-hash:20050724190556-29b23-2dffda511f1676398b5fa7763f4c955d542d529d.gz
HSFFIG requires custom template for hsc2hs. While it is possible to install it
with the package, it is inconvenient to remember path to it.
Since the template is just an include file, it may be placed
in the very beginning of the generated .hsc file. hsc2hs will be
run with -t /dev/null then.
To hardcode the template in hsffig, a short program, mkhstmpl.hs is compiled
and run prior to package build. It reads the template from the distribution's include directory
and creates a Haskell module Template.hs which contains the only function
which outputs the file text into standard output.
darcs-hash:20050724190556-29b23-2dffda511f1676398b5fa7763f4c955d542d529d.gz
library_class
Removed unneeded lines commented out earlier.
darcs-hash:20050724072106-29b23-0edf39de213a45d8698ef4df5301cda80c56d2a8.gz
Removed unneeded lines commented out earlier.
darcs-hash:20050724072106-29b23-0edf39de213a45d8698ef4df5301cda80c56d2a8.gz
library_class
Previous development version of HSFFIG included the field access class
into each generated .hsc file. Now that HSFFIG is packaged, it is easier
to specify a library and place the class there.
darcs-hash:20050724071846-29b23-d5d3145f8fe00528d810de89e7994fec3d9e24e7.gz
Previous development version of HSFFIG included the field access class
into each generated .hsc file. Now that HSFFIG is packaged, it is easier
to specify a library and place the class there.
darcs-hash:20050724071846-29b23-d5d3145f8fe00528d810de89e7994fec3d9e24e7.gz
cabal_setup_fix
Small fix applied to Distribution/Simple/Install.hs to copy executables
correctly: the original code did not append the HsSourceDir for executables
to the build prefix.
darcs-hash:20050724061319-29b23-c7d8773fce6b2d8e48a84002ab1b267711c7e9e0.gz
Small fix applied to Distribution/Simple/Install.hs to copy executables
correctly: the original code did not append the HsSourceDir for executables
to the build prefix.
darcs-hash:20050724061319-29b23-c7d8773fce6b2d8e48a84002ab1b267711c7e9e0.gz
programs_source_moved
All Haskell and Alex source files moved from the previous
development directory.
darcs-hash:20050724050421-29b23-2338e82e9bd59496260abed364d49bdfe5171d21.gz
All Haskell and Alex source files moved from the previous
development directory.
darcs-hash:20050724050421-29b23-2338e82e9bd59496260abed364d49bdfe5171d21.gz
cabal_file
The .cabal file was created.
darcs-hash:20050724050024-29b23-ea704974b15fc218efbaf92f7ebff591174f55a1.gz
The .cabal file was created.
darcs-hash:20050724050024-29b23-ea704974b15fc218efbaf92f7ebff591174f55a1.gz
cabal_files
Since not every Haskell installation may have Cabal available,
the minimal Cabal setup program is included. To be used for
package building it must be compiled and built first.
darcs-hash:20050724032717-29b23-a7115ce09ecdef77206e45e58c944861e944e6b2.gz
Since not every Haskell installation may have Cabal available,
the minimal Cabal setup program is included. To be used for
package building it must be compiled and built first.
darcs-hash:20050724032717-29b23-a7115ce09ecdef77206e45e58c944861e944e6b2.gz
This page took 0.03503 seconds and 4 git commands to generate.