diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-05 07:21:35 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2019-02-05 18:42:16 +0000 |
commit | 6d7e3df54efd9a96164045512e41d6d7235a4c01 (patch) | |
tree | e98cde4b03dc306e18668c81de6cf70762036a82 | |
parent | 09e0577d95dc39b158c68d02ecd54610bb009949 (diff) | |
download | swig-6d7e3df54efd9a96164045512e41d6d7235a4c01.tar.gz |
Disable Allegrcol target language
Clean up to disable target languages that have been neglected/not functional.
Target language be fully deleted in SWIG 4.1 unless a new maintainer brings
it up to an acceptable status (experimental or supported).
Issue #1447
-rw-r--r-- | ANNOUNCE | 2 | ||||
-rw-r--r-- | CHANGES.current | 4 | ||||
-rw-r--r-- | Doc/Manual/Lisp.html | 13 | ||||
-rw-r--r-- | Doc/Manual/Preprocessor.html | 1 | ||||
-rw-r--r-- | Doc/Manual/SWIG.html | 1 | ||||
-rw-r--r-- | Doc/Manual/Sections.html | 1 | ||||
-rw-r--r-- | Doc/Manual/chapters | 1 | ||||
-rw-r--r-- | Makefile.in | 10 | ||||
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | Source/Makefile.am | 1 | ||||
-rw-r--r-- | Source/Modules/swigmain.cxx | 3 | ||||
-rw-r--r-- | TODO | 8 | ||||
-rw-r--r-- | configure.ac | 31 |
13 files changed, 10 insertions, 68 deletions
@@ -11,7 +11,7 @@ SWIG is a software development tool that reads C/C++ header files and generates the wrapper code needed to make C and C++ code accessible from other programming languages including Perl, Python, Tcl, Ruby, PHP, C#, Go, Java, Javascript, Lua, Scheme (Guile, MzScheme), -D, Ocaml, Octave, R, Scilab, Common Lisp (Allegro CL, CFFI). +D, Ocaml, Octave, R, Scilab, Common Lisp (CFFI). SWIG can also export its parse tree in the form of XML. Major applications of SWIG include generation of scripting language extension modules, rapid diff --git a/CHANGES.current b/CHANGES.current index 8d1666a62..1505ac4e0 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -8,6 +8,10 @@ Version 4.0.0 (in progress) =========================== 2019-02-04: wsfulton + [Allegrocl] #1447 Allegro Common Lisp has been disabled as a target language in SWIG as part of a + clean up to remove target languages that have been neglected/not functional. + +2019-02-04: wsfulton [Chicken] #1447 CHICKEN has been disabled as a target language in SWIG as part of a clean up to remove target languages that have been neglected/not functional. diff --git a/Doc/Manual/Lisp.html b/Doc/Manual/Lisp.html index f1dc3d17b..6eb448a12 100644 --- a/Doc/Manual/Lisp.html +++ b/Doc/Manual/Lisp.html @@ -11,7 +11,6 @@ <!-- INDEX --> <div class="sectiontoc"> <ul> -<li><a href="#Lisp_nn2">Allegro Common Lisp</a> <li><a href="#Lisp_nn3">Common Foreign Function Interface(CFFI)</a> <ul> <li><a href="#Lisp_nn4">Additional Commandline Options </a> @@ -35,16 +34,8 @@ finance, and also common in computer science education. There are more than 9 different implementations of common lisp which are available, all have different foreign function - interfaces. SWIG currently supports only the Allegro Common - Lisp, Common Foreign Function Interface(CFFI). -</p> -<H2><a name="Lisp_nn2">29.1 Allegro Common Lisp</a></H2> - - -<p> - Allegro Common Lisp support in SWIG has been updated to include - support for both C and C++. You can read about the interface - <a href="Allegrocl.html#Allegrocl">here</a> + interfaces. SWIG currently supports the + Common Foreign Function Interface(CFFI). </p> <H2><a name="Lisp_nn3">29.2 Common Foreign Function Interface(CFFI)</a></H2> diff --git a/Doc/Manual/Preprocessor.html b/Doc/Manual/Preprocessor.html index d5929b4f6..1043a87be 100644 --- a/Doc/Manual/Preprocessor.html +++ b/Doc/Manual/Preprocessor.html @@ -109,7 +109,6 @@ SWIGIMPORTED Defined when SWIG is importing a file with <tt>% SWIG_VERSION Hexadecimal (binary-coded decimal) number containing SWIG version, such as 0x010311 (corresponding to SWIG-1.3.11). -SWIGALLEGROCL Defined when using Allegro CL SWIGCFFI Defined when using CFFI SWIGCSHARP Defined when using C# SWIGGUILE Defined when using Guile diff --git a/Doc/Manual/SWIG.html b/Doc/Manual/SWIG.html index 2a9674c5c..d55659d82 100644 --- a/Doc/Manual/SWIG.html +++ b/Doc/Manual/SWIG.html @@ -118,7 +118,6 @@ for example, <tt>swig -ruby -help</tt> for Ruby. <div class="shell"><pre> Supported Target Language Options - -allegrocl - Generate ALLEGROCL wrappers -cffi - Generate CFFI wrappers -csharp - Generate C# wrappers -d - Generate D wrappers diff --git a/Doc/Manual/Sections.html b/Doc/Manual/Sections.html index 405185e7c..3d5369995 100644 --- a/Doc/Manual/Sections.html +++ b/Doc/Manual/Sections.html @@ -39,7 +39,6 @@ Last update : SWIG-4.0.0 (in progress) <H3><a name="Sections_language_modules">Supported Language Modules Documentation</a></H3> <ul> -<li><a href="Allegrocl.html#Allegrocl">Allegro Common Lisp support</a></li> <li><a href="Android.html#Android">Android support</a></li> <li><a href="CSharp.html#CSharp">C# support</a></li> <li><a href="D.html#D">D support</a></li> diff --git a/Doc/Manual/chapters b/Doc/Manual/chapters index 5e42d1d4b..16e8f264b 100644 --- a/Doc/Manual/chapters +++ b/Doc/Manual/chapters @@ -17,7 +17,6 @@ Doxygen.html Warnings.html Modules.html CCache.html -Allegrocl.html Android.html CSharp.html D.html diff --git a/Makefile.in b/Makefile.in index 0c8d5daf7..f3e596f8c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -71,7 +71,6 @@ skip-ocaml = test -n "@SKIP_OCAML@" skip-octave = test -n "@SKIP_OCTAVE@" skip-csharp = test -n "@SKIP_CSHARP@" skip-lua = test -n "@SKIP_LUA@" -skip-allegrocl = test -n "@SKIP_ALLEGROCL@" skip-cffi = test -n "@SKIP_CFFI@" skip-r = test -n "@SKIP_R@" skip-scilab = test -n "@SKIP_SCILAB@" @@ -113,7 +112,6 @@ check-aliveness: @$(skip-octave) || ./$(TARGET) -octave -help @$(skip-php) || ./$(TARGET) -php7 -help @$(skip-csharp) || ./$(TARGET) -csharp -help - @$(skip-allegrocl)|| ./$(TARGET) -allegrocl -help @$(skip-cffi) || ./$(TARGET) -cffi -help @$(skip-lua) || ./$(TARGET) -lua -help @$(skip-r) || ./$(TARGET) -r -help @@ -141,7 +139,6 @@ check-versions: \ check-php-version \ check-csharp-version \ check-lua-version \ - check-allegrocl-version \ check-cffi-version \ check-r-version \ check-scilab-version \ @@ -176,7 +173,6 @@ check-examples: \ check-php-examples \ check-csharp-examples \ check-lua-examples \ - check-allegrocl-examples \ check-cffi-examples \ check-r-examples \ check-scilab-examples \ @@ -197,7 +193,6 @@ octave_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/octave/check.list) php_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/php/check.list) csharp_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/csharp/check.list) lua_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/lua/check.list) -allegrocl_examples := cffi_examples := r_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/r/check.list) scilab_examples :=$(shell sed '/^\#/d' $(srcdir)/Examples/scilab/check.list) @@ -240,7 +235,6 @@ check-test-suite: \ check-php-test-suite \ check-csharp-test-suite \ check-lua-test-suite \ - check-allegrocl-test-suite \ check-cffi-test-suite \ check-r-test-suite \ check-scilab-test-suite \ @@ -289,7 +283,6 @@ all-test-suite: \ all-php-test-suite \ all-csharp-test-suite \ all-lua-test-suite \ - all-allegrocl-test-suite \ all-cffi-test-suite \ all-r-test-suite \ all-scilab-test-suite \ @@ -314,7 +307,6 @@ broken-test-suite: \ broken-php-test-suite \ broken-csharp-test-suite \ broken-lua-test-suite \ - broken-allegrocl-test-suite \ broken-cffi-test-suite \ broken-r-test-suite \ broken-scilab-test-suite \ @@ -452,7 +444,7 @@ install-main: @$(INSTALL_PROGRAM) $(TARGET) $(DESTDIR)$(BIN_DIR)/`echo $(TARGET_NOEXE) | sed '$(transform)'`@EXEEXT@ lib-languages = typemaps tcl perl5 python guile java mzscheme ruby php ocaml octave \ - csharp allegrocl lua cffi r go d javascript javascript/jsc \ + csharp lua cffi r go d javascript javascript/jsc \ javascript/v8 scilab xml lib-modules = std @@ -5,7 +5,7 @@ Version: 4.0.0 (in progress) Tagline: SWIG is a compiler that integrates C and C++ with languages including Perl, Python, Tcl, Ruby, PHP, Java, C#, D, Go, Lua, Octave, R, Scheme (Guile, MzScheme/Racket), Scilab, - Ocaml, Common Lisp (Allegro CL, CFFI). + Ocaml, Common Lisp (CFFI). SWIG can also export its parse tree into XML. SWIG reads annotated C/C++ header files and creates wrapper code (glue diff --git a/Source/Makefile.am b/Source/Makefile.am index 026722d73..189fa3c26 100644 --- a/Source/Makefile.am +++ b/Source/Makefile.am @@ -45,7 +45,6 @@ eswig_SOURCES = CParse/cscanner.c \ Doxygen/javadoc.h \ Doxygen/pydoc.cxx \ Doxygen/pydoc.h \ - Modules/allegrocl.cxx \ Modules/allocate.cxx \ Modules/browser.cxx \ Modules/cffi.cxx \ diff --git a/Source/Modules/swigmain.cxx b/Source/Modules/swigmain.cxx index 2a687ef6c..9f8ba846a 100644 --- a/Source/Modules/swigmain.cxx +++ b/Source/Modules/swigmain.cxx @@ -26,7 +26,6 @@ can be dynamically loaded in future versions. */ extern "C" { - Language *swig_allegrocl(void); Language *swig_cffi(void); Language *swig_csharp(void); Language *swig_d(void); @@ -55,7 +54,7 @@ extern "C" { list sorted alphabetically. */ static TargetLanguageModule modules[] = { - {"-allegrocl", swig_allegrocl, "ALLEGROCL", Supported}, + {"-allegrocl", NULL, "ALLEGROCL", Disabled}, {"-chicken", NULL, "CHICKEN", Disabled}, {"-clisp", NULL, "CLISP", Disabled}, {"-cffi", swig_cffi, "CFFI", Supported}, @@ -275,14 +275,6 @@ Mzscheme ** Add shadow class support for the Swindle system. -ALLEGROCL ------ -These first three will remove most of the warnings from most of the -remaining checkpartial tests that are failing. -**** Throws typemap support -**** const typemaps -**** long long typemaps - Ocaml ----- ** I've been working with my camlp4 module and type information diff --git a/configure.ac b/configure.ac index bf204bff3..8d6f004a6 100644 --- a/configure.ac +++ b/configure.ac @@ -2333,29 +2333,6 @@ AC_SUBST(LUALINK) AC_SUBST(LUABIN) #---------------------------------------------------------------- -# Look for Allegro Common Lisp -#---------------------------------------------------------------- - -ALLEGROCLBIN= - -AC_ARG_WITH(allegrocl, AS_HELP_STRING([--without-allegrocl], [Disable Allegro CL]) -AS_HELP_STRING([--with-allegrocl=path], [Set location of Allegro CL executable (alisp)]),[ ALLEGROCLBIN="$withval"], [ALLEGROCLBIN="$alllang_default"]) - -# First, check for "--without-allegrocl" or "--with-allegrocl=no". -if test x"${ALLEGROCLBIN}" = xno; then -AC_MSG_NOTICE([Disabling Allegro CL]) -ALLEGROCLBIN= -else - -# can we find allegrocl? -if test "x$ALLEGROCLBIN" = xyes; then - AC_PATH_PROG(ALLEGROCLBIN, alisp) -fi -fi - -AC_SUBST(ALLEGROCLBIN) - -#---------------------------------------------------------------- # Look for GNU R #---------------------------------------------------------------- @@ -2690,12 +2667,6 @@ if test -z "$LUABIN" || test -z "$LUADYNAMICLOADLIB"; then fi AC_SUBST(SKIP_LUA) -SKIP_ALLEGROCL= -if test -z "$ALLEGROCLBIN" ; then - SKIP_ALLEGROCL="1" -fi -AC_SUBST(SKIP_ALLEGROCL) - SKIP_R= if test -z "$RBIN" ; then SKIP_R="1" @@ -2830,7 +2801,6 @@ AC_CONFIG_FILES([ Examples/test-suite/scilab/Makefile Examples/test-suite/tcl/Makefile Examples/test-suite/lua/Makefile - Examples/test-suite/allegrocl/Makefile Examples/test-suite/cffi/Makefile Examples/test-suite/r/Makefile Examples/test-suite/go/Makefile @@ -2879,7 +2849,6 @@ EOF AC_OUTPUT langs="" -test -n "$SKIP_ALLEGROCL" || langs="${langs}allegrocl " test -n "$SKIP_CFFI" || langs="${langs}cffi " test -n "$SKIP_CSHARP" || langs="${langs}csharp " test -n "$SKIP_D" || langs="${langs}d " |