Commit Graph

23 Commits

Author SHA1 Message Date
d4d31594b1 fixed inverted directory-test logic in IOobject.C 2009-07-09 08:57:59 +02:00
28258d11bd Removed Cint support. 2009-06-23 12:13:33 +01:00
34da731896 sampledSurface hacking proof-of-concept
- using 'nil' type to write geometry only, in the future we could fallback to 'null'
  writer and hook in arbitrary formats from surfMesh

- IOobject gets writeEndDivider() static method
2009-03-10 13:12:00 +01:00
7544164d53 regIOobject, Hasher, IOobject tweak
- regIOobject: don't re-register an unregister object on rename/assignment
- Hasher: split-off HasherInt with uint32_t specializations
- IOobject: writeBanner/writeDivider return Stream for easier chaining.

... also dropped some namespace bracketing while I was at it.
2009-03-05 12:06:57 +01:00
8de54d3ba7 error message 2009-03-04 12:35:01 +00:00
ffd9bb08a8 OSspecific: altered file tests
- removed the previously added fileName type(), isDir(), isFile() methods.

- added optional bool parameter to isFile() function to explicitly
  enable/disable the check for gzip files.

- fixed minor bugginess where the default usage of isFile() would result in
  false positive matches.

- be slightly more stringent and use isDir() and isFile() instead of
  exists() function when we actually know the expected type.
2009-02-06 10:25:41 +01:00
8c3ef65485 misc. cosmetic changes 2009-02-06 00:43:57 +01:00
e5c5829244 OSspecific: isDir(), isFile() instead of dir(), file() 2009-02-02 16:50:18 +01:00
fe6a83a3a8 moved fileName::IOobjectComponents -> IOobject::fileNameComponents 2009-01-30 09:06:47 +01:00
defe13e205 fileName gets additional convenience methods
- exists() = forward to OSspecific exists(...)
- isDir()  = forward to OSspecific dir(...)
- isFile() = forward to OSspecific file(...)
- IOobjectComponents() - split into instance, local, name following rules
  set out for IOobject.

- added IOobject(path, registry, ...) constructor that uses
  fileName::IOobjectComponents(). This hides the complexity we otherwise need.
2009-01-27 13:28:45 +01:00
036a1cd504 output FOAMbuild info in argList, but only emit FOAMversion in writeBanner 2009-01-09 11:28:08 +01:00
0061e9ed03 added Foam::FOAMbuild to Foam::FOAMversion
- avoids problems with finding files based on FOAMversion
  (reported by Mattijs)
2009-01-09 09:11:50 +01:00
cdd2266467 Merge commit 'OpenCFD/master' into olesenm
Conflicts:

	src/OpenFOAM/db/IOstreams/Pstreams/IPstream.C
	src/OpenFOAM/db/IOstreams/Pstreams/OPstream.C
2009-01-07 09:39:17 +01:00
28b200bcd9 update copyrights for 2009 2008-12-31 19:01:56 +01:00
cdfc52d2dd Returned the web address to original location, it looked like it had got lost and forgotten about. 2008-12-31 08:41:27 +00:00
a15d0f8ad4 output banner cosmetics
- move url to lower right: makes version information stand out better
2008-12-18 20:29:24 +01:00
b5f06a3833 use git describe for header version, but use existing wmake framework 2008-12-18 19:54:13 +01:00
7e9846a524 IOobjects - consistency fixes
- consistent constructors and consistent behaviour with MUST_READ,
    READ_IF_PRESENT
2008-10-14 16:05:21 +02:00
a48bc8746a use dictionary::readIfPresent wherever reasonable 2008-07-20 14:07:49 +02:00
02cabc3cf2 updated Copyright (C) \d+-2008 OpenCFD Ltd. 2008-06-25 15:01:46 +02:00
5afd70bd1c writing note field 2008-06-24 21:43:01 +01:00
099117dd2a argList + IOobject write-headers modifications
* new -srcDoc option to display doxygen-processed source code
  * display standard options -help/-doc/-srcDoc at end of usage
  * consolidate code when writing IOobject headers
  * drop writeLogbanner and add optional bool to writeBanner
  * minor formatting changes
2008-06-13 18:21:36 +02:00
3170c7c0c9 Creation of OpenFOAM-dev repository 15/04/2008 2008-04-15 18:56:58 +01:00