/[ascend]/trunk/ascend/compiler/statio.c
ViewVC logotype

Log of /trunk/ascend/compiler/statio.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 2361 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 10 12:17:38 2011 UTC (11 years, 5 months ago) by jpye
File length: 23128 byte(s)
Diff to previous 2323
Fixed bad-read bug (found with valgrind) associated with clearing of symbols pointed to by g_statio_stattypenames.

Revision 2323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:35:43 2010 UTC (11 years, 6 months ago) by jpye
File length: 23054 byte(s)
Diff to previous 2322
Refactor some more stuff from 'utilities' into 'general' with goal that 'general' never refers to 'utilities'.

Revision 2322 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:12:36 2010 UTC (11 years, 6 months ago) by jpye
File length: 23057 byte(s)
Diff to previous 2318
Refactoring ascMalloc.h, mem.h to belong in 'general' with goal of having no references in 'general' to functions in 'utilities'.

Revision 2318 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 14 06:27:47 2010 UTC (11 years, 6 months ago) by jpye
File length: 23059 byte(s)
Diff to previous 2317
removing some unneeded #includes of 'slist.h'.

Revision 2317 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 14 06:16:24 2010 UTC (11 years, 6 months ago) by jpye
File length: 23061 byte(s)
Diff to previous 2183
Moving 'bit.[ch]' to ascend/utilities as they don't make any reference to compiler-specific data structures.
Removed reverse_ad_bak* files, don't appear to be used.
Fixed up #include statements referring to bit.h.

Revision 2183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 4 13:38:42 2010 UTC (12 years, 2 months ago) by jpye
File length: 23078 byte(s)
Diff to previous 2036
Merging slvreq functionality into trunk.

Revision 2036 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 18 15:03:16 2009 UTC (13 years, 1 month ago) by ballan
File length: 22875 byte(s)
Diff to previous 2018
issues resolved:
295
390
301
cmslv.c: unused var cleanup.
lsode/SConscript: fortran flags bugs-- may not work with 0.9x scons.
works with 1.2+. when adding -w, or any special flags, be sure to add
them and not replace the original flag.
system/var.c: 64bit clarity.
system/discrete.c: 64bit clarity.
system/analyze*: g_reuse declared in wrong place. 64bit clarity
system/diffvars: missing prototype function, 64bit clarity.
compiler/numlist.*: changed from int to glint.
compiler/simlist.c: missing includes needed for 64bit clarity.
compiler/instance_io.c: missing includes needed for 64bit clarity.
compiler/initialize.[ch]: const clarifications.
compiler/packages.c: const clarifications.
compiler/module.c: const clarifications.
compiler/statio.c: unused var cleanup.
compiler/procframe; const clarification. memory deallocation bugs.
compiler/notequery.c: repaired multiple casting and 64bit issues.
compiler/importhandler.c: const and free issues fixed.
compiler/type_desc.c: ridiculous if constructs clarified.
compiler/createinst.c: casting stupidity repaired.
linear/ranki2.c: missing includes needed for 64bitness.
solver/solver.c: const issues clarified.
utilities/ascConfig.h: added GLint typedefs for dealing with gllist
64bit portability.
utilities/ascPanic.c: removed extraneous const.
general/ospath.c: safer,quieter handling for string pointer difference.
integrator/integrator.c: const issues clarified.
packages/sensitivity.c: missing includes needed fo 64bit sanity.
tcltk/interface/Integrators.c: 64 bitness.
tcltk/interface/SimsProc.c: const errors.
tcltk/interface/Driver.c: fixed env var handling wrt ascend-config (295)
models/test/z*a4c: fixed meters -> m conversion; someone never ran the
test suite after teasing the default units to ambiguous abbreviations.
SConstruct: added sizeof checks; output might be better put in a ascend
system-wide header.



Revision 2018 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 29 03:38:10 2009 UTC (13 years, 2 months ago) by jpye
File length: 22885 byte(s)
Diff to previous 2011
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.

Revision 2011 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 28 08:58:48 2009 UTC (13 years, 2 months ago) by jpye
File length: 22850 byte(s)
Copied from: trunk/base/generic/compiler/statio.c revision 2010
Diff to previous 1228
Moving libascend components from #/base/generic into #/ascend

Revision 1228 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 25 06:57:40 2007 UTC (15 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22850 byte(s)
Diff to previous 1211
Added getParameter by name in SolverParameters.
Fixed up refences to signal-related header files.
Fixed up various warnings from -pedantic compilation.
Identified an apparent bug with RelationCalcGradient (unsafe version).
Added support for compilation of a standalone C++ program (idatest) in SCons build.

Revision 1211 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 23 05:09:50 2007 UTC (15 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22962 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 (15 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 23002 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 (15 years, 6 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 23023 byte(s)
Diff to previous 936
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 936 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 24 01:06:10 2006 UTC (15 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22524 byte(s)
Diff to previous 908
Fixed double-flush bug that results in duplicate output of some error_reporter messages.

Revision 908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 10:18:53 2006 UTC (15 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22709 byte(s)
Diff to previous 896
first attempt at merging with Ben's changes on the trunk

Revision 896 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 24 05:04:24 2006 UTC (15 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22689 byte(s)
Diff to previous 709
Renamed 'tank' to 'dyn_tank' in dyntank.* (for benefit of 'on_load' behaviour in PyGTK GUI)
Formatting in ivpStep.a4c (ivpDAE), updated copyright block.
Improved formatting of typelint error messages (using error_reporter a bit better, eliminating 'StatioLabel' calls where possible).

Revision 709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 16:28:57 2006 UTC (16 years ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22502 byte(s)
Diff to previous 669
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (16 years ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22511 byte(s)
Diff to previous 615
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 615 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 17 06:29:40 2006 UTC (16 years, 1 month ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22506 byte(s)
Diff to previous 530
Forced pygtk to share major env vars with base library.
Modified 'can't use this here' error messages.
Added notification when colour codes are being disabled.

Revision 530 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 22 07:52:30 2006 UTC (16 years, 2 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22578 byte(s)
Diff to previous 467
Found the problem with the PyGTK interface: a too-long vsprintf. Changed to vsnprintf.

Revision 467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 03:18:06 2006 UTC (16 years, 2 months ago) by ben.allan
Original Path: trunk/base/generic/compiler/statio.c
File length: 22585 byte(s)
Diff to previous 399
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 399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 31 08:52:57 2006 UTC (16 years, 3 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22023 byte(s)
Diff to previous 304
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 304 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Feb 22 03:05:37 2006 UTC (16 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22266 byte(s)
Diff to previous 301
Some rationalising of duplicated code in statement.c.
Fixed bug #206 (support for FREE statement).

Revision 301 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Feb 20 07:39:14 2006 UTC (16 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22157 byte(s)
Diff to previous 222
Documentation and indentation changes

Revision 222 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 27 04:23:20 2006 UTC (16 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22080 byte(s)
Diff to previous 183
Updating for Jerry's new error_reporter syntax, bug #179

Revision 183 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 13 02:35:00 2006 UTC (16 years, 5 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 22065 byte(s)
Diff to previous 76
Added 'FIX varlist' statement to ASCEND.

Revision 76 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 5 17:31:00 2005 UTC (16 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 21966 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 (16 years, 7 months ago) by johnpye
Original Path: trunk/base/generic/compiler/statio.c
File length: 21953 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 (17 years, 7 months ago) by aw0a
Original Path: trunk/base/generic/compiler/statio.c
File length: 22312 byte(s)
Copied from: trunk/ascend4/compiler/statio.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 (17 years, 8 months ago) by aw0a
Original Path: trunk/ascend4/compiler/statio.c
File length: 22312 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