Parent Directory
|
Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
Fixes bug 488.
Errors in FIX/FREE partly caught, more to do still.
Add test of failing FIX statements for bug #488. Commented out unmigrated makemps code (need to migrate to new slv_param_* functions).
add note about needing new proc_enum for this case.
Addresses bug 456, maybe fixes it: failing ASSERT needs to pass back error flag for Proc_frame.
Add compiler_basics.stoponerror test (fails currently). Add solver_ipopt test suite, most tests passing. Refactor test registration to use macros uniformly throughout. Minor text change in initialize.c.
Suppress some debug output. Add a missing memory deallocation call in test_slvreq.c.
Fixes apparent memory leak from Initialize (fmncreate).
Identified error with top-level ProcFrame not being destroyed. Will ask Ben to comment.
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.
Refactor some more stuff from 'utilities' into 'general' with goal that 'general' never refers to 'utilities'.
Refactoring ascMalloc.h, mem.h to belong in 'general' with goal of having no references in 'general' to functions in 'utilities'.
Fixing error return from asc_helmholtz function. The bug with 'defaultall' functionality is still here... see boiler_simple_test mode in models/johnpye/fprops/rankine_fprops.a4c.
Working on bug 477, trying to fix recursive 'default_self' behaviour. Looks like problem is something to do with the 'RUN default' in basemodel.a4l, not sure why. Added 'STOP' to gedit syntax highlighting.
Fixed misplaced ascfree in the execute_init_fix_or_free fn. In debian/control, updated dependency name as for 10.04
Merging slvreq functionality into trunk.
issues resolved: 295 390 301 cmslv.c: unused var cleanup. lsode/SConscript: fortran flags bugs-- may not work with 0.9x scons. works with 1.2+. when adding -w, or any special flags, be sure to add them and not replace the original flag. system/var.c: 64bit clarity. system/discrete.c: 64bit clarity. system/analyze*: g_reuse declared in wrong place. 64bit clarity system/diffvars: missing prototype function, 64bit clarity. compiler/numlist.*: changed from int to glint. compiler/simlist.c: missing includes needed for 64bit clarity. compiler/instance_io.c: missing includes needed for 64bit clarity. compiler/initialize.[ch]: const clarifications. compiler/packages.c: const clarifications. compiler/module.c: const clarifications. compiler/statio.c: unused var cleanup. compiler/procframe; const clarification. memory deallocation bugs. compiler/notequery.c: repaired multiple casting and 64bit issues. compiler/importhandler.c: const and free issues fixed. compiler/type_desc.c: ridiculous if constructs clarified. compiler/createinst.c: casting stupidity repaired. linear/ranki2.c: missing includes needed for 64bitness. solver/solver.c: const issues clarified. utilities/ascConfig.h: added GLint typedefs for dealing with gllist 64bit portability. utilities/ascPanic.c: removed extraneous const. general/ospath.c: safer,quieter handling for string pointer difference. integrator/integrator.c: const issues clarified. packages/sensitivity.c: missing includes needed fo 64bit sanity. tcltk/interface/Integrators.c: 64 bitness. tcltk/interface/SimsProc.c: const errors. tcltk/interface/Driver.c: fixed env var handling wrt ascend-config (295) models/test/z*a4c: fixed meters -> m conversion; someone never ran the test suite after teasing the default units to ambiguous abbreviations. SConstruct: added sizeof checks; output might be better put in a ascend system-wide header.
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.
Moving libascend components from #/base/generic into #/ascend
Removed some debug output
Silenced some debug output Added ability to ctrl-C IDA when running through python
Added new 'default' functionality plus test case
Fixed dependencies on dimen.h and fractions.h.
Removed unnecessary #include <compiler.h>
Failed 'ASSERT' statements in a METHOD now cause the statement to be output (as well as its location). Improved code docs/GPL header for a few files. Added support for 'ASSERT' in WriteStatement. Added new WriteStatementError that included var-arg support. Fixed ASC_ASSERT_RANGE in AscPanic.
Fixed ability to run 'solve' from an external script method, without the present of the PyGTY GUI.
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'.
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.
first attempt at merging with Ben's changes on the trunk
Can now register python methods with ASCEND. Still can't execute the python code, but getting close.
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.
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.
Added reporting of invalid units in assignments (inside METHODs)
Changed the syntax of import from IMPORT id FROM id; to IMPORT id FROM "quoted/text/lib"; Writing external METHOD calls via the EXTERNAL methname(arglist); now works. Against my better judgement in a few cases, cleaned up the old EXT statement code from Abbott to work in a typesafe manner. A better solution is to get the CALL syntax working as defined in the grammar, but this takes a good deal more work and meanwhile people want to get their phds... Still some known bugs in relation_util. I need to commit the test models that go with the EXT statements. Fixed a bunch of lintish compiler complaints. Don't try to solve external models yet.
Restored autotools to working, parsers to typ_ and zz_, Fixed many missing initializations, many casting insanities that have been creeping in, many missing forward declarations in preparation for fixing external relations.
- Fixed missing header and casting problems in initialize.c around JP FIX implementation. - Repaired extfunc header declaration-- someone deleted array pointers without asking. - Repaired casting errors in extfunc.c, probably ala kirk. - Put in a #define for zz_lval in scanner.h to work around brokenness in flex 2.5.4; if this breaks something for others, we need a better solution.
Normalised all #include statements so that files in the current directory are included as "localfile.h" and files in other directories are included as <directory/file.h> This is in accordance with the spec at http://gcc.gnu.org/onlinedocs/gcc-4.1.0/cpp/Include-Syntax.html#Include-Syntax
Added some debug output related to external relations. Added ./configure flags for relation debugging and compiler timing. Removed some <!-- --> comments.
Some rationalising of duplicated code in statement.c. Fixed bug #206 (support for FREE statement).
Updating for Jerry's new error_reporter syntax, bug #179
Documentation changes; making 'FIX' statement less verbose; Commenting out ununsed 'CreateExternalFunction' function
Documentation and CONSOLE_DEBUGging.
- Simplifying many 'error_reporter' calls with new macros: ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE - Adding some cygwin cases in the PyGTK build.
Fixing up error reporting for the 'FIX' statement. Addresses bug 204.
Added 'FIX varlist' statement to ASCEND.
Changed from 'TEST expr' syntax to 'ASSERT expr' syntax. Corrected ConfigAscend ability to compile with CMSlv solver.
Changing TEST success to ASC_USER_SUCCESS
Adding 'TEST' statement to ASCEND METHOD syntax. Standardising messages in slv3. Trying to debug bug #175.
Fixed various bugs & compiler warnings: - numerous AssertAllocateMemory & AssertMemory() bugs - converted strdup() calls to ascstrdup() (and ascfree()) - several minor (mostly VisualC) compiler warnings (old style declarations, assignment in conditional, ...)
Minor fixes to: - continue killing compiler warnings on gcc & msvc - start working on function/data pointer mismatches - documentation tweaks Fixed ascMalloc.c memory logging problems. This has not been tested on linux/unix. If it fails to compile, please revert to the previous version and let me know.
Small changes to eliminate GCC warnings
More error_reporter calls. Removed some C++-unfriendly var names. Removed some debug messages. Turned off compiler timing and relation debugging.
My first commit: Added 'error_reporter' for standardised error reporting Working on getting external functions running again Also: issue 130, issue 68, issue 131, issue 89, issue 127, issue 138, issue 94.
moving things to base/generic
Setting up web subdirectory in repository
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 |