/[ascend]/trunk/pygtk
ViewVC logotype

Log of /trunk/pygtk

View Directory Listing Directory Listing


Sticky Revision:

Revision 1047 - Directory Listing
Modified Fri Jan 5 11:39:09 2007 UTC (12 years, 11 months ago) by johnpye
Added 'Use binary compilation' option to menu in PyGTK GUI

Revision 1046 - Directory Listing
Modified Fri Jan 5 11:15:16 2007 UTC (12 years, 11 months ago) by johnpye
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 1043 - Directory Listing
Modified Fri Jan 5 06:24:59 2007 UTC (12 years, 11 months ago) by johnpye
Fixed PyGTK GUI for case where syntax errors in command-line-specified file are found.
Fixed 'reload' behaviour for above case also.
Fixed satsteam test cases.

Revision 1042 - Directory Listing
Modified Fri Jan 5 04:53:38 2007 UTC (12 years, 11 months ago) by johnpye
Added saturated steam routines (taked from IAPWS 'supsat.pdf')
Added test case TestSteam for evaluating iapwssatprops.a4c documented test cases.

Revision 1041 - Directory Listing
Modified Fri Jan 5 00:29:21 2007 UTC (12 years, 11 months ago) by johnpye
Removed redundant 'Error:' text from runtime_error calls in Library::load

Revision 1039 - Directory Listing
Modified Thu Jan 4 23:21:20 2007 UTC (12 years, 11 months ago) by johnpye
Fixed up some #includes in compiler .[ch] files.
Switched instantiate.c to using 'asc_assert' instead of 'assert'.
Added some missing GPL headers in C++ code.
Silenced some slv3.c debug output.
Switch void-return to int-return in slv9_presolve etc (slv9.c)
Attemping to fix solvernotes.py for the commandline environment (browser==None)
Removed redundant solve(SELF) in thermalequilibrium2.a4c.
Some error reporting from addone_calc (extfntest.c).
Expanded test size in extrelfor.a4c.
Big rearrangement of bboxtest.c for top-down style.
Fixed TestFreesteam.testintegrator, added end-value checks.


Revision 1037 - Directory Listing
Modified Thu Jan 4 08:11:55 2007 UTC (12 years, 11 months ago) by johnpye
Fixed a few more TestBlackBox test cases.

Revision 1035 - Directory Listing
Modified Thu Jan 4 07:35:22 2007 UTC (12 years, 11 months ago) by johnpye
Softened error from bintoken.c
Improved error reporting in instantiate.c
Rearranged #includes in relation_util.[ch]
Changed to asc_assert in relman.c
Lots of fixed in slv3.c to get reporting of 'calc_ok' right.
Also some better error reporting from slv3.c.
Fixed usage info for error_reporter_tree_start().
Improved error/status reporting from bboxtest.c.
Set PyGTK GUI to correctly catch ::solve errors.
Improved reporting about when solver fails (diverged, inconsistent, exceeded time/iters)
Fixed TestBlackBox.testfail1 and TestBlackBox.testfail2.
Fixed type.cpp to throw errors when instantiation fails.

Revision 1034 - Directory Listing
Modified Thu Jan 4 05:37:55 2007 UTC (12 years, 11 months ago) by johnpye
Switch 'void slv_*' function to output a 0-on-success error flag.
Added some debug output to ensure that such output gets through.
Fixed TestBlackBox.testfail1 to work, using above changes.
Simulation::solve now throws an exception on failure (will need to modify PyGTK GUI accordingly)

Revision 1032 - Directory Listing
Modified Thu Jan 4 01:51:38 2007 UTC (12 years, 11 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 1030 - Directory Listing
Modified Wed Jan 3 14:30:27 2007 UTC (12 years, 11 months ago) by johnpye
Fixed bug with 'plot.png' icon not displaying correctly.

Revision 1029 - Directory Listing
Modified Wed Jan 3 14:00:27 2007 UTC (12 years, 11 months ago) by johnpye
Fixed for reporting of METHOD errors in PyGTK GUI.
Removed libasctest target (was causing messed up build on Windows)
Removed attempt to link libasctestsuite to -ldl on Windows (not necessary)
Adding reporting in test.c when no tests have been registered (to flag a problem with static/dynamic linking of CUnit on Windows)

Revision 1028 - Directory Listing
Modified Wed Jan 3 13:26:54 2007 UTC (12 years, 11 months ago) by johnpye
Added missing dl import in test library (hoping to fix SunOS problem)

Revision 1027 - Directory Listing
Modified Wed Jan 3 12:46:37 2007 UTC (12 years, 11 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 (12 years, 11 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 1024 - Directory Listing
Modified Wed Jan 3 10:27:43 2007 UTC (12 years, 11 months ago) by johnpye
Added extfn and extpy to python test suites.

Revision 1022 - Directory Listing
Modified Wed Jan 3 08:37:14 2007 UTC (12 years, 11 months ago) by johnpye
Relaxed assertions in TestIDADENSE.testdenx

Revision 1021 - Directory Listing
Modified Wed Jan 3 07:40:24 2007 UTC (12 years, 11 months ago) by johnpye
Fixing problem with float evaluation of Instance objects.
Added TestExtFn suite.

Revision 1018 - Directory Listing
Modified Wed Jan 3 06:44:39 2007 UTC (12 years, 11 months ago) by johnpye
Fixing ImportError typo

Revision 1017 - Directory Listing
Modified Wed Jan 3 06:40:21 2007 UTC (12 years, 11 months ago) by johnpye
Added optional 'freesteam' test.
Fixed GTK+ dependency via TestIDADENSE.testdenx and M.solve(...)

Revision 1016 - Directory Listing
Modified Wed Jan 3 05:56:12 2007 UTC (12 years, 11 months ago) by johnpye
Fixed a silly bug with IDACalcIC.
Disabled all SPGMR tests from the python test suite.
All active tests in the Python tests should now be passing (24 tests currently)

Revision 1009 - Directory Listing
Modified Tue Jan 2 12:10:53 2007 UTC (12 years, 11 months ago) by johnpye
Fixing TestIDA.testdenx test case.
Removing some debug output from ida.c.

Revision 1008 - Directory Listing
Modified Tue Jan 2 11:45:24 2007 UTC (12 years, 11 months ago) by johnpye
Fixed bug with memory deallocation for partitioner in ida.c
Silenced some debug output in ascSignal.c
Fixed execution of Python test suite (CUnit tests will need more work before running via this approach)

Revision 1006 - Directory Listing
Modified Tue Jan 2 11:13:34 2007 UTC (12 years, 11 months ago) by johnpye
Fixed hourglass cursor on exit 'check' dialog with fixable variables

Revision 1005 - Directory Listing
Modified Mon Jan 1 23:35:40 2007 UTC (12 years, 11 months ago) by johnpye
Fixed problem with default fileopenpath when ASCENDLIBRARY has multiple path components.

Revision 1003 - Directory Listing
Modified Sun Dec 31 02:35:27 2006 UTC (12 years, 11 months ago) by johnpye
Some progress on fixing test_ascSignal.c

Revision 998 - Directory Listing
Modified Sat Dec 30 06:05:48 2006 UTC (12 years, 11 months ago) by johnpye
Fixed some memory leaks in ospath.c and test_ospath.c.

Revision 996 - Directory Listing
Modified Sat Dec 23 06:53:04 2006 UTC (12 years, 11 months ago) by johnpye
Added SIGFPE handling to IDACalcIC.
Added ctrl-F9 keystroke in Integrator dialog (PyGTK)
Fixed bun with 'Jac->N' not available under SUNDIALS 2.3.0.

Revision 995 - Directory Listing
Modified Sat Dec 23 02:50:31 2006 UTC (12 years, 11 months ago) by johnpye
Fixed for exceptions from Integrator::analyse.

Revision 993 - Directory Listing
Modified Fri Dec 22 11:03:51 2006 UTC (12 years, 11 months ago) by johnpye
Added Matrix Market export routines (from math.nist.gov).
Added necessary build commands for above.
Work on Jacobi preconditioner for IDA (ongoing)
Set integrator_analye to make a call to slv_block_partition. Not sure if that's a good idea or not.
Tidied up comments in linsol.h
Moved unnecessary #defines from model_reorder.h into model_reorder.c.
Cleaned up codedocs in mtx*.h
Added WITH_MMIO config.h flag.


Revision 992 - Directory Listing
Modified Thu Dec 21 13:37:45 2006 UTC (12 years, 11 months ago) by johnpye
Added support for preconditioner in IDA module. Not quite sure what to put inside it yet though.

Revision 991 - Directory Listing
Modified Thu Dec 21 10:44:32 2006 UTC (12 years, 11 months ago) by johnpye
Added IDA 'MAXNCF' option.
Added TestIDA.testlotkaDENSE.

Revision 990 - Directory Listing
Modified Thu Dec 21 07:12:58 2006 UTC (12 years, 11 months ago) by johnpye
Added TestIDA.testkryxDENSE which seems to work OK.

Revision 985 - Directory Listing
Modified Thu Dec 21 04:06:02 2006 UTC (12 years, 11 months ago) by johnpye
Trying to get idakryx example working.
Better reporting of failures from IDACalcIC.

Revision 980 - Directory Listing
Modified Wed Dec 20 23:23:50 2006 UTC (12 years, 11 months ago) by johnpye
Fixed detection of libpython on Windows.
Fixed TestLSODE.testlotka test.py
Removed a sundials_dense.h assertion under windows.

Revision 979 - Directory Listing
Modified Wed Dec 20 14:34:16 2006 UTC (12 years, 11 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 977 - Directory Listing
Modified Wed Dec 20 00:39:52 2006 UTC (12 years, 11 months ago) by johnpye
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 976 - Directory Listing
Modified Tue Dec 19 13:52:51 2006 UTC (12 years, 11 months ago) by johnpye
Improved line/file/func reporting via Asc_Panic, using CPP var-arg macros under GCC.
Added ASC_ASSERT_LT and ASC_ASSERT_EQ assertion macros.
Tracking down a crash in IDA (ongoing).

Revision 975 - Directory Listing
Modified Tue Dec 19 11:49:59 2006 UTC (12 years, 11 months ago) by johnpye
Fixed bug with Compute_J (using NumberRels instead of slv_get_number_solvers_rels).
Added GPL header to sensitivity.c.
Renamed IDA test cases.

Revision 974 - Directory Listing
Modified Tue Dec 19 11:00:57 2006 UTC (12 years, 11 months ago) by johnpye
Fixed 'testcmslv2' test case.
Fixed 'sunpos5' test case.
One can now type 'python test.py TestSolver' and all current tests pass.

Revision 973 - Directory Listing
Modified Tue Dec 19 10:48:38 2006 UTC (12 years, 11 months ago) by johnpye
Fixed the 'repeated test' bug (a static pointer to a destroyed symchar was being used in type.cpp)
Improved error reporting for 'not a refined solver_var' message.
Refactors Library::listModules and Library::getModules to use shared code.
TODO: find a more efficient solution to the static pointer problem above.

Revision 972 - Directory Listing
Modified Tue Dec 19 07:55:02 2006 UTC (12 years, 11 months ago) by johnpye
Fixed a bug with initial time step in IDA (and added a checking asc_assert)
Added switch to turn on and off 'IDACalcIC'.
Changed 'already loaded' ASC_PROG_ERR into ASC_PROG_WARN (so that repeated 'IMPORT' doesn't cause problems)
Removed unnecessary solver tricks from shm.a4c (for easier debugging of Integrator API)
Widened self_test limits in zill.a4c.
Some more debugging in simulation.cpp.
Breaking down test.py into smaller test classes (thinking about moving it to its own directory)

Revision 970 - Directory Listing
Modified Tue Dec 19 02:39:54 2006 UTC (12 years, 11 months ago) by johnpye
Adding missing 'aww.*' files for Art's DAE integrator.
Adding 'maxl' (Maximum Krylov dimension) option to IDA.

Revision 969 - Directory Listing
Modified Tue Dec 19 00:57:26 2006 UTC (12 years, 11 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 (12 years, 11 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 967 - Directory Listing
Modified Thu Dec 14 14:14:54 2006 UTC (13 years ago) by johnpye
Moved non-functioning CUnit tests to bottom of python test.py

Revision 966 - Directory Listing
Modified Thu Dec 14 14:04:54 2006 UTC (13 years 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 965 - Directory Listing
Modified Wed Dec 13 23:53:57 2006 UTC (13 years ago) by johnpye
Fixed OSPATH typo
Other minor doc changes.

Revision 964 - Directory Listing
Modified Tue Dec 12 14:34:18 2006 UTC (13 years ago) by johnpye
Added a test method to run a integration with one variable (a numerical example from the text by Zill)

Revision 963 - Directory Listing
Modified Tue Dec 12 13:36:52 2006 UTC (13 years ago) by johnpye
Added ATOLVECT, RTOLVECT parameters to LSODE
Fixed silly bug in testing of newton.a4c
Text changes in ida.c.

Revision 962 - Directory Listing
Modified Mon Dec 11 14:43:02 2006 UTC (13 years ago) by johnpye
Adding more LSODE test cases.
Removing some 'error tree' debug output.
Added RTOLDEF and ATOLDEF parameters to LSODE (and fixed a bug relating to integrator_lsode_params_default).

Revision 961 - Directory Listing
Modified Mon Dec 11 14:04:13 2006 UTC (13 years ago) by johnpye
Fixed a silly bug with Integrator::setEngine.
Added test case for lotka.a4c to test.py

Revision 960 - Directory Listing
Modified Sun Dec 10 03:14:24 2006 UTC (13 years ago) by johnpye
Able to compile now on Solaris.
Fixed a problem with datareader.c returning non-void.
Remains a problem with std::logic_error not being linked to _ascpy

Revision 956 - Directory Listing
Modified Sat Dec 9 15:38:05 2006 UTC (13 years 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 953 - Directory Listing
Modified Thu Dec 7 14:47:15 2006 UTC (13 years 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 (13 years 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 951 - Directory Listing
Modified Sun Nov 26 05:01:49 2006 UTC (13 years ago) by johnpye
Added 'GSMODIFIED' parameter to IDA implementation.
Working on getting the idadenx model to converge using the SPGMR solver.

Revision 950 - Directory Listing
Modified Sun Nov 26 03:14:02 2006 UTC (13 years ago) by johnpye
Completed adding idadenx to test suite.
Restored behaviour of mxstep to IDA.

Revision 946 - Directory Listing
Modified Sat Nov 25 15:28:56 2006 UTC (13 years ago) by johnpye
Found bug in integrator_analyse_dae... ongoing

Revision 945 - Directory Listing
Modified Sat Nov 25 12:41:03 2006 UTC (13 years ago) by johnpye
Fixed a bug in slv_param_char.
More work on IDA ongoing.

Revision 944 - Directory Listing
Modified Sat Nov 25 10:46:13 2006 UTC (13 years ago) by johnpye
Implemented ATOLVECT, ATOL, RTOL parameters for the IDA integrator.

Revision 943 - Directory Listing
Modified Sat Nov 25 06:32:51 2006 UTC (13 years ago) by johnpye
Some bugs fixed with SolverParameterIter

Revision 942 - Directory Listing
Modified Sat Nov 25 05:26:47 2006 UTC (13 years ago) by johnpye
Incorporated 'SolverParameters' functionality into 'Integrator', both at C level and C++/Python.
This shouldn't break Tcl/Tk as default parameters will be set and used invisibly.

Revision 941 - Directory Listing
Modified Fri Nov 24 10:46:32 2006 UTC (13 years ago) by johnpye
Changed integrator_set_engine to return 0 on success.
Fixed Integrator::setEngine to throw range_error / IndexError on invalid selection.
Test suite contains testIDA that works now (more tests yet to come)

Revision 940 - Directory Listing
Modified Fri Nov 24 08:07:33 2006 UTC (13 years ago) by johnpye
Fixed 'testLSODE' in test.py, added 'IntegratorReporterNull' that makes no output (for testing purposes)

Revision 938 - Directory Listing
Modified Fri Nov 24 06:09:46 2006 UTC (13 years ago) by johnpye
Added support for dmalloc (http://dmalloc.com)
Added Integrator::setEngine(string name)
Minor other stuff.

Revision 935 - Directory Listing
Modified Fri Nov 24 00:37:11 2006 UTC (13 years ago) by johnpye
Adopted suggestions wrt Py_None on Windows platform (extpy)
Fixed up default values of CUNIT_PREFIX (needs testing for case where missing)

Revision 933 - Directory Listing
Modified Thu Nov 23 22:28:00 2006 UTC (13 years ago) by johnpye
Fixed some bugs with error_reporter_tree, and with error_callback in gtkbrowser.py

Revision 932 - Directory Listing
Modified Thu Nov 23 13:23:33 2006 UTC (13 years ago) by johnpye
Working on bugs in the 'error_reporter_tree' stuff.
Removed binary files from base/generic/utilities/test (these are built as needed by SCons now)

Revision 931 - Directory Listing
Modified Thu Nov 23 04:31:19 2006 UTC (13 years 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 (13 years 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 929 - Directory Listing
Modified Wed Nov 22 11:01:06 2006 UTC (13 years ago) by johnpye
Little more on removing stream redirection (ongoing)

Revision 925 - Directory Listing
Modified Tue Nov 21 23:30:30 2006 UTC (13 years ago) by johnpye
Suppressing -Wall warnings while building ascpy_wrap.cc

Revision 922 - Directory Listing
Modified Wed Nov 8 05:25:37 2006 UTC (13 years, 1 month ago) by johnpye
Expanded the 'ascend-config' mechanism to be supported in Windows installations (On Windows, ascend-config is installed in $INSTDIR and uses the registry instead of hard-coded file paths).


Revision 921 - Directory Listing
Modified Mon Nov 6 07:49:06 2006 UTC (13 years, 1 month ago) by johnpye
Fixing up some malloc/free problems with  integrator.c, removing some debug output from slv3.
Working on fixing IDA for systems with inactive variables (ongoing).

Revision 919 - Directory Listing
Modified Mon Nov 6 04:48:59 2006 UTC (13 years, 1 month 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 918 - Directory Listing
Modified Sat Nov 4 03:58:06 2006 UTC (13 years, 1 month ago) by johnpye
Little bit of added debug output

Revision 917 - Directory Listing
Modified Thu Nov 2 21:34:59 2006 UTC (13 years, 1 month 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 (13 years, 1 month 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 912 - Directory Listing
Modified Fri Oct 27 07:18:21 2006 UTC (13 years, 1 month 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 910 - Directory Listing
Modified Thu Oct 26 13:35:25 2006 UTC (13 years, 1 month 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 908 - Directory Listing
Modified Thu Oct 26 10:18:53 2006 UTC (13 years, 1 month ago) by johnpye
first attempt at merging with Ben's changes on the trunk

Revision 905 - Directory Listing
Modified Thu Oct 26 00:58:49 2006 UTC (13 years, 1 month ago) by johnpye
Improved check-for-updates a little bit

Revision 904 - Directory Listing
Modified Thu Oct 26 00:49:42 2006 UTC (13 years, 1 month ago) by johnpye
Adding on-request check for updates.

Revision 903 - Directory Listing
Modified Wed Oct 25 13:07:12 2006 UTC (13 years, 1 month ago) by johnpye
Some success with IDA: fixed up the indexing dilemma and was able to
integrate 'johnpye/thermalequilibrium.a4c' for a short time span (but
through to 3000 s as with LSODE). I would blame lack of jacobian routine
in the first instance.

Added 'more properties' button in Properties dialog for a variable, to allow
values of ode_id, ode_type etc to be queried (but not changed).


Revision 902 - Directory Listing
Modified Wed Oct 25 07:35:39 2006 UTC (13 years, 1 month ago) by johnpye
Integrator remembers 'duration' used previously.
Implemented interuption of integration with 'stop' button.

Revision 901 - Directory Listing
Modified Wed Oct 25 06:18:28 2006 UTC (13 years, 1 month ago) by johnpye
Added 'solve.py' as a simple way of calling the current solver from the PyGTK GUI. Breaks Tcl/Tk, almost certainly.

Revision 900 - Directory Listing
Modified Wed Oct 25 06:03:04 2006 UTC (13 years, 1 month 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 (13 years, 1 month 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 (13 years, 1 month 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 895 - Directory Listing
Modified Tue Oct 24 00:12:34 2006 UTC (13 years, 1 month 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 894 - Directory Listing
Modified Mon Oct 23 01:07:58 2006 UTC (13 years, 1 month ago) by johnpye
Improved error message in integrator.c (added names of variables with clashing ode_id).
Removed debug output from observer.py.
Fixed icon paths in modelview (context menu)

Revision 893 - Directory Listing
Modified Sun Oct 22 05:18:36 2006 UTC (13 years, 1 month ago) by johnpye
Better plot points in moody diagram model.
Attempt to get rid of some compiler warnings in extmethod.
Better handling of LD_LIBRARY_PATH and ASCENDLIBRARY in ascdev.
Changed default documentation path (to avoid warnings, seems like a scons bug?)

Revision 890 - Directory Listing
Modified Thu Oct 12 14:06:37 2006 UTC (13 years, 2 months ago) by johnpye
Eliminated T1, T2 from dsg.a4c.
Added moody diagram example model (with python script)
Removed some debug output from solverreporter.py and simulation.cpp

Revision 888 - Directory Listing
Modified Wed Oct 11 14:53:27 2006 UTC (13 years, 2 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 877 - Directory Listing
Modified Sat Oct 7 09:31:51 2006 UTC (13 years, 2 months ago) by johnpye
Added example of external scripting to the model 'fourbarplot.py'.
Allows plotting of the status of the four bar linkage.
TODO: test in the Tcl/Tk environment

Revision 876 - Directory Listing
Modified Sat Oct 7 06:55:11 2006 UTC (13 years, 2 months ago) by johnpye
Slightly simplified access to child instances from python

Revision 875 - Directory Listing
Modified Sat Oct 7 06:26:34 2006 UTC (13 years, 2 months ago) by johnpye
Can now access the ASCEND model from an external python script method. The API is not at all nice, but it's basically working now.

Revision 871 - Directory Listing
Modified Thu Oct 5 09:30:08 2006 UTC (13 years, 2 months ago) by johnpye
Changed the way that SWIG accesses the C++ 'Registry' class in the case of Python (trying to make it language neutral)

Revision 870 - Directory Listing
Modified Wed Oct 4 15:18:18 2006 UTC (13 years, 2 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 (13 years, 2 months ago) by johnpye
'hello world' works from external python module, correctly hooks into 'browser' object.

Revision 868 - Directory Listing
Modified Wed Oct 4 09:17:38 2006 UTC (13 years, 2 months ago) by johnpye
Added 'python models' to installer script
Added 'delta_area'.

Revision 864 - Directory Listing
Modified Thu Sep 28 13:39:16 2006 UTC (13 years, 2 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 (13 years, 2 months ago) by johnpye


Revision 861 - Directory Listing
Modified Tue Sep 26 03:59:19 2006 UTC (13 years, 2 months ago) by johnpye
Reverted to 'solid' compression

Revision 860 - Directory Listing
Modified Tue Sep 26 01:27:03 2006 UTC (13 years, 2 months ago) by johnpye
Working on fixing windows problem with version 0.9.5.100

Revision 859 - Directory Listing
Modified Tue Sep 26 00:55:37 2006 UTC (13 years, 2 months ago) by johnpye
Improved detection of Python, GTK, Tcl/Tk, Glade in Windows installer.
Bumped version to 0.9.5.100

Revision 858 - Directory Listing
Modified Mon Sep 25 15:04:48 2006 UTC (13 years, 2 months ago) by johnpye
Added new script 'ascdev' to launch ASCEND in 'developer mode'
which means that files in the source hierarchy will be used instead
of the installed files.

Revision 856 - Directory Listing
Modified Thu Sep 21 12:54:43 2006 UTC (13 years, 2 months ago) by johnpye
Added support for multiple observers/integrators for one simulation.

Revision 855 - Directory Listing
Modified Wed Sep 20 14:00:41 2006 UTC (13 years, 2 months ago) by johnpye
Removed some verbage in Integrator output

Revision 854 - Directory Listing
Modified Wed Sep 20 13:36:40 2006 UTC (13 years, 2 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 853 - Directory Listing
Modified Tue Sep 19 15:02:04 2006 UTC (13 years, 2 months ago) by johnpye
Fixed bug with missing values, removed old code.

Revision 852 - Directory Listing
Modified Tue Sep 19 14:57:42 2006 UTC (13 years, 2 months ago) by johnpye
More work on observer functionality. Seems to be basically operational now.

Revision 851 - Directory Listing
Modified Tue Sep 19 13:56:35 2006 UTC (13 years, 2 months ago) by johnpye
Fixed a typo (thanks Art)

Revision 849 - Directory Listing
Modified Mon Sep 18 15:10:48 2006 UTC (13 years, 2 months ago) by johnpye
Some progress on a rewrite of the Observer funcitonality so that it can be shared with the IntegratorReporter.

Revision 845 - Directory Listing
Modified Sun Sep 17 05:55:09 2006 UTC (13 years, 2 months ago) by johnpye
Updated installer to allow separate choices of PyGTK and Tcl/Tk GUIs at install-time.
Installer won't allow GUIs to be installed unless ActiveTcl and/or Python are located.
Bumped version to 0.9.5.99.

Revision 844 - Directory Listing
Modified Mon Sep 11 08:31:21 2006 UTC (13 years, 3 months ago) by johnpye
Bumped version to 0.9.5.98.
Added support for 'setSymbolValue' from C++ interface, and allow symbol variables to be edited via the PyGTK GUI.
Added some limited data about structural analysis of beams in johnpye/aiscbeams.a4c.
Updated johnpye/beam4.a4c to use this data.
Added some currency conversions to measure.a4l.
Added some units related to Mechanics of Solids to atoms.a4l.

Revision 841 - Directory Listing
Modified Sun Sep 10 06:13:44 2006 UTC (13 years, 3 months ago) by johnpye
Fixed crash in simulation.cpp when freeable vars are not returned.

Revision 834 - Directory Listing
Modified Thu Aug 31 05:39:14 2006 UTC (13 years, 3 months ago) by johnpye
Added little 'fourbar' model for a four bar linkage.
Added 'plotfourbar.a4c' as well, for graphical output
using the present plot system (as a bit of a test).
Fixed support for plotting (bug #282)

Revision 826 - Directory Listing
Modified Tue Aug 22 01:34:33 2006 UTC (13 years, 3 months 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 822 - Directory Listing
Modified Thu Aug 17 14:54:26 2006 UTC (13 years, 4 months ago) by johnpye
Added a sun position and extraterrestrial radiation model using the equations from Duffie and Beckman.
When combined with the new data reader, this will start to be useful for 'real' solar energy problems.

Revision 818 - Directory Listing
Modified Wed Aug 16 12:54:08 2006 UTC (13 years, 4 months 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 817 - Directory Listing
Modified Tue Aug 15 14:46:12 2006 UTC (13 years, 4 months ago) by johnpye
First go at writing the OMF file for ASCEND

Revision 811 - Directory Listing
Modified Thu Aug 10 17:08:16 2006 UTC (13 years, 4 months ago) by johnpye
Added vim 'syntax=python' comments to many SConscript files.
Lots more work on the datareader extfn.
The testtmy.a4c file requires the file obtained here ('gzip -d' before use)
http://rredc.nrel.gov/solar/old_data/nsrdb/tmy2/unix/23161.tm2.Z

Revision 808 - Directory Listing
Modified Fri Aug 4 09:08:16 2006 UTC (13 years, 4 months ago) by johnpye
Some debug output in cond_config.
Working on adding PyGTK GUI functionality to show inactive relaitons.

Revision 806 - Directory Listing
Modified Fri Aug 4 07:45:18 2006 UTC (13 years, 4 months ago) by johnpye
Added reporting of 'included' relations in PyGTK interface.
Minor commenting changes to instquery.h.

Revision 803 - Directory Listing
Modified Fri Aug 4 05:51:31 2006 UTC (13 years, 4 months ago) by johnpye
Added default solver preference in PyGTK GUI.
Removed some debug output from library.cpp

Revision 799 - Directory Listing
Modified Tue Aug 1 00:56:10 2006 UTC (13 years, 4 months ago) by johnpye
Corrected syntax in testcmslv.
Changed instance.cpp so that residuals are not called for logrels.
Added CONOPT_BOUNDLIMIT to both slv8 and slv9.
Changed limits for colsta in slv9 (needs checking)

Revision 792 - Directory Listing
Modified Thu Jul 27 14:07:13 2006 UTC (13 years, 4 months ago) by johnpye
Fixed some problems with self.browser.reporter

Revision 789 - Directory Listing
Modified Thu Jul 27 04:35:17 2006 UTC (13 years, 4 months ago) by johnpye
Working version of testconopt.a4c now. This model yeilds the solution given in the CONOPT tutorial.

Revision 788 - Directory Listing
Modified Thu Jul 27 03:17:54 2006 UTC (13 years, 4 months ago) by johnpye
CONOPT running with testconopt.a4c but seems to give the wrong answer still.

Revision 786 - Directory Listing
Modified Wed Jul 26 15:04:32 2006 UTC (13 years, 4 months ago) by johnpye
Added a test model for use with CONOPT.

Revision 785 - Directory Listing
Modified Wed Jul 26 14:29:09 2006 UTC (13 years, 4 months ago) by johnpye
Some more work to integrate the new CONOPT API with ASCEND.
Also added ability to select different solvers from the PYGTK GUI

Revision 783 - Directory Listing
Modified Wed Jul 26 09:16:19 2006 UTC (13 years, 4 months 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 (13 years, 4 months 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 781 - Directory Listing
Modified Tue Jul 25 00:18:19 2006 UTC (13 years, 4 months ago) by johnpye
Fixed up building of extfntest on MinGW.
Added extfntest DLL to Windows installer.

Revision 780 - Directory Listing
Modified Tue Jul 18 06:43:30 2006 UTC (13 years, 5 months ago) by johnpye
Fixing problem with extern "C" linkage in new compiler.cpp file.

Revision 776 - Directory Listing
Modified Sat Jul 15 07:23:50 2006 UTC (13 years, 5 months ago) by johnpye
There are still some problems with this. The fiable varsa list doesn't seem to update.

Revision 775 - Directory Listing
Modified Sat Jul 15 07:18:54 2006 UTC (13 years, 5 months ago) by johnpye
Tidied up headers in slvDOF.h
Added 'show freeable vars' to GUI.
Fixed up the 'check' function a bit. It was doing strange things.

Revision 774 - Directory Listing
Modified Fri Jul 14 08:01:48 2006 UTC (13 years, 5 months ago) by johnpye
Added the ability to run methods on sub-models within a simulation. Use the right-click context menu.

Revision 773 - Directory Listing
Modified Fri Jul 14 06:07:14 2006 UTC (13 years, 5 months ago) by johnpye
Adding files for the 'Compiler' class.

Revision 772 - Directory Listing
Modified Fri Jul 14 06:03:47 2006 UTC (13 years, 5 months ago) by johnpye
Improved the reporting of structural singularities in PyGTK interface.

Revision 770 - Directory Listing
Modified Fri Jul 14 03:35:16 2006 UTC (13 years, 5 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 759 - Directory Listing
Modified Thu Jul 13 04:16:10 2006 UTC (13 years, 5 months ago) by johnpye
Commenting and changes to deubg output. Some reformatting of ModifyBlackBoxRelationPointers.

Revision 751 - Directory Listing
Modified Wed Jul 12 02:49:46 2006 UTC (13 years, 5 months ago) by johnpye
Added 'ASC_DEBUGGER' env var that allows ASCEND to be run through valgrind.

Revision 750 - Directory Listing
Modified Wed Jul 12 02:23:05 2006 UTC (13 years, 5 months ago) by johnpye
Added listing of external functions to PyGTK GUI.

Revision 747 - Directory Listing
Modified Tue Jul 11 05:42:43 2006 UTC (13 years, 5 months ago) by johnpye
Added couple of missing keywords: 'OF' and 'set'.

Revision 746 - Directory Listing
Modified Fri Jul 7 11:01:26 2006 UTC (13 years, 5 months ago) by johnpye
Fixed small int/unsigned warnings.
Switched to preferring 'numarray' over 'numpy' (perhaps temporarily)

Revision 743 - Directory Listing
Modified Thu Jul 6 14:22:26 2006 UTC (13 years, 5 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 (13 years, 5 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 737 - Directory Listing
Modified Wed Jul 5 12:36:29 2006 UTC (13 years, 5 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 736 - Directory Listing
Modified Wed Jul 5 04:56:26 2006 UTC (13 years, 5 months ago) by johnpye
Relation expressions shown in diagnose window
(click in incidence matrix, then (i) or alt-r)

Revision 735 - Directory Listing
Modified Wed Jul 5 02:42:19 2006 UTC (13 years, 5 months ago) by johnpye
Improved implementation of 'diagnose' window in PyGTK interface.
You can now view solver-side details about variables and relations, see the '(i)' icons.

Revision 734 - Directory Listing
Modified Wed Jul 5 01:18:43 2006 UTC (13 years, 5 months ago) by johnpye
Added missing dependence for ascpy.py

Revision 732 - Directory Listing
Modified Tue Jul 4 14:40:17 2006 UTC (13 years, 5 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 729 - Directory Listing
Modified Tue Jul 4 07:05:44 2006 UTC (13 years, 5 months ago) by johnpye
Fixed up incidence matrix so that var/rel are reported right there in the
plot window. Note sure which version of Matplotlib is required yet though.

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

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

Revision 723 - Directory Listing
Modified Mon Jul 3 07:46:53 2006 UTC (13 years, 5 months ago) by johnpye
Added 'auto-sim' mode: models with same stem name as the file are automatically instantiated on loading.

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

Revision 714 - Directory Listing
Modified Sat Jul 1 03:16:38 2006 UTC (13 years, 5 months ago) by johnpye
Commented out some disused vars

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

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

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

Revision 709 - Directory Listing
Modified Wed Jun 28 16:28:57 2006 UTC (13 years, 5 months ago) by johnpye
Monster commit!
Lots of recommenting and reorganising of external relations-related stuff.
Replaced a lot of ascmalloc and asccalloc calls with the new ASC_NEW* macros.
Fixed (?) the problem Art is having with icons in PyGTK.
Turned on -Wall in SConstruct and fixed up a stack of warnings.
Removed the redundant exit(2) from after Asc_Panic calls and added __attribute__((noreturn)).
Set doxygen to create callgraphs to level 2, updated doxyfile to version 1.4.7.
Fixed up building of extfntest.c.

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

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

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

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

Revision 688 - Directory Listing
Modified Wed Jun 21 23:42:55 2006 UTC (13 years, 5 months ago) by johnpye
Fixed up runtime problem with 'auto solve' menu

Revision 682 - Directory Listing
Modified Wed Jun 21 12:11:27 2006 UTC (13 years, 5 months ago) by johnpye
'auto solve' is now remembered in user preferences

Revision 669 - Directory Listing
Modified Wed Jun 21 07:00:45 2006 UTC (13 years, 5 months ago) by johnpye
Merged changes from DAE branch (revisions 702 to 819) back into trunk.
This adds the Integration API to the ASCEND solver (in base/generic).
Also provides pre-alpha support for 'IDA' from the SUNDIALS suite, a DAE solver.
Many other minor code clean-ups, including adoption of new 'ASC_NEW' and friends (to replace 'ascmalloc')
Added some very sketchy stuff providing 'DIFF(...)' syntax, although it is anticipated that this will be removed.

Revision 662 - Directory Listing
Modified Wed Jun 14 09:33:04 2006 UTC (13 years, 6 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 632 - Directory Listing
Modified Wed May 24 15:19:51 2006 UTC (13 years, 6 months ago) by johnpye
Setting matplotlib to use GTKAgg renderer. Should help in the case of Windows.

Revision 631 - Directory Listing
Modified Wed May 24 05:14:20 2006 UTC (13 years, 6 months ago) by johnpye
Changed the way that installer is created on Windows: now you must use
'scons installer' to build the installer. This will only work on windows.
The WITH_INSTALLER option has been removed. 

Switched the expected version of Tcl to 8.4 under Windows for builds with SCons.

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

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

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

Revision 627 - Directory Listing
Modified Tue May 23 03:07:41 2006 UTC (13 years, 6 months ago) by johnpye
Fixing the windows build.
Added full support for Tcl/Tk version to the installer.

Revision 625 - Directory Listing
Modified Thu May 18 16:07:09 2006 UTC (13 years, 6 months ago) by johnpye
Fixed incidences of INSTALL_DATA in SConscript files.

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


Details:

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

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

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


Revision 615 - Directory Listing
Modified Wed May 17 06:29:40 2006 UTC (13 years, 7 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 610 - Directory Listing
Modified Tue May 16 08:10:29 2006 UTC (13 years, 7 months ago) by johnpye
Pass calling parameters of ascend.bat through to PyGTK. Needs to be tested still.

Revision 603 - Directory Listing
Modified Mon May 15 14:38:01 2006 UTC (13 years, 7 months ago) by johnpye
Added an exception wrapper around the 'set icon' call for the main window.
Working on adding Tcl/Tk support to the windows installer (need a WinXP machine to test this, or fix the max line length issue).

Revision 590 - Directory Listing
Modified Thu May 11 04:40:18 2006 UTC (13 years, 7 months ago) by johnpye
Minor cleaning.

Revision 580 - Directory Listing
Modified Tue May 9 06:56:55 2006 UTC (13 years, 7 months ago) by johnpye
Fixed a problem with GTK+ 2.6 on Windows.

Revision 579 - Directory Listing
Modified Tue May 9 06:21:18 2006 UTC (13 years, 7 months ago) by johnpye
Fixed for Ubuntu 5.10 (linking to libstdc++ when building _ascpy.so)
Tested with MinGW/WinXP, still OK.

Revision 578 - Directory Listing
Modified Tue May 9 04:59:03 2006 UTC (13 years, 7 months ago) by johnpye
Customisable installer .exe names.
Moved NSIS tool into the scons subdirectory, reverted to standard NsisSconsBuilder from the SCons Wiki.

Revision 577 - Directory Listing
Modified Tue May 9 04:08:53 2006 UTC (13 years, 7 months ago) by johnpye
Bumping the version number for NSIS and RPM pre-releases

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

Revision 559 - Directory Listing
Modified Wed May 3 02:40:23 2006 UTC (13 years, 7 months ago) by johnpye
Expanded the installation instructions a little bit.

Revision 558 - Directory Listing
Modified Wed May 3 00:01:46 2006 UTC (13 years, 7 months ago) by johnpye
Fixing some dependency issues with the building of the SWIG wrapper.
Added automatic SWIG dependency scanner (from the SCons Wiki).

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

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


Revision 540 - Directory Listing
Modified Tue Apr 25 23:57:49 2006 UTC (13 years, 7 months ago) by johnpye
Fixing SCons Tcl/Tk build on Windows.

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

Revision 533 - Directory Listing
Modified Mon Apr 24 05:54:11 2006 UTC (13 years, 7 months ago) by johnpye
Starting to refactor the model browser as its own python class.
Fixed a bug with the 'diagnose' feature on linux due to failed loading of an icon.

Revision 532 - Directory Listing
Modified Mon Apr 24 02:23:08 2006 UTC (13 years, 7 months ago) by johnpye
Copied from: trunk/interface revision 531
Removed 'interface' directory in trunk/pygtk/interface (moved everything up a level)
Made corresponding changes to SCons* and spec files.

Revision 531 - Directory Listing
Modified Mon Apr 24 02:04:02 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/interface
Copied from: trunk/pygtk/interface revision 530
Removing extra subdir level in pygtk path

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

Revision 529 - Directory Listing
Modified Sat Apr 22 06:26:23 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 527 - Directory Listing
Modified Fri Apr 21 15:20:17 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Correct the regular expression

Revision 526 - Directory Listing
Modified Fri Apr 21 13:47:31 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed up a problem with ordering of headers with Python.h.
Removed psyco initialisation, pending evidence that it actually does something :-)
Disabled python 'director' error message callbacks, trying to debug a segfault.
Added ability to disable GCC Visibility, scons WITH_GCCVISIBILITY=0.
Turned off runtime signal tests for SIG_INT and SIG_FPE (makes using GDB a pain), see base/generic/utilities/ascSignal.[ch].

Revision 524 - Directory Listing
Modified Fri Apr 21 07:38:32 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Another small fix to the tuple bug

Revision 519 - Directory Listing
Modified Fri Apr 21 02:07:11 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing up the 'tuple' thing (Yomi's change) as it didn't now work with Python 2.4
Fixed up dependencies around the SWIG compile.
Fixed so that SCons makes pygtk/interface/ascend executable automatically.

Revision 514 - Directory Listing
Modified Wed Apr 19 14:59:06 2006 UTC (13 years, 7 months ago) by wangym
Original Path: trunk/pygtk/interface
the position maybe negative after maximized in ini

Revision 510 - Directory Listing
Modified Wed Apr 19 06:38:42 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Removing the chmod+x ascend thing, it's not right.

Revision 509 - Directory Listing
Modified Wed Apr 19 05:13:08 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
SWIG < 1.3.28 can't do GCC visibility, so turn off for python interface in that case.

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

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


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

Revision 506 - Directory Listing
Modified Tue Apr 18 14:30:39 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 505 - Directory Listing
Modified Tue Apr 18 13:22:29 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Add some 'Depends' to ensure that the PyGTK app gets built before the installer does.

Revision 504 - Directory Listing
Modified Tue Apr 18 13:14:20 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Playing around with dllspec for gcc 4.0, trying to fix a bug.

Revision 502 - Directory Listing
Modified Tue Apr 18 12:57:30 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 499 - Directory Listing
Modified Tue Apr 18 08:26:16 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working on Linux again.
For some reason you need to run /sbin/ldconfig though. I'm going to
ask Ben about this.

Revision 498 - Directory Listing
Modified Tue Apr 18 08:07:13 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 485 - Directory Listing
Modified Tue Apr 18 04:47:11 2006 UTC (13 years, 7 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 482 - Directory Listing
Modified Mon Apr 17 12:22:31 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Set up memory of file->open path in PyGTK GUI.
Improved pass-through of ./ascend parameters in ASC_DEVELOPING mode.
Removed disused SWIG builder in SConscript (using SCOns' builtin stuff now)
Improved some console messages from Python.

Revision 481 - Directory Listing
Modified Mon Apr 17 11:10:29 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed the windows crash problem. Actually looks like it was a bug 
with some hot-off-the-press SWIG features.

Revision 480 - Directory Listing
Modified Mon Apr 17 10:45:23 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 479 - Directory Listing
Modified Mon Apr 17 08:49:14 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
More small tweaks to help debug loading of PyGTK GUI

Revision 478 - Directory Listing
Modified Mon Apr 17 08:10:48 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 476 - Directory Listing
Modified Mon Apr 17 07:06:45 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added some INSTALL notes relating to building windows installer.
Added some optimisations to the SWIG build to reduce target file size.
Fixed bug with WITH_INSTALLER=1 flag.

Revision 466 - Directory Listing
Modified Sun Apr 16 15:07:48 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Rolled back revision 451, since the DLL loading issue on Windows is now resolved.
Fixed up some #ifdef brackets in slv*.h headers.
Added NSIS functionality to SConstruct file
Renamed default installer to 'ascend-setup.exe' pending a more clever approach to version numbers.

Revision 465 - Directory Listing
Modified Sun Apr 16 13:43:44 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Renamed 'WITHOUT_TCLTK_GUI' option to 'WITHOUT_TCLTK'.
Hard-wired path to c:\Python24 and c:\GTK\bin in Windows Python GUI installer.

Revision 463 - Directory Listing
Modified Sun Apr 16 10:18:16 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Converting to the new shared-object configuration (on email discussion with Ben)
First stage: PyGTK interface on windows. More to come.

Revision 462 - Directory Listing
Modified Sun Apr 16 00:38:25 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
32x32 icon for gnome-files

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

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

Revision 454 - Directory Listing
Modified Wed Apr 5 07:43:57 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added icon

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

Revision 450 - Directory Listing
Modified Wed Apr 5 01:54:16 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Removed ~/ascdata from DEFAULT_ASCENDLIBRARY

Revision 449 - Directory Listing
Modified Wed Apr 5 01:32:45 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding 'models' directory to SCons install

Revision 448 - Directory Listing
Modified Wed Apr 5 01:04:59 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
RPM build works now. The model library isn't being installed but the PyGTK interface opens up correctly.

Revision 447 - Directory Listing
Modified Wed Apr 5 00:31:15 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Renamed 'desktop' directory to 'gnome'

Revision 446 - Directory Listing
Modified Wed Apr 5 00:30:15 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added GNOME integration stuff under pygtk/interface/desktop

Revision 440 - Directory Listing
Modified Tue Apr 4 11:58:26 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added missing 'ascend.in' and fixed up missing dependencies in RPM spec

Revision 437 - Directory Listing
Modified Tue Apr 4 11:08:15 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Missed a GLADE_FILE

Revision 436 - Directory Listing
Modified Tue Apr 4 11:02:51 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Implemented installer version of PyGTK interface. Use 'scons install' to
install. See 'scons -h' for new build options.

Revision 435 - Directory Listing
Modified Tue Apr 4 10:09:09 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Starting work on linux-based install process

Revision 427 - Directory Listing
Modified Tue Apr 4 04:13:34 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 426 - Directory Listing
Modified Tue Apr 4 01:09:05 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Some debug output added for bug #255.

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

Revision 404 - Directory Listing
Modified Sat Apr 1 05:37:52 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added Tcl detection. Still to do: check that Tk version matches Tcl version.

Revision 398 - Directory Listing
Modified Fri Mar 31 07:55:11 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added SWIG version detection.
Added some ignore patterns for files in the repository.

Revision 395 - Directory Listing
Modified Fri Mar 31 06:09:03 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Successful build of Python interface on Windows with MinGW/MSYS.

Revision 393 - Directory Listing
Modified Thu Mar 30 14:46:37 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed SCons build to do output of config file 'config.py' require
by PyGTK GUI. Removed requirement for 'config.h' from the C++ file
and instead supplied required flags via compiler commandline.

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

Revision 391 - Directory Listing
Modified Thu Mar 30 07:19:05 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
A little bit of progress on getting the windows build to work

Revision 388 - Directory Listing
Modified Thu Mar 30 05:52:06 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Successful build of the PyGTK interface with SCons on Linux (FC4)

Revision 387 - Directory Listing
Modified Thu Mar 30 05:13:59 2006 UTC (13 years, 8 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added SConscript for PyGTK interface.
It's not finding the lib files, something wrong with the -L options?

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

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

Revision 379 - Directory Listing
Modified Wed Mar 15 12:48:03 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 378 - Directory Listing
Modified Wed Mar 15 11:32:33 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing makefile <TAB>

Revision 377 - Directory Listing
Modified Wed Mar 15 11:27:22 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
By default, no xterm console colour codes are used now.
More output in extfn test python script.
pygtk/interface/Makefile cleans up gcov files when 'make clean'.

Revision 374 - Directory Listing
Modified Tue Mar 14 08:41:17 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing script

Revision 373 - Directory Listing
Modified Tue Mar 14 08:39:37 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 372 - Directory Listing
Modified Tue Mar 14 05:36:32 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Set ./configure to use 'support files' like install-sh from the main base/autotools/config dir

Revision 366 - Directory Listing
Modified Thu Mar 9 06:26:51 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Some fixes for GTK+

Revision 365 - Directory Listing
Modified Thu Mar 9 06:20:17 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding a windows/gtk adaptable filechooser.

Revision 361 - Directory Listing
Modified Wed Mar 8 03:47:59 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed bug 234.
Added 'loading...' to console output when PyGTK GUI is starting up.

Revision 359 - Directory Listing
Modified Tue Mar 7 03:17:43 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing for linux

Revision 358 - Directory Listing
Modified Mon Mar 6 06:53:59 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Syntax definition file for TextPad

Revision 357 - Directory Listing
Modified Mon Mar 6 06:30:21 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added work for creating a windows installer

Revision 356 - Directory Listing
Modified Mon Mar 6 03:43:04 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing bug 231.

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

Revision 351 - Directory Listing
Modified Fri Mar 3 04:45:19 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added windows-friendly application icon
Moved all references to GLADE_FILE to the new config.py arrangement.
First commit after the repository was broken...

Revision 350 - Directory Listing
Modified Fri Mar 3 04:27:16 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
This file was what had broken the repository. SO I'll remove it.

Revision 349 - Directory Listing
Modified Fri Mar 3 01:00:17 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Removed file/folder

Revision 348 - Directory Listing
Modified Thu Mar 2 01:53:21 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface


Revision 347 - Directory Listing
Modified Thu Mar 2 00:28:11 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding missing files for ./configure build of PyGTK GUI

Revision 345 - Directory Listing
Modified Wed Mar 1 11:09:00 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Hopefully permit debugging from within MSYS as well...?

Revision 342 - Directory Listing
Modified Wed Mar 1 06:11:03 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working on getting PyGTK plotting to work under windows

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

Revision 340 - Directory Listing
Modified Wed Mar 1 03:41:35 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed SWIG error
Fixed selftest.py to work with new SolverReporter

Revision 339 - Directory Listing
Modified Wed Mar 1 03:36:38 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed build problems on Linux (still some remain
in the 'reconfig' and 'configure.in' files for
Tcl/Tk build)

Revision 338 - Directory Listing
Modified Wed Mar 1 03:11:27 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added GLADE_FILE location to configpy.in.
Added warning about the SWIG error under MinGW to gtkbrowser.py.

Revision 337 - Directory Listing
Modified Wed Mar 1 00:51:23 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 336 - Directory Listing
Modified Tue Feb 28 11:39:08 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing SWIG modifications

Revision 332 - Directory Listing
Modified Tue Feb 28 04:39:00 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 329 - Directory Listing
Modified Fri Feb 24 06:16:31 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed bug 229

Revision 328 - Directory Listing
Modified Fri Feb 24 06:05:10 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added ability to output variables at bounds (currently just to the console).
Changed solver parameters window into a proper 'dialog'.
Various fixes to make dialogs focus and position correctly.

Revision 325 - Directory Listing
Modified Fri Feb 24 01:05:43 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing up initial values in SolverReporter
Fixing 'block time'

Revision 323 - Directory Listing
Modified Fri Feb 24 00:01:15 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added reporting of amount of time spent updating GUI
Added SolverReporter.update_interval to preferences

Revision 322 - Directory Listing
Modified Thu Feb 23 14:28:36 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Cleaning up: In PopupSolverReporter, change 'Variables' to 'n of N' instead of just 'N'

Revision 321 - Directory Listing
Modified Thu Feb 23 14:14:36 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added 'close on non-converged' preference
Unified message output for popup/non-popup status reporting

Revision 319 - Directory Listing
Modified Thu Feb 23 12:30:40 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed a bug with the diagnose window after a successful solve
Added preference: SolverReporter:close_on_converged

Revision 318 - Directory Listing
Modified Thu Feb 23 10:29:29 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working on solver interrupt using 'stop' button

Revision 317 - Directory Listing
Modified Thu Feb 23 10:21:17 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added GUI SolverReporter... you can now watch the residuals shrink, etc.

Revision 316 - Directory Listing
Modified Thu Feb 23 07:49:27 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed bug #233

Revision 315 - Directory Listing
Modified Thu Feb 23 07:40:47 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Expanded the python solver reporter a little
Added detection of newer SWIG versions that can optimise (-O)

Revision 314 - Directory Listing
Modified Thu Feb 23 06:00:42 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Finally fixed the SolverReporter problems. Thanks Marcelo!

Revision 313 - Directory Listing
Modified Thu Feb 23 05:46:05 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Further changes as suggested by Marcelo.

Revision 312 - Directory Listing
Modified Thu Feb 23 05:26:57 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Changing to SolverStatus* in report(...)

Revision 311 - Directory Listing
Modified Thu Feb 23 04:54:13 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
More work on SolveReporter following help from Marcelo Matus on SWIG mailing list.

Revision 310 - Directory Listing
Modified Thu Feb 23 03:48:56 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed the SolveReporter functionality so that it works from Python

Revision 309 - Directory Listing
Modified Thu Feb 23 01:16:08 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
See http://www.swig.org/Doc1.3/Typemaps.html

Revision 308 - Directory Listing
Modified Thu Feb 23 00:58:12 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working on adding the SolverReporter class that will allow
different GUI output for the solver, depending on the context.
For example, solving from the 'Diagnose' window will give
different user feedback to solving from the main window.

Revision 307 - Directory Listing
Modified Wed Feb 22 07:48:17 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added wrapping of slv_status_t (SolverStatus) for bug #138.
Improved 'About...' box.

Revision 300 - Directory Listing
Modified Fri Feb 17 08:04:04 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Moving stuff around for GLADE

Revision 299 - Directory Listing
Modified Fri Feb 17 07:09:09 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding ctrl-F and ctrl-R for fix/free

Revision 298 - Directory Listing
Modified Fri Feb 17 07:07:36 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added ascend icon

Revision 297 - Directory Listing
Modified Fri Feb 17 01:51:19 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed bug #227

Revision 295 - Directory Listing
Modified Thu Feb 16 08:10:24 2006 UTC (13 years, 9 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added ability to output structural singularity analysis.

Revision 294 - Directory Listing
Modified Thu Feb 16 02:53:56 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed collapse/expand in 'diagnose' window, and added their values to preferences

Revision 291 - Directory Listing
Modified Fri Feb 10 03:32:21 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Tiny bug

Revision 290 - Directory Listing
Modified Fri Feb 10 03:30:05 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixable vars added to interface (outputs to console)
Added 'next big' and 'prev big' to move between 'big blocks' in the diagnose window.

Revision 287 - Directory Listing
Modified Thu Feb 9 23:56:11 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
More on diagnose window.

Revision 286 - Directory Listing
Modified Thu Feb 9 07:36:39 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added cursor to report mouse-over variable and residual

Revision 285 - Directory Listing
Modified Thu Feb 9 04:21:30 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Colours fixed, zooming works, active block focussed by default.

Revision 284 - Directory Listing
Modified Thu Feb 9 03:02:44 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Improved display of blocks with zoom facility added

Revision 283 - Directory Listing
Modified Wed Feb 8 15:30:50 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
This is the initial working 'block diagnose' functionality.

Revision 282 - Directory Listing
Modified Wed Feb 8 13:51:04 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
This version uses direct creation of the block incidence matrix image data
using the gtk.gdk.pixbuf_new_from_data function.

Revision 281 - Directory Listing
Modified Wed Feb 8 11:18:19 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding icons

Revision 280 - Directory Listing
Modified Wed Feb 8 08:31:56 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Some work on adding the 'block diagnosis' window

Revision 279 - Directory Listing
Modified Tue Feb 7 07:23:44 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Add optional use of PSYCO, see http://psyco.sourceforge.net/

Revision 278 - Directory Listing
Modified Mon Feb 6 23:52:30 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Removed reference to libf2c (I think this was required only on FC3)
Updated use of SWIG 'typemap' syntax in ascend.i
Corrected C++ code for FC5 (art's error msg)
Fixed minor but with uninstantiated models in PyGTK GUI

Revision 277 - Directory Listing
Modified Mon Feb 6 09:23:10 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed bug #216

Revision 276 - Directory Listing
Modified Mon Feb 6 00:07:58 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Changes to the condenser model
Working on a 'diagnose' window, maybe

Revision 275 - Directory Listing
Modified Sun Feb 5 13:33:25 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added reporting of divergent relation names.
Found more convergent form of LMTD heat-exchanger equation

Revision 274 - Directory Listing
Modified Sun Feb 5 08:03:06 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed minor bug

Revision 273 - Directory Listing
Modified Sun Feb 5 06:44:06 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added reporting of relations and residuals via GUI

Revision 271 - Directory Listing
Modified Sat Feb 4 09:08:54 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working on adding support for listing cliques

Revision 270 - Directory Listing
Modified Sat Feb 4 08:00:21 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
More on the usability of the solver_var props window

Revision 269 - Directory Listing
Modified Sat Feb 4 07:15:30 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added usability keybindings on properties input fields: escape, enter

Revision 268 - Directory Listing
Modified Sat Feb 4 06:09:57 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding ability to edit upper/lower bounds and nominal values

Revision 264 - Directory Listing
Modified Fri Feb 3 04:26:04 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Deactivated bintokens. Need to implement a GUI on/off switch for this

Revision 260 - Directory Listing
Modified Thu Feb 2 15:31:29 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Improved behaviour of incidence matrix when you mouseover points outside the matrix
Stopped emitting exception for Block out of range (why does it happen?)

Revision 258 - Directory Listing
Modified Thu Feb 2 14:50:05 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Made it so that fixed variables never get an icon.

Revision 255 - Directory Listing
Modified Thu Feb 2 14:02:23 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding preliminary support for showing variable solve-status in browser view

Revision 254 - Directory Listing
Modified Thu Feb 2 06:27:17 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added reporting of unconverged variables to the console

Revision 253 - Directory Listing
Modified Thu Feb 2 00:24:38 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding reorderable and movable columns in Observer.
Removing some debug output from console

Revision 252 - Directory Listing
Modified Wed Feb 1 06:29:46 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Implemented editable 'active' row in observer
Move focus of to active row when new row added and observer tab already focussed

Revision 251 - Directory Listing
Modified Wed Feb 1 04:33:46 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed observer copy crash, bug #214.

Revision 250 - Directory Listing
Modified Wed Feb 1 04:01:10 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
You can now copy the observer matrix to the clipboard and paste into another document.

Revision 249 - Directory Listing
Modified Wed Feb 1 03:22:11 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working (read-only) observer thing. Observer instances are updated in the table
and if you click 'add' on the observer tab, the current values are kept and a new
row is added.

Revision 248 - Directory Listing
Modified Wed Feb 1 03:20:29 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding new icons

Revision 247 - Directory Listing
Modified Wed Feb 1 00:46:12 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added missing file

Revision 246 - Directory Listing
Modified Tue Jan 31 16:24:27 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Some more work on the 'Observer' feature

Revision 245 - Directory Listing
Modified Tue Jan 31 07:49:58 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Working on adding Observer functionality

Revision 242 - Directory Listing
Modified Mon Jan 30 15:02:26 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Minor usability improvements - keybindings

Revision 241 - Directory Listing
Modified Mon Jan 30 09:36:11 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding a couple of icons

Revision 240 - Directory Listing
Modified Mon Jan 30 09:35:34 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Can now view block numbers via console while mouse-ing over incidence matrix

Revision 238 - Directory Listing
Modified Mon Jan 30 06:41:10 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added reporting of relation name to console onmouseover of incidence matrix

Revision 237 - Directory Listing
Modified Mon Jan 30 06:10:26 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Incidence matrix now reports the mouseover-ed variable on the console

Revision 235 - Directory Listing
Modified Mon Jan 30 01:48:01 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed some problems with the split-off solverparameters.py file

Revision 234 - Directory Listing
Modified Sun Jan 29 17:15:47 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Plotting of incidence matrix: still need to check that orientation is correct though.

Revision 233 - Directory Listing
Modified Sun Jan 29 16:55:27 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Something resembling an incidence matrix returned via SWIG...

Revision 231 - Directory Listing
Modified Sun Jan 29 14:15:44 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
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 230 - Directory Listing
Modified Sun Jan 29 07:16:06 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Solverparameters GUI code split into separate file.
Help launcher started, will need more work.
Corrected wrong cpu_elapsed values in GUI by direct use of tm_cpu_time()
Added 'about' box.
Fixed 'auto' menu option.

Revision 228 - Directory Listing
Modified Sat Jan 28 05:22:38 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed up bounds checking for solver parameter window

Revision 227 - Directory Listing
Modified Sat Jan 28 04:44:15 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added grouping of solver parameters into pages

Revision 226 - Directory Listing
Modified Sat Jan 28 02:12:19 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Can now edit string values via drop-down menu, just like with Tcl/Tk interface.
Boolean values changed with a doubleclick.

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

Revision 223 - Directory Listing
Modified Fri Jan 27 08:18:43 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Some progress on editable solver parameters

Revision 221 - Directory Listing
Modified Fri Jan 27 03:05:38 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added ability to examine solver parameters via python

Revision 215 - Directory Listing
Modified Wed Jan 25 02:08:29 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Improved display of relations by adding getRelationAsString(relative_to)

Revision 213 - Directory Listing
Modified Tue Jan 24 23:25:56 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed some missed 'ExtFn'->'ExtMethod' changes

Revision 212 - Directory Listing
Modified Tue Jan 24 13:20:47 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Changing nomenclature from ExtFn to ExtMethod

Revision 211 - Directory Listing
Modified Tue Jan 24 13:20:20 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding FIX and ASSERT keywords to gedit syntax definition

Revision 210 - Directory Listing
Modified Tue Jan 24 13:18:15 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Changing nomenclature to 'external method' and 'ExtMethod'

Revision 208 - Directory Listing
Modified Tue Jan 24 03:19:37 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added menu bar at top of PyGTK interface.
'Preferences' menu currently just outputs the number of
solver parameters in use. Plan is to allow the parameters
to be viewed and edited via the GUI.

Revision 207 - Directory Listing
Modified Mon Jan 23 06:47:06 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added ability to output expressions from PyGTK interface. Expressions are
output to the console using WriteRelationString. You must right-click on
a relation an hit 'properties'.

Revision 196 - Directory Listing
Modified Tue Jan 17 15:58:23 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Improved status reporting for solvers. When a solver is going slowly, you'll get a fair bit of output. If it's going fast there shouldn't be much input at all. Todo: use some kind of callback technique to get this information back to the GUI.

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

Revision 193 - Directory Listing
Modified Tue Jan 17 02:28:18 2006 UTC (13 years, 10 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing up some cygwin stuff that crept in to the linux build...

Revision 191 - Directory Listing
Modified Mon Jan 16 09:03:29 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Minor fixes to PyGTK build after error_reporter modifications of last revision.

Revision 190 - Directory Listing
Modified Mon Jan 16 08:53:30 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
- Simplifying many 'error_reporter' calls with new macros:
    ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE
- Adding some cygwin cases in the PyGTK build.

Revision 189 - Directory Listing
Modified Mon Jan 16 07:48:18 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Changing default name for Jam-built libraries
Annotating out-of-date NOTES.configure
Removing apparently-broken ability to use Jam build in PyGTK GUI

Revision 185 - Directory Listing
Modified Fri Jan 13 03:35:54 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing missing 'clear' commands to allow new models to be loaded/reloaded

Revision 182 - Directory Listing
Modified Thu Jan 12 06:05:35 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed problem with figure closing causing ASCEND to exit

Revision 181 - Directory Listing
Modified Thu Jan 12 05:43:41 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixed up the right-click context menu a bit

Revision 180 - Directory Listing
Modified Thu Jan 12 03:20:58 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding a little documentation

Revision 177 - Directory Listing
Modified Tue Jan 10 06:57:34 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Removing some debug output, attempting to stop closing the figure from closing ASCEND

Revision 176 - Directory Listing
Modified Tue Jan 10 06:22:23 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Completed PyGTK plotting using matplotlib

Revision 175 - Directory Listing
Modified Tue Jan 10 04:27:34 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
More work on adding plotting capability under PyGTK

Revision 173 - Directory Listing
Modified Sat Jan 7 11:20:32 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
PyGTK interface now remembers size of errors/warnings pane as well.

Revision 172 - Directory Listing
Modified Sat Jan 7 10:06:13 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Storing of window size and position in .ascend.ini
Starting to implement plotting functions.

Revision 171 - Directory Listing
Modified Fri Jan 6 09:00:52 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Correct do_check

Revision 168 - Directory Listing
Modified Fri Jan 6 01:08:58 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
PyGTK GUI: Added wait cursor during solve, changed method select box so that you can't type into it.

Revision 164 - Directory Listing
Modified Tue Jan 3 09:54:43 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Added wait-cursor during compile/build, started working
on correct destruction of Simulation objects.

Revision 161 - Directory Listing
Modified Mon Jan 2 09:58:03 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding missing call to Library::clear()

Revision 160 - Directory Listing
Modified Mon Jan 2 09:57:02 2006 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Minor usability changes:
	default_self method highlighted by default
	model instance hierarchy top-level expanded on creation

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

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

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

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

Revision 143 - Directory Listing
Modified Thu Dec 22 03:41:47 2005 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing for ability to use both autotools and jam libraries

Revision 138 - Directory Listing
Modified Wed Dec 21 07:32:17 2005 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Fixing to set flags correctly for SWIG on MINGW.

Revision 132 - Directory Listing
Added Wed Dec 21 00:14:13 2005 UTC (13 years, 11 months ago) by johnpye
Original Path: trunk/pygtk/interface
Adding the PyGTK interface to CMU repository. Whaddyareckon?

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