summaryrefslogtreecommitdiffstats
path: root/windows
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r15301] Purpose: Support Intel Visual Fortran 10.1 from Visual Studio ↵Scott Wegner2008-06-302-20/+62
| | | | | | | | | | | | and Windows command line Description: Modify Windows documentation to support Intel Visual Fortran 10.1. We have tested it in our Virtual machines, and have fixed the problems we were encountering. Also, add a new parameter to the hdf5build.BAT and hdf5bt.BAT build scripts to support IVF 10.1. Tested: VS2005 with IVF 9.1 and 10.1 on 32-bit XP
* [svn-r15288] Purpose: Project Cleanup / Support directories with spacesScott Wegner2008-06-274-32/+32
| | | | | | | | | | Description: On Windows, we manage dynamically-generated code through "post-build" steps in Visual Studio. However, the command for it wasn't checking to see if the code already existed, so it was re-generating in each build (and thus re-generating all dependencies). To overcome, we simply check if the source file exists before generating it. Also, put all paths inside quotes so we can handle directory names with spaces. Tested: VS2005 on WinXP
* [svn-r15286] Purpose: Fix project settings for Intel Fortran 10.1Scott Wegner2008-06-271-14/+14
| | | | | | | | Description: A typo in the project output file name was causing Intel Fortran 10.1 to crash. The output file was set to "$(OutDir)\hdf5_fortranddll.dll " (three trailing spaces). IVF 9.1 ignored this error and continued gracefully. However, IVF 10.1 would simply crash. With this fix, we can now build on IVF 10.1 (so far..) Tested: VS2008 w/ IVF 10.1 on WinXP
* [svn-r15283] Fixed bug 1155, added fillval.c back to windows test file, ↵Neil Fortner2008-06-261-4/+1
| | | | | | other minor cleanup in fillval.c. Tested: kagiso (parallel), smirom, linew
* [svn-r15273] Purpose: Disable fillval test on WindowsScott Wegner2008-06-251-1/+4
| | | | | | | | | | | Description: The fillval test uses random input to test various fill cases. Certain boundary cases cause the test to fail, which produces sporadic errors on Windows. There is a bug filed for the issue here: http://bugzilla.hdfgroup.uiuc.edu/show_bug.cgi?id=1155 We will disable the test until the bug is fixed. Tested: None, simply disabled.
* [svn-r15252] Purpose: Update h5copy script on WindowsScott Wegner2008-06-201-1/+1
| | | | | | | | Description: Simply change the "infiles" to use new testfiles directory Tested: VS2005 on WinXP
* [svn-r15250] Purpose: Update Windows h5repack test scriptScott Wegner2008-06-201-6/+3
| | | | | | | | Description: More syntax changes for testfiles directory. This updates Windows for the neccessary changes as well. Tested: VS2005 on WinXP
* [svn-r15249] Purpose: Update Windows testing scriptScott Wegner2008-06-201-38/+112
| | | | | | | | Description: More updates were made to the h5diff test script structure. Specifically, the printing of output and how files are found in the actual test. This brings the changes to Windows as well. Tested: VS2005 on WinXP
* [svn-r15245] Purpose: Update h5diff test for new testfiles folderScott Wegner2008-06-191-5/+6
| | | | | | | | Description: The testfiles for h5diff were moved the a new folder, and the general script was updated. This checkin makes the minor changes neccessary for Windows to use the new folder. Tested: VS2005 on WinXP
* [svn-r15183] Purpose: _WIN32 macro cleanupScott Wegner2008-06-091-1/+2
| | | | | | | | | | Description: As part of our Windows cleanup, we try to remove windows-specific tweaks in the source code. There are many instances where Windows code is introduces via ifdef's. We re-evaluate whether they are still required, and found that many of them are not. Others we change to "feature"-specific code, rather than Windows-specific. Tested: VS2005 on WinXP VS.NET on WinXP h5committest (kagisopp, smirom, linew)
* [svn-r15153] Purpose: Add testhdf5_1_8fortran[dll] Windows projects as ↵Scott Wegner2008-06-051-388/+390
| | | | | | | | | | dependencies to all_fortran Description: The projects testhdf5_1_8fortran[dll] which test the new fortran features in HDF5 1.8 were not registered as dependencies to the "all_fortran" pseudo-project. As a result, the projects would not be built if you simply build all_fortran in Visual Studio, rather than "Build Solution". This is a very minor cleanup, but is neccessary to be consistent in our projects. Tested: VS2005 on WinXP x64
* [svn-r15150] Purpose: Separate Windows function macro definitions to win32defs.hScott Wegner2008-06-051-1/+1
| | | | | | | | | | | | | | Description: In library code, we try not to use system calls directly, but instead use the HD{function} macro instead. This way, we can map special versions of the call on particular systems. Previously, it was all done in H5private.h. However, in an effort to clean up platform-specific definitions, we move all of the Windows macros into a separate file, win32defs.h. This way, we can use the non-Posix versions that Visual Studio sends warnings about. Some macros are set specifically in the platform-specific header files. Then, any macros left unset will be set by the "default" implementation in H5private.h. This checkin also cleans up various source files to use the HD* macros when possible. Tested: VS2005 on WinXP VS.NET on WinXP h5committest (kagiso, linew, smirom)
* [svn-r15145] Purpose: Add new h5ls test to WindowsScott Wegner2008-06-051-0/+1
| | | | | | | | Description: A new test case was added to the general testh5ls script. This update adds the test to Windows as well. Tested: VS2005 on WinXP
* [svn-r15126] Purpose: Cleanup unneeded Windows sourceScott Wegner2008-06-027-691/+48
| | | | | | | | | | | | Description: Previously, we maintained some source files that are commonly generated dynamically on other systems. Now, we also generate them on Windows as well. We should remove them from the repository so old versions are not accidentally used. Also, clean up the project files to organize generator programs. Tested: VS2005 on WinXP VS2005 on WinXP x64 VS.NET on WinXP
* [svn-r15104] Purpose: Work around Windows FC bug in h5dump xml test scriptScott Wegner2008-05-301-5/+14
| | | | | | | | | | Description: In some rare instances, FC (diff equivalent) command on Windows will fail when comparing ASCII files with opposite line-ending formats (Unix uses LF, while Windows uses CRLF). This was an issue for one test case in our test script. It only came up when testing from a release tarball, because the expected output was not converted to Windows-style. In this situation, FC was reporting false differences. To workaround, we double-check failure cases and convert the EOL characters if neccessary. Tested: VS2005 on WinXP
* [svn-r15096] Purpose: Windows Project Cleanup-- Unify Windows h5tinitScott Wegner2008-05-291-2/+4
| | | | | | | | | | Description: Previously, there was Windows-dependent code inside H5detect.c, because not all projects could access the gethostname() function. However, we standardize our project-files to link with WS2_32.lib, so now this function is available. Thus, the Windows-specific code has been removed from H5detect.c. Tested: VS2005 on WinXP VS.NET on WinXP no need to test other platforms, Windows-specific source change
* [svn-r15094] Purpose: Cleanup Windows project files-- standardize program ↵Scott Wegner2008-05-29233-235/+235
| | | | | | | | | | | | | debug information Description: In our debug project configurations, many of the projects were generating debug information for "Program Database and Edit & Continue". Other projects were using different settings, or none at all. We standardize to use "Program Database" setting, because it generates much smaller .obj files and cuts out unnecessary debug information. This is another project cleanup and enhancement from user suggestions outlined in bug #1164 Tested: VS2005 on WinXP VS.NET on WinXP
* [svn-r15093] Purpose: Cleanup Windows project files-- remove ignored system ↵Scott Wegner2008-05-29113-972/+972
| | | | | | | | | | | library Description: In many of our project files on Windows, we have our linker setting set to ignore old link libraries-- either libc.lib or libcd.lib. This is a relic from converting project files from old versions of Visual Studio to newer ones, and is unnecessary. Per a user's suggestion, we remove the ignored library from the project files. This actually makes no difference in the output binaries. Tested: VS2005 on WinXP VS.NET on WinXP
* [svn-r15089] Purpose: Support Visual Studio .NET builds from command-lineScott Wegner2008-05-292-36/+88
| | | | | | | | | | | Description: In our Windows command-line build script, we now support building with Visual Studio .NET, although VS2005 is still the default. Building with VS.NET still imposes the same feature restrictions as through the IDE: -- 64-bit builds are unsupported -- Fortran is unsupported Tested: VS.NET on WinXP VS2005 on WinXP
* [svn-r15057] Purpose: Fix Windows project libtestdll module pathScott Wegner2008-05-211-12/+12
| | | | | | | | Description: The source file tf.f90 now produces a module error_handler.mod, which was being created in a wrong directory. As a result, Visual Studio couldn't find it, and building failed. This corrects the module path of libtestdll project. Tested: VS2005 on WinXP
* [svn-r15056] Purpose: Update Windows h5repack test scriptScott Wegner2008-05-211-2/+52
| | | | | | | | Description: Merge changes from 1.8 branch into trunk. New syntax and test added for "old syntax" Tested: VS2005 on WinXP
* [svn-r14993] Purpose: Add support for building 64-bit Windows binaries from ↵Scott Wegner2008-05-142-6/+30
| | | | | | | | | | | command line Description: We can dynamically detect the host architecture using the PROCESSOR_ARCHITECTURE variable. This allows us to setup our build paths accordingly and build 64-bit Windows binaries from the command line. This allows us to run autotests on 64-bit Windows as well. Tested: VS2005 on WinXP x64 VS2005 on WinXP x86
* [svn-r14980] Purpose: Update h5dump test script on WindowsScott Wegner2008-05-121-11/+16
| | | | | | | | Description: One test has been added to h5dump test for custom output formats. This adds the test on Windows as well. Tested: VS2005 on WinXP
* [svn-r14975] Purpose: Add Windows fixes for new Fortran code.Scott Wegner2008-05-128-381/+532
| | | | | | | | Description: There were a number of small tweaks we needed to make to add the new fortran_1_8 code on Windows. We create new project files, add new source to them, add the test to our test suite, and fix a few typos in the Windows-specific source code. Tested: VS2005 on WinXP
* [svn-r14923] Maintenance: This check-in merges changes from the fortran_1_8 ↵Elena Pourmal2008-05-032-0/+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
* [svn-r14903] Undoing change committed in r14902.Scot Breitenfeld2008-04-30276-4836/+17060
|
* [svn-r14902] Merged fortran_1_8 branch changes r14505:14901 into the trunk. ↵Scot Breitenfeld2008-04-30276-17060/+4836
| | | | New fortran wrappers added.
* [svn-r14867] Purpose: Add new source files to Windows projectsScott Wegner2008-04-282-0/+16
| | | | | | | | 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
* [svn-r14857] Purpose: Fix typo in Windows test scriptScott Wegner2008-04-211-2/+2
| | | | | | | | 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
* [svn-r14855] Purpose: Fix error message when with Windows pthreadsScott Wegner2008-04-211-27/+31
| | | | | | | | 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
* [svn-r14854] Purpose: Remove many spurious compiler warnings in Visual StudioScott Wegner2008-04-21183-2551/+2713
| | | | | | | | | | 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
* [svn-r14845] Purpose: Add new Windows batch script for building example projectsScott Wegner2008-04-141-0/+221
| | | | | | | | | | 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
* [svn-r14843] Purpose: Fix link input in Windows HL Fortran examplesScott Wegner2008-04-143-31/+33
| | | | | | | | | | 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
* [svn-r14841] Purpose: Fix Windows Fortran examples runtime librariesScott Wegner2008-04-1428-532/+532
| | | | | | | | | | 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
* [svn-r14839] Purpose: Add new Windows macro for links testScott Wegner2008-04-141-0/+4
| | | | | | | | 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
* [svn-r14838] Purpose: Remove ohdr_gentst from Windows projectsScott Wegner2008-04-143-481/+0
| | | | | | | | 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
* [svn-r14836] Purpose: Remove English-specific code from Windows test scriptsScott Wegner2008-04-1411-18/+19
| | | | | | | | | | | 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
* [svn-r14817] Purpose: Add new Windows project chunk_info[dll]Scott Wegner2008-04-084-0/+776
| | | | | | | | | 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
* [svn-r14768] Purpose: Remove spurious szip link directory in h5repack debug ↵Scott Wegner2008-03-241-2/+2
| | | | | | | | | | 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
* [svn-r14717] Purpose: Remove commented test in h5dump test scriptScott Wegner2008-03-101-3/+2
| | | | | | | | 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
* [svn-r14695] Purpose: Fix typo in Windows install fileScott Wegner2008-03-031-1/+1
| | | | | | | | 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
* [svn-r14673] Purpose: Allow building Fortran libraries from the Windows ↵Scott Wegner2008-02-251-1/+1
| | | | | | | command line Tested: VS2005 on WinXP
* [svn-r14667] Purpose: Update Windows h5import test scriptScott Wegner2008-02-251-17/+36
| | | | | | | | 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
* [svn-r14608] Purpose: Add missing Windows HL C examplesScott Wegner2008-02-1933-45/+11345
| | | | | | | | | 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
* [svn-r14605] Purpose: Rename Windows HL Example projects to match other ↵Scott Wegner2008-02-1813-311/+325
| | | | | | | | | | | | | 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
* [svn-r14603] Purpose: Add hdf5 library as a dependency to hdf5_hl library in ↵Scott Wegner2008-02-182-664/+670
| | | | | | | | | | | | | 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
* [svn-r14599] Purpose: Fix very minor typo in Windows h5import test scriptScott Wegner2008-02-181-1/+1
| | | | | | | | 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
* [svn-r14596] Purpose: Allow for better logging in Windows commandline build ↵Scott Wegner2008-02-181-3/+44
| | | | | | | | | | 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
* [svn-r14553] Purpose: Minor cleanup of Windows installation scriptsScott Wegner2008-02-122-184/+334
| | | | | | | | Description: Make the Windows copy_hdf.bat a little cleaner/safer, and produce useful output in installhdf5lib.bat Tested: VS2005 on WinXP
* [svn-r14459] Purpose: Small patch to Windows install scriptScott Wegner2008-01-251-2/+2
| | | | | 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.