/[ascend]/trunk/base/generic/compiler/extfunc.h
ViewVC logotype

Log of /trunk/base/generic/compiler/extfunc.h

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 2010)

Revision 914 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 28 05:27:58 2006 UTC (13 years, 9 months ago) by johnpye
File length: 21622 byte(s)
Diff to previous 912
Fixed prototype for extpy_destroy
Dubious fix for the message about directory node in doc/SConscript (is $ expansion happening?)


Revision 912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 07:18:21 2006 UTC (13 years, 9 months ago) by johnpye
File length: 21581 byte(s)
Diff to previous 908
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 908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 10:18:53 2006 UTC (13 years, 9 months ago) by johnpye
File length: 21401 byte(s)
Diff to previous 873
first attempt at merging with Ben's changes on the trunk

Revision 873 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 5 14:51:49 2006 UTC (13 years, 10 months ago) by johnpye
File length: 17302 byte(s)
Diff to previous 870
Can now register python methods with ASCEND. Still can't execute the python code, but getting close.

Revision 870 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Oct 4 15:18:18 2006 UTC (13 years, 10 months ago) by johnpye
File length: 17289 byte(s)
Diff to previous 726
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 726 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 14:30:26 2006 UTC (14 years, 1 month ago) by johnpye
File length: 17188 byte(s)
Diff to previous 710
Matrix evaluation of the jacobian is working now but there is something wrong
with the solver's view of the incidence matrix, or something, as it does
seem to be acting on the values it's receiving.

Revision 710 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 29 08:53:37 2006 UTC (14 years, 1 month ago) by johnpye
File length: 17174 byte(s)
Diff to previous 709
Added my so-called 'quick fix' to external relation processing.
Still need to pursue corruption of efunc->etype pointer, for some
reason.

Revision 709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 16:28:57 2006 UTC (14 years, 1 month ago) by johnpye
File length: 16744 byte(s)
Diff to previous 699
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 699 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 26 10:23:08 2006 UTC (14 years, 1 month ago) by johnpye
File length: 16781 byte(s)
Diff to previous 697
Added skeleton 'blackbox_evaluate_residual'...

Revision 697 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 26 07:55:45 2006 UTC (14 years, 1 month ago) by johnpye
File length: 16815 byte(s)
Diff to previous 696
Temporarily removed extrel.* from disused dir (to avoid spurious grep)
Commenting and tidying up of some other files related to extrels.

Revision 696 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 26 04:55:05 2006 UTC (14 years, 1 month ago) by johnpye
File length: 16660 byte(s)
Diff to previous 624
Reorganised extcall.h, extfunc.h (mostly just rearranging and commenting)

Revision 624 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 18 15:39:38 2006 UTC (14 years, 2 months ago) by ben.allan
File length: 17104 byte(s)
Diff to previous 522
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 522 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Apr 21 07:22:20 2006 UTC (14 years, 3 months ago) by johnpye
File length: 15652 byte(s)
Diff to previous 490
Fixed all the missing symbols so that ASCEND Tcl/Tk interface builds with separate 'ascendtcl.dll'.
Split Driver.c across Driver.c and new main.c, which has no Tcl/Tk references.


Revision 490 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 06:55:20 2006 UTC (14 years, 3 months ago) by johnpye
File length: 15645 byte(s)
Diff to previous 485
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 04:47:11 2006 UTC (14 years, 3 months ago) by johnpye
File length: 15694 byte(s)
Diff to previous 480
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 10:45:23 2006 UTC (14 years, 3 months ago) by johnpye
File length: 15756 byte(s)
Diff to previous 477
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 477 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 07:21:35 2006 UTC (14 years, 3 months ago) by johnpye
File length: 15699 byte(s)
Diff to previous 475
A little reformatting of Ben's added doxygen comments

Revision 475 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 05:46:47 2006 UTC (14 years, 3 months ago) by ben.allan
File length: 16030 byte(s)
Diff to previous 467
much more commenting for blackbox relations implementers.

Revision 467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 03:18:06 2006 UTC (14 years, 3 months ago) by ben.allan
File length: 14309 byte(s)
Diff to previous 444
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 444 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 4 18:14:03 2006 UTC (14 years, 4 months ago) by ben.allan
File length: 9179 byte(s)
Diff to previous 407
bettrer error reporting.

Revision 407 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 1 21:13:03 2006 UTC (14 years, 4 months ago) by ben.allan
File length: 9252 byte(s)
Diff to previous 380
- 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.


Revision 380 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 18 07:29:48 2006 UTC (14 years, 4 months ago) by johnpye
File length: 8919 byte(s)
Diff to previous 216
Fixed up dynamic loading so that external libraries can be used on Windows -- no unresolved symbols in the DLL.

Revision 216 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 02:12:20 2006 UTC (14 years, 6 months ago) by jds
File length: 8513 byte(s)
Diff to previous 203
Minor rework of jam system to stop relinking of libraries when sources not modified.
Minor tweaks to stem the tide of compiler warnings.

Revision 203 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 23 04:13:17 2006 UTC (14 years, 6 months ago) by johnpye
File length: 8154 byte(s)
Diff to previous 101
Documentation changes; making 'FIX' statement less verbose;
Commenting out ununsed 'CreateExternalFunction' function

Revision 101 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 10 04:22:07 2005 UTC (14 years, 8 months ago) by jds
File length: 8080 byte(s)
Diff to previous 97
A little more progress killing compiler warnings.

Revision 97 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 9 03:49:19 2005 UTC (14 years, 8 months ago) by jds
File length: 7051 byte(s)
Diff to previous 89
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 89 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 7 15:44:43 2005 UTC (14 years, 8 months ago) by johnpye
File length: 7054 byte(s)
Diff to previous 62
Small changes to eliminate GCC warnings

Revision 62 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 30 05:53:20 2005 UTC (14 years, 8 months ago) by johnpye
File length: 6895 byte(s)
Diff to previous 54
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 2 11:20:09 2005 UTC (15 years ago) by jds
File length: 6127 byte(s)
Diff to previous 33
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 33 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Dec 26 20:06:01 2004 UTC (15 years, 7 months ago) by ben.allan
File length: 5812 byte(s)
Diff to previous 11
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.

Revision 11 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 13 16:45:56 2004 UTC (15 years, 8 months ago) by aw0a
File length: 5769 byte(s)
Copied from: trunk/ascend4/compiler/extfunc.h revision 10
Diff to previous 1
moving things to base/generic

Revision 1 - (view) (download) (as text) (annotate) - [select for diffs]
Added Fri Oct 29 20:54:12 2004 UTC (15 years, 9 months ago) by aw0a
Original Path: trunk/ascend4/compiler/extfunc.h
File length: 5769 byte(s)
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.

  Diffs between and
  Type of Diff should be a

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22