Commit Graph

904 Commits

Author SHA1 Message Date
Elena Pourmal
dcad778b42 [svn-r14923] Maintenance: This check-in merges changes from the fortran_1_8 branch back into the trunk (up to revision 14921)
Platforms tested: kagiso with g95 and Intel compilers; more testing will be done after checking in a fresh
                  copy from the trunk. New code itself was tested with all Fortran compilers available at THG
2008-05-03 18:39:37 -05:00
Scot Breitenfeld
aec106e324 [svn-r14903] Undoing change committed in r14902. 2008-04-30 14:51:13 -05:00
Scot Breitenfeld
5773fd34bc [svn-r14902] Merged fortran_1_8 branch changes r14505:14901 into the trunk. New fortran wrappers added. 2008-04-30 14:23:26 -05:00
Scott Wegner
9017a8113c [svn-r14867] Purpose: Add new source files to Windows projects
Description:
Two new source files have been added, H5Dchunk.c and H5Dscatgath.c.  This checkin adds the files to the Windows project files as well.

Tested:
VS2005 on WinXP
2008-04-28 09:04:29 -05:00
Scott Wegner
16d4cae5b1 [svn-r14857] Purpose: Fix typo in Windows test script
Description:
A small typo in the main Windows test script was causing the C++ library tests not to run by default.

Tested:
VS2005 on WinXP x64
2008-04-21 13:04:39 -05:00
Scott Wegner
84d3ea8e8b [svn-r14855] Purpose: Fix error message when with Windows pthreads
Description:
When building HDF5 with thread safety on Windows, the err_compat test was failing because our output was being parsed incorrectly.  Rather than having a thread number in the error stack trace, there will be the string "some thread: no way to know the thread (IDs): from pthread on windows:".  This checkin now takes this into account, and modifies the output accordingly.

Tested:
VS2005 on WinXP with Pthreads
2008-04-21 12:33:23 -05:00
Scott Wegner
775bbddc28 [svn-r14854] Purpose: Remove many spurious compiler warnings in Visual Studio
Description:
On Windows, many POSIX functions have been replaced by a similarly-named function with some additional security-checking.  Visual Studio issues a warning each time the POSIX version is used, recommending that we replace it with the new version.  This results in thousands of errors when building the HDF5 library.

This checkin adds a Visual Studio "Property Sheet", which has been applied to all library projects, and defines a number of preprocessors to suppress these warnings.  The warnings have been disabled only in Visual Studio 2005 project files, as VS.NET doesn't support property sheets.

Tested:
VS2005 on WinXP
2008-04-21 09:03:59 -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
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
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
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
Scott Wegner
78d79fa83e [svn-r14695] Purpose: Fix typo in Windows install file
Description:
A small typo in the recent update to installhdf5lib.bat caused the C++ header files not to be installed for the debug version of the libraries.  This corrects the issue.

Tested:
VS2005 on WinXP
2008-03-03 14:43:31 -05:00
Scott Wegner
7d9cb501e1 [svn-r14673] Purpose: Allow building Fortran libraries from the Windows command line
Tested:
VS2005 on WinXP
2008-02-25 15:43:30 -05:00
Scott Wegner
0a33c38b75 [svn-r14667] Purpose: Update Windows h5import test script
Description:
The names of the test files for h5import changed slightly, so we needed to update our test script accordingly.  Also, a test for EOL characters has been added.

Tested:
VS2005 on WinXP
2008-02-25 10:52:05 -05:00
Scott Wegner
1755138539 [svn-r14608] Purpose: Add missing Windows HL C examples
Description:
The Windows suite of examples for HL C was a very small subset of the examples that exist for other platforms.  Now we have all of the HL C examples-- integrated into the VS projects files, and batch test scripts.

Tested:
VS2005 on WinXP
VNET on WinXP
2008-02-19 10:25:23 -05:00
Scott Wegner
a937d785c0 [svn-r14605] Purpose: Rename Windows HL Example projects to match other platforms
Description:
The collection of HL C examples that we distribute for Windows is incomplete.  I wasn't aware of it until Pedro pointed it out, because we use different (although similar) names for the generated files.  This checkin changes the naming to follow Linux, in preparation to add the rest of the HL examples to Windows.

Note: I believe I've updated the MANIFEST accordingly, but I may have missed something-- I'll check on Linux shortly after this commit.

Tested:
VS2005 on WinXP
VS.NET on WinXP
2008-02-18 13:51:47 -05:00
Scott Wegner
d2eaed4f42 [svn-r14603] Purpose: Add hdf5 library as a dependency to hdf5_hl library in Windows project files
Description:
For some reason, the hdf5_hl library didn't have hdf5 listed as a dependency.  This isn't normally a problem, because building "all" will build hdf5 library.  However, when a user tries to build only hdf5_hl, hdf5 library wouldn't be built.

Although not technically required for compiling the library code, the hdf5 library is needed for linking any applications, so it's a natural dependency.

Tested:
VS2005 on WinXP
VNET on WinXP
2008-02-18 13:24:12 -05:00
Scott Wegner
77b17dbe18 [svn-r14599] Purpose: Fix very minor typo in Windows h5import test script
Description:
Single-letter typo in the Windows test script was causing us to return the wrong error code in some cases.

Tested:
VS2005 on WinXP
2008-02-18 11:48:30 -05:00
Scott Wegner
8ee5cbef2d [svn-r14596] Purpose: Allow for better logging in Windows commandline build script
Description:
Previously, all of our build output would simply go to stdout/stderr for command-line builds.  We can pipe this into a log file as a whole, but the complete logfile becomes very large very quickly.  Instead, we give the user an option to place build results and test results into separate logs (or even the same).  This will help keeping track of results in our automated testing.

Tested:
VS2005 on WinXP
2008-02-18 10:34:55 -05:00
Scott Wegner
cd785d60ba [svn-r14553] Purpose: Minor cleanup of Windows installation scripts
Description:
Make the Windows copy_hdf.bat a little cleaner/safer, and produce useful output in installhdf5lib.bat

Tested:
VS2005 on WinXP
2008-02-12 10:54:50 -05:00
Scott Wegner
b746d34dc7 [svn-r14459] Purpose: Small patch to Windows install script
Description:
A user pointed out that one of our Fortran dependencies wasn't getting installed correctly due to a wrong path in our install file.  After reviewing, I've applied the patch that he's proposed.
2008-01-25 17:09:22 -05:00
Scott Wegner
70c30abe02 [svn-r14447] Purpose: Fix output directory for h5reparttst project
Description:
For some reason, the h5reparttst output folder wasn't set correcty for 64-bit Windows.  This may have gotten accidentally changed with other intermediate project file changes.

Tested:
VS2005 on WinXP x64
2008-01-21 11:44:56 -05:00
Scott Wegner
506d25b5f2 [svn-r14443] Purpose: Update Windows h5dump test scriptPurpose: Update Windows h5dump test script
Description:
There was another update to the main h5dump test script.  This checkin brings those edits to the Windows script as well.

Tested:
VS2005 w/ WinXP
2008-01-18 17:18:13 -05:00
Scott Wegner
63e111fb51 [svn-r14433] Purpose: Fix reference in the Windows batch-build script
Description:
In the Windows command line build script, there was a reference to the "typegen" project, which generates h5detect before HDF5 is built.  Now, we integrate h5detect into the overall build process, and typegen has been removed.  This checkin removes the reference in the batch script.  This fixes bugzilla bug 1021.
2008-01-16 09:26:40 -05:00
Scott Wegner
7246c763de [svn-r14426] Purpose: Update Windows h5dump test script
Description:
There were a number of updates to the main h5dump test script.  This checkin brings those edits to the Windows script as well.

Tested:
VS2005 w/ WinXP
2008-01-16 08:11:22 -05:00
Scott Wegner
6a5cb6a480 [svn-r14416] Purpose: Add source files to Windows projects
Description:
This catches up Windows to most of the new source files that have been added.  Specifically, H5FDpkg.h and H5FDspace.c have been added to the library projects, and tcoords.c has been added to testhdf5.  This goes for VS2005 and VS6 project files.

Tested:
Only built, VS2005
2008-01-15 10:48:07 -05:00
Scott Wegner
3b33bd982c [svn-r14331] Purpose: Update Windows h5ls test script
Details:
We no longer need to parse the h5ls output to remove "Modified" tags.  This makes it much easier to test on Windows, because we don't need to emulate `sed`.

Tested:
VS2005 on WinXP
2007-12-10 08:46:53 -05:00
Scott Wegner
529d974dff [svn-r14319] Purpose: Update error handling in h5ls, uncomment test
Description:
Larry was able to track down the bug in the h5ls test script and change it around to check for an expected error code for each test.  With this, we are now able to uncomment the broken test on Windows.

Tested:
VS2005 on WinXP
2007-12-04 08:55:40 -05:00
Scott Wegner
967c186011 [svn-r14315] Purpose: Update Windows h5repack test script
Description:
Added new test for long switch names, which was added to the general test script a few days ago.

Tested:
VS2005 on WinXP
2007-12-03 10:46:52 -05:00
Scott Wegner
bba104b0a0 [svn-r14303] Purpose: Update h5ls test script on Windows.
Description:
The h5ls test script was recently updated on Linux.  This makes the same changes on Windows.  Also, we had to comment out one of our tests, because h5ls returns an error-code that is giving false-positives.

Tested:
VS2005 on WinXP
2007-11-29 09:14:18 -05:00
Scott Wegner
30d4db8912 [svn-r14302] Purpose: Update Windows test scripts for recent changes
Description:
Minor changes were recently made in the linux test scripts for h5diff and h5repack.  This brings Windows up-to-date.

Note: I am still working on updates to testh5ls.bat-- there is one test that is failing, but should be ready soon.

Tested:
VS2005 on WinXP
2007-11-29 08:36:57 -05:00
Scott Wegner
586ac517a1 [svn-r14301] Purpose: Remove references to deleted source file from Windows project files.
Description:
h5repack_list.c was deleted from the repository recently.  This check-in also removes references in the Windows library.

Tested:
Built with VS2005
2007-11-29 08:32:47 -05:00
Scott Wegner
cb2a70feb4 [svn-r14298] Purpose: Remove references of H5FD_stream.c from Windows project files.
Description: The stream file driver was recently removed from the HDF5-1.8 source.  This checkin removes any left-over references in the Windows projects.

Tested:
VS2005
2007-11-28 10:01:48 -05:00
Scott Wegner
27e823f08b [svn-r14265] Purpose: Bring Windows test scripts up to date for h5diff changes.
Description:
Recently, the format of parameters for h5diff was changed.  This checkin makes the neccessary changes for Windows to also bring it up to date.

Tested:
VS6 on WinXP
2007-11-19 12:59:53 -05:00
Scott Wegner
9743541227 [svn-r14255] Purpose: Add h5tinit.c to default Windows build process
Description:
Previously, we provided a static h5tinit.c with our Windows distribution, and provided instructions to optionally generate it.  Now, we will incorporate it as part of the default build process, to emulate other platforms more closely.

Tested:
VS6
VS2005
2007-11-13 10:17:49 -05:00
Scott Wegner
467f103cb1 [svn-r14235] Purpose: Modify Windows project dependencies
Description:
Add toolslib(dll) as a dependency to h5import(dll), to support the new -V flag.  This needed to be done in each of our 3 solution files.

Tested:
Only built, VS2005 and VS6
2007-11-05 09:13:31 -05:00
Scott Wegner
dcf8866b6a [svn-r14207] Purpose: Bring Windows up-to-date
Description:
-- Add new source files to Windows projects: H5Pdeprec.c, H5Pint.c, H5Ddbg.c, H5Dint.c
-- Add new h5dump XML tests to Windows test script

Tested:
VS2005 on WinXP
2007-10-17 09:26:50 -05:00
Scott Wegner
a6f5c79346 [svn-r14191] Purpose: Add Windows h5dump tests
Description: Add 4 new tests to the Windows h5dump test script.  See rev. 14182 and 14188 for details.

Tested:
VS2005 on WinXP
2007-10-08 09:32:45 -05:00
Scott Wegner
302830e601 [svn-r14179] Purpose: Update windows h5dump test script
Description:
A few more tests were added to the Linux h5dump test script-- this brings Windows up-to-date.

Tested:
VS2005 on WinXP
2007-10-03 15:14:48 -05:00
Scott Wegner
1d80caa692 [svn-r14166] Purpose: Update Windows command-line build scripts
Description:
This updates the command-line build process to handle structural changes we've made in the HDF5 project files.  Also, we add support for two new options:
/fort   - to build Fortran libraries
/useenv - to allow users to specify include and libpath directories on the command line as well.

Also updated documentation to reflect these change.

Tested:
VS2005 on WinXP
2007-10-01 11:08:11 -05:00
Scott Wegner
1a332eb5a2 [svn-r14149] Purpose: Add new source files to Windows projects
Description:
Two new files, h5rdeprec.c and h5rpkg.h were added to the Windows HDF5 projects.

Tested:
VS2005, build only.
2007-09-17 09:18:20 -05:00
Scott Wegner
15d118faed [svn-r14142] Purpose: Add files forgotten in yesterday's checkin
Description:
In my large checkin yesterday, I forgot to add a few Windows project files that were renamed.  This should bring the MANIFEST up to date.

Tested:
Will use chkmanifest after commit
2007-09-11 08:10:22 -05:00
Scott Wegner
d2818a17e8 [svn-r14140] Purpose: Fix typo from last checkin
Description:
There was a minor typo in the Windows test script for h5copy.  It was actually causing us to do extra work, so this checkin should make the test slightly more efficient, without breaking anything.

Tested:
VS2005 on WinXP
2007-09-10 16:01:49 -05:00
Scott Wegner
43bb1ba8e5 [svn-r14138] 2007-09-10 14:14:08 -05:00
Scott Wegner
2f47d558d1 [svn-r14099] Purpose: Fix Windows libtest_cstubdll output directory
Description:
Previously, the libtest_cstubdll project was creating the DLL in the project directory, rather than the Output directory.  This was a simple typo, and not caught previously because past builds had the DLL installed.  Cleaning up our batch files will make this easier to catch in the future.

Tested:
VS2005 on WinXP x64
2007-08-22 09:56:39 -05:00