Commit Graph

764 Commits

Author SHA1 Message Date
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
James Laird
c13841161e [svn-r13246] Forgot to add a file on previous checkin. 2007-02-06 13:23:30 -05:00
Binh-Minh Ribler
26954f896a [svn-r13212] Purpose: Adding new test
Description:
    Added c++/test/tfilter.cpp.
2007-01-28 21:44:23 -05:00
Binh-Minh Ribler
fd63747fd6 [svn-r13202] Purpose: Adding tests
Description:
    Added c++/test/tcompound.cpp and c++/test/ttypes.cpp.
2007-01-26 00:43:58 -05:00
Albert Cheng
5a8f3945fe [svn-r13185] Added missing entries of Windows/test directory. Sorted those entries too. 2007-01-23 18:08:50 -05:00
Quincey Koziol
d4909147e1 [svn-r13156] Description:
Begin refactoring code to straighten out the contorted code that handles
shared messages.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-01-19 12:31:41 -05:00
MuQun Yang
8e88c834ff [svn-r13141] Added a new batch file for windows tests. 2007-01-12 16:16:44 -05:00
Pedro Vicente Nunes
4bf379277b [svn-r13136]
added a new output file to h5dump tests
2007-01-12 09:20:08 -05:00
Quincey Koziol
327ea3a766 [svn-r13116] Description:
Add support for deleting all the attributes on an object, when they
are dense and possibly shared.

	Also, add some testing routines, for better error detection.

	Should fix daily test failures also...

Tested on:
	FreeBSD/32 6.1 (duty)
2007-01-06 15:54:19 -05:00
Binh-Minh Ribler
d37ce8c440 [svn-r13094] Purpose: Adding new test file
Description:
    Added ./c++/test/tvlstr.cpp

Tested:
    Checked with bin/chkmanifest
2007-01-01 21:23:19 -05:00
Quincey Koziol
de9088b6bb [svn-r13079] Description:
Add more tests for checking that writing to shared attributes works
correctly.  (Looks like it still has a bug when dense storage is used, which
I'll correct shortly).

    Add testing routine to shared message code, to retrieve reference count for
a shared message.

    Add fractal heap 'op' callback for efficiently computing the hash value of
an existing encoded message in the shared message fractal heap.

    Various minor cleanups and warning placations.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-12-19 15:18:26 -05:00
Quincey Koziol
43ec5b7ef4 [svn-r13074] Description:
Add support for opening attributes in dense and/or shared storage by
index.

    Move routines for building and operating on tables of attributes into
separate source module.

    Fix bug where reverting from "dense" to "compact" storage would 'unshare'
attributes.

    Minor code cleanups, etc.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-12-18 20:59:28 -05:00
James Laird
f327d12ebd [svn-r13070] Added shared message example program in hdf5/examples.
Also cleaned up one old API routine in H5Ppublic that isn't used.

Tested on smirom and kagiso.  More testing to follow.
2006-12-18 14:23:41 -05:00
Pedro Vicente Nunes
aa646b5b43 [svn-r13064]
Fix several bugs

1) the parsing of subsetting was using atoi to convert the parameter to an int, which caused problems for numbers greater that int. Substitute with atof

2) the printing of indices in the subsetting case was not being done. Solution: calculate the element position at the start of the subsetting using the algorythm 

Given an index I(z,y,x) its position from the beginning of an array   of sizes A(size_z, size_y,size_x) is given by
Position of I(z,y,x) = index_z * size_y * size_x 
                              + index_y * size_x
                              + index_x

And pass that position to the function that dumps data, h5tools_dump_simple_data. 

3) several index counters were declared as int, use hsize_t instead

4) modified the test generation program so that it includes test cases for subsetting of 1d, 2d, 3d, and 4d arrays and add these tests to the shell script
2006-12-14 16:18:08 -05:00
Quincey Koziol
dc73eca159 [svn-r13041] Description:
Migrate "internalish" attribute operations into new source code file.

    Add test & basic support for opening attributes in dense storage (shared
attributes not tested or supported yet).

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-12-11 14:02:38 -05:00
Quincey Koziol
7b368f006e [svn-r13028] Description:
Add first pass of "dense" attribute storage to objects.  Lots of parts of
this are stubbed out, but all the tests are passing and I'll work on the corner
cases soon.

    Eliminated several unused parameters from object header message callback
routines.

    Other, miscellaneous code cleanups, etc. (and probably some things I've
forgotten about... :-)

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    AIX/32 5.? (copper)
2006-12-06 17:19:52 -05:00
Quincey Koziol
2f3344a049 [svn-r12994] Description:
Propagate object creation properties up into group, dataset and named
datatype property lists, when those property lists are retrieved for
existing objects in a file.

    Also, add H5Tget_create_plist() API routine, to allow named datatype
property lists to be retrieved for named datatypes.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
    AIX/32 5.? (copper)
2006-11-28 23:13:02 -05:00
Pedro Vicente Nunes
124ef64faf [svn-r12984]
Added a relative error formula to deal with floating point uncertainty
in the comparison of floats and double types. 
Added new tests for this feature to the file generator program and to
the shell script
2006-11-27 15:10:53 -05:00