Commit Graph

9855 Commits

Author SHA1 Message Date
Elena Pourmal
1da2333b4d [svn-r13901] Maintenance: forgot to remove old HP configuration files from MANIFEST; fixed; checked
with bin/chkmanifest
2007-06-24 10:19:56 -05:00
Elena Pourmal
955df25850 [svn-r13900] Updated information about HPUX 11.23; removed some old platforms 2007-06-23 19:02:27 -05:00
Elena Pourmal
28c785c64c [svn-r13899] Maintenance: Deleted configuration files for unsupported HP platforms.
No testing is needed.
2007-06-23 18:44:40 -05:00
Scott Wegner
4965da5a72 [svn-r13894] Description:
On Windows, Mingw interprets all parameters starting with '/' as paths, and replaces the '/' with its home directory, "C:\Windows\msys\".  This was a problem in h5diff tests such as:
        h5diff h5diff_101.txt $FILE1 $FILE1 /g1/d1  g1/d2  -v

I've removed the leading '/', as h5diff will interpret it the same either way.

Tested:
kagiso, linew, and smirom, via h5committest
mingw on Windows XP
2007-06-20 13:34:11 -05:00
Elena Pourmal
2bdd81b3a2 [svn-r13893] Maintenance: Bump up version to beta2pre2 after creating a tar ball for remote testing 2007-06-20 11:58:55 -05:00
Elena Pourmal
08ce1e920d [svn-r13892] Maintenance: Changed library version to beta2pre1 in preparation for remote testing
for the HDF5 1.8.0-beta2 release
Platforms tested: kagiso (small change done by bin/h5vers script)
2007-06-20 11:07:48 -05:00
Quincey Koziol
a289dcc5e8 [svn-r13888] Description:
Added note about VL-datatype fill value bugs fixed.
2007-06-19 16:19:07 -05:00
Quincey Koziol
dfbc98e349 [svn-r13887] Description:
Add some additional tests for reading non-contiguous selections from
datasets which haven't had any data written to them (both non-VL and VL
datatype fill values covered)

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    FreeBSD/32 6.2 (duty)
    FreeBSD/64 6.2 (liberty)
2007-06-19 15:38:49 -05:00
Raymond Lu
6e0eea31fe [svn-r13885] Modify the comment from the checkin last round.
No test is needed.
2007-06-19 15:18:05 -05:00
Raymond Lu
6017d0c70f [svn-r13884] The second step of optimization for compound data for the Chicago
company.  The I/O is optimized when the source and destination 
members are a subset of each other one way or another, 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;
                               };
    or
    struct destination {       struct source {
        TYPE1 A;      -->          TYPE1 A;
        TYPE2 B;      -->          TYPE2 B;
        TYPE3 C;      -->          TYPE3 C;
    };                             TYPE4 D;
                                   TYPE5 E;
                                };
The optimization is simply moving data from the source to the 
appropriate places in the buffer and bypass the reading of 
the background data and data conversion.

Tested on smirom, liberty, sol, and copper.
2007-06-19 15:05:24 -05:00
Quincey Koziol
32d09759bd [svn-r13883] Description:
Fixed bugs w/VL-datatype fill values for chunked dataset storage.

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-06-19 12:35:24 -05:00
Scott Wegner
b2318f778a [svn-r13881] Purpose: Updated C++ examples expected output
Description:
Bring the expected output for the C++ examples up-to-date.  This file is used in the Windows test script.  It is also used by ./c++/examples/testexamples.sh, although this script is never run by hand. 'make check' runs the script generated by testh5c++.sh.in, which doesn't use expected.out.

Tested:
VS6 on WinXP
kagiso
2007-06-19 12:12:01 -05:00
HDF Tester
8eb2e41a43 [svn-r13879] Purpose:
Bug fix.

Description:
Test test_misc25b() open an existing test data file with RDWR unnecessarily.
(This was discovered during read-only test.)
Changed file open mode to RDONLY.

Tested platform:
Kagiso (readonly) only since it is a trivial change.
2007-06-19 10:22:05 -05:00
Quincey Koziol
41cddd1258 [svn-r13878] Description:
Improve efficiency of writing VL-datatype fill values.

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-06-19 10:21:13 -05:00
MuQun Yang
054aabaea6 [svn-r13876] Purpose: Fix mingw errors
Description:
Removed sys/uio.h dependency, which was originally added to clean up compiler warnings.  It is no longer needed, and needs to be removed to compile on mingw, which doesn't have this header.

Tested:
kagiso, duty, mingw
2007-06-18 17:17:10 -05:00
Pedro Vicente Nunes
d9a56fa9ad [svn-r13874]
Changed macro names, conflict with new compiler

-- changed DATASET to H5_TOOLS_DATASET
-- changed DATATYPE to H5_TOOLS _DATATYPE
-- changed GROUP to H5_TOOLS_GROUP

In mingw's version of winsock2.h they define:

typedef unsigned int    GROUP;


remove STORAGELAYOUT macro, it was not used

tested: linux
2007-06-18 15:03:30 -05:00
Scott Wegner
5e7acfed72 [svn-r13873] Purpose: Code cleanup
Description:
Changed a macro in H5FDwindows.c from IO_BUF_SIZE to a more specific WINDOWS_MAX_BUF, and moved it to our H5pubconf.h, where users can customize it to their own preference.  

This value is needed because of a bug in the Windows _write function, it is unsafe to write buffers larger than 2GB-1 bytes in one write.

Tested:
VS2005 on WinXP.
2007-06-18 13:19:56 -05:00
Scott Wegner
4d9397a101 [svn-r13872] WinXP x64 does not define the error code EWOULDBLOCK, but instead uses its own WSAEWOULDBLOCK. Although the stream vfd isn't supported on Windows, this was requested by a user via bug #890. This won't affect any other platforms, but should help, should we ever decide to support stream vfd on Windows.
Tested:
kagiso, linew, smirom (via h5committest)
NOT tested on Windows, as it is unsupported.
2007-06-18 12:11:56 -05:00
Quincey Koziol
d0a9cf9ffa [svn-r13871] Description:
Fix problems with 'check-vfd' target, that were [mostly] introduced with
the recent "unique, but sharable" ISOHM optimization.

    The problems were mostly with using the 'core' VFD, so the
H5Pset_fapl_core() API call was changed to re-open existing files (therefore
operating more list the sec2, stdio, etc. VFDs).  This allows many more of
the tests to run using the 'core' VFD, so those were enabled also.

Tested on:
    Linux/64 2.6 (chicago2) w/check-vfd
2007-06-15 14:11:59 -05:00
Quincey Koziol
40160d4d74 [svn-r13870] Description:
Fix writing variable-length datatype fill values for contiguous dataset
storage

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-06-15 12:52:25 -05:00
Scott Wegner
71c91c6e85 [svn-r13868] Updated the Windows static h5pubconf.h to use our new Windows file driver by default. After thorough testing, we think the windows driver is ready to be included.
I've also updated our Windows documentation file to include 64-bit instructions.  The process is fairly tedious right now, but we hope to make it more straight-forward when we depreciate 6.0 and re-work our project files.

Tested:
32-bit WinXP: VS6, VS.NET, and VS 2005
64-bit WinXP: VS.NET and VS 2005
2007-06-15 11:19:16 -05:00
Elena Pourmal
6719b3360a [svn-r13867] Brought VMS port up to date; made h5repack script to work again.
Platforms tested: VMS server; no other tests are needed since changes are local to 
                  the VMS command and source files.
2007-06-14 14:55:39 -05:00
Scott Wegner
b2cf486a02 [svn-r13866] Updated the open command to add the _O_BINARY flag, which Windows needs for reading and seeking.
Tested:
VS.NET and VS2005 on WinXP 32-bit and x64
2007-06-14 13:50:54 -05:00
Mike McGreevy
9238d327a3 [svn-r13865] Purpose: Adding a new macro, H5_HAVE_OFFSETOF.
Description: When the compiler has the __offsetof__ extension, the
             H5_HAVE_OFFSETOF macro will be defined. When the compiler
             does not have the extension, the macro will remain undefined.

Tested: kagiso
2007-06-14 09:18:46 -05:00
Scott Wegner
d05df8434b [svn-r13863] Added H5FDwindows.c to Windows project files, although sec2 is still the default.
Also added a Windows-specific macro, WINDOWS_USE_STDIO, which users can define if they'd like the Windows VFD to use the buffered low-level I/O functions.  This is instead of splitting our Windows driver into two separate drivers.  By default, this macro is undefined.

Tested:
VS6 on WinXP
2007-06-14 08:23:59 -05:00
Scott Wegner
61952803b3 [svn-r13862] Although still not completely ready, this fixes many problems in the new Windows file driver related to writing large buffers (4GB+). sec2 is still set as the default driver on Windows.
Tested:
.NET on WinXP and 2005 on WinXP x64
2007-06-13 15:59:38 -05:00
Raymond Lu
50f7f32f88 [svn-r13858] Added sec2.h5 to the list of the files to be deleted.
It's output file from big.c.
Tested on smirom because it's a simple change.
2007-06-12 16:53:20 -05:00
MuQun Yang
46226727d1 [svn-r13857] This test will fail without having zlib library and this is the case for windows 64-bit support. So we add a macro to skip this test if there is no zlib library.
Tested at windows and linux. Too minor to use h5committest.
2007-06-12 16:51:19 -05:00
MuQun Yang
765da09bad [svn-r13856] H5FDwindows.h is included in the hdf5.h but we didn't put it into Makefile.am un
der /src. So when gmake check-install is run for HDF5 examples, it will fail. Th
e fix is to include a macro #ifdef H5_HAVE_WINDOW around #include H5FDwindows.h 
so that H5FDwindows.h will only be included on windows, not on other platforms.

We've fixed with the same way for other source code that includes H5FDwindows.h.

This has been tested with h5committest. However, it takes a few hours to test all tests and except kagiso. Tests on linew and smirom cannot finish. It takes forever for the fheap test. 

And for parallel test at kagiso, ph5diff test seems to be hanged. I think all of our changes will only affect windows. So in order not to block other developers to check in their code, we just go ahead to check our changes. 

Kent Yang
2007-06-12 16:20:13 -05:00
Scott Wegner
3045853b76 [svn-r13852] Added includes in various places to make it possible to set windows as the default vfd. Although sec2 is still default on Windows, it should now be possible to switch by simply changing H5pubconf.h .
Tested:
.NET 2003 on WinXP
2007-06-11 17:27:07 -05:00
Scott Wegner
e2cf0e5f62 [svn-r13851] Further updates to our Windows file driver to make it compatible with both .NET and VS2005.
Still needs extensive testing before it's ready.
2007-06-11 14:16:55 -05:00
Quincey Koziol
d3a0386d36 [svn-r13850] Description:
Hook "default VFD" configure macros into library.

	Also, make "default VFD" default to sec2 instead of nothing.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Mac OS X/32 10.4.9 (amazon)
2007-06-11 13:51:20 -05:00
Mike McGreevy
b442ea5e78 [svn-r13849] Purpose: adding a --with-default-vfd= flag to configuration.
Description:   this flag will define the macro H5_DEFAULT_VFD in src/pubconf.h
               and set it to be either H5FD_SEC2 or H5FD_STDIO, depending on the
               value set with the configuration flag (either sec2 or stdio).

Tested:        kagiso, smirom, linew
2007-06-11 08:35:43 -05:00
Albert Cheng
d9d31089db [svn-r13847] Updated it to use version 2.61 since reconfigure has changed to it.
Tested Platform:
Kagiso.
2007-06-10 21:12:31 -05:00
Mike McGreevy
9d5336acb2 [svn-r13846] Purpose: To remove changes from version #13839 (regarding DEFAULT_VFD).
Description: Changes made during this checkin need to be greatly
             modified, so I'm removing them now rather than leaving them
             in and fixing them later.
2007-06-08 08:12:13 -05:00
Quincey Koziol
6b0090dc20 [svn-r13845] Description:
Formatting cleanups

Tested on:
	FreeBSD/32 6.2 (duty)
2007-06-07 23:15:35 -05:00
Quincey Koziol
15dbc76104 [svn-r13842] Description:
Fix compact dataset storage to initialize VL datatype fill values
correctly.

	Also, fix bug in global heap code when the fix action on a global
heap is to delete an object in a heap with no free space.

Tested on:
	Mac OS X/32 10.4.9 (amazon)
	FreeBSD/32 6.2 (duty)
2007-06-07 22:06:56 -05:00
Quincey Koziol
ccea4bb7b5 [svn-r13841] Description:
Add a little more information to the debugging routine, for VL datatypes.

    Minor code cleanups

Tested on:
    Mac OS X/32 10.4.9 (duty)
    Too minor to require h5committest
2007-06-07 22:04:42 -05:00
Mike McGreevy
58c565aee7 [svn-r13839] Purpose: creation of a DEFAULT_VFD macro in the test/Makefile.
Description:   a new configure flag has been created that will now set a macro
               in the test/Makefile. The flag is with-default-vfd=. When set to
               a virtual file driver (e.g. "--with-default-vfd=sec2"), the macro
               DEFAULT_VFD will hold this value.

Tested:        kagiso, smirom, linew
2007-06-07 16:42:40 -05:00
Quincey Koziol
c80b774013 [svn-r13836] Description:
Minor code cleanups

Tested on:
	Mac OS X/32 10.4.9 (amazon)
2007-06-05 12:51:06 -05:00
Scott Wegner
012fc7d83b [svn-r13834] Addition work on the Windows file driver for 64-bit compatibility, as well as making it compatible for .NET 2003 and VS 6.0. Defined additional macros in H5pubconf.h.
Note that these changes are still not built by default, so shouldn't affect anyone else.

Tested:
VS2005 on WinXP
2007-06-05 10:24:10 -05:00
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