/[ascend]/trunk/base/generic/utilities/ascConfig.h
ViewVC logotype

Log of /trunk/base/generic/utilities/ascConfig.h

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 956 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 9 15:38:05 2006 UTC (12 years, 7 months ago) by johnpye
File length: 13644 byte(s)
Diff to previous 928
Removed references to 'ASC_BIG_BUGMAIL' and 'ASC_MILD_BUGMAIL'
Disabled stream redirection functions (they were making testing difficult)
Re-wrote the main test-runner to permit specific tests to be run from the commandline (ongoing)
Disabled readln tests that required stream redirection.

Revision 928 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 22 10:32:18 2006 UTC (12 years, 7 months ago) by johnpye
File length: 13872 byte(s)
Diff to previous 908
Commented out some stream redirection stuff for simplicity.
The CUnit test suite now works as expected (but without output suppression, for the moment).
Some more effort on IDA (ongoing).

Revision 908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 10:18:53 2006 UTC (12 years, 8 months ago) by johnpye
File length: 13759 byte(s)
Diff to previous 778
first attempt at merging with Ben's changes on the trunk

Revision 778 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 18 05:10:03 2006 UTC (13 years ago) by johnpye
File length: 13741 byte(s)
Diff to previous 777
Working to fix the 'NORETURN' stuff so that it works on both MSVC++ and GCC and fails
gracefully elsewhere.

Revision 777 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jul 18 04:40:08 2006 UTC (13 years ago) by johnpye
File length: 13771 byte(s)
Diff to previous 709
Working on fixing a couple of VC++ warnings

Revision 709 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 28 16:28:57 2006 UTC (13 years ago) by johnpye
File length: 13666 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 (13 years ago) by johnpye
File length: 13468 byte(s)
Diff to previous 641
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 641 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 29 06:51:22 2006 UTC (13 years, 1 month ago) by johnpye
File length: 13393 byte(s)
Diff to previous 534
Putting back #include <windows.h> in ascConfig.

Revision 534 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 25 13:25:04 2006 UTC (13 years, 2 months ago) by johnpye
File length: 13645 byte(s)
Diff to previous 507
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 507 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 19 02:44:25 2006 UTC (13 years, 3 months ago) by johnpye
File length: 13573 byte(s)
Diff to previous 506
Fixing for ubuntu GCC 4

Revision 506 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 14:30:39 2006 UTC (13 years, 3 months ago) by johnpye
File length: 13601 byte(s)
Diff to previous 501
The Visual C++ 2005 version now builds without linker errors.
But I ran the installer and it crashed during the first C++ call, so still problems.

Revision 501 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 12:40:59 2006 UTC (13 years, 3 months ago) by johnpye
File length: 13603 byte(s)
Diff to previous 500
Managing GCC visibility is the job of the build too, not ascConfig.h

Revision 500 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 11:55:12 2006 UTC (13 years, 3 months ago) by johnpye
File length: 13788 byte(s)
Diff to previous 495
Reduced some runtime debug messages from Python and C++ and base/generic/compiler/type_descio.c.
Fixed up support for GCC Visibility and add SCons 'sniffer' for this.
Fixed a bug with 'fileopenpath' in PyGTK interface (File->Open location is remembered from last time).
Fixed a bug with missing includes in C++.

Revision 495 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 07:25:04 2006 UTC (13 years, 3 months ago) by johnpye
File length: 13739 byte(s)
Diff to previous 492
Still trying to get the Lionux build working again. I think it's still broken.

Revision 492 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 07:10:01 2006 UTC (13 years, 3 months ago) by johnpye
File length: 13733 byte(s)
Diff to previous 488
Incorporating 'extern' into ASC_DLLSPEC

Revision 488 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 06:08:03 2006 UTC (13 years, 3 months ago) by wangym
File length: 13755 byte(s)
Diff to previous 487
warning free for vc compile.

Revision 487 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 06:04:16 2006 UTC (13 years, 3 months ago) by wangym
File length: 13749 byte(s)
Diff to previous 486
fix the dll built for win32

Revision 486 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 05:31:35 2006 UTC (13 years, 3 months ago) by johnpye
File length: 13730 byte(s)
Diff to previous 485
Adding GCC 'pragma' default hidden symbol visibility.

Revision 485 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 18 04:47:11 2006 UTC (13 years, 3 months ago) by johnpye
File length: 13538 byte(s)
Diff to previous 480
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, 3 months ago) by johnpye
File length: 13568 byte(s)
Diff to previous 423
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 423 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 3 23:15:49 2006 UTC (13 years, 3 months ago) by ben.allan
File length: 13228 byte(s)
Diff to previous 414
Fixed instatiation of blackbox (and probably glassbox)
relations, for poorly tested definitions of 'fix'.
Blackbox evaluation is still broken.

There seems to be some chaos around win32_lean_and_mean
in ascConfig.h

updated reconfig. setenv TKROOT /where/is/tk8.3dir before 
running and all is good.

Revision 414 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Apr 3 04:55:35 2006 UTC (13 years, 3 months ago) by johnpye
File length: 13002 byte(s)
Diff to previous 332
Some progress on getting a MSVC build to work with SCons. Issues with linking still.

Revision 332 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 28 04:39:00 2006 UTC (13 years, 4 months ago) by johnpye
File length: 12947 byte(s)
Diff to previous 216
These changes fix compilation 'make libs' on MinGW.

I have changed the configure.in to allow '--without-tcl'
however this will likely break linux compiles. I'll commit this
on windows, then try to check out and fix on a linux machine.

Revision 216 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jan 25 02:12:20 2006 UTC (13 years, 5 months ago) by jds
File length: 13193 byte(s)
Diff to previous 162
Minor rework of jam system to stop relinking of libraries when sources not modified.
Minor tweaks to stem the tide of compiler warnings.

Revision 162 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 3 06:51:30 2006 UTC (13 years, 6 months ago) by johnpye
File length: 12890 byte(s)
Diff to previous 122
Fixing problem with btprolog.h in Tcl/Tk interface

Revision 122 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Dec 19 06:12:40 2005 UTC (13 years, 6 months ago) by johnpye
File length: 12709 byte(s)
Diff to previous 97
Refactoring all MAX, MIN, ABS calls to general/mathmacros.
Adding a GCC optimisation for these macros.

Revision 97 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Dec 9 03:49:19 2005 UTC (13 years, 7 months ago) by jds
File length: 12890 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 (13 years, 7 months ago) by johnpye
File length: 12733 byte(s)
Diff to previous 67
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 67 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 30 16:31:29 2005 UTC (13 years, 7 months ago) by johnpye
File length: 12216 byte(s)
Diff to previous 62
Standardised the "if seen" #defines to [ASC|ASCTK|ASCPY|ASCXX]_FILENAME_H
Fixed compile on FC3

Revision 62 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Nov 30 05:53:20 2005 UTC (13 years, 7 months ago) by johnpye
File length: 12207 byte(s)
Diff to previous 60
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 60 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Oct 31 03:39:15 2005 UTC (13 years, 8 months ago) by jds
File length: 11371 byte(s)
Diff to previous 59
- jam build up and limping on Linux (finally).
- fixes to CUnit test suite to compile on Linux (still not operable, though).

Revision 59 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Oct 30 01:38:20 2005 UTC (13 years, 8 months ago) by jds
File length: 11370 byte(s)
Diff to previous 55
- 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 55 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 3 01:25:36 2005 UTC (13 years, 10 months ago) by jds
File length: 11004 byte(s)
Diff to previous 54
Minor comment updates, add doc subdir to tclck98 subdir

Revision 54 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Aug 2 11:20:09 2005 UTC (13 years, 11 months ago) by jds
File length: 10923 byte(s)
Diff to previous 48
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 48 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 9 13:04:03 2005 UTC (14 years, 3 months ago) by jds
File length: 10448 byte(s)
Diff to previous 47
Fix typo in utilities/ascConfig.h.  mea culpa.
Update WinVC7 project files.

Revision 47 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 7 23:59:22 2005 UTC (14 years, 3 months ago) by jds
File length: 10462 byte(s)
Diff to previous 45
Updated jam build files:
-Added support for -DTIMESTAMP builder credit.
- Renamed Tcl/Tk/TkTable libs for MinGW to match common gcc names.
- Corrected Linux ref in tcltk98 Jamfile.
- Added ascPrintTcl.c to list of interface sources.
- Fixed default CP definition in Jambase.
- Reworked gcc warning options in Jamrules_general.

utilities/ascConfig.h
- Added UNREFERENCED_PARAMETER() macro to standardize handling of unreferenced parameters.
-__WIN32__ macros for isnan(), isinf(), finite() not redefined if the plain versions exist (underscore not added in all __WIN32__ compiler systems, e.g. MinGW)

interface/ascPrintTcl.[ch]
- Added return value to Asc_PrintInit_TclVtable().
- Modified doxygen comments to describe function return values.

interface/Driver.c
- Added #include "interface/tkConsole.h" for __WIN32__ to pull in console functions.
- Added UNREFERENCED_PARAMETER() for WinMain() parameters.

Revision 45 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Mar 5 01:53:39 2005 UTC (14 years, 4 months ago) by ben.allan
File length: 10141 byte(s)
Diff to previous 40
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 40 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jan 22 14:22:13 2005 UTC (14 years, 5 months ago) by jds
File length: 10066 byte(s)
Diff to previous 14
Initial commit of WinVC7 and jam build files.  jam builds Ascend base libs and tcltk98 executable on Windows using msvc, borland, mingw, and watcom (watcom can't yet link executable due to lack of isnan() and copysign() functions).

Also includes minor source updates to compile & run on Windows.

Revision 14 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 18 06:17:50 2004 UTC (14 years, 8 months ago) by ben.allan
File length: 9816 byte(s)
Diff to previous 11
Lots of patches to enable debugging with valgrind and
gdb (conditional use of signal.h and friends, pool and friends).
Bug fix for compiler anontype.c that was breaking
arts model under relation sharing.

Revision 11 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Nov 13 16:45:56 2004 UTC (14 years, 8 months ago) by aw0a
File length: 9672 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 (14 years, 8 months ago) by aw0a
Original Path: trunk/ascend4/utilities/ascConfig.h
File length: 9672 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