Log of /trunk/tcltk/interface
Directory Listing
Revision
2065 -
Directory Listing
Modified
Tue Jul 7 00:17:03 2009 UTC
(15 years, 3 months ago)
by
jpye
Cleaned up SimsProc.h (removing old <!-- comments -->).
Fixed up some svn:ignore flags.
Revision
2038 -
Directory Listing
Modified
Tue May 19 07:49:36 2009 UTC
(15 years, 4 months ago)
by
jpye
Working on bug 395... does this solve the problem, simply?
Revision
2036 -
Directory Listing
Modified
Mon May 18 15:03:16 2009 UTC
(15 years, 4 months ago)
by
ballan
issues resolved:
295
390
301
cmslv.c: unused var cleanup.
lsode/SConscript: fortran flags bugs-- may not work with 0.9x scons.
works with 1.2+. when adding -w, or any special flags, be sure to add
them and not replace the original flag.
system/var.c: 64bit clarity.
system/discrete.c: 64bit clarity.
system/analyze*: g_reuse declared in wrong place. 64bit clarity
system/diffvars: missing prototype function, 64bit clarity.
compiler/numlist.*: changed from int to glint.
compiler/simlist.c: missing includes needed for 64bit clarity.
compiler/instance_io.c: missing includes needed for 64bit clarity.
compiler/initialize.[ch]: const clarifications.
compiler/packages.c: const clarifications.
compiler/module.c: const clarifications.
compiler/statio.c: unused var cleanup.
compiler/procframe; const clarification. memory deallocation bugs.
compiler/notequery.c: repaired multiple casting and 64bit issues.
compiler/importhandler.c: const and free issues fixed.
compiler/type_desc.c: ridiculous if constructs clarified.
compiler/createinst.c: casting stupidity repaired.
linear/ranki2.c: missing includes needed for 64bitness.
solver/solver.c: const issues clarified.
utilities/ascConfig.h: added GLint typedefs for dealing with gllist
64bit portability.
utilities/ascPanic.c: removed extraneous const.
general/ospath.c: safer,quieter handling for string pointer difference.
integrator/integrator.c: const issues clarified.
packages/sensitivity.c: missing includes needed fo 64bit sanity.
tcltk/interface/Integrators.c: 64 bitness.
tcltk/interface/SimsProc.c: const errors.
tcltk/interface/Driver.c: fixed env var handling wrt ascend-config (295)
models/test/z*a4c: fixed meters -> m conversion; someone never ran the
test suite after teasing the default units to ambiguous abbreviations.
SConstruct: added sizeof checks; output might be better put in a ascend
system-wide header.
Revision
2029 -
Directory Listing
Modified
Thu Apr 30 09:19:48 2009 UTC
(15 years, 5 months ago)
by
jpye
Fixed a few problems with ABSOUTE_PATHS that emerged during packaging.
Updated .spec file.
Forced use of ABSOLUTE_PATHS in deb package.
Revision
2025 -
Directory Listing
Modified
Thu Apr 30 02:15:05 2009 UTC
(15 years, 5 months ago)
by
jpye
Fixed up Tcl/Tk GUi to work with both ABSOLUTE_PATHS=1 and =0.
Revision
2024 -
Directory Listing
Modified
Wed Apr 29 09:29:27 2009 UTC
(15 years, 5 months ago)
by
jpye
Fixing up Tcl/Tk build with renamed dirs.
Revision
2023 -
Directory Listing
Modified
Wed Apr 29 06:22:49 2009 UTC
(15 years, 5 months ago)
by
jpye
Remove old makefiles.
Revision
1787 -
Directory Listing
Modified
Sat Jun 7 06:32:58 2008 UTC
(16 years, 4 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
Fixed against Tcl/Tk on Fedora 9.
Removed lots more env.Copy(), change to env.Clone() for newer SCons.
Revision
1684 -
Directory Listing
Modified
Thu Dec 20 22:30:30 2007 UTC
(16 years, 9 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
Added test cases to instantiate models using the compiler, and test for resulting child instances etc.
Changed most 'AddSymbolL' to 'AddSymbol' (to reduce use of magic #s).
Cleaned up a few #include lists.
Renamed 'Asc_DeAllocSim' to 'sim_destroy'.
Removed some CVS 'lint'.
Removed 'SimsProc' commenting from 'simlist.c'.
Added some missing #includes in .h files (FWIW).
Removed the 'STATIC_xxx' headers from base/generic/solver/SConscript.
Revision
1679 -
Directory Listing
Modified
Wed Dec 19 06:20:49 2007 UTC
(16 years, 9 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
Moved 'incidence.c' and 'incidence.h' to base/generic/system.
Change system_write_graph to use GraphViz directly, and create PNG output.
Created 'TestSystem' suite in test.py and added test for PNG graph create (no checking performed though so far).
Updated Simulation::write to use the new system_write_graph syntax (no filters any more).
Fixed WITH_GRAPHVIZ flags for graph.c.
Revision
1557 -
Directory Listing
Modified
Thu Jul 26 13:57:49 2007 UTC
(17 years, 2 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
Added 'UPDATE_NO_YACC_LEX' option to SCons to stop _no_* files being updated
all the time.
Minor commenting in asc_ipopt.
Fixed ascend-config for case where -I/usr/include or -L/usr/lib.
Revision
1552 -
Directory Listing
Modified
Tue Jul 24 08:43:23 2007 UTC
(17 years, 2 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
Fixed detection of web browser on Windows (no need for Win32 python package now).
Removing SUNDIALS_* flags where not needed.
Removing debug output about not having YACC or LEX.
Fixing typelex for case of LEX missing (tested with Windows).
Revision
1540 -
Directory Listing
Modified
Sun Jul 15 03:59:23 2007 UTC
(17 years, 2 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
Reorganising CONOPT binding so that building support for CONOPT is possible without it being installed.
Revision
1524 -
Directory Listing
Modified
Sat Jun 30 23:21:49 2007 UTC
(17 years, 3 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
changed to ASC_ENV_SOLVERS and ASC_ENV_LIBRARY in C code.
Rerranged order of Tcl/Tk initialisation so that path env vars are set before solvers are loaded.
Revision
1520 -
Directory Listing
Modified
Sat Jun 30 01:23:36 2007 UTC
(17 years, 3 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
Fixing for missing yacc/lex on Windows, auto-update of them when yacc/lex *are* avail.
Fixing 'test.py' operation on Windows (ASCENDSOLVERS env var)
Adding missing ida.dll to installer.
Adding some missing export symbols in libascend.
Revision
1495 -
Directory Listing
Modified
Mon Jun 11 07:32:03 2007 UTC
(17 years, 4 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
Fixed missing symbol exports for building on Windows.
External solvers are working fine in the PyGTK interface.
A bug appears to be present in the Tcl/Tk interface.
Revision
1435 -
Directory Listing
Modified
Sun May 20 16:58:44 2007 UTC
(17 years, 4 months ago)
by
ballan
Original Path:
trunk/tcltk/generic/interface
updated the makefile stuff to work in the current dir structure.
still lots of problems with the install target and now doing
the evil double link because the directories
system, linear, and solver really are NOT independent.
Revision
1412 -
Directory Listing
Modified
Mon Apr 23 13:55:28 2007 UTC
(17 years, 5 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
Fixed problem with Driver.c in ABSOLUTE_PATHS case.
Updated changelog and spec file for new 0.9.5.108 release.
Revision
1380 -
Directory Listing
Modified
Fri Apr 6 04:07:32 2007 UTC
(17 years, 6 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
Fixed build problem on MinGW GCC 3.4.2
Fixed problem with font in IPython console on Windows
Some attempts to fix problems with FILE* support in Python bindings
gfortran is now the preferred FORTRAN compiler.
Comment out failing FILE* tests for the moment.
Revision
1353 -
Directory Listing
Modified
Sun Mar 18 01:48:40 2007 UTC
(17 years, 6 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
Removed some redundant #include statments.
Added some explanation of testtmy.a4c (although currently broken with IDA).
Revision
1337 -
Directory Listing
Modified
Sat Mar 10 12:33:15 2007 UTC
(17 years, 7 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
Added support for detection of boundary crossing in the IDA integrator.
Cleared up some code comments and formatting.
Revision
1320 -
Directory Listing
Modified
Tue Mar 6 12:15:21 2007 UTC
(17 years, 7 months ago)
by
jpye
Original Path:
trunk/tcltk/generic/interface
Eliminated linsol, slv0 and slv1: moved the original files to 'disused' and editing out
all reference to them in solvers and related code (including some Tcl/Tk wrapper code)
Revision
1316 -
Directory Listing
Modified
Mon Mar 5 07:22:21 2007 UTC
(17 years, 7 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Another one of these big refactorings. Split out 'system' directory from 'solver' directory. This will need more work
but it's a start at getting the non-solver-specific code out separately.
Revision
1252 -
Directory Listing
Modified
Sat Jan 27 06:29:17 2007 UTC
(17 years, 8 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Removed the 'command line solver' from the Tcl/Tk interface.
Deactivated the 'plot' command in slv_interface.
Eliminated various #include <compiler/*> from the solver.
Added another sample model (which current fails because of problem with non-incident diff vars.
Revision
1228 -
Directory Listing
Modified
Thu Jan 25 06:57:40 2007 UTC
(17 years, 8 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Added getParameter by name in SolverParameters.
Fixed up refences to signal-related header files.
Fixed up various warnings from -pedantic compilation.
Identified an apparent bug with RelationCalcGradient (unsafe version).
Added support for compilation of a standalone C++ program (idatest) in SCons build.
Revision
1183 -
Directory Listing
Modified
Sat Jan 20 09:15:51 2007 UTC
(17 years, 8 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Huge reorganisation -- all mtx and lin files moved to base/generic/linear.
Required many #include statements to be changed.
Revision
1142 -
Directory Listing
Modified
Mon Jan 15 06:46:44 2007 UTC
(17 years, 8 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Got paranoid about turning off signal handling... added '#ifdef ASC_SIGNAL_TRAPS' anywhere that signal handling referenced.
Signal handling is OFF by default now.
Revision
1071 -
Directory Listing
Modified
Tue Jan 9 00:29:16 2007 UTC
(17 years, 9 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Removed some outstanding references to g_ascend_errors (see #ifdef REIMPLEMENT_STREAMS)
Added a check in integrator.cpp for badly formed integrator_get_engines() return.
Revision
1069 -
Directory Listing
Modified
Mon Jan 8 11:25:33 2007 UTC
(17 years, 9 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Added scons switch IDA_NEW_ANALYSE for the new code that implements a better DAE analysis procedure.
Minor tidying in list.[ch]
Removed some DIEDIEDIE stuff from analyze.c.
Added 'odeid' to the 'varip' structure in same.
Collapsed a bunch of repetitive stuff with those fancy #defines I like so much.
Flipped some return codes from functions integrator.c to return 0 on success.
Added #include for sensitivity.h in lsode.c.
Catch exceptions from sim.build() in do_integrate() in PyGTK GUI.
Attempted to fix tcl/tk for errors from integrator_analyse as well (not tested).
Revision
1064 -
Directory Listing
Modified
Sun Jan 7 09:15:56 2007 UTC
(17 years, 9 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Replaced all Asc_Panic calls with ASC_PANIC, which includes __FUNCTION__, __FILE__, __LINE__ reporting.
Revision
1063 -
Directory Listing
Modified
Sun Jan 7 07:54:06 2007 UTC
(17 years, 9 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Changed ASC_DLLSPEC(TYPE) to ASC_DLLSPEC TYPE, because it was causing havoc with doxygen and ctags.
Revision
1046 -
Directory Listing
Modified
Fri Jan 5 11:15:16 2007 UTC
(17 years, 9 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Several changes to get BinToken compilation active again from PyGTK interface. Still not working but the problems now are in the C layer.
Tidied doc for slvDOF.h
Changed BinTokenSetOptions to saner use of strings -- no more 'taking ownership' of char arrays passed.
Added Compiler.use_binary_compilation option in PyGTK GUI.
Moved all the bintoken stuff out of class Type and into Compiler, where it should be (C++).
Revision
1002 -
Directory Listing
Modified
Sat Dec 30 14:27:47 2006 UTC
(17 years, 9 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Some work on fixing error with test_ascSignal.
Breaking down into smaller test cases.
Removed some debug output from detection of ASC_RESETNEEDED.
Changed all calls 'signal' to 'SIGNAL' macro that includes optional debug output.
Removed 'libasctest.so' (made part of libasctestsuite.so FWIW)
Fixed big in test.c wrt CUEA_ABORT.
Added 'print_stack' and 'Asc_SignalPrintStack' and 'Asc_SignalStackLength'.
Revision
997 -
Directory Listing
Modified
Sun Dec 24 01:33:59 2006 UTC
(17 years, 9 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Refactored tests into a shared library of tests and a executable of
just the CUnit driver. This will allow the CUnit test suite to be executed via
python unittest as part of the growing Python-based test suite.
Renamed setjmp and longjmp to SETJMP and LONGJMP throughout ASCEND, to allow
some debugging output to be added at each call.
Revision
977 -
Directory Listing
Modified
Wed Dec 20 00:39:52 2006 UTC
(17 years, 9 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Abstracted the internal integrator calls into a struct IntegratorInternals.
Fixed up compile-time list of integrators.
If IDA is not available, then 'INTEG_IDA' will not be defined.
Added ASC_ASSERT_RANGE for assertions x in [low,high).
Changed calling convention for integrator_get_engines().
Revision
912 -
Directory Listing
Modified
Fri Oct 27 07:18:21 2006 UTC
(17 years, 11 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Removed BBOXWHINE (replaced with some one-time-only warnings for the moment)
Added ExtMethodDestroyFn to allow 'user_data' associated with external methods to be destroyed.
Implemented the destroy fn through to 'extpy' module.
Added 'name' as an extra parameter in the user_data for extpy, to help with debug msgs.
Moved 'solvernotes' to a file of its own (was part of listnotes.py)
Added 'repaint' to GTK 'tools' menu (for debugging)
Added 'python.h' to top of library, type files (pygtk) to stop silly warnings.
Working on some diagnosing of problems as noted in Simulation::checkInstance.
Removed some old comments from namio.h and others.
Renamed 'blsys' to 'sys' in integrator.c.
Some work on fixing up the J*v function for IDA (not yet complete).
Added new 'destroyfn' parameter (as NULL) to all calls to 'CreateUserFunctionMethod'.
Revision
744 -
Directory Listing
Modified
Thu Jul 6 15:24:59 2006 UTC
(18 years, 3 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Fixed remaining compilation problems with MSVC++.
The installed ASCEND crashes with Tcl/Tk though, probably due to my changes in LibraryProc.c?
Revision
742 -
Directory Listing
Modified
Thu Jul 6 13:47:41 2006 UTC
(18 years, 3 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
I think this almost resolves all the Visual C++ issues.
Just an outstanding issue with the use of the option struct in LibraryProc.c
eg use of &g_compiler_warnings in initialiser.
Revision
731 -
Directory Listing
Modified
Tue Jul 4 07:42:06 2006 UTC
(18 years, 3 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Removed some debug messages.
Fixed up return values for Integrators functions to comply with integrator.c API.
Revision
690 -
Directory Listing
Modified
Thu Jun 22 00:48:31 2006 UTC
(18 years, 3 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Converting some line endings to unix form as part diagnosing the problem
with the current merge from the DAE branch.
Revision
670 -
Directory Listing
Modified
Wed Jun 21 07:57:19 2006 UTC
(18 years, 3 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
woops, somehow managed to fail to merge the stuff from the DAE branch (changeset 702 to 819)
into the trunk. This should correct that.
Revision
629 -
Directory Listing
Modified
Wed May 24 04:34:25 2006 UTC
(18 years, 4 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
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
(18 years, 4 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
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
626 -
Directory Listing
Modified
Thu May 18 16:46:52 2006 UTC
(18 years, 4 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
Ben -- reversing out these changes to Driver.c. These are critical to
the correct working of the RPM. I had expected that you wouldn't be
interested in the stuff except for 'RELATIVE_PATHS' which is your
CMU Way Of Doing Things.
Revision
624 -
Directory Listing
Modified
Thu May 18 15:39:38 2006 UTC
(18 years, 4 months ago)
by
ben.allan
Original Path:
trunk/tcltk/generic/interface
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
588 -
Directory Listing
Modified
Thu May 11 02:06:46 2006 UTC
(18 years, 5 months ago)
by
johnpye
Original Path:
trunk/tcltk/generic/interface
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
583 -
Directory Listing
Modified
Tue May 9 19:14:25 2006 UTC
(18 years, 5 months ago)
by
ben.allan
Original Path:
trunk/tcltk/generic/interface
Fixed the problems for Art/Krishnan/Ben and reverted
the undiscussed install tree change.
If an alternate installed location is to be used, install a shell
script which sets ASCENDTK before invoking ascend, don't just randomly
change the driver code to be something it's not
supposed to be.