Commit Graph

5550 Commits

Author SHA1 Message Date
Quincey Koziol
91709a2b43 [svn-r7452] Purpose:
Checkpoint file format spec.
2003-09-10 10:30:32 -05:00
Quincey Koziol
f1fd4316e2 [svn-r7451] Purpose:
Add new VLTypes.html Tech Note
2003-09-10 08:48:19 -05:00
Quincey Koziol
c3a7c9341e [svn-r7450] Purpose:
Add document describing issues relating to variable-length datatypes.
2003-09-09 20:30:16 -05:00
MuQun Yang
dc5aa55448 [svn-r7449] Purpose:
bug fix

Description:
The same h5detect bug also happens in this branch.

Solution:
remove h5detect.c from the windows source directory.

Platforms tested:
windows 2000

Misc. update:
2003-09-09 15:56:33 -05:00
Quincey Koziol
b0d47e55f7 [svn-r7446] Purpose:
Code cleanup/bug fix

Description:
    Move metadata cache calls around a bit so they protect the usage of the
metadata better.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to need h5committest
2003-09-06 13:54:16 -05:00
Bill Wendling
bd34662948 [svn-r7445] Purpose:
Fix, of a sort

Description:
    Some of the code would get an object from the cache via the
    H5AC_find() function and then modify the returned object. This
    behavior is incorrect as the pointer returned via the H5AC_find()
    function is supposed to be read only.

Solution:
    Changed the H5AC_finds to H5AC_protect() instead and added the
    appropriate H5AC_unprotect() function.

Platforms tested:
(simulated h5committest by hand since it doesn't work for me)
    Linux (Fortran, C++)
    Solaris (Fortran)
    AIX (Fortran, C++)
    SGI (Parallel, Fortran)
2003-09-04 16:43:37 -05:00
Quincey Koziol
8563750908 [svn-r7444] Purpose:
Code cleanup

Description:
    More de-linting

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Too small to need h5committest
2003-09-04 09:40:21 -05:00
Quincey Koziol
303d35202a [svn-r7441] Purpose:
Bug fix

Description:
    The VFL driver ID in a file's access proprty list wasn't being reference
counted correctly, causing the VFL driver to get prematurely closed after
several calls to "H5Pget_access_plist->H5Pclose".

Solution:
    Increment VFL driver ID reference count when copy of file's access property
list is made in H5Pget_access_plist()

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-09-03 21:04:45 -05:00
Quincey Koziol
8c174d260d [svn-r7440] Purpose:
Code cleanup

Description:
    More de-linting...

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to need h5committest
2003-09-03 12:05:23 -05:00
Quincey Koziol
4bc1eccf9a [svn-r7439] Purpose:
Code cleanup

Description:
    Clear up a couple of minor issues with compiling the library with a C++
compiler.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    Too minor to require h5committest
2003-09-03 11:45:48 -05:00
Quincey Koziol
32a666f652 [svn-r7438] Purpose:
Code cleanup

Description:
    More de-linting...

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to need h5committest
2003-09-02 10:04:36 -05:00
HDF Admin
38d6179b31 [svn-r7436] Snapshot version 1.7 release 2 2003-08-31 03:33:11 -05:00
Quincey Koziol
f92d7f73df [svn-r7434] Purpose:
Bug Fix and code cleanup

Description:
    Correct error in H5T_detect_class that was causing nested compound datatypes
with to not detect the datatype class of fields correctly, which caused errors
with fill-values, variable-length datatypes and chunks later on.

    Return the rank of the array datatype from H5Tget_array_dims(), like
H5Sget_dims().

    Lots of cleanups to datatype code, to make the handling of arrays, compound
types, variable-length strings and sequences and enumerated types more
consistent and robust.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    h5committest
2003-08-30 20:48:01 -05:00
Quincey Koziol
bd3510bea3 [svn-r7433] Purpose:
Corrected typo in help string
2003-08-30 20:40:58 -05:00
Quincey Koziol
00b7830ec5 [svn-r7431] Purpose:
Code cleanup

Description:
    De-linted more code.

Platforms tested:
    FreeBSD 4.9 (sleipnir)
    too small to need h5committest
2003-08-29 08:59:42 -05:00
Frank Baker
6bc0753d02 [svn-r7430]
Purpose:
    RM_H5G.html   -- Minor copy edits
    H5.intro.html -- Removed Library version # from doc title

Platforms tested:
    IE 5, Safari
2003-08-28 18:05:18 -05:00
Frank Baker
0ac562001b [svn-r7429]
Purpose:
    Enhanced indexing; copy edits.

Description:
    Restructured index and clarify descriptions and/or make them more
        parallel; added link to "Other tools"
    Added note that h4toh5 and h5toh4 are no longer part of the HDF5 library
        distribution
    Lots of copy edits

Platforms tested:
    IE 5, Safari
2003-08-28 18:03:36 -05:00
Quincey Koziol
93bc31f6a0 [svn-r7428] Purpose:
Code cleanup

Description:
    De-linted more code

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor to need h5committest
2003-08-28 11:30:51 -05:00
Quincey Koziol
a3888a3b00 [svn-r7426] Purpose:
Bug fix

Description:
    When datasets are deleted from a file, they are removed from the sieve
buffer, but instead of invalidating only the part of the sieve buffer affected,
the sieve buffer code would throw away the entire sieve buffer, potentially
including other raw data in the buffer that hadn't been written to disk yet.

Solution:
    Improve the sieve buffer clearing code to handle partial invalidations.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-28 11:02:21 -05:00
Albert Cheng
b89fbdd877 [svn-r7425] Purpose:
new feature

Description:
Added a new option of "setenvN" which does
  set environment variable with $1 values
  e.g., setenvN 3 x a b c is same as setenv x="a b c".

Platforms tested:
No h5committest.  Tested by hand in copper.

Misc. update:
2003-08-27 23:41:11 -05:00
Dan Wells
42d84aa44f [svn-r7424]
Purpose:
bug
Description:
pablo failed to build properly
Solution:
make needed header files on the fly once again.  also allowed for length of
hdf entry names to be 80 characters.
Platforms tested:
modi4, copper, arabica, verbena
Misc. update:
2003-08-27 12:04:21 -05:00
Dan Wells
b1827b5b60 [svn-r7423]
Purpose:
Bug fix
Description:
pablo failed to build properly
Solution:
make needed header files on the fly once again.
Platforms tested:
modi4, copper, verbena, arabica
Misc. update:
2003-08-27 12:02:57 -05:00
Dan Wells
aab1300774 [svn-r7422]
Purpose:
Bug fix

Description:
pablo build failed.
Solution:
Fixed the makefile so that the needed header files are again created on the
fly.
Platforms tested:
modi4, copper, verbena, arabica
Misc. update:
2003-08-27 12:01:27 -05:00
Albert Cheng
f78a34c678 [svn-r7421] Purpose:
updated.

Description:

Solution:

Platforms tested:

Misc. update:
2003-08-27 10:34:42 -05:00
Albert Cheng
6d647e5406 [svn-r7418] Purpose:
bug fix

Description:
h5diff would incur a segmentation fault in Alpha clusters when
the percentage option is used.  This was due to memory aliagment
issue when the options variable is declared as a local variable
in main().

Moved the declaration to a global declaration.

Platforms tested:
"h5committested"
And tested at cluster QT of SNL.

Misc. update:
2003-08-27 10:27:56 -05:00
Quincey Koziol
b259ca6f86 [svn-r7417] Purpose:
Code cleanup

Description:
    De-linted more code.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor to need h5committest
2003-08-27 09:00:50 -05:00
Quincey Koziol
4bb0d2d299 [svn-r7415] Purpose:
Code cleanup

Description:
    Clean up some of the code for writing out dataspace and datatype
information.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small to need h5committest
2003-08-26 15:15:47 -05:00
Quincey Koziol
6f8d95297d [svn-r7414] Purpose:
Checkpoint file format revisions
2003-08-26 15:14:45 -05:00
Quincey Koziol
438248d01d [svn-r7412] Purpose:
Bug fix

Description:
    H5Gget_objname_by_idx should allow NULL for the 'name' parameter, to allow
for querying for the name's length.

Solution:
    Allow NULL for the 'name' parameter, the internal functions were already
ready to handle that case.

    Clean up RM information about H5Gget_objname_by_idx and
H5Gget_objtype_by_idx also.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-26 13:35:37 -05:00
Quincey Koziol
7e9c4449d4 [svn-r7411] Purpose:
Code cleanup

Description:
    De-linted more modules

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/ & w/o stream enabled
    too minor to require h5committest
2003-08-26 10:03:03 -05:00
Albert Cheng
c1b11ba3c4 [svn-r7410] Purpose:
Bug fix.

Description:
Added MPE color definintions for the Stream-vfd  API.

Platforms tested:
Tested in Copper since MPE only works there.
2003-08-25 18:17:47 -05:00
Quincey Koziol
817682a368 [svn-r7408] Purpose:
Update release notes with bugfix info.
2003-08-25 15:14:05 -05:00
Quincey Koziol
73608d3f90 [svn-r7406] Purpose:
Bug fix

Description:
    Correct bug creating native versions of "complex" compound datatypes
    on certain architectures (Sparc-Solaris) which require stricter alignment.

    Also, correct bug where metadata (padding type, etc.) for strings was
    incorrectly dropped.


Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-25 15:09:18 -05:00
Quincey Koziol
b987255ed0 [svn-r7404] Purpose:
Bug fix

Description:
    Correct problem with mis-aligned string pointers on certain architectures
    (i.e. on modi4) causing a core dump.  The string pointers can be mis-aligned
    due to being part of a compound datatype and how our compound type conversion
    routines work.

Solution:
    Allocate string with temporary variable and memcpy() the pointer to the
    new string into the type conversion buffer, instead of dereferencing the type
    conversion buffer directly.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-25 15:05:42 -05:00
Quincey Koziol
90838ac388 [svn-r7402] Purpose:
Update manifest

Description:
    Add new test files for "complex" compound datatype.
2003-08-25 15:01:53 -05:00
Quincey Koziol
32220914a5 [svn-r7401] Purpose:
Code cleanup

Description:
    Remove various "fixtype" routines which duplicate (and actually pre-date)
    the functionality in H5Tget_native_type in favor of having the tools call
    H5Tget_native_type().  This provides the same functionality (actually better
    functionality, since the old "fixtype" routines didn't handle alignment of
    compound fields correctly) and reduces the amount of code to maintain.

    Add additional tests to dump out a "complex" compound datatype which
    exercises more code in the library for aligning compound fields correctly.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-25 15:00:56 -05:00
Quincey Koziol
f841a94242 [svn-r7398] Purpose:
Code cleanup

Description:
    De-linted more code

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor to require h5committest
2003-08-25 14:15:41 -05:00
HDF Admin
a532b1814e [svn-r7397] Snapshot version 1.7 release 1 2003-08-24 03:42:43 -05:00
Albert Cheng
a7d0a58592 [svn-r7396] Purpose:
Bug fix

Description:
Temporary files were not cleaned out because the definiton of
temporary files had not been updated.

Solution:
Updated it.

Platforms tested:
Tested by hand in Copper while i was testing the MPE change.

Misc. update:
2003-08-24 01:00:54 -05:00
Albert Cheng
74e4b2ea49 [svn-r7395] Purpose:
Bug fix

Description:
MPE color definitions were missing for new API.

Solution:
Updated it.

Platforms tested:
Tested by hand in Copper since that is the only place that
MPE option works currently.

Misc. update:
2003-08-24 00:58:58 -05:00
Quincey Koziol
2eee483e9b [svn-r7393] Purpose:
Code cleanup

Description:
    De-linted more code

Platforms tested:
    FreeBSD 4.8 (sleipnir) w/parallel
    too minor to require h5committest
2003-08-23 10:55:06 -05:00
Quincey Koziol
57993b61d3 [svn-r7391] Purpose:
Bug fix

Description:
    H5Gget_num_objs, H5Gget_objname_by_idx and H5Gget_objtype_by_idx were
only accepting a group ID, instead of a location ID, as our documentation for
them stated.

Solution:
    Allow them to accept a location ID.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-22 08:50:01 -05:00
Quincey Koziol
500b5f904f [svn-r7389] Purpose:
Code cleanup

Description:
    Return -1 for failed group iteration instead of 1

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest
2003-08-22 08:45:40 -05:00
HDF Admin
43ae120471 [svn-r7388] Purpose:
new feature

Description:
Added a new test option of
    op-snapshot <option>       snapshot option

This allows snapshot.cfg to tell runtest to run snapshot with a
special option.

Platforms tested:
Not h5committest because it is outside of its scope.
Tested by hand.

Misc. update:
2003-08-21 18:42:50 -05:00
Quincey Koziol
28f555604c [svn-r7387] Purpose:
Code cleanup

Description:
    More de-linting

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small to need h5committest
2003-08-21 13:24:28 -05:00
Quincey Koziol
942db93227 [svn-r7386] Purpose:
Code cleanup & bug fix

Description:
    More de-linting...

    Also correct a bug that lint exposed which was incrementing the incorrect
driver ID of a file driver and also no saving the correct driver ID for the
newly opened file.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor for h5committest
2003-08-20 12:49:13 -05:00
Quincey Koziol
9c020d5bd3 [svn-r7384] Purpose:
Code cleanup

Description:
    More linting...

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor to need h5committest
2003-08-19 09:44:45 -05:00
Quincey Koziol
c6ed9cbbae [svn-r7383] Purpose:
Bug fix

Description:
    I/O on chunked datasets with a scalar dataspace for the memory dataspace
was not working correctly.

Solution:
    Translate the scalar dataspace into a n-dimensional (where n is the number
of dimensions of the file's dataspace) dataspace of dimensions 1x1x1...

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committest (modulo modi4 which is not working correctly)
2003-08-19 07:18:37 -05:00
Quincey Koziol
9881fa7e34 [svn-r7381] Purpose:
Code cleanup

Description:
    Various cleanups resulting from running lint tool over H5F.c source module

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor to require h5committest
2003-08-18 11:34:27 -05:00
Quincey Koziol
79a96d6a1e [svn-r7380] Purpose:
New error

Description:
    Added H5E_CANTCLOSEOBJ error

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too minor to need h5committest
2003-08-18 11:32:03 -05:00