2718b74 | Karl Wette | 01 December 2011, 10:20:46 UTC | whitespace cleanup of swiglal-common.i | 01 December 2011, 10:20:46 UTC |
11cede1 | Karl Wette | 21 November 2011, 23:11:35 UTC | LALCheckMemoryLeaks() is only available in a debug build | 21 November 2011, 23:24:09 UTC |
232d19c | Karl Wette | 10 November 2011, 16:24:52 UTC | Include LALVCSInfo.h using header list Makefile | 15 November 2011, 10:51:29 UTC |
1ae0c7f | Karl Wette | 10 November 2011, 16:40:32 UTC | whitespace cleanup | 10 November 2011, 16:44:04 UTC |
3d39fdd | Karl Wette | 01 November 2011, 18:33:42 UTC | Reduce warnings when building with -Wshorten-64-to-32 on Macs | 01 November 2011, 18:34:08 UTC |
60d514e | Karl Wette | 31 October 2011, 17:40:50 UTC | SWIG now treats TYPE** arguments as output-only by default - since this seems to be the general rule in LAL - INOUT typemap for input-output arguments can be %apply-d if needed | 31 October 2011, 23:14:45 UTC |
e30db59 | Karl Wette | 27 October 2011, 09:35:49 UTC | Check that CFLAGS is set first! | 27 October 2011, 09:36:38 UTC |
e3fd591 | Karl Wette | 26 October 2011, 21:57:48 UTC | Clear CFLAGS when building Python SWIG wrappings - Stops extra LAL flags being added if CFLAGS is declared for export | 26 October 2011, 21:58:29 UTC |
d55877b | Karl Wette | 22 October 2011, 14:38:43 UTC | Improved SWIG dynamic vector/matrix conversion macros (mark 2) - Use %extend to create new versions of the data and size struct members, then %ignore to remove the original struct members. - No longer need _END macros to clear typemaps. | 23 October 2011, 14:00:57 UTC |
2a90ff8 | Karl Wette | 21 October 2011, 23:16:31 UTC | Revert "Improve SWIG dynamic vector/matrix conversion macros" - This reverts commit 2687477b3b77b84451257047271827bb775acc6c. - Changes not compatible with released versions of SWIG (<=2.0.4) | 21 October 2011, 23:17:38 UTC |
ef65087 | Karl Wette | 12 October 2011, 19:27:52 UTC | Improve SWIG dynamic vector/matrix conversion macros - Use %extend to create new versions of the data and size struct members with the macro, then %ignore to ignore the original struct members. - No longer need _END macros to clear typemaps. | 21 October 2011, 18:44:17 UTC |
833a5f1 | Karl Wette | 12 October 2011, 17:24:57 UTC | Renamed NAME -> NDATA | 21 October 2011, 18:44:17 UTC |
37611aa | Karl Wette | 09 October 2011, 21:34:08 UTC | Return numpy views of vector/matrix data for some types - Views are returned for numeric data attached to structs - Otherwise, numpy array return by _new methods is now set to be read-only, to warn against trying to set elements - Expanded unit tests to test setting view array elements - See Redmine issue #192 | 21 October 2011, 18:27:14 UTC |
d4112a5 | Karl Wette | 09 October 2011, 21:14:58 UTC | Allow scripting languages to create vector/matrix views - Scripting language code must provide swiglal_vector_view<TYPE>, swiglal_matrix_view<TYPE>. If a view is supported for a particular TYPE, functions create the view and return true; false otherwise. - See Redmine issue #192 | 21 October 2011, 18:27:08 UTC |
61a0adb | Karl Wette | 09 October 2011, 12:56:15 UTC | Use strides in SWIG vector/matrix conversion code - Replaces PTR_TO_DATA_I(J) macros in determining how various C arrays are accessed - See Redmine issue #192 | 21 October 2011, 18:26:41 UTC |
0ebf45c | Karl Wette | 21 October 2011, 08:04:52 UTC | More SWIG build system fixes - automake apparently doesn't like .PHONY with its special targets - Dummy targets for when a language is not being built - Missing dependency for Python swig-install | 21 October 2011, 08:46:09 UTC |
de6f724 | Karl Wette | 11 October 2011, 19:18:56 UTC | Fixes for SWIG Octave- or Python-only builds | 11 October 2011, 19:18:56 UTC |
3f45fa4 | Karl Wette | 10 October 2011, 17:11:34 UTC | Yet another SWIG dist-related fix | 10 October 2011, 17:11:34 UTC |
ab332d8 | Karl Wette | 10 October 2011, 16:46:53 UTC | Another SWIG dist-related fix | 10 October 2011, 16:47:00 UTC |
b043173 | Karl Wette | 07 October 2011, 15:32:13 UTC | New SWIGLAL_STRUCT directives for LAL structs | 10 October 2011, 08:36:00 UTC |
4cf1631 | Karl Wette | 10 October 2011, 08:35:55 UTC | Improve memory allocation integration with SWIG - Can now specify whether a LAL struct should be: * allocated with generic C memory * allocated with LAL memory: used for simple structs which contain no memory pointer * allocated with LAL creator/destructor functions: used for more complex structs which point to memory - Should all seamlessly work with scripting-language memory management, e.g. del in Python, clear in Octave | 10 October 2011, 08:35:55 UTC |
6781d14 | Karl Wette | 09 October 2011, 10:00:07 UTC | Improved SWIG build system - Replaced autoconf-include makefile fragments with automake-included makefile fragments; works better with automake's idiosyncrasies - Move all build code to swig-common.am and language Makefile.am; top-level Makefile.am now does nothing - Numerous fixes to get 'make distcheck' to pass | 10 October 2011, 08:17:25 UTC |
10604fe | Karl Wette | 09 October 2011, 16:08:12 UTC | Documentation fixes | 09 October 2011, 18:49:35 UTC |
7183d6c | Karl Wette | 07 October 2011, 12:48:31 UTC | Use SWIG ownership flag explicitly | 07 October 2011, 13:32:55 UTC |
7225b6c | Karl Wette | 07 October 2011, 01:02:31 UTC | Move (N)RCSID undefinitions to LALRCSID.h | 07 October 2011, 13:32:55 UTC |
9f480d6 | Karl Wette | 07 October 2011, 01:01:20 UTC | Move LAL / GSL header includes to end of first section | 07 October 2011, 13:32:55 UTC |
25a9a46 | Karl Wette | 06 October 2011, 21:46:19 UTC | Improve GSL vector/matrix wrappings - use SWIG constructors/destructors instead of GSL functions - add SWIG copy constructors which use GSL to copy struct | 07 October 2011, 13:32:55 UTC |
91fcbb6 | Karl Wette | 06 October 2011, 02:59:34 UTC | Use DYLD_FALLBACK_LIBRARY_PATH instead of DYLD_LIBRARY_PATH on Macs | 06 October 2011, 02:59:34 UTC |
83dabb3 | Karl Wette | 05 October 2011, 23:30:20 UTC | Safer way of running SWIG check scripts on Macs - need to use DYLD_LIBRARY_PATH, since LAL libs not installed yet, but this can override system libs if not careful - separate SWIG lib path into pre-install and install locations, use DYLD_LIBRARY_PATH to set only the pre-install locations - use env to run check scripts | 05 October 2011, 23:46:42 UTC |
063c584 | Karl Wette | 05 October 2011, 23:27:47 UTC | Additional linker flag for building SWIG Octave modules on Macs - lets the Mac linker dynamically look up undefined symbols, which is useful e.g. for discovering GSL through linking against LAL | 05 October 2011, 23:46:42 UTC |
2804a88 | Karl Wette | 29 September 2011, 04:49:16 UTC | Move SWIG user-env setup into general user-env scripts | 29 September 2011, 19:07:59 UTC |
e76c1b2 | Karl Wette | 27 September 2011, 19:25:12 UTC | Modify -rpath argument to not use = - doesn't work for 'ld' on Macs | 27 September 2011, 20:46:37 UTC |
ae7a90e | Karl Wette | 27 September 2011, 18:09:36 UTC | SWIG typemaps for double-pointer arguments - treat all TYPE** arguments as input/output, unless OUTPUT-only typemap is applied | 27 September 2011, 18:12:29 UTC |
1fd8796 | Karl Wette | 05 September 2011, 08:55:53 UTC | Change name of Octave file path | 05 September 2011, 12:57:02 UTC |
d043cb3 | Karl Wette | 06 July 2011, 17:46:47 UTC | Fixed get/set accessors for struct-type vectors/matrices, added tests - Consistently use TYPE* for both get/set accessors for vectors/matrices of element type TYPE. [Previous use of TYPE for set accessors prevents assignment from another element, e.g. setel(0, getel(1)).] - Due to the above change, changed swiglal_as_val to correctly struct-copy the swigtype-wrapped contents of 'in' to the TYPE variable *out. - Added test code to check that the struct-copying works. | 06 July 2011, 20:04:27 UTC |
de93d43 | Karl Wette | 06 July 2011, 17:36:00 UTC | Add a few missing static vector/matrix macros and tests - macros for global (const) matrix variables were missing - added tests of global vector/matrix variable accessors - added tests of global matrix variables | 06 July 2011, 20:04:27 UTC |
0db32ef | Karl Wette | 06 July 2011, 16:34:12 UTC | Rename "static_test" -> "test_static" | 06 July 2011, 20:04:27 UTC |
6ac6d21 | Karl Wette | 06 July 2011, 14:48:25 UTC | Add names to accessor indices, so they show up in autodoc | 06 July 2011, 20:04:27 UTC |
c28f4e9 | Karl Wette | 01 June 2011, 21:08:04 UTC | swiglal: add constructors, operators, methods, and typemaps for LIGOTimeGPS - aim to be compatible with existing PyLAL wrapping of LIGOTimeGPS - constructors: create a new LIGOTimeGPS from various input - operators: common arithmetic unary and binary operations - methods: compute properties, and convert it to various representations - typemaps: input typemaps which allow additional language-specific conversions, if default conversion from a swig-wrapped type fails - stop LIGOTimeGPS from using LAL memory allocation routines, since arithmetic operations will likely generate a lot of intermediate instances which we don't care about keeping track of | 13 June 2011, 19:47:55 UTC |
902cce6 | Karl Wette | 21 March 2011, 19:28:35 UTC | swiglal: build system for SWIG wrapping the LAL library - lal/misc/lalsuite_swig.m4 --> gnuscripts/lalsuite_swig.m4 - call LALSUITE_WITH_SWIG from lal/configure.ac - @INCLUDE@ lal/swig/swig-header.mk from packages/*/include/ Makefile.am, where $(pkginclude_HEADERS) lists the LAL headers | 13 June 2011, 19:47:54 UTC |
0fd82c8 | Karl Wette | 20 May 2011, 13:44:59 UTC | swiglal: check headers for correct SWIGLAL constructs - perl script swig-check-headers.pl runs before swig, must succeed for build to proceed | 13 June 2011, 19:47:54 UTC |
1f1a423 | Karl Wette | 29 May 2011, 19:34:11 UTC | swiglal: convert 'tm' structs to/from native representations - Added test code for Octave and Python | 13 June 2011, 19:47:54 UTC |
36744c7 | Karl Wette | 19 April 2011, 12:47:44 UTC | swiglal: safer wrapping of printf-style functions | 13 June 2011, 19:47:54 UTC |
1f903a5 | Karl Wette | 05 May 2011, 13:58:52 UTC | swiglal: interface to GSL vectors and matrices - Provide an interface to GSL vectors and matrices, and functions to create and destroy them. This interface is included in the LAL library module. - Added test code for Octave and Python | 13 June 2011, 19:47:54 UTC |
1e3766f | Karl Wette | 19 April 2011, 12:45:39 UTC | swiglal: dynamic vector/matrix conversion code - Provide code to convert dynamically-allocated vectors and matrices, which are passed around as structs, to/from scripting language representations. Two lines of code must be added to the struct to apply the conversion code. - Added test code for Octave and Python using LAL datatypes | 13 June 2011, 19:47:54 UTC |
4876d57 | Karl Wette | 30 April 2011, 23:27:55 UTC | swiglal: static vector/matrix typemaps - Provide typemaps to convert statically-allocated arrays to/from scripting language representations. Should apply to all 1-D (vector) and 2-D (matrix) arrays given as function arguments, struct members, and global variables. - Added code in interface to exercise typemaps, and testing code for Octave and Python | 13 June 2011, 19:47:54 UTC |
ab897b3 | Karl Wette | 05 May 2011, 13:18:39 UTC | swiglal: vector/matrix element accessors - Provide macros which generate DATA_getel() and DATA_setel() functions for a statically- or dynamically-allocated vector/matrix DATA. | 13 June 2011, 19:47:54 UTC |
7b4ec4e | Karl Wette | 20 May 2011, 13:43:33 UTC | swiglal: vector/matrix conversions - swiglal-common.i: provide macros to convert vectors and matrices to/from native scripting language representations. - swiglal-octave.i: provide functions to manipulate and create vectors and matrices in Octave. - swiglal-python.i: provide functions to manipulate and create vectors and matrices in Python. Requires numpy, since vectors and matrices are returned as numpy arrays. - lalsuite_swig.m4,setup.py: setup build system to configure and build with numpy for Python module. | 13 June 2011, 19:47:54 UTC |
37f93ed | Karl Wette | 01 May 2011, 17:21:20 UTC | swiglal: type conversions for strings - Specialisations of swiglal_from and swiglal_as_val which pass char* strings by *value* (i.e. by copying) to/from native scripting language strings. Uses 'flags' whether or not to use LAL memory allocation routines. - Added test code for Octave and Python | 13 June 2011, 19:47:54 UTC |
dcb6077 | Karl Wette | 30 April 2011, 23:10:53 UTC | swiglal: type conversions for primitive C types - swiglal-common.i: C++ function templates swiglal_from and swiglal_as_val convert primitive C types to/from scripting language, and fall back to make a swig_type wrapper for any other type. e.g. structs. All C integer and floating-point types, and LAL/GSL complex types are considered primitive. - LALAtomicDatatypes.h: exclude COMPLEX8/COMPLEX16 from interface, since they should be always converted to scripting language complex numbers. - swiglal-octave.i: provide SWIG UTL conversion fragments for LAL/GSL complex types. octcomplex.swg is broken, so include a fixed copy here. - swiglal-python.i: provide SWIG UTL conversion fragments for LAL/GSL complex types. - Added tests of complex number conversions for Octave and Python | 13 June 2011, 19:47:54 UTC |
d6a0a34 | Karl Wette | 01 May 2011, 20:02:19 UTC | swiglal: allocate LAL structs using LAL memory functions - Adding the symbol 'SWIGLAL_STRUCT_LALALLOC' to a LAL struct will make SWIG's default constructor/destructors use LAL memory allocation functions to create/destroy the struct. - Added test code for Octave and Python | 13 June 2011, 19:47:54 UTC |
6948bf6 | Karl Wette | 20 May 2011, 15:48:17 UTC | swiglal: configure and build SWIG wrappings for Python - macro LALSUITE_SWIG_LANG_PYTHON in lalsuite_swig.m4 sets up python using built-in autoconf macro - lal/swig/python/swiglal-python.i contains Python-specific SWIG wrapping code - lal/swig/python/setup.py uses distutils to build python modules from SWIG wrapping code - lal/swig/python/Makefile.am generates and then builds SWIG wrapping code, using swig-common.mk, and also generates Python-specific environment setup - lal/swig/python/check-swiglal.py will contain tests of the Python-specific wrapping code | 13 June 2011, 19:47:54 UTC |
b71ffbe | Karl Wette | 20 May 2011, 13:49:00 UTC | swiglal: configure and build SWIG wrappings for Octave - macro LALSUITE_SWIG_LANG_OCTAVE in lalsuite_swig.m4 finds octave binary, and determines installation locations - lal/swig/octave/swiglal-octave.i contains Octave-specific SWIG wrapping code - lal/swig/octave/mkoct.m uses mkoctfile to build .oct files from SWIG wrapping code - lal/swig/octave/Makefile.am generates and then builds SWIG wrapping code, using swig-common.mk, and also generates Octave-specific environment setup - lal/swig/octave/check-swiglal.m will contain tests of the Octave-specific wrapping code | 13 June 2011, 19:47:54 UTC |
4bfa977 | Karl Wette | 30 April 2011, 15:05:57 UTC | swiglal: common build system for SWIG wrapping - lal/swig/Makefile.am runs Makefiles in language-specific subdirectories, and builds user environment scripts - lal/swig/swig-common.mk contains common Make code for building SWIG bindings, is @INCLUDED@ from lal/swig/... Makefiles - lal/swig/swig-header.mk is a Makefile for building lists of header files from automake variable $(..._HEADERS) to be included in the SWIG interface, is @INCLUDED@ from source Makefiles - lal/swig/swiglal-common.i contains common SWIG interface code - lal/swig/swiglal-test.i will contain testing code | 13 June 2011, 19:47:54 UTC |
f370630 | Adam Mercer | 25 May 2010, 04:23:44 UTC | update address details in GPL2 COPYING file, add to split packages | 09 July 2010, 17:10:04 UTC |
2e1dee2 | Jolien Creighton | 02 November 2005, 20:54:41 UTC | GPLed | 02 November 2005, 20:54:41 UTC |
43c10c3 | Jolien Creighton | 16 February 2000, 01:58:03 UTC | Initial entry | 16 February 2000, 01:58:03 UTC |