perl4caml.git
2 months agoMakefile.config: Avoid annoying coreutils warning master
Richard W.M. Jones [Tue, 30 Jan 2024 12:42:21 +0000 (12:42 +0000)]
Makefile.config: Avoid annoying coreutils warning

$ make -j1
egrep: warning: egrep is obsolescent; using grep -E

2 months agoperl_c.c: Fix declaration of argv
Richard W.M. Jones [Tue, 30 Jan 2024 12:41:12 +0000 (12:41 +0000)]
perl_c.c: Fix declaration of argv

In GCC 14:

perl_c.c: In function ‘perl4caml_init’:
perl_c.c:97:25: error: passing argument 2 of ‘Perl_sys_init’ from incompatible pointer type [-Wincompatible-pointer-types]
   97 |   PERL_SYS_INIT (&argc, &argv);
      |                         ^~~~~
      |                         |
      |                         char * (*)[5]
/usr/lib64/perl5/CORE/perl.h:3608:61: note: in definition of macro ‘PERL_SYS_INIT’
 3608 | #define PERL_SYS_INIT(argc, argv)       Perl_sys_init(argc, argv)
      |                                                             ^~~~
In file included from /usr/lib64/perl5/CORE/perl.h:6188:
/usr/lib64/perl5/CORE/proto.h:4992:34: note: expected ‘char ***’ but argument is of type ‘char * (*)[5]’
 4992 | Perl_sys_init(int *argc, char ***argv);
      |                          ~~~~~~~~^~~~

7 years agoFix use of CAMLparam etc macros.
Richard W.M. Jones [Sun, 6 Nov 2016 19:09:58 +0000 (19:09 +0000)]
Fix use of CAMLparam etc macros.

This was broken previously, and OCaml 4.04 revealed it.

13 years agogit: Ignore some more generated files.
Richard Jones [Wed, 2 Jun 2010 16:36:42 +0000 (17:36 +0100)]
git: Ignore some more generated files.

13 years agoUpdate dependencies.
Richard Jones [Wed, 2 Jun 2010 16:35:45 +0000 (17:35 +0100)]
Update dependencies.

13 years agoFix for Perl 5.12: SVt_RV missing.
Iain Arnell [Wed, 2 Jun 2010 16:34:43 +0000 (17:34 +0100)]
Fix for Perl 5.12: SVt_RV missing.

Also reported as the following Debian bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=578800

Comment from the author of this patch:
"It seems simplest to pretend that SVt_RV still exists on the caml
side; attached patch will do just that."

14 years agoAdded .gitignore file for git.
Richard Jones [Mon, 23 Nov 2009 20:02:26 +0000 (20:02 +0000)]
Added .gitignore file for git.

16 years agoAdded proper LGPL statements to all files.
rich [Sat, 1 Mar 2008 13:02:21 +0000 (13:02 +0000)]
Added proper LGPL statements to all files.

16 years agoBetter method to find DynaLoader.a, fixed some Fedora failures.
rich [Sat, 23 Feb 2008 15:57:58 +0000 (15:57 +0000)]
Better method to find DynaLoader.a, fixed some Fedora failures.

16 years agoAdded a top-level Makefile which can rebuild everything.
rich [Sat, 12 May 2007 15:48:08 +0000 (15:48 +0000)]
Added a top-level Makefile which can rebuild everything.

17 years agoUse newSVnv in sv_of_float to stop it truncating the float to an int.
rich [Wed, 27 Dec 2006 14:00:12 +0000 (14:00 +0000)]
Use newSVnv in sv_of_float to stop it truncating the float to an int.

17 years agoUpdated deps.
rich [Wed, 1 Nov 2006 10:32:46 +0000 (10:32 +0000)]
Updated deps.

17 years agoSome very old code checked in.
rich [Tue, 27 Jun 2006 15:46:16 +0000 (15:46 +0000)]
Some very old code checked in.

18 years agoUpdated deps
rich [Tue, 23 Aug 2005 10:07:08 +0000 (10:07 +0000)]
Updated deps

18 years agoAdded submit_form method.
rich [Tue, 16 Aug 2005 15:39:21 +0000 (15:39 +0000)]
Added submit_form method.

18 years agoAdded wrappers around other methods of WWW::Mechanize::Links.
rich [Thu, 19 May 2005 11:10:18 +0000 (11:10 +0000)]
Added wrappers around other methods of WWW::Mechanize::Links.

19 years agoAdded reftype operator.
rich [Thu, 14 Apr 2005 13:05:12 +0000 (13:05 +0000)]
Added reftype operator.

19 years agoNew version 0.9.3. Added dump_hv, dump_av functions to Data::Dumper.
rich [Thu, 31 Mar 2005 13:46:31 +0000 (13:46 +0000)]
New version 0.9.3.  Added dump_hv, dump_av functions to Data::Dumper.

19 years agoVersion 0.9.2
rich [Sun, 13 Feb 2005 17:40:17 +0000 (17:40 +0000)]
Version 0.9.2

19 years ago#set_no_fragment
rich [Sun, 13 Feb 2005 17:09:14 +0000 (17:09 +0000)]
#set_no_fragment

19 years agoHandle NUL characters in Perl strings properly.
rich [Sun, 13 Feb 2005 16:33:27 +0000 (16:33 +0000)]
Handle NUL characters in Perl strings properly.

URI: Lots more methods bound.
WWW::Mechanize: Bind the WWW::Mechanize::Links class and links method.

19 years agoSkeletal wrapper for Data::Dumper.
rich [Mon, 31 Jan 2005 15:23:23 +0000 (15:23 +0000)]
Skeletal wrapper for Data::Dumper.

19 years agoBindings for the iteration interface of Perl hashes.
rich [Sat, 29 Jan 2005 12:22:49 +0000 (12:22 +0000)]
Bindings for the iteration interface of Perl hashes.
Version 0.9.1.

19 years agoVersion 0.9.0. Updated MANIFEST.
rich [Fri, 28 Jan 2005 23:11:02 +0000 (23:11 +0000)]
Version 0.9.0.  Updated MANIFEST.

19 years agoAdded 'make test' and some test scripts which exercise parts of the
rich [Fri, 28 Jan 2005 23:09:30 +0000 (23:09 +0000)]
Added 'make test' and some test scripts which exercise parts of the
code.

Enabled refcounting by default, and fixed many refcounting bugs.  It
should use a lot less memory now.

Added address_of_[sah]v to get the address of those things for
debugging.

19 years ago#input_names method.
rich [Fri, 14 Jan 2005 19:04:48 +0000 (19:04 +0000)]
#input_names method.

19 years agoMore filling in of method wrappers.
rich [Thu, 13 Jan 2005 16:06:04 +0000 (16:06 +0000)]
More filling in of method wrappers.

19 years agoWrapper around HTML::Form attr method.
rich [Thu, 13 Jan 2005 10:38:54 +0000 (10:38 +0000)]
Wrapper around HTML::Form attr method.

19 years agoUpdated MANIFEST.
rich [Sat, 11 Dec 2004 15:44:47 +0000 (15:44 +0000)]
Updated MANIFEST.

19 years agoFix compiler flags so it compiles OK on all architectures.
rich [Sat, 11 Dec 2004 15:40:08 +0000 (15:40 +0000)]
Fix compiler flags so it compiles OK on all architectures.

19 years agoTested perl4caml on Mac OS X. Basically works fine, but had to
rich [Sat, 11 Dec 2004 13:38:32 +0000 (13:38 +0000)]
Tested perl4caml on Mac OS X.  Basically works fine, but had to
comment out a few includes and defines at the beginning of the code.

19 years ago-fPIC patch from John Goerzen.
rich [Wed, 1 Dec 2004 12:41:29 +0000 (12:41 +0000)]
-fPIC patch from John Goerzen.

19 years agoMore wrapping paper.
rich [Fri, 26 Nov 2004 13:33:10 +0000 (13:33 +0000)]
More wrapping paper.

19 years agoAdded correct handling of undef.
rich [Thu, 25 Nov 2004 22:16:17 +0000 (22:16 +0000)]
Added correct handling of undef.

19 years agoUpdated manifest.
rich [Thu, 25 Nov 2004 21:33:20 +0000 (21:33 +0000)]
Updated manifest.

19 years agoVersion 0.3.14 for release.
rich [Thu, 25 Nov 2004 21:32:28 +0000 (21:32 +0000)]
Version 0.3.14 for release.

19 years agoWrapper around WWW::Mechanize.
rich [Thu, 25 Nov 2004 21:24:51 +0000 (21:24 +0000)]
Wrapper around WWW::Mechanize.
Additional methods for LWP::UserAgent.

19 years agoAdded unit () arg to #delete method.
rich [Tue, 23 Nov 2004 13:40:50 +0000 (13:40 +0000)]
Added unit () arg to #delete method.

19 years agoSynched debian/ subdirectory with John Goerzen's arch repo.
rich [Mon, 22 Nov 2004 17:40:55 +0000 (17:40 +0000)]
Synched debian/ subdirectory with John Goerzen's arch repo.

19 years agoMore complete LWP wrappers.
rich [Mon, 22 Nov 2004 17:08:36 +0000 (17:08 +0000)]
More complete LWP wrappers.

19 years agoPatch by David Flynn
rich [Wed, 3 Nov 2004 14:15:16 +0000 (14:15 +0000)]
Patch by David Flynn

19 years agoMake explicit the linking exception.
rich [Mon, 28 Jun 2004 14:28:32 +0000 (14:28 +0000)]
Make explicit the linking exception.

20 years agoUpdated MANIFEST.
rich [Thu, 25 Mar 2004 13:46:19 +0000 (13:46 +0000)]
Updated MANIFEST.

20 years agoVersion 0.3.10.
rich [Thu, 25 Mar 2004 13:45:43 +0000 (13:45 +0000)]
Version 0.3.10.

20 years agoBumped version for towada roll.
rich [Thu, 4 Mar 2004 14:51:03 +0000 (14:51 +0000)]
Bumped version for towada roll.

20 years agoAttempts to fix the deref_* functions.
rich [Wed, 3 Mar 2004 12:39:20 +0000 (12:39 +0000)]
Attempts to fix the deref_* functions.

20 years agoUpdated version from Dave.
rich [Sun, 15 Feb 2004 11:34:23 +0000 (11:34 +0000)]
Updated version from Dave.

20 years agoUpdated deps.
rich [Sat, 14 Feb 2004 14:24:06 +0000 (14:24 +0000)]
Updated deps.

20 years agoContributed Template Toolkit wrapper.
rich [Fri, 13 Feb 2004 10:37:16 +0000 (10:37 +0000)]
Contributed Template Toolkit wrapper.

20 years agoCommented out ref counting code for now. Updated Debian version.
rich [Tue, 3 Feb 2004 12:38:57 +0000 (12:38 +0000)]
Commented out ref counting code for now.  Updated Debian version.

20 years agoFixed Debian version.
rich [Thu, 11 Dec 2003 17:44:52 +0000 (17:44 +0000)]
Fixed Debian version.

20 years agoMemory allocation fixes.
rich [Thu, 11 Dec 2003 17:41:52 +0000 (17:41 +0000)]
Memory allocation fixes.

20 years agoActually build the right version of Debian package.
rich [Sat, 6 Dec 2003 13:14:02 +0000 (13:14 +0000)]
Actually build the right version of Debian package.

20 years agoUpdated MANIFEST
rich [Wed, 19 Nov 2003 16:29:24 +0000 (16:29 +0000)]
Updated MANIFEST

20 years agoFixed for Perl 5.8.2.
rich [Wed, 19 Nov 2003 16:28:22 +0000 (16:28 +0000)]
Fixed for Perl 5.8.2.
Added date parsing wrappers which we can use in the assessortool.

20 years agoFurther tuning for initial release.
rich [Sat, 8 Nov 2003 11:52:19 +0000 (11:52 +0000)]
Further tuning for initial release.

20 years ago'make dpkg' seems to work.
rich [Sat, 8 Nov 2003 11:52:03 +0000 (11:52 +0000)]
'make dpkg' seems to work.

20 years agoAnother test.
rich [Sat, 8 Nov 2003 11:36:19 +0000 (11:36 +0000)]
Another test.

20 years agoJust a test.
rich [Sat, 8 Nov 2003 11:35:22 +0000 (11:35 +0000)]
Just a test.

20 years agoReady for next Debian release.
rich [Sat, 8 Nov 2003 11:33:39 +0000 (11:33 +0000)]
Ready for next Debian release.

20 years agoDebian -2 release.
rich [Sat, 8 Nov 2003 11:08:48 +0000 (11:08 +0000)]
Debian -2 release.
Added .ml files to development package.

20 years agoProducing first Debian packages.
rich [Sun, 2 Nov 2003 13:28:38 +0000 (13:28 +0000)]
Producing first Debian packages.

20 years agoInitial Debianisation.
rich [Sun, 2 Nov 2003 13:19:57 +0000 (13:19 +0000)]
Initial Debianisation.

20 years agoUpdated MANIFEST.
rich [Sun, 26 Oct 2003 13:02:24 +0000 (13:02 +0000)]
Updated MANIFEST.

20 years agoFixed undef handling.
rich [Sun, 26 Oct 2003 12:57:11 +0000 (12:57 +0000)]
Fixed undef handling.

20 years agoAll _void methods now add G_DISCARD flag.
rich [Sun, 26 Oct 2003 12:10:23 +0000 (12:10 +0000)]
All _void methods now add G_DISCARD flag.

20 years agoAdded support for references.
rich [Sun, 26 Oct 2003 11:22:38 +0000 (11:22 +0000)]
Added support for references.
Fixed support for floats.

20 years agoAdded META (package information) for perl4caml.
rich [Sun, 26 Oct 2003 10:20:19 +0000 (10:20 +0000)]
Added META (package information) for perl4caml.

20 years agoFixed so the examples build properly (link perl4caml library
rich [Wed, 22 Oct 2003 10:18:26 +0000 (10:18 +0000)]
Fixed so the examples build properly (link perl4caml library
from current directory).

20 years agoSupport HVs.
rich [Sat, 18 Oct 2003 12:36:09 +0000 (12:36 +0000)]
Support HVs.

20 years agoFixed MANIFEST.
rich [Thu, 16 Oct 2003 13:41:57 +0000 (13:41 +0000)]
Fixed MANIFEST.

20 years agoBumped version.
rich [Thu, 16 Oct 2003 13:41:22 +0000 (13:41 +0000)]
Bumped version.

20 years agoAdded ocamldoc, and fixed bugs.
rich [Thu, 16 Oct 2003 13:41:06 +0000 (13:41 +0000)]
Added ocamldoc, and fixed bugs.
Added tutorial on writing wrappers.
Fixed bug in LWP::UserAgent->request (was calling wrong method).

20 years agoVersion 0.3.4 for release.
rich [Thu, 16 Oct 2003 11:04:23 +0000 (11:04 +0000)]
Version 0.3.4 for release.

20 years agoFixed a silly crashing bug in the FFI code.
rich [Thu, 16 Oct 2003 11:03:51 +0000 (11:03 +0000)]
Fixed a silly crashing bug in the FFI code.

20 years agoVersion 0.3.3.
rich [Thu, 16 Oct 2003 09:38:46 +0000 (09:38 +0000)]
Version 0.3.3.

20 years agoFixed MANIFEST.
rich [Thu, 16 Oct 2003 09:37:02 +0000 (09:37 +0000)]
Fixed MANIFEST.

20 years agoAcknowledge Olivier Andrieu
rich [Thu, 16 Oct 2003 08:55:28 +0000 (08:55 +0000)]
Acknowledge Olivier Andrieu

20 years agoWorked around OCaml initialization bug.
rich [Thu, 16 Oct 2003 08:54:56 +0000 (08:54 +0000)]
Worked around OCaml initialization bug.

20 years agoWrappers now automatically 'use' modules.
rich [Wed, 15 Oct 2003 16:51:12 +0000 (16:51 +0000)]
Wrappers now automatically 'use' modules.
Initialization is done automatically.

20 years agoRenamed the .cma/.cmxa libraries as perl4caml to avoid conflicting
rich [Wed, 15 Oct 2003 09:49:52 +0000 (09:49 +0000)]
Renamed the .cma/.cmxa libraries as perl4caml to avoid conflicting
with the real libperl when linking.

20 years ago'make install' now installs wrappers, and everything under $OCAMLLIBDIR/perl.
rich [Wed, 15 Oct 2003 08:55:23 +0000 (08:55 +0000)]
'make install' now installs wrappers, and everything under $OCAMLLIBDIR/perl.
Updated MANIFEST.

20 years agoAdded some documentation, license file.
rich [Tue, 14 Oct 2003 16:46:13 +0000 (16:46 +0000)]
Added some documentation, license file.

20 years agoUpdated MANIFEST and bumped version.
rich [Tue, 14 Oct 2003 16:07:05 +0000 (16:07 +0000)]
Updated MANIFEST and bumped version.

20 years agoFixed loads of bugs. It now works. Ready to integrate in assessortool.
rich [Tue, 14 Oct 2003 16:05:21 +0000 (16:05 +0000)]
Fixed loads of bugs. It now works. Ready to integrate in assessortool.

20 years agoAdded wrappers around some common libraries.
rich [Sun, 12 Oct 2003 17:33:14 +0000 (17:33 +0000)]
Added wrappers around some common libraries.

20 years agoAdded make dist rule & MANIFEST.
rich [Sun, 12 Oct 2003 12:14:06 +0000 (12:14 +0000)]
Added make dist rule & MANIFEST.

20 years agoUpdated deps.
rich [Sun, 12 Oct 2003 11:57:07 +0000 (11:57 +0000)]
Updated deps.

20 years agoUndef, true, false SVs.
rich [Sun, 12 Oct 2003 11:56:26 +0000 (11:56 +0000)]
Undef, true, false SVs.
Class methods.
Moved examples into a subdirectory.

20 years agoSupport for calling SVs, eval, array context, void context, get_sv.
rich [Sun, 12 Oct 2003 10:52:00 +0000 (10:52 +0000)]
Support for calling SVs, eval, array context, void context, get_sv.

20 years agoAdded initial caml4perl.
rich [Sat, 11 Oct 2003 18:25:52 +0000 (18:25 +0000)]
Added initial caml4perl.