Commit Graph

9964 Commits

Author SHA1 Message Date
Raymond Lu
c63d48cad7 [svn-r13833] Added a test case for the optimization of compound data reading
fro the Chicago company. 

Tested on smirom and liberty because it's relatively simple.
2007-06-04 15:27:10 -05:00
Raymond Lu
b97859eccf [svn-r13832] Some minor changes - let each driver use its own file name respectively.
Tested on smirom because it's simple change.
2007-06-04 14:42:13 -05:00
Scott Wegner
3e1d49f1ec [svn-r13830] Updating our locally-maintained H5pubconf.h for Windows to define the H5_CLEAR_MEMORY macro introduced in rev. 13815.
Tested:
VS2005 on WinXP
2007-06-04 10:51:39 -05:00
Raymond Lu
1280f90f81 [svn-r13829] Some systems (only SGI Altix ProPack 4 discovered so far) doesn't return correct
file size from MPI_File_get_size.  Bypass this problem by replacing it with
stat.  Add an option --disable-mpi-size in configure to indicate this function
doesn't work properly.  Add a test in testpar/t_mpi.c, too.  If it returns wrong
file size, print out a warning.

Tested on kagiso (parallel) because already tested the same change to v1.6 on 
several platforms (kagiso, cobalt, copper, and sol).
2007-06-02 13:19:36 -05:00
Quincey Koziol
2aa1084117 [svn-r13827] Description:
Close another memory leak for VL fill values, and clean up some
temporary data structures on error.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.9 (amazon)
2007-05-31 21:49:13 -05:00
Quincey Koziol
5279ef2f48 [svn-r13825] Description:
Incremental step forward in fixing problems with fill values that have 
a variable-length daattype.  This set of changes fixes problems with the copying
the property list values.

tested Tn:
	Mac OS X/32  10.4.9 (amazon)
2007-05-31 15:33:19 -05:00
Scott Wegner
5aacf74f24 [svn-r13824] Added new Windows low-level file driver. Eventually, this will replace sec2 as the default driver on Windows. However, it still needs some work right now, and is currently not set to build by default.
Tested:
Visual Studio 2005 (still fails a few tests)
2007-05-31 14:01:44 -05:00
Quincey Koziol
401856703b [svn-r13823] Description:
Minor code cleanup to reduce initialization overhead.

Tested on:
        Mac OS X/32 10.4.9 (amazon)
2007-05-31 12:55:35 -05:00
Quincey Koziol
40ced14dbb [svn-r13822] Description:
Undef the "post copy file" macro for "new style" fill values before
defining it again.

Tested on:
	FreeBSD/32 6.2 (duty) w/gcc 4.2
2007-05-31 04:27:54 -05:00
Peter Cao
461b896779 [svn-r13821]
Fixed a bug at copying shared reg_ref attribute. The ref values of an attribute
was not writen in file. The post_copy_file() at H5Oattr.c only updates the value
in memory. 

To fix the problem, we added H5O_shared_post_copy_file(), which delete the attribute
in file (with the incorrect value) and create an new attribute with the correct values.


I added the following functions:
H5Oshared.c:H5O_shared_post_copy_file(H5F_t *f, hid_t dxpl_id, H5O_t *oh, void *mesg); 
H5Oshared.h: H5O_SHARED_POST_COPY_FILE

and modified the following files to include shared_post_copy_file()
H5Oattr.c
H5Odtype.c
H5Ofill.c
H5Opline.c
H5Osdspace.c
2007-05-30 16:35:57 -05:00
Peter Cao
7afc8fc6eb [svn-r13820]
1) Back out last check in (forget to include the memory leak fix in compare_datasets())
2) Break the infinite loop when the ref_object points to itself at compare_data()
2007-05-30 16:29:41 -05:00
Albert Cheng
6a85acac67 [svn-r13818] Bug fix.
The test scripts did not take in account that the binary has been installed
somewhere other than the original prefix.  Added a provision to allow
explicit definition of $prefix to work.

Tested:
kagiso.
2007-05-30 14:25:08 -05:00
Peter Cao
8895fdc8ad [svn-r13817] 2007-05-30 11:40:05 -05:00
Quincey Koziol
0c12241059 [svn-r13816] Description:
Fix a few typos and a small memory leak.

Tested on:
	FreeBSD/32 6.2 (duty)
	Linux/64 2.6 (chicago2)
2007-05-29 15:30:41 -05:00
Quincey Koziol
b73e0ae8e7 [svn-r13815] Description:
Regenerate configuration files after latest checkin
2007-05-29 15:06:49 -05:00
Quincey Koziol
bdcbada3f2 [svn-r13814] Description:
Change back to clearing memory buffers by default, but give users option
to disable this, for performance reasons (--disable-clear-file-buffers).

    Also, add configure option (--enable-using-memchecker) to conveniently
control making the library "play nice" with memory checking tools like valgrind
and purify.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    Linux/32 2.6 (kagiso)
2007-05-29 15:02:34 -05:00
Quincey Koziol
7b0fa3950e [svn-r13811] Description:
Update information printed when the file module's debugging is enabled
and file memory is leaked.

Tested on:
    Linux/32 2.6 (chicago)
2007-05-29 13:57:55 -05:00
Pedro Vicente Nunes
bd2c3b52a8 [svn-r13810]
Minor tunings to output verbose messages: 
1)when there is not a filter request do not print a message saying the filter was not apllied when the dataset was too small
2) avoid printing the message that has a list of objects to modify when there is none

Tested:linux
2007-05-24 14:09:36 -05:00
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