Commit Graph

195 Commits

Author SHA1 Message Date
Scott Wegner
fdfb8cf2a0 [svn-r15815] Purpose: Add new source code and tests to Windows
Description:
Many new source files were added from the freespace branch.  This checkin adds the code to Windows as well.

Note: Some tests are still failing on Windows, but this checkin brings us closer to fixing them.  In particular, freespace test fails on compile (Quincey is working on it), and the DLL links test fails at runtime (I'll look into it)

Tested:
VS2005 on WinXP
2008-10-08 11:01:43 -05:00
Scott Wegner
87a508cd00 [svn-r15789] Purpose: Add new source file, H5EAsblock.c, to Windows
Description:
The source file H5EAsblock.c was recently added to svn.  This checkin also adds it into our Windows project files.

Note that it hasn't been included in the Visual Studio .NET projects.  We are discontinuing our support for Visual Studio .NET in the trunk so we can use C99 features not available in Visual Studio .NET.  From this point forward, the Visual Studio .NET projects won't be maintained, and will likely be deleted before the 1.10 release.
2008-10-06 14:07:16 -05:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
43bb1ba8e5 [svn-r14138] 2007-09-10 14:14:08 -05:00
Scott Wegner
2ab6b11aaf [svn-r14093] Purpose: Convert Windows projects to VS2005 format and support 64-bit Fortran
Description:
This checkin is another Windows project cleanup, and also extends our Windows support for 64-bit Fortran.  Project files are now in VS2005 format, rather than VS.NET.  A couple projects have been renamed to be more descriptive (*cstub rather than *_lib), and project settings make better use of build macros.  This will make them much easier to update in the future.

Tested:
VS2005 on WinXP 32-bit
VS2005 on WinXP x64
2007-08-16 13:28:20 -05:00
Scott Wegner
20be26bdc6 [svn-r14057] Purpose: Fixes for 64-bit Windows Intel Fortran 9.1
Description:

We are porting Fortran to 64-bit Windows, and need to make many syntactical changes to bring the code up to date.  We now go back to using "!DEC$" rather than "!MS$" in our "ATTRIBUTE" code.  Also, the naming conventions for mixed language is inconsistent from 32- to 64- bit Windows.  To make up with this, we use the "decorate" flag.  We also needed to change the "calling convention" in project settings from "CVF" to "default".

Also other minor cleanups on project files.

Tested:
32-bit: VS.NET and VS2005
64-bit: VS2005
2007-08-09 09:04:05 -05:00
Scott Wegner
e2477c8d0b [svn-r14036] Purpose: Fix Windows debug DLL naming scheme
Description:
At a previous seminar, it was brought up that the naming scheme for Windows debug DLL is inconsistent.  Specifically, some use *ddll, while others use *dlld.  *dlld is more widely-used, so we decided this is "correct".  This changes others to use this scheme, and adapts other projects / install scripts / documentation.

Tested:
Visual Studio .NET on WinXP
2007-08-03 09:44:44 -05:00
MuQun Yang
76cf163f96 [svn-r14019] Update windows project files for .Net to reflect Quincey's new source code check-in. Tested on .Net and VS 6.0. 2007-07-26 09:08:59 -05:00
Scott Wegner
00b5ba099e [svn-r13981] Purpose: Windows catchup
Description:
- Add new source file H5version.h to Windows projects
- Add new h5stat tests, and uncomment one that no longer fails
- Clean up autotests a little bit.

Tested:
VS.NET on WinXP
2007-07-16 11:50:07 -05:00
Scott Wegner
0b0c229df9 [svn-r13929] Purpose: Add source to Windows projects
Description:
Added new H5WB.c and H5WBprivate.h files to our Windows .NET / 6.0 project files.

Tested:
VS.NET on WinXP
2007-06-29 17:31:17 -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
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
6ea2260ea7 [svn-r13799] Applying Windows Fortran-specific patches suggested in Bug #879. This checkin takes care of the first two, I will look at the last one today.
Tested:
Visual Studio 2005 on WinXP
2007-05-23 09:14:53 -05:00
Scott Wegner
1726061075 [svn-r13752] Added an include to the ohdr testfile generator code to fix an issue with Visual Studio. I've also turned this project on by default in Windows.
Tested:
VS6 on WinXP
kagiso
2007-05-14 13:50:54 -05:00
Scott Wegner
8829cafe90 [svn-r13734] Added new source files (from rev. 13721) to Windows project files.
Note: ohdr_gentst currently fails on Windows, and is disabled by default.  I'm working with Quincy to get this fixed.

Tested:
VS6 on WinXP
2007-05-05 11:03:35 -05:00
Scott Wegner
9844f91b17 [svn-r13710] Added Fortran dependencies to Windows project files, and updated documentation to reflect changes.
Tested:
Visual Studio 2005 on WinXP
2007-04-30 14:16:50 -05:00
Scott Wegner
c8f12172f1 [svn-r13649] Updated Windows project files hdf5.dsp and hdf5dll.dsp to include new source files.
Tested:
VS6 on WinXP
2007-04-12 16:23:16 -05:00
Scott Wegner
00f32db756 [svn-r13536] Added source files to Windows C++ test project files. Both testhdf5_cpp.dsp and testhdf5_cppdll.dsp received:
./c++/test/tcompound.cpp
./c++/test/ttypes.cpp
./c++/test/tfilter.cpp
./c++/test/tvlstr.cpp

Also, fixed a declaration in ttypes.cpp that was causing a compile error in MSVS6.0.

Tested:
Visual Studio 6.0 on WinXP
kagiso
too minor for h5committest
2007-03-22 14:45:33 -05:00
Scott Wegner
01f50118c0 [svn-r13504] Added new source file H5Orefcount.c to Windows project files hdf5.dsp and hdf5dll.dsp
Tested:
MSVS6.0 on Win XP
2007-03-12 14:17:40 -05:00
Scott Wegner
7b065df159 [svn-r13478] Added new source file H5Oainfo.c to Windows project files hdf5.dsp and hdf5dll.dsp.
Tested:
Visual Studio 6.0 on Windows XP
2007-03-08 15:39:27 -05:00
Scott Wegner
1a644892a4 [svn-r13462] Updated Windows project files to include new source files:
H5Obtreek.c and H5Odrvinfo.c in hdf5.dsp and hdf5dll.dsp
h5repack_ref.c in h5repack.dsp, h5repackdll.dsp, and h5repacktst.dsp.

Tested:
Visual Studio 6.0 on Windows XP
Visual Studio 8.0 on Windows XP 64-bit
2007-03-05 17:20:25 -05:00
Scott Wegner
154a2ac0dc [svn-r13336] Updated all.sln, which is generated by Visual Studio 2005 and is used only for Windows autotests. 2007-02-19 15:52:34 -05:00
Scott Wegner
5e5fd1e940 [svn-r13322] Added new Windows project file, h5mkgrp for new tool, and updated all.dsw workspace to include it. 2007-02-16 14:57:56 -05:00
Scott Wegner
535d29a726 [svn-r13249] Modified hdf5.dsp and hdf5dll.dsp to include H5Oshmesg.c which was added in revision 13246. 2007-02-06 16:14:25 -05:00