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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1290 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 26 04:54:45 2007 UTC (17 years, 5 months ago) by johnpye
File length: 56312 byte(s)
Diff to previous 1211
Added new 'default' functionality plus test case

Revision 1211 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 05:09:50 2007 UTC (17 years, 6 months ago) by johnpye
File length: 56684 byte(s)
Diff to previous 1210
Fixed dependencies on dimen.h and fractions.h.

Revision 1210 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 04:25:51 2007 UTC (17 years, 6 months ago) by johnpye
File length: 56724 byte(s)
Diff to previous 978
Removed unnecessary #include <compiler.h>

Revision 978 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 20 10:26:04 2006 UTC (17 years, 7 months ago) by johnpye
File length: 56745 byte(s)
Diff to previous 937
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.

Revision 937 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 03:58:49 2006 UTC (17 years, 8 months ago) by johnpye
File length: 56741 byte(s)
Diff to previous 912
Fixed ability to run 'solve' from an external script method, without the present of the PyGTY GUI.

Revision 912 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 27 07:18:21 2006 UTC (17 years, 9 months ago) by johnpye
File length: 56761 byte(s)
Diff to previous 910
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 13:35:25 2006 UTC (17 years, 9 months ago) by johnpye
File length: 56623 byte(s)
Diff to previous 908
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 10:18:53 2006 UTC (17 years, 9 months ago) by johnpye
File length: 56593 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 (17 years, 9 months ago) by johnpye
File length: 56628 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 (17 years, 9 months ago) by johnpye
File length: 56572 byte(s)
Diff to previous 669
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 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (18 years, 1 month ago) by johnpye
File length: 56500 byte(s)
Diff to previous 620
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 620 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 18 06:24:24 2006 UTC (18 years, 2 months ago) by johnpye
File length: 56495 byte(s)
Diff to previous 467
Added reporting of invalid units in assignments (inside METHODs)

Revision 467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 03:18:06 2006 UTC (18 years, 3 months ago) by ben.allan
File length: 56203 byte(s)
Diff to previous 411
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 411 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 2 07:05:54 2006 UTC (18 years, 3 months ago) by ben.allan
File length: 56266 byte(s)
Diff to previous 407
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 407 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 1 21:13:03 2006 UTC (18 years, 3 months ago) by ben.allan
File length: 56264 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 (18 years, 3 months ago) by johnpye
File length: 56233 byte(s)
Diff to previous 371
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 371 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 14 05:04:06 2006 UTC (18 years, 4 months ago) by johnpye
File length: 56584 byte(s)
Diff to previous 304
Added some debug output related to external relations.
Added ./configure flags for relation debugging and compiler timing.
Removed some <!-- --> comments.

Revision 304 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 22 03:05:37 2006 UTC (18 years, 5 months ago) by johnpye
File length: 56538 byte(s)
Diff to previous 222
Some rationalising of duplicated code in statement.c.
Fixed bug #206 (support for FREE statement).

Revision 222 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 27 04:23:20 2006 UTC (18 years, 6 months ago) by johnpye
File length: 56033 byte(s)
Diff to previous 203
Updating for Jerry's new error_reporter syntax, bug #179

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

Revision 194 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 17 05:48:00 2006 UTC (18 years, 6 months ago) by johnpye
File length: 56030 byte(s)
Diff to previous 190
Documentation and CONSOLE_DEBUGging.

Revision 190 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 16 08:53:30 2006 UTC (18 years, 6 months ago) by johnpye
File length: 55983 byte(s)
Diff to previous 184
- Simplifying many 'error_reporter' calls with new macros:
    ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE
- Adding some cygwin cases in the PyGTK build.

Revision 184 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 03:30:09 2006 UTC (18 years, 6 months ago) by johnpye
File length: 56076 byte(s)
Diff to previous 183
Fixing up error reporting for the 'FIX' statement. Addresses bug 204.

Revision 183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 02:35:00 2006 UTC (18 years, 6 months ago) by johnpye
File length: 55766 byte(s)
Diff to previous 148
Added 'FIX varlist' statement to ASCEND.

Revision 148 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 22 08:49:39 2005 UTC (18 years, 7 months ago) by johnpye
File length: 54054 byte(s)
Diff to previous 128
Changed from 'TEST expr' syntax to 'ASSERT expr' syntax.
Corrected ConfigAscend ability to compile with CMSlv solver.

Revision 128 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 20 14:35:09 2005 UTC (18 years, 7 months ago) by johnpye
File length: 54040 byte(s)
Diff to previous 124
Changing TEST success to ASC_USER_SUCCESS

Revision 124 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 20 08:32:25 2005 UTC (18 years, 7 months ago) by johnpye
File length: 54047 byte(s)
Diff to previous 114
Adding 'TEST' statement to ASCEND METHOD syntax.
Standardising messages in slv3.
Trying to debug bug #175.

Revision 114 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 16 00:20:44 2005 UTC (18 years, 7 months ago) by jds
File length: 51996 byte(s)
Diff to previous 97
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, ...)

Revision 97 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 9 03:49:19 2005 UTC (18 years, 7 months ago) by jds
File length: 51915 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 (18 years, 7 months ago) by johnpye
File length: 51891 byte(s)
Diff to previous 76
Small changes to eliminate GCC warnings

Revision 76 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 5 17:31:00 2005 UTC (18 years, 7 months ago) by johnpye
File length: 51913 byte(s)
Diff to previous 62
More error_reporter calls.
Removed some C++-unfriendly var names.
Removed some debug messages.
Turned off compiler timing and relation debugging.

Revision 62 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 30 05:53:20 2005 UTC (18 years, 7 months ago) by johnpye
File length: 51897 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 (19 years, 8 months ago) by aw0a
File length: 50939 byte(s)
Copied from: trunk/ascend4/compiler/initialize.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 (19 years, 8 months ago) by aw0a
Original Path: trunk/ascend4/compiler/initialize.c
File length: 50939 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