/[ascend]/trunk/base/generic/compiler/importhandler.c
ViewVC logotype

Log of /trunk/base/generic/compiler/importhandler.c

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 2010)

Revision 1512 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 27 13:45:17 2007 UTC (15 years, 5 months ago) by jpye
File length: 15429 byte(s)
Diff to previous 1509
Fixed handling of IDA not present. Commented out some debug stuff.

Revision 1509 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 27 13:08:47 2007 UTC (15 years, 5 months ago) by jpye
File length: 15424 byte(s)
Diff to previous 1332
Fixed external loading of integrators, at least on my system. Needs testing
with/without fortran, sundials, etc.
Changed little thing kn d1mach.c to make default behaviour correct on Linux.

Revision 1332 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 8 06:39:30 2007 UTC (15 years, 9 months ago) by jpye
File length: 15430 byte(s)
Diff to previous 1281
Removed some debug output

Revision 1281 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 13 04:45:22 2007 UTC (15 years, 9 months ago) by johnpye
File length: 15368 byte(s)
Diff to previous 1228
Fixed importhandler to work with files outside the path as well (ie absolute or relative to cwd)

Revision 1228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 06:57:40 2007 UTC (15 years, 10 months ago) by johnpye
File length: 13977 byte(s)
Diff to previous 1063
Added getParameter by name in SolverParameters.
Fixed up refences to signal-related header files.
Fixed up various warnings from -pedantic compilation.
Identified an apparent bug with RelationCalcGradient (unsafe version).
Added support for compilation of a standalone C++ program (idatest) in SCons build.

Revision 1063 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 7 07:54:06 2007 UTC (15 years, 11 months ago) by johnpye
File length: 13883 byte(s)
Diff to previous 1027
Changed ASC_DLLSPEC(TYPE) to ASC_DLLSPEC TYPE, because it was causing havoc with doxygen and ctags.

Revision 1027 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 12:46:37 2007 UTC (15 years, 11 months ago) by johnpye
File length: 13884 byte(s)
Diff to previous 1026
Fixing bug with importhandler_setsharedpointer (you need to RemoveTableData if you want to overwrite a value)
Minor correction to (not fully implemented) importhandler_destroylibrary for case where library is NULL.

Revision 1026 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 3 12:03:08 2007 UTC (15 years, 11 months ago) by johnpye
File length: 13655 byte(s)
Diff to previous 968
Working on tracking down a segfault occuring when TestIDADENSE and TestExtFn test suites are run together.
Added comments about new solverparameter macros.

Revision 968 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 18 05:49:00 2006 UTC (15 years, 11 months ago) by johnpye
File length: 12910 byte(s)
Diff to previous 931
Added SCons tests to check SIGINT and to replace ascresetneeded (need replacement for this in Autoconf as well).
Removed debugging from createinst.c
Typo (text) in evaluate.c
Commented out redundant code in importhandler.c
Added signal handling in ExecuteCASGN.
Added missing ospath_free in ModuleSearchPath.
Exported InitSymbolTable, DestroySymbolTable in symtab (dubious)
Moved FPRESET macro out of ascConfig.h and into ascSignal.h
Added Asc_SignalHandler{Push,Pop}Default.
Added ASC_RESETNEEDED and HAVE_C99FPE macros in config.h.in.
Found the bug causing the SIGFPE in idakryx.a4c (raises a question about int/float division in modelling, I think)
Added system_destroy call in Simulation::~Simulation (dubious).

Revision 931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 04:31:19 2006 UTC (16 years ago) by johnpye
File length: 12918 byte(s)
Diff to previous 930
Added 'error_reporter_tree' that can organise error messages/output into a structured hierarchy.

Revision 930 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 22 13:09:09 2006 UTC (16 years ago) by johnpye
File length: 12920 byte(s)
Diff to previous 912
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 912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 07:18:21 2006 UTC (16 years, 1 month ago) by johnpye
File length: 12918 byte(s)
Diff to previous 900
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 900 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 25 06:03:04 2006 UTC (16 years, 1 month ago) by johnpye
File length: 12845 byte(s)
Diff to previous 897
The 'sim' object is correctly accessible from script methods now, even if run during on_load.
Added 'getSimulation' to registry.cpp, added 'runDefaultMethod' to Simulation, added 'getMethod' to Type.
Running of 'on_load' is instigated at the Python level now, so that relevent python variables are set at simulations are built, etc. This appears to have cause some changes to the way the solver behaves, possibly.
Added SearchProcList to exports in libascend.


Revision 897 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 11:05:18 2006 UTC (16 years, 1 month ago) by johnpye
File length: 12787 byte(s)
Diff to previous 895
Adding 'NOTES' support to C++ interface. 'johnpye/thermalequilibrium2.a4c' is the example case.
listnotes.py performs listing via a python external script method.
annotation.h and annotation.cpp implement the C++ wrapper referenced by SWIG.
library.{h,cpp} modified to provide access to the AnnotationDatabase.
Typemapping modified in ascpy.i in attempt to get a more maintainable wrapping.
Added annotation.cpp to build.
Updated copyright header and formatting of notate.{c,h}.
Improved ErrMsg_BracesEOF error message fn.
Updated copyright header and formatting of braced.{c,h}
Some misc debug output removed esp in simulation.cpp, conopt.c, importhandler.c.


Revision 895 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 00:12:34 2006 UTC (16 years, 1 month ago) by johnpye
File length: 12775 byte(s)
Diff to previous 888
Removed debug output (modelview.py)
Fixed bug in diagnose.py with large blocks
Removed debug output and improved error message in conopt.c
Removed debug output in lsode.c
Removed debup output in ascDynaload.c

Revision 888 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 11 14:53:27 2006 UTC (16 years, 2 months ago) by johnpye
File length: 12760 byte(s)
Diff to previous 881
Added 'energy_per_volume' and 'power_per_volume' to atoms.a4l.
Converting dsg.a4c into a dynamic (IVP) model.
Removed some debug output from various places.
Renamed some functions in lsode.c (removed references to 'blsode' name)
Added comments in LSODE about what method is being used.
Improved LSODE error output a little bit (why bother tho eh)
Improved coupla error msgs in slv_stdcalls.c.

Revision 881 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 9 10:51:06 2006 UTC (16 years, 2 months ago) by johnpye
File length: 12754 byte(s)
Diff to previous 873
Removed some debug output in importhandler.
Fixed aspect ratio on four bar linkage plot.
Fixed up dsg.a4c for consistency with dsg-transient library.

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

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

Revision 866 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 29 06:22:21 2006 UTC (16 years, 2 months ago) by johnpye
File length: 11767 byte(s)
Diff to previous 865
Adding polar moment of inertia to atoms.a4l.
Fixing two small windows-related bugs in new importhandler stuff.

Revision 865 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 28 14:19:17 2006 UTC (16 years, 2 months ago) by johnpye
File length: 11775 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 (16 years, 2 months ago) by johnpye
File length: 11589 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 (16 years, 2 months ago) by johnpye
File length: 5550 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