/[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 480 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 17 10:45:23 2006 UTC (13 years, 7 months ago) by johnpye
File length: 14606 byte(s)
Diff to previous 478
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, 7 months ago) by johnpye
File length: 14603 byte(s)
Diff to previous 467
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, 8 months ago) by ben.allan
File length: 15381 byte(s)
Diff to previous 466
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, 8 months ago) by johnpye
File length: 15278 byte(s)
Diff to previous 427
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, 8 months ago) by johnpye
File length: 15436 byte(s)
Diff to previous 399
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, 8 months ago) by johnpye
File length: 15613 byte(s)
Diff to previous 380
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, 8 months ago) by johnpye
File length: 15673 byte(s)
Diff to previous 190
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 (13 years, 10 months ago) by johnpye
File length: 15242 byte(s)
Diff to previous 163
- 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 (13 years, 11 months ago) by johnpye
File length: 15258 byte(s)
Diff to previous 159
Fixed bug #198

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

Revision 158 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jan 2 09:02:52 2006 UTC (13 years, 11 months 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) - [select for diffs]
Modified Sun Dec 11 14:31:02 2005 UTC (14 years 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 ago) by jds
File length: 79462 byte(s)
Diff to previous 77
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 ago) by johnpye
File length: 79467 byte(s)
Diff to previous 76
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 ago) by johnpye
File length: 79293 byte(s)
Diff to previous 67
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 ago) by johnpye
File length: 79276 byte(s)
Diff to previous 66
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 ago) by johnpye
File length: 79297 byte(s)
Diff to previous 62
Fixing a typo

Revision 62 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 30 05:53:20 2005 UTC (14 years ago) by johnpye
File length: 79297 byte(s)
Diff to previous 61
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, 1 month ago) by jds
File length: 78663 byte(s)
Diff to previous 59
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, 1 month ago) by jds
File length: 77454 byte(s)
Diff to previous 45
- 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, 9 months ago) by ben.allan
File length: 77804 byte(s)
Diff to previous 16
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 ago) by ben.allan
File length: 77784 byte(s)
Diff to previous 11
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, 1 month ago) by aw0a
File length: 77748 byte(s)
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, 1 month ago) by aw0a
Original Path: trunk/ascend4/utilities/ascDynaLoad.c
File length: 77748 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