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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 752 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 12 02:50:54 2006 UTC (14 years ago) by johnpye
File length: 12456 byte(s)
Diff to previous 737
Fixed bug with instantiation of 'outvars'.

Revision 737 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 5 12:36:29 2006 UTC (14 years, 1 month ago) by johnpye
File length: 12561 byte(s)
Diff to previous 728
DSG model converges, using 3 external functions :-)
Added more info in 'diagnose' varinfo and relinfo popups, plus tabstops in display.
Allowed parameters to be used with instantiation_error in instantiate.c.
Fixed up some error messages in bintoken.c.
Renamed 'newcalc_done' to 'evaluation_required' in rel.c.
Other minor changes to error messages and commenting.


Revision 728 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 05:03:59 2006 UTC (14 years, 1 month ago) by johnpye
File length: 12550 byte(s)
Diff to previous 719
Removed some debug messages from external libraries stuff.
Fixed auto-sim stuff for files given with relative path on the commandline.

Revision 719 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 1 09:35:23 2006 UTC (14 years, 1 month ago) by johnpye
File length: 12514 byte(s)
Diff to previous 711
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 29 16:18:54 2006 UTC (14 years, 1 month ago) by johnpye
File length: 12511 byte(s)
Diff to previous 710
ExtRel_Evaluate_RHS is working now! (At least for my 1+1=2 example).
Working now on fixing ExtRel_Evaluate_LHS.

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: 12493 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: 13633 byte(s)
Diff to previous 708
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 708 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 27 07:34:31 2006 UTC (14 years, 1 month ago) by johnpye
File length: 13522 byte(s)
Diff to previous 707
Replaced some references to ascmalloc with ASC_NEW_ARRAY

Revision 707 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 27 05:49:11 2006 UTC (14 years, 1 month ago) by johnpye
File length: 13263 byte(s)
Diff to previous 700
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 700 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 26 12:56:55 2006 UTC (14 years, 1 month ago) by johnpye
File length: 13057 byte(s)
Diff to previous 699
Removed 'instance.c' (it said we should).
A little bit more work on blackbox_evaluate_residual.

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: 12566 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: 12123 byte(s)
Diff to previous 624
Temporarily removed extrel.* from disused dir (to avoid spurious grep)
Commenting and tidying up of some other files related to extrels.

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: 11521 byte(s)
Diff to previous 485
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 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: 11395 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: 11461 byte(s)
Diff to previous 467
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 - (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: 11452 byte(s)
Diff to previous 407
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 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: 9335 byte(s)
Diff to previous 399
- 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 399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 31 08:52:57 2006 UTC (14 years, 4 months ago) by johnpye
File length: 9450 byte(s)
Diff to previous 216
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

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: 9486 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: 9450 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, 7 months ago) by jds
File length: 9377 byte(s)
Diff to previous 62
A little more progress killing compiler 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: 8833 byte(s)
Diff to previous 11
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 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: 8657 byte(s)
Copied from: trunk/ascend4/compiler/extfunc.c 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.c
File length: 8657 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