Parent Directory | Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
Fixed OSPATH typo Other minor doc changes.
Adopted suggestions wrt Py_None on Windows platform (extpy) Fixed up default values of CUNIT_PREFIX (needs testing for case where missing)
Fixed some bugs with error_reporter_tree, and with error_callback in gtkbrowser.py
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)
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!
Little bit of added debug output
Added some debug stuff to work on the on_load problem.
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...
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'.
Improved check-for-updates a little bit
Adding on-request check for updates.
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).
Integrator remembers 'duration' used previously. Implemented interuption of integration with 'stop' button.
Added 'solve.py' as a simple way of calling the current solver from the PyGTK GUI. Breaks Tcl/Tk, almost certainly.
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.
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
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.
'hello world' works from external python module, correctly hooks into 'browser' object.
Working on fixing windows problem with version 0.9.5.100
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.
Added support for multiple observers/integrators for one simulation.
Some progress on a rewrite of the Observer funcitonality so that it can be shared with the IntegratorReporter.
Added reporting of 'included' relations in PyGTK interface. Minor commenting changes to instquery.h.
Added default solver preference in PyGTK GUI. Removed some debug output from library.cpp
Working version of testconopt.a4c now. This model yeilds the solution given in the CONOPT tutorial.
CONOPT running with testconopt.a4c but seems to give the wrong answer still.
Added a test model for use with CONOPT.
Some more work to integrate the new CONOPT API with ASCEND. Also added ability to select different solvers from the PYGTK GUI
There are still some problems with this. The fiable varsa list doesn't seem to update.
Tidied up headers in slvDOF.h Added 'show freeable vars' to GUI. Fixed up the 'check' function a bit. It was doing strange things.
Improved the reporting of structural singularities in PyGTK interface.
Added 'use relation sharing' option to the PyGTK GUI. Changed some debug output calls. Tidied up headers in anoncopy, anonmerg, etc.
Added listing of external functions to PyGTK GUI.
Fixed small int/unsigned warnings. Switched to preferring 'numarray' over 'numpy' (perhaps temporarily)
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.
Removed some debug messages from external libraries stuff. Fixed auto-sim stuff for files given with relative path on the commandline.
Fixed a *stupid* bug with relation.c in CreateBlackBoxRelation...
Added 'auto-sim' mode: models with same stem name as the file are automatically instantiated on loading.
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.
Fixed up runtime problem with 'auto solve' menu
'auto solve' is now remembered in user preferences
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.
Setting matplotlib to use GTKAgg renderer. Should help in the case of Windows.
Fixing the windows build. Added full support for Tcl/Tk version to the installer.
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).
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.
Removed 'interface' directory in trunk/pygtk/interface (moved everything up a level) Made corresponding changes to SCons* and spec files.
Removing extra subdir level in pygtk path
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].
Fixing for ubuntu GCC 4
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++.
Working on Linux again. For some reason you need to run /sbin/ldconfig though. I'm going to ask Ben about this.
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.
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.
More small tweaks to help debug loading of PyGTK GUI
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
Converting to the new shared-object configuration (on email discussion with Ben) First stage: PyGTK interface on windows. More to come.
Fixing default PackageOption values Adding --library option to gtkbrowser for ASC_DEVELOPING override of 'models' path.
Tidying up some debug output Fixing up use of icon filenames on Windows Removing reference to .svg file in glade/ascend.glade
Implemented installer version of PyGTK interface. Use 'scons install' to install. See 'scons -h' for new build options.
Some debug output added for bug #255.
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.
Fixed bug 234. Added 'loading...' to console output when PyGTK GUI is starting up.
Fixing bug 231.
In PyGTK 'modules' list, you can now see non-parameterised types in bold.
Added windows-friendly application icon Moved all references to GLADE_FILE to the new config.py arrangement. First commit after the repository was broken...
Working on getting PyGTK plotting to work under windows
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.
Added GLADE_FILE location to configpy.in. Added warning about the SWIG error under MinGW to gtkbrowser.py.
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.
Fixed bug 229
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.
Added 'close on non-converged' preference Unified message output for popup/non-popup status reporting
Added GUI SolverReporter... you can now watch the residuals shrink, etc.
Further changes as suggested by Marcelo.
Changing to SolverStatus* in report(...)
More work on SolveReporter following help from Marcelo Matus on SWIG mailing list.
Fixed the SolveReporter functionality so that it works from Python
Added wrapping of slv_status_t (SolverStatus) for bug #138. Improved 'About...' box.
Moving stuff around for GLADE
Adding ctrl-F and ctrl-R for fix/free
Fixed collapse/expand in 'diagnose' window, and added their values to preferences
Fixable vars added to interface (outputs to console) Added 'next big' and 'prev big' to move between 'big blocks' in the diagnose window.
Colours fixed, zooming works, active block focussed by default.
Some work on adding the 'block diagnosis' window
Add optional use of PSYCO, see http://psyco.sourceforge.net/
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
Fixed bug #216
Added reporting of relations and residuals via GUI
Working on adding support for listing cliques
More on the usability of the solver_var props window
Adding ability to edit upper/lower bounds and nominal values
Made it so that fixed variables never get an icon.
Adding preliminary support for showing variable solve-status in browser view
Implemented editable 'active' row in observer Move focus of to active row when new row added and observer tab already focussed
Fixed observer copy crash, bug #214.
You can now copy the observer matrix to the clipboard and paste into another document.
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.
Some more work on the 'Observer' feature
Working on adding Observer functionality
Incidence matrix now reports the mouseover-ed variable on the console
Fixed some problems with the split-off solverparameters.py file
Plotting of incidence matrix: still need to check that orientation is correct though.
Something resembling an incidence matrix returned via SWIG...
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)
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.
Fixed up bounds checking for solver parameter window
Added grouping of solver parameters into pages
Can now edit string values via drop-down menu, just like with Tcl/Tk interface. Boolean values changed with a doubleclick.
Added const-ness to 2nd parameter of slv_set_char_parameter. Implemented setting of int, real and string parameters via PyGTK interface.
Some progress on editable solver parameters
Added ability to examine solver parameters via python
Improved display of relations by adding getRelationAsString(relative_to)
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.
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'.
Fixing missing 'clear' commands to allow new models to be loaded/reloaded
Fixed problem with figure closing causing ASCEND to exit
Fixed up the right-click context menu a bit
Adding a little documentation
Removing some debug output, attempting to stop closing the figure from closing ASCEND
Completed PyGTK plotting using matplotlib
More work on adding plotting capability under PyGTK
PyGTK interface now remembers size of errors/warnings pane as well.
Storing of window size and position in .ascend.ini Starting to implement plotting functions.
Correct do_check
PyGTK GUI: Added wait cursor during solve, changed method select box so that you can't type into it.
Added wait-cursor during compile/build, started working on correct destruction of Simulation objects.
Minor usability changes: default_self method highlighted by default model instance hierarchy top-level expanded on creation
Removing debug output, adding self_test to iapws95.
Adding the PyGTK interface to CMU repository. Whaddyareckon?
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |