/[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 731 - Directory Listing
Modified Tue Jul 4 07:42:06 2006 UTC (13 years, 5 months ago) by johnpye
Removed some debug messages.
Fixed up return values for Integrators functions to comply with integrator.c API.

Revision 728 - Directory Listing
Modified Tue Jul 4 05:03:59 2006 UTC (13 years, 5 months ago) by johnpye
Removed some debug messages from external libraries stuff.
Fixed auto-sim stuff for files given with relative path on the commandline.

Revision 727 - Directory Listing
Modified Tue Jul 4 04:03:37 2006 UTC (13 years, 5 months ago) by johnpye
This change fixes the external relation evaluation! There are definite problems
with convergence but this may be due to tolerences being too fine in ASCEND compared
to freesteam.

Revision 726 - Directory Listing
Modified Mon Jul 3 14:30:26 2006 UTC (13 years, 5 months ago) by johnpye
Matrix evaluation of the jacobian is working now but there is something wrong
with the solver's view of the incidence matrix, or something, as it does
seem to be acting on the values it's receiving.

Revision 725 - Directory Listing
Modified Mon Jul 3 11:52:45 2006 UTC (13 years, 5 months ago) by johnpye
Fixed a *stupid* bug with relation.c in CreateBlackBoxRelation...

Revision 724 - Directory Listing
Modified Mon Jul 3 08:07:04 2006 UTC (13 years, 5 months ago) by johnpye
Fixed bug with rel_instance_to_var

Revision 722 - Directory Listing
Modified Mon Jul 3 06:53:02 2006 UTC (13 years, 5 months ago) by johnpye
changing errors to warnings...

Revision 721 - Directory Listing
Modified Mon Jul 3 06:22:42 2006 UTC (13 years, 5 months ago) by johnpye
Added '--models' option to ascend-config.
Fixed a bug with packages.c wrt generating absolute paths to library files.
Added SCons directives to install header files in INSTALL_INCLUDE subdirs.
Changed rel.c so that init function is only run if provided in the package.
Added 'ospath_getabs' to convert relative paths into absolute paths by adding prefix of fully-resolved '.'

Revision 720 - Directory Listing
Modified Sun Jul 2 01:31:12 2006 UTC (13 years, 5 months ago) by johnpye
ExtRel_MapDataToMtx is working now (seems to be) but the incidences may not be correct,
as the var filter says var is not 'used'.

Revision 719 - Directory Listing
Modified Sat Jul 1 09:35:23 2006 UTC (13 years, 5 months ago) by johnpye
Added 'invars' and 'outvars' pointers (to var_variable pointer arrays) in ExtRelCache.
This will allow the ExtRel_MapDataToMtx function to be reimplemented using solver-side pointers
instead of going back to the arglist stuff in ExtCallNode.

Revision 718 - Directory Listing
Modified Sat Jul 1 05:28:17 2006 UTC (13 years, 5 months ago) by johnpye
Fixed relman_diffs to make call to ExtRel_Diffs_RHS and _LHS (this is 
a bad hack though, just to get the old code working again).

Revision 717 - Directory Listing
Modified Sat Jul 1 03:51:31 2006 UTC (13 years, 5 months ago) by johnpye
Fixed silly bug with extnode on non-blackbox rels

Revision 716 - Directory Listing
Modified Sat Jul 1 03:18:30 2006 UTC (13 years, 5 months ago) by johnpye
Fixed up ExtRel_Evaluate_LHS (was not accessing the arglist correctly),
it seems pretty inefficient at the moment, but we'll persist.

Revision 715 - Directory Listing
Modified Sat Jul 1 03:17:37 2006 UTC (13 years, 5 months ago) by johnpye
Fixed up some memory leaks, hopefully.

Revision 713 - Directory Listing
Modified Fri Jun 30 05:30:41 2006 UTC (13 years, 5 months ago) by johnpye
Removed disused 'cancel' facility in Asc_Panic (replaced it with
a warning saying so).

Revision 712 - Directory Listing
Modified Fri Jun 30 05:18:56 2006 UTC (13 years, 5 months ago) by johnpye
Implemented 'instance_getname' that should return a stringified
version of an enum inst_t (Instance::t).
Some other small -Wall fixes.

Revision 711 - Directory Listing
Modified Thu Jun 29 16:18:54 2006 UTC (13 years, 5 months ago) by johnpye
ExtRel_Evaluate_RHS is working now! (At least for my 1+1=2 example).
Working now on fixing ExtRel_Evaluate_LHS.

Revision 710 - Directory Listing
Modified Thu Jun 29 08:53:37 2006 UTC (13 years, 5 months ago) by johnpye
Added my so-called 'quick fix' to external relation processing.
Still need to pursue corruption of efunc->etype pointer, for some
reason.

Revision 709 - Directory Listing
Modified Wed Jun 28 16:28:57 2006 UTC (13 years, 5 months ago) by johnpye
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 708 - Directory Listing
Modified Tue Jun 27 07:34:31 2006 UTC (13 years, 5 months ago) by johnpye
Replaced some references to ascmalloc with ASC_NEW_ARRAY

Revision 707 - Directory Listing
Modified Tue Jun 27 05:49:11 2006 UTC (13 years, 5 months ago) by johnpye
Lots of tidying up in instantiate.c.
Fixed up some GPL headers.
Changed from 'solver_var' to 'factor' in extfntest.a4c.
Added test for AtomAssigned in extfunc.c.

Revision 704 - Directory Listing
Modified Mon Jun 26 23:00:56 2006 UTC (13 years, 5 months ago) by ben.allan
- fixed a minor bug in the use of dimensions in samplelist
and a #define misuse in ospath.
- defined eolstyle unix on the trunk, as I have encountered
at least 4 too many mixed-eol-style-in-one-file files in trying to 
rebuild today. obviously committer discipline is insufficient.


Revision 703 - Directory Listing
Modified Mon Jun 26 14:04:49 2006 UTC (13 years, 5 months ago) by johnpye
Turned off DEBUG_RELS
Fixed bug with system_build.

Revision 702 - Directory Listing
Modified Mon Jun 26 13:37:58 2006 UTC (13 years, 5 months ago) by johnpye
Missed another outstanding #include to instance.h

Revision 700 - Directory Listing
Modified Mon Jun 26 12:56:55 2006 UTC (13 years, 5 months ago) by johnpye
Removed 'instance.c' (it said we should).
A little bit more work on blackbox_evaluate_residual.

Revision 699 - Directory Listing
Modified Mon Jun 26 10:23:08 2006 UTC (13 years, 5 months ago) by johnpye
Added skeleton 'blackbox_evaluate_residual'...

Revision 698 - Directory Listing
Modified Mon Jun 26 08:08:05 2006 UTC (13 years, 5 months ago) by johnpye
Removed this, inadvertently made it into last commit.

Revision 697 - Directory Listing
Modified Mon Jun 26 07:55:45 2006 UTC (13 years, 5 months ago) by johnpye
Temporarily removed extrel.* from disused dir (to avoid spurious grep)
Commenting and tidying up of some other files related to extrels.

Revision 696 - Directory Listing
Modified Mon Jun 26 04:55:05 2006 UTC (13 years, 5 months ago) by johnpye
Reorganised extcall.h, extfunc.h (mostly just rearranging and commenting)

Revision 695 - Directory Listing
Modified Thu Jun 22 08:12:19 2006 UTC (13 years, 5 months ago) by johnpye
A trivial tweak to the way extrels are written out

Revision 694 - Directory Listing
Modified Thu Jun 22 07:54:53 2006 UTC (13 years, 5 months ago) by johnpye
Lots of tidying up to relation_util code. (Most commments but a 
little refactoring of repeated code chunks.)
Added 'IMPORT' to the Gedit syntax definition.
Added error_reporters in place of some console output.

Revision 693 - Directory Listing
Modified Thu Jun 22 02:54:40 2006 UTC (13 years, 5 months ago) by johnpye
Fixed a problem with external packages when loaded from PyGTK

Revision 692 - Directory Listing
Modified Thu Jun 22 02:45:47 2006 UTC (13 years, 5 months ago) by johnpye
Fixed up behaviour of default ASCENDLIBRARY in python interface (for the case
where you're using ascpy without using the PyGTK GUI).
Removed some debug output when loading external libraries.
Fixed up the 'extfntest' example & SConscript file.

Revision 690 - Directory Listing
Modified Thu Jun 22 00:48:31 2006 UTC (13 years, 5 months ago) by johnpye
Converting some line endings to unix form as part diagnosing the problem
with the current merge from the DAE branch.

Revision 689 - Directory Listing
Modified Thu Jun 22 00:19:54 2006 UTC (13 years, 5 months ago) by johnpye
Added suppression of 'unexpected char' (scanner) and 'generic' (parser) errors.
Removed 'DIFF' stuff from parser and scanner. (It's still in expr_types.h and elsewhere)
Added test case to detect this scanner problem.

Revision 681 - Directory Listing
Modified Wed Jun 21 11:16:59 2006 UTC (13 years, 5 months ago) by johnpye
Found the problem with the autotools build

Revision 680 - Directory Listing
Modified Wed Jun 21 11:14:49 2006 UTC (13 years, 5 months ago) by johnpye
Adding explicit dependency of tarball on 'ascend.spec'.
Use automated creation of SRCS lists in base/generic/general makefile.

Revision 678 - Directory Listing
Modified Wed Jun 21 10:07:54 2006 UTC (13 years, 5 months ago) by johnpye
Added references to integrator, lsode, samplelist to autotools build

Revision 669 - Directory Listing
Modified Wed Jun 21 07:00:45 2006 UTC (13 years, 5 months ago) by johnpye
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 664 - Directory Listing
Modified Wed Jun 14 09:58:42 2006 UTC (13 years, 5 months ago) by johnpye
Fixed bug with pathless resolution of module filenames.

Revision 662 - Directory Listing
Modified Wed Jun 14 09:33:04 2006 UTC (13 years, 5 months ago) by johnpye
module.c switched over to use ospath_searchpath_iterate for REQUIRE statments.
Removed some too-new libglade keywords from ascend.glade.
Fixed up some error messages in scanner.l and library.c.
Corrected some non-terminated string bugs in ospath.c.

Revision 661 - Directory Listing
Modified Wed Jun 14 06:20:50 2006 UTC (13 years, 5 months ago) by johnpye
Cleaned up module.c and some more minor changes to scanner.h and scanner.l commenting.

Revision 660 - Directory Listing
Modified Wed Jun 14 06:03:43 2006 UTC (13 years, 5 months ago) by johnpye
Cleaned up scanner.h header

Revision 652 - Directory Listing
Modified Thu Jun 1 12:06:30 2006 UTC (13 years, 6 months ago) by johnpye
Adding Tcl/Tk interface to the GNOME menu.
Small doc change in slv_common.h.

Revision 648 - Directory Listing
Modified Tue May 30 01:33:37 2006 UTC (13 years, 6 months ago) by johnpye
Changing all token from *_T to *_TOK. This is to prevent a clash with MSVC which defines 'SIZE_T'
in one if its Windows headers. 

Revision 641 - Directory Listing
Modified Mon May 29 06:51:22 2006 UTC (13 years, 6 months ago) by johnpye
Putting back #include <windows.h> in ascConfig.

Revision 640 - Directory Listing
Modified Mon May 29 06:35:14 2006 UTC (13 years, 6 months ago) by johnpye
Fixing bug #267 in trunk.

Revision 639 - Directory Listing
Modified Mon May 29 06:32:42 2006 UTC (13 years, 6 months ago) by johnpye
Fixing up declaration of ascstrdupf_dbg to stop MSVC whinge.

Revision 638 - Directory Listing
Modified Mon May 29 06:28:14 2006 UTC (13 years, 6 months ago) by johnpye
Shifting to alleged ISO C++ form of 'getcwd' command, '_getcwd', for MSVC2005.

Revision 636 - Directory Listing
Modified Mon May 29 06:22:52 2006 UTC (13 years, 6 months ago) by johnpye
Fixed up some other small probs with MSVC2005

Revision 635 - Directory Listing
Modified Mon May 29 06:16:26 2006 UTC (13 years, 6 months ago) by johnpye
Small fix to keep MSVC2005 happy.

Revision 634 - Directory Listing
Modified Sat May 27 05:52:47 2006 UTC (13 years, 6 months ago) by johnpye
The ';' was messing up the build, see
http://buildbot.cruncher2.dyndns.org/ascend-autotools/builds/36/step-compile/0

Revision 633 - Directory Listing
Modified Fri May 26 17:02:31 2006 UTC (13 years, 6 months ago) by ben.allan
ubuntu fix.

Revision 629 - Directory Listing
Modified Wed May 24 04:34:25 2006 UTC (13 years, 6 months ago) by johnpye
Added changes to allow autotools build on ubuntu. There were some wrong assumptions
about file locations that I was able to correct using information in the 
tclConfig.sh and tkConfig.sh files. This will need testing on Fedora/Unix/etc.

Revision 628 - Directory Listing
Modified Wed May 24 01:45:02 2006 UTC (13 years, 6 months ago) by johnpye
Fixed up standard paths stuff to use 'INSTALL_ASCDATA' as the place where tcltk/python/models etc
will live. The confusion here came from the fact that I was taking 'INSTALL_SHARE' to be be assumed
to mean 'the location of /usr/share' -- hence the resulting '$INSTALL_SHARE/ascend' that was bothering
Ben. The 'INSTALL_ASCDATA' fixes this, and behaves as he will like, I hope.

Also note that I have switched the default situation in config.h.in to use relative paths by default,
which is the preferred CMU way. SCons builds will default to absolute paths on non-Windows systems.

Revision 624 - Directory Listing
Modified Thu May 18 15:39:38 2006 UTC (13 years, 6 months ago) by ben.allan
Summary: most of the recent complaints about autotools build fixed,
but the buildbot might find a problem with the scons build/install/rpmbuild.


Details:

configure,Driver.c,utilities/config.h.in:
The choice of INSTALL_DATA as a configure variable name
has been repaired (renamed INSTALL_SHARE); INSTALL_DATA is the unix
canonical name for the program 'install' handling a data file.
Both autotools and scons builds have been updated to reflect this,
in the process correcting the definition from prefix/share to
prefix/share/ascend. 

autotools build:
Added --with-quiet option to make the install of already installed and
unchanged files less verbose.
Put in a workaround for the '' problem in tkConfig.sh seen by KC/JP.
Added --datadir support to autotools configure. If you configure
the autotools --datadir=PREFIX/share/ascend you get the same behavior
as the Pye packaging; by default you get the CMU packaging convention instead.
Added utilities/env.c to build.

compiler:
Turned off AWAL in anontype.c.
Noodling away at blackboxes continues...


Revision 620 - Directory Listing
Modified Thu May 18 06:24:24 2006 UTC (13 years, 6 months ago) by johnpye
Added reporting of invalid units in assignments (inside METHODs)

Revision 619 - Directory Listing
Modified Thu May 18 03:07:51 2006 UTC (13 years, 6 months ago) by johnpye
Working on bug #215...

Revision 618 - Directory Listing
Modified Wed May 17 07:01:09 2006 UTC (13 years, 6 months ago) by johnpye
remove duplicate line

Revision 615 - Directory Listing
Modified Wed May 17 06:29:40 2006 UTC (13 years, 6 months ago) by johnpye
Forced pygtk to share major env vars with base library.
Modified 'can't use this here' error messages.
Added notification when colour codes are being disabled.

Revision 614 - Directory Listing
Modified Wed May 17 05:10:18 2006 UTC (13 years, 6 months ago) by johnpye


Revision 613 - Directory Listing
Modified Wed May 17 05:09:17 2006 UTC (13 years, 6 months ago) by johnpye
Fixing to use temporary filename instead of /tmp/atmlist

Revision 609 - Directory Listing
Modified Tue May 16 04:43:34 2006 UTC (13 years, 6 months ago) by johnpye
Added ospath test to the registration function. Rewrote with short macro-based code.

Revision 608 - Directory Listing
Modified Tue May 16 04:32:46 2006 UTC (13 years, 6 months ago) by johnpye
Fixing ospath tests, hopefully.

Revision 607 - Directory Listing
Modified Tue May 16 04:19:20 2006 UTC (13 years, 6 months ago) by johnpye
Updated license/doc blocks at start of files.
Added test_ospath.c and test_ospath.h.

Revision 605 - Directory Listing
Modified Tue May 16 00:29:51 2006 UTC (13 years, 6 months ago) by johnpye
Completing missing part of RELATIVE_PATHS configuration for SCons, to address bug #262.

Revision 600 - Directory Listing
Modified Fri May 12 14:30:18 2006 UTC (13 years, 6 months ago) by johnpye
Added some missing export symbols. Unfortunately this seems to have caused a segfaul in the CUnit tests.

Revision 599 - Directory Listing
Modified Fri May 12 12:53:57 2006 UTC (13 years, 6 months ago) by johnpye
Fixing up MALLOC_DEBUG to use config.h

Revision 598 - Directory Listing
Modified Fri May 12 12:43:57 2006 UTC (13 years, 6 months ago) by johnpye
woops

Revision 597 - Directory Listing
Modified Fri May 12 12:29:45 2006 UTC (13 years, 6 months ago) by johnpye
Still working on a way to add options to config.h.in such that it doesn't break
autotools.

Revision 596 - Directory Listing
Modified Fri May 12 11:37:24 2006 UTC (13 years, 6 months ago) by johnpye
fixed for scons, can't work out a way to allows @MISSING_SOMETHING@ to fallback safely, unfort.

Revision 595 - Directory Listing
Modified Fri May 12 11:28:44 2006 UTC (13 years, 6 months ago) by johnpye
fixing so that Ben won't need to add this macro to autoconf, hopefully.

Revision 594 - Directory Listing
Modified Fri May 12 11:10:34 2006 UTC (13 years, 6 months ago) by johnpye
Adding configuration option to turn off xterm colours in output.

Revision 593 - Directory Listing
Modified Fri May 12 10:03:59 2006 UTC (13 years, 6 months ago) by johnpye
Bumped version to 0.9.5.91.
Changed WITH_CUNIT_TESTS to WITH_CUNIT.
Added GCOV scons option.
Fixed up 'test' target for SCons.
Added lots of export symbols to libascend.so.


Revision 592 - Directory Listing
Modified Fri May 12 09:50:57 2006 UTC (13 years, 6 months ago) by johnpye
Working on adding some more export symbols, for purpose of getting Jerry's test suite to work with SCons build.

Revision 589 - Directory Listing
Modified Thu May 11 03:10:43 2006 UTC (13 years, 7 months ago) by johnpye
Fixing some malloc bugs.

Revision 588 - Directory Listing
Modified Thu May 11 02:06:46 2006 UTC (13 years, 7 months ago) by johnpye
This fixes the new Driver.c implementation. Now, default values of the environment variables
are specified in the file base/generic/utilities/config.h.in, which should be tooled up with
you configuration process. These default values will be subject to environment substiution,
so that if you set the default ASCENDTK=$ASCENDDIST/TK, that will be expanded *at runtime*.
This is to help with the 'application folder' style of installation off-root.

Revision 587 - Directory Listing
Modified Thu May 11 01:37:08 2006 UTC (13 years, 7 months ago) by johnpye
Fixed a bug with this for copy-in-place.

Revision 586 - Directory Listing
Modified Thu May 11 00:47:54 2006 UTC (13 years, 7 months ago) by johnpye
Working on improving handling of paths.

Revision 585 - Directory Listing
Modified Wed May 10 17:02:21 2006 UTC (13 years, 7 months ago) by johnpye
Making ospath accessible from other libraries. In progress.

Revision 584 - Directory Listing
Modified Wed May 10 16:56:00 2006 UTC (13 years, 7 months ago) by johnpye
Adding these files which will help with the environment variable/default path problem.

Revision 573 - Directory Listing
Modified Tue May 9 01:05:40 2006 UTC (13 years, 7 months ago) by johnpye
No error thrown when slv_set_logincidence is passed a NULL.

Revision 569 - Directory Listing
Modified Tue May 9 00:10:03 2006 UTC (13 years, 7 months ago) by johnpye
Changing from 'tcltk98' to 'tcltk', in progress.

Revision 552 - Directory Listing
Modified Sat Apr 29 08:53:04 2006 UTC (13 years, 7 months ago) by johnpye
Created 'scons install' command that also works for Tcl/Tk interface.
These changes required some modifications to the default values of the environment variables.
Installed Tcl/Tk version now works with only the LD_LIBRARY_PATH env var being required.

Revision 551 - Directory Listing
Modified Sat Apr 29 04:19:17 2006 UTC (13 years, 7 months ago) by johnpye
Added LICENSE.txt to root directory
Fixed a 'const' problem in ospath
Fixed up some variable names and key errors in SConstruct
Modified License-Warranty.tcl in accordance with the recommendations in the GPL.

Revision 545 - Directory Listing
Modified Thu Apr 27 03:14:08 2006 UTC (13 years, 7 months ago) by ben.allan
fixed autotools build for ospath file, config.h.in file.

Revision 543 - Directory Listing
Modified Thu Apr 27 00:04:13 2006 UTC (13 years, 7 months ago) by johnpye
Fix windows behaviour for 'IMPORT "johnpye/extfn/extfntest";'

Revision 542 - Directory Listing
Modified Wed Apr 26 15:15:40 2006 UTC (13 years, 7 months ago) by johnpye
This is a patch to allow statements like "IMPORT johnpye/extfn/extfntest".
It modifies the methods in packages.c. Plan is to reuse the same code for "REQUIRE xxxxxx" statements as well.


Revision 541 - Directory Listing
Modified Wed Apr 26 07:32:13 2006 UTC (13 years, 7 months ago) by johnpye
More work on the ospath.c file, trying to iron out some windows-specific issues
Fixed McGraw-Hill URL in TCL files.
Created platform-specific TCL_LIBPATH so that c:\Tcl\bin is used instead of c:\Tcl\lib for .dlls.

Revision 539 - Directory Listing
Modified Tue Apr 25 23:11:59 2006 UTC (13 years, 7 months ago) by johnpye
Removed references to ascPrintType.h

Revision 535 - Directory Listing
Modified Tue Apr 25 14:55:48 2006 UTC (13 years, 7 months ago) by johnpye
Little more progress on the ospath stuff. Hoping that this can be used to refactor the module (a4c) and external library (.so/.dll) search methods. Still some bugs though.

Revision 534 - Directory Listing
Modified Tue Apr 25 13:25:04 2006 UTC (13 years, 7 months ago) by johnpye
Working on platform-independent pathnames for the IMPORT command.
Added 'ospath.c' to base/generic/general for this purpose.
Patched kvalues and sensitivity to use the 'IMPORT "libname";' syntax
instead of 'IMPORT registerfn FROM libname;'.
Fixed pathnames in create.nsi.
Added GPL header to coupla files.
Added quoting to 'IMPORT' syntax in ascParse.y.
Removed 'PackageOption' from Tcl/Tk related Scons options so that missing Tcl/Tk
doesn't cause breakage.

Revision 530 - Directory Listing
Modified Sat Apr 22 07:52:30 2006 UTC (13 years, 7 months ago) by johnpye
Found the problem with the PyGTK interface: a too-long vsprintf. Changed to vsnprintf.

Revision 529 - Directory Listing
Modified Sat Apr 22 06:26:23 2006 UTC (13 years, 7 months ago) by johnpye
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 526 - Directory Listing
Modified Fri Apr 21 13:47:31 2006 UTC (13 years, 7 months ago) by johnpye
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 525 - Directory Listing
Modified Fri Apr 21 10:41:45 2006 UTC (13 years, 7 months ago) by johnpye
Rolled 'ascPrintType.h' into 'ascPrint.h' for simplicity.

Revision 522 - Directory Listing
Modified Fri Apr 21 07:22:20 2006 UTC (13 years, 7 months ago) by johnpye
Fixed all the missing symbols so that ASCEND Tcl/Tk interface builds with separate 'ascendtcl.dll'.
Split Driver.c across Driver.c and new main.c, which has no Tcl/Tk references.


Revision 521 - Directory Listing
Modified Fri Apr 21 05:35:59 2006 UTC (13 years, 7 months ago) by johnpye
Getting the modular version the Tcl/Tk GUI working. In progress.

Revision 515 - Directory Listing
Modified Thu Apr 20 00:24:34 2006 UTC (13 years, 7 months ago) by ben.allan
commented an endif.

Revision 513 - Directory Listing
Modified Wed Apr 19 14:18:05 2006 UTC (13 years, 7 months ago) by johnpye
Fixing error.h so variadic macros only used in MSVC++ 2005.

Revision 512 - Directory Listing
Modified Wed Apr 19 08:21:13 2006 UTC (13 years, 7 months ago) by wangym
display ASC_SHLIBSUFFIX error only if platform is unknow

Revision 508 - Directory Listing
Modified Wed Apr 19 04:48:32 2006 UTC (13 years, 7 months ago) by johnpye
More fixes for compiling and running on ubuntu 5.10 with GCC:
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

Added ASC_SHLIBSUFFIX and ASC_SHLIBPREFIX which are used in packages.c in preference to platform-specific #ifdefs.


Revision 507 - Directory Listing
Modified Wed Apr 19 02:44:25 2006 UTC (13 years, 7 months ago) by johnpye
Fixing for ubuntu GCC 4

Revision 506 - Directory Listing
Modified Tue Apr 18 14:30:39 2006 UTC (13 years, 7 months ago) by johnpye
The Visual C++ 2005 version now builds without linker errors.
But I ran the installer and it crashed during the first C++ call, so still problems.

Revision 502 - Directory Listing
Modified Tue Apr 18 12:57:30 2006 UTC (13 years, 7 months ago) by johnpye
Added check to see that YACC runs OK.
Fixing build with MSVC++ 2005.
All builds now except for some problems in the SWIG-generated code.

Revision 501 - Directory Listing
Modified Tue Apr 18 12:40:59 2006 UTC (13 years, 7 months ago) by johnpye
Managing GCC visibility is the job of the build too, not ascConfig.h

Revision 500 - Directory Listing
Modified Tue Apr 18 11:55:12 2006 UTC (13 years, 7 months ago) by johnpye
Reduced some runtime debug messages from Python and C++ and base/generic/compiler/type_descio.c.
Fixed up support for GCC Visibility and add SCons 'sniffer' for this.
Fixed a bug with 'fileopenpath' in PyGTK interface (File->Open location is remembered from last time).
Fixed a bug with missing includes in C++.

Revision 498 - Directory Listing
Modified Tue Apr 18 08:07:13 2006 UTC (13 years, 7 months ago) by johnpye
MinGW build fixed and working again.
Changed SConstruct so that if you run SCons from MSYS, SCons won't try to use MV++ tools.
Wrapped extern "C" {} around #include <utilities/ascConfig.h> in pygtk/interface/config.h.in.
Added 'HAVE_LEX' and 'HAVE_YACC' env vars in SCons so that we can be smart about using _no_yacc source.
Changed tcltk98 SCons script so that _no_yacc is switchable.

Revision 495 - Directory Listing
Modified Tue Apr 18 07:25:04 2006 UTC (13 years, 7 months ago) by johnpye
Still trying to get the Lionux build working again. I think it's still broken.

Revision 494 - Directory Listing
Modified Tue Apr 18 07:14:48 2006 UTC (13 years, 7 months ago) by johnpye
Restoring plainqr.c

Revision 493 - Directory Listing
Modified Tue Apr 18 07:11:42 2006 UTC (13 years, 7 months ago) by johnpye
Removing reference to interface.h

Revision 492 - Directory Listing
Modified Tue Apr 18 07:10:01 2006 UTC (13 years, 7 months ago) by johnpye
Incorporating 'extern' into ASC_DLLSPEC

Revision 491 - Directory Listing
Modified Tue Apr 18 07:04:34 2006 UTC (13 years, 7 months ago) by wangym
move unused file to dummy dir

Revision 490 - Directory Listing
Modified Tue Apr 18 06:55:20 2006 UTC (13 years, 7 months ago) by johnpye
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 489 - Directory Listing
Modified Tue Apr 18 06:45:06 2006 UTC (13 years, 7 months ago) by wangym
a warning free for ascDynaLoad.c
winVC8 project update for libascend
add dir dummy to contain dummy file in the future

Revision 488 - Directory Listing
Modified Tue Apr 18 06:08:03 2006 UTC (13 years, 7 months ago) by wangym
warning free for vc compile.

Revision 487 - Directory Listing
Modified Tue Apr 18 06:04:16 2006 UTC (13 years, 7 months ago) by wangym
fix the dll built for win32

Revision 486 - Directory Listing
Modified Tue Apr 18 05:31:35 2006 UTC (13 years, 7 months ago) by johnpye
Adding GCC 'pragma' default hidden symbol visibility.

Revision 485 - Directory Listing
Modified Tue Apr 18 04:47:11 2006 UTC (13 years, 7 months ago) by johnpye
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 483 - Directory Listing
Modified Mon Apr 17 18:20:20 2006 UTC (13 years, 7 months ago) by ben.allan
Rolled back the removal of #include "compiler/*"
from ascParse.y. This broke the vpath build
support for flex/yacc unnecessarily. The
generated c,h files do not live in the source
tree and so the unqualified include file names
are not appropriate.


Revision 480 - Directory Listing
Modified Mon Apr 17 10:45:23 2006 UTC (13 years, 7 months ago) by johnpye
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 478 - Directory Listing
Modified Mon Apr 17 08:10:48 2006 UTC (13 years, 7 months ago) by johnpye
Fixing build for SWIG 1.3.24 (no -O flag)
Adding more debug info to loading output in PyGTK interface/config.py.in
Adding SWIGVERSION flag to SCons env.
Commenting in ascDynaLoad.c and ascParse.y
Adding VERSION to config.py

Revision 477 - Directory Listing
Modified Mon Apr 17 07:21:35 2006 UTC (13 years, 7 months ago) by johnpye
A little reformatting of Ben's added doxygen comments

Revision 475 - Directory Listing
Modified Mon Apr 17 05:46:47 2006 UTC (13 years, 7 months ago) by ben.allan
much more commenting for blackbox relations implementers.

Revision 473 - Directory Listing
Modified Mon Apr 17 04:52:34 2006 UTC (13 years, 7 months ago) by ben.allan
restored the bypass missing yacc capability.

Revision 467 - Directory Listing
Modified Mon Apr 17 03:18:06 2006 UTC (13 years, 7 months ago) by ben.allan
Changed the syntax of import from
IMPORT id FROM id;
to
IMPORT id FROM "quoted/text/lib";
Writing external
METHOD calls via the EXTERNAL methname(arglist);
now works.

Against my better judgement in a few cases,
cleaned up the old EXT statement code from Abbott
to work in a typesafe manner. A better solution
is to get the CALL syntax working as defined in 
the grammar, but this takes a good deal more work
and meanwhile people want to get their phds...

Still some known bugs in relation_util.
I need to commit the test models that go with
the EXT statements. Fixed a bunch of lintish
compiler complaints. Don't try to solve external
models yet.


Revision 466 - Directory Listing
Modified Sun Apr 16 15:07:48 2006 UTC (13 years, 7 months ago) by johnpye
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 463 - Directory Listing
Modified Sun Apr 16 10:18:16 2006 UTC (13 years, 7 months ago) by johnpye
Converting to the new shared-object configuration (on email discussion with Ben)
First stage: PyGTK interface on windows. More to come.

Revision 459 - Directory Listing
Modified Fri Apr 7 08:05:05 2006 UTC (13 years, 8 months ago) by johnpye
Fixing default PackageOption values
Adding --library option to gtkbrowser for ASC_DEVELOPING override of 'models' path.

Revision 456 - Directory Listing
Modified Wed Apr 5 13:35:15 2006 UTC (13 years, 8 months ago) by wangym
move redifinition macros from HAVE_C99 TO MSVC

Revision 455 - Directory Listing
Modified Wed Apr 5 07:50:22 2006 UTC (13 years, 8 months ago) by johnpye
Tidying up some debug output
Fixing up use of icon filenames on Windows
Removing reference to .svg file in glade/ascend.glade

Revision 453 - Directory Listing
Modified Wed Apr 5 06:47:01 2006 UTC (13 years, 8 months ago) by johnpye
Remove default CUnit locations for failsafe 'scons -h' on Windows

Revision 452 - Directory Listing
Modified Wed Apr 5 06:01:25 2006 UTC (13 years, 8 months ago) by johnpye
fixing #ifndef bracket name

Revision 451 - Directory Listing
Modified Wed Apr 5 05:14:20 2006 UTC (13 years, 8 months ago) by johnpye
Got the test suite to compile with SCons. Seems that there are some
serious problems still though.

Revision 444 - Directory Listing
Modified Tue Apr 4 18:14:03 2006 UTC (13 years, 8 months ago) by ben.allan
bettrer error reporting.

Revision 433 - Directory Listing
Modified Tue Apr 4 07:30:54 2006 UTC (13 years, 8 months ago) by ben.allan
got rid of old solaris executable in mtx_test.
fixed buggy perm bits on sourcecode.
put better error reporting in external rel evaluation in compiler.

Revision 431 - Directory Listing
Modified Tue Apr 4 07:20:49 2006 UTC (13 years, 8 months ago) by ben.allan
byby exec bits.

Revision 430 - Directory Listing
Modified Tue Apr 4 07:18:41 2006 UTC (13 years, 8 months ago) by ben.allan
got rid of errant executable bits.

Revision 427 - Directory Listing
Modified Tue Apr 4 04:13:34 2006 UTC (13 years, 8 months ago) by johnpye
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 425 - Directory Listing
Modified Tue Apr 4 01:05:09 2006 UTC (13 years, 8 months ago) by johnpye
Fixed bug #252

Revision 423 - Directory Listing
Modified Mon Apr 3 23:15:49 2006 UTC (13 years, 8 months ago) by ben.allan
Fixed instatiation of blackbox (and probably glassbox)
relations, for poorly tested definitions of 'fix'.
Blackbox evaluation is still broken.

There seems to be some chaos around win32_lean_and_mean
in ascConfig.h

updated reconfig. setenv TKROOT /where/is/tk8.3dir before 
running and all is good.

Revision 421 - Directory Listing
Modified Mon Apr 3 17:26:22 2006 UTC (13 years, 8 months ago) by ben.allan
updated kvalues example to parse and put in model library.
changed import library name to dquote text for more generality.
fixed many, but not all problems in kvalues.c

Revision 414 - Directory Listing
Modified Mon Apr 3 04:55:35 2006 UTC (13 years, 8 months ago) by johnpye
Some progress on getting a MSVC build to work with SCons. Issues with linking still.

Revision 412 - Directory Listing
Modified Mon Apr 3 03:31:30 2006 UTC (13 years, 8 months ago) by johnpye
Trying to fix problems with the parser 'yy' and 'zz' stuff so that it works with SCons and hopefuly autotools at same time.

Revision 411 - Directory Listing
Modified Sun Apr 2 07:05:54 2006 UTC (13 years, 8 months ago) by ben.allan
Restored autotools to working, parsers to typ_ and zz_,
Fixed many missing initializations, many casting insanities
that have been creeping in, many missing forward declarations
in preparation for fixing external relations.


Revision 410 - Directory Listing
Modified Sun Apr 2 06:12:01 2006 UTC (13 years, 8 months ago) by ben.allan
leave it in there.

Revision 409 - Directory Listing
Modified Sun Apr 2 05:51:09 2006 UTC (13 years, 8 months ago) by johnpye
Backed out Ben's #define yylex change. Works again now (tested with Scons only)

Revision 408 - Directory Listing
Modified Sat Apr 1 22:51:06 2006 UTC (13 years, 8 months ago) by ben.allan
Fixed a mouse paste error in the slv system for the vars buf.
Whoever migrated the bufs into the system struct really needs to
turn on -Wall and pay attention to the compiler complaints.

Revision 407 - Directory Listing
Modified Sat Apr 1 21:13:03 2006 UTC (13 years, 8 months ago) by ben.allan
- Fixed missing header and casting problems in initialize.c around
JP FIX implementation.
- Repaired extfunc header declaration-- someone deleted array pointers without asking.
- Repaired casting errors in extfunc.c, probably ala kirk.
- Put in a #define for zz_lval in scanner.h to work around brokenness in flex 2.5.4;
if this breaks something for others, we need a better solution.


Revision 400 - Directory Listing
Modified Fri Mar 31 10:59:36 2006 UTC (13 years, 8 months ago) by johnpye
Almost there with getting Jerry's tests to run. Just sorting out the linking.

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

Revision 392 - Directory Listing
Modified Thu Mar 30 12:36:15 2006 UTC (13 years, 8 months ago) by johnpye
Some fixes to the SCons build:
- adding flags to enable QRSLV and CMSLV by default.
- adding commands to build SWIG library correctly for Python interface.

Revision 390 - Directory Listing
Modified Thu Mar 30 06:41:17 2006 UTC (13 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 (13 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 (13 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 (13 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 (13 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 (13 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 377 - Directory Listing
Modified Wed Mar 15 11:27:22 2006 UTC (13 years, 8 months ago) by johnpye
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 375 - Directory Listing
Modified Wed Mar 15 06:35:50 2006 UTC (13 years, 8 months ago) by johnpye
Removing some debug output

Revision 373 - Directory Listing
Modified Tue Mar 14 08:39:37 2006 UTC (13 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 (13 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 (13 years, 9 months ago) by johnpye
Debugging output for loading external packages.
Export error_reporter to windows DLL (needs testing).

Revision 363 - Directory Listing
Modified Wed Mar 8 04:47:31 2006 UTC (13 years, 9 months ago) by johnpye
Working on fixing Tcl/Tk support

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

Revision 341 - Directory Listing
Modified Wed Mar 1 05:25:23 2006 UTC (13 years, 9 months ago) by johnpye
Added support for default ASCENDLIBRARY value specified in the configure.in script.
This value used in Library(string defaultpath) and and is also passed to ASCEND by
gtkbrowser.py. Getting and setting of environment variables seems pretty messy
but hopefully this will work for now.

Revision 337 - Directory Listing
Modified Wed Mar 1 00:51:23 2006 UTC (13 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 334 - Directory Listing
Modified Tue Feb 28 11:37:59 2006 UTC (13 years, 9 months ago) by johnpye
Ensure error messages find their way into PyGTK output

Revision 332 - Directory Listing
Modified Tue Feb 28 04:39:00 2006 UTC (13 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 326 - Directory Listing
Modified Fri Feb 24 02:03:45 2006 UTC (13 years, 9 months ago) by johnpye
Made QRSlv line search error output to ASCERR (not 'mif')

Revision 306 - Directory Listing
Modified Wed Feb 22 03:30:18 2006 UTC (13 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 (13 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 (13 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 (13 years, 9 months ago) by johnpye
Documentation and indentation changes

Revision 272 - Directory Listing
Modified Sun Feb 5 06:43:19 2006 UTC (13 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 (13 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 (13 years, 10 months ago) by johnpye
Standardising header #ifdef

Revision 239 - Directory Listing
Modified Mon Jan 30 08:13:33 2006 UTC (13 years, 10 months ago) by johnpye
Documentation changes

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

Revision 232 - Directory Listing
Modified Sun Jan 29 14:22:43 2006 UTC (13 years, 10 months ago) by johnpye
Added GPL header

Revision 231 - Directory Listing
Modified Sun Jan 29 14:15:44 2006 UTC (13 years, 10 months ago) by johnpye
Moved some incidence matrix routines to generic/solver from tcltk98.
Documentation changes.
Added (inactive) incidence matrix menu item to PyGTK interface
Fixed autotools make for above changed (need to fix for Jam as well)

Revision 225 - Directory Listing
Modified Fri Jan 27 14:55:43 2006 UTC (13 years, 10 months ago) by johnpye
Added const-ness to 2nd parameter of slv_set_char_parameter.
Implemented setting of int, real and string parameters via PyGTK interface.

Revision 224 - Directory Listing
Modified Fri Jan 27 08:19:51 2006 UTC (13 years, 10 months ago) by johnpye
Correcting a bug with error_reporter macros, reversing change of funciton name in bnd.c

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

Revision 220 - Directory Listing
Modified Wed Jan 25 07:44:41 2006 UTC (13 years, 10 months ago) by johnpye
More doc changes

Revision 219 - Directory Listing
Modified Wed Jan 25 07:41:58 2006 UTC (13 years, 10 months ago) by johnpye
Documentation changes

Revision 216 - Directory Listing
Modified Wed Jan 25 02:12:20 2006 UTC (13 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 214 - Directory Listing
Modified Wed Jan 25 00:25:56 2006 UTC (13 years, 10 months ago) by johnpye
Fixing typo

Revision 206 - Directory Listing
Modified Mon Jan 23 06:46:08 2006 UTC (13 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 (13 years, 10 months ago) by johnpye
Documentation changes

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

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

Revision 202 - Directory Listing
Modified Mon Jan 23 03:56:57 2006 UTC (13 years, 10 months ago) by johnpye
Fixed a problem with NULL passed to slv_set_logincidence

Revision 201 - Directory Listing
Modified Sat Jan 21 03:48:27 2006 UTC (13 years, 10 months ago) by johnpye
Cleaning up a little

Revision 200 - Directory Listing
Modified Sat Jan 21 03:45:15 2006 UTC (13 years, 10 months ago) by johnpye
More crazy macros in slv.c :)

Revision 199 - Directory Listing
Modified Sat Jan 21 02:23:55 2006 UTC (13 years, 10 months ago) by johnpye
Finished adding macros in slv.c.

Revision 198 - Directory Listing
Modified Thu Jan 19 08:14:26 2006 UTC (13 years, 10 months ago) by johnpye
More simplification...

Revision 197 - Directory Listing
Modified Thu Jan 19 07:59:19 2006 UTC (13 years, 10 months ago) by johnpye
Major simplification: wrap up many 'slv_' methods using preprocessor macros.

Revision 195 - Directory Listing
Modified Tue Jan 17 05:49:40 2006 UTC (13 years, 10 months ago) by johnpye
Commenting
Adding coloured output on CONSOLE_DEBUG
Adding test testextfn for monolithic tests of external function calls.

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

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

Revision 187 - Directory Listing
Modified Mon Jan 16 07:45:51 2006 UTC (13 years, 10 months ago) by johnpye
Fixing up documentation for sensitivity.h
Simplifying Makefile.in

Revision 184 - Directory Listing
Modified Fri Jan 13 03:30:09 2006 UTC (13 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 (13 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 (13 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 (13 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 (13 years, 11 months ago) by johnpye
Fixed bug #198

Revision 162 - Directory Listing
Modified Tue Jan 3 06:51:30 2006 UTC (13 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 (13 years, 11 months ago) by johnpye
Changing FPRINTF to error_reporter

Revision 158 - Directory Listing
Modified Mon Jan 2 09:02:52 2006 UTC (13 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 157 - Directory Listing
Modified Fri Dec 23 01:30:46 2005 UTC (13 years, 11 months ago) by johnpye
Adding test for other WHEN branch
Colour highlighting of failed ASSERTs on xterm

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

Revision 153 - Directory Listing
Modified Thu Dec 22 13:53:42 2005 UTC (13 years, 11 months ago) by johnpye
Fixing bug #178.

Revision 152 - Directory Listing
Modified Thu Dec 22 13:26:21 2005 UTC (13 years, 11 months ago) by johnpye
Cosmetic changes to commenting

Revision 151 - Directory Listing
Modified Thu Dec 22 10:58:33 2005 UTC (13 years, 11 months ago) by johnpye
Working on a test case for bug #178

Revision 150 - Directory Listing
Modified Thu Dec 22 09:24:56 2005 UTC (13 years, 11 months ago) by johnpye
Committed changes to C++ solver class to accommodate new slv_lookup_client.
Still seeing bug #178 though.

Revision 149 - Directory Listing
Modified Thu Dec 22 08:51:04 2005 UTC (13 years, 11 months ago) by johnpye
Woops :)

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

Revision 147 - Directory Listing
Modified Thu Dec 22 06:24:16 2005 UTC (13 years, 11 months ago) by ben.allan
added slv_lookup_client which should help resolve misunderstanding #178.

Revision 144 - Directory Listing
Modified Thu Dec 22 04:00:53 2005 UTC (13 years, 11 months ago) by johnpye
Removing trunk/base/jam (it's been replaced by trunk/jam)
Add 'make libs' to autotools build.

Revision 141 - Directory Listing
Modified Thu Dec 22 02:16:37 2005 UTC (13 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 (13 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 (13 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 (13 years, 11 months ago) by johnpye
Changing TEST success to ASC_USER_SUCCESS

Revision 127 - Directory Listing
Modified Tue Dec 20 14:34:32 2005 UTC (13 years, 11 months ago) by johnpye
Improving reporting of Asc_Panic for cases where the GUI is going to be killed.

Revision 126 - Directory Listing
Modified Tue Dec 20 13:27:11 2005 UTC (13 years, 11 months ago) by johnpye
Reformating comments in the SLV files

Revision 124 - Directory Listing
Modified Tue Dec 20 08:32:25 2005 UTC (13 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 (13 years, 11 months ago) by johnpye
Changing 'log' function to 'log10'

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

Revision 118 - Directory Listing
Modified Mon Dec 19 04:16:27 2005 UTC (13 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 117 - Directory Listing
Modified Sun Dec 18 15:29:05 2005 UTC (13 years, 11 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 (13 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 108 - Directory Listing
Modified Tue Dec 13 05:53:20 2005 UTC (13 years, 11 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 (13 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 102 - Directory Listing
Modified Sat Dec 10 13:53:20 2005 UTC (13 years, 11 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 (13 years, 11 months ago) by jds
A little more progress killing compiler warnings.

Revision 100 - Directory Listing
Modified Fri Dec 9 23:25:15 2005 UTC (14 years 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 (14 years ago) by jds
Stupid backslash habit.

Revision 98 - Directory Listing
Modified Fri Dec 9 10:32:18 2005 UTC (14 years 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 (14 years 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 (14 years ago) by johnpye
Fixing bug #162

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

Revision 86 - Directory Listing
Modified Wed Dec 7 04:38:54 2005 UTC (14 years 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 (14 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 82 - Directory Listing
Modified Tue Dec 6 08:56:24 2005 UTC (14 years ago) by johnpye
Minor fixes

Revision 77 - Directory Listing
Modified Tue Dec 6 04:06:12 2005 UTC (14 years 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 (14 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 75 - Directory Listing
Modified Sat Dec 3 11:53:13 2005 UTC (14 years ago) by jds
Bug fix - compile gl_set_expandable() always.

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

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

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

Revision 67 - Directory Listing
Modified Wed Nov 30 16:31:29 2005 UTC (14 years 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 (14 years ago) by johnpye
Fixing a typo

Revision 65 - Directory Listing
Modified Wed Nov 30 09:31:55 2005 UTC (14 years 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 (14 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 (14 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 (14 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 60 - Directory Listing
Modified Mon Oct 31 03:39:15 2005 UTC (14 years, 1 month 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 (14 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 56 - Directory Listing
Modified Sat Oct 1 00:22:50 2005 UTC (14 years, 2 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 (14 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 (14 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 53 - Directory Listing
Modified Fri Jul 1 15:06:17 2005 UTC (14 years, 5 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 (14 years, 6 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 (14 years, 7 months 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 (14 years, 8 months 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 (14 years, 8 months 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 (14 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 (14 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 42 - Directory Listing
Modified Wed Feb 9 17:36:43 2005 UTC (14 years, 9 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 (14 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 (14 years, 11 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 (14 years, 11 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 (14 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 (14 years, 11 months ago) by aw0a
updating configure.in - still not correct

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

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

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

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

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

Revision 18 - Directory Listing
Modified Tue Dec 7 20:53:37 2004 UTC (15 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 (15 years ago) by ben.allan
replaced nonportable strdup with ascend equivalent.

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

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