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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 804 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 4 05:54:34 2006 UTC (14 years ago) by johnpye
File length: 13026 byte(s)
Diff to previous 791
In slv9, made changes to keep CONOPT from complaining. CMSlv still not working as expected though.
Decreased required version of Bison to 2.0.
Switched search path for CONOPT on Linux to the CONOPT_PATH env var
(LD_LIBRARY_PATH was being interfered with when ASC_DEV=1).
Some other debug message changes.

Revision 791 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 27 12:04:19 2006 UTC (14 years ago) by johnpye
File length: 13035 byte(s)
Diff to previous 743
Moved 'SearchArchiveLibraryPath' into ascDynaLoad so that it can be shared between
compiler/packages and solver/conopt.

Changed debug messages in ospath.

Fixed conopt to search for consub3 in $LD_LIBRARY_PATH or /usr/lib:/usr/local/lib
by default on Linux (or %PATH% or c:\Program Files\ASCEND on Windows).

Modified definition of testconopt so that some parameters can be varied via the interface.

Revision 743 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 6 14:22:26 2006 UTC (14 years, 1 month ago) by johnpye
File length: 17777 byte(s)
Diff to previous 741
Few small changes to fix for Linux after the recent MSVC++ oriented changes.

Revision 741 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 6 08:54:42 2006 UTC (14 years, 1 month ago) by johnpye
File length: 17773 byte(s)
Diff to previous 732
Fixes for MSVC++

Revision 732 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 4 14:40:17 2006 UTC (14 years, 1 month ago) by johnpye
File length: 17464 byte(s)
Diff to previous 721
Added general-purpose text-information dialog to PyGTK interface.
Added reporting of clique of a variable to PyGTK GUI.
Changed 'fixable' and 'new bounds' to use the new dialog.
Removed 'set<...>' from ascpy.i (it wasn't working), changed to vector<...>.
Exported a couple of var incidences fns to the DLL/SO.

Revision 721 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 06:22:42 2006 UTC (14 years, 1 month ago) by johnpye
File length: 17478 byte(s)
Diff to previous 716
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 716 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 1 03:18:30 2006 UTC (14 years, 1 month ago) by johnpye
File length: 16813 byte(s)
Diff to previous 709
Fixed up ExtRel_Evaluate_LHS (was not accessing the arglist correctly),
it seems pretty inefficient at the moment, but we'll persist.

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: 16396 byte(s)
Diff to previous 700
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 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: 16346 byte(s)
Diff to previous 697
Removed 'instance.c' (it said we should).
A little bit more work on 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: 16313 byte(s)
Diff to previous 693
Temporarily removed extrel.* from disused dir (to avoid spurious grep)
Commenting and tidying up of some other files related to extrels.

Revision 693 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 22 02:54:40 2006 UTC (14 years, 1 month ago) by johnpye
File length: 16329 byte(s)
Diff to previous 692
Fixed a problem with external packages when loaded from PyGTK

Revision 692 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 22 02:45:47 2006 UTC (14 years, 1 month ago) by johnpye
File length: 16349 byte(s)
Diff to previous 669
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 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (14 years, 1 month ago) by johnpye
File length: 16306 byte(s)
Diff to previous 624
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 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: 16317 byte(s)
Diff to previous 543
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 543 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 27 00:04:13 2006 UTC (14 years, 3 months ago) by johnpye
File length: 16787 byte(s)
Diff to previous 542
Fix windows behaviour for 'IMPORT "johnpye/extfn/extfntest";'

Revision 542 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 26 15:15:40 2006 UTC (14 years, 3 months ago) by johnpye
File length: 16728 byte(s)
Diff to previous 534
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 25 13:25:04 2006 UTC (14 years, 3 months ago) by johnpye
File length: 16318 byte(s)
Diff to previous 529
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 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 22 06:26:23 2006 UTC (14 years, 3 months ago) by johnpye
File length: 16644 byte(s)
Diff to previous 512
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 512 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 19 08:21:13 2006 UTC (14 years, 3 months ago) by wangym
File length: 16834 byte(s)
Diff to previous 508
display ASC_SHLIBSUFFIX error only if platform is unknow

Revision 508 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 19 04:48:32 2006 UTC (14 years, 3 months ago) by johnpye
File length: 16880 byte(s)
Diff to previous 467
More fixes for compiling and running on ubuntu 5.10 with GCC:
gcc version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

Added ASC_SHLIBSUFFIX and ASC_SHLIBPREFIX which are used in packages.c in preference to platform-specific #ifdefs.


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: 16555 byte(s)
Diff to previous 427
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 427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 4 04:13:34 2006 UTC (14 years, 4 months ago) by johnpye
File length: 17455 byte(s)
Diff to previous 407
tentative: Disabled ascDynaload functions when DYNAMIC_PACKAGES is not defined. 
Altered error.[ch] so that MS VC++ variadic macros are used when available. 
Disabled Windows MessageBox in ascPanic, so that compilation of base engine is possible with the Platform SDK.
Added SConscript files to build FORTRAN components.
Removed some autoconf-related stuff from the pygtk/interface directory.

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: 17401 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: 17396 byte(s)
Diff to previous 394
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 394 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Mar 30 14:50:35 2006 UTC (14 years, 4 months ago) by wangym
File length: 17567 byte(s)
Diff to previous 381
move the function call after the variable define, a compile bug fix

Revision 381 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Mar 19 23:01:39 2006 UTC (14 years, 4 months ago) by johnpye
File length: 17567 byte(s)
Diff to previous 380
Fixing 'auto package registration' with 'libstemname_register'.
Fixed bug #247.

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: 17220 byte(s)
Diff to previous 371
Fixed up dynamic loading so that external libraries can be used on Windows -- no unresolved symbols in the DLL.

Revision 371 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Mar 14 05:04:06 2006 UTC (14 years, 4 months ago) by johnpye
File length: 16929 byte(s)
Diff to previous 369
Added some debug output related to external relations.
Added ./configure flags for relation debugging and compiler timing.
Removed some <!-- --> comments.

Revision 369 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 10 09:14:29 2006 UTC (14 years, 5 months ago) by johnpye
File length: 16917 byte(s)
Diff to previous 303
Debugging output for loading external packages.
Export error_reporter to windows DLL (needs testing).

Revision 303 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 21 02:38:13 2006 UTC (14 years, 5 months ago) by johnpye
File length: 16920 byte(s)
Diff to previous 216
Documentation, indentation and debugging-message changes.

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: 16918 byte(s)
Diff to previous 194
Minor rework of jam system to stop relinking of libraries when sources not modified.
Minor tweaks to stem the tide of compiler warnings.

Revision 194 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 17 05:48:00 2006 UTC (14 years, 6 months ago) by johnpye
File length: 16752 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 (14 years, 6 months ago) by johnpye
File length: 16811 byte(s)
Diff to previous 158
- Simplifying many 'error_reporter' calls with new macros:
    ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE
- Adding some cygwin cases in the PyGTK build.

Revision 158 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 2 09:02:52 2006 UTC (14 years, 7 months ago) by johnpye
File length: 16891 byte(s)
Diff to previous 129
Removed support for Ultrix, OSF, which seem to be dead. This
makes the ascDynaload.c file much smaller. Also removed unused DynamicLoad
function (use Asc_DynamicLoad instead). Please let me know if these changes
break anything for you.

Revision 129 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 20 20:22:56 2005 UTC (14 years, 7 months ago) by jds
File length: 16930 byte(s)
Diff to previous 101
Reworked jam build system:
- integrated Jamrules.in and Jamrules_tcltk98.in with autoconf
- now support single-point building from trunk/jam
- old jam files still in place but deprecated
- may be buggy, please report back bugs for fixing

Compiled on both Windows and Linux.

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: 16922 byte(s)
Diff to previous 89
A little more progress killing compiler warnings.

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: 16923 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: 16945 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: 16022 byte(s)
Diff to previous 11
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 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: 15817 byte(s)
Copied from: trunk/ascend4/compiler/packages.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/packages.c
File length: 15817 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