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

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

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 3214 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 17 12:36:16 2017 UTC (4 weeks, 3 days ago) by jpye
File length: 16612 byte(s)
Diff to previous 3213
still hunting the bug with invisible errors in the PyGTK GUI.


Revision 3213 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 17 05:41:34 2017 UTC (4 weeks, 3 days ago) by jpye
File length: 16610 byte(s)
Diff to previous 3212
correct error_reporter_tree_print when tree is non-NULLm but empty (eg after error_reporter_tree_new() called).


Revision 3212 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Sep 17 05:20:45 2017 UTC (4 weeks, 3 days ago) by jpye
File length: 16464 byte(s)
Diff to previous 3211
debugging error_reporter_tree issue in Python layer


Revision 3211 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 15 03:34:28 2017 UTC (4 weeks, 5 days ago) by jpye
File length: 16410 byte(s)
Diff to previous 3210
fixed error with va_copy required in va_error_reporter.


Revision 3210 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 14 13:27:20 2017 UTC (4 weeks, 6 days ago) by jpye
File length: 15604 byte(s)
Diff to previous 3199
changed to va_list pointers, based on
https://stackoverflow.com/questions/3369588/pass-va-list-or-pointer-to-va-list


Revision 3199 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 23 08:13:44 2017 UTC (5 months, 3 weeks ago) by jpye
File length: 15593 byte(s)
Diff to previous 3198
fixed up issue with MALLOC_DEBUG output in test.c


Revision 3198 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 23 07:34:02 2017 UTC (5 months, 3 weeks ago) by jpye
File length: 15507 byte(s)
Diff to previous 3197
fixed memory leak in error_reporter_tree_*


Revision 3197 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 23 03:30:25 2017 UTC (5 months, 3 weeks ago) by jpye
File length: 15016 byte(s)
Diff to previous 3196
test suite almost done, one memory leak still to be fixed.


Revision 3196 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 22 13:10:46 2017 UTC (5 months, 3 weeks ago) by jpye
File length: 12997 byte(s)
Diff to previous 3187
working to fix issues with error_reporter_tree.


Revision 3187 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 2 13:41:44 2017 UTC (6 months, 2 weeks ago) by jpye
File length: 12743 byte(s)
Diff to previous 3186
add 'rel_errorlist' as new way to allow compiler error reporting.
aim is to allow location and cause of error to be reported with higher resolution.


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


Revision 2634 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Aug 15 01:29:32 2012 UTC (5 years, 2 months ago) by jpye
Original Path: trunk/ascend/utilities/error.c
File length: 12755 byte(s)
Diff to previous 2530
fixed bug 562.

Revision 2530 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 20 18:23:01 2012 UTC (5 years, 8 months ago) by jpye
Original Path: trunk/ascend/utilities/error.c
File length: 12788 byte(s)
Diff to previous 2524
Fixing colour output for windows cmd console.

Revision 2524 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 19 21:36:01 2012 UTC (5 years, 9 months ago) by jpye
Original Path: trunk/ascend/utilities/error.c
File length: 12898 byte(s)
Diff to previous 2329
Change use of 'snprintf' to a macro so that MinGW-64 can substitute it with _snprintf.
Minor text changes in ascPrint.h.
Move 'general' config.h definitions into ascend/general/config.h. Hope this will reduce amount of rebuilding arising from minor changes. 
Fix bug in ascEnvVar.c arising from string like "=sillydef" with no leading varname.
Still need to fix ascEnvVar.c for case like " = sillydef".
Bug found with sundials-config when MinGW fstab /mingw does not point to c:\MinGW.
Removed support for 'g77' compiler as alternative to 'gfortran'.
Fixed SCons error message when LyX is not present.
Removed disused Makefile.in file.
Removed some debug output in ascEnvVar and printutil.c.
Some reformating of SConstruct.

Revision 2329 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 22 12:52:47 2010 UTC (6 years, 9 months ago) by jpye
Original Path: trunk/ascend/utilities/error.c
File length: 12901 byte(s)
Diff to previous 2323
Suppressing some console output.
Added test case that current crashes ASCEND/IPOPT with a memory error.
Issue with library.cpp not containing any way to free libascend memory.

Revision 2323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:35:43 2010 UTC (6 years, 10 months ago) by jpye
Original Path: trunk/ascend/utilities/error.c
File length: 12897 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 (6 years, 10 months ago) by jpye
Original Path: trunk/ascend/utilities/error.c
File length: 12885 byte(s)
Diff to previous 2244
Refactoring ascMalloc.h, mem.h to belong in 'general' with goal of having no references in 'general' to functions in 'utilities'.

Revision 2244 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Aug 2 01:05:11 2010 UTC (7 years, 2 months ago) by jpye
Original Path: trunk/ascend/utilities/error.c
File length: 12870 byte(s)
Diff to previous 2241
Fix bug with 'RUN default', need to use Initialize(GetSimulationRoot(sim),...) for running methods!

Revision 2241 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 1 03:17:50 2010 UTC (7 years, 2 months ago) by jpye
Original Path: trunk/ascend/utilities/error.c
File length: 12872 byte(s)
Diff to previous 2011
Adding test case for defaultall.c errors.

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

Revision 2005 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 20 08:39:46 2009 UTC (8 years, 6 months ago) by jpye
Original Path: trunk/base/generic/utilities/error.c
File length: 12870 byte(s)
Diff to previous 1285
Started work on exposing model parameters to canvas GUI.
Updated header/comment formatting in type_descio.h.
Fixed some warnings in error.c.
A bug still exists error_reporter_tree_start that is causing problems with the
canvas-based GUI.
Added Info class to canvas code, for output of debug information via GUI.
Added a few missing types of gtksourceview langdef.

Revision 1285 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 17 22:39:59 2007 UTC (10 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 12870 byte(s)
Diff to previous 1063
Removed 'const' from in front of va_list parameters.

Revision 1063 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 7 07:54:06 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 12882 byte(s)
Diff to previous 1048
Changed ASC_DLLSPEC(TYPE) to ASC_DLLSPEC TYPE, because it was causing havoc with doxygen and ctags.

Revision 1048 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 5 12:19:41 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 12883 byte(s)
Diff to previous 1037
Fixed 'TOO MUCH WRITING' error in error_tree.

Revision 1037 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 08:11:55 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 12988 byte(s)
Diff to previous 1035
Fixed a few more TestBlackBox test cases.

Revision 1035 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 4 07:35:22 2007 UTC (10 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 12988 byte(s)
Diff to previous 978
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.

Revision 978 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 20 10:26:04 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 12982 byte(s)
Diff to previous 962
Failed 'ASSERT' statements in a METHOD now cause the statement to be output (as well as its location).
Improved code docs/GPL header for a few files.
Added support for 'ASSERT' in WriteStatement.
Added new WriteStatementError that included var-arg support.
Fixed ASC_ASSERT_RANGE in AscPanic.

Revision 962 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 11 14:43:02 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 12891 byte(s)
Diff to previous 937
Adding more LSODE test cases.
Removing some 'error tree' debug output.
Added RTOLDEF and ATOLDEF parameters to LSODE (and fixed a bug relating to integrator_lsode_params_default).

Revision 937 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 03:58:49 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 12837 byte(s)
Diff to previous 936
Fixed ability to run 'solve' from an external script method, without the present of the PyGTY GUI.

Revision 936 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 01:06:10 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 12734 byte(s)
Diff to previous 933
Fixed double-flush bug that results in duplicate output of some error_reporter messages.

Revision 933 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 22:28:00 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 12599 byte(s)
Diff to previous 932
Fixed some bugs with error_reporter_tree, and with error_callback in gtkbrowser.py

Revision 932 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 13:23:33 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 12785 byte(s)
Diff to previous 931
Working on bugs in the 'error_reporter_tree' stuff.
Removed binary files from base/generic/utilities/test (these are built as needed by SCons now)

Revision 931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 04:31:19 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 11189 byte(s)
Diff to previous 929
Added 'error_reporter_tree' that can organise error messages/output into a structured hierarchy.

Revision 929 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 22 11:01:06 2006 UTC (10 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 6469 byte(s)
Diff to previous 908
Little more on removing stream redirection (ongoing)

Revision 908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 10:18:53 2006 UTC (10 years, 11 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 6855 byte(s)
Diff to previous 586
first attempt at merging with Ben's changes on the trunk

Revision 586 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 11 00:47:54 2006 UTC (11 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 6753 byte(s)
Diff to previous 513
Working on improving handling of paths.

Revision 513 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 19 14:18:05 2006 UTC (11 years, 6 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 6486 byte(s)
Diff to previous 490
Fixing error.h so variadic macros only used in MSVC++ 2005.

Revision 490 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 06:55:20 2006 UTC (11 years, 6 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 6473 byte(s)
Diff to previous 427
Moved 'extern "C"' into the ASC_DLLSPEC macro.
Renamed .no.yacc and .no.flex files to have .c extension, so that SCons can tell what they are.
Working on getting things building on VC++, still some problems (maybe just issues with $PATH tho)./

Revision 427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 4 04:13:34 2006 UTC (11 years, 6 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 6458 byte(s)
Diff to previous 379
tentative: Disabled ascDynaload functions when DYNAMIC_PACKAGES is not defined. 
Altered error.[ch] so that MS VC++ variadic macros are used when available. 
Disabled Windows MessageBox in ascPanic, so that compilation of base engine is possible with the Platform SDK.
Added SConscript files to build FORTRAN components.
Removed some autoconf-related stuff from the pygtk/interface directory.

Revision 379 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 15 12:48:03 2006 UTC (11 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 6483 byte(s)
Diff to previous 377
Ensuring that plugins contain no undefined symbols (for the sake of Windows).
Rearranging and commending error.c slightly.
Removing some debug output in solverreporter.

Revision 377 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 15 11:27:22 2006 UTC (11 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 6260 byte(s)
Diff to previous 222
By default, no xterm console colour codes are used now.
More output in extfn test python script.
pygtk/interface/Makefile cleans up gcov files when 'make clean'.

Revision 222 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 27 04:23:20 2006 UTC (11 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 6850 byte(s)
Diff to previous 190
Updating for Jerry's new error_reporter syntax, bug #179

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

Revision 188 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 16 07:47:02 2006 UTC (11 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 6151 byte(s)
Diff to previous 157
Adding some missing 'EXT' code, adding 'error_reporter_here' functionality.

Revision 157 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 23 01:30:46 2005 UTC (11 years, 9 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 5795 byte(s)
Diff to previous 127
Adding test for other WHEN branch
Colour highlighting of failed ASSERTs on xterm

Revision 127 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 20 14:34:32 2005 UTC (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 5640 byte(s)
Diff to previous 97
Improving reporting of Asc_Panic for cases where the GUI is going to be killed.

Revision 97 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 9 03:49:19 2005 UTC (11 years, 10 months ago) by jds
Original Path: trunk/base/generic/utilities/error.c
File length: 5622 byte(s)
Diff to previous 86
Minor fixes to:
 - continue killing compiler warnings on gcc & msvc 
 - start working on function/data pointer mismatches
 - documentation tweaks

Fixed ascMalloc.c memory logging problems.  This has not been tested on linux/unix.  If it fails to compile, please revert to the previous version and let me know.

Revision 86 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 7 04:38:54 2005 UTC (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 5677 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 (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 5673 byte(s)
Diff to previous 77
A working (very slow) version of IAPWS95 which works around bug #154.
Added some debugging messages to solver (temporary).
Removed SIGINT trap.

Revision 77 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 6 04:06:12 2005 UTC (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 5447 byte(s)
Diff to previous 62
Reorganised 'HAVE_PACKAGES' in Jamrules_general.
Removed -DTHIS_IS_AN_UNUSED_FUNCTION from Jamfile so that we find if they really *are* unused.
Added CCFLAGS += stdc=c99 to Jamfile
Changed ASCEND contact details to Wiki URL instead of outdated(?) email address
Conditional HAVE_C99 flag in ascConfig.
ascDynaload.h added __unix__ CPP flag
error.h using C99 rather than GNUC extension

Revision 62 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Nov 30 05:53:20 2005 UTC (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/utilities/error.c
File length: 5186 byte(s)
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.

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