Commit Graph

9973 Commits

Author SHA1 Message Date
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
Quincey Koziol
71befdadcf [svn-r13774] Description:
Fix memory leak of attribute's group hier. path

	Reduce compiler warnings w/gcc 4.2

Tested on:
	FreeBSD/32 6.2 (duty)
2007-05-20 00:49:31 -05:00
Quincey Koziol
0fcfcf0fa4 [svn-r13773] Description:
Reduce compiler warnings w/gcc 4.2

Tested on:
	FreeBSD/32 6.2 (duty) w/gcc 4.2
2007-05-20 00:48:09 -05:00
Quincey Koziol
15bc329ddb [svn-r13772] Description:
Reduce compiler warnings when free list manager is disabled.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-05-20 00:47:22 -05:00
Quincey Koziol
3c394783e7 [svn-r13771] Description:
Fix some more unitialized variables that were flagged by valgrind.

Tested on:
	FreeBSD/32 6.2 (duty) w/valgrind
2007-05-19 00:37:00 -05:00
Quincey Koziol
52d71bcd6f [svn-r13770] Description:
Clean up various memory leaks, etc.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-05-18 23:58:59 -05:00
Quincey Koziol
eff3014d97 [svn-r13769] Description:
Clean up minor compiler warnings

Tested on:
	FreeBSD/32 6.2 (duty)
2007-05-18 23:58:25 -05:00
Pedro Vicente Nunes
603f1c7221 [svn-r13768]
code clean, removed unused functions


tested: linux
2007-05-18 11:36:34 -05:00
Scott Wegner
87a41d4286 [svn-r13766] In Visual Studio 2005 for 64-bit, _WIN32 is defined, but not WIN32, so I've standardized all #ifdef's to use _WIN32. This should not affect any other platform.
Tested:
Visual Studio (32- and 64-bit) on Win XP
2007-05-18 10:14:43 -05:00
Pedro Vicente Nunes
513c74a8da [svn-r13762] updated commnents 2007-05-17 13:24:21 -05:00
MuQun Yang
ae533db86d [svn-r13760] This will only affect windows platform,
change _int64 to __int64 within windows macro.
Windows can tolerant _int64 but mingw cannot. So we need to use __int64 to make HDF work on Mingw.

Compiled at linux and Mingw.
2007-05-16 14:25:59 -05:00
Quincey Koziol
1e69c2b1f1 [svn-r13758] Description:
Change "long long" to "long_long", to make VS6 happy.

Tested on:
	None, just eyeballed since it's easy
2007-05-16 13:23:17 -05:00
Pedro Vicente Nunes
58cc7fb19a [svn-r13757]
h5repack and h5diff hyperslab I/O

changed the limit on which  hyperslab I/O is done from 1GB to 128MB

h5repack currently tests this feature by defining a dataset with dimensions of 128MB + 1byte (the datum being 1 byte integer), in which a 1Kb hyperslab was written.

tested: linux
there were some errors in running the tests, but these were in the library, due to a recent check-in that will be fixed shortly (at least we hope :-) )
2007-05-16 11:41:43 -05:00
Elena Pourmal
c0d407a481 [svn-r13754] VMS port:
Updated command files; added "extern "C"" for HDremove_all function.

Platforms tested:

VMS server; kagiso - very minor and affects only VMS
2007-05-15 17:14:10 -05:00
Quincey Koziol
31ff357f31 [svn-r13753] Description:
Check in "unique, but sharable" optimization to ISOHM code, which
allows object header messages that are only used in one object to remain in
the sole user's header, but migrates messages that are used in more than one
header into the ISOHM heap.

Tested on:
	Mac OS X/32 10.4.9 (amazon)
	FreeBSD/32 6.2 (duty)
	Linux/32 2.6 (chicago)
	Linux/64 2.6 (chicago2)
2007-05-14 15:24:08 -05:00
Scott Wegner
1726061075 [svn-r13752] Added an include to the ohdr testfile generator code to fix an issue with Visual Studio. I've also turned this project on by default in Windows.
Tested:
VS6 on WinXP
kagiso
2007-05-14 13:50:54 -05:00
Quincey Koziol
f0f73065e3 [svn-r13751] Description:
Reduce the number of warnings when free lists are disabled.

Tested on:
	Mac OS X /32 10.4.9 (amazon)
	Linux/32 2.6 (chicago)
	Linux/64 2.6 (chicago2)
2007-05-14 11:10:15 -05:00
Quincey Koziol
d16a803257 [svn-r13750] Description:
Various minor cleanups found while working on the "unique, but sharable"
ISOHM changes.

Tested on:
	Mac OS X/32 10.4.9 (amazon)
	FreeBSD/32 6.2 (duty)
2007-05-13 23:05:28 -05:00
Quincey Koziol
00a50871bb [svn-r13747] Description:
Fix H5O_msg_iterate() and H5O_link() to protect cache entries with
better permissions.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
2007-05-10 18:25:58 -05:00
Quincey Koziol
670d598ff7 [svn-r13745] Description:
Take further advantage of the readers/writer locking in the metadata cache
and push the locking of the local heap up to the routines which call B-tree
routines, which should drastically lower the number of metadata cache protect/
unprotect calls.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-10 15:35:35 -05:00
Quincey Koziol
c751cdab33 [svn-r13744] Description:
Initial changes to take advantage of readers/writer locking on metadata
cache entries.  Reduce the # of protect/unprotect pairs during B-tree iteration
by holding reader lock on B-tree and symbol table nodes while iteration occurs.

    This also has the benefit of preventing an iteration callback from
modifying the B-tree being iterated over (which would probably confuse the
B-tree iteration code terribly)

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-10 10:31:34 -05:00
Quincey Koziol
d214eddeff [svn-r13743] Description:
Don't delete chunks from the dataset's B-tree while we are iterating over
the B-tree, when reducing the size of the dataset's dataspace with
H5Dset_extent().

Tested on:
    Mac OS X/32 2.6 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-10 10:26:41 -05:00
Quincey Koziol
8eac66e943 [svn-r13742] Description:
Avoid copying attribute in a few iteration situations.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-10 10:15:23 -05:00
Quincey Koziol
10a6685aaa [svn-r13741] Description:
Minor formatting & warning reduction code cleanups

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-10 10:06:49 -05:00
Albert Cheng
10114bd211 [svn-r13736] Bug fix.
QSC's mpi implementation does not do collection I/O correctly.
Need to turn some collective support off.

Tested platform:
LANL QSC.

-This line, and those below, will be ignored--

M    config/dec-osf5.x
2007-05-07 15:30:11 -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
MuQun Yang
8762243f56 [svn-r13733] Changed more parallel debugging info. to a more standard way by using H5DEBUG.
Have tested at linux to make sure the change won't cause any compiling errors or testing errors.
2007-05-04 08:53:57 -05:00
MuQun Yang
8292747953 [svn-r13730] Remove debug information inside H5Dmpio.c when enable-debug is turned on.
More code will be cleaned up tomorrow. Since only debugging information is removed, I tested this only at kagiso(linux mpich).

Kent
2007-05-03 18:07:03 -05:00
Peter Cao
edceb4389a [svn-r13726] Add H5P_reset_external_file_test to the header file. 2007-05-02 17:16:32 -05:00
Quincey Koziol
80d7f2a258 [svn-r13722] Description:
Fix typo that causes non-Purified build to fail.

Tested:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
2007-05-01 21:39:43 -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
Pedro Vicente Nunes
4e243fd5e7 [svn-r13720]
Bug fix

The parsing routine -b was not correctly affecting one of the variables that sets the binary output

Tested linux
2007-05-01 15:58:18 -05:00
Pedro Vicente Nunes
fcb7783b52 [svn-r13718]
added entries

 - Fortran interfaces for the Image, Table and Lite APIs. PVN - 2007/5/1
        - New HDF5 Dimension Scale API (H5DS) allows dimension scales to be
          created in an HDF5 file and associated with specific datasets.
                                                                 PVN - 2007/5/1
2007-05-01 11:14:26 -05:00
Quincey Koziol
093060f6f3 [svn-r13717] Description:
Clean up some formatting, comments and error messages.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Too minor to require h5committest
2007-05-01 09:28:02 -05:00
Albert Cheng
83d4f43d04 [svn-r13716] updated the help message of the --enable-debug to reflect its default now depends
on the setting of  --enable-production.
2007-04-30 22:38:52 -05:00
Peter Cao
37e010fbe0 [svn-r13714] Fix memory leak on objcopy.c test
H5Premove(dcpl, H5D_CRT_EXT_FILE_LIST_NAME) causes memory leak.
Use new function H5P_reset_external_file_test(dcpl) instead.
2007-04-30 17:44:04 -05:00
Scott Wegner
90a16bb0dd [svn-r13713] Updated MANIFEST for previous revision. 2007-04-30 16:44:02 -05:00
Scott Wegner
a27b1b6e31 [svn-r13712] Various changes made to bring Windows example tests up to date.
Tested:
VS 2005 on Win XP
2007-04-30 16:36:54 -05:00
Quincey Koziol
4e6026d44f [svn-r13711] Description:
Reduce size of fill value message in default setting case (since it can't
be eliminated).

Tested on:
    Mac OS X/32 10.4.9 (amazon)
2007-04-30 14:57:58 -05:00
Scott Wegner
9844f91b17 [svn-r13710] Added Fortran dependencies to Windows project files, and updated documentation to reflect changes.
Tested:
Visual Studio 2005 on WinXP
2007-04-30 14:16:50 -05:00
Albert Cheng
8cf6fbad51 [svn-r13707] Changed the TODAY format to include weekday, matching the one used by DailyHDF5Test
script.

Tested:
Tested the new format works in all NCSA machines.
2007-04-28 23:13:23 -05:00
Christian Chilan
218c9c7b72 [svn-r13705] Change to getname.c so that when tests query the name of a dereferenced object, they do not expect the name length to count the null terminator. 2007-04-27 14:08:43 -05:00
Christian Chilan
55ba7924e1 [svn-r13704] Change to H5G_get_refobj_name so that H5I_get_name returns the length of the name of a dereferenced object without counting the null terminator. Tested on smirom, copper, and cobalt. 2007-04-27 14:04:32 -05:00
Albert Cheng
2b807f7fdd [svn-r13703] Feature:
Change --enable-debug default to no if producton is enabled.

Platform tested:
kagiso just doing configure with various combinations of option and varified the
output.
2007-04-27 09:56:33 -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
Albert Cheng
0408aec911 [svn-r13700] Updated the copyright generated by the program to the THG notice.
Tested:
kagiso (no committed test since it is trivial.)
2007-04-24 15:06:48 -05:00
Quincey Koziol
594ac7478d [svn-r13698] Description:
Remove warning notice about file format (file format actually OK for the
beta release)
2007-04-24 09:01:55 -05:00
John Mainzer
30b6c4bcc1 [svn-r13697] Fixed error in check_unprotect_ro_dirty_err() in cache.c. Basic problem
was a failure to clean up properly after a test.

I reproduced the failure on Phoenix before fixing it.  As the error
was relatively straight forward, I tested fix on Phoenix only.
2007-04-24 05:51:12 -05:00
Scott Wegner
2ac5e9f2e8 [svn-r13696] Various updates to Windows documentation.
Mostly just correcting typos, no testing needed.
2007-04-23 17:06:01 -05:00