/[ascend]/branches/relerrorlist/ascend/utilities/ascSignal.c
ViewVC logotype

Log of /branches/relerrorlist/ascend/utilities/ascSignal.c

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 3217 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 28 07:01:00 2017 UTC (12 months, 3 weeks ago) by jpye
File length: 18756 byte(s)
Diff to previous 3186
fixing va_copy errors and snprintf warnings from gcc 7.2.0


Revision 3186 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 2 13:37:54 2017 UTC (19 months, 2 weeks ago) by jpye
File length: 19198 byte(s)
Diff to previous 3182
creating branch for improving compiler errors


Revision 3182 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Feb 10 06:23:17 2017 UTC (21 months, 1 week ago) by jpye
Original Path: trunk/ascend/utilities/ascSignal.c
File length: 19198 byte(s)
Diff to previous 2649
suppressing some console output, adding notes about the tests that pass with CUnit.


Revision 2649 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 12 12:39:25 2012 UTC (5 years, 11 months ago) by jpye
Original Path: trunk/ascend/utilities/ascSignal.c
File length: 19169 byte(s)
Diff to previous 2541
Fixing GPL header, removing postal address (rpmlint incorrect-fsf-address)

Revision 2541 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 30 18:38:14 2012 UTC (6 years, 9 months ago) by jpye
Original Path: trunk/ascend/utilities/ascSignal.c
File length: 19244 byte(s)
Diff to previous 2535
Disabling failing signal tests, suppressing some output.
Added some rough code that possibly solves the failing signal tests on Linux, but prefer to leave it commented out at this stage (see bug 526).

Revision 2535 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 26 00:19:50 2012 UTC (6 years, 9 months ago) by jpye
Original Path: trunk/ascend/utilities/ascSignal.c
File length: 17689 byte(s)
Diff to previous 2508
New implementation of signal handler stacks, less code.
Fixed one issue with utilities_ascSignal test cases, but can't work out reason for the other.

Revision 2508 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 9 03:49:49 2011 UTC (7 years, 1 month ago) by jpye
Original Path: trunk/ascend/utilities/ascSignal.c
File length: 16232 byte(s)
Diff to previous 2323
Remove debug output.

Revision 2323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:35:43 2010 UTC (7 years, 11 months ago) by jpye
Original Path: trunk/ascend/utilities/ascSignal.c
File length: 16205 byte(s)
Diff to previous 2322
Refactor some more stuff from 'utilities' into 'general' with goal that 'general' never refers to 'utilities'.

Revision 2322 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:12:36 2010 UTC (7 years, 11 months ago) by jpye
Original Path: trunk/ascend/utilities/ascSignal.c
File length: 16193 byte(s)
Diff to previous 2273
Refactoring ascMalloc.h, mem.h to belong in 'general' with goal of having no references in 'general' to functions in 'utilities'.

Revision 2273 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 9 04:42:16 2010 UTC (8 years, 3 months ago) by jpye
Original Path: trunk/ascend/utilities/ascSignal.c
File length: 16178 byte(s)
Diff to previous 2011
A little bit more debug output in test_ascSignal.c... some tests seem to be failing.

Revision 2011 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 28 08:58:48 2009 UTC (9 years, 6 months ago) by jpye
Original Path: trunk/ascend/utilities/ascSignal.c
File length: 16175 byte(s)
Copied from: trunk/base/generic/utilities/ascSignal.c revision 2010
Diff to previous 1235
Moving libascend components from #/base/generic into #/ascend

Revision 1235 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 13:22:51 2007 UTC (11 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 16175 byte(s)
Diff to previous 1228
Added missing signal pop

Revision 1228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 06:57:40 2007 UTC (11 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 16151 byte(s)
Diff to previous 1142
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 1142 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 15 06:46:44 2007 UTC (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 16306 byte(s)
Diff to previous 1008
Got paranoid about turning off signal handling... added '#ifdef ASC_SIGNAL_TRAPS' anywhere that signal handling referenced.
Signal handling is OFF by default now.

Revision 1008 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 2 11:45:24 2007 UTC (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 16159 byte(s)
Diff to previous 1004
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)

Revision 1004 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 31 03:45:13 2006 UTC (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 15869 byte(s)
Diff to previous 1003
Still haven't worked out what's wrong with test_ascSignal.c. (line 605 just won't raise the signal!)

Revision 1003 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 31 02:35:27 2006 UTC (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 15738 byte(s)
Diff to previous 1002
Some progress on fixing test_ascSignal.c

Revision 1002 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 30 14:27:47 2006 UTC (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 15246 byte(s)
Diff to previous 999
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'.


Revision 999 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 30 06:15:56 2006 UTC (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 12961 byte(s)
Diff to previous 997
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.

Revision 997 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 24 01:33:59 2006 UTC (11 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 12919 byte(s)
Diff to previous 968
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.

Revision 968 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 18 05:49:00 2006 UTC (11 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 12593 byte(s)
Diff to previous 961
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 961 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 11 14:04:13 2006 UTC (11 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 13214 byte(s)
Diff to previous 956
Fixed a silly bug with Integrator::setEngine.
Added test case for lotka.a4c to test.py

Revision 956 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 9 15:38:05 2006 UTC (11 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 13220 byte(s)
Diff to previous 953
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.

Revision 953 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 7 14:47:15 2006 UTC (11 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 12559 byte(s)
Diff to previous 804
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).

Revision 804 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 4 05:54:34 2006 UTC (12 years, 3 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 12658 byte(s)
Diff to previous 669
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.

Revision 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (12 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 12659 byte(s)
Diff to previous 526
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.

Revision 526 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 21 13:47:31 2006 UTC (12 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 12695 byte(s)
Diff to previous 399
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].

Revision 399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 31 08:52:57 2006 UTC (12 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 12750 byte(s)
Diff to previous 190
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

Revision 190 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 16 08:53:30 2006 UTC (12 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 12780 byte(s)
Diff to previous 102
- Simplifying many 'error_reporter' calls with new macros:
    ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE
- Adding some cygwin cases in the PyGTK build.

Revision 102 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 10 13:53:20 2005 UTC (12 years, 11 months ago) by jds
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 12820 byte(s)
Diff to previous 89
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.

Revision 89 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 7 15:44:43 2005 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 11400 byte(s)
Diff to previous 86
Small changes to eliminate GCC warnings

Revision 86 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 7 04:38:54 2005 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 11219 byte(s)
Diff to previous 85
Fixing bug #152 (jerry's solution)
Also some minor fixes to error reporting calls
Changed default values of IAPWS95 to some that converge.

Revision 85 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 6 18:04:27 2005 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 11218 byte(s)
Diff to previous 76
A working (very slow) version of IAPWS95 which works around bug #154.
Added some debugging messages to solver (temporary).
Removed SIGINT trap.

Revision 76 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 5 17:31:00 2005 UTC (12 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 10769 byte(s)
Diff to previous 61
More error_reporter calls.
Removed some C++-unfriendly var names.
Removed some debug messages.
Turned off compiler timing and relation debugging.

Revision 61 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 14 02:37:20 2005 UTC (13 years ago) by jds
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 10349 byte(s)
Diff to previous 59
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

Revision 59 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 30 01:38:20 2005 UTC (13 years ago) by jds
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 10364 byte(s)
Diff to previous 54
- 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.

Revision 54 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 2 11:20:09 2005 UTC (13 years, 3 months ago) by jds
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 9992 byte(s)
Diff to previous 14
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.

Revision 14 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 18 06:17:50 2004 UTC (14 years ago) by ben.allan
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 9854 byte(s)
Diff to previous 11
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.

Revision 11 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 13 16:45:56 2004 UTC (14 years ago) by aw0a
Original Path: trunk/base/generic/utilities/ascSignal.c
File length: 9584 byte(s)
Diff to previous 1
moving things to base/generic

Revision 1 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Oct 29 20:54:12 2004 UTC (14 years ago) by aw0a
Original Path: trunk/ascend4/utilities/ascSignal.c
File length: 9584 byte(s)
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.

  Diffs between and
  Type of Diff should be a

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