compiling with -Wall
(configure): use python-config --includes rather than --cflags, since
the later also provides all the compilation flags used to build
python itself, and which might not be compatible with the gcc version
we use for gnatcoll. For instance, on linux python is now built with
-fstack-protected, which apparently requires special linker switches
as well.
(configure): export the include and lib flags needed to build python
C files, in case the user needs to build some. L217-023
(configure): detect whether readline is supported on the system. This
is currently unused by GNATCOLL, but is cheap to test and might be
useful to users (for this, its result is exported in gnatcoll.gpr
too). Also L217-023
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@185922 936e1b1b-40f2-da11-902a-00137254ae57
In particular, this function did not exist in python 2.5, installed on
kani where the CRM runs
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@175303 936e1b1b-40f2-da11-902a-00137254ae57
The previous hack was that PyString_Check also returns True for unicode
objects, but then the functions PyString_AsString always returned NULL
for a unicode object. So now PyString_Check only returns true for strings,
and a new function PyUnicode_Check was added.
(PyBaseString_Check): new function, with the old behavior of PyString_Check
(PyUnicode_*): new functions
For K616-011
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@175218 936e1b1b-40f2-da11-902a-00137254ae57
Those properties basically provide a simpler syntax around two
setter() and getter() functions (or possibly just one to make the
property read-only or write-only).
JB17-022
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@167236 936e1b1b-40f2-da11-902a-00137254ae57
Python now provides a better function, which preserves the usual python
semantic. This is more portable than our previous approach.
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@167112 936e1b1b-40f2-da11-902a-00137254ae57
(Nth_Arg): can now accept lists as parameters to script functions,
in addition to the usual simple types
JB15-028
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@167055 936e1b1b-40f2-da11-902a-00137254ae57
needed to better handle calling python functions from Ada when they
return a "bool"
git-svn-id: svn+ssh://svn.eu.adacore.com/Dev/trunk/gps@152423 936e1b1b-40f2-da11-902a-00137254ae57
Add support for PyFloat
Add Py_Main function to start the python interpreter
git-svn-id: svn+ssh://svn.eu/Dev/trunk/gps@132647 936e1b1b-40f2-da11-902a-00137254ae57
python it doesn't seem to be included by default, which prevents
compilation of this file (fails with Python 2.3.4)
git-svn-id: svn+ssh://svn.eu/Dev/trunk/gps@126467 936e1b1b-40f2-da11-902a-00137254ae57
No source file has changed, but they were moved so that they are all under src/
now (and possibly subdirectories for those sources that depend on optional
external libraries).
We now support building both static and relocatable libraries at the same time,
using separate lib and obj directories to avoid conflicts. Also both can be
installed in the same prefix, the choice between the two can be done by the
user application
git-svn-id: svn+ssh://svn.eu/Dev/trunk/gps@113225 936e1b1b-40f2-da11-902a-00137254ae57