Parent Directory | Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
Moving libascend components from #/base/generic into #/ascend
Added missing signal pop
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.
Got paranoid about turning off signal handling... added '#ifdef ASC_SIGNAL_TRAPS' anywhere that signal handling referenced. Signal handling is OFF by default now.
Fixed bug with memory deallocation for partitioner in ida.c Silenced some debug output in ascSignal.c Fixed execution of Python test suite (CUnit tests will need more work before running via this approach)
Still haven't worked out what's wrong with test_ascSignal.c. (line 605 just won't raise the signal!)
Some progress on fixing test_ascSignal.c
Some work on fixing error with test_ascSignal. Breaking down into smaller test cases. Removed some debug output from detection of ASC_RESETNEEDED. Changed all calls 'signal' to 'SIGNAL' macro that includes optional debug output. Removed 'libasctest.so' (made part of libasctestsuite.so FWIW) Fixed big in test.c wrt CUEA_ABORT. Added 'print_stack' and 'Asc_SignalPrintStack' and 'Asc_SignalStackLength'.
Fixed test_ascDynaLoad so that assumed cwd for running tests is the ASCEND source root (eg ~/src/ascend). Fixed missing ASC_FREE in ascSignal.c.
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.
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).
Fixed a silly bug with Integrator::setEngine. Added test case for lotka.a4c to test.py
Removed references to 'ASC_BIG_BUGMAIL' and 'ASC_MILD_BUGMAIL' Disabled stream redirection functions (they were making testing difficult) Re-wrote the main test-runner to permit specific tests to be run from the commandline (ongoing) Disabled readln tests that required stream redirection.
Added test for C99 FPE handling Fixing mess-up of ChildByChar in arrayinst.h header. Added 'safeeval' config option to IDA. Changed 'SigHandler' to 'SigHandlerFn *' in line with other function pointer datatypes being used in ASCEND. Moved processVarStatus *after* 'Failed integrator' exception (ongoing issue).
In slv9, made changes to keep CONOPT from complaining. CMSlv still not working as expected though. Decreased required version of Bison to 2.0. Switched search path for CONOPT on Linux to the CONOPT_PATH env var (LD_LIBRARY_PATH was being interfered with when ASC_DEV=1). Some other debug message changes.
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.
Fixed up a problem with ordering of headers with Python.h. Removed psyco initialisation, pending evidence that it actually does something :-) Disabled python 'director' error message callbacks, trying to debug a segfault. Added ability to disable GCC Visibility, scons WITH_GCCVISIBILITY=0. Turned off runtime signal tests for SIG_INT and SIG_FPE (makes using GDB a pain), see base/generic/utilities/ascSignal.[ch].
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
- Simplifying many 'error_reporter' calls with new macros: ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE - Adding some cygwin cases in the PyGTK build.
Reworked internal ascSignal handler storage. Was using gl_lists, which ought not be used for function pointers. Changed to local array implementation. Eliminated compiler warnings related to object pointer - function pointer mismatch. Passed regression test on Win32.
Small changes to eliminate GCC warnings
Fixing bug #152 (jerry's solution) Also some minor fixes to error reporting calls Changed default values of IAPWS95 to some that converge.
A working (very slow) version of IAPWS95 which works around bug #154. Added some debugging messages to solver (temporary). Removed SIGINT trap.
More error_reporter calls. Removed some C++-unfriendly var names. Removed some debug messages. Turned off compiler timing and relation debugging.
Minor bug fixes, extend unit tests to solver: minor doc changes - compiler/func.h, general/list.h, solver/mtx.h, utilities/mem.h solver/example - upgraded examples so they run under current system solver/slv_common.[ch] - added unit tests, minor bug fixes, extended vector_data functions utilities/ascDynaLoad.c - bug fix on *nix so dlopen, dlsym not called with NULL arguments
- prototype unit test suite based on CUnit added. - unit tests for base/generic/general and base/generic/utilites added. - 2nd manual rework of doxygen documentation in general and utilities. - bug fixes (mostly general & utilities) found during test development. - added asc_assert prototype to redirect failures to Asc_Panic() and enable decoupling assertions from NDEBUG. - some modifications of interface & implementation to facilitate testing. - utilities/ascPrint & utilities/ascMalloc functions now always included in base libs to minimize recompilation when an interface chooses different options.
Manual rework of doxygen comments in all headers. - Added @file comment to all headers. - Added parameter names to all function declarations in headers. - Corrected comment referencing where necessary. - Split some comments which documented blocks of declarations. - Converted notes about required work into @todo comments so doxygen can generate a todo list. Minor bug fixes.
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 |