/[ascend]/trunk/tcltk98
ViewVC logotype

Log of /trunk/tcltk98

View Directory Listing Directory Listing


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

Revision 541 - Directory Listing
Modified Wed Apr 26 07:32:13 2006 UTC (13 years, 9 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 540 - Directory Listing
Modified Tue Apr 25 23:57:49 2006 UTC (13 years, 9 months ago) by johnpye
Fixing SCons Tcl/Tk build on Windows.

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

Revision 538 - Directory Listing
Modified Tue Apr 25 22:49:54 2006 UTC (13 years, 9 months ago) by ben.allan
tk84 is at least contemplatable now. don't know
what other errors lurk.

Revision 536 - Directory Listing
Modified Tue Apr 25 15:59:51 2006 UTC (13 years, 9 months ago) by ben.allan
added main.c to autotools build.

Revision 528 - Directory Listing
Modified Sat Apr 22 06:07:09 2006 UTC (13 years, 10 months ago) by ben.allan
start of an 84 port.

Revision 523 - Directory Listing
Modified Fri Apr 21 07:25:02 2006 UTC (13 years, 10 months ago) by johnpye
This was the script used to add missing symbols to the library. Maybe it will be useful again sometime.

Revision 522 - Directory Listing
Modified Fri Apr 21 07:22:20 2006 UTC (13 years, 10 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, 10 months ago) by johnpye
Getting the modular version the Tcl/Tk GUI working. In progress.

Revision 520 - Directory Listing
Modified Fri Apr 21 02:44:08 2006 UTC (13 years, 10 months ago) by johnpye
Fixed missing ':' in Tcl/Tk SConscript
Updated AscBitmaps.h header docs, GPL statement.

Revision 516 - Directory Listing
Modified Thu Apr 20 08:07:53 2006 UTC (13 years, 10 months ago) by ben.allan
foo

Revision 498 - Directory Listing
Modified Tue Apr 18 08:07:13 2006 UTC (13 years, 10 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 492 - Directory Listing
Modified Tue Apr 18 07:10:01 2006 UTC (13 years, 10 months ago) by johnpye
Incorporating 'extern' into ASC_DLLSPEC

Revision 490 - Directory Listing
Modified Tue Apr 18 06:55:20 2006 UTC (13 years, 10 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 485 - Directory Listing
Modified Tue Apr 18 04:47:11 2006 UTC (13 years, 10 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 464 - Directory Listing
Modified Sun Apr 16 12:49:48 2006 UTC (13 years, 10 months ago) by johnpye
Building Tcl/Tk with dynamic linking to shared libascend.dll.
Still some problems.

Revision 460 - Directory Listing
Modified Tue Apr 11 01:08:58 2006 UTC (13 years, 10 months ago) by johnpye
Fixing for 'STATIC_TKTABLE' flags for Fedora Core 5

Revision 432 - Directory Listing
Modified Tue Apr 4 07:20:50 2006 UTC (13 years, 10 months ago) by johnpye
Fixed again to work on Linux with Tcl/Tk installed in the default locations /usr/lib etc.

Revision 429 - Directory Listing
Modified Tue Apr 4 06:58:44 2006 UTC (13 years, 10 months ago) by johnpye
Removed the support for the CreateConsole, since it wasn't working under MinGW.
The Tcl/Tk GUI shows up now on MinGW. You need to explicitly set ASCENDTK,
ASCENDLIBRARY and ASCENDBITMAPS environment variables before you launch.

Revision 428 - Directory Listing
Modified Tue Apr 4 06:41:25 2006 UTC (13 years, 10 months ago) by johnpye
Much progress on the MinGW build of the Tcl/Tk interface. Builds and links now,
just having some problems getting the DLLs for Tcl/Tk to resolve at runtime.

Revision 412 - Directory Listing
Modified Mon Apr 3 03:31:30 2006 UTC (13 years, 10 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, 10 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 390 - Directory Listing
Modified Thu Mar 30 06:41:17 2006 UTC (13 years, 10 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 389 - Directory Listing
Modified Thu Mar 30 06:24:10 2006 UTC (13 years, 10 months ago) by johnpye
Cleaning up #includes in the Tcl/Tk interface. Doing this
all as a group so that it can be reversed out if necessary.

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

Revision 231 - Directory Listing
Modified Sun Jan 29 14:15:44 2006 UTC (14 years 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 (14 years 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 216 - Directory Listing
Modified Wed Jan 25 02:12:20 2006 UTC (14 years 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 170 - Directory Listing
Modified Fri Jan 6 08:55:06 2006 UTC (14 years, 1 month 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 142 - Directory Listing
Modified Thu Dec 22 03:12:51 2005 UTC (14 years, 2 months ago) by johnpye
Complete Tcl/Tk build of ASCEND under Linux
No installation of model files though.

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

Revision 129 - Directory Listing
Modified Tue Dec 20 20:22:56 2005 UTC (14 years, 2 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 123 - Directory Listing
Modified Mon Dec 19 06:59:40 2005 UTC (14 years, 2 months ago) by johnpye
Changing 'log' function to 'log10'

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

Revision 114 - Directory Listing
Modified Fri Dec 16 00:20:44 2005 UTC (14 years, 2 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 113 - Directory Listing
Modified Thu Dec 15 03:59:55 2005 UTC (14 years, 2 months ago) by ben.allan
added slv_[un]trapint tcl callbacks which can be used to turn off
ctrl-c trapping of the commandline. in theory this will help gdb.
Note: traps are handled on a stack, so to guarantee the sigint
stack is empty, use slv_untrapint untill you get an error message:
        ascSignal.c:437: Asc_Signal (2) stack pop mismatch.



Revision 98 - Directory Listing
Modified Fri Dec 9 10:32:18 2005 UTC (14 years, 2 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 (14 years, 2 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 89 - Directory Listing
Modified Wed Dec 7 15:44:43 2005 UTC (14 years, 2 months ago) by johnpye
Small changes to eliminate GCC warnings

Revision 67 - Directory Listing
Modified Wed Nov 30 16:31:29 2005 UTC (14 years, 2 months 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 (14 years, 2 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 60 - Directory Listing
Modified Mon Oct 31 03:39:15 2005 UTC (14 years, 3 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 (14 years, 3 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 58 - Directory Listing
Modified Sat Oct 1 18:10:03 2005 UTC (14 years, 4 months ago) by jds
- Minor changes to AscPrintTcl.c and Driver.c to compile on Linux
- Add Watcom support to jam/Jambase
- Add release_notes subdirectory to tcltk98 for notes, licenses, etc.

Revision 57 - Directory Listing
Modified Sat Oct 1 01:38:26 2005 UTC (14 years, 4 months ago) by jds
Minor jam updates.

Revision 56 - Directory Listing
Modified Sat Oct 1 00:22:50 2005 UTC (14 years, 4 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, 5 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, 6 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 52 - Directory Listing
Modified Sat May 21 06:14:31 2005 UTC (14 years, 9 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 51 - Directory Listing
Modified Sat May 14 01:33:48 2005 UTC (14 years, 9 months ago) by jds
Minor upgrade to jam build files (correct typo in compiler selection logic).

Revision 50 - Directory Listing
Modified Tue Apr 19 07:55:06 2005 UTC (14 years, 10 months ago) by jds
Minor updates:

jam/Jambase
Fixed msvc include path to include Platform SDK headers

tcltk98/jam/Jamfile
Fixed MinGW executable build so console window not created

tcltk98/generic/interface/AscPrintTcl.c
Removed redundant return in Asc_PrintInit_TclVtable() from previous edit

Revision 49 - Directory Listing
Modified Tue Apr 12 23:36:01 2005 UTC (14 years, 10 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, 10 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, 10 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 46 - Directory Listing
Modified Fri Mar 25 03:26:12 2005 UTC (14 years, 10 months ago) by jds
Minor updates to readme files for jam build system.

Revision 45 - Directory Listing
Modified Sat Mar 5 01:53:39 2005 UTC (14 years, 11 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, 11 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 43 - Directory Listing
Modified Wed Feb 16 21:13:33 2005 UTC (15 years ago) by jds
Minor update to jam build files.

Revision 40 - Directory Listing
Modified Sat Jan 22 14:22:13 2005 UTC (15 years, 1 month 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 (15 years, 1 month ago) by aw0a
corrections to make ascend compile in parallel tree

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

Revision 28 - Directory Listing
Modified Thu Dec 9 18:54:52 2004 UTC (15 years, 2 months ago) by aw0a
corrected Driver.c to point at correct models subdirectory

Revision 21 - Directory Listing
Modified Thu Dec 9 02:03:34 2004 UTC (15 years, 2 months ago) by aw0a
fixed environment vars

Revision 19 - Directory Listing
Modified Tue Dec 7 20:55:18 2004 UTC (15 years, 2 months ago) by aw0a
updating Makefiles in tcl/interface stuff

Revision 17 - Directory Listing
Modified Tue Dec 7 17:37:58 2004 UTC (15 years, 2 months ago) by aw0a
moved interface directory one level deeper in tree

Revision 14 - Directory Listing
Modified Thu Nov 18 06:17:50 2004 UTC (15 years, 3 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 10 - Directory Listing
Added Sat Nov 13 16:40:11 2004 UTC (15 years, 3 months ago) by aw0a
try again to commit moving tcl stuff

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