/[ascend]/trunk/ascend/general/ospath.h
ViewVC logotype

Log of /trunk/ascend/general/ospath.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 2552 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 2 20:54:40 2012 UTC (6 years, 7 months ago) by jpye
File length: 9474 byte(s)
Diff to previous 2551
Fix detection of SUNDIALS in MinGW-w64.
Fix paths in test_ida and test_lsode.

Revision 2551 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Feb 2 20:14:50 2012 UTC (6 years, 7 months ago) by jpye
File length: 9451 byte(s)
Diff to previous 2549
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.


Revision 2549 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jan 31 00:12:16 2012 UTC (6 years, 7 months ago) by jpye
File length: 8939 byte(s)
Diff to previous 2532
Working on bug 491.
Add normalised absolute paths in import handler, to avoid confusion with '.' and '..'.

Revision 2532 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jan 20 19:25:52 2012 UTC (6 years, 8 months ago) by jpye
File length: 8701 byte(s)
Diff to previous 2388
Fixed broken unit test for ospath on windows (caused by missing WINPATHS flag?)

Revision 2388 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Feb 15 03:36:18 2011 UTC (7 years, 7 months ago) by jpye
File length: 8628 byte(s)
Diff to previous 2323
Added test suite for bintokens, now working correctly in test environment.

Revision 2323 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:35:43 2010 UTC (7 years, 9 months ago) by jpye
File length: 8623 byte(s)
Diff to previous 2322
Refactor some more stuff from 'utilities' into 'general' with goal that 'general' never refers to 'utilities'.

Revision 2322 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 15 06:12:36 2010 UTC (7 years, 9 months ago) by jpye
File length: 8656 byte(s)
Diff to previous 2316
Refactoring ascMalloc.h, mem.h to belong in 'general' with goal of having no references in 'general' to functions in 'utilities'.

Revision 2316 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Dec 14 05:42:21 2010 UTC (7 years, 9 months ago) by jpye
File length: 8658 byte(s)
Diff to previous 2018
Documentation refactoring; trying to make the doxygen documentation generated for libascend a little more
navigable.

Revision 2018 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 29 03:38:10 2009 UTC (9 years, 4 months ago) by jpye
File length: 8574 byte(s)
Diff to previous 2011
Fixed compile for new header file locations <ascend/compiler/xxx.h> etc.

Revision 2011 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Apr 28 08:58:48 2009 UTC (9 years, 4 months ago) by jpye
File length: 8553 byte(s)
Copied from: trunk/base/generic/general/ospath.h revision 2010
Diff to previous 1697
Moving libascend components from #/base/generic into #/ascend

Revision 1697 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jan 3 02:32:51 2008 UTC (10 years, 8 months ago) by jpye
Original Path: trunk/base/generic/general/ospath.h
File length: 8553 byte(s)
Diff to previous 1063
Removed out of date '@TODO'.

Revision 1063 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jan 7 07:54:06 2007 UTC (11 years, 8 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 8519 byte(s)
Diff to previous 908
Changed ASC_DLLSPEC(TYPE) to ASC_DLLSPEC TYPE, because it was causing havoc with doxygen and ctags.

Revision 908 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Oct 26 10:18:53 2006 UTC (11 years, 10 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 8563 byte(s)
Diff to previous 864
first attempt at merging with Ben's changes on the trunk

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

Revision 812 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Aug 11 04:22:18 2006 UTC (12 years, 1 month ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 8553 byte(s)
Diff to previous 811
First apparently working version of data reader. This version just done linear interpolation.

Revision 811 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 10 17:08:16 2006 UTC (12 years, 1 month ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 8530 byte(s)
Diff to previous 791
Added vim 'syntax=python' comments to many SConscript files.
Lots more work on the datareader extfn.
The testtmy.a4c file requires the file obtained here ('gzip -d' before use)
http://rredc.nrel.gov/solar/old_data/nsrdb/tmy2/unix/23161.tm2.Z

Revision 791 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jul 27 12:04:19 2006 UTC (12 years, 1 month ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 8505 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 (12 years, 2 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 8437 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 (12 years, 2 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 8436 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 (12 years, 2 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 8332 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 (12 years, 2 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 7985 byte(s)
Diff to previous 669
Fixed up some memory leaks, hopefully.

Revision 669 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 21 07:00:45 2006 UTC (12 years, 3 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 7867 byte(s)
Diff to previous 662
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 662 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 14 09:33:04 2006 UTC (12 years, 3 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 8066 byte(s)
Diff to previous 608
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 608 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 16 04:32:46 2006 UTC (12 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 7572 byte(s)
Diff to previous 585
Fixing ospath tests, hopefully.

Revision 585 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed May 10 17:02:21 2006 UTC (12 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 7361 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 (12 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 5202 byte(s)
Diff to previous 542
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 542 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Apr 26 15:15:40 2006 UTC (12 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 5196 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 (12 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 4281 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 (12 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 3231 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 (12 years, 4 months ago) by johnpye
Original Path: trunk/base/generic/general/ospath.h
File length: 3171 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