annotate ChangeLog @ 46:095e26d93935

support complex numbers
author Jaroslav Hajek <highegg@gmail.com>
date Tue, 26 May 2009 11:41:26 +0200
parents 3eb653452a38
children 5867e925d0dd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
46
095e26d93935 support complex numbers
Jaroslav Hajek <highegg@gmail.com>
parents: 45
diff changeset
1 2009-05-26 Jaroslav Hajek <highegg@gmail.com>
095e26d93935 support complex numbers
Jaroslav Hajek <highegg@gmail.com>
parents: 45
diff changeset
2
095e26d93935 support complex numbers
Jaroslav Hajek <highegg@gmail.com>
parents: 45
diff changeset
3 * octave_to_python.cc (octvalue_to_pyarrobj): Support Complex
095e26d93935 support complex numbers
Jaroslav Hajek <highegg@gmail.com>
parents: 45
diff changeset
4 and FloatComplex values.
095e26d93935 support complex numbers
Jaroslav Hajek <highegg@gmail.com>
parents: 45
diff changeset
5 (octvalue_to_pyobj): Support complex scalars.
095e26d93935 support complex numbers
Jaroslav Hajek <highegg@gmail.com>
parents: 45
diff changeset
6 * python_to_octave.cc (copy_pyarrobj_to_octarray_dispatch):
095e26d93935 support complex numbers
Jaroslav Hajek <highegg@gmail.com>
parents: 45
diff changeset
7 New template function.
095e26d93935 support complex numbers
Jaroslav Hajek <highegg@gmail.com>
parents: 45
diff changeset
8 (matching_type): New helper traits class.
095e26d93935 support complex numbers
Jaroslav Hajek <highegg@gmail.com>
parents: 45
diff changeset
9 (copy_pyarrobj_to_octarray_dispatch): Support complex types.
095e26d93935 support complex numbers
Jaroslav Hajek <highegg@gmail.com>
parents: 45
diff changeset
10 (pyarrobj_to_octvalue): Support complex scalars.
095e26d93935 support complex numbers
Jaroslav Hajek <highegg@gmail.com>
parents: 45
diff changeset
11 * test/test.py: Add tests for complex values.
095e26d93935 support complex numbers
Jaroslav Hajek <highegg@gmail.com>
parents: 45
diff changeset
12
45
3eb653452a38 avoid useless instances in octave_to_python.cc
Jaroslav Hajek <highegg@gmail.com>
parents: 43
diff changeset
13 2009-05-26 Jaroslav Hajek <highegg@gmail.com>
3eb653452a38 avoid useless instances in octave_to_python.cc
Jaroslav Hajek <highegg@gmail.com>
parents: 43
diff changeset
14
3eb653452a38 avoid useless instances in octave_to_python.cc
Jaroslav Hajek <highegg@gmail.com>
parents: 43
diff changeset
15 * octave_to_python.cc: New #include (boost/type_traits).
3eb653452a38 avoid useless instances in octave_to_python.cc
Jaroslav Hajek <highegg@gmail.com>
parents: 43
diff changeset
16 (copy_octarray_to_pyarrobj): Don't use .value(); don't specialize.
3eb653452a38 avoid useless instances in octave_to_python.cc
Jaroslav Hajek <highegg@gmail.com>
parents: 43
diff changeset
17 (create_array (..., boost::true_type)): New overload (forward).
3eb653452a38 avoid useless instances in octave_to_python.cc
Jaroslav Hajek <highegg@gmail.com>
parents: 43
diff changeset
18 (create_array (..., boost::false_type)): New overload (dummy).
3eb653452a38 avoid useless instances in octave_to_python.cc
Jaroslav Hajek <highegg@gmail.com>
parents: 43
diff changeset
19 (create_uint_array): Pick proper overload.
3eb653452a38 avoid useless instances in octave_to_python.cc
Jaroslav Hajek <highegg@gmail.com>
parents: 43
diff changeset
20 (create_sint_array): Pick proper overload.
3eb653452a38 avoid useless instances in octave_to_python.cc
Jaroslav Hajek <highegg@gmail.com>
parents: 43
diff changeset
21
43
31df83060183 avoid duplicate conversions in python dict->octave map
Jaroslav Hajek <highegg@gmail.com>
parents: 42
diff changeset
22 2009-05-25 Jaroslav Hajek <highegg@gmail.com>
31df83060183 avoid duplicate conversions in python dict->octave map
Jaroslav Hajek <highegg@gmail.com>
parents: 42
diff changeset
23
31df83060183 avoid duplicate conversions in python dict->octave map
Jaroslav Hajek <highegg@gmail.com>
parents: 42
diff changeset
24 * python_to_octave.cc (pydict_to_octmap): Save key and val in an
31df83060183 avoid duplicate conversions in python dict->octave map
Jaroslav Hajek <highegg@gmail.com>
parents: 42
diff changeset
25 array, to avoid doing duplicate conversions.
31df83060183 avoid duplicate conversions in python dict->octave map
Jaroslav Hajek <highegg@gmail.com>
parents: 42
diff changeset
26
42
c0851ec35936 don't display Octave banner if not interactive run
Jaroslav Hajek <highegg@gmail.com>
parents: 41
diff changeset
27 2009-05-25 Jaroslav Hajek <highegg@gmail.com>
c0851ec35936 don't display Octave banner if not interactive run
Jaroslav Hajek <highegg@gmail.com>
parents: 41
diff changeset
28
c0851ec35936 don't display Octave banner if not interactive run
Jaroslav Hajek <highegg@gmail.com>
parents: 41
diff changeset
29 * pytave.cc (init): Add parameter; only display Octave banner if
c0851ec35936 don't display Octave banner if not interactive run
Jaroslav Hajek <highegg@gmail.com>
parents: 41
diff changeset
30 requested.
c0851ec35936 don't display Octave banner if not interactive run
Jaroslav Hajek <highegg@gmail.com>
parents: 41
diff changeset
31 * package/pytave.cc: Determine whether the interpreter is
c0851ec35936 don't display Octave banner if not interactive run
Jaroslav Hajek <highegg@gmail.com>
parents: 41
diff changeset
32 interactive.
c0851ec35936 don't display Octave banner if not interactive run
Jaroslav Hajek <highegg@gmail.com>
parents: 41
diff changeset
33
41
de24e11a4c35 widen some conversions and fix tests failing with octave 3.2
Jaroslav Hajek <highegg@gmail.com>
parents: 40
diff changeset
34 2009-05-25 Jaroslav Hajek <highegg@gmail.com>
de24e11a4c35 widen some conversions and fix tests failing with octave 3.2
Jaroslav Hajek <highegg@gmail.com>
parents: 40
diff changeset
35
de24e11a4c35 widen some conversions and fix tests failing with octave 3.2
Jaroslav Hajek <highegg@gmail.com>
parents: 40
diff changeset
36 * octave_to_python.cc (is_1xn_or_0x0): New inline func.
de24e11a4c35 widen some conversions and fix tests failing with octave 3.2
Jaroslav Hajek <highegg@gmail.com>
parents: 40
diff changeset
37 (octcell_to_pyobject): Use it.
de24e11a4c35 widen some conversions and fix tests failing with octave 3.2
Jaroslav Hajek <highegg@gmail.com>
parents: 40
diff changeset
38 (octvalue_to_pyobj): Use it.
de24e11a4c35 widen some conversions and fix tests failing with octave 3.2
Jaroslav Hajek <highegg@gmail.com>
parents: 40
diff changeset
39 * test/test.py: Update & fix tests.
de24e11a4c35 widen some conversions and fix tests failing with octave 3.2
Jaroslav Hajek <highegg@gmail.com>
parents: 40
diff changeset
40
40
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
41 2009-05-13 Jaroslav Hajek <highegg@gmail.com>
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
42
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
43 * exceptions.h (variable_name_exception): New exception class.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
44 * exceptions.cc: Initialize it.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
45 * octave_to_python.h (octvalue_to_pyobj): Declare prototype.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
46 * pytave.cc (init): Init variable_name_exception.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
47 (getvar): New function.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
48 (setvar): New function.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
49 (isvar): New function.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
50 (push_scope): New function.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
51 (pop_scope): New function.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
52 * package/pytave.py (__init__): Init VarNameError.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
53 (getvar): New function.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
54 (setvar): New function.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
55 (isvar): New function.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
56 (push_scope): New function.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
57 (pop_scope): New function.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
58 (_local_scope): New decorator helper class.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
59 (local_scope): New decorator.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
60 * test/test.py: Include new tests.
824354efaa1a implement direct variable manipulation and local scoping
Jaroslav Hajek <highegg@gmail.com>
parents: 37
diff changeset
61
37
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
62 2009-05-09 David Grundberg <individ@acc.umu.se>
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
63
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
64 * ax_octave_float.m4: New file.
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
65 * configure.ac: Added --enable-float-matrices configure option.
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
66
36
ae4554656fa1 Added an eval function.
David Grundberg <individ@acc.umu.se>
parents: 33
diff changeset
67 2009-05-07 Jaroslav Hajek <highegg@gmail.com>
ae4554656fa1 Added an eval function.
David Grundberg <individ@acc.umu.se>
parents: 33
diff changeset
68
37
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
69 * exceptions.h (octave_parse_exception): New class.
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
70 * package/pytave.py: Added ParseError exception.
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
71 (eval): New function.
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
72 * pytave.cc (func_eval, make_error_message): Extracted
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
73 make_error_message from func_eval.
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
74 (str_eval): New function.
36
ae4554656fa1 Added an eval function.
David Grundberg <individ@acc.umu.se>
parents: 33
diff changeset
75
33
1d7bab3bc745 Documentation
David Grundberg <individ@acc.umu.se>
parents: 24
diff changeset
76 2009-05-05 David Grundberg <individ@acc.umu.se>
1d7bab3bc745 Documentation
David Grundberg <individ@acc.umu.se>
parents: 24
diff changeset
77
37
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
78 * python_to_octave.cc (pydict_to_octmap): Improved semantics and
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
79 error control.
33
1d7bab3bc745 Documentation
David Grundberg <individ@acc.umu.se>
parents: 24
diff changeset
80 * m4/ax_octave.m4, m4/ax_python_devel.m4: New files.
1d7bab3bc745 Documentation
David Grundberg <individ@acc.umu.se>
parents: 24
diff changeset
81 * m4/ax_python.m4: Removed.
1d7bab3bc745 Documentation
David Grundberg <individ@acc.umu.se>
parents: 24
diff changeset
82 * m4/ax_boost_python.m4, README, INSTALL: Rewritten.
1d7bab3bc745 Documentation
David Grundberg <individ@acc.umu.se>
parents: 24
diff changeset
83 * configure.ac, setup.py.in, Jamfile.in, Makefile.am: Adjusted to
1d7bab3bc745 Documentation
David Grundberg <individ@acc.umu.se>
parents: 24
diff changeset
84 new Autoconf macros.
1d7bab3bc745 Documentation
David Grundberg <individ@acc.umu.se>
parents: 24
diff changeset
85
24
83dd1cc42f36 fixed the email adress
Håkan Fors nilsson <c04hfn@cs.umu.se>
parents: 23
diff changeset
86 2008-11-17 HÃ¥kan Fors Nilsson <c04hfn@cs.umu.se>
22
1a26d85a01be no news is good news
Håkan Fors nilsson <c04hfn@cs.umu.se>
parents: 16
diff changeset
87
37
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
88 * octave_to_python.cc (octcell_to_pyobject, octmap_to_pyobject):
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
89 New functions.
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
90 * python_to_octave.cc (pylist_to_cellarray, pydict_to_octmap):
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
91 New functions.
22
1a26d85a01be no news is good news
Håkan Fors nilsson <c04hfn@cs.umu.se>
parents: 16
diff changeset
92
19
583f325a520f Changelog
David Grundberg <c04dgg@cs.umu.se>
parents: 16
diff changeset
93 2008-11-17 David Grundberg <individ@acc.umu.se>
583f325a520f Changelog
David Grundberg <c04dgg@cs.umu.se>
parents: 16
diff changeset
94
37
798efee55cd0 Added --enable-float-matrices option. Some VPATH building issues fixed. Changelog now more standardized.
David Grundberg <individ@acc.umu.se>
parents: 36
diff changeset
95 * pytave.cc (func_eval): Improved pytave.OctaveError messages, now
19
583f325a520f Changelog
David Grundberg <c04dgg@cs.umu.se>
parents: 16
diff changeset
96 includes filename, function and line of offending m-file.
583f325a520f Changelog
David Grundberg <c04dgg@cs.umu.se>
parents: 16
diff changeset
97
16
ae09a25b1206 Fix g++ compile error on ubuntu 8.10
David Grundberg <individ@acc.umu.se>
parents: 14
diff changeset
98 2008-11-10 David Grundberg <individ@acc.umu.se>
ae09a25b1206 Fix g++ compile error on ubuntu 8.10
David Grundberg <individ@acc.umu.se>
parents: 14
diff changeset
99
ae09a25b1206 Fix g++ compile error on ubuntu 8.10
David Grundberg <individ@acc.umu.se>
parents: 14
diff changeset
100 * octave_to_python.cc: Remove static storage class on explicitely
ae09a25b1206 Fix g++ compile error on ubuntu 8.10
David Grundberg <individ@acc.umu.se>
parents: 14
diff changeset
101 specialized templates.
ae09a25b1206 Fix g++ compile error on ubuntu 8.10
David Grundberg <individ@acc.umu.se>
parents: 14
diff changeset
102
14
56254a2e18e3 Removed interactive check (did not work properly)
David Grundberg <individ@acc.umu.se>
parents: 13
diff changeset
103 2008-10-23 David Grundberg <individ@acc.umu.se>
12
a0c819a31e02 Better checking for Python dependencies.
David Grundberg <individ@acc.umu.se>
parents: 8
diff changeset
104
14
56254a2e18e3 Removed interactive check (did not work properly)
David Grundberg <individ@acc.umu.se>
parents: 13
diff changeset
105 * pytave.cc: Use octave_main() to initialize Octave. Introduces
56254a2e18e3 Removed interactive check (did not work properly)
David Grundberg <individ@acc.umu.se>
parents: 13
diff changeset
106 readline history clashes with interactive Python interpreter.
12
a0c819a31e02 Better checking for Python dependencies.
David Grundberg <individ@acc.umu.se>
parents: 8
diff changeset
107 * configure.ac: Better testing for Python dependencies.
a0c819a31e02 Better checking for Python dependencies.
David Grundberg <individ@acc.umu.se>
parents: 8
diff changeset
108 * configure.ac: Renamed my_ to pytave_
a0c819a31e02 Better checking for Python dependencies.
David Grundberg <individ@acc.umu.se>
parents: 8
diff changeset
109 * configure.ac: Fixed whitespace.
a0c819a31e02 Better checking for Python dependencies.
David Grundberg <individ@acc.umu.se>
parents: 8
diff changeset
110
8
1427e0870812 Makefile.am: added test/exceptions.py to extra dist.
David Grundberg <individ@acc.umu.se>
parents: 6
diff changeset
111 2008-10-20 David Grundberg <individ@acc.umu.se>
1427e0870812 Makefile.am: added test/exceptions.py to extra dist.
David Grundberg <individ@acc.umu.se>
parents: 6
diff changeset
112
1427e0870812 Makefile.am: added test/exceptions.py to extra dist.
David Grundberg <individ@acc.umu.se>
parents: 6
diff changeset
113 * Makefile.am: added test/exceptions.py to extra dist.
1427e0870812 Makefile.am: added test/exceptions.py to extra dist.
David Grundberg <individ@acc.umu.se>
parents: 6
diff changeset
114 * Jamfile.in: corrected dependencies
1427e0870812 Makefile.am: added test/exceptions.py to extra dist.
David Grundberg <individ@acc.umu.se>
parents: 6
diff changeset
115
1427e0870812 Makefile.am: added test/exceptions.py to extra dist.
David Grundberg <individ@acc.umu.se>
parents: 6
diff changeset
116
6
d95e9d46f538 License change to GPLv3
David Grundberg <individ@acc.umu.se>
parents: 1
diff changeset
117 2008-10-18 David Grundberg <individ@acc.umu.se>
d95e9d46f538 License change to GPLv3
David Grundberg <individ@acc.umu.se>
parents: 1
diff changeset
118
d95e9d46f538 License change to GPLv3
David Grundberg <individ@acc.umu.se>
parents: 1
diff changeset
119 Changed license to correct one (GPLv3).
d95e9d46f538 License change to GPLv3
David Grundberg <individ@acc.umu.se>
parents: 1
diff changeset
120
1
54d24156c23e Changelog
David Grundberg <c04dgg@cs.umu.se>
parents: 0
diff changeset
121 2008-10-17 David Grundberg <c04dgg@cs.umu.se>
54d24156c23e Changelog
David Grundberg <c04dgg@cs.umu.se>
parents: 0
diff changeset
122
54d24156c23e Changelog
David Grundberg <c04dgg@cs.umu.se>
parents: 0
diff changeset
123 First launchpad.net check in.
54d24156c23e Changelog
David Grundberg <c04dgg@cs.umu.se>
parents: 0
diff changeset
124
23
ad4ba83d0a43 Merge with launchpad trunk.
David Grundberg <individ@acc.umu.se>
parents: 22 19
diff changeset
125 Local Variables:
ad4ba83d0a43 Merge with launchpad trunk.
David Grundberg <individ@acc.umu.se>
parents: 22 19
diff changeset
126 coding: utf-8
33
1d7bab3bc745 Documentation
David Grundberg <individ@acc.umu.se>
parents: 24
diff changeset
127 fill-column: 74
23
ad4ba83d0a43 Merge with launchpad trunk.
David Grundberg <individ@acc.umu.se>
parents: 22 19
diff changeset
128 End:
33
1d7bab3bc745 Documentation
David Grundberg <individ@acc.umu.se>
parents: 24
diff changeset
129 vim: set textwidth=74 noexpandtab :