Log of /trunk/base/generic/compiler
Directory Listing
Revision
1032 -
Directory Listing
Modified
Thu Jan 4 01:51:38 2007 UTC
(17 years, 8 months ago)
by
johnpye
Added a necessary export symbol in extcall for used by bboxtest.
Broke apart Ben's z-bbox test suite and added it to the Python tests.
Revision
1031 -
Directory Listing
Modified
Wed Jan 3 15:33:23 2007 UTC
(17 years, 8 months ago)
by
johnpye
Merging Ben's changes from trunk, changeset 1105 to changeset 1234.
This breaks Python test suite TestExtFn, so will need investigation.
Revision
1027 -
Directory Listing
Modified
Wed Jan 3 12:46:37 2007 UTC
(17 years, 8 months ago)
by
johnpye
Fixing bug with importhandler_setsharedpointer (you need to RemoveTableData if you want to overwrite a value)
Minor correction to (not fully implemented) importhandler_destroylibrary for case where library is NULL.
Revision
1026 -
Directory Listing
Modified
Wed Jan 3 12:03:08 2007 UTC
(17 years, 8 months ago)
by
johnpye
Working on tracking down a segfault occuring when TestIDADENSE and TestExtFn test suites are run together.
Added comments about new solverparameter macros.
Revision
997 -
Directory Listing
Modified
Sun Dec 24 01:33:59 2006 UTC
(17 years, 8 months ago)
by
johnpye
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
979 -
Directory Listing
Modified
Wed Dec 20 14:34:16 2006 UTC
(17 years, 8 months ago)
by
johnpye
Added simplified ASC_PANIC call that uses var-args, added throughout relation_util.c.
Fixed var_filter_t stuff in djex and fvex.
More assertions in integrator.c
Added output of initial state from lsode.c (hoping that's a good idea?)
Fixed output code from relman_diff2.
Added asc_panic_nofunc for non var-arg CPPs.
Disabled -O3 flag in building C++ API
Added __getitem__ and __getattr__ methods in Simuluation for simplified python syntax (eg M.x instead M.sim.x)
Integrator::analyse throws exceptions on error now.
Revision
978 -
Directory Listing
Modified
Wed Dec 20 10:26:04 2006 UTC
(17 years, 8 months ago)
by
johnpye
Failed 'ASSERT' statements in a METHOD now cause the statement to be output (as well as its location).
Improved code docs/GPL header for a few files.
Added support for 'ASSERT' in WriteStatement.
Added new WriteStatementError that included var-arg support.
Fixed ASC_ASSERT_RANGE in AscPanic.
Revision
969 -
Directory Listing
Modified
Tue Dec 19 00:57:26 2006 UTC
(17 years, 9 months ago)
by
johnpye
Added placeholder for a C version of Art's DAE solver (named 'AWW')
Added support for SPBCG and SPTFQMR Krylov solvers in IDA.
Attempted separation of ascpy.i and solver.i (ongoing)
Fixed an error message in typedef.c
Fixed typo in ivpStepN.tcl
Added correctly hidden Simulation() ctor.
Revision
968 -
Directory Listing
Modified
Mon Dec 18 05:49:00 2006 UTC
(17 years, 9 months ago)
by
johnpye
Added SCons tests to check SIGINT and to replace ascresetneeded (need replacement for this in Autoconf as well).
Removed debugging from createinst.c
Typo (text) in evaluate.c
Commented out redundant code in importhandler.c
Added signal handling in ExecuteCASGN.
Added missing ospath_free in ModuleSearchPath.
Exported InitSymbolTable, DestroySymbolTable in symtab (dubious)
Moved FPRESET macro out of ascConfig.h and into ascSignal.h
Added Asc_SignalHandler{Push,Pop}Default.
Added ASC_RESETNEEDED and HAVE_C99FPE macros in config.h.in.
Found the bug causing the SIGFPE in idakryx.a4c (raises a question about int/float division in modelling, I think)
Added system_destroy call in Simulation::~Simulation (dubious).
Revision
966 -
Directory Listing
Modified
Thu Dec 14 14:04:54 2006 UTC
(17 years, 9 months ago)
by
johnpye
Cleaned up code comments in units.h
Fixed a bug with starting timesteps in LSODE (i think)
Added function to output a SampleList to the console (for debugging)
Removed debug output from base/generic/test/SConscript.
Removed 'custom' headers for UnitsM in ascpy.i
Made a sane default ctor for UnitsM
Added some more test cases to the Python unittest suite (still a problem running multiple solver-based tests in a single run)
Revision
956 -
Directory Listing
Modified
Sat Dec 9 15:38:05 2006 UTC
(17 years, 9 months ago)
by
johnpye
Removed references to 'ASC_BIG_BUGMAIL' and 'ASC_MILD_BUGMAIL'
Disabled stream redirection functions (they were making testing difficult)
Re-wrote the main test-runner to permit specific tests to be run from the commandline (ongoing)
Disabled readln tests that required stream redirection.
Revision
954 -
Directory Listing
Modified
Sat Dec 9 02:20:15 2006 UTC
(17 years, 9 months ago)
by
johnpye
A few cleanups to get towards compilation on Solaris.
Revision
953 -
Directory Listing
Modified
Thu Dec 7 14:47:15 2006 UTC
(17 years, 9 months ago)
by
johnpye
Added test for C99 FPE handling
Fixing mess-up of ChildByChar in arrayinst.h header.
Added 'safeeval' config option to IDA.
Changed 'SigHandler' to 'SigHandlerFn *' in line with other function pointer datatypes being used in ASCEND.
Moved processVarStatus *after* 'Failed integrator' exception (ongoing issue).
Revision
952 -
Directory Listing
Modified
Tue Nov 28 23:01:50 2006 UTC
(17 years, 9 months ago)
by
johnpye
Pruned some debug messages from integrator.c, ida.c.
Improved exception messages from SolverParameter class.
Added array access functions to Instanc class (ongoing).
Attempting to run CUnit tests from the Python test suite (not successful, ongoing).
Cleaned up some headers, license notices, doxy docs, etc.
Fixed wrong #include <dmalloc.h> in ascpy.i (thanks Krishnan).
Revision
937 -
Directory Listing
Modified
Fri Nov 24 03:58:49 2006 UTC
(17 years, 9 months ago)
by
johnpye
Fixed ability to run 'solve' from an external script method, without the present of the PyGTY GUI.
Revision
936 -
Directory Listing
Modified
Fri Nov 24 01:06:10 2006 UTC
(17 years, 9 months ago)
by
johnpye
Fixed double-flush bug that results in duplicate output of some error_reporter messages.
Revision
931 -
Directory Listing
Modified
Thu Nov 23 04:31:19 2006 UTC
(17 years, 9 months ago)
by
johnpye
Added 'error_reporter_tree' that can organise error messages/output into a structured hierarchy.
Revision
930 -
Directory Listing
Modified
Wed Nov 22 13:09:09 2006 UTC
(17 years, 9 months ago)
by
johnpye
solve.py raises ImportError if 'browser' object is not available (right approach?)
Freeing some variables in dsgsat2.a4c.
Returing Py_None from extpy routine in 'browser' object not defined (eg during non-GUI unit testing)
Error reporting from extpy import handler (ongoing)
Timeout in versioncheck (when server unavailable)
A little more tinkering with IDA.
Revision
928 -
Directory Listing
Modified
Wed Nov 22 10:32:18 2006 UTC
(17 years, 9 months ago)
by
johnpye
Commented out some stream redirection stuff for simplicity.
The CUnit test suite now works as expected (but without output suppression, for the moment).
Some more effort on IDA (ongoing).
Revision
919 -
Directory Listing
Modified
Mon Nov 6 04:48:59 2006 UTC
(17 years, 10 months ago)
by
johnpye
Fixing bug #305 (CONOPT not working with testconopt.a4c).
Some effort to rearrange external 'solve' scripts, ongoing.
Note, relman_diff2 returns 0 on success, but relman_eval returns 1 on success!
Revision
917 -
Directory Listing
Modified
Thu Nov 2 21:34:59 2006 UTC
(17 years, 10 months ago)
by
johnpye
Added some debug stuff to work on the on_load problem.
Revision
915 -
Directory Listing
Modified
Sat Oct 28 07:06:22 2006 UTC
(17 years, 10 months ago)
by
johnpye
Working on what the problem is with 'on_load' methods in the C++/Python code.
Seems that 'EXTERNAL solve(SELF);' puts the model into a state which 'works' but if that's
not done first, then that set values in the model don't work correctly...
Revision
914 -
Directory Listing
Modified
Sat Oct 28 05:27:58 2006 UTC
(17 years, 10 months ago)
by
johnpye
Fixed prototype for extpy_destroy
Dubious fix for the message about directory node in doc/SConscript (is $ expansion happening?)
Revision
912 -
Directory Listing
Modified
Fri Oct 27 07:18:21 2006 UTC
(17 years, 10 months ago)
by
johnpye
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
911 -
Directory Listing
Modified
Thu Oct 26 13:44:58 2006 UTC
(17 years, 10 months ago)
by
johnpye
Removed a few more redundant debug msgs
Revision
910 -
Directory Listing
Modified
Thu Oct 26 13:35:25 2006 UTC
(17 years, 10 months ago)
by
johnpye
In instantiate.c, made new blackbox code tolerant of blackboxes that don't need initialisation.
Removed some debug output.
Expanded 'extfntest.py' a little bit, for ease of testing.
Converted 'blackbox is experimental' warnings to one-time-only.
Minor change to way that webbrowser is invoked under linux.
Revision
909 -
Directory Listing
Modified
Thu Oct 26 12:44:41 2006 UTC
(17 years, 10 months ago)
by
johnpye
Added finite-difference evaluation of gradients in blackboxes.
Some work on J*v evaluation with IDA.
Revision
908 -
Directory Listing
Modified
Thu Oct 26 10:18:53 2006 UTC
(17 years, 10 months ago)
by
johnpye
first attempt at merging with Ben's changes on the trunk
Revision
900 -
Directory Listing
Modified
Wed Oct 25 06:03:04 2006 UTC
(17 years, 10 months ago)
by
johnpye
The 'sim' object is correctly accessible from script methods now, even if run during on_load.
Added 'getSimulation' to registry.cpp, added 'runDefaultMethod' to Simulation, added 'getMethod' to Type.
Running of 'on_load' is instigated at the Python level now, so that relevent python variables are set at simulations are built, etc. This appears to have cause some changes to the way the solver behaves, possibly.
Added SearchProcList to exports in libascend.
Revision
898 -
Directory Listing
Modified
Tue Oct 24 13:34:13 2006 UTC
(17 years, 10 months ago)
by
johnpye
Added 'solver notes' to thermalequilibrium.a4c.
Added 'setup_solver' method in listnotes.py
Added 'getLanguage' to Annotation class
Added 'paramname' to SolverParameters popup in PyGTK
Fixed up some commenting in notate.c
Turned on warning about ignored notes in ascParse.y
Revision
897 -
Directory Listing
Modified
Tue Oct 24 11:05:18 2006 UTC
(17 years, 10 months ago)
by
johnpye
Adding 'NOTES' support to C++ interface. 'johnpye/thermalequilibrium2.a4c' is the example case.
listnotes.py performs listing via a python external script method.
annotation.h and annotation.cpp implement the C++ wrapper referenced by SWIG.
library.{h,cpp} modified to provide access to the AnnotationDatabase.
Typemapping modified in ascpy.i in attempt to get a more maintainable wrapping.
Added annotation.cpp to build.
Updated copyright header and formatting of notate.{c,h}.
Improved ErrMsg_BracesEOF error message fn.
Updated copyright header and formatting of braced.{c,h}
Some misc debug output removed esp in simulation.cpp, conopt.c, importhandler.c.
Revision
896 -
Directory Listing
Modified
Tue Oct 24 05:04:24 2006 UTC
(17 years, 10 months ago)
by
johnpye
Renamed 'tank' to 'dyn_tank' in dyntank.* (for benefit of 'on_load' behaviour in PyGTK GUI)
Formatting in ivpStep.a4c (ivpDAE), updated copyright block.
Improved formatting of typelint error messages (using error_reporter a bit better, eliminating 'StatioLabel' calls where possible).
Revision
895 -
Directory Listing
Modified
Tue Oct 24 00:12:34 2006 UTC
(17 years, 10 months ago)
by
johnpye
Removed debug output (modelview.py)
Fixed bug in diagnose.py with large blocks
Removed debug output and improved error message in conopt.c
Removed debug output in lsode.c
Removed debup output in ascDynaload.c
Revision
888 -
Directory Listing
Modified
Wed Oct 11 14:53:27 2006 UTC
(17 years, 11 months ago)
by
johnpye
Added 'energy_per_volume' and 'power_per_volume' to atoms.a4l.
Converting dsg.a4c into a dynamic (IVP) model.
Removed some debug output from various places.
Renamed some functions in lsode.c (removed references to 'blsode' name)
Added comments in LSODE about what method is being used.
Improved LSODE error output a little bit (why bother tho eh)
Improved coupla error msgs in slv_stdcalls.c.
Revision
881 -
Directory Listing
Modified
Mon Oct 9 10:51:06 2006 UTC
(17 years, 11 months ago)
by
johnpye
Removed some debug output in importhandler.
Fixed aspect ratio on four bar linkage plot.
Fixed up dsg.a4c for consistency with dsg-transient library.
Revision
874 -
Directory Listing
Modified
Thu Oct 5 15:13:22 2006 UTC
(17 years, 11 months ago)
by
johnpye
Can now access python methods from ASCEND. Still can't access the 'SELF' instance: that's the next thing to do.
Revision
873 -
Directory Listing
Modified
Thu Oct 5 14:51:49 2006 UTC
(17 years, 11 months ago)
by
johnpye
Can now register python methods with ASCEND. Still can't execute the python code, but getting close.
Revision
870 -
Directory Listing
Modified
Wed Oct 4 15:18:18 2006 UTC
(17 years, 11 months ago)
by
johnpye
Added 'user_data' to the external method structure, changed some corresponding functions.
Tried adding to C++ API the means to declare a Python method, still ongoing.
Revision
869 -
Directory Listing
Modified
Wed Oct 4 14:03:46 2006 UTC
(17 years, 11 months ago)
by
johnpye
'hello world' works from external python module, correctly hooks into 'browser' object.
Revision
866 -
Directory Listing
Modified
Fri Sep 29 06:22:21 2006 UTC
(17 years, 11 months ago)
by
johnpye
Adding polar moment of inertia to atoms.a4l.
Fixing two small windows-related bugs in new importhandler stuff.
Revision
865 -
Directory Listing
Modified
Thu Sep 28 14:19:17 2006 UTC
(17 years, 11 months ago)
by
johnpye
First success at executing python code from inside ASCEND "IMPORT" statement :-)
Revision
864 -
Directory Listing
Modified
Thu Sep 28 13:39:16 2006 UTC
(17 years, 11 months ago)
by
johnpye
ImportHandler seems to be working, tested with datareader/testtmy.a4c and extfn/testextfn.a4c.
Revision
863 -
Directory Listing
Modified
Thu Sep 28 08:17:18 2006 UTC
(17 years, 11 months ago)
by
johnpye
Revision
862 -
Directory Listing
Modified
Tue Sep 26 13:47:27 2006 UTC
(17 years, 11 months ago)
by
johnpye
Some work on the IMPORT handler functionality. Mostly just placeholders at this stage.
Revision
854 -
Directory Listing
Modified
Wed Sep 20 13:36:40 2006 UTC
(17 years, 11 months ago)
by
johnpye
First tentative version in 'integration reporting':
Values of observed variables from the simulation are added to an Observer table after simulation completes.
This is not very efficiently coded at this stage but is a start.
Also some minor changes to text and comments in some base/generic files.
Revision
846 -
Directory Listing
Modified
Sun Sep 17 07:34:20 2006 UTC
(18 years ago)
by
johnpye
Added simple Lotka-Volterra population model. Needs validation still.
Added 'rate' to atoms.a4l.
Fixed 'pendulum' into a single-order version (needs checking).
Removed debug output from relation_util.c.
Revision
843 -
Directory Listing
Modified
Sun Sep 10 06:18:24 2006 UTC
(18 years ago)
by
johnpye
Changed over to ASC_NEW* for some solver memory allocation.
Fixed up file headers.
Change debug and error output to use new mechanism.
Revision
839 -
Directory Listing
Modified
Fri Sep 8 07:46:53 2006 UTC
(18 years ago)
by
johnpye
Removed some debug output from cond_config.c
Added superposition test (beam2.a4c)
Fixed up problems in beam.a4c (ongoing).
Revision
833 -
Directory Listing
Modified
Wed Aug 23 08:09:36 2006 UTC
(18 years ago)
by
johnpye
Added ability to invert a=tan(x).
Added test model 'testtan' to testfunc.a4c.
Revision
832 -
Directory Listing
Modified
Wed Aug 23 07:06:47 2006 UTC
(18 years ago)
by
johnpye
Renamed testTrig to testfunc.a4c.
Removed some buildtime messages.
Added self-test to testfunc model.
Some windows-specific changes to SConstruct (need testing?)
Revision
826 -
Directory Listing
Modified
Tue Aug 22 01:34:33 2006 UTC
(18 years ago)
by
johnpye
Increased max ext relations to 50.
Changed default web browser on linux to firefox.
Copied documentation files into source tree
Added build script to allow HTML and PDF generation via SCons.
Revision
823 -
Directory Listing
Modified
Thu Aug 17 15:50:42 2006 UTC
(18 years, 1 month ago)
by
johnpye
Fixed a big with incorrect evaluation of 'arctan' in 'SAFE' evaluation mode.
NOT YET TESTED.
Revision
819 -
Directory Listing
Modified
Wed Aug 16 15:36:12 2006 UTC
(18 years, 1 month ago)
by
johnpye
Moved the location of the PATHENVIRONMENTVAR to config.h.in so that
it can be shared with other places that want to use that variable.
Did some bug fixing of the simple TMY reader.
Revision
818 -
Directory Listing
Modified
Wed Aug 16 12:54:08 2006 UTC
(18 years, 1 month ago)
by
johnpye
Renamed the installer from 'ASCEND PyGTK' to 'ASCEND'
Added the '-y' to YACCFLAGS and '-l' TO LEXFLAGS.
Other changes are trivial.
Revision
815 -
Directory Listing
Modified
Fri Aug 11 04:51:27 2006 UTC
(18 years, 1 month ago)
by
johnpye
Removed some debug output
Revision
806 -
Directory Listing
Modified
Fri Aug 4 07:45:18 2006 UTC
(18 years, 1 month ago)
by
johnpye
Added reporting of 'included' relations in PyGTK interface.
Minor commenting changes to instquery.h.
Revision
804 -
Directory Listing
Modified
Fri Aug 4 05:54:34 2006 UTC
(18 years, 1 month ago)
by
johnpye
In slv9, made changes to keep CONOPT from complaining. CMSlv still not working as expected though.
Decreased required version of Bison to 2.0.
Switched search path for CONOPT on Linux to the CONOPT_PATH env var
(LD_LIBRARY_PATH was being interfered with when ASC_DEV=1).
Some other debug message changes.
Revision
802 -
Directory Listing
Modified
Thu Aug 3 02:24:45 2006 UTC
(18 years, 1 month ago)
by
johnpye
Removed incorrect copyright in extfntest.c.
Fixed CONOPT detection on linux in SConstruct.
Tidied up comments in instquery.h.
Revision
798 -
Directory Listing
Modified
Mon Jul 31 12:40:50 2006 UTC
(18 years, 1 month ago)
by
johnpye
slight changes to ascpanic output in relation.c
commenting changge in testcmslv
Revision
791 -
Directory Listing
Modified
Thu Jul 27 12:04:19 2006 UTC
(18 years, 1 month ago)
by
johnpye
Moved 'SearchArchiveLibraryPath' into ascDynaLoad so that it can be shared between
compiler/packages and solver/conopt.
Changed debug messages in ospath.
Fixed conopt to search for consub3 in $LD_LIBRARY_PATH or /usr/lib:/usr/local/lib
by default on Linux (or %PATH% or c:\Program Files\ASCEND on Windows).
Modified definition of testconopt so that some parameters can be varied via the interface.
Revision
783 -
Directory Listing
Modified
Wed Jul 26 09:16:19 2006 UTC
(18 years, 1 month ago)
by
johnpye
First work towards reinstating the CONOPT solver. So far, I've got it building
and linking without errors, but haven't tested the resulting runtime.
Revision
782 -
Directory Listing
Modified
Tue Jul 25 02:09:12 2006 UTC
(18 years, 1 month ago)
by
johnpye
Radu Serban sent me a preview of the new version of IDA which has new header file layout.
This patch updates for the new layout.
Also couple of minor fixes for gcc warnings in numlist and library.cpp.
Revision
771 -
Directory Listing
Modified
Fri Jul 14 04:31:54 2006 UTC
(18 years, 2 months ago)
by
johnpye
Removed some debug noise.
Minor changes to dsg models.
Revision
770 -
Directory Listing
Modified
Fri Jul 14 03:35:16 2006 UTC
(18 years, 2 months ago)
by
johnpye
Added 'use relation sharing' option to the PyGTK GUI.
Changed some debug output calls.
Tidied up headers in anoncopy, anonmerg, etc.
Revision
769 -
Directory Listing
Modified
Thu Jul 13 08:19:11 2006 UTC
(18 years, 2 months ago)
by
johnpye
Tidying up
Revision
768 -
Directory Listing
Modified
Thu Jul 13 07:39:30 2006 UTC
(18 years, 2 months ago)
by
johnpye
Tidying up, comments only.
Revision
767 -
Directory Listing
Modified
Thu Jul 13 07:18:06 2006 UTC
(18 years, 2 months ago)
by
johnpye
Added 'mainpage' to docs
Revision
764 -
Directory Listing
Modified
Thu Jul 13 06:09:43 2006 UTC
(18 years, 2 months ago)
by
johnpye
Removing the 'COPYING' file (we have 'LICENSE.txt' in the top dir).
Revision
759 -
Directory Listing
Modified
Thu Jul 13 04:16:10 2006 UTC
(18 years, 2 months ago)
by
johnpye
Commenting and changes to deubg output. Some reformatting of ModifyBlackBoxRelationPointers.
Revision
755 -
Directory Listing
Modified
Wed Jul 12 03:57:02 2006 UTC
(18 years, 2 months ago)
by
johnpye
Tidied up headers
Revision
753 -
Directory Listing
Modified
Wed Jul 12 03:16:51 2006 UTC
(18 years, 2 months ago)
by
johnpye
Removed some debug output from 'extcall'.
Revision
752 -
Directory Listing
Modified
Wed Jul 12 02:50:54 2006 UTC
(18 years, 2 months ago)
by
johnpye
Fixed bug with instantiation of 'outvars'.
Revision
743 -
Directory Listing
Modified
Thu Jul 6 14:22:26 2006 UTC
(18 years, 2 months ago)
by
johnpye
Few small changes to fix for Linux after the recent MSVC++ oriented changes.
Revision
742 -
Directory Listing
Modified
Thu Jul 6 13:47:41 2006 UTC
(18 years, 2 months ago)
by
johnpye
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
741 -
Directory Listing
Modified
Thu Jul 6 08:54:42 2006 UTC
(18 years, 2 months ago)
by
johnpye
Fixes for MSVC++
Revision
737 -
Directory Listing
Modified
Wed Jul 5 12:36:29 2006 UTC
(18 years, 2 months ago)
by
johnpye
DSG model converges, using 3 external functions :-)
Added more info in 'diagnose' varinfo and relinfo popups, plus tabstops in display.
Allowed parameters to be used with instantiation_error in instantiate.c.
Fixed up some error messages in bintoken.c.
Renamed 'newcalc_done' to 'evaluation_required' in rel.c.
Other minor changes to error messages and commenting.
Revision
732 -
Directory Listing
Modified
Tue Jul 4 14:40:17 2006 UTC
(18 years, 2 months ago)
by
johnpye
Added general-purpose text-information dialog to PyGTK interface.
Added reporting of clique of a variable to PyGTK GUI.
Changed 'fixable' and 'new bounds' to use the new dialog.
Removed 'set<...>' from ascpy.i (it wasn't working), changed to vector<...>.
Exported a couple of var incidences fns to the DLL/SO.
Revision
731 -
Directory Listing
Modified
Tue Jul 4 07:42:06 2006 UTC
(18 years, 2 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
(18 years, 2 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
726 -
Directory Listing
Modified
Mon Jul 3 14:30:26 2006 UTC
(18 years, 2 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
(18 years, 2 months ago)
by
johnpye
Fixed a *stupid* bug with relation.c in CreateBlackBoxRelation...
Revision
722 -
Directory Listing
Modified
Mon Jul 3 06:53:02 2006 UTC
(18 years, 2 months ago)
by
johnpye
changing errors to warnings...
Revision
721 -
Directory Listing
Modified
Mon Jul 3 06:22:42 2006 UTC
(18 years, 2 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
719 -
Directory Listing
Modified
Sat Jul 1 09:35:23 2006 UTC
(18 years, 2 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
716 -
Directory Listing
Modified
Sat Jul 1 03:18:30 2006 UTC
(18 years, 2 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
712 -
Directory Listing
Modified
Fri Jun 30 05:18:56 2006 UTC
(18 years, 2 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
(18 years, 2 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
(18 years, 2 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
(18 years, 2 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
(18 years, 2 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
(18 years, 2 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
(18 years, 2 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
(18 years, 2 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
(18 years, 2 months ago)
by
johnpye
Missed another outstanding #include to instance.h
Revision
700 -
Directory Listing
Modified
Mon Jun 26 12:56:55 2006 UTC
(18 years, 2 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
(18 years, 2 months ago)
by
johnpye
Added skeleton 'blackbox_evaluate_residual'...
Revision
698 -
Directory Listing
Modified
Mon Jun 26 08:08:05 2006 UTC
(18 years, 2 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
(18 years, 2 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
(18 years, 2 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
(18 years, 2 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
(18 years, 2 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
(18 years, 2 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
(18 years, 2 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
(18 years, 2 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
(18 years, 2 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
669 -
Directory Listing
Modified
Wed Jun 21 07:00:45 2006 UTC
(18 years, 2 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
(18 years, 3 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
(18 years, 3 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
(18 years, 3 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
(18 years, 3 months ago)
by
johnpye
Cleaned up scanner.h header
Revision
648 -
Directory Listing
Modified
Tue May 30 01:33:37 2006 UTC
(18 years, 3 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
640 -
Directory Listing
Modified
Mon May 29 06:35:14 2006 UTC
(18 years, 3 months ago)
by
johnpye
Fixing bug #267 in trunk.
Revision
624 -
Directory Listing
Modified
Thu May 18 15:39:38 2006 UTC
(18 years, 4 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
(18 years, 4 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
(18 years, 4 months ago)
by
johnpye
Working on bug #215...
Revision
618 -
Directory Listing
Modified
Wed May 17 07:01:09 2006 UTC
(18 years, 4 months ago)
by
johnpye
remove duplicate line
Revision
615 -
Directory Listing
Modified
Wed May 17 06:29:40 2006 UTC
(18 years, 4 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
(18 years, 4 months ago)
by
johnpye
Revision
613 -
Directory Listing
Modified
Wed May 17 05:09:17 2006 UTC
(18 years, 4 months ago)
by
johnpye
Fixing to use temporary filename instead of /tmp/atmlist
Revision
593 -
Directory Listing
Modified
Fri May 12 10:03:59 2006 UTC
(18 years, 4 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
569 -
Directory Listing
Modified
Tue May 9 00:10:03 2006 UTC
(18 years, 4 months ago)
by
johnpye
Changing from 'tcltk98' to 'tcltk', in progress.
Revision
545 -
Directory Listing
Modified
Thu Apr 27 03:14:08 2006 UTC
(18 years, 4 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
(18 years, 4 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
(18 years, 4 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
534 -
Directory Listing
Modified
Tue Apr 25 13:25:04 2006 UTC
(18 years, 4 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
(18 years, 4 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
(18 years, 4 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
522 -
Directory Listing
Modified
Fri Apr 21 07:22:20 2006 UTC
(18 years, 4 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
(18 years, 4 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
(18 years, 5 months ago)
by
ben.allan
commented an endif.
Revision
512 -
Directory Listing
Modified
Wed Apr 19 08:21:13 2006 UTC
(18 years, 5 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
(18 years, 5 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
(18 years, 5 months ago)
by
johnpye
Fixing for ubuntu GCC 4
Revision
506 -
Directory Listing
Modified
Tue Apr 18 14:30:39 2006 UTC
(18 years, 5 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
(18 years, 5 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
500 -
Directory Listing
Modified
Tue Apr 18 11:55:12 2006 UTC
(18 years, 5 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
(18 years, 5 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
493 -
Directory Listing
Modified
Tue Apr 18 07:11:42 2006 UTC
(18 years, 5 months ago)
by
johnpye
Removing reference to interface.h
Revision
492 -
Directory Listing
Modified
Tue Apr 18 07:10:01 2006 UTC
(18 years, 5 months ago)
by
johnpye
Incorporating 'extern' into ASC_DLLSPEC
Revision
491 -
Directory Listing
Modified
Tue Apr 18 07:04:34 2006 UTC
(18 years, 5 months ago)
by
wangym
move unused file to dummy dir
Revision
490 -
Directory Listing
Modified
Tue Apr 18 06:55:20 2006 UTC
(18 years, 5 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
(18 years, 5 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
(18 years, 5 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
(18 years, 5 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
(18 years, 5 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
(18 years, 5 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
(18 years, 5 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
(18 years, 5 months ago)
by
ben.allan
restored the bypass missing yacc capability.
Revision
467 -
Directory Listing
Modified
Mon Apr 17 03:18:06 2006 UTC
(18 years, 5 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
463 -
Directory Listing
Modified
Sun Apr 16 10:18:16 2006 UTC
(18 years, 5 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
455 -
Directory Listing
Modified
Wed Apr 5 07:50:22 2006 UTC
(18 years, 5 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
(18 years, 5 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
(18 years, 5 months ago)
by
johnpye
fixing #ifndef bracket name
Revision
451 -
Directory Listing
Modified
Wed Apr 5 05:14:20 2006 UTC
(18 years, 5 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
(18 years, 5 months ago)
by
ben.allan
bettrer error reporting.
Revision
433 -
Directory Listing
Modified
Tue Apr 4 07:30:54 2006 UTC
(18 years, 5 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
(18 years, 5 months ago)
by
ben.allan
byby exec bits.
Revision
427 -
Directory Listing
Modified
Tue Apr 4 04:13:34 2006 UTC
(18 years, 5 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
(18 years, 5 months ago)
by
johnpye
Fixed bug #252
Revision
423 -
Directory Listing
Modified
Mon Apr 3 23:15:49 2006 UTC
(18 years, 5 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
(18 years, 5 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
412 -
Directory Listing
Modified
Mon Apr 3 03:31:30 2006 UTC
(18 years, 5 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
(18 years, 5 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
(18 years, 5 months ago)
by
ben.allan
leave it in there.
Revision
409 -
Directory Listing
Modified
Sun Apr 2 05:51:09 2006 UTC
(18 years, 5 months ago)
by
johnpye
Backed out Ben's #define yylex change. Works again now (tested with Scons only)
Revision
407 -
Directory Listing
Modified
Sat Apr 1 21:13:03 2006 UTC
(18 years, 5 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
394 -
Directory Listing
Modified
Thu Mar 30 14:50:35 2006 UTC
(18 years, 5 months ago)
by
wangym
move the function call after the variable define, a compile bug fix
Revision
390 -
Directory Listing
Modified
Thu Mar 30 06:41:17 2006 UTC
(18 years, 5 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
(18 years, 5 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
(18 years, 5 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
(18 years, 6 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
(18 years, 6 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
(18 years, 6 months ago)
by
johnpye
Ensuring that plugins contain no undefined symbols (for the sake of Windows).
Rearranging and commending error.c slightly.
Removing some debug output in solverreporter.
Revision
375 -
Directory Listing
Modified
Wed Mar 15 06:35:50 2006 UTC
(18 years, 6 months ago)
by
johnpye
Removing some debug output
Revision
373 -
Directory Listing
Modified
Tue Mar 14 08:39:37 2006 UTC
(18 years, 6 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
(18 years, 6 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
(18 years, 6 months ago)
by
johnpye
Debugging output for loading external packages.
Export error_reporter to windows DLL (needs testing).
Revision
355 -
Directory Listing
Modified
Mon Mar 6 03:11:28 2006 UTC
(18 years, 6 months ago)
by
johnpye
In PyGTK 'modules' list, you can now see non-parameterised types in bold.
Revision
337 -
Directory Listing
Modified
Wed Mar 1 00:51:23 2006 UTC
(18 years, 6 months ago)
by
johnpye
Something is starting to run on MinGW now. GUI loads and ascend DLL is opened.
This revision still breaks the linux and Tcl/Tk builds, I expect.
Also added some smarts to the 'help...contents' menu for loading offline/online help files.
Revision
332 -
Directory Listing
Modified
Tue Feb 28 04:39:00 2006 UTC
(18 years, 6 months ago)
by
johnpye
These changes fix compilation 'make libs' on MinGW.
I have changed the configure.in to allow '--without-tcl'
however this will likely break linux compiles. I'll commit this
on windows, then try to check out and fix on a linux machine.
Revision
306 -
Directory Listing
Modified
Wed Feb 22 03:30:18 2006 UTC
(18 years, 6 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
(18 years, 6 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
(18 years, 6 months ago)
by
johnpye
Documentation, indentation and debugging-message changes.
Revision
301 -
Directory Listing
Modified
Mon Feb 20 07:39:14 2006 UTC
(18 years, 6 months ago)
by
johnpye
Documentation and indentation changes
Revision
272 -
Directory Listing
Modified
Sun Feb 5 06:43:19 2006 UTC
(18 years, 7 months ago)
by
johnpye
Documentation changes.
Modified one slv3 error message.
Revision
262 -
Directory Listing
Modified
Fri Feb 3 00:19:41 2006 UTC
(18 years, 7 months ago)
by
johnpye
Correcting a bug introduced in changeset 314.
Revision
256 -
Directory Listing
Modified
Thu Feb 2 14:09:44 2006 UTC
(18 years, 7 months ago)
by
johnpye
Standardising header #ifdef
Revision
236 -
Directory Listing
Modified
Mon Jan 30 06:09:52 2006 UTC
(18 years, 7 months ago)
by
johnpye
Minor #ifdef changes
Revision
222 -
Directory Listing
Modified
Fri Jan 27 04:23:20 2006 UTC
(18 years, 7 months ago)
by
johnpye
Updating for Jerry's new error_reporter syntax, bug #179
Revision
216 -
Directory Listing
Modified
Wed Jan 25 02:12:20 2006 UTC
(18 years, 7 months ago)
by
jds
Minor rework of jam system to stop relinking of libraries when sources not modified.
Minor tweaks to stem the tide of compiler warnings.
Revision
206 -
Directory Listing
Modified
Mon Jan 23 06:46:08 2006 UTC
(18 years, 7 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
(18 years, 7 months ago)
by
johnpye
Documentation changes
Revision
204 -
Directory Listing
Modified
Mon Jan 23 04:27:11 2006 UTC
(18 years, 7 months ago)
by
johnpye
Documentation changes
Revision
203 -
Directory Listing
Modified
Mon Jan 23 04:13:17 2006 UTC
(18 years, 7 months ago)
by
johnpye
Documentation changes; making 'FIX' statement less verbose;
Commenting out ununsed 'CreateExternalFunction' function
Revision
194 -
Directory Listing
Modified
Tue Jan 17 05:48:00 2006 UTC
(18 years, 8 months ago)
by
johnpye
Documentation and CONSOLE_DEBUGging.
Revision
190 -
Directory Listing
Modified
Mon Jan 16 08:53:30 2006 UTC
(18 years, 8 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
(18 years, 8 months ago)
by
johnpye
Adding some missing 'EXT' code, adding 'error_reporter_here' functionality.
Revision
184 -
Directory Listing
Modified
Fri Jan 13 03:30:09 2006 UTC
(18 years, 8 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
(18 years, 8 months ago)
by
johnpye
Added 'FIX varlist' statement to ASCEND.
Revision
174 -
Directory Listing
Modified
Sun Jan 8 06:24:10 2006 UTC
(18 years, 8 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
(18 years, 8 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
(18 years, 8 months ago)
by
johnpye
Fixed bug #198
Revision
162 -
Directory Listing
Modified
Tue Jan 3 06:51:30 2006 UTC
(18 years, 8 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
(18 years, 8 months ago)
by
johnpye
Changing FPRINTF to error_reporter
Revision
158 -
Directory Listing
Modified
Mon Jan 2 09:02:52 2006 UTC
(18 years, 8 months ago)
by
johnpye
Removed support for Ultrix, OSF, which seem to be dead. This
makes the ascDynaload.c file much smaller. Also removed unused DynamicLoad
function (use Asc_DynamicLoad instead). Please let me know if these changes
break anything for you.
Revision
154 -
Directory Listing
Modified
Thu Dec 22 15:18:02 2005 UTC
(18 years, 8 months ago)
by
johnpye
Removing debug output, adding self_test to iapws95.
Revision
148 -
Directory Listing
Modified
Thu Dec 22 08:49:39 2005 UTC
(18 years, 8 months ago)
by
johnpye
Changed from 'TEST expr' syntax to 'ASSERT expr' syntax.
Corrected ConfigAscend ability to compile with CMSlv solver.
Revision
141 -
Directory Listing
Modified
Thu Dec 22 02:16:37 2005 UTC
(18 years, 8 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
(18 years, 8 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
(18 years, 8 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
(18 years, 8 months ago)
by
johnpye
Changing TEST success to ASC_USER_SUCCESS
Revision
124 -
Directory Listing
Modified
Tue Dec 20 08:32:25 2005 UTC
(18 years, 8 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
(18 years, 9 months ago)
by
johnpye
Changing 'log' function to 'log10'
Revision
122 -
Directory Listing
Modified
Mon Dec 19 06:12:40 2005 UTC
(18 years, 9 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
(18 years, 9 months ago)
by
johnpye
Fixing bug #170.
Revision
118 -
Directory Listing
Modified
Mon Dec 19 04:16:27 2005 UTC
(18 years, 9 months ago)
by
ben.allan
Workaround for a bug in gcc math inline of functions as
arguments to max. This should cure bug 154 in the pye tracker.
Revision
114 -
Directory Listing
Modified
Fri Dec 16 00:20:44 2005 UTC
(18 years, 9 months ago)
by
jds
Fixed various bugs & compiler warnings:
- numerous AssertAllocateMemory & AssertMemory() bugs
- converted strdup() calls to ascstrdup() (and ascfree())
- several minor (mostly VisualC) compiler warnings (old style declarations, assignment in conditional, ...)
Revision
103 -
Directory Listing
Modified
Sun Dec 11 14:31:02 2005 UTC
(18 years, 9 months ago)
by
jds
Bug fixes & killing more compiler warnings:
- general/list.c - fixed AssertAllocatedMemory and AssertContainedMemory bugs.
- added #include of ascPanic.h where necessary to compile with ALLOCATED_TESTS defined.
- reworked utilities/ascDynaLoad to eliminate compiler warnings related to casting between data & function pointers.
- switched utilities/ascEnvVar.c over to ascstrdup (had static ascstringcopy, which did the same thing).
All regression tests passed on Windows and Linux (except pre-existing solver/slv_common issues).
Revision
101 -
Directory Listing
Modified
Sat Dec 10 04:22:07 2005 UTC
(18 years, 9 months ago)
by
jds
A little more progress killing compiler warnings.
Revision
97 -
Directory Listing
Modified
Fri Dec 9 03:49:19 2005 UTC
(18 years, 9 months ago)
by
jds
Minor fixes to:
- continue killing compiler warnings on gcc & msvc
- start working on function/data pointer mismatches
- documentation tweaks
Fixed ascMalloc.c memory logging problems. This has not been tested on linux/unix. If it fails to compile, please revert to the previous version and let me know.
Revision
95 -
Directory Listing
Modified
Thu Dec 8 16:20:25 2005 UTC
(18 years, 9 months ago)
by
johnpye
Fixing bug #162
Revision
92 -
Directory Listing
Modified
Wed Dec 7 16:30:13 2005 UTC
(18 years, 9 months ago)
by
johnpye
Restored a commented-out function which is needed by standard FC4 autotools build
Revision
91 -
Directory Listing
Modified
Wed Dec 7 16:17:03 2005 UTC
(18 years, 9 months ago)
by
johnpye
Removed rootfind.c from solver lib in jamfile
Tidied up error messages in safe.c
Fixed a missing #endif in sensitivity.c
Revision
89 -
Directory Listing
Modified
Wed Dec 7 15:44:43 2005 UTC
(18 years, 9 months ago)
by
johnpye
Small changes to eliminate GCC warnings
Revision
85 -
Directory Listing
Modified
Tue Dec 6 18:04:27 2005 UTC
(18 years, 9 months ago)
by
johnpye
A working (very slow) version of IAPWS95 which works around bug #154.
Added some debugging messages to solver (temporary).
Removed SIGINT trap.
Revision
76 -
Directory Listing
Modified
Mon Dec 5 17:31:00 2005 UTC
(18 years, 9 months ago)
by
johnpye
More error_reporter calls.
Removed some C++-unfriendly var names.
Removed some debug messages.
Turned off compiler timing and relation debugging.
Revision
74 -
Directory Listing
Modified
Fri Dec 2 23:33:32 2005 UTC
(18 years, 9 months ago)
by
jds
Doxygen comment update for a few headers.
Revision
73 -
Directory Listing
Modified
Fri Dec 2 15:04:23 2005 UTC
(18 years, 9 months ago)
by
johnpye
Minor changes to error reporting
Revision
71 -
Directory Listing
Modified
Fri Dec 2 13:57:07 2005 UTC
(18 years, 9 months ago)
by
johnpye
Minor changes to error reporting
Revision
67 -
Directory Listing
Modified
Wed Nov 30 16:31:29 2005 UTC
(18 years, 9 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
(18 years, 9 months ago)
by
johnpye
Moved non-Tcl parts of qlfdid to base/generic.
Moved non-Tcl parts of SimsProc to base/generic/compiler/simlist (changeset 96).
Moved g_compiler_timing to base/generic/compiler/simlist.
Revision
62 -
Directory Listing
Modified
Wed Nov 30 05:53:20 2005 UTC
(18 years, 9 months ago)
by
johnpye
My first commit:
Added 'error_reporter' for standardised error reporting
Working on getting external functions running again
Also: issue 130, issue 68, issue 131, issue 89, issue 127, issue 138, issue 94.
Revision
61 -
Directory Listing
Modified
Mon Nov 14 02:37:20 2005 UTC
(18 years, 10 months ago)
by
jds
Minor bug fixes, extend unit tests to solver:
minor doc changes - compiler/func.h, general/list.h, solver/mtx.h, utilities/mem.h
solver/example - upgraded examples so they run under current system
solver/slv_common.[ch] - added unit tests, minor bug fixes, extended vector_data functions
utilities/ascDynaLoad.c - bug fix on *nix so dlopen, dlsym not called with NULL arguments
Revision
59 -
Directory Listing
Modified
Sun Oct 30 01:38:20 2005 UTC
(18 years, 10 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
55 -
Directory Listing
Modified
Sat Sep 3 01:25:36 2005 UTC
(19 years ago)
by
jds
Minor comment updates, add doc subdir to tclck98 subdir
Revision
54 -
Directory Listing
Modified
Tue Aug 2 11:20:09 2005 UTC
(19 years, 1 month ago)
by
jds
Manual rework of doxygen comments in all headers.
- Added @file comment to all headers.
- Added parameter names to all function declarations in headers.
- Corrected comment referencing where necessary.
- Split some comments which documented blocks of declarations.
- Converted notes about required work into @todo comments so doxygen can generate a todo list.
Minor bug fixes.
Revision
45 -
Directory Listing
Modified
Sat Mar 5 01:53:39 2005 UTC
(19 years, 6 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
(19 years, 6 months ago)
by
ben.allan
Updated configure and all the makefiles to handle
VPATH with or without --srcdir. gnu make is now
required on unix.
Revision
40 -
Directory Listing
Modified
Sat Jan 22 14:22:13 2005 UTC
(19 years, 7 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
(19 years, 8 months ago)
by
aw0a
corrections to make ascend compile in parallel tree
Revision
33 -
Directory Listing
Modified
Sun Dec 26 20:06:01 2004 UTC
(19 years, 8 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
(19 years, 8 months ago)
by
aw0a
updating configure.in - still not correct
Revision
18 -
Directory Listing
Modified
Tue Dec 7 20:53:37 2004 UTC
(19 years, 9 months ago)
by
aw0a
updating configure.in and Makefile.in files throughout
Revision
16 -
Directory Listing
Modified
Thu Nov 25 22:52:42 2004 UTC
(19 years, 9 months ago)
by
ben.allan
replaced nonportable strdup with ascend equivalent.
Revision
14 -
Directory Listing
Modified
Thu Nov 18 06:17:50 2004 UTC
(19 years, 10 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
11 -
Directory Listing
Added
Sat Nov 13 16:45:56 2004 UTC
(19 years, 10 months ago)
by
aw0a
moving things to base/generic