Commit Graph

781 Commits

Author SHA1 Message Date
Vailin Choi
d65d8084ff [svn-r14023] Purpose:
reorganization.

Description:
move the h5stat tool into its own directory.

Platform tested:
kagiso.
2007-07-27 12:36:36 -05:00
Quincey Koziol
712c226038 [svn-r14010] Description:
Fix problem with dataspace messages where the version of the format
for a dataspace message could depend on the "use the latest format" flag from
the file after it was initially created.

	Also, move debuging routine into separate file.
	
Tested on:
        FreeBSD/32 6.2 (duty)
        FreeBSD/64 6.2 (liberty)
        Linux/32 2.6 (kagiso)
        Mac OS X/32 10.4.10 (amazon)
        Solaris/32 2.10 (linew)
2007-07-24 16:43:59 -05:00
Quincey Koziol
98d698cd26 [svn-r14005] Description:
Rename H5Titerate.c source file to H5Tvisit.c, which is more
descriptive of routine(s) in file.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Mac OS X/32 10.4.10 (amazon)
2007-07-24 14:14:11 -05:00
Quincey Koziol
492e5ca2b4 [svn-r14004] Description:
Fix problem with datatype messages where the version of the format
for a datatype message could depend on the "use the latest format" flag from
the file after it was initially created.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Mac OS X/32 10.4.10 (amazon)
2007-07-24 14:10:00 -05:00
Vailin Choi
7ff9aa3538 [svn-r13979] purpose:
New feature.

Description:
Added routines to report on the amount of storage for:
1) 1.6 btree and heap storage info for groups
2) 1.8 btree, fractal heap storage info for groups, attributes and SOHM table
3) btree storage for chunked datasets
4) 1.8 superblock extension size.

Platform tested:
h5committested.
2007-07-13 16:17:44 -05:00
Quincey Koziol
a73ea1b4f0 [svn-r13969] Description:
Initial checkin of API version macro generation script (bin/make_vers),
along with configuration file (src/H5vers.txt) and generated header
(src/H5version.h).  Right now, no version macros are defined, since the main
source code and tests need to be adjusted to pay attention to the macros
defined.

    Also, fixed makefile for generating error header files when used with
GNU make.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-07-12 15:21:57 -05:00
Scott Wegner
fe6c92ebd3 [svn-r13960] Purpose: Remove obsolete Windows files
Description:
Previously, there was a very intricate process for converting VS6 project files to VS.NET format for testing on the command-line.  Now that we maintain VS.NET project files, this system is no longer neccessary.  The same builds are now carried out in hdf5build.BAT, so the previous files are obsolete.

Removing them, and updating the MANIFEST

Tested:
WinXP
2007-07-10 13:32:20 -05:00
Quincey Koziol
2dfde3e4fc [svn-r13934] Description:
Rename Mac OS X compiler configuration file to more generic name, which
should allow Intel Macs to configure better.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
2007-07-03 12:20:44 -05:00
Scott Wegner
db3943af6a [svn-r13931] Purpose: Update Windows documentation
Description:
This makes major updates to the Windows installation documentation, to account for the switch from VS6 to .NET.  Installation instructions for 6.0 can also be found in INSTALL_Windows_Short_MSVS6.0.TXT, although it's noted that we are phasing out our VS6 support.

Also added install instrctions for MinGW, to reflect our initial support.  Updated MANIFEST for new file checkin. 

Tested:
Instructions for each configuration have been tested.
2007-07-02 09:33:47 -05:00
Mike McGreevy
1d7e8f9dee [svn-r13928] Purpose: 1) Moving H5_CXX_HAVE_OFFSETOF macro to src/H5pubconf.h file.
2) Removing configuration of c++/src/H5cxx_pubconf.h file.

Reasoning: the additional pubconf file caused compilation complications, this is cleaner.

Tested:  kagiso, smirom
2007-06-29 15:52:56 -05:00
Quincey Koziol
cad9846d77 [svn-r13926] Description:
Add small interface to "wrap" a static buffer (usually on the stack), but
still allow for buffers larger than the static buffer to be allocated.  This
can eliminate _many_ short-lived buffer allocations in situations where the
buffer is a predictable size (or at least a "very likely" size).

    Also, some minor code cleanups, particularly in the SOHM caching code.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
2007-06-28 22:12:45 -05:00
Mike McGreevy
58467956ba [svn-r13925] Purpose: intermediate checkin for offsetof fix for PGI compiler.
Description: added new configuration to generate a pubconf file
             in the c++/src directory, H5cxx_pubconf.h. When C++
             compiler recognizes 'offsetof', the macro 
             H5_CXX_HAVE_OFFSETOF is defined in the new
             pubconf file.

tested: kagiso, smirom
2007-06-28 15:36:08 -05:00
Scott Wegner
10f04e6519 [svn-r13924] Purpose: Cleanup
Description:
Clean up the MANIFEST a little bit.  Also removed some batch files and empty folders that were added mistakenly in the last check-in.

Tested:
Too minor.
2007-06-27 16:00:47 -05:00
Scott Wegner
c63a400f7a [svn-r13923] Purpose: Update MANIFEST
Description:
Many files added removed in last check-in.  I still need to clean up a little bit, but I just wanted to get this in before the Daily Tests start.

Tested:
chkmanifest on kagiso
2007-06-27 15:25:29 -05:00
Quincey Koziol
1d7d79bbb7 [svn-r13918] Description:
Refactor fill value buffer code into one location, for better long-term
maintenance.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-06-26 12:46:35 -05:00
Elena Pourmal
1da2333b4d [svn-r13901] Maintenance: forgot to remove old HP configuration files from MANIFEST; fixed; checked
with bin/chkmanifest
2007-06-24 10:19:56 -05:00
Scott Wegner
3045853b76 [svn-r13852] Added includes in various places to make it possible to set windows as the default vfd. Although sec2 is still default on Windows, it should now be possible to switch by simply changing H5pubconf.h .
Tested:
.NET 2003 on WinXP
2007-06-11 17:27:07 -05:00
Scott Wegner
5aacf74f24 [svn-r13824] Added new Windows low-level file driver. Eventually, this will replace sec2 as the default driver on Windows. However, it still needs some work right now, and is currently not set to build by default.
Tested:
Visual Studio 2005 (still fails a few tests)
2007-05-31 14:01:44 -05:00
Christian Chilan
517ed323b5 [svn-r13783] Add t_filter_read.c to MANIFEST. 2007-05-21 19:11:48 -05:00
Scott Wegner
51dcf997dc [svn-r13776] Added Windows project file for new example project (rev 13702). Updated test scripts and MANIFEST accordingly.
Tested:
VS6 on WinXP
2007-05-21 15:04:22 -05:00
Pedro Vicente Nunes
c80d46791f [svn-r13775]
Modified the current h5dump test script to use h5import/h5diff calls to validate the binary output. At this moment it can only be used with the native test, since h5import does not deal with input endianess.


tested: linux, sunos 5.10
2007-05-21 10:24:50 -05:00
Scott Wegner
8829cafe90 [svn-r13734] Added new source files (from rev. 13721) to Windows project files.
Note: ohdr_gentst currently fails on Windows, and is disabled by default.  I'm working with Quincy to get this fixed.

Tested:
VS6 on WinXP
2007-05-05 11:03:35 -05:00
Quincey Koziol
2757f75317 [svn-r13721] Description:
Add "fail if unknown" and "mark if unknown" flags to object header messages.
This gives the library a clean way to tell older libraries that a message should
not be just ignored if it's unknown, but that other actions should occur.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-01 16:00:52 -05:00
Scott Wegner
90a16bb0dd [svn-r13713] Updated MANIFEST for previous revision. 2007-04-30 16:44:02 -05:00
Elena Pourmal
71c29a007f [svn-r13702] Added new example that uses H5Gcreate2 and H5Lexists calls
Platforms tested: Linux 2.6 RedHat in Chicago; no access to other machines
2007-04-25 13:39:41 -05:00
Scott Wegner
3fd6b91f1b [svn-r13701] Deleted .html versions of Windows documentation, as we have decided to maintain only .txt versions in the source package. Step-by-step instructions for Windows will eventually be made available on the public website.
Updated MANIFEST to reflect changes.
2007-04-24 15:07:12 -05:00
Scott Wegner
dbeec45154 [svn-r13672] Forgot to include a sub-directory when adding a file to the MANIFEST. This checkin fixes is.
Tested:
kagiso
2007-04-16 14:31:30 -05:00
Scott Wegner
159fe4b610 [svn-r13667] Added Windows hl test script for gif2hf and h52gif testing to bring up to date with Linux. Updated MANIFEST for new file added.
Tested:

VS6 on Windows XP
2007-04-15 11:01:38 -05:00
Quincey Koziol
d6bb18abbc [svn-r13648] Description:
Rename new error handling API routines from H5E<foo>_stack() to
H5E<foo>2().

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
2007-04-11 20:59:45 -05:00
Quincey Koziol
9d2070890b [svn-r13636] Description:
Change H5[D|G|T]<foo>_expand() "temporary" API routines to
H5[D|G|T]<foo>2() "versioned" routines.  Also added
H5[D|G|T](create|commit)_anon() routines to continue to allow "anonymous"
objects to be created in a file.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-04-11 11:22:16 -05:00
Albert Cheng
4b716c38b8 [svn-r13633] Purpose
New feature

Description:
Added test scripts to test the compiler scripts (h5cc, h5fc and h5c++)

Tested platform:
Kagiso (serial and pp)
2007-04-11 00:17:13 -05:00
Pedro Vicente Nunes
753d9839d2 [svn-r13615]
bug fixes
substituted hize_t array index variables for int
stack corruption in the h52gif reading routine, wrote a new routine
shell script for gif tests, added check of program return value

enabled the gif test script

tested: linux pgcc, solaris, linux 64
2007-04-09 13:25:18 -05:00
Pedro Vicente Nunes
1d312bff80 [svn-r13589]
h5repack code cleaning (required reconfigure)

tested: linux (32, 64, parallel), solaris
2007-04-04 15:25:42 -05:00
Pedro Vicente Nunes
104e1cd848 [svn-r13573]
Bug fixes
Reset external file list slots name_offset to a state when created (0) in H5P_dcrt_copy
so that it conforms to an assertion in H5D_update_entry_info that assumes the name_offset is 0 at this point

this fixes the problem of h5repack and external files, add a new test and files for an external file

h5diff, check for an error return in H5D_get_storage_size

tested linux 32, 64
2007-04-02 15:28:14 -05:00
Pedro Vicente Nunes
9283f262f6 [svn-r13554]
update new files
2007-03-27 15:19:08 -05:00
Quincey Koziol
e6b818134e [svn-r13497] Description:
Move ref. count of # of links to an object out of the object header's
prefix and make it a header message instead (since it's a "rare" occurence),
eliminating some more space for each object in the file.

        Inserting this "ref. count" message exposed a flaw in the library's
mechanism for locating a message to promote to another chunk and replace
with a continuation message, which required some additional work to fix.
It's still not completely robust, but it's working for more cases now and
detects failures robustly.

        Reduced the minimum size of an object header chunk to just enough to
contain a header message prefix and continuation message.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-03-11 18:15:03 -05:00
Quincey Koziol
25bcff7681 [svn-r13472] Description:
Add new object header message to track attribute information (unused
currently).

Tested on:
	Mac OS X/32 10.4.8 (amazon)
2007-03-06 15:38:01 -05:00
Pedro Vicente Nunes
be75c4f407 [svn-r13444] update with new file 2007-03-02 09:35:18 -05:00
Quincey Koziol
2e8b6c0223 [svn-r13440] Description:
Revise latest form of superblock format pretty drastically, to
eliminate unused fields and move rarely used fields into superblock extension.

	Finished removing last vestiges of references to (never used) i"shared"
object header message ID.

	Added object header messages for non-default v1 B-tree 'K' values
and for driver info.

	Updated testfiles to reflect size changes, etc.

	Various minor cleanups, etc.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.8 (amazon)
2007-03-01 16:26:31 -05:00
Pedro Vicente Nunes
a9d32e4896 [svn-r13431]
Bug fix: the macro used for percentage in the unsigned types needed a cast to signed (the difference can be negative)

Unlike the 1.6 branch the unsigned long long conversion to float is supported by H5Tconvert , so the test commented for 1.6 is run (tools/testfiles/h5diff_16_2.txt)
2007-02-28 10:07:13 -05:00
Pedro Vicente Nunes
9dcbb7557d [svn-r13417]
commented a test that fails cross platforms and renamed files
2007-02-27 11:34:56 -05:00
Pedro Vicente Nunes
1b1f60488f [svn-r13406]
update file
2007-02-26 17:11:36 -05:00
James Laird
0d86163705 [svn-r13379] Added 'make help' target. This actually runs a script, bin/makehelp (formatting
the output in the makefile was pretty hard).

Tested that make still works on kagiso; no code changes at all.
2007-02-23 14:14:11 -05:00
James Laird
e10c553522 [svn-r13329] Fixed MANIFEST error due to new h5mkgrp windows project.
Ran bin/chkmanifest on kagiso.
2007-02-19 09:39:33 -05:00
Albert Cheng
e82f6081bd [svn-r13314] Updated copyright notice. 2007-02-14 17:55:20 -05:00
Quincey Koziol
f6a22fb0de [svn-r13301] Description:
Add '-p' flag to h5copy tool, to create intermediate "parent" groups
that don't exist in destination file yet.

    Add more tests to h5copy script.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-14 11:31:11 -05:00
Quincey Koziol
bb392083b2 [svn-r13297] Description:
Add small 'h5mkgrp' tool to create groups in an HDF5 file from the command
line, allowing the group structure for a file to be created in a script.  This
tool closely follows the 'mkdir' command line tool in UNIX/Linux.

    Allow tool library applications to pass a FAPL to the h5tool_fopen() call,
giving some additional flexibility to tools which are adding objects to an
existing HDF5 file (like h5copy & h5mkgrp).

    Fix missing files in MANIFEST from previous checkin(s).

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-02-14 08:54:11 -05:00
Pedro Vicente Nunes
57189d8a82 [svn-r13285]
remove a test that was incorrectly added previously, that was not the feature that had to be tested
2007-02-12 17:38:41 -05:00
Pedro Vicente Nunes
c8fb91983e [svn-r13283]
added a test for the printing of long long numbers greater than 4GB
2007-02-12 16:32:36 -05:00
Pedro Vicente Nunes
068e29b9f1 [svn-r13281] new files for h5dump tests 2007-02-12 15:00:13 -05:00