/[ascend]/trunk/base/generic/utilities/ascDynaLoad.c
ViewVC logotype

Log of /trunk/base/generic/utilities/ascDynaLoad.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 (13 years, 6 months ago) by johnpye
File length: 18203 byte(s)
Diff to previous 791 , to selected 103
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 (13 years, 7 months ago) by johnpye
File length: 18209 byte(s)
Diff to previous 790 , to selected 103
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 790 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 27 07:33:45 2006 UTC (13 years, 7 months ago) by johnpye
File length: 14147 byte(s)
Diff to previous 709 , to selected 103
Added support for dlopening of CONOPT. This means that we can distribute ASCEND without
needing to maintain two versions.

Revision 709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 16:28:57 2006 UTC (13 years, 8 months ago) by johnpye
File length: 14665 byte(s)
Diff to previous 543 , to selected 103
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 543 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 27 00:04:13 2006 UTC (13 years, 10 months ago) by johnpye
File length: 14701 byte(s)
Diff to previous 489 , to selected 103
Fix windows behaviour for 'IMPORT "johnpye/extfn/extfntest";'

Revision 489 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 06:45:06 2006 UTC (13 years, 10 months ago) by wangym
File length: 14597 byte(s)
Diff to previous 485 , to selected 103
a warning free for ascDynaLoad.c
winVC8 project update for libascend
add dir dummy to contain dummy file in the future

Revision 485 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 04:47:11 2006 UTC (13 years, 10 months ago) by johnpye
File length: 14593 byte(s)
Diff to previous 480 , to selected 103
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 (13 years, 10 months ago) by johnpye
File length: 14606 byte(s)
Diff to previous 478 , to selected 103
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 478 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 08:10:48 2006 UTC (13 years, 10 months ago) by johnpye
File length: 14603 byte(s)
Diff to previous 467 , to selected 103
Fixing build for SWIG 1.3.24 (no -O flag)
Adding more debug info to loading output in PyGTK interface/config.py.in
Adding SWIGVERSION flag to SCons env.
Commenting in ascDynaLoad.c and ascParse.y
Adding VERSION to config.py

Revision 467 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 03:18:06 2006 UTC (13 years, 10 months ago) by ben.allan
File length: 15381 byte(s)
Diff to previous 466 , to selected 103
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 466 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Apr 16 15:07:48 2006 UTC (13 years, 10 months ago) by johnpye
File length: 15278 byte(s)
Diff to previous 427 , to selected 103
Rolled back revision 451, since the DLL loading issue on Windows is now resolved.
Fixed up some #ifdef brackets in slv*.h headers.
Added NSIS functionality to SConstruct file
Renamed default installer to 'ascend-setup.exe' pending a more clever approach to version numbers.

Revision 427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 4 04:13:34 2006 UTC (13 years, 10 months ago) by johnpye
File length: 15436 byte(s)
Diff to previous 399 , to selected 103
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 399 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Mar 31 08:52:57 2006 UTC (13 years, 10 months ago) by johnpye
File length: 15613 byte(s)
Diff to previous 380 , to selected 103
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 380 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 18 07:29:48 2006 UTC (13 years, 11 months ago) by johnpye
File length: 15673 byte(s)
Diff to previous 190 , to selected 103
Fixed up dynamic loading so that external libraries can be used on Windows -- no unresolved symbols in the DLL.

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

Revision 163 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 3 07:17:41 2006 UTC (14 years, 1 month ago) by johnpye
File length: 15258 byte(s)
Diff to previous 159 , to selected 103
Fixed bug #198

Revision 159 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 2 09:54:52 2006 UTC (14 years, 1 month ago) by johnpye
File length: 15280 byte(s)
Diff to previous 158 , to selected 103
Changing FPRINTF to error_reporter

Revision 158 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 2 09:02:52 2006 UTC (14 years, 1 month ago) by johnpye
File length: 14684 byte(s)
Diff to previous 103
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 103 - (view) (download) (as text) (annotate) - [selected]
Modified Sun Dec 11 14:31:02 2005 UTC (14 years, 2 months ago) by jds
File length: 81890 byte(s)
Diff to previous 97
Bug fixes & killing more compiler warnings:
- general/list.c - fixed AssertAllocatedMemory and AssertContainedMemory bugs.
- added #include of ascPanic.h where necessary to compile with ALLOCATED_TESTS defined.
- reworked utilities/ascDynaLoad to eliminate compiler warnings related to casting between data & function pointers.
- switched utilities/ascEnvVar.c over to ascstrdup (had static ascstringcopy, which did the same thing).

All regression tests passed on Windows and Linux (except pre-existing solver/slv_common issues).

Revision 97 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 9 03:49:19 2005 UTC (14 years, 2 months ago) by jds
File length: 79462 byte(s)
Diff to previous 77 , to selected 103
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 77 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 6 04:06:12 2005 UTC (14 years, 2 months ago) by johnpye
File length: 79467 byte(s)
Diff to previous 76 , to selected 103
Reorganised 'HAVE_PACKAGES' in Jamrules_general.
Removed -DTHIS_IS_AN_UNUSED_FUNCTION from Jamfile so that we find if they really *are* unused.
Added CCFLAGS += stdc=c99 to Jamfile
Changed ASCEND contact details to Wiki URL instead of outdated(?) email address
Conditional HAVE_C99 flag in ascConfig.
ascDynaload.h added __unix__ CPP flag
error.h using C99 rather than GNUC extension

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

Revision 67 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 30 16:31:29 2005 UTC (14 years, 2 months ago) by johnpye
File length: 79276 byte(s)
Diff to previous 66 , to selected 103
Standardised the "if seen" #defines to [ASC|ASCTK|ASCPY|ASCXX]_FILENAME_H
Fixed compile on FC3

Revision 66 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 30 09:33:54 2005 UTC (14 years, 2 months ago) by johnpye
File length: 79297 byte(s)
Diff to previous 62 , to selected 103
Fixing a typo

Revision 62 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 30 05:53:20 2005 UTC (14 years, 2 months ago) by johnpye
File length: 79297 byte(s)
Diff to previous 61 , to selected 103
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 61 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Nov 14 02:37:20 2005 UTC (14 years, 3 months ago) by jds
File length: 78663 byte(s)
Diff to previous 59 , to selected 103
Minor bug fixes, extend unit tests to solver:

minor doc changes - compiler/func.h, general/list.h, solver/mtx.h, utilities/mem.h
solver/example - upgraded examples so they run under current system
solver/slv_common.[ch] - added unit tests, minor bug fixes, extended vector_data functions
utilities/ascDynaLoad.c - bug fix on *nix so dlopen, dlsym not called with NULL arguments

Revision 59 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 30 01:38:20 2005 UTC (14 years, 3 months ago) by jds
File length: 77454 byte(s)
Diff to previous 45 , to selected 103
- prototype unit test suite based on CUnit added.
- unit tests for base/generic/general and base/generic/utilites added.
- 2nd manual rework of doxygen documentation in general and utilities.
- bug fixes (mostly general & utilities) found during test development.
- added asc_assert prototype to redirect failures to Asc_Panic() and enable decoupling assertions from NDEBUG.
- some modifications of interface & implementation to facilitate testing.
- utilities/ascPrint & utilities/ascMalloc functions now always included in base libs to minimize recompilation when an interface chooses different options.

Revision 45 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 5 01:53:39 2005 UTC (14 years, 11 months ago) by ben.allan
File length: 77804 byte(s)
Diff to previous 16 , to selected 103
Split the tcl-io redirects out of the ascend core and moved
it to the tcltk98 interface directory. In the core
is now an expanded facility. by default  Driver.c
inits this facility to redirect stderr/out to tcl io channels.
It is also possible to add additional stderr/out
output clients for example to extra log files.

This has not been tested on windows.

in theory, we now have a tcl free core for ascend.


Revision 16 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 25 22:52:42 2004 UTC (15 years, 3 months ago) by ben.allan
File length: 77784 byte(s)
Diff to previous 11 , to selected 103
replaced nonportable strdup with ascend equivalent.

Revision 11 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 13 16:45:56 2004 UTC (15 years, 3 months ago) by aw0a
File length: 77748 byte(s)
Diff to previous 1 , to selected 103
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, 3 months ago) by aw0a
Original Path: trunk/ascend4/utilities/ascDynaLoad.c
File length: 77748 byte(s)
Diff to selected 103
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