/[ascend]/trunk/base/generic
ViewVC logotype

Log of /trunk/base/generic

View Directory Listing Directory Listing


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

Revision 122 - Directory Listing
Modified Mon Dec 19 06:12:40 2005 UTC (19 years, 4 months ago) by johnpye
Refactoring all MAX, MIN, ABS calls to general/mathmacros.
Adding a GCC optimisation for these macros.

Revision 119 - Directory Listing
Modified Mon Dec 19 05:14:27 2005 UTC (19 years, 4 months ago) by johnpye
Fixing bug #170.

Revision 118 - Directory Listing
Modified Mon Dec 19 04:16:27 2005 UTC (19 years, 4 months ago) by ben.allan
Workaround for a bug in gcc math inline of functions as
arguments to max. This should cure bug 154 in the pye tracker.


Revision 117 - Directory Listing
Modified Sun Dec 18 15:29:05 2005 UTC (19 years, 4 months ago) by aw0a
removed rootfind.c and h from solver subdirectory, from Makefile.in and vc files

Revision 114 - Directory Listing
Modified Fri Dec 16 00:20:44 2005 UTC (19 years, 4 months ago) by jds
Fixed various bugs & compiler warnings:
- numerous AssertAllocateMemory & AssertMemory() bugs
- converted strdup() calls to ascstrdup() (and ascfree())
- several minor (mostly VisualC) compiler warnings (old style declarations, assignment in conditional, ...)

Revision 108 - Directory Listing
Modified Tue Dec 13 05:53:20 2005 UTC (19 years, 4 months ago) by johnpye
Moved some solver error messages to FPRINTF(ASCERR) convention.
Trying to get IAPWS-95 to work two-phase.

Revision 103 - Directory Listing
Modified Sun Dec 11 14:31:02 2005 UTC (19 years, 4 months ago) by jds
Bug fixes & killing more compiler warnings:
- general/list.c - fixed AssertAllocatedMemory and AssertContainedMemory bugs.
- added #include of ascPanic.h where necessary to compile with ALLOCATED_TESTS defined.
- reworked utilities/ascDynaLoad to eliminate compiler warnings related to casting between data & function pointers.
- switched utilities/ascEnvVar.c over to ascstrdup (had static ascstringcopy, which did the same thing).

All regression tests passed on Windows and Linux (except pre-existing solver/slv_common issues).

Revision 102 - Directory Listing
Modified Sat Dec 10 13:53:20 2005 UTC (19 years, 4 months ago) by jds
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 101 - Directory Listing
Modified Sat Dec 10 04:22:07 2005 UTC (19 years, 4 months ago) by jds
A little more progress killing compiler warnings.

Revision 100 - Directory Listing
Modified Fri Dec 9 23:25:15 2005 UTC (19 years, 4 months ago) by jds
ascMalloc now working on Linux.
Fixed minor bugs in ascPanic.c, test suite functions.

Revision 99 - Directory Listing
Modified Fri Dec 9 20:27:28 2005 UTC (19 years, 4 months ago) by jds
Stupid backslash habit.

Revision 98 - Directory Listing
Modified Fri Dec 9 10:32:18 2005 UTC (19 years, 4 months ago) by jds
Moved interface/checkdim.h to solver.  It has no Tcl/Tk dependencies and is only used (sortof) by solver/slv_interface.

Revision 97 - Directory Listing
Modified Fri Dec 9 03:49:19 2005 UTC (19 years, 4 months ago) by jds
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 95 - Directory Listing
Modified Thu Dec 8 16:20:25 2005 UTC (19 years, 4 months ago) by johnpye
Fixing bug #162

Revision 92 - Directory Listing
Modified Wed Dec 7 16:30:13 2005 UTC (19 years, 4 months ago) by johnpye
Restored a commented-out function which is needed by standard FC4 autotools build

Revision 91 - Directory Listing
Modified Wed Dec 7 16:17:03 2005 UTC (19 years, 4 months ago) by johnpye
Removed rootfind.c from solver lib in jamfile
Tidied up error messages in safe.c
Fixed a missing #endif in sensitivity.c

Revision 89 - Directory Listing
Modified Wed Dec 7 15:44:43 2005 UTC (19 years, 4 months ago) by johnpye
Small changes to eliminate GCC warnings

Revision 86 - Directory Listing
Modified Wed Dec 7 04:38:54 2005 UTC (19 years, 4 months ago) by johnpye
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 - Directory Listing
Modified Tue Dec 6 18:04:27 2005 UTC (19 years, 4 months ago) by johnpye
A working (very slow) version of IAPWS95 which works around bug #154.
Added some debugging messages to solver (temporary).
Removed SIGINT trap.

Revision 82 - Directory Listing
Modified Tue Dec 6 08:56:24 2005 UTC (19 years, 4 months ago) by johnpye
Minor fixes

Revision 77 - Directory Listing
Modified Tue Dec 6 04:06:12 2005 UTC (19 years, 4 months ago) by johnpye
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 - Directory Listing
Modified Mon Dec 5 17:31:00 2005 UTC (19 years, 4 months ago) by johnpye
More error_reporter calls.
Removed some C++-unfriendly var names.
Removed some debug messages.
Turned off compiler timing and relation debugging.

Revision 75 - Directory Listing
Modified Sat Dec 3 11:53:13 2005 UTC (19 years, 4 months ago) by jds
Bug fix - compile gl_set_expandable() always.

Revision 74 - Directory Listing
Modified Fri Dec 2 23:33:32 2005 UTC (19 years, 5 months ago) by jds
Doxygen comment update for a few headers.

Revision 73 - Directory Listing
Modified Fri Dec 2 15:04:23 2005 UTC (19 years, 5 months ago) by johnpye
Minor changes to error reporting

Revision 71 - Directory Listing
Modified Fri Dec 2 13:57:07 2005 UTC (19 years, 5 months ago) by johnpye
Minor changes to error reporting

Revision 67 - Directory Listing
Modified Wed Nov 30 16:31:29 2005 UTC (19 years, 5 months ago) by johnpye
Standardised the "if seen" #defines to [ASC|ASCTK|ASCPY|ASCXX]_FILENAME_H
Fixed compile on FC3

Revision 66 - Directory Listing
Modified Wed Nov 30 09:33:54 2005 UTC (19 years, 5 months ago) by johnpye
Fixing a typo

Revision 65 - Directory Listing
Modified Wed Nov 30 09:31:55 2005 UTC (19 years, 5 months ago) by johnpye
Add error.c to autotools and jam build files

Revision 64 - Directory Listing
Modified Wed Nov 30 06:06:46 2005 UTC (19 years, 5 months ago) by johnpye
Moved non-Tcl parts of qlfdid to base/generic.
Moved non-Tcl parts of SimsProc to base/generic/compiler/simlist (changeset 96).
Moved g_compiler_timing to base/generic/compiler/simlist.

Revision 62 - Directory Listing
Modified Wed Nov 30 05:53:20 2005 UTC (19 years, 5 months ago) by johnpye
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.

Revision 61 - Directory Listing
Modified Mon Nov 14 02:37:20 2005 UTC (19 years, 5 months ago) by jds
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 60 - Directory Listing
Modified Mon Oct 31 03:39:15 2005 UTC (19 years, 6 months ago) by jds
- jam build up and limping on Linux (finally).
- fixes to CUnit test suite to compile on Linux (still not operable, though).

Revision 59 - Directory Listing
Modified Sun Oct 30 01:38:20 2005 UTC (19 years, 6 months ago) by jds
- 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 56 - Directory Listing
Modified Sat Oct 1 00:22:50 2005 UTC (19 years, 7 months ago) by jds
Updates to jam build:
   - moved FORTRAN library references to Jamrules_general
   - reworked internal referencing; now via Jamrules_general
   - FORTRAN support libs now built & referenced properly
   - initial build of prototype test suite

Other minor source updates:
   - removed references to base.h from header file comments
   - exempted Mingw from __WIN32__ #define of LSODE in Lsode.c

Revision 55 - Directory Listing
Modified Sat Sep 3 01:25:36 2005 UTC (19 years, 7 months ago) by jds
Minor comment updates, add doc subdir to tclck98 subdir

Revision 54 - Directory Listing
Modified Tue Aug 2 11:20:09 2005 UTC (19 years, 9 months ago) by jds
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 53 - Directory Listing
Modified Fri Jul 1 15:06:17 2005 UTC (19 years, 10 months ago) by ben.allan
made solver/rootfind.h fatal in case any one uses it.

Revision 52 - Directory Listing
Modified Sat May 21 06:14:31 2005 UTC (19 years, 11 months ago) by ben.allan
moved print vtable struct into a separate header
as only implementers of the printtype need to see
it. callers on print functions do not.


Revision 49 - Directory Listing
Modified Tue Apr 12 23:36:01 2005 UTC (20 years ago) by ben.allan
fixed the problems with return codes jerry found.

Revision 48 - Directory Listing
Modified Sat Apr 9 13:04:03 2005 UTC (20 years ago) by jds
Fix typo in utilities/ascConfig.h.  mea culpa.
Update WinVC7 project files.

Revision 47 - Directory Listing
Modified Thu Apr 7 23:59:22 2005 UTC (20 years ago) by jds
Updated jam build files:
-Added support for -DTIMESTAMP builder credit.
- Renamed Tcl/Tk/TkTable libs for MinGW to match common gcc names.
- Corrected Linux ref in tcltk98 Jamfile.
- Added ascPrintTcl.c to list of interface sources.
- Fixed default CP definition in Jambase.
- Reworked gcc warning options in Jamrules_general.

utilities/ascConfig.h
- Added UNREFERENCED_PARAMETER() macro to standardize handling of unreferenced parameters.
-__WIN32__ macros for isnan(), isinf(), finite() not redefined if the plain versions exist (underscore not added in all __WIN32__ compiler systems, e.g. MinGW)

interface/ascPrintTcl.[ch]
- Added return value to Asc_PrintInit_TclVtable().
- Modified doxygen comments to describe function return values.

interface/Driver.c
- Added #include "interface/tkConsole.h" for __WIN32__ to pull in console functions.
- Added UNREFERENCED_PARAMETER() for WinMain() parameters.

Revision 45 - Directory Listing
Modified Sat Mar 5 01:53:39 2005 UTC (20 years, 1 month ago) by ben.allan
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.


Revision 44 - Directory Listing
Modified Thu Mar 3 07:19:05 2005 UTC (20 years, 2 months ago) by ben.allan
Updated configure and all the makefiles to handle
VPATH with or without --srcdir. gnu make is now
required on unix.

Revision 42 - Directory Listing
Modified Wed Feb 9 17:36:43 2005 UTC (20 years, 2 months ago) by ben.allan
got rid of config.status from dependencies. bad idea.

Revision 40 - Directory Listing
Modified Sat Jan 22 14:22:13 2005 UTC (20 years, 3 months ago) by jds
Initial commit of WinVC7 and jam build files.  jam builds Ascend base libs and tcltk98 executable on Windows using msvc, borland, mingw, and watcom (watcom can't yet link executable due to lack of isnan() and copysign() functions).

Also includes minor source updates to compile & run on Windows.

Revision 35 - Directory Listing
Modified Wed Dec 29 15:05:47 2004 UTC (20 years, 4 months ago) by aw0a
corrections to make ascend compile in parallel tree

Revision 34 - Directory Listing
Modified Sun Dec 26 20:35:09 2004 UTC (20 years, 4 months ago) by ben.allan
fixed missing close comment in the two files i did by hand.

Revision 33 - Directory Listing
Modified Sun Dec 26 20:06:01 2004 UTC (20 years, 4 months ago) by ben.allan
First pass at doxygenation -- mechanically putting in ** and where
most likely needed **< using sed. Lots of cleanup needed to
be really useful, including grouping data types and their
member methods into class-like documentation.

Revision 32 - Directory Listing
Modified Thu Dec 23 18:07:19 2004 UTC (20 years, 4 months ago) by aw0a
updating configure.in - still not correct

Revision 27 - Directory Listing
Modified Thu Dec 9 18:22:50 2004 UTC (20 years, 4 months ago) by aw0a
Correcting package checkin

Revision 26 - Directory Listing
Modified Thu Dec 9 16:25:02 2004 UTC (20 years, 4 months ago) by aw0a
adding lib directory less Makefile

Revision 25 - Directory Listing
Modified Thu Dec 9 16:18:40 2004 UTC (20 years, 4 months ago) by aw0a
goofed: remove executable and Makefile from bin directory

Revision 24 - Directory Listing
Modified Thu Dec 9 16:16:47 2004 UTC (20 years, 4 months ago) by aw0a
add bin subdirectory to repository

Revision 22 - Directory Listing
Modified Thu Dec 9 16:04:34 2004 UTC (20 years, 4 months ago) by aw0a
adding missing files

Revision 18 - Directory Listing
Modified Tue Dec 7 20:53:37 2004 UTC (20 years, 4 months ago) by aw0a
updating configure.in and Makefile.in files throughout

Revision 16 - Directory Listing
Modified Thu Nov 25 22:52:42 2004 UTC (20 years, 5 months ago) by ben.allan
replaced nonportable strdup with ascend equivalent.

Revision 14 - Directory Listing
Modified Thu Nov 18 06:17:50 2004 UTC (20 years, 5 months ago) by ben.allan
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 12 - Directory Listing
Modified Sat Nov 13 20:52:45 2004 UTC (20 years, 5 months ago) by aw0a
committing partly modified configure.in plus the moving of config/

Revision 11 - Directory Listing
Added Sat Nov 13 16:45:56 2004 UTC (20 years, 5 months ago) by aw0a
moving things to base/generic

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