Commit Graph

184 Commits

Author SHA1 Message Date
Scott Wegner
0dd254246c [svn-r15287] 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:26:41 -05:00
Scott Wegner
0b5f34bfa6 [svn-r15160] 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 16:39:30 -05:00
Scott Wegner
1c63211301 [svn-r15152] 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:56:23 -05:00
Scott Wegner
8953ecfe9d [svn-r15120] Purpose: Ignore Windows POSIX-Depreciation warnings in Visual Studio 2005
Description:
On Windows, we receive many compiler warnings because Microsoft has implemented many "security-enhanced" versions of POSIX functions.  However, the old versions still exist, so the warnings can be ignored.  By setting a preprocessor definition, we can disable many of these warnings.  On a typical HDF5 build, this reduces the number of warnings from ~1500 to ~600

Tested:
VS2005 on WinXP
2008-06-02 11:14:56 -05:00
Scott Wegner
c65d5ffe8d [svn-r15118] Purpose: Backport Windows project cleanup from trunk: remove ignored system library, standardize program debug information, and unify Windows h5tinit
Description:
These changes are made via a user's suggestion, bugzilla bug #1164.  These have all been tested in the trunk, and are stable/favorable changes.

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.  We remove the ignored library from the project files.  This actually makes no difference in the output binaries.

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.

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
2008-06-02 10:36:55 -05:00
Scott Wegner
475ce84ae6 [svn-r14986] 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 16:31:45 -05:00
Scott Wegner
c954ba63a4 [svn-r14868] 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:
VS.NET on WinXP
2008-04-28 09:09:50 -05:00
Scott Wegner
b6fc679940 [svn-r14844] 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:32:39 -05:00
Scott Wegner
ac378bcfb1 [svn-r14837] 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:15:03 -05:00
Scott Wegner
b4bae33f23 [svn-r14820] Purpose: Disable ohdr_gentst project by default on Windows.
Description:
The ohdr_gentst project exists to dynamically generate the test files for ohdr test, which also exist in the repository.  The test is only run on other platforms when the configure flag --enable-build-all is specified.  Moreover, the source code ohdr_gentst.c is marked as _DO_NO_DISTRIBUTE_ in the MANIFEST.

As a result, there was a problem in the release tarball that the Windows projects would fail when trying to build this project.  To correct this, we no longer build this by default.  We will also need to release a FAQ/patch for the HDF5 1.8.0 release.

Tested:
VS2005 on WinXP
2008-04-08 15:10:41 -05:00
Scott Wegner
711f06f2ea [svn-r14604] Purpose: Backport of Windows project updates from trunk
Description:
Add hdf5 library as a dependency to hdf5_hl library in Windows project files

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:26:29 -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
MuQun Yang
b801393937 [svn-r13140] Added a new batch file to test error APIs
Tested 1.6 compatibility feature: work for vs studio 6.0
Corrected several small bugs inside tool batch files
Add a few project files to test error APIs
2007-01-12 16:13:48 -05:00
MuQun Yang
50926c2ae9 [svn-r13131] UPdated windows project files because of the new files checked in. 2007-01-10 08:32:52 -05:00
MuQun Yang
371e2dda53 [svn-r13081] Updated libary project files.
test_cpp didn't pass compiling. C and Fortran are fine.

Compilers: VS 6.0 Compaq Visual fortran 6.6c.
2006-12-20 10:29:29 -05:00
MuQun Yang
cd1d21dff7 [svn-r13077] HDF5 library project updates due to the adding of new source code. 2006-12-19 14:26:27 -05:00
MuQun Yang
6bf1f234f2 [svn-r13055] update library and DLL project files on windows.
All C tests get passed with VS6.0.
2006-12-12 14:13:59 -05:00
MuQun Yang
7e646125f2 [svn-r13018] H5Omessage.c has been added. Updated the windows project files. 2006-12-04 10:12:42 -05:00
MuQun Yang
53ad5729c4 [svn-r13017] Update windows project files for hdf5 library.
Tested on windows vs 6.0.
2006-12-04 09:47:49 -05:00
MuQun Yang
1b16195060 [svn-r12993] Update windows project files to reflect the recent library change. 2006-11-28 21:02:18 -05:00
MuQun Yang
10c0ac6e1e [svn-r12964] Update windows project files for the library.
Update batch files for h5repack test,needs big efforts.
Update batch file to test hdf5 library.
2006-11-21 16:31:32 -05:00
MuQun Yang
b20353bb63 [svn-r12945] update windows DLL. 2006-11-19 17:09:10 -05:00
MuQun Yang
54df14ca1e [svn-r12944] Update windows project files for static library 2006-11-19 17:08:34 -05:00