Parent Directory | Revision Log
Sticky Revision: |
New external library naming scheme on Windows: 'name_ascend.dll' instead of 'name.dll'. This applies to solvers as well as external methods, extpy, import handlers, etc.
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.
Change to ASC_STRDUP
Cleaning up some redundant compiler dependencies
Fixed 'const char *envv' in SearchArchiveLibraryPath prototype decl.
Fixed a bug with initial time step in IDA (and added a checking asc_assert) Added switch to turn on and off 'IDACalcIC'. Changed 'already loaded' ASC_PROG_ERR into ASC_PROG_WARN (so that repeated 'IMPORT' doesn't cause problems) Removed unnecessary solver tricks from shm.a4c (for easier debugging of Integrator API) Widened self_test limits in zill.a4c. Some more debugging in simulation.cpp. Breaking down test.py into smaller test classes (thinking about moving it to its own directory)
Removed debug output (modelview.py) Fixed bug in diagnose.py with large blocks Removed debug output and improved error message in conopt.c Removed debug output in lsode.c Removed debup output in ascDynaload.c
Some work on the IMPORT handler functionality. Mostly just placeholders at this stage.
Renamed the installer from 'ASCEND PyGTK' to 'ASCEND' Added the '-y' to YACCFLAGS and '-l' TO LEXFLAGS. Other changes are trivial.
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.
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.
Added support for dlopening of CONOPT. This means that we can distribute ASCEND without needing to maintain two versions.
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.
Fix windows behaviour for 'IMPORT "johnpye/extfn/extfntest";'
a warning free for ascDynaLoad.c winVC8 project update for libascend add dir dummy to contain dummy file in the future
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?
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.
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
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.
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.
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.
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
Fixed up dynamic loading so that external libraries can be used on Windows -- no unresolved symbols in the DLL.
- Simplifying many 'error_reporter' calls with new macros: ERROR_REPORTER_NOLINE and ERROR_REPORTER_HERE - Adding some cygwin cases in the PyGTK build.
Fixed bug #198
Changing FPRINTF to error_reporter
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.
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).
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.
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
More error_reporter calls. Removed some C++-unfriendly var names. Removed some debug messages. Turned off compiler timing and relation debugging.
Standardised the "if seen" #defines to [ASC|ASCTK|ASCPY|ASCXX]_FILENAME_H Fixed compile on FC3
Fixing a typo
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.
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
- 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.
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.
replaced nonportable strdup with ascend equivalent.
moving things to base/generic
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.
john.pye@anu.edu.au | ViewVC Help |
Powered by ViewVC 1.1.22 |