Commit Graph

9180 Commits

Author SHA1 Message Date
James Laird
6b5a918b1e [svn-r12929] Hopefully this really is a fix for the tg-login errors.
The version of libtool used by HDF5 isn't directly affected by the reconfigure
script; instead, libtoolize --force must be used by hand.  Libtool was the
source of the problem, so rolling its version back to 1.5.14 should solve the
issue (at least temporarily).

Reconfigure should still work on both heping and kagiso.

Tested on heping, kagiso, and tg-login3.
2006-11-16 15:44:35 -05:00
Pedro Vicente Nunes
8040a0f381 [svn-r12928] code revision 2006-11-16 15:38:05 -05:00
Elena Pourmal
f02a3bd46d [svn-r12927] Description:
Fixed formatting issue for the Copyright comment in the file

Platforms tested:
	Minor edit; not needed
2006-11-16 14:14:46 -05:00
Elena Pourmal
55ccf9022d [svn-r12926] Description:
Didn't add new example to the list of the C source files; fixed

Platforms tested:
	VMS server
2006-11-16 14:01:33 -05:00
Elena Pourmal
2c1eabbc50 [svn-r12924] Description:
Catching up with more changes from UNIX side.
2006-11-16 09:25:46 -05:00
Elena Pourmal
257403d304 [svn-r12923] Description:
Failed to add test program source to the VMS make file; fixed
2006-11-16 09:09:38 -05:00
Quincey Koziol
fb4f4a22f7 [svn-r12922] Description:
Add support for "delete by index" to "old-style" groups, finishing
implmentation of H5Ldelete_by_idx() routine.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
    Aix/32 5.? (copper)
2006-11-15 23:29:18 -05:00
Quincey Koziol
ab9425d057 [svn-r12921] Description:
Finish adding more tests to "delete by index" for compact/dense groups.

Tested on:
    Mac OS X/32 10.4.8 (amazon)
    FreeBSD/32 4.11 (sleipnir)
2006-11-15 22:14:58 -05:00
Elena Pourmal
73ef01becc [svn-r12920] Description:
Modified VMS files to reflect recent changes in the code
2006-11-15 18:23:29 -05:00
Quincey Koziol
51580d9be1 [svn-r12919] Description:
More progress toward getting H5Ldelete_by_idx() working - removals on
densely stored links should work now (still needs some more tests).  Still
need to write code for removals on "old-style" groups.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
2006-11-15 17:08:08 -05:00
Pedro Vicente Nunes
d4c0a98a9b [svn-r12918]
removed whitespace
2006-11-15 15:58:15 -05:00
Pedro Vicente Nunes
8f74e81758 [svn-r12917]
h5repack revision: 
1.	added a new test due to the introduction of H5Ocopy in the copy of objects (compressed dataset with references, that still must go a second sweep of the file to be regenerated). 
2.	Moved all the source files from the h5repack test program to a new file h5repacktst.c and removed the old ones (testh5repack*.c). 
3.	Renamed the binary files from test*.h5 to h5repack*.h5 for easy reference.
4.	Modified the shell script to use variables for file names instead of hard coded names
2006-11-15 14:56:44 -05:00
Quincey Koziol
a44ab9133a [svn-r12915] Description:
Finish adding "delete by index" feature to v2 B-trees.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
    AIX/32 5.? (copper)
2006-11-15 12:38:45 -05:00
Quincey Koziol
002fe8b35d [svn-r12914] Description:
Checkpoint partially working v2 B-tree delete by index code (ifdef'ed out)
for further work.

Tested on:
    Linux/32 2.6 (chicago)
2006-11-14 15:33:50 -05:00
Pedro Vicente Nunes
ae7115a990 [svn-r12913] An attribute was not being closed in H5IMlink_palette 2006-11-14 14:48:58 -05:00
James Laird
a9397f3f51 [svn-r12911] Backed up to previous versions of automake and libtool. Hopefully this will fix
issues on tg-login3.

bin/reconfigure should still work on both heping/mir and kagiso.
2006-11-14 11:15:07 -05:00
Quincey Koziol
c35a2ad6b2 [svn-r12910] Description:
More progress toward getting H5Ldelete_by_idx to work fully - can now
delete by index in compact group (but not dense groups or "old-style" groups
yet).  Need to go write a v2 B-tree routine to delete from the B-tree by index
before the dense storage will work properly...

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2006-11-14 10:42:31 -05:00
James Laird
3d6c91d38d [svn-r12909] Updated MANIFEST, no other changes. 2006-11-14 09:03:33 -05:00
Quincey Koziol
4550f4ad54 [svn-r12908] Description:
Replace "//" style comment with "/* */" style comment to fix build on
FreeBSD 4.11 (sleipnir)

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
2006-11-13 22:40:20 -05:00
Quincey Koziol
0b1bb5bda1 [svn-r12907] Description:
Finish refactoring internal link deletion code, to make it possible to
wrap up the H5Ldelete_by_idx() coding.

Tested on:
    Linxu/32 2.6 (chicago)
    Linxu/64 2.6 (chicago2)
2006-11-13 21:29:15 -05:00
Quincey Koziol
f494ab7674 [svn-r12906] Description:
Straighten out some convoluted code when links were being deleted, which
could cause the "delete" callback for user-defined links to not get called when
the group they were in was deleted.

    Had to compromise on the "delete" callback though - only calls the callback
with the ID for the file the link is in, instead of the group, since the group
is being held open upstream in the calling sequence during a group deletion and
this prevents a group and its ID from being created.  (This could possibly be
worked around, but would cause a fair bit of havoc in the code and I'm not
entirely certain it's worth it...)

Tested on:
    Linux/32 2.6 (chicago)
2006-11-13 16:45:35 -05:00
James Laird
3f7dc01ccc [svn-r12905] Added test/tsohm.c, which was missed in the previous checkin. Oops! 2006-11-13 16:17:41 -05:00
Quincey Koziol
743c65ea9c [svn-r12904] Description:
Clean up warnings from undefined macros...

Tested on:
    Linux/64 2.6 (chicago2)
2006-11-13 16:09:34 -05:00
Elena Pourmal
b4279178f9 [svn-r12903] Description:
Missed another reference to h5repack_refs.c file; fixed

Platforms tested
	VMS server
2006-11-13 15:45:42 -05:00
James Laird
b6c317f27c [svn-r12902] Checkin of Shared Object Header Message work.
This feature is still in progress; Shared Object Header Messages are not
complete as a feature and are not thoroughly tested.  There are still
"TODO" comments in the code (comments with the word "JAMES" in them,
so as not to be confused with other TODO comments).

Hopefully this checkin will reduce the liklihood of conflicts as I finish
implementing this feature.

All current tests pass on juniper, copper (parallel), heping, kagiso, and mir.
2006-11-13 15:41:36 -05:00
Elena Pourmal
77c265f267 [svn-r12901] Description:
Modified command file to refelect recent UNIX changes.

Platforms treted:
	VMS server
2006-11-13 15:25:53 -05:00
Elena Pourmal
89917f28bb [svn-r12900] Description:
Maintenance for VMS: added new example file to the command files
2006-11-13 12:17:18 -05:00
Elena Pourmal
69b4a45dab [svn-r12899] Description:
Added new file h5_ref2reg.c to MANIFEST
2006-11-13 12:15:09 -05:00
Elena Pourmal
4fe951da01 [svn-r12898] Description:
Added new example for datasets regions; it uses two new functions
	H5Iget_name and H5Rget_name to get name of the dataset the region refernce points to.

Platforms tested:
	heping
2006-11-13 12:13:09 -05:00
Elena Pourmal
ff11ef29e8 [svn-r12897] Description:
VMS maintenance: added new source files to the command line

Platforms tested:
	Not yet; will do it after this check-in
2006-11-13 12:11:33 -05:00
Quincey Koziol
174f0dab3f [svn-r12896] Description:
Move compact storage routines into separate file, to make room for internal
routines that operate on links within group operations.

Tested on:
    Linux/32 2.6 (chicago)
2006-11-13 11:43:29 -05:00
Quincey Koziol
3f25d6c6d1 [svn-r12895] Description:
Add new H5Lget_val_by_idx() routine & tests.

    Also includes most of changes for H5Ldelete_by_idx() routine.

Tested on:
    Mac OS X/32 10.4.8 (amazon)
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
    AIX/32 5.? (copper)
2006-11-13 10:00:06 -05:00
Quincey Koziol
2355d25955 [svn-r12894] Description:
Add H5Lget_name_by_idx routine & tests

    Move more H5G routines to deprecated API file

Tested on:
    FreeBSD/32 4.11 (sleipnir) w/threadsafe
    Linux/32 2.4 (heping) C++ & FORTRAN
    Linux/64 2.4 (mir) w/build-all & enable_compat1.6
    AIX/32 5.? (copper) w/parallel & FORTRAN
2006-11-12 06:56:10 -05:00
Quincey Koziol
b1c6bb5b98 [svn-r12893] Description:
Fix error with retrieving names of object references on big-endian
platforms.

Tested on:
    AIX/32 5.? (copper)
2006-11-11 01:22:41 -05:00
Quincey Koziol
e53f3daf61 [svn-r12892] Description:
Add H5Rget_name routine and tests...

Tested on:
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
2006-11-11 00:23:53 -05:00
Quincey Koziol
f5eebb7d17 [svn-r12891] Description:
Correct typo in a few function name macros.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
2006-11-11 00:15:35 -05:00
Quincey Koziol
a9af13d987 [svn-r12890] Description:
Finished implementation of H5Lget_info_by_idx for all cases: old vs. new
group formats, compact vs. dense new link storage, increasing vs. decreasing
vs. native iteration order.

    Also, refactor symbol table "foo by index" routines to be more generic
and share more code by using a single B-tree iteration callback which makes
callbacks to a specific "get <foo>" callback.

Tested on:
    Mac OS X/32 10.4.8 (amazon)
    FreeBSD/32 4.11 (sleipnir)
    Linux/32 2.4 (heping)
    Linux/64 2.4 (mir)
    AIX/32 5.? (copper)
2006-11-10 23:15:27 -05:00
Pedro Vicente Nunes
b782690027 [svn-r12888]
Introduced the second sweep of the file for a case a reference is present and H5Ocopy was not used.
Moved the code from file h5repack_refs.c to h5repack_copy.c and removed the first file
2006-11-10 15:23:31 -05:00
James Laird
911e79b273 [svn-r12887] A fix for linking issues.
Should disable linking against shared libraries in Fortran for compilers that
don't support shared libraries.

Should also fix problem when the wrong Fortran file extension was specified.

If these changes don't solve the Daily Test issues, I'll look at backing out
the autotool version change until I have time to fix them.

Tested on heping, kagiso, juniper.
2006-11-10 14:56:04 -05:00
James Laird
227a79d551 [svn-r12886] Fix (hopefully) for last night's failures on tg-login3.
It seems that the latest version of libtool is linking against shared versions
of the szip libraries in Fortran, rather than the static versions.  ifort
doesn't support shared libraries at all.

To solve the problem, we avoid shared libraries entirely unless we're
building shared Fortran libraries ourselves.

If libtool always behaves like this now, it may cause similar problems on
other machines.  If you notice that a machine is breaking when it links against
a shared library, let me know.

Tested on kagiso; nothing new is broken.  If Albert has time this afternoon
I'll ask him to test on tg-login3 as well.
2006-11-09 12:39:33 -05:00
Raymond Lu
e6ef14ff32 [svn-r12885] Refactored the H5FD_direct_open and H5FD_direct_write. The condition for H5_HAVE_DIRECT_ALIGN
not defined simply repeated the code above.  Merged this part into the code above.  No other
significant change.
2006-11-09 08:44:44 -05:00
Pedro Vicente Nunes
50c658d66d [svn-r12884]
h5repack support for H5Ocopy in the copy of objects. The old method
for recreating references was dropped (references recreated in a second
traversal of the file)
The logic for using H5Ocopy or not is
if the input DCPL has filters or non default layout OR these are
requested by the user THEN
use the old h5repack read / write
ELSE
use H5Ocopy
2006-11-08 16:34:21 -05:00
Pedro Vicente Nunes
89cca34b97 [svn-r12883]
h5dump bug 701. Symptom: The creation of a hardlink pointing to the root group "/" causes h5dump to display it as a link pointing to itself.
Cure: the root group was not being inserted in the table that keeps track of object names and links.
Added a test for this in the test generation program, the creation of a hardlink to the root
2006-11-08 16:24:41 -05:00
James Laird
a9350e86f0 [svn-r12882] Changed bin/reconfigure to work on kagiso as well as on AFS Linux machines.
Updated to the latest versions of autotools.

Tested on kagiso, heping, and juniper.  Let me know if you have any problems.
2006-11-08 13:39:15 -05:00
MuQun Yang
8d5ea6dde8 [svn-r12881] updated the batch file a little to reflect the testing position of ref. 2006-11-08 12:27:31 -05:00
Leon Arber
43e7c6dbed [svn-r12880] Purpose: Bug fix
Description: Fix some memory-related bugs in the data transform code

Tested:
    kagiso w/ valgrind 3.2.1
2006-11-07 20:53:31 -05:00
Leon Arber
77763447fd [svn-r12879] Purpose: Bug fix
Description: Fix a few memory-related bugs in the data transform code.

Tested:
    kagiso (for real this time) w/ valgrind 3.2.1
2006-11-07 20:52:54 -05:00
Quincey Koziol
665f42f9e0 [svn-r12878] Description:
Flesh out support for looking up link info by index, some cases for using
dense storage are working now.

Tested on:
    Linux/32 2.6 (chicago)
2006-11-07 15:32:44 -05:00
Quincey Koziol
e87cb91483 [svn-r12877] Description:
Clean up more compiler warnings.

Tested on:
    Linux/64 2.6 (chicago2)
2006-11-07 15:19:41 -05:00
Quincey Koziol
53357538de [svn-r12876] Description:
Make code that retrieves names for references thrash memory less by keeping
track of the current buffer size and only re-allocating it when necessary.

Tested on:
    Linux/64 2.6 (chicago2)
2006-11-07 14:03:07 -05:00