Commit Graph

10391 Commits

Author SHA1 Message Date
Binh-Minh Ribler
115689570f [svn-r14850] Purpose: Fixed bugs
Description:
    - Revised Attribute::write and Attribute::read wrappers to handle
    memory allocation/deallocation properly. (bugzilla 1045)
    - Changed free() to H5Dfree(), also needed H5private.h
    - Corrected quite a few typos in documenting!

Platforms tested:
    SunOS 5.10 (linew)
    Linux 2.6 (kagiso)
    FreeBSD (duty) - there was something wrong in the C tests for makecheck
        hung quite a long time; I went ahead with makecheck just in c++ dir,
        since the changes didn't effect the C tests.  I'll keep an eye on
        the tests tonight...
2008-04-20 17:06:37 -05:00
HDF Tester
a0136eda8d [svn-r14849] Snapshot version 1.9 release 3 2008-04-20 06:32:00 -05:00
Vailin Choi
f1d2209a75 [svn-r14848] Fixed a bug in the external link test for windows. 2008-04-17 21:31:20 -05:00
Vailin Choi
a642c440f7 [svn-r14847] 1. test/links.c: add tests specific for windows
remove HDputenv() from external_link_env() test
                 (will add script later to set HDF5_EXT_PREFIX for running the test)
                 modify and add more comments
2. src/H5private.h: remove #define for HDputenv()

Tested on kagiso, linew and smirom.
2008-04-16 12:13:20 -05:00
Scott Wegner
58b37f0a88 [svn-r14846] Purpose: Update MANIFEST for last commit
Description:
Add ./windows/hdf5build_examples.BAT to MANIFEST

Tested:
chkmanifest on kagiso
2008-04-14 16:37:34 -05:00
Scott Wegner
c6ec340c76 [svn-r14845] Purpose: Add new Windows batch script for building example projects
Description:
Just as we have scripts for building and testing the HDF5 library on Windows, hdf5build_examples.BAT is a new script for building HDF5 example projects on Windows.  This is especially useful for our new Windows Daily Tests, to test our examples automatically as well.

Eventually, we will have hdf5check_examples.BAT and hdf5bt_examples.BAT to test our examples as well.

Tested:
VS2005 on WinXP
2008-04-14 16:35:55 -05:00
Scott Wegner
f16de15646 [svn-r14843] Purpose: Fix link input in Windows HL Fortran examples
Description:
Previously, our Windows projects for HL Fortran examples were using outdated library names for our cstub code.  As a result, they wouldn't build correctly.  This checkin brings them up-to-date.

Also, add hdf5_hl.lib as a dependency to hdf5_hl_fortran.lib.  This goes un-noticed when building the complete VS solution, but should be required when only building hdf5_hl_fortran.lib

Tested:
VS2005 on WinXP
2008-04-14 16:23:42 -05:00
Scott Wegner
37d75142e3 [svn-r14841] Purpose: Fix Windows Fortran examples runtime libraries
Description:
In the Windows Fortran example projects, the runtime library used for linking static-debug version was set incorrectly.  This was a result of the project being upgraded from VS6 where we used Single-threaded libraries.  Those libraries are no longer supported, so we use [Debug] Multithreaded [DLL] now instead.

Note that this also needs to be updated in the VS.NET project files-- I will make those changes shortly.

Tested:
VS2005 on WinXP
2008-04-14 12:02:10 -05:00
Scott Wegner
994669e01a [svn-r14839] Purpose: Add new Windows macro for links test
Description:
Many new path-specific tests have been added via the "links" test.  Because Windows' path format is non-standard, we need a special macro defined to handle it specially.  Note that 2 tests still fail with this macro defined, but it should be fixed soon.

Tested:
VS2005 on WinXP
2008-04-14 10:46:03 -05:00
Scott Wegner
0c299e6240 [svn-r14838] Purpose: Remove ohdr_gentst from Windows projects
Description:
The ohdr_gentst project exists in order to re-create test input files that are distributed with the source.  These projects aren't built by default on most platforms, and the source isn't distributed in release builds.  To avoid confusion and bloat, we remove the Windows version of this project.

Tested:
None, only removed
2008-04-14 10:21:46 -05:00
Scott Wegner
79e97a0e9e [svn-r14836] Purpose: Remove English-specific code from Windows test scripts
Description:
In previous versions of Windows, the builtin 'FC' command (diff equivalent) didn't return proper exit status.  As a work-around, we parsed the message returned to check status.  This relies on English return messages.

In current Windows XP and Windows Vista, FC will return exit status as expected, so we can remove this workaround.  Older platforms where we would need this workaround are no longer supported.

Tested:
VS2005 on Windows XP
Small test on Windows Vista
2008-04-14 10:03:26 -05:00
HDF Tester
0d68a748cc [svn-r14832] Snapshot version 1.9 release 2 2008-04-13 06:56:56 -05:00
Christian Chilan
438095b24c [svn-r14831] Revise file of the serial benchmarking tool.
Tested on kagiso, smirom, linew, and tg-login.
2008-04-12 18:08:08 -05:00
Christian Chilan
512f4ff28f [svn-r14829] Revised files of the serial benchmarking tool.
Tested on kagiso, smirom, and linew.
2008-04-11 16:25:30 -05:00
Christian Chilan
d3e9a4cb40 [svn-r14828] Included files of the serial benchmarking tool. 2008-04-11 16:24:11 -05:00
Christian Chilan
ec1cd05cf6 [svn-r14827] Makefiles configured to build and test the serial benchmarking tool.
Tested on kagiso, smirom, and linew.
2008-04-10 17:36:51 -05:00
Christian Chilan
66bb19b12f [svn-r14826] Files for the serial benchmarking tool, h5perf_serial.
Tested on kagiso, smirom, and linew.
2008-04-10 17:32:53 -05:00
Christian Chilan
8c9c5356a3 [svn-r14825] Files for the serial benchmarking tool, h5perf_serial.
Tested on kagiso, smirom, and linew.
2008-04-10 17:31:27 -05:00
Vailin Choi
0f7c9bcd5e [svn-r14822] 1. src/H5private.h: fixed a bug in CHECK_ABSOLUTE() for windows.
2. test/links.c: fixed one external link test to be the same as in 1.8.
2008-04-09 08:56:52 -05:00
Pedro Vicente Nunes
ae63d4bf4f [svn-r14821] Having this signature
H5_DLL herr_t 	H5_build_extpath(const char *, char **/*out*/);

makes this stupid warning in windows that gets repeated in every source file

c:\_pvn\hdf5\src\h5private.h(958) : warning C4138: '*/' found outside of comment

changed signature to 

H5_DLL herr_t   H5_build_extpath(const char *, char ** /*out*/ );

compiler is happy now

tested: windows, linux
2008-04-08 15:32:38 -05:00
Scott Wegner
9e1746c22b [svn-r14819] Purpose: Update MANIFEST for previous checkin
Tested:
chkmanifest on smirom
2008-04-08 14:23:43 -05:00
Pedro Vicente Nunes
79eec9ff30 [svn-r14818] updated comments 2008-04-08 14:20:38 -05:00
Scott Wegner
17fd32c3c9 [svn-r14817] Purpose: Add new Windows project chunk_info[dll]
Description:
A new source file has been added, ./test/chunk_info.c.  As a result, we need to add new projects for Windows.  This includes projects for VS2005 on VNET.

Tested:
VS2005 on WinXP
VNET on WinXP
2008-04-08 14:17:52 -05:00
Pedro Vicente Nunes
3c998bb36b [svn-r14816] updated comments 2008-04-08 12:25:29 -05:00
Pedro Vicente Nunes
6a0750aba7 [svn-r14815] added comments 2008-04-08 11:52:45 -05:00
Pedro Vicente Nunes
564ff46555 [svn-r14814] added commnents 2008-04-08 11:49:59 -05:00
Pedro Vicente Nunes
01c6249fbb [svn-r14813] modified the test suite for H5Dget_chunk_info so that it writes a 4X4 dataset by iterating by 2X2 chunks
tested: windows
2008-04-08 11:47:09 -05:00
Albert Cheng
6e9d2f8099 [svn-r14812] Description:
The development branch was changed to default enable-production for the
v1.8 release but had not switched back to default development mode.

Solution:
Changed it back to --disable-production (aka development) as the default.
Also ran bin/reconfigure to update configure.

Tested:
Smirom only.  No h5committest since the change is trivial and if it works
at smirom, it should work everywhere else.
2008-04-08 11:30:43 -05:00
Vailin Choi
00b2f545a3 [svn-r14809] Add fix for H5Lcreate_external() to the list of bug fixes. 2008-04-08 10:48:15 -05:00
Pedro Vicente Nunes
fe445ca865 [svn-r14807] add an entry to a new file /test/chunk_info.c 2008-04-07 14:01:40 -05:00
Pedro Vicente Nunes
e3851ac647 [svn-r14806] add a test for the H5Dget_chunk_info function
at the moment, the test is just a skeleton for future add ins

tested: windows
2008-04-07 13:59:52 -05:00
Pedro Vicente Nunes
36db735763 [svn-r14804] mention to bug fixed 2008-04-07 11:05:19 -05:00
HDF Tester
584b7f16d6 [svn-r14799] Snapshot version 1.9 release 1 2008-04-06 05:05:45 -05:00
Vailin Choi
5ad99f2c31 [svn-r14794] Use putenv() instead of setenv() in test/links.c
(solaris did not support setenv() and unsetenv())
2008-04-03 23:16:53 -05:00
Pedro Vicente Nunes
c83dbd9c18 [svn-r14792] bug fix: #1106 h5dump -b will dump ASCII values for datasets after the first one. One variable that controls the binary output was incorrectly reset to zero after a binary output was done a first time. The effect was that on cases of several datasets, the ones after the first were not binary written. Eliminated the resetting of that variable and tested a file with several datasets. Modified the test file so that it is easier to test with the tool binread, that reads the binary output of h5dump.
tested: windows, linux
2008-04-03 16:07:27 -05:00
Vailin Choi
04c174bde0 [svn-r14789] Add handling for external link:
1. src/H5F.c, src/H5system.c: formulate path for mainfile
2. src/H5Lexternal.c: add search for target file
3. configure.in: add H5_HAVE_WINDOW_PATH
4. test/links.c: add tests for external link
2008-04-02 13:29:17 -05:00
Peter Cao
977f4a6b83 [svn-r14782] Make correction from "H5Pclose(aid)" to "H5Aclose(aid)" 2008-03-27 10:51:25 -05:00
Scott Wegner
3e3da02733 [svn-r14768] Purpose: Remove spurious szip link directory in h5repack debug project
Description:
As pointed out by a user, we added an un-needed link directory for szip which is machine-dependent and, in his case, problematic.  We can safely remove this reference because we already include the szip link directory elsewhere.

Tested:
None, simply removed
2008-03-24 13:03:13 -05:00
HDF Tester
18646cdfc6 [svn-r14759] Snapshot version 1.9 release 0 2008-03-20 05:22:22 -05:00
Quincey Koziol
afd5021ef9 [svn-r14738] Description:
Bring r14737 back from the 1.8 branch:    Fix bug which would
incorrectly encode the member offsets for compound datatypes whose size was
between 256 & 511 bytes, when the "use the latest format" feature was enabled.

Tested on:
   Mac OS X/32 10.5.2 (amazon) w/debug
   FreeBSD/32 6.2 (duty) w/production
2008-03-13 17:12:13 -05:00
Pedro Vicente Nunes
6763f7c882 [svn-r14735] make 1.8 and 1.6 code equal or similar
formatted code
tested: windows, linux
2008-03-13 13:44:35 -05:00
Pedro Vicente Nunes
7d4ba6f74e [svn-r14733] make 1.8 and 1.6 code equal or similar
formatted code
bug fix: the 1.6 branch did not have a test for the existence of long double type on print_type (print name of datatype)
tested: windows, linux
2008-03-13 10:24:02 -05:00
Pedro Vicente Nunes
8f75e2c879 [svn-r14730] make 1.8 and 1.6 code equal or similar
Tested: windows, linux
2008-03-12 14:50:54 -05:00
Pedro Vicente Nunes
cb06b64c54 [svn-r14728] make 1.8 and 1.6 code look equal or similar
Tested: windows, linux
2008-03-12 13:40:50 -05:00
Pedro Vicente Nunes
4f442a71e8 [svn-r14726] Removed unused code and make 1.8 and 1.6 code look equal or similar
Tested: windows, linux
2008-03-12 12:02:00 -05:00
Pedro Vicente Nunes
92d4795c55 [svn-r14725] Removed unused code and make 1.8 and 1.6 code look equal or similar
Tested: windows, linux
2008-03-12 11:03:38 -05:00
Scott Wegner
a61407161d [svn-r14723] Purpose: Fix typo in our configure CYGWIN patch
Description:
Previously, we created a patch for Cygwin to skip checking for the timezone variable.  We made this change in both the trunk and hdf5_1_8 branch.  However, in the branch version, we seemed to have used wrong quotes in our check ('uname' rather than `uname`).  This corrects the typo

Tested:
Cygwin on WinXP
2008-03-12 09:48:45 -05:00
Quincey Koziol
7a786333ff [svn-r14721] Description:
Update release notes for H5Aget_num_attrs() fix
2008-03-11 17:24:51 -05:00
Quincey Koziol
53c6f67778 [svn-r14720] Description:
Minor bug fix to H5Aget_num_attrs() to return error when an invalid
location ID is passed in.

Tested on:
    Mac OS X/32 (amazon)
    Too minor to require h5committest
2008-03-11 17:21:37 -05:00
Scott Wegner
fa81a84cec [svn-r14717] Purpose: Remove commented test in h5dump test script
Description:
A commented test was deleted from the main h5dump test script.  This makes the same change in the Windows script.  This won't actually make any noticeable changes-- just to keep up with Linux.

Tested:
None needed, no new tests, just deleted comments
2008-03-10 13:24:59 -05:00