Commit Graph

951 Commits

Author SHA1 Message Date
Scott Wegner
02156246da [svn-r15675] Purpose: Add new source file H5EAdblock.c to Windows.
Description:
New source file H5EAdblock.c was added to the library.  This checkin adds the file to our Windows projects, hdf5 and hdf5dll (VS2005 and VS.NET project files)

Tested:
Build only, VS2005 on WinXP
2008-09-22 11:35:25 -05:00
HDF Tester
dcd4c0b049 [svn-r15667] Snapshot version 1.9 release 18 2008-09-21 09:08:35 -05:00
Scott Wegner
8dd19b5db5 [svn-r15661] Purpose: Add szip/zlib link dependencies to Windows earray[dll] projects
Description:
earray[dll] builds were failing on Windows because of missing link dependencies to szip and zlib libraries (amongst other reasons).  This checkin adds those dependencies.
2008-09-19 12:15:22 -05:00
Scott Wegner
82f30910c2 [svn-r15659] Purpose: Fix Windows Fortran DLL definitions file
Description:
We recently moved the Windows-specific fortran source code into a separate file for specifying DLL exports.  However there were a couple definitions missing in the port from 1.8 to the trunk branch.  This checkin correctly includes the .def file into our Windows project, and adds the missing definitions to hdf5_fortrandll.def.

Tested:
VS2005 on WinXP
2008-09-19 11:06:47 -05:00
Neil Fortner
c254b0bc27 [svn-r15656] Purpose: fix bug 1286
Description: Added configure test to see if pointer alignment restrictions are enforced (as in dereferencing an unaligned pointer causes an error).  Added code in H5Tvlen.c to avoid dereferencing unaligned pointers, conditionally compiled based on the configure test.  Added test case in dtypes.c which would previously cause such machines to fail.

Tested: kagiso, smirom, linew (h5committest); linew64
2008-09-18 15:53:30 -05:00
Scott Wegner
036aa878b0 [svn-r15639] Purpose: Check for __func__ keyword during configure
Description:
In some of the new H5EA* code, many new C99 features are being used.  Most of them are portable to all compilers, but the __func__ keyword in particular isn't supported in Visual Studio on Windows.  Instead, Windows defines the __FUNCTION__ keyword, which can be used as a direct substitute.

We now check for the __func__ keyword during configure and define the feature flag H5_HAVE_C99_FUNC.  There was previously a check for __FUNCTION__, and the feature flags H5_HAVE_FUNCTION.  In H5EApkg.h, we check for the presents of each of these in order to see which to use.  If neither are avaiable, fail.

Tested:
h5committest (kagiso, smirom, linew)
2008-09-17 09:04:35 -05:00
Scott Wegner
876844988a [svn-r15622] Purpose: Add new source files to Windows projects
Description:
This checkin adds the following source files to our Windows projects:
 -- H5EAiblock.c
 -- H5EAstat.c
 -- H5EAdbg.c
2008-09-15 10:09:10 -05:00
HDF Tester
63042260d9 [svn-r15619] Snapshot version 1.9 release 17 2008-09-14 05:39:04 -05:00
HDF Tester
e43736b22b [svn-r15595] Snapshot version 1.9 release 16 2008-09-07 07:52:03 -05:00
Scott Wegner
8dea24602d [svn-r15588] Purpose: Add new h5repack tests to Windows
Description:
New h5repack tests were added in revision 15551 and 15557, and also the syntax of one test was changed.  This was causing errors on Windows.  This checkin should fix those errors.

Tested:
VS2005 on WinXP
2008-09-03 10:59:59 -05:00
Scott Wegner
de2091c7cd [svn-r15585] Purpose: Use H5test_kind_SIZEOF.f90 rather than H5test_kind.f90 in Windows
Description:
A new version of H5test_kind is safer for platforms that support sizeof.  We have replaced H5test_kind.f90 with it on Windows
2008-09-03 10:39:07 -05:00
Scott Wegner
779b0a7dfb [svn-r15584] Purpose: Add new extensible array source code and test project for Windows
Description:
In revision 15549, new source code was added for the extensible array interface.  This checkin adds the source code to Windows, along with the new test project, earray.

Note: The new H5EA interface causes compilation errors on Windows, and will need to be fixed in the source.
2008-09-03 10:09:10 -05:00
HDF Tester
529585c757 [svn-r15565] Snapshot version 1.9 release 15 2008-08-31 06:28:09 -05:00
Scott Wegner
7d451b6fbc [svn-r15546] Purpose: Add new Fortran source file
Description:
There is a new Fortran file, H5_DBLE_InterfaceInclude.f90, which needs to be added to Windows.  There is also another version, *InterfaceExclude.f90, which is for users that build with the -r8 flag.  However, we don't include this on Windows, as it is not currently a common option.  If we get requests from users, we can add documentation for using this alternative interface.

Tested:
VS2005 w/ IVF9.1 on WinXP
2008-08-27 10:39:05 -05:00
Scott Wegner
769daf5479 [svn-r15524] Purpose: Add new h5repack test to Windows
Description:
There was one new h5repack test added recently.  This commit also adds it to the Windows test script

Tested:
VS2005 on WinXP
2008-08-25 09:51:54 -05:00
Scott Wegner
6533abcb99 [svn-r15503] Purpose: Add new app_ref test to Windows projects
Description:
A new test program, app_ref, was added to the source and configure script.  We need to make special Windows project files for static and DLL versions of the test, and also VS2005 and VS.NET versions.  Finally, include the new test in our script

Tested:
VS2005 on WinXP
2008-08-21 11:41:49 -05:00
HDF Tester
709c81d710 [svn-r15476] Snapshot version 1.9 release 14 2008-08-17 08:40:56 -05:00
HDF Tester
44941d6ff6 [svn-r15455] Snapshot version 1.9 release 13 2008-08-10 11:47:38 -05:00
Scott Wegner
e47c44c04a [svn-r15438] Purpose: Bring the Windows H5pubconf.h up-to-date
Description:
This commit is a major update to the Windows-maintained H5pubconf.h file.  This file is statically-distributed because Windows cannot generate it dynamically as other platforms do.  Previously, our Windows version contained a minimal subset of the macro definitions required.  To update, I've gone through each macro (based on kagiso's output), and tested for the correct value on Windows.  This allows us to better target code based on feature flags.  It should also be easier to update in the future as changes are made to the configure script.

This commit also contains one small bug fix in h5ls.c.  Some Windows-specific code was missing a local variable definition.  The bug went unnoticed because Windows didn't define the feature flag correctly.

I've also made changes to the h5vers script.  Whenever the version string is incremented (automatically by h5test after a snapshot), the strings in H5pubconf.h will also be updated.

Tested:
VS2005 on WinXP (32- and 64-bit)
VS.NET on WinXP 32-bit
h5vers tested under Cygwin
2008-08-06 12:18:47 -05:00
Scott Wegner
90aa3cb287 [svn-r15430] Purpose: Update Windows test script for new h5diff option: -c
Description:
A new parameter was added to h5diff recently.  We add a new test to the h5diff script, and change the syntax in which h5diff is called from the h5repack test script

Tested:
VS2005 on WinXP
2008-08-04 16:50:37 -05:00
Scott Wegner
40e8b8321e [svn-r15324] Purpose: Update h5jam Windows test for new testfiles directory
Description:
The testfiles directory moved, so we need to update test script on Windows.  This should fix the Windows daily-test errors from the weekend.

Tested:
VS2005 on WinXP
2008-07-07 09:05:56 -05:00
Scott Wegner
2b50ce6983 [svn-r15312] Purpose: Support Visual Studio 2008 on Windows
Description:
Write documentation for building HDF5 with the latest version of Visual Studio, 2008.  The process is very similar to building with Visual Studio 2005, but with an automatic project-file conversion beforehand.

Also adapt commandline build scripts for Visual Studio 2008 as well.

Tested:
VS2008 on WinXP
2008-07-02 14:40:00 -05:00
Scott Wegner
e662641a45 [svn-r15310] Purpose: Update Windows gif2h5 test script for new testfiles directory
Tested:
VS2005 on WinXP
2008-07-02 10:06:09 -05:00
Scott Wegner
4f7f681c42 [svn-r15301] Purpose: Support Intel Visual Fortran 10.1 from Visual Studio 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
2008-06-30 14:13:27 -05:00
Scott Wegner
ef6ebe54bb [svn-r15288] Purpose: Project Cleanup / Support directories with spaces
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
2008-06-27 11:44:00 -05:00
Scott Wegner
77dcf36b44 [svn-r15286] Purpose: Fix project settings for Intel Fortran 10.1
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
2008-06-27 11:23:24 -05:00
Neil Fortner
a8011f4136 [svn-r15283] Fixed bug 1155, added fillval.c back to windows test file, other minor cleanup in fillval.c.
Tested: kagiso (parallel), smirom, linew
2008-06-26 10:50:13 -05:00
Scott Wegner
9af47aaa13 [svn-r15273] Purpose: Disable fillval test on Windows
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.
2008-06-25 10:14:05 -05:00
Scott Wegner
e93a678613 [svn-r15252] Purpose: Update h5copy script on Windows
Description:
Simply change the "infiles" to use new testfiles directory

Tested:
VS2005 on WinXP
2008-06-20 11:24:10 -05:00
Scott Wegner
e0232fd960 [svn-r15250] Purpose: Update Windows h5repack test script
Description:
More syntax changes for testfiles directory.  This updates Windows for the neccessary changes as well.

Tested:
VS2005 on WinXP
2008-06-20 10:17:47 -05:00
Scott Wegner
c55692001f [svn-r15249] Purpose: Update Windows testing script
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
2008-06-20 09:57:06 -05:00
Scott Wegner
01c7dab76e [svn-r15245] Purpose: Update h5diff test for new testfiles folder
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
2008-06-19 17:13:22 -05:00
Scott Wegner
7a92820e35 [svn-r15183] Purpose: _WIN32 macro cleanup
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)
2008-06-09 13:41:29 -05:00
Scott Wegner
831a42daa0 [svn-r15153] Purpose: Add testhdf5_1_8fortran[dll] Windows projects as 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
2008-06-05 14:57:51 -05:00
Scott Wegner
532e23b808 [svn-r15150] Purpose: Separate Windows function macro definitions to win32defs.h
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)
2008-06-05 13:52:19 -05:00
Scott Wegner
5ae2a199d6 [svn-r15145] Purpose: Add new h5ls test to Windows
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
2008-06-05 10:13:34 -05:00
Scott Wegner
cfb75e1f7f [svn-r15126] Purpose: Cleanup unneeded Windows source
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
2008-06-02 15:28:18 -05:00
Scott Wegner
56caada315 [svn-r15104] Purpose: Work around Windows FC bug in h5dump xml test script
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
2008-05-30 10:54:14 -05:00
Scott Wegner
ebd6e8a9c6 [svn-r15096] Purpose: Windows Project Cleanup-- Unify Windows h5tinit
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
2008-05-29 14:19:30 -05:00
Scott Wegner
735967fb12 [svn-r15094] Purpose: Cleanup Windows project files-- standardize program 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
2008-05-29 13:53:31 -05:00
Scott Wegner
15024258cb [svn-r15093] Purpose: Cleanup Windows project files-- remove ignored system 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
2008-05-29 12:45:36 -05:00
Scott Wegner
9cc6eeb7e8 [svn-r15089] Purpose: Support Visual Studio .NET builds from command-line
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
2008-05-29 09:42:26 -05:00
Scott Wegner
80b71590a8 [svn-r15057] Purpose: Fix Windows project libtestdll module path
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
2008-05-21 12:38:06 -05:00
Scott Wegner
75f21172fb [svn-r15056] Purpose: Update Windows h5repack test script
Description:
Merge changes from 1.8 branch into trunk.  New syntax and test added for "old syntax"

Tested:
VS2005 on WinXP
2008-05-21 10:39:29 -05:00
Scott Wegner
86790dab74 [svn-r14993] Purpose: Add support for building 64-bit Windows binaries from 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
2008-05-14 09:46:44 -05:00
Scott Wegner
60f752301d [svn-r14980] Purpose: Update h5dump test script on Windows
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
2008-05-12 15:36:01 -05:00
Scott Wegner
2fd80deb4d [svn-r14975] Purpose: Add Windows fixes for new Fortran code.
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
2008-05-12 13:14:12 -05:00
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