Commit Graph

834 Commits

Author SHA1 Message Date
Scott Wegner
21134e48e1 [svn-r13916] Purpose: Fix MinGW inconsistency
Description:
Windows does not accept the buffer size parameter of setvbuf to be less than 2.  Previously, we had our fix split between two files, H5private.h and the Windows H5pubconf.h.  This was a problem for MinGW, because it generates its own H5private.h.  This moves the fix out of H5pubconf.h and into H5private.h.

This shouldn't affect other platforms.

Tested:
MinGW on WinXP
2007-06-26 11:23:59 -05:00
Scott Wegner
5e7acfed72 [svn-r13873] Purpose: Code cleanup
Description:
Changed a macro in H5FDwindows.c from IO_BUF_SIZE to a more specific WINDOWS_MAX_BUF, and moved it to our H5pubconf.h, where users can customize it to their own preference.  

This value is needed because of a bug in the Windows _write function, it is unsafe to write buffers larger than 2GB-1 bytes in one write.

Tested:
VS2005 on WinXP.
2007-06-18 13:19:56 -05:00
Scott Wegner
71c91c6e85 [svn-r13868] Updated the Windows static h5pubconf.h to use our new Windows file driver by default. After thorough testing, we think the windows driver is ready to be included.
I've also updated our Windows documentation file to include 64-bit instructions.  The process is fairly tedious right now, but we hope to make it more straight-forward when we depreciate 6.0 and re-work our project files.

Tested:
32-bit WinXP: VS6, VS.NET, and VS 2005
64-bit WinXP: VS.NET and VS 2005
2007-06-15 11:19:16 -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
3045853b76 [svn-r13852] Added includes in various places to make it possible to set windows as the default vfd. Although sec2 is still default on Windows, it should now be possible to switch by simply changing H5pubconf.h .
Tested:
.NET 2003 on WinXP
2007-06-11 17:27:07 -05:00
Scott Wegner
e2cf0e5f62 [svn-r13851] Further updates to our Windows file driver to make it compatible with both .NET and VS2005.
Still needs extensive testing before it's ready.
2007-06-11 14:16:55 -05:00
Scott Wegner
012fc7d83b [svn-r13834] Addition work on the Windows file driver for 64-bit compatibility, as well as making it compatible for .NET 2003 and VS 6.0. Defined additional macros in H5pubconf.h.
Note that these changes are still not built by default, so shouldn't affect anyone else.

Tested:
VS2005 on WinXP
2007-06-05 10:24:10 -05:00
Scott Wegner
3e1d49f1ec [svn-r13830] Updating our locally-maintained H5pubconf.h for Windows to define the H5_CLEAR_MEMORY macro introduced in rev. 13815.
Tested:
VS2005 on WinXP
2007-06-04 10:51:39 -05:00
Scott Wegner
5aacf74f24 [svn-r13824] Added new Windows low-level file driver. Eventually, this will replace sec2 as the default driver on Windows. However, it still needs some work right now, and is currently not set to build by default.
Tested:
Visual Studio 2005 (still fails a few tests)
2007-05-31 14:01:44 -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
4d5673c3c0 [svn-r13785] Initial update to fix test failures caused by Linux test script update (rev 13775). More work needs to be done to incorporate the new tests.
Tested:
VS6 on Win XP
2007-05-22 13:16:15 -05:00
Scott Wegner
51dcf997dc [svn-r13776] Added Windows project file for new example project (rev 13702). Updated test scripts and MANIFEST accordingly.
Tested:
VS6 on WinXP
2007-05-21 15:04:22 -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
a27b1b6e31 [svn-r13712] Various changes made to bring Windows example tests up to date.
Tested:
VS 2005 on Win XP
2007-04-30 16:36:54 -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
159fe4b610 [svn-r13667] Added Windows hl test script for gif2hf and h52gif testing to bring up to date with Linux. Updated MANIFEST for new file added.
Tested:

VS6 on Windows XP
2007-04-15 11:01:38 -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
a644ba9fd0 [svn-r13620] Old source file readhdf.c removed from Windows project files h52gif and h52gifdll.
Tested:
VS6 and VS2005 on WinXP
2007-04-09 16:16:54 -05:00
Scott Wegner
493be71eb1 [svn-r13611] Removed old source file h5_trav_table.c from Windows project files toolslib and toolslibD.dsp
Tested:
VS6.0 on Windows XP
2007-04-07 20:33:59 -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
d3bd0649ed [svn-r13519] Updated h5dump Windows test script to bring it up to date with Linux.
Tested:
Visual Studio 6.0 on Windows XP
2007-03-16 13:11:56 -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
465bc848fe [svn-r13423] Changed Windows h5diff test file /tools/difftest.BAT to work with reverted naming scheme of test files (.txt rather than .wri)
Tested:
Visual Studio 6.0 on Windows XP
2007-02-27 15:29:33 -05:00
Scott Wegner
71285e804f [svn-r13412] Updated Windows h5diff test script /tools/difftest.bat to reflect changes to test files and added tests.
Tested:
VS6.0 on Windows XP
2007-02-27 10:38:32 -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
Albert Cheng
46a8a795f8 [svn-r13262] Added missing copyright notices.
Tests: just visual inspection as these are just remarks.
2007-02-07 16:55:13 -05:00
Albert Cheng
26b908439d [svn-r13258] Updated copyright notice in Windows batch files. 2007-02-07 13:28:45 -05:00
Albert Cheng
42f1acfcd7 [svn-r13256] Updated fortran source code with new THG copyright.
Tested: kagiso.
2007-02-07 12:55:01 -05:00
Albert Cheng
ed7d456e51 [svn-r13253] Updated all C and C++ style source code files with the THG copyright notice.
Tested platform:
Kagiso only since it is only a comment block change.  If it works in one
machine, it should work in all, I hope.  Still need to check the parallel
build on copper.
2007-02-07 09:56:24 -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
0b49961db7 [svn-r13165] Since not all windows machines have sed, we turn off error API tests by default.
Developers may perform tests periodically.
2007-01-22 15:32:33 -05:00
MuQun Yang
b6bd503a59 [svn-r13154] Forgot checking in new error API test project files. 2007-01-18 15:37:49 -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
9f55ae114e [svn-r12947] update h5repack project files on windows.
It is very hard to maintain the frequent changed h5repack tool on windows.
2006-11-19 17:11:22 -05:00
MuQun Yang
878a9e1740 [svn-r12946] Update testhdf5 project files 2006-11-19 17:09:51 -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
MuQun Yang
8d5ea6dde8 [svn-r12881] updated the batch file a little to reflect the testing position of ref. 2006-11-08 12:27:31 -05:00