Commit Graph

9876 Commits

Author SHA1 Message Date
Quincey Koziol
1091bb7029 [svn-r13927] Description:
Clean up the chunked storage "initialize by extent" routine, in preparation
for fixing another VL-datatype fill value bug.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
2007-06-28 22:14:30 -05:00
Quincey Koziol
cad9846d77 [svn-r13926] Description:
Add small interface to "wrap" a static buffer (usually on the stack), but
still allow for buffers larger than the static buffer to be allocated.  This
can eliminate _many_ short-lived buffer allocations in situations where the
buffer is a predictable size (or at least a "very likely" size).

    Also, some minor code cleanups, particularly in the SOHM caching code.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
2007-06-28 22:12:45 -05:00
Mike McGreevy
58467956ba [svn-r13925] Purpose: intermediate checkin for offsetof fix for PGI compiler.
Description: added new configuration to generate a pubconf file
             in the c++/src directory, H5cxx_pubconf.h. When C++
             compiler recognizes 'offsetof', the macro 
             H5_CXX_HAVE_OFFSETOF is defined in the new
             pubconf file.

tested: kagiso, smirom
2007-06-28 15:36:08 -05:00
Scott Wegner
10f04e6519 [svn-r13924] Purpose: Cleanup
Description:
Clean up the MANIFEST a little bit.  Also removed some batch files and empty folders that were added mistakenly in the last check-in.

Tested:
Too minor.
2007-06-27 16:00:47 -05:00
Scott Wegner
c63a400f7a [svn-r13923] Purpose: Update MANIFEST
Description:
Many files added removed in last check-in.  I still need to clean up a little bit, but I just wanted to get this in before the Daily Tests start.

Tested:
chkmanifest on kagiso
2007-06-27 15:25:29 -05:00
Scott Wegner
6f175a8ff2 [svn-r13922] Purpose: First step in VS6 Depreciation
Desciption:
This is the first major check-in in the process of depreciating Visual Studio 6.0.  We create a new directory, windows_vs6, which now holds all of our previous VS6 project files.  We expect to maintain this directory for only a short time (perhaps one release), so users have time to make the change.

The ./windows directory now contains project files for Visual Studio .Net, as well as existing source and test scripts.  This will allow us to greatly simplify the build process for the majority of our users.

We have created a new solution (.Net equivolent of workspace) that houses the Fortran project files.  This allowed us to remove these files from the main solution, as well as streamline the conversion in the Fortran solution.  It is also much easier now to convert to Visual Studio 2005 files.

Notes:
I didn't update the MANIFEST with this check-in, I will make those changes shortly.  
Also, I haven't yet updated the documentation to reflect this check-in.  That is going to require more work.
We will be giving a seminar in the coming weeks about .Net and how to migrate over.

Tested:
VS6/VNET/VS2005 on WinXP 32/64-bit
2007-06-27 14:13:45 -05:00
Scott Wegner
9f6c4bece5 [svn-r13921] Purpose: Add new file to Windows projects
Description:
Added new H5Dfill.c source file which was added in revision 13918.
2007-06-26 15:04:35 -05:00
Quincey Koziol
8e9f2af175 [svn-r13920] Description:
Uncomment some additional tests, which are [now?] working.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-06-26 14:19:57 -05:00
Quincey Koziol
cc6c41f0f0 [svn-r13919] Description:
Clean up more redundant code for reading SOHM messages.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-06-26 13:42:28 -05:00
Quincey Koziol
1d7d79bbb7 [svn-r13918] Description:
Refactor fill value buffer code into one location, for better long-term
maintenance.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-06-26 12:46:35 -05:00
Quincey Koziol
4a9a1c90f3 [svn-r13917] Description:
Code & warning cleanups

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-06-26 12:44:39 -05:00
Scott Wegner
21134e48e1 [svn-r13916] Purpose: Fix MinGW inconsistency
Description:
Windows does not accept the buffer size parameter of setvbuf to be less than 2.  Previously, we had our fix split between two files, H5private.h and the Windows H5pubconf.h.  This was a problem for MinGW, because it generates its own H5private.h.  This moves the fix out of H5pubconf.h and into H5private.h.

This shouldn't affect other platforms.

Tested:
MinGW on WinXP
2007-06-26 11:23:59 -05:00
Quincey Koziol
0490b17800 [svn-r13915] Description:
Clean up SOHM code, to copy message in H5HF_op call instead of separate
calls to H5HF_get_obj_len() and H5HF_read().

Tested on:
    Mac OS X/32 10.4.9 (amazon)
    Linux/32 2.6 (chicago)
2007-06-26 11:10:29 -05:00
Quincey Koziol
d114cda9a0 [svn-r13914] Description:
Clean up files generated during testing.

Tested on:
    Linux/32 2.6 (chicago)
2007-06-26 11:08:38 -05:00
Elena Pourmal
fc42567dbe [svn-r13913] Maintenance after beta2 release: used bin/h5vers script to change version number to 1.8.0-beta2poat1 2007-06-25 17:42:04 -05:00
Elena Pourmal
3854a37d83 [svn-r13909] Mainetnance before createing beta2 tar ball
Changed version number to 1.8.0-beta2
2007-06-25 17:11:24 -05:00
Raymond Lu
69fa076b7e [svn-r13908] Update support information of abe. 2007-06-25 15:27:11 -05:00
Elena Pourmal
bece90f828 [svn-r13907] Maintenance: added more information about tested platforms for 1.8.0 beta 2 release 2007-06-25 09:20:45 -05:00
Scott Wegner
a6ea9adc92 [svn-r13906] Purpose: Update supported platforms
Description:
Updated RELEASE.txt to reflect support for 64-bit Windows.  Also updated the testing table, and removed some old Windows-related issues that are no longer present.

No testing needed.
2007-06-25 08:53:05 -05:00
Albert Cheng
77c9ba9ee1 [svn-r13905] Purpose:
Bug fix.

Description:
The "h5dump -o ..." test generates temporay files in the testfiles of the
source code and later on remove them.  This could cuase a racing condition
if more than one --srcdir build is using the same copy of the source code.
Since they use the same file name in the testfiles, they may conflict with
each other.

Solution:
Changed to generate the temporary files in the build-dir's own testfiles
directory.  Since the build-dir can have different names, the CMP of expected
output now skip the first three lines which are label lines that contains
the location of the temporary.

Also removed the CREATE code since actual files created now cannot be
blindly copied to the expect files.  Also, expected files should be
create by explicit action and careful inspection of files generated.

Tested platform:
Done in kagiso, both by --src-dir and in-place build.
2007-06-24 21:17:09 -05:00
Albert Cheng
47ab8fa29d [svn-r13902] Purpose:
Simple code improvement to have more unified code.

Tested:
in kagiso only since it is a simple script change.
2007-06-24 19:15:56 -05:00
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