Commit Graph

9796 Commits

Author SHA1 Message Date
Quincey Koziol
fa133cfb95 [svn-r13808] Description:
Fix possible file corruption when using "new" format object headers and the
size of chunk #0 for an object header transitions between needing 1->2->4->8-
byte encoding for the size and there are "clean" messages in the object header
already.  (Usually triggered by flushing the file while adding attributes to
an object)

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-24 13:36:53 -05:00
Quincey Koziol
415889bef3 [svn-r13807] Description:
Fix error which attempted to allocate space for attribute that has a
'null' dataspace.

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-24 09:31:51 -05:00
Quincey Koziol
c2d3d0a005 [svn-r13806] Description:
Correct prototype for H5Sextent_equal()

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-24 09:27:04 -05:00
Pedro Vicente Nunes
65de8add1f [svn-r13805]
Early detection of no arguments, print usage and exit

Tested: linux
2007-05-24 07:49:24 -05:00
Raymond Lu
b08afe35a4 [svn-r13803] Optimization of reading compound data.
Optimize a special case when the source members are a subset of
destination, and the order is the same, and no conversion is needed.
For example:
     struct source {            struct destination {
         TYPE1 A;      -->          TYPE1 A;
         TYPE2 B;      -->          TYPE2 B;
         TYPE3 C;      -->          TYPE3 C;
     };                             TYPE4 D;
                                    TYPE5 E;
                                };
The optimization is simply moving data to the appropriate
places in the buffer.  This optimization work is for the Chicago company.

Tested on sol, copper, smirom, liberty.
2007-05-23 17:43:03 -05:00
Scott Wegner
1d17ae7d69 [svn-r13802] Update the Windows documentation to reflect changes made to the Fortran configuration in today's earlier checkin. Also removed documentation for the stdio driver, as it is currently broken. 2007-05-23 16:22:42 -05:00
Albert Cheng
3efa9c8b05 [svn-r13801] Output improvement.
Added a header message showing the purpose and explanation that the test is
for inoformation and always exits 0.
Also added a summary at the end.

Some other cosmetic changes (moved couple function code up, added some more
printf, fflush statements.)

Tested platform:
kagiso.
2007-05-23 10:47:44 -05:00
Scott Wegner
6ea2260ea7 [svn-r13799] Applying Windows Fortran-specific patches suggested in Bug #879. This checkin takes care of the first two, I will look at the last one today.
Tested:
Visual Studio 2005 on WinXP
2007-05-23 09:14:53 -05:00
Quincey Koziol
03abf3cafe [svn-r13798] Description:
Clean up compiler warnings

Tested on:
    Mac OS X/32 10.4.9 (amazon)
2007-05-22 21:18:10 -05:00
Quincey Koziol
1e2ff005ab [svn-r13797] Description:
Re-enable fast attribute comparisons "in place" in the fractal heap.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 10.4.9 (amazon)
2007-05-22 21:17:42 -05:00
Quincey Koziol
c04a55d65e [svn-r13796] Description:
Clean up ISOHM code further and get rid of several non-optimal ways
of working with object headers.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.9 (amazon)
2007-05-22 21:16:41 -05:00
Quincey Koziol
2232cf942d [svn-r13794] Description:
Add 'const' to some pointers in internal routines.

Tested on:
    Linux/32 2.6 (chicago)
2007-05-22 15:27:33 -05:00
Pedro Vicente Nunes
987146cc8e [svn-r13793]
Clean temporary test files

Tested: linux, SunOS

Note: the files outside tools were generated by bin/reconfigure
2007-05-22 14:35:24 -05:00
Scott Wegner
4d5673c3c0 [svn-r13785] Initial update to fix test failures caused by Linux test script update (rev 13775). More work needs to be done to incorporate the new tests.
Tested:
VS6 on Win XP
2007-05-22 13:16:15 -05:00
Quincey Koziol
668d8d5aa3 [svn-r13784] Description:
Close memory leak in error situation for opening a dataset.

Tested on:
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-05-22 10:09:31 -05:00
Christian Chilan
517ed323b5 [svn-r13783] Add t_filter_read.c to MANIFEST. 2007-05-21 19:11:48 -05:00
Christian Chilan
7c375ba2ec [svn-r13782] Increase the max number of tests to 45. 2007-05-21 19:10:22 -05:00
Christian Chilan
a1f029e775 [svn-r13781] Add t_filter_read.c to testphdf5. 2007-05-21 19:08:23 -05:00
Christian Chilan
88fc0be9ce [svn-r13780] Add t_filter_read.c to testphdf5. 2007-05-21 19:08:11 -05:00
Christian Chilan
ea241f8cea [svn-r13779] Add test_filter_read to testphdf5. 2007-05-21 19:07:09 -05:00
Christian Chilan
abcba9a50a [svn-r13778] Add test_filter_read to testphdf5. 2007-05-21 19:06:37 -05:00
Christian Chilan
1ead31942b [svn-r13777] Test parallel read of dataset written serially with several (combination of) filters. Tested on copper and kagiso. 2007-05-21 19:05:47 -05:00
Scott Wegner
51dcf997dc [svn-r13776] Added Windows project file for new example project (rev 13702). Updated test scripts and MANIFEST accordingly.
Tested:
VS6 on WinXP
2007-05-21 15:04:22 -05:00
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