Parent Directory
|
Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
Some attempts to get Bintoken functionality running again.
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.
Moving libascend components from #/base/generic into #/ascend
Added test cases to instantiate models using the compiler, and test for resulting child instances etc. Changed most 'AddSymbolL' to 'AddSymbol' (to reduce use of magic #s). Cleaned up a few #include lists. Renamed 'Asc_DeAllocSim' to 'sim_destroy'. Removed some CVS 'lint'. Removed 'SimsProc' commenting from 'simlist.c'. Added some missing #includes in .h files (FWIW). Removed the 'STATIC_xxx' headers from base/generic/solver/SConscript.
Removed some redundant #include statments. Added some explanation of testtmy.a4c (although currently broken with IDA).
Added new 'system_jacobian' function for use by IDA (maybe elsewhere?) Refactored the matrix output stuff in IDA. Fixed the index checking in idaanalyse Still a problem with checking rank of small matrices.
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.
Header rearrangement for relation_type.h
Changed to ASC_STRDUP
Fixed dependencies on dimen.h and fractions.h.
Removed unnecessary #include <compiler.h>
Got paranoid about turning off signal handling... added '#ifdef ASC_SIGNAL_TRAPS' anywhere that signal handling referenced. Signal handling is OFF by default now.
Removed some outstanding references to g_ascend_errors (see #ifdef REIMPLEMENT_STREAMS) Added a check in integrator.cpp for badly formed integrator_get_engines() return.
Replaced all Asc_Panic calls with ASC_PANIC, which includes __FUNCTION__, __FILE__, __LINE__ reporting.
Several changes to get BinToken compilation active again from PyGTK interface. Still not working but the problems now are in the C layer. Tidied doc for slvDOF.h Changed BinTokenSetOptions to saner use of strings -- no more 'taking ownership' of char arrays passed. Added Compiler.use_binary_compilation option in PyGTK GUI. Moved all the bintoken stuff out of class Type and into Compiler, where it should be (C++).
Softened error from bintoken.c Improved error reporting in instantiate.c Rearranged #includes in relation_util.[ch] Changed to asc_assert in relman.c Lots of fixed in slv3.c to get reporting of 'calc_ok' right. Also some better error reporting from slv3.c. Fixed usage info for error_reporter_tree_start(). Improved error/status reporting from bboxtest.c. Set PyGTK GUI to correctly catch ::solve errors. Improved reporting about when solver fails (diverged, inconsistent, exceeded time/iters) Fixed TestBlackBox.testfail1 and TestBlackBox.testfail2. Fixed type.cpp to throw errors when instantiation fails.
Refactored tests into a shared library of tests and a executable of just the CUnit driver. This will allow the CUnit test suite to be executed via python unittest as part of the growing Python-based test suite. Renamed setjmp and longjmp to SETJMP and LONGJMP throughout ASCEND, to allow some debugging output to be added at each call.
first attempt at merging with Ben's changes on the trunk
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.
Fixed up ExtRel_Evaluate_LHS (was not accessing the arglist correctly), it seems pretty inefficient at the moment, but we'll persist.
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
Merged changes from DAE branch (revisions 702 to 819) back into trunk. This adds the Integration API to the ASCEND solver (in base/generic). Also provides pre-alpha support for 'IDA' from the SUNDIALS suite, a DAE solver. Many other minor code clean-ups, including adoption of new 'ASC_NEW' and friends (to replace 'ascmalloc') Added some very sketchy stuff providing 'DIFF(...)' syntax, although it is anticipated that this will be removed.
The Visual C++ 2005 version now builds without linker errors. But I ran the installer and it crashed during the first C++ call, so still problems.
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.
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.
- Simplifying many 'error_reporter' calls with new macros: ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE - Adding some cygwin cases in the PyGTK build.
Fixed bug #198
Changing FPRINTF to error_reporter
Removed support for Ultrix, OSF, which seem to be dead. This makes the ascDynaload.c file much smaller. Also removed unused DynamicLoad function (use Asc_DynamicLoad instead). Please let me know if these changes break anything for you.
Removing debug output, adding self_test to iapws95.
Refactoring all MAX, MIN, ABS calls to general/mathmacros. Adding a GCC optimisation for these macros.
A little more progress killing compiler warnings.
Fixing bug #162
Small changes to eliminate GCC warnings
More error_reporter calls. Removed some C++-unfriendly var names. Removed some debug messages. Turned off compiler timing and relation debugging.
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.
Split the tcl-io redirects out of the ascend core and moved it to the tcltk98 interface directory. In the core is now an expanded facility. by default Driver.c inits this facility to redirect stderr/out to tcl io channels. It is also possible to add additional stderr/out output clients for example to extra log files. This has not been tested on windows. in theory, we now have a tcl free core for ascend.
replaced nonportable strdup with ascend equivalent.
Lots of patches to enable debugging with valgrind and gdb (conditional use of signal.h and friends, pool and friends). Bug fix for compiler anontype.c that was breaking arts model under relation sharing.
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 |