Commit Graph

9253 Commits

Author SHA1 Message Date
James Laird
87db6fed4f [svn-r13010] Cleaned up warnings in H5SM* files.
Cleaned up all warnings on kagiso.  Tested on kagiso and copper.
2006-12-01 20:32:31 -05:00
Pedro Vicente Nunes
2ab4d2d63a [svn-r13009]
more compiler warning

../../../hdf5/tools/h5diff/h5diffgentest.c:111: warning: passing arg 1 of `test_hyperslab' discards qualifiers from pointer target type
2006-12-01 13:38:34 -05:00
Pedro Vicente Nunes
4a97af8235 [svn-r13008]
more compiler warning

../../../hdf5/tools/lib/h5diff_attr.c:214: warning: passing arg 4 of `diff_array' with different width due to prototype
2006-12-01 13:27:34 -05:00
Pedro Vicente Nunes
57a9f392da [svn-r13007]
cleaned more warnings

../../../hdf5/tools/lib/h5diff_attr.c:214: warning: passing arg 4 of `diff_array' with different width due to prototype
2006-12-01 13:23:56 -05:00
James Laird
f002b93579 [svn-r13006] Added checksumming to shared message metadata.
Tested on kagiso, currently testing elsewhere.
2006-12-01 12:00:12 -05:00
Pedro Vicente Nunes
c9b6db7778 [svn-r13005] removed the PER_FLOAT macro 2006-12-01 11:40:46 -05:00
James Laird
772730f4d7 [svn-r13004] Much improved shared object header message test, along with some bug fixes
to make the test pass.

These changes involve changes to the file format of SOHMs, but that's okay
because nobody should have been using SOHMs yet anyway.

Tested on Windows, kagiso, copper, and heping
2006-12-01 10:51:42 -05:00
Pedro Vicente Nunes
7855afc4b2 [svn-r13003]
Cleaned warnings 
h5diff_array.c:804: warning: passing arg 1 of `fabs' as floating rather
than integer due to prototype
introduced double precision arithmetic when possible instead of single
precision
2006-12-01 10:42:26 -05:00
Quincey Koziol
27c0fb2220 [svn-r13002] Description:
Fix problem with copying objects when the dataset to copy has an "older"
version of the layout message and needs to compute the size of the dataset's
storage after the dataspace information is available.

    Minor random cleanups also...

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Too minor/weird to test w/h5committest...
2006-11-30 16:38:30 -05:00
Raymond Lu
ce7f9328b6 [svn-r13001] Enabled CORE file driver to read or write an existing file depending
the setting of backing store through H5Pset_core_fapl and file open
flag.  Added test cases in vfd.c.
2006-11-30 15:49:01 -05:00
Pedro Vicente Nunes
61380ee661 [svn-r13000] more warnings clean up, modified PER macro to avoid unnecessary floating point comparison
../../../hdf5/tools/lib/h5diff_array.c: warning: comparing floating point with == or != is unsafe
2006-11-30 11:51:42 -05:00
Pedro Vicente Nunes
8a81f07bd7 [svn-r12999] cleaned more warnings
h5diff_array.c:127: warning: declaration of 'per' shadows a global declaration
2006-11-30 11:15:55 -05:00
Pedro Vicente Nunes
9f43fdd998 [svn-r12998]
cleaned compiler warning

../../../hdf5/tools/lib/h5diff_array.c:139: warning: declaration of 'per' shadows a global declaration
2006-11-29 16:34:16 -05:00
Quincey Koziol
fc57c3b840 [svn-r12997] Description:
Rename too generic "H5O_FLAG_<foo>" flags that are used as flags for
header messages to "H5O_MSG_FLAG_<foo>", in order to make their use clearer.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
2006-11-29 15:14:20 -05:00
Quincey Koziol
ce05f32a3d [svn-r12995] Description:
Make the memory size of the max. compact & min. dense attribute storage
variables align with the property list size, instead of the size on disk, to
better handle big-endian machines.

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:44:28 -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
MuQun Yang
1b16195060 [svn-r12993] Update windows project files to reflect the recent library change. 2006-11-28 21:02:18 -05:00
Quincey Koziol
1b03a4cc34 [svn-r12992] Description:
Add fields for tracking attributes on objects to object header prefix,
when using the latest version of the format.

    Reduce size used to store type of header message from 2 bytes to 1. (If we
have >256 message types, we probably have a different problem... :-)

    Also, add "birth" time for object (i.e. creation time) [named to align
with similar fields in file systems]

    Correct bug in H5Gget_objinfo() - retrieve the ctime field from object info,
instead of the mtime field.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-11-28 15:29:28 -05:00
Quincey Koziol
1687720a5f [svn-r12991] Description:
Reduce the size of some of the group information to more reasonable bounds.
(16-bit values instead of 32-bit values).

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-11-28 13:51:23 -05:00
Quincey Koziol
0bd83631d5 [svn-r12990] Description:
When using the latest version of the file format, move the "modification
time" information into the object header prefix, which is more efficient.
Also add "access time" and "change time" (for metadata) fields, all of which
take about the same space as the previous modification time header message.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-11-28 12:43:54 -05:00
Quincey Koziol
4ef5853e2d [svn-r12989] Description:
Remove incorrect sanity check & add test case that triggered it.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-11-28 10:25:59 -05:00
Quincey Koziol
2516911cad [svn-r12988] Description:
General cleanups, in preparation for adding some attribute-tracking fields
to the object header prefix.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-11-27 18:10:02 -05:00
Quincey Koziol
03c994ee59 [svn-r12987] Description:
Clear up some confusion for the internal H5V_log2_gen() routine, so it
always takes a 64-bit value as a parameter.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-11-27 16:08:29 -05:00
Pedro Vicente Nunes
e40fa7aa39 [svn-r12986] remove and insert these files, somehow their end of line terminator is not correct 2006-11-27 15:30:08 -05:00
Pedro Vicente Nunes
e9d44260d1 [svn-r12985]
remove and insert these files, somehow their end of line terminator is not correct
2006-11-27 15:28:47 -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
Quincey Koziol
957a5082d1 [svn-r12983] Description:
Merge H5Pget/set_create_tracking / H5Pget/set_create_index routines into
H5Pget/set_creation_order.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-11-27 14:17:07 -05:00
HDF Admin
bb94900491 [svn-r12982] Replaced the word cvs with source. 2006-11-27 14:16:27 -05:00
Pedro Vicente Nunes
24abd27523 [svn-r12980]
changed the usage message relative to the relative error formula to a more
common and easy to understand form | (b-a) / a |
2006-11-27 13:55:33 -05:00
Albert Cheng
7e328ad37c [svn-r12979] Cleanup.
Removed all old references to cvs commands.

Tested:
Will be tested by the daily tests.
2006-11-27 13:43:09 -05:00
Quincey Koziol
d219ff86a8 [svn-r12977] Description:
Added H5Gget_info[_by_idx] routines and deprecated H5Gget_num_objs routine.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-11-27 13:00:08 -05:00
Quincey Koziol
59208d8a9b [svn-r12976] Description:
Add # of attributes to the object info struct and deprecate
H5Aget_num_attrs().

Tested on:
    FreeBSd/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
    AIX/32 5.? (copper)
2006-11-27 09:51:22 -05:00
Quincey Koziol
50005f98ad [svn-r12975] Description:
Cosmetic changes from running bin/reconfigure...

Tested on:
    None - very minor..
2006-11-27 00:39:04 -05:00
Quincey Koziol
e32aacbfed [svn-r12974] Description:
Add H5Oget_info() and H5Oget_info_by_idx() API routines & tests

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
    Mac OS X/32 10.4.8 (amazon)
    AIX/32 5.? (copper)
2006-11-27 00:31:54 -05:00
Quincey Koziol
5c1fedcb90 [svn-r12973] Description:
Finish removing library's internal code that uses H5G_get_objinfo() and
retarget it at either getting the link information or the object information,
as appropriate.  (Still need to add user-level tests for H5Oget_info(), but
since several internal components of the library depend on the internal version,
it appears to be working correctly).

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/322.4 (heping)
    Linux/64 2.4 (mir)
    AIX/32 5.? (copper)
    Mac OS X/32 10.4.8 (amazon)
2006-11-24 23:10:32 -05:00
Quincey Koziol
2f694358c4 [svn-r12972] Description:
Move the definition of the typedef for uint64_t from H5private.h to
H5public.h (to fix Windows builds)

Tested on:
    None - just eyeballed.
2006-11-22 13:20:15 -05:00
Quincey Koziol
fffa958dc3 [svn-r12971] Description:
Remove extra comma in enum that caused failure on AIX.

Tested on:
    None - just eyeballed - very trivial
2006-11-22 10:50:39 -05:00
James Laird
9f89381fc7 [svn-r12970] Used escape character for backslash (oops!) in windows path name on UNIX.
Tested on copper.
2006-11-22 09:37:29 -05:00
Albert Cheng
1c53181756 [svn-r12967] Cleanup.
The h5_mpi_get_file_size() is no longer used.  The unused code caused some
compiling warning messages.  Removed the whole routine.

Tested in heping pp mode.
2006-11-21 23:21:02 -05:00
Albert Cheng
9f45ec7671 [svn-r12966] Fixed an missing parameter in a printf call in io_mode_confusion.
Tested in heping pp.
2006-11-21 19:35:38 -05:00
Albert Cheng
e75b0a6031 [svn-r12965] Removed the warning message of extend_file not having protocol by making it
static.

Test: Heping.
2006-11-21 18:07:57 -05:00
MuQun Yang
10c0ac6e1e [svn-r12964] Update windows project files for the library.
Update batch files for h5repack test,needs big efforts.
Update batch file to test hdf5 library.
2006-11-21 16:31:32 -05:00
Quincey Koziol
e9262d7320 [svn-r12963] Description:
Refactor internal code that retrieves the object's type to use the new
H5O_type_t (which only definitions for object types, instead of links as well)
instead of the older H5G_obj_t (which included links, etc.)

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-11-21 15:22:11 -05:00
Albert Cheng
102170c3bf [svn-r12961] Upgrade.
Change AIX to use C99 standard by default.
Also removed -DSTDC as its need is unknown.
Also added a line to identify this is for IBM AIX platforms.

Tested:
Copper.
2006-11-21 13:50:05 -05:00
Quincey Koziol
b7952dd7a2 [svn-r12959] Description:
Add struct definition for H5O_info_t, for review by others.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-11-21 13:43:36 -05:00
Quincey Koziol
163cf58c9d [svn-r12958] Description:
Remove redundant memset for calloc'ed buffer.

Tested on:
    Linux/32 2.6 (chicago)
2006-11-21 12:30:57 -05:00
James Laird
59ac4c5e9d [svn-r12957] Clean up some purify warnings in the code by making sure that
memory is always initialized.

Tested on heping, kagiso, and juniper.
2006-11-21 11:02:34 -05:00
Quincey Koziol
4d08b756b2 [svn-r12956] Description:
Add tests for H5Oopen_by_idx() (in a rare fit of superlative coding I
apparently got the implementation complete correct in my earlier checkin :-)

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-11-21 10:39:16 -05:00
Quincey Koziol
036e799cf9 [svn-r12955] Description:
Finish implementing H5Oopen_by_idx() (still needs tests)

Tested on:
    Linux/32 2.4 (chicago)
    Linux/64 2.4 (chicago2)
2006-11-20 20:49:55 -05:00
Quincey Koziol
f6deaca1d4 [svn-r12954] Description:
Initial refactoring to prepare for H5Oopen_by_idx() API support.

Tested on:
    Linux/32 2.4 (chicago)
    Linux/64 2.4 (chicago2)
2006-11-20 20:18:55 -05:00