https://github.com/kwwette/swiglal

sort by:
Revision Author Date Message Commit Date
2718b74 whitespace cleanup of swiglal-common.i 01 December 2011, 10:20:46 UTC
11cede1 LALCheckMemoryLeaks() is only available in a debug build 21 November 2011, 23:24:09 UTC
232d19c Include LALVCSInfo.h using header list Makefile 15 November 2011, 10:51:29 UTC
1ae0c7f whitespace cleanup 10 November 2011, 16:44:04 UTC
3d39fdd Reduce warnings when building with -Wshorten-64-to-32 on Macs 01 November 2011, 18:34:08 UTC
60d514e 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 Check that CFLAGS is set first! 27 October 2011, 09:36:38 UTC
e3fd591 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 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 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 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 Renamed NAME -> NDATA 21 October 2011, 18:44:17 UTC
37611aa 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 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 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 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 Fixes for SWIG Octave- or Python-only builds 11 October 2011, 19:18:56 UTC
3f45fa4 Yet another SWIG dist-related fix 10 October 2011, 17:11:34 UTC
ab332d8 Another SWIG dist-related fix 10 October 2011, 16:47:00 UTC
b043173 New SWIGLAL_STRUCT directives for LAL structs 10 October 2011, 08:36:00 UTC
4cf1631 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 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 Documentation fixes 09 October 2011, 18:49:35 UTC
7183d6c Use SWIG ownership flag explicitly 07 October 2011, 13:32:55 UTC
7225b6c Move (N)RCSID undefinitions to LALRCSID.h 07 October 2011, 13:32:55 UTC
9f480d6 Move LAL / GSL header includes to end of first section 07 October 2011, 13:32:55 UTC
25a9a46 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 Use DYLD_FALLBACK_LIBRARY_PATH instead of DYLD_LIBRARY_PATH on Macs 06 October 2011, 02:59:34 UTC
83dabb3 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 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 Move SWIG user-env setup into general user-env scripts 29 September 2011, 19:07:59 UTC
e76c1b2 Modify -rpath argument to not use = - doesn't work for 'ld' on Macs 27 September 2011, 20:46:37 UTC
ae7a90e 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 Change name of Octave file path 05 September 2011, 12:57:02 UTC
d043cb3 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 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 Rename "static_test" -> "test_static" 06 July 2011, 20:04:27 UTC
6ac6d21 Add names to accessor indices, so they show up in autodoc 06 July 2011, 20:04:27 UTC
c28f4e9 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 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 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 swiglal: convert 'tm' structs to/from native representations - Added test code for Octave and Python 13 June 2011, 19:47:54 UTC
36744c7 swiglal: safer wrapping of printf-style functions 13 June 2011, 19:47:54 UTC
1f903a5 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 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 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 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 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 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 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 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 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 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 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 update address details in GPL2 COPYING file, add to split packages 09 July 2010, 17:10:04 UTC
2e1dee2 GPLed 02 November 2005, 20:54:41 UTC
43c10c3 Initial entry 16 February 2000, 01:58:03 UTC
back to top