Parent Directory
|
Revision Log
Links to HEAD: | (view) (download) (as text) (annotate) |
Sticky Revision: |
Fix issue with solvers not being loaded on Windows, it was a PATH_MAX limit issue (fixes bug 501). Fix minor memory leak in idacalc.c.
Merge 'ospath_chdir' and 'ospath_getcwd' into trunk (from Leon). Add detection of Ubuntu 11.10 in Sundials, since extra linkage to 'lapack' is required. Disable defaultall output for the moment.
Working on bug 491. Add normalised absolute paths in import handler, to avoid confusion with '.' and '..'.
Fix compiler warnings for ospath. Fix couple of memory leaks in test_autodiff.
Fix test solver_qrslv for MinGW (multiple path components need Windows separators if they are going to be used). (relates to bug 501). Suppress Windows error dialog in test.c (to help with Buildbot testing).
Fixed broken unit test for ospath on windows (caused by missing WINPATHS flag?)
Fixed bug with ospath_isroot.
Some work to support cleaning up of importhandler (more work to be done still, don't know how to unload the DLLs yet). Fixed valgrind issues with ospath, switched to strtok_r for linux.
Comment out some disused functions and variables (reverse_ad.c, cmslv.c, relation.c). Add comments about ascConfig.h->platform.h rename. Address some compiler warnings with minor code changes in ospath and importhandler.
issues resolved: 295 390 301 cmslv.c: unused var cleanup. lsode/SConscript: fortran flags bugs-- may not work with 0.9x scons. works with 1.2+. when adding -w, or any special flags, be sure to add them and not replace the original flag. system/var.c: 64bit clarity. system/discrete.c: 64bit clarity. system/analyze*: g_reuse declared in wrong place. 64bit clarity system/diffvars: missing prototype function, 64bit clarity. compiler/numlist.*: changed from int to glint. compiler/simlist.c: missing includes needed for 64bit clarity. compiler/instance_io.c: missing includes needed for 64bit clarity. compiler/initialize.[ch]: const clarifications. compiler/packages.c: const clarifications. compiler/module.c: const clarifications. compiler/statio.c: unused var cleanup. compiler/procframe; const clarification. memory deallocation bugs. compiler/notequery.c: repaired multiple casting and 64bit issues. compiler/importhandler.c: const and free issues fixed. compiler/type_desc.c: ridiculous if constructs clarified. compiler/createinst.c: casting stupidity repaired. linear/ranki2.c: missing includes needed for 64bitness. solver/solver.c: const issues clarified. utilities/ascConfig.h: added GLint typedefs for dealing with gllist 64bit portability. utilities/ascPanic.c: removed extraneous const. general/ospath.c: safer,quieter handling for string pointer difference. integrator/integrator.c: const issues clarified. packages/sensitivity.c: missing includes needed fo 64bit sanity. tcltk/interface/Integrators.c: 64 bitness. tcltk/interface/SimsProc.c: const errors. tcltk/interface/Driver.c: fixed env var handling wrt ascend-config (295) models/test/z*a4c: fixed meters -> m conversion; someone never ran the test suite after teasing the default units to ambiguous abbreviations. SConstruct: added sizeof checks; output might be better put in a ascend system-wide header.
Moving libascend components from #/base/generic into #/ascend
Removed references to <malloc.h> (replaced by <stdlib.h>).
Fixed problem with ospath_getparent() when path is just a relative dir, eg 'bin'.
Changed ASC_DLLSPEC(TYPE) to ASC_DLLSPEC TYPE, because it was causing havoc with doxygen and ctags.
Fixed some memory leaks in ospath.c and test_ospath.c.
Fixed OSPATH typo Other minor doc changes.
A few cleanups to get towards compilation on Solaris.
Added 'error_reporter_tree' that can organise error messages/output into a structured hierarchy.
first attempt at merging with Ben's changes on the trunk
Adding polar moment of inertia to atoms.a4l. Fixing two small windows-related bugs in new importhandler stuff.
ImportHandler seems to be working, tested with datareader/testtmy.a4c and extfn/testextfn.a4c.
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.
I think this almost resolves all the Visual C++ issues. Just an outstanding issue with the use of the option struct in LibraryProc.c eg use of &g_compiler_warnings in initialiser.
Fixes for MSVC++
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 '.'
Fixed up some memory leaks, hopefully.
- fixed a minor bug in the use of dimensions in samplelist and a #define misuse in ospath. - defined eolstyle unix on the trunk, as I have encountered at least 4 too many mixed-eol-style-in-one-file files in trying to rebuild today. obviously committer discipline is insufficient.
Fixed bug with pathless resolution of module filenames.
module.c switched over to use ospath_searchpath_iterate for REQUIRE statments. Removed some too-new libglade keywords from ascend.glade. Fixed up some error messages in scanner.l and library.c. Corrected some non-terminated string bugs in ospath.c.
Shifting to alleged ISO C++ form of 'getcwd' command, '_getcwd', for MSVC2005.
Small fix to keep MSVC2005 happy.
Updated license/doc blocks at start of files. Added test_ospath.c and test_ospath.h.
Fixing some malloc bugs.
This fixes the new Driver.c implementation. Now, default values of the environment variables are specified in the file base/generic/utilities/config.h.in, which should be tooled up with you configuration process. These default values will be subject to environment substiution, so that if you set the default ASCENDTK=$ASCENDDIST/TK, that will be expanded *at runtime*. This is to help with the 'application folder' style of installation off-root.
Making ospath accessible from other libraries. In progress.
Added LICENSE.txt to root directory Fixed a 'const' problem in ospath Fixed up some variable names and key errors in SConstruct Modified License-Warranty.tcl in accordance with the recommendations in the GPL.
Fix windows behaviour for 'IMPORT "johnpye/extfn/extfntest";'
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.
More work on the ospath.c file, trying to iron out some windows-specific issues Fixed McGraw-Hill URL in TCL files. Created platform-specific TCL_LIBPATH so that c:\Tcl\bin is used instead of c:\Tcl\lib for .dlls.
Little more progress on the ospath stuff. Hoping that this can be used to refactor the module (a4c) and external library (.so/.dll) search methods. Still some bugs though.
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.
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 |