Log of /trunk/models/johnpye/extfn
Directory Listing
Revision
1211 -
Directory Listing
Modified
Tue Jan 23 05:09:50 2007 UTC
(17 years, 11 months ago)
by
johnpye
Fixed dependencies on dimen.h and fractions.h.
Revision
1210 -
Directory Listing
Modified
Tue Jan 23 04:25:51 2007 UTC
(17 years, 11 months ago)
by
johnpye
Removed unnecessary #include <compiler.h>
Revision
1063 -
Directory Listing
Modified
Sun Jan 7 07:54:06 2007 UTC
(18 years ago)
by
johnpye
Changed ASC_DLLSPEC(TYPE) to ASC_DLLSPEC TYPE, because it was causing havoc with doxygen and ctags.
Revision
1040 -
Directory Listing
Modified
Fri Jan 5 00:26:06 2007 UTC
(18 years ago)
by
johnpye
Adding missing test models.
Revision
1039 -
Directory Listing
Modified
Thu Jan 4 23:21:20 2007 UTC
(18 years 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
1024 -
Directory Listing
Modified
Wed Jan 3 10:27:43 2007 UTC
(18 years ago)
by
johnpye
Added extfn and extpy to python test suites.
Revision
912 -
Directory Listing
Modified
Fri Oct 27 07:18:21 2006 UTC
(18 years, 2 months 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
(18 years, 2 months 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
(18 years, 2 months ago)
by
johnpye
first attempt at merging with Ben's changes on the trunk
Revision
802 -
Directory Listing
Modified
Thu Aug 3 02:24:45 2006 UTC
(18 years, 5 months ago)
by
johnpye
Removed incorrect copyright in extfntest.c.
Fixed CONOPT detection on linux in SConstruct.
Tidied up comments in instquery.h.
Revision
783 -
Directory Listing
Modified
Wed Jul 26 09:16:19 2006 UTC
(18 years, 5 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
781 -
Directory Listing
Modified
Tue Jul 25 00:18:19 2006 UTC
(18 years, 5 months ago)
by
johnpye
Fixed up building of extfntest on MinGW.
Added extfntest DLL to Windows installer.
Revision
763 -
Directory Listing
Modified
Thu Jul 13 06:02:11 2006 UTC
(18 years, 6 months ago)
by
johnpye
Fixing for MSVC++
Revision
762 -
Directory Listing
Modified
Thu Jul 13 05:17:30 2006 UTC
(18 years, 6 months ago)
by
johnpye
Renaming model to enable auto-sim in PyGTK GUI.
Revision
761 -
Directory Listing
Modified
Thu Jul 13 04:46:13 2006 UTC
(18 years, 6 months ago)
by
johnpye
Added necessary changes to allow 'johnpye/extfn/libextfntest.so' to be
built automatically as part of main SCons build. This will make testing
of external relations a little easier.
Revision
760 -
Directory Listing
Modified
Thu Jul 13 04:33:15 2006 UTC
(18 years, 6 months ago)
by
johnpye
About to rename this file to 'SConscript'.
Revision
758 -
Directory Listing
Modified
Thu Jul 13 01:15:58 2006 UTC
(18 years, 6 months ago)
by
johnpye
Some extfn test cases.
Revision
743 -
Directory Listing
Modified
Thu Jul 6 14:22:26 2006 UTC
(18 years, 6 months ago)
by
johnpye
Few small changes to fix for Linux after the recent MSVC++ oriented changes.
Revision
721 -
Directory Listing
Modified
Mon Jul 3 06:22:42 2006 UTC
(18 years, 6 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
719 -
Directory Listing
Modified
Sat Jul 1 09:35:23 2006 UTC
(18 years, 6 months ago)
by
johnpye
Added 'invars' and 'outvars' pointers (to var_variable pointer arrays) in ExtRelCache.
This will allow the ExtRel_MapDataToMtx function to be reimplemented using solver-side pointers
instead of going back to the arglist stuff in ExtCallNode.
Revision
711 -
Directory Listing
Modified
Thu Jun 29 16:18:54 2006 UTC
(18 years, 6 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
709 -
Directory Listing
Modified
Wed Jun 28 16:28:57 2006 UTC
(18 years, 6 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
707 -
Directory Listing
Modified
Tue Jun 27 05:49:11 2006 UTC
(18 years, 6 months ago)
by
johnpye
Lots of tidying up in instantiate.c.
Fixed up some GPL headers.
Changed from 'solver_var' to 'factor' in extfntest.a4c.
Added test for AtomAssigned in extfunc.c.
Revision
694 -
Directory Listing
Modified
Thu Jun 22 07:54:53 2006 UTC
(18 years, 6 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
(18 years, 7 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
542 -
Directory Listing
Modified
Wed Apr 26 15:15:40 2006 UTC
(18 years, 8 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
534 -
Directory Listing
Modified
Tue Apr 25 13:25:04 2006 UTC
(18 years, 8 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
529 -
Directory Listing
Modified
Sat Apr 22 06:26:23 2006 UTC
(18 years, 9 months ago)
by
johnpye
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
485 -
Directory Listing
Modified
Tue Apr 18 04:47:11 2006 UTC
(18 years, 9 months ago)
by
johnpye
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
471 -
Directory Listing
Modified
Mon Apr 17 03:44:25 2006 UTC
(18 years, 9 months ago)
by
ben.allan
fixed up per new extfunc.h. linking still not on.
Revision
466 -
Directory Listing
Modified
Sun Apr 16 15:07:48 2006 UTC
(18 years, 9 months ago)
by
johnpye
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
434 -
Directory Listing
Modified
Tue Apr 4 07:45:54 2006 UTC
(18 years, 9 months ago)
by
johnpye
Taking out the 'stop' in models/johnpye/extfn/extfntest.py
Revision
424 -
Directory Listing
Modified
Tue Apr 4 00:40:07 2006 UTC
(18 years, 9 months ago)
by
johnpye
Fixing test external library code, migrating to SCons
Revision
382 -
Directory Listing
Modified
Sun Mar 19 23:39:23 2006 UTC
(18 years, 10 months ago)
by
johnpye
Fixing python path for Linux
Revision
381 -
Directory Listing
Modified
Sun Mar 19 23:01:39 2006 UTC
(18 years, 10 months ago)
by
johnpye
Fixing 'auto package registration' with 'libstemname_register'.
Fixed bug #247.
Revision
380 -
Directory Listing
Modified
Sat Mar 18 07:29:48 2006 UTC
(18 years, 10 months ago)
by
johnpye
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
(18 years, 10 months ago)
by
johnpye
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
377 -
Directory Listing
Modified
Wed Mar 15 11:27:22 2006 UTC
(18 years, 10 months ago)
by
johnpye
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
370 -
Directory Listing
Modified
Fri Mar 10 09:14:50 2006 UTC
(18 years, 10 months ago)
by
johnpye
Renaming without the 'pkg' prefix.
Revision
367 -
Directory Listing
Modified
Fri Mar 10 07:44:59 2006 UTC
(18 years, 10 months ago)
by
johnpye
Trying to fix up johnpye/extfn/extfntest.c to work on Windows (MinGW)
(ie to fix linking problems).
Revision
302 -
Directory Listing
Modified
Mon Feb 20 07:40:03 2006 UTC
(18 years, 11 months ago)
by
johnpye
Minor fix following changes to error_reporter
Revision
213 -
Directory Listing
Modified
Tue Jan 24 23:25:56 2006 UTC
(18 years, 11 months ago)
by
johnpye
Fixed some missed 'ExtFn'->'ExtMethod' changes
Revision
209 -
Directory Listing
Added
Tue Jan 24 12:44:32 2006 UTC
(18 years, 11 months ago)
by
johnpye
Adding external function test most and library.