Parent Directory
|
Revision Log
Sticky Revision: |
Can now access python methods from ASCEND. Still can't access the 'SELF' instance: that's the next thing to do.
Added 'user_data' to the external method structure, changed some corresponding functions. Tried adding to C++ API the means to declare a Python method, still ongoing.
Fixed bug with instantiation of 'outvars'.
DSG model converges, using 3 external functions :-) Added more info in 'diagnose' varinfo and relinfo popups, plus tabstops in display. Allowed parameters to be used with instantiation_error in instantiate.c. Fixed up some error messages in bintoken.c. Renamed 'newcalc_done' to 'evaluation_required' in rel.c. Other minor changes to error messages and commenting.
Removed some debug messages from external libraries stuff. Fixed auto-sim stuff for files given with relative path on the commandline.
Added 'invars' and 'outvars' pointers (to var_variable pointer arrays) in ExtRelCache. This will allow the ExtRel_MapDataToMtx function to be reimplemented using solver-side pointers instead of going back to the arglist stuff in ExtCallNode.
ExtRel_Evaluate_RHS is working now! (At least for my 1+1=2 example). Working now on fixing ExtRel_Evaluate_LHS.
Added my so-called 'quick fix' to external relation processing. Still need to pursue corruption of efunc->etype pointer, for some reason.
Monster commit! Lots of recommenting and reorganising of external relations-related stuff. Replaced a lot of ascmalloc and asccalloc calls with the new ASC_NEW* macros. Fixed (?) the problem Art is having with icons in PyGTK. Turned on -Wall in SConstruct and fixed up a stack of warnings. Removed the redundant exit(2) from after Asc_Panic calls and added __attribute__((noreturn)). Set doxygen to create callgraphs to level 2, updated doxyfile to version 1.4.7. Fixed up building of extfntest.c.
Replaced some references to ascmalloc with ASC_NEW_ARRAY
Lots of tidying up in instantiate.c. Fixed up some GPL headers. Changed from 'solver_var' to 'factor' in extfntest.a4c. Added test for AtomAssigned in extfunc.c.
Removed 'instance.c' (it said we should). A little bit more work on blackbox_evaluate_residual.
Added skeleton 'blackbox_evaluate_residual'...
Temporarily removed extrel.* from disused dir (to avoid spurious grep) Commenting and tidying up of some other files related to extrels.
Summary: most of the recent complaints about autotools build fixed, but the buildbot might find a problem with the scons build/install/rpmbuild. Details: configure,Driver.c,utilities/config.h.in: The choice of INSTALL_DATA as a configure variable name has been repaired (renamed INSTALL_SHARE); INSTALL_DATA is the unix canonical name for the program 'install' handling a data file. Both autotools and scons builds have been updated to reflect this, in the process correcting the definition from prefix/share to prefix/share/ascend. autotools build: Added --with-quiet option to make the install of already installed and unchanged files less verbose. Put in a workaround for the '' problem in tkConfig.sh seen by KC/JP. Added --datadir support to autotools configure. If you configure the autotools --datadir=PREFIX/share/ascend you get the same behavior as the Pye packaging; by default you get the CMU packaging convention instead. Added utilities/env.c to build. compiler: Turned off AWAL in anontype.c. Noodling away at blackboxes continues...
Huge cleanup of file header comments (GPL notice etc). Changed from ASC_DLLSPEC to ASC_DLLSPEC(TYPE) -- like python Fixed up some badly export symbols (missing 'extern') Fixed exporting of symbols from error.h Removed ASC_DLLSPEC from .c files-- only in .h files now (hope that's right...) Changed the way bintoken does its exporting, to take advantage of ASC_BUILDING_LIBASCEND (needs testing) I wonder if the 'extern' keywork should be a part of the ASC_DLLSPEC macro?
Adding ASC_DLLSPEC to all functions that are being used by Python interface. Also cleaned up some #ifdef header brackets and html-style comments inside doxygen comments. Renamed pygtk/interface/config.in to pygtk/interface/config.h.in and made this active again (for ASC_BUILDING_INTERFACE) use. Trying to catch error in ascpy.Library call with try/except, doesn't work though.
Changed the syntax of import from IMPORT id FROM id; to IMPORT id FROM "quoted/text/lib"; Writing external METHOD calls via the EXTERNAL methname(arglist); now works. Against my better judgement in a few cases, cleaned up the old EXT statement code from Abbott to work in a typesafe manner. A better solution is to get the CALL syntax working as defined in the grammar, but this takes a good deal more work and meanwhile people want to get their phds... Still some known bugs in relation_util. I need to commit the test models that go with the EXT statements. Fixed a bunch of lintish compiler complaints. Don't try to solve external models yet.
- Fixed missing header and casting problems in initialize.c around JP FIX implementation. - Repaired extfunc header declaration-- someone deleted array pointers without asking. - Repaired casting errors in extfunc.c, probably ala kirk. - Put in a #define for zz_lval in scanner.h to work around brokenness in flex 2.5.4; if this breaks something for others, we need a better solution.
Normalised all #include statements so that files in the current directory are included as "localfile.h" and files in other directories are included as <directory/file.h> This is in accordance with the spec at http://gcc.gnu.org/onlinedocs/gcc-4.1.0/cpp/Include-Syntax.html#Include-Syntax
Minor rework of jam system to stop relinking of libraries when sources not modified. Minor tweaks to stem the tide of compiler warnings.
Documentation changes; making 'FIX' statement less verbose; Commenting out ununsed 'CreateExternalFunction' function
A little more progress killing compiler warnings.
My first commit: Added 'error_reporter' for standardised error reporting Working on getting external functions running again Also: issue 130, issue 68, issue 131, issue 89, issue 127, issue 138, issue 94.
moving things to base/generic
Setting up web subdirectory in repository
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 |