/[ascend]/trunk/base/generic/utilities/error.h
ViewVC logotype

Log of /trunk/base/generic/utilities/error.h

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 04:31:19 2006 UTC (13 years, 2 months ago) by johnpye
File length: 11659 byte(s)
Diff to previous 913
Added 'error_reporter_tree' that can organise error messages/output into a structured hierarchy.

Revision 913 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 28 03:55:19 2006 UTC (13 years, 2 months ago) by johnpye
File length: 9868 byte(s)
Diff to previous 709
Added test for SUNDIALS version (2.2.1 and 2.3.0-pre are preferred)
Fixed silly warning message about ignored return values from CONSOLE_DEBUG on GCC.

Revision 709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 16:28:57 2006 UTC (13 years, 6 months ago) by johnpye
File length: 9860 byte(s)
Diff to previous 669
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.

Revision 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (13 years, 7 months ago) by johnpye
File length: 9763 byte(s)
Diff to previous 636
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 636 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 29 06:22:52 2006 UTC (13 years, 7 months ago) by johnpye
File length: 9720 byte(s)
Diff to previous 586
Fixed up some other small probs with MSVC2005

Revision 586 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 11 00:47:54 2006 UTC (13 years, 8 months ago) by johnpye
File length: 9729 byte(s)
Diff to previous 530
Working on improving handling of paths.

Revision 530 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 22 07:52:30 2006 UTC (13 years, 9 months ago) by johnpye
File length: 10266 byte(s)
Diff to previous 529
Found the problem with the PyGTK interface: a too-long vsprintf. Changed to vsnprintf.

Revision 529 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 22 06:26:23 2006 UTC (13 years, 9 months ago) by johnpye
File length: 10266 byte(s)
Diff to previous 513
Working of debugging the mysterious PyGTK bug. Seems to be coming from a wrong
char *filename in an error_reporter call from the DEBUG_RELS sections of the
compiler code.
Also renamed the WSEM and WSNM macros for clarity, removed unused file pointer.

Revision 513 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 19 14:18:05 2006 UTC (13 years, 9 months ago) by johnpye
File length: 10266 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 (13 years, 9 months ago) by johnpye
File length: 10270 byte(s)
Diff to previous 485
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 485 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 04:47:11 2006 UTC (13 years, 9 months ago) by johnpye
File length: 10361 byte(s)
Diff to previous 480
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?


Revision 480 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 10:45:23 2006 UTC (13 years, 9 months ago) by johnpye
File length: 9461 byte(s)
Diff to previous 466
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.

Revision 466 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 16 15:07:48 2006 UTC (13 years, 9 months ago) by johnpye
File length: 9374 byte(s)
Diff to previous 456
Rolled back revision 451, since the DLL loading issue on Windows is now resolved.
Fixed up some #ifdef brackets in slv*.h headers.
Added NSIS functionality to SConstruct file
Renamed default installer to 'ascend-setup.exe' pending a more clever approach to version numbers.

Revision 456 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 5 13:35:15 2006 UTC (13 years, 9 months ago) by wangym
File length: 9894 byte(s)
Diff to previous 427
move redifinition macros from HAVE_C99 TO MSVC

Revision 427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 4 04:13:34 2006 UTC (13 years, 9 months ago) by johnpye
File length: 9876 byte(s)
Diff to previous 414
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 414 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 3 04:55:35 2006 UTC (13 years, 9 months ago) by johnpye
File length: 9154 byte(s)
Diff to previous 399
Some progress on getting a MSVC build to work with SCons. Issues with linking still.

Revision 399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 31 08:52:57 2006 UTC (13 years, 9 months ago) by johnpye
File length: 8959 byte(s)
Diff to previous 380
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 380 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 18 07:29:48 2006 UTC (13 years, 10 months ago) by johnpye
File length: 8959 byte(s)
Diff to previous 377
Fixed up dynamic loading so that external libraries can be used on Windows -- no unresolved symbols in the DLL.

Revision 377 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Mar 15 11:27:22 2006 UTC (13 years, 10 months ago) by johnpye
File length: 8256 byte(s)
Diff to previous 369
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 369 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 10 09:14:29 2006 UTC (13 years, 10 months ago) by johnpye
File length: 7471 byte(s)
Diff to previous 224
Debugging output for loading external packages.
Export error_reporter to windows DLL (needs testing).

Revision 224 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 27 08:19:51 2006 UTC (13 years, 11 months ago) by johnpye
File length: 7462 byte(s)
Diff to previous 222
Correcting a bug with error_reporter macros, reversing change of funciton name in bnd.c

Revision 222 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 27 04:23:20 2006 UTC (13 years, 11 months ago) by johnpye
File length: 7458 byte(s)
Diff to previous 195
Updating for Jerry's new error_reporter syntax, bug #179

Revision 195 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 17 05:49:40 2006 UTC (14 years ago) by johnpye
File length: 7018 byte(s)
Diff to previous 190
Commenting
Adding coloured output on CONSOLE_DEBUG
Adding test testextfn for monolithic tests of external function calls.

Revision 190 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 16 08:53:30 2006 UTC (14 years ago) by johnpye
File length: 7015 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 (14 years ago) by johnpye
File length: 6714 byte(s)
Diff to previous 153
Adding some missing 'EXT' code, adding 'error_reporter_here' functionality.

Revision 153 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 22 13:53:42 2005 UTC (14 years, 1 month ago) by johnpye
File length: 6361 byte(s)
Diff to previous 124
Fixing bug #178.

Revision 124 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 20 08:32:25 2005 UTC (14 years, 1 month ago) by johnpye
File length: 6326 byte(s)
Diff to previous 86
Adding 'TEST' statement to ASCEND METHOD syntax.
Standardising messages in slv3.
Trying to debug bug #175.

Revision 86 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 7 04:38:54 2005 UTC (14 years, 1 month ago) by johnpye
File length: 5924 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 (14 years, 1 month ago) by johnpye
File length: 5887 byte(s)
Diff to previous 82
A working (very slow) version of IAPWS95 which works around bug #154.
Added some debugging messages to solver (temporary).
Removed SIGINT trap.

Revision 82 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 6 08:56:24 2005 UTC (14 years, 1 month ago) by johnpye
File length: 5714 byte(s)
Diff to previous 77
Minor fixes

Revision 77 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 6 04:06:12 2005 UTC (14 years, 1 month ago) by johnpye
File length: 5711 byte(s)
Diff to previous 76
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 76 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 5 17:31:00 2005 UTC (14 years, 1 month ago) by johnpye
File length: 5696 byte(s)
Diff to previous 62
More error_reporter calls.
Removed some C++-unfriendly var names.
Removed some debug messages.
Turned off compiler timing and relation debugging.

Revision 62 - (view) (download) (as text) (annotate) - [select for diffs]
Added Wed Nov 30 05:53:20 2005 UTC (14 years, 1 month ago) by johnpye
File length: 5627 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