Commit Graph

9210 Commits

Author SHA1 Message Date
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
Quincey Koziol
de285fb909 [svn-r12875] Description:
Fix retrieving name for references to root group.

    Also, move 'ref' test earlier in testing, right after 'getname' test

Tested on:
    Linux/64 2.6 (chicago2)
2006-11-07 12:06:42 -05:00
MuQun Yang
c17b59ac25 [svn-r12874] 2006-11-07 11:21:11 -05:00
Quincey Koziol
bc0b7c478f [svn-r12873] Decription:
Add support for reverse index lookup to v2 B-trees (needed for reverse
index lookup of links in groups)

Tested on:
    Linux/64 2.6 (chicago2)
2006-11-07 10:25:06 -05:00
Quincey Koziol
eb36a96a79 [svn-r12872] Description:
Implement basic framework for H5Lget_info_by_idx and get it working for
creation order indices on compact groups.

    Clean up code a bit.
    
    Close resource link in user-defined link traversal.

Tested on:
    Linux/32 2.6 (chicago)
2006-11-06 22:09:03 -05:00
Quincey Koziol
db3632444b [svn-r12871] Description:
Clean up a couple of warnings...

Tested on:
    Linux/64 2.6 (chicago2)
2006-11-06 21:48:39 -05:00
Raymond Lu
8e0a4a03c0 [svn-r12870] Add a new macro H5_HAVE_DIRECT_ALIGN in configure.in. Some systems like copper and sleipnir
doesn't require alignment for Direct I/O.  If this's true, write or read data just like sec2
does.
2006-11-06 17:17:46 -05:00
Quincey Koziol
2e8e42d6c9 [svn-r12869] Description:
Rename new H5Gcopy() routine to H5Ocopy() as discussed in last Friday's
design discussion.

Tested on:
    Linux/32 2.6 (chicago)
2006-11-06 16:35:44 -05:00
Quincey Koziol
0a2cdffb0b [svn-r12868] Description:
Make API routines that don't initialize the library more consistent, to
help with future internal library changes.

Tested on:
    Linux/64 2.6 (chicago2)
2006-11-06 14:22:33 -05:00
Quincey Koziol
3a5cb21f25 [svn-r12867] Description:
Get rid of H5L API calls from within deprecated H5G API calls.

Tested on:
    Linux/32 2.6 (chicago)
2006-11-06 14:06:02 -05:00
Quincey Koziol
2b635fee4d [svn-r12866] Description:
Clean up initialization of H5F & H5L APIs.

Tested on:
    Linux/64 2.6 (chicago2)
2006-11-06 12:47:02 -05:00
Quincey Koziol
32cd8f3fcf [svn-r12865] Description:
Change name of H5Lunlink to H5Ldelete, per our design meeting last Friday.

Tested on:
    Linux/32 2.6 (chicago)
2006-11-06 12:44:40 -05:00
Quincey Koziol
5adf1ee1ba [svn-r12864] Description:
Changed H5Lget_linkval() to H5Lget_val(), per our design discussion last
Friday afternoon.

Tested on:
    Linux/32 2.6 (chicago)
2006-11-06 12:05:16 -05:00
Elena Pourmal
30aad1fd3e [svn-r12863] Description:
Daily tests reported failures in HL when Absoft compiler was used. 
	The failure was due to a typo in the H5LTf90proto.h file; fixed

Platfroms tested:
	heping with gcc and Absoft f95
2006-11-04 13:21:31 -05:00
Elena Pourmal
8964bd835b [svn-r12862] Description:
Daily tests reported broken MANIFEST file; fixed.

Platfroms tested:
	heping with bin/chkmanifest
2006-11-04 13:19:47 -05:00
Quincey Koziol
ac89f5efc9 [svn-r12861] Description:
Add actual error checking and set return value if a test fails.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
2006-11-03 23:36:35 -05:00
Quincey Koziol
d60efe3336 [svn-r12860] Description:
Update H5Iget_name() tests to reflect that the name of the object for an
ID can be found in many more situations now.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
2006-11-03 23:35:54 -05:00
Quincey Koziol
5a77933fd5 [svn-r12859] Description:
Fix to handle finding the correct path to an object in a mounted file
hierarchy.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
2006-11-03 23:34:28 -05:00
Quincey Koziol
6b02bda9eb [svn-r12858] Description:
Clean up code to build name for ID with no name tracked - get rid of
global variable, unused routines, etc.

Tested on:
    FreeBSD/32 4.11 (sleipnir)
2006-11-03 20:56:16 -05:00
Elena Pourmal
63eb47adeb [svn-r12857] Description:
Updated code to eliminate compilation warnings and to add support for the latest g95.

Platforms tested:
	g95 on kagiso, heping, and mir
        the first lite (making and reading 1-d datasets) test fails on mir
2006-11-03 18:02:36 -05:00
MuQun Yang
cc93ac2d28 [svn-r12856] On windows file_handle has been changed to vfd. This check-in changes the feature.
Add project files for ref test.
Update hdf5test.bat that includes btree2 test.
2006-11-03 12:53:42 -05:00