/[ascend]/trunk/models/johnpye/extpy
ViewVC logotype

Log of /trunk/models/johnpye/extpy

View Directory Listing Directory Listing


Sticky Revision:

Revision 937 - Directory Listing
Modified Fri Nov 24 03:58:49 2006 UTC (18 years, 1 month ago) by johnpye
Fixed ability to run 'solve' from an external script method, without the present of the PyGTY GUI.

Revision 935 - Directory Listing
Modified Fri Nov 24 00:37:11 2006 UTC (18 years, 1 month ago) by johnpye
Adopted suggestions wrt Py_None on Windows platform (extpy)
Fixed up default values of CUNIT_PREFIX (needs testing for case where missing)

Revision 932 - Directory Listing
Modified Thu Nov 23 13:23:33 2006 UTC (18 years, 1 month ago) by johnpye
Working on bugs in the 'error_reporter_tree' stuff.
Removed binary files from base/generic/utilities/test (these are built as needed by SCons now)

Revision 930 - Directory Listing
Modified Wed Nov 22 13:09:09 2006 UTC (18 years, 1 month ago) by johnpye
solve.py raises ImportError if 'browser' object is not available (right approach?)
Freeing some variables in dsgsat2.a4c.
Returing Py_None from extpy routine in 'browser' object not defined (eg during non-GUI unit testing)
Error reporting from extpy import handler (ongoing)
Timeout in versioncheck (when server unavailable)
A little more tinkering with IDA.

Revision 914 - Directory Listing
Modified Sat Oct 28 05:27:58 2006 UTC (18 years, 2 months ago) by johnpye
Fixed prototype for extpy_destroy
Dubious fix for the message about directory node in doc/SConscript (is $ expansion happening?)


Revision 912 - Directory Listing
Modified Fri Oct 27 07:18:21 2006 UTC (18 years, 2 months ago) by johnpye
Removed BBOXWHINE (replaced with some one-time-only warnings for the moment)
Added ExtMethodDestroyFn to allow 'user_data' associated with external methods to be destroyed.
Implemented the destroy fn through to 'extpy' module.
Added 'name' as an extra parameter in the user_data for extpy, to help with debug msgs.
Moved 'solvernotes' to a file of its own (was part of listnotes.py)
Added 'repaint' to GTK 'tools' menu (for debugging)
Added 'python.h' to top of library, type files (pygtk) to stop silly warnings.
Working on some diagnosing of problems as noted in Simulation::checkInstance.
Removed some old comments from namio.h and others.
Renamed 'blsys' to 'sys' in integrator.c.
Some work on fixing up the J*v function for IDA (not yet complete).
Added new 'destroyfn' parameter (as NULL) to all calls to 'CreateUserFunctionMethod'.

Revision 911 - Directory Listing
Modified Thu Oct 26 13:44:58 2006 UTC (18 years, 2 months ago) by johnpye
Removed a few more redundant debug msgs

Revision 880 - Directory Listing
Modified Sun Oct 8 23:38:31 2006 UTC (18 years, 3 months ago) by johnpye
bumping versions to 0.9.5.101

Revision 877 - Directory Listing
Modified Sat Oct 7 09:31:51 2006 UTC (18 years, 3 months ago) by johnpye
Added example of external scripting to the model 'fourbarplot.py'.
Allows plotting of the status of the four bar linkage.
TODO: test in the Tcl/Tk environment

Revision 876 - Directory Listing
Modified Sat Oct 7 06:55:11 2006 UTC (18 years, 3 months ago) by johnpye
Slightly simplified access to child instances from python

Revision 875 - Directory Listing
Modified Sat Oct 7 06:26:34 2006 UTC (18 years, 3 months ago) by johnpye
Can now access the ASCEND model from an external python script method. The API is not at all nice, but it's basically working now.

Revision 874 - Directory Listing
Modified Thu Oct 5 15:13:22 2006 UTC (18 years, 3 months ago) by johnpye
Can now access python methods from ASCEND. Still can't access the 'SELF' instance: that's the next thing to do.

Revision 873 - Directory Listing
Modified Thu Oct 5 14:51:49 2006 UTC (18 years, 3 months ago) by johnpye
Can now register python methods with ASCEND. Still can't execute the python code, but getting close.

Revision 872 - Directory Listing
Modified Thu Oct 5 12:52:43 2006 UTC (18 years, 3 months ago) by johnpye
Converted to Python fopen routine (on suggestion of Fredrik Lundh from comp.lang.python)

Revision 871 - Directory Listing
Modified Thu Oct 5 09:30:08 2006 UTC (18 years, 3 months ago) by johnpye
Changed the way that SWIG accesses the C++ 'Registry' class in the case of Python (trying to make it language neutral)

Revision 869 - Directory Listing
Modified Wed Oct 4 14:03:46 2006 UTC (18 years, 3 months ago) by johnpye
'hello world' works from external python module, correctly hooks into 'browser' object.

Revision 867 - Directory Listing
Modified Fri Sep 29 11:25:47 2006 UTC (18 years, 3 months ago) by johnpye
more diagnostic output, trying to find reason for crash on Windows

Revision 865 - Directory Listing
Modified Thu Sep 28 14:19:17 2006 UTC (18 years, 3 months ago) by johnpye
First success at executing python code from inside ASCEND "IMPORT" statement :-)

Revision 864 - Directory Listing
Modified Thu Sep 28 13:39:16 2006 UTC (18 years, 3 months ago) by johnpye
ImportHandler seems to be working, tested with datareader/testtmy.a4c and extfn/testextfn.a4c.

Revision 862 - Directory Listing
Added Tue Sep 26 13:47:27 2006 UTC (18 years, 3 months ago) by johnpye
Some work on the IMPORT handler functionality. Mostly just placeholders at this stage.

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22