/[ascend]/trunk/base/generic/general/ospath.c
ViewVC logotype

Log of /trunk/base/generic/general/ospath.c

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 965 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 13 23:53:57 2006 UTC (13 years, 9 months ago) by johnpye
File length: 26555 byte(s)
Diff to previous 954
Fixed OSPATH typo
Other minor doc changes.

Revision 954 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Dec 9 02:20:15 2006 UTC (13 years, 9 months ago) by johnpye
File length: 26555 byte(s)
Diff to previous 931
A few cleanups to get towards compilation on Solaris.

Revision 931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Nov 23 04:31:19 2006 UTC (13 years, 10 months ago) by johnpye
File length: 26493 byte(s)
Diff to previous 908
Added 'error_reporter_tree' that can organise error messages/output into a structured hierarchy.

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

Revision 866 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 29 06:22:21 2006 UTC (13 years, 11 months ago) by johnpye
File length: 26021 byte(s)
Diff to previous 864
Adding polar moment of inertia to atoms.a4l.
Fixing two small windows-related bugs in new importhandler stuff.

Revision 864 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Sep 28 13:39:16 2006 UTC (13 years, 11 months ago) by johnpye
File length: 26025 byte(s)
Diff to previous 791
ImportHandler seems to be working, tested with datareader/testtmy.a4c and extfn/testextfn.a4c.

Revision 791 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 27 12:04:19 2006 UTC (14 years, 1 month ago) by johnpye
File length: 25885 byte(s)
Diff to previous 742
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 742 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 6 13:47:41 2006 UTC (14 years, 2 months ago) by johnpye
File length: 25889 byte(s)
Diff to previous 741
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.

Revision 741 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 6 08:54:42 2006 UTC (14 years, 2 months ago) by johnpye
File length: 25914 byte(s)
Diff to previous 721
Fixes for MSVC++

Revision 721 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jul 3 06:22:42 2006 UTC (14 years, 2 months ago) by johnpye
File length: 25613 byte(s)
Diff to previous 715
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 '.'

Revision 715 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jul 1 03:17:37 2006 UTC (14 years, 2 months ago) by johnpye
File length: 25346 byte(s)
Diff to previous 704
Fixed up some memory leaks, hopefully.

Revision 704 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 26 23:00:56 2006 UTC (14 years, 2 months ago) by ben.allan
File length: 25305 byte(s)
Diff to previous 664
- 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.


Revision 664 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 14 09:58:42 2006 UTC (14 years, 3 months ago) by johnpye
File length: 26306 byte(s)
Diff to previous 662
Fixed bug with pathless resolution of module filenames.

Revision 662 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 14 09:33:04 2006 UTC (14 years, 3 months ago) by johnpye
File length: 26296 byte(s)
Diff to previous 638
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.

Revision 638 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 29 06:28:14 2006 UTC (14 years, 3 months ago) by johnpye
File length: 25823 byte(s)
Diff to previous 635
Shifting to alleged ISO C++ form of 'getcwd' command, '_getcwd', for MSVC2005.

Revision 635 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon May 29 06:16:26 2006 UTC (14 years, 3 months ago) by johnpye
File length: 25822 byte(s)
Diff to previous 607
Small fix to keep MSVC2005 happy.

Revision 607 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 04:19:20 2006 UTC (14 years, 4 months ago) by johnpye
File length: 25817 byte(s)
Diff to previous 589
Updated license/doc blocks at start of files.
Added test_ospath.c and test_ospath.h.

Revision 589 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 11 03:10:43 2006 UTC (14 years, 4 months ago) by johnpye
File length: 35366 byte(s)
Diff to previous 588
Fixing some malloc bugs.

Revision 588 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 11 02:06:46 2006 UTC (14 years, 4 months ago) by johnpye
File length: 35347 byte(s)
Diff to previous 585
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.

Revision 585 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 10 17:02:21 2006 UTC (14 years, 4 months ago) by johnpye
File length: 35323 byte(s)
Diff to previous 551
Making ospath accessible from other libraries. In progress.

Revision 551 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Apr 29 04:19:17 2006 UTC (14 years, 4 months ago) by johnpye
File length: 33503 byte(s)
Diff to previous 543
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.

Revision 543 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Apr 27 00:04:13 2006 UTC (14 years, 4 months ago) by johnpye
File length: 33497 byte(s)
Diff to previous 542
Fix windows behaviour for 'IMPORT "johnpye/extfn/extfntest";'

Revision 542 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 26 15:15:40 2006 UTC (14 years, 4 months ago) by johnpye
File length: 33505 byte(s)
Diff to previous 541
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.


Revision 541 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 26 07:32:13 2006 UTC (14 years, 4 months ago) by johnpye
File length: 26595 byte(s)
Diff to previous 535
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.

Revision 535 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 25 14:55:48 2006 UTC (14 years, 5 months ago) by johnpye
File length: 18943 byte(s)
Diff to previous 534
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.

Revision 534 - (view) (download) (as text) (annotate) - [select for diffs]
Added Tue Apr 25 13:25:04 2006 UTC (14 years, 5 months ago) by johnpye
File length: 16621 byte(s)
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.

  Diffs between and
  Type of Diff should be a

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22