Parent Directory | Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
Suppressing some console output. Added test case that current crashes ASCEND/IPOPT with a memory error. Issue with library.cpp not containing any way to free libascend memory.
Merging in refactor of the C++ code, which is moved out of 'pygtk' and into 'ascxx'. Adding support for IPOPT 3.9.1, the current latest version. Support in dtar for parallel builds (possibly needs some testing still).
Refactor some more stuff from 'utilities' into 'general' with goal that 'general' never refers to 'utilities'.
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.
Started work on exposing model parameters to canvas GUI. Updated header/comment formatting in type_descio.h. Fixed some warnings in error.c. A bug still exists error_reporter_tree_start that is causing problems with the canvas-based GUI. Added Info class to canvas code, for output of debug information via GUI. Added a few missing types of gtksourceview langdef.
Update to current freesteam.
Added Library::loadString method for loading string modules. First steps on 'run' command for canvas-based models. Fixed bug with use of obrowser. Minor correction to blocktypes.a4c.
Added operator< to SymChar class (C++). Added toString method to Dimensions class (C++). Fixed close-button behaviour in Solver Reporter dialog (Python). Added Library::getUnits to get list of all units of measurement in use (C++). Added Library::getRealAtomTypes to get list of all real atomic types (C++). Removed duplicated class definition for Dimensions in ascpy.i (C++). Added __str__ to Python wrapping of Dimensions type. Started working on populating data fields in UnitsDialog (Python). Default constructor for Dimensions object now creates 'wildcard' dimension. Cleared contents of library.i (should delete it actually). Added Type::isFundamental (C++). Tidied find.h formatting, #includes.
Refactored 'moduleview' stuff out of gtkbrowser.py. Fixed headers of childio.h (added #include "child.h") Fixed line-up of incidence matrix and axis tickmarks. Module list is now sorted in library.cpp. Added some docstrings in ascpy.i.
changed to ASC_ENV_SOLVERS and ASC_ENV_LIBRARY in C code. Rerranged order of Tcl/Tk initialisation so that path env vars are set before solvers are loaded.
Fixing for missing yacc/lex on Windows, auto-update of them when yacc/lex *are* avail. Fixing 'test.py' operation on Windows (ASCENDSOLVERS env var) Adding missing ida.dll to installer. Adding some missing export symbols in libascend.
Another one of these big refactorings. Split out 'system' directory from 'solver' directory. This will need more work but it's a start at getting the non-solver-specific code out separately.
@!@#$#$%! working at last
Fixed problem with sort order of diffvars vs sindex vs IntegratorSystem::y
Removed unnecessary #include <compiler.h>
Changed ascdev script to pure python.
Removed redundant 'Error:' text from runtime_error calls in Library::load
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.
Working on tracking down a segfault occuring when TestIDADENSE and TestExtFn test suites are run together. Added comments about new solverparameter macros.
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.
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)
Added 'error_reporter_tree' that can organise error messages/output into a structured hierarchy.
Little more on removing stream redirection (ongoing)
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'.
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.
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.
Added default solver preference in PyGTK GUI. Removed some debug output from library.cpp
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.
ExtRel_Evaluate_RHS is working now! (At least for my 1+1=2 example). Working now on fixing ExtRel_Evaluate_LHS.
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.
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.
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
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++.
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?
Fixed the windows crash problem. Actually looks like it was a bug with some hot-off-the-press SWIG features.
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.
Trying to fix problems with the parser 'yy' and 'zz' stuff so that it works with SCons and hopefuly autotools at same time.
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.
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.
Fixed some missed 'ExtFn'->'ExtMethod' changes
- Simplifying many 'error_reporter' calls with new macros: ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE - Adding some cygwin cases in the PyGTK build.
Adding a little documentation
More work on adding plotting capability under PyGTK
Added wait-cursor during compile/build, started working on correct destruction of Simulation objects.
Adding missing call to Library::clear()
Committed changes to C++ solver class to accommodate new slv_lookup_client. Still seeing bug #178 though.
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 |