view ChangeLog @ 40:824354efaa1a

implement direct variable manipulation and local scoping
author Jaroslav Hajek <highegg@gmail.com>
date Mon, 25 May 2009 10:30:11 +0200
parents 798efee55cd0
children de24e11a4c35
line wrap: on
line source

2009-05-13  Jaroslav Hajek  <highegg@gmail.com>

	* exceptions.h (variable_name_exception): New exception class.
	* exceptions.cc: Initialize it.
	* octave_to_python.h (octvalue_to_pyobj): Declare prototype.
	* pytave.cc (init): Init variable_name_exception.
	(getvar): New function.
	(setvar): New function.
	(isvar): New function.
	(push_scope): New function.
	(pop_scope): New function.
	* package/pytave.py (__init__): Init VarNameError.
	(getvar): New function.
	(setvar): New function.
	(isvar): New function.
	(push_scope): New function.
	(pop_scope): New function.
	(_local_scope): New decorator helper class.
	(local_scope): New decorator.
	* test/test.py: Include new tests.

2009-05-09  David Grundberg  <individ@acc.umu.se>

	* ax_octave_float.m4: New file.
	* configure.ac: Added --enable-float-matrices configure option.

2009-05-07  Jaroslav Hajek  <highegg@gmail.com>

	* exceptions.h (octave_parse_exception): New class.
	* package/pytave.py: Added ParseError exception.
	(eval): New function.
	* pytave.cc (func_eval, make_error_message): Extracted
	make_error_message from func_eval.
	(str_eval): New function.

2009-05-05  David Grundberg  <individ@acc.umu.se>

	* python_to_octave.cc (pydict_to_octmap): Improved semantics and
	error control.
	* m4/ax_octave.m4, m4/ax_python_devel.m4: New files.
	* m4/ax_python.m4: Removed.
	* m4/ax_boost_python.m4, README, INSTALL: Rewritten.
	* configure.ac, setup.py.in, Jamfile.in, Makefile.am: Adjusted to
	new Autoconf macros.

2008-11-17  HÃ¥kan Fors Nilsson  <c04hfn@cs.umu.se>

	* octave_to_python.cc (octcell_to_pyobject, octmap_to_pyobject):
	New functions.
	* python_to_octave.cc (pylist_to_cellarray, pydict_to_octmap):
	New functions.

2008-11-17  David Grundberg  <individ@acc.umu.se>

	* pytave.cc (func_eval): Improved pytave.OctaveError messages, now
	includes filename, function and line of offending m-file.

2008-11-10  David Grundberg  <individ@acc.umu.se>

	* octave_to_python.cc: Remove static storage class on explicitely
	specialized templates.

2008-10-23  David Grundberg  <individ@acc.umu.se>

	* pytave.cc: Use octave_main() to initialize Octave. Introduces
	readline history clashes with interactive Python interpreter.
	* configure.ac: Better testing for Python dependencies.
	* configure.ac: Renamed my_ to pytave_
	* configure.ac: Fixed whitespace.

2008-10-20  David Grundberg  <individ@acc.umu.se>

	* Makefile.am: added test/exceptions.py to extra dist.
	* Jamfile.in: corrected dependencies


2008-10-18  David Grundberg  <individ@acc.umu.se>

	Changed license to correct one (GPLv3).

2008-10-17  David Grundberg  <c04dgg@cs.umu.se>

	First launchpad.net check in.

Local Variables:
coding: utf-8
fill-column: 74
End:
vim: set textwidth=74 noexpandtab :