Log of /trunk/ascend/packages
Directory Listing
Revision
2018 -
Directory Listing
Modified
Wed Apr 29 03:38:10 2009 UTC
(15 years, 7 months ago)
by
jpye
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.
Revision
2012 -
Directory Listing
Modified
Tue Apr 28 09:02:48 2009 UTC
(15 years, 7 months ago)
by
jpye
Copied from:
trunk/base/generic/packages revision 2011
Migrate base/generic/packages to ascend/packages.
Move base/generic/test to test/base (awaiting further reorg).
Revision
1509 -
Directory Listing
Modified
Wed Jun 27 13:08:47 2007 UTC
(17 years, 5 months ago)
by
jpye
Original Path:
trunk/base/generic/packages
Fixed external loading of integrators, at least on my system. Needs testing
with/without fortran, sundials, etc.
Changed little thing kn d1mach.c to make default behaviour correct on Linux.
Revision
1435 -
Directory Listing
Modified
Sun May 20 16:58:44 2007 UTC
(17 years, 6 months ago)
by
ballan
Original Path:
trunk/base/generic/packages
updated the makefile stuff to work in the current dir structure.
still lots of problems with the install target and now doing
the evil double link because the directories
system, linear, and solver really are NOT independent.
Revision
1351 -
Directory Listing
Modified
Wed Mar 14 07:48:27 2007 UTC
(17 years, 9 months ago)
by
jpye
Original Path:
trunk/base/generic/packages
Added test for write('graph'). Added couple of items to syntax definition. Updated GPL notice in some core model files.
Revision
1320 -
Directory Listing
Modified
Tue Mar 6 12:15:21 2007 UTC
(17 years, 9 months ago)
by
jpye
Original Path:
trunk/base/generic/packages
Eliminated linsol, slv0 and slv1: moved the original files to 'disused' and editing out
all reference to them in solvers and related code (including some Tcl/Tk wrapper code)
Revision
1316 -
Directory Listing
Modified
Mon Mar 5 07:22:21 2007 UTC
(17 years, 9 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
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.
Revision
1282 -
Directory Listing
Modified
Wed Feb 14 14:22:31 2007 UTC
(17 years, 9 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Some GPL headers cleaned up.
#if 0'd some (stated-to-be) futuristic code.
Removed some <!-- comments.
Added defaultall.c, which will be a new package METHOD similar to ClearAll.
Revision
1183 -
Directory Listing
Modified
Sat Jan 20 09:15:51 2007 UTC
(17 years, 10 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Huge reorganisation -- all mtx and lin files moved to base/generic/linear.
Required many #include statements to be changed.
Revision
1174 -
Directory Listing
Modified
Thu Jan 18 00:27:50 2007 UTC
(17 years, 10 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Fixed 'ascdev' script to work correctly in MSYS (now needs retesting in linux).
Removed 'make_matrix' and 'free_matrix' from sensitivity code and reused densemtx.c instead.
Fixed linking issues in finitediff.dll.
Revision
1169 -
Directory Listing
Modified
Wed Jan 17 12:17:25 2007 UTC
(17 years, 10 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Fixed EXTERNAL do_solve(instance)
Improved error message in ascParse.
Added collapsingcan2 model that uses freesteam steam properties.
Revision
1162 -
Directory Listing
Modified
Wed Jan 17 04:34:59 2007 UTC
(17 years, 10 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Fixed sensitivity module. It now runs as mostly external code, with just a few relics required by LSODE still in packages/sensitivity.c.
Revision
1132 -
Directory Listing
Modified
Sun Jan 14 10:40:58 2007 UTC
(17 years, 11 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Converted slv3 (QRSlv) to new slv_param_bool (etc) parameter code.
Adding a testcase for dsgsat with LSODE as well as IDA.
Fixed some remaining external function calls (needing userdata ptr).
Adding LSODE parameters 'METH' and 'MITER' for setting AM and BDF methods.
Rerranged v_expr in iapwssat.a4c.
Removed lower bound on mdot in satsteamstream.a4c.
Revision
1063 -
Directory Listing
Modified
Sun Jan 7 07:54:06 2007 UTC
(17 years, 11 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Changed ASC_DLLSPEC(TYPE) to ASC_DLLSPEC TYPE, because it was causing havoc with doxygen and ctags.
Revision
1031 -
Directory Listing
Modified
Wed Jan 3 15:33:23 2007 UTC
(17 years, 11 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Merging Ben's changes from trunk, changeset 1105 to changeset 1234.
This breaks Python test suite TestExtFn, so will need investigation.
Revision
975 -
Directory Listing
Modified
Tue Dec 19 11:49:59 2006 UTC
(17 years, 11 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
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
912 -
Directory Listing
Modified
Fri Oct 27 07:18:21 2006 UTC
(18 years, 1 month ago)
by
johnpye
Original Path:
trunk/base/generic/packages
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
870 -
Directory Listing
Modified
Wed Oct 4 15:18:18 2006 UTC
(18 years, 2 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
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
709 -
Directory Listing
Modified
Wed Jun 28 16:28:57 2006 UTC
(18 years, 5 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
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
669 -
Directory Listing
Modified
Wed Jun 21 07:00:45 2006 UTC
(18 years, 5 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
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
624 -
Directory Listing
Modified
Thu May 18 15:39:38 2006 UTC
(18 years, 6 months ago)
by
ben.allan
Original Path:
trunk/base/generic/packages
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
534 -
Directory Listing
Modified
Tue Apr 25 13:25:04 2006 UTC
(18 years, 7 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
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
490 -
Directory Listing
Modified
Tue Apr 18 06:55:20 2006 UTC
(18 years, 7 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Moved 'extern "C"' into the ASC_DLLSPEC macro.
Renamed .no.yacc and .no.flex files to have .c extension, so that SCons can tell what they are.
Working on getting things building on VC++, still some problems (maybe just issues with $PATH tho)./
Revision
485 -
Directory Listing
Modified
Tue Apr 18 04:47:11 2006 UTC
(18 years, 7 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
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
480 -
Directory Listing
Modified
Mon Apr 17 10:45:23 2006 UTC
(18 years, 7 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
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
467 -
Directory Listing
Modified
Mon Apr 17 03:18:06 2006 UTC
(18 years, 7 months ago)
by
ben.allan
Original Path:
trunk/base/generic/packages
Changed the syntax of import from
IMPORT id FROM id;
to
IMPORT id FROM "quoted/text/lib";
Writing external
METHOD calls via the EXTERNAL methname(arglist);
now works.
Against my better judgement in a few cases,
cleaned up the old EXT statement code from Abbott
to work in a typesafe manner. A better solution
is to get the CALL syntax working as defined in
the grammar, but this takes a good deal more work
and meanwhile people want to get their phds...
Still some known bugs in relation_util.
I need to commit the test models that go with
the EXT statements. Fixed a bunch of lintish
compiler complaints. Don't try to solve external
models yet.
Revision
463 -
Directory Listing
Modified
Sun Apr 16 10:18:16 2006 UTC
(18 years, 7 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Converting to the new shared-object configuration (on email discussion with Ben)
First stage: PyGTK interface on windows. More to come.
Revision
421 -
Directory Listing
Modified
Mon Apr 3 17:26:22 2006 UTC
(18 years, 8 months ago)
by
ben.allan
Original Path:
trunk/base/generic/packages
updated kvalues example to parse and put in model library.
changed import library name to dquote text for more generality.
fixed many, but not all problems in kvalues.c
Revision
411 -
Directory Listing
Modified
Sun Apr 2 07:05:54 2006 UTC
(18 years, 8 months ago)
by
ben.allan
Original Path:
trunk/base/generic/packages
Restored autotools to working, parsers to typ_ and zz_,
Fixed many missing initializations, many casting insanities
that have been creeping in, many missing forward declarations
in preparation for fixing external relations.
Revision
385 -
Directory Listing
Modified
Thu Mar 30 04:14:29 2006 UTC
(18 years, 8 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
First attempt at SCons build. This will build the static libraries
for me on Linux with GCC 4.0.2. Will work now on getting it to
build the Tcl/Tk GUI.
Revision
216 -
Directory Listing
Modified
Wed Jan 25 02:12:20 2006 UTC
(18 years, 10 months ago)
by
jds
Original Path:
trunk/base/generic/packages
Minor rework of jam system to stop relinking of libraries when sources not modified.
Minor tweaks to stem the tide of compiler warnings.
Revision
195 -
Directory Listing
Modified
Tue Jan 17 05:49:40 2006 UTC
(18 years, 10 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Commenting
Adding coloured output on CONSOLE_DEBUG
Adding test testextfn for monolithic tests of external function calls.
Revision
190 -
Directory Listing
Modified
Mon Jan 16 08:53:30 2006 UTC
(18 years, 10 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
- Simplifying many 'error_reporter' calls with new macros:
ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE
- Adding some cygwin cases in the PyGTK build.
Revision
141 -
Directory Listing
Modified
Thu Dec 22 02:16:37 2005 UTC
(18 years, 11 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Modifying build so that static libraries have same name under both Jam and Autotools builds.
Revision
122 -
Directory Listing
Modified
Mon Dec 19 06:12:40 2005 UTC
(18 years, 11 months ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Refactoring all MAX, MIN, ABS calls to general/mathmacros.
Adding a GCC optimisation for these macros.
Revision
97 -
Directory Listing
Modified
Fri Dec 9 03:49:19 2005 UTC
(19 years ago)
by
jds
Original Path:
trunk/base/generic/packages
Minor fixes to:
- continue killing compiler warnings on gcc & msvc
- start working on function/data pointer mismatches
- documentation tweaks
Fixed ascMalloc.c memory logging problems. This has not been tested on linux/unix. If it fails to compile, please revert to the previous version and let me know.
Revision
91 -
Directory Listing
Modified
Wed Dec 7 16:17:03 2005 UTC
(19 years ago)
by
johnpye
Original Path:
trunk/base/generic/packages
Removed rootfind.c from solver lib in jamfile
Tidied up error messages in safe.c
Fixed a missing #endif in sensitivity.c
Revision
62 -
Directory Listing
Modified
Wed Nov 30 05:53:20 2005 UTC
(19 years ago)
by
johnpye
Original Path:
trunk/base/generic/packages
My first commit:
Added 'error_reporter' for standardised error reporting
Working on getting external functions running again
Also: issue 130, issue 68, issue 131, issue 89, issue 127, issue 138, issue 94.
Revision
54 -
Directory Listing
Modified
Tue Aug 2 11:20:09 2005 UTC
(19 years, 4 months ago)
by
jds
Original Path:
trunk/base/generic/packages
Manual rework of doxygen comments in all headers.
- Added @file comment to all headers.
- Added parameter names to all function declarations in headers.
- Corrected comment referencing where necessary.
- Split some comments which documented blocks of declarations.
- Converted notes about required work into @todo comments so doxygen can generate a todo list.
Minor bug fixes.
Revision
44 -
Directory Listing
Modified
Thu Mar 3 07:19:05 2005 UTC
(19 years, 9 months ago)
by
ben.allan
Original Path:
trunk/base/generic/packages
Updated configure and all the makefiles to handle
VPATH with or without --srcdir. gnu make is now
required on unix.
Revision
33 -
Directory Listing
Modified
Sun Dec 26 20:06:01 2004 UTC
(19 years, 11 months ago)
by
ben.allan
Original Path:
trunk/base/generic/packages
First pass at doxygenation -- mechanically putting in ** and where
most likely needed **< using sed. Lots of cleanup needed to
be really useful, including grouping data types and their
member methods into class-like documentation.