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

Log of /trunk/models/johnpye/extpy/extpy.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 930 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 22 13:09:09 2006 UTC (17 years, 9 months ago) by johnpye
File length: 9204 byte(s)
Diff to previous 914
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 28 05:27:58 2006 UTC (17 years, 10 months ago) by johnpye
File length: 9125 byte(s)
Diff to previous 912
Fixed prototype for extpy_destroy
Dubious fix for the message about directory node in doc/SConscript (is $ expansion happening?)


Revision 912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 07:18:21 2006 UTC (17 years, 10 months ago) by johnpye
File length: 9057 byte(s)
Diff to previous 911
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 13:44:58 2006 UTC (17 years, 10 months ago) by johnpye
File length: 8392 byte(s)
Diff to previous 880
Removed a few more redundant debug msgs

Revision 880 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 8 23:38:31 2006 UTC (17 years, 11 months ago) by johnpye
File length: 8374 byte(s)
Diff to previous 877
bumping versions to 0.9.5.101

Revision 877 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 7 09:31:51 2006 UTC (17 years, 11 months ago) by johnpye
File length: 8350 byte(s)
Diff to previous 875
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 875 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 7 06:26:34 2006 UTC (17 years, 11 months ago) by johnpye
File length: 8108 byte(s)
Diff to previous 874
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 15:13:22 2006 UTC (17 years, 11 months ago) by johnpye
File length: 7433 byte(s)
Diff to previous 873
Can now access python methods from ASCEND. Still can't access the 'SELF' instance: that's the next thing to do.

Revision 873 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 14:51:49 2006 UTC (17 years, 11 months ago) by johnpye
File length: 6923 byte(s)
Diff to previous 872
Can now register python methods with ASCEND. Still can't execute the python code, but getting close.

Revision 872 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 12:52:43 2006 UTC (17 years, 11 months ago) by johnpye
File length: 4875 byte(s)
Diff to previous 871
Converted to Python fopen routine (on suggestion of Fredrik Lundh from comp.lang.python)

Revision 871 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 09:30:08 2006 UTC (17 years, 11 months ago) by johnpye
File length: 4719 byte(s)
Diff to previous 869
Changed the way that SWIG accesses the C++ 'Registry' class in the case of Python (trying to make it language neutral)

Revision 869 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 4 14:03:46 2006 UTC (17 years, 11 months ago) by johnpye
File length: 4328 byte(s)
Diff to previous 867
'hello world' works from external python module, correctly hooks into 'browser' object.

Revision 867 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 29 11:25:47 2006 UTC (17 years, 11 months ago) by johnpye
File length: 3079 byte(s)
Diff to previous 865
more diagnostic output, trying to find reason for crash on Windows

Revision 865 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 28 14:19:17 2006 UTC (17 years, 11 months ago) by johnpye
File length: 2877 byte(s)
Diff to previous 864
First success at executing python code from inside ASCEND "IMPORT" statement :-)

Revision 864 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 28 13:39:16 2006 UTC (17 years, 11 months ago) by johnpye
File length: 2601 byte(s)
Diff to previous 862
ImportHandler seems to be working, tested with datareader/testtmy.a4c and extfn/testextfn.a4c.

Revision 862 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Sep 26 13:47:27 2006 UTC (17 years, 11 months ago) by johnpye
File length: 2565 byte(s)
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.

  Diffs between and
  Type of Diff should be a

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