Parent Directory | Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
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.
Fixed prototype for extpy_destroy Dubious fix for the message about directory node in doc/SConscript (is $ expansion happening?)
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'.
Removed a few more redundant debug msgs
bumping versions to 0.9.5.101
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
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.
Can now access python methods from ASCEND. Still can't access the 'SELF' instance: that's the next thing to do.
Can now register python methods with ASCEND. Still can't execute the python code, but getting close.
Converted to Python fopen routine (on suggestion of Fredrik Lundh from comp.lang.python)
Changed the way that SWIG accesses the C++ 'Registry' class in the case of Python (trying to make it language neutral)
'hello world' works from external python module, correctly hooks into 'browser' object.
more diagnostic output, trying to find reason for crash on Windows
First success at executing python code from inside ASCEND "IMPORT" statement :-)
ImportHandler seems to be working, tested with datareader/testtmy.a4c and extfn/testextfn.a4c.
Some work on the IMPORT handler functionality. Mostly just placeholders at this stage.
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |