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

Log of /trunk/base/generic/compiler

View Directory Listing Directory Listing


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

Revision 399 - Directory Listing
Modified Fri Mar 31 08:52:57 2006 UTC (17 years, 8 months ago) by johnpye
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 394 - Directory Listing
Modified Thu Mar 30 14:50:35 2006 UTC (17 years, 8 months ago) by wangym
move the function call after the variable define, a compile bug fix

Revision 390 - Directory Listing
Modified Thu Mar 30 06:41:17 2006 UTC (17 years, 8 months ago) by johnpye
The Tcl/Tk interface now runs as well. Tried with Tcl/Tk 8.4, so needs to be run
on a system with Tcl/Tk 8.3 next up.

Revision 386 - Directory Listing
Modified Thu Mar 30 04:46:48 2006 UTC (17 years, 8 months ago) by johnpye
Added SConscript to Tcl/Tk directory.
Still having some problems with linking.

Revision 385 - Directory Listing
Modified Thu Mar 30 04:14:29 2006 UTC (17 years, 8 months ago) by johnpye
First attempt at SCons build. This will build the static libraries
for me on Linux with GCC 4.0.2. Will work now on getting it to 
build the Tcl/Tk GUI.

Revision 381 - Directory Listing
Modified Sun Mar 19 23:01:39 2006 UTC (17 years, 8 months ago) by johnpye
Fixing 'auto package registration' with 'libstemname_register'.
Fixed bug #247.

Revision 380 - Directory Listing
Modified Sat Mar 18 07:29:48 2006 UTC (17 years, 8 months ago) by johnpye
Fixed up dynamic loading so that external libraries can be used on Windows -- no unresolved symbols in the DLL.

Revision 379 - Directory Listing
Modified Wed Mar 15 12:48:03 2006 UTC (17 years, 8 months ago) by johnpye
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 375 - Directory Listing
Modified Wed Mar 15 06:35:50 2006 UTC (17 years, 8 months ago) by johnpye
Removing some debug output

Revision 373 - Directory Listing
Modified Tue Mar 14 08:39:37 2006 UTC (17 years, 8 months ago) by johnpye
Tidied up formatting in measures.a4l
Added GPL notice to cavity.a4c
Fixed up reconfig to turn OFF gcov testing by default.
Removed some debug output from typedef.c and instantiate.c and arrayinst.c.
Commenting changes in extinst.h.
Working on getting the buildbot working :-)

Revision 371 - Directory Listing
Modified Tue Mar 14 05:04:06 2006 UTC (17 years, 8 months ago) by johnpye
Added some debug output related to external relations.
Added ./configure flags for relation debugging and compiler timing.
Removed some <!-- --> comments.

Revision 369 - Directory Listing
Modified Fri Mar 10 09:14:29 2006 UTC (17 years, 8 months ago) by johnpye
Debugging output for loading external packages.
Export error_reporter to windows DLL (needs testing).

Revision 355 - Directory Listing
Modified Mon Mar 6 03:11:28 2006 UTC (17 years, 9 months ago) by johnpye
In PyGTK 'modules' list, you can now see non-parameterised types in bold.

Revision 337 - Directory Listing
Modified Wed Mar 1 00:51:23 2006 UTC (17 years, 9 months ago) by johnpye
Something is starting to run on MinGW now. GUI loads and ascend DLL is opened.
This revision still breaks the linux and Tcl/Tk builds, I expect.
Also added some smarts to the 'help...contents' menu for loading offline/online help files.

Revision 332 - Directory Listing
Modified Tue Feb 28 04:39:00 2006 UTC (17 years, 9 months ago) by johnpye
These changes fix compilation 'make libs' on MinGW.

I have changed the configure.in to allow '--without-tcl'
however this will likely break linux compiles. I'll commit this
on windows, then try to check out and fix on a linux machine.

Revision 306 - Directory Listing
Modified Wed Feb 22 03:30:18 2006 UTC (17 years, 9 months ago) by johnpye
Fixing indenting
Fixed bug #207 (missing 'case' statements for FIX)

Revision 304 - Directory Listing
Modified Wed Feb 22 03:05:37 2006 UTC (17 years, 9 months ago) by johnpye
Some rationalising of duplicated code in statement.c.
Fixed bug #206 (support for FREE statement).

Revision 303 - Directory Listing
Modified Tue Feb 21 02:38:13 2006 UTC (17 years, 9 months ago) by johnpye
Documentation, indentation and debugging-message changes.

Revision 301 - Directory Listing
Modified Mon Feb 20 07:39:14 2006 UTC (17 years, 9 months ago) by johnpye
Documentation and indentation changes

Revision 272 - Directory Listing
Modified Sun Feb 5 06:43:19 2006 UTC (17 years, 10 months ago) by johnpye
Documentation changes.
Modified one slv3 error message.

Revision 262 - Directory Listing
Modified Fri Feb 3 00:19:41 2006 UTC (17 years, 10 months ago) by johnpye
Correcting a bug introduced in changeset 314.

Revision 256 - Directory Listing
Modified Thu Feb 2 14:09:44 2006 UTC (17 years, 10 months ago) by johnpye
Standardising header #ifdef

Revision 236 - Directory Listing
Modified Mon Jan 30 06:09:52 2006 UTC (17 years, 10 months ago) by johnpye
Minor #ifdef changes

Revision 222 - Directory Listing
Modified Fri Jan 27 04:23:20 2006 UTC (17 years, 10 months ago) by johnpye
Updating for Jerry's new error_reporter syntax, bug #179

Revision 216 - Directory Listing
Modified Wed Jan 25 02:12:20 2006 UTC (17 years, 10 months ago) by jds
Minor rework of jam system to stop relinking of libraries when sources not modified.
Minor tweaks to stem the tide of compiler warnings.

Revision 206 - Directory Listing
Modified Mon Jan 23 06:46:08 2006 UTC (17 years, 10 months ago) by johnpye
Changing 'new' to 'new_xxx' so that headers can be compiled in C++

Revision 205 - Directory Listing
Modified Mon Jan 23 06:19:12 2006 UTC (17 years, 10 months ago) by johnpye
Documentation changes

Revision 204 - Directory Listing
Modified Mon Jan 23 04:27:11 2006 UTC (17 years, 10 months ago) by johnpye
Documentation changes

Revision 203 - Directory Listing
Modified Mon Jan 23 04:13:17 2006 UTC (17 years, 10 months ago) by johnpye
Documentation changes; making 'FIX' statement less verbose;
Commenting out ununsed 'CreateExternalFunction' function

Revision 194 - Directory Listing
Modified Tue Jan 17 05:48:00 2006 UTC (17 years, 10 months ago) by johnpye
Documentation and CONSOLE_DEBUGging.

Revision 190 - Directory Listing
Modified Mon Jan 16 08:53:30 2006 UTC (17 years, 10 months ago) by johnpye
- 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 - Directory Listing
Modified Mon Jan 16 07:47:02 2006 UTC (17 years, 10 months ago) by johnpye
Adding some missing 'EXT' code, adding 'error_reporter_here' functionality.

Revision 184 - Directory Listing
Modified Fri Jan 13 03:30:09 2006 UTC (17 years, 10 months ago) by johnpye
Fixing up error reporting for the 'FIX' statement. Addresses bug 204.

Revision 183 - Directory Listing
Modified Fri Jan 13 02:35:00 2006 UTC (17 years, 10 months ago) by johnpye
Added 'FIX varlist' statement to ASCEND.

Revision 174 - Directory Listing
Modified Sun Jan 8 06:24:10 2006 UTC (17 years, 11 months ago) by ben.allan
fixed bug 201, incorrect use of assert.

Revision 170 - Directory Listing
Modified Fri Jan 6 08:55:06 2006 UTC (17 years, 11 months ago) by johnpye
Moving plot.h and plot.c back to the base/generic/compiler.
This is so that I can use those routines in PyGTK plotting.

Revision 163 - Directory Listing
Modified Tue Jan 3 07:17:41 2006 UTC (17 years, 11 months ago) by johnpye
Fixed bug #198

Revision 162 - Directory Listing
Modified Tue Jan 3 06:51:30 2006 UTC (17 years, 11 months ago) by johnpye
Fixing problem with btprolog.h in Tcl/Tk interface

Revision 159 - Directory Listing
Modified Mon Jan 2 09:54:52 2006 UTC (17 years, 11 months ago) by johnpye
Changing FPRINTF to error_reporter

Revision 158 - Directory Listing
Modified Mon Jan 2 09:02:52 2006 UTC (17 years, 11 months ago) by johnpye
Removed support for Ultrix, OSF, which seem to be dead. This
makes the ascDynaload.c file much smaller. Also removed unused DynamicLoad
function (use Asc_DynamicLoad instead). Please let me know if these changes
break anything for you.

Revision 154 - Directory Listing
Modified Thu Dec 22 15:18:02 2005 UTC (17 years, 11 months ago) by johnpye
Removing debug output, adding self_test to iapws95.

Revision 148 - Directory Listing
Modified Thu Dec 22 08:49:39 2005 UTC (17 years, 11 months ago) by johnpye
Changed from 'TEST expr' syntax to 'ASSERT expr' syntax.
Corrected ConfigAscend ability to compile with CMSlv solver.

Revision 141 - Directory Listing
Modified Thu Dec 22 02:16:37 2005 UTC (17 years, 11 months ago) by johnpye
Modifying build so that static libraries have same name under both Jam and Autotools builds.

Revision 130 - Directory Listing
Modified Tue Dec 20 23:37:10 2005 UTC (17 years, 11 months ago) by johnpye
Working on eliminating some compiler warnings about unitialised vars
and the like.

Revision 129 - Directory Listing
Modified Tue Dec 20 20:22:56 2005 UTC (17 years, 11 months ago) by jds
Reworked jam build system:
- integrated Jamrules.in and Jamrules_tcltk98.in with autoconf
- now support single-point building from trunk/jam
- old jam files still in place but deprecated
- may be buggy, please report back bugs for fixing

Compiled on both Windows and Linux.

Revision 128 - Directory Listing
Modified Tue Dec 20 14:35:09 2005 UTC (17 years, 11 months ago) by johnpye
Changing TEST success to ASC_USER_SUCCESS

Revision 124 - Directory Listing
Modified Tue Dec 20 08:32:25 2005 UTC (17 years, 11 months ago) by johnpye
Adding 'TEST' statement to ASCEND METHOD syntax.
Standardising messages in slv3.
Trying to debug bug #175.

Revision 123 - Directory Listing
Modified Mon Dec 19 06:59:40 2005 UTC (17 years, 11 months ago) by johnpye
Changing 'log' function to 'log10'

Revision 122 - Directory Listing
Modified Mon Dec 19 06:12:40 2005 UTC (17 years, 11 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 (17 years, 11 months ago) by johnpye
Fixing bug #170.

Revision 118 - Directory Listing
Modified Mon Dec 19 04:16:27 2005 UTC (17 years, 11 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 114 - Directory Listing
Modified Fri Dec 16 00:20:44 2005 UTC (17 years, 11 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 103 - Directory Listing
Modified Sun Dec 11 14:31:02 2005 UTC (17 years, 11 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 101 - Directory Listing
Modified Sat Dec 10 04:22:07 2005 UTC (17 years, 11 months ago) by jds
A little more progress killing compiler warnings.

Revision 97 - Directory Listing
Modified Fri Dec 9 03:49:19 2005 UTC (17 years, 11 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 (18 years ago) by johnpye
Fixing bug #162

Revision 92 - Directory Listing
Modified Wed Dec 7 16:30:13 2005 UTC (18 years 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 (18 years 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 (18 years ago) by johnpye
Small changes to eliminate GCC warnings

Revision 85 - Directory Listing
Modified Tue Dec 6 18:04:27 2005 UTC (18 years 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 76 - Directory Listing
Modified Mon Dec 5 17:31:00 2005 UTC (18 years 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 74 - Directory Listing
Modified Fri Dec 2 23:33:32 2005 UTC (18 years ago) by jds
Doxygen comment update for a few headers.

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

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

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

Revision 64 - Directory Listing
Modified Wed Nov 30 06:06:46 2005 UTC (18 years 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 (18 years 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 (18 years 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 59 - Directory Listing
Modified Sun Oct 30 01:38:20 2005 UTC (18 years, 1 month 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 55 - Directory Listing
Modified Sat Sep 3 01:25:36 2005 UTC (18 years, 3 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 (18 years, 4 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 45 - Directory Listing
Modified Sat Mar 5 01:53:39 2005 UTC (18 years, 9 months 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 (18 years, 9 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 40 - Directory Listing
Modified Sat Jan 22 14:22:13 2005 UTC (18 years, 10 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 (18 years, 11 months ago) by aw0a
corrections to make ascend compile in parallel tree

Revision 33 - Directory Listing
Modified Sun Dec 26 20:06:01 2004 UTC (18 years, 11 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 (18 years, 11 months ago) by aw0a
updating configure.in - still not correct

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

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

Revision 14 - Directory Listing
Modified Thu Nov 18 06:17:50 2004 UTC (19 years 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 11 - Directory Listing
Added Sat Nov 13 16:45:56 2004 UTC (19 years ago) by aw0a
moving things to base/generic

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