Commit Graph

154 Commits

Author SHA1 Message Date
HDF Tester
25c18830ce [svn-r16044] Snapshot version 1.9 release 22 2008-11-09 06:20:52 -05:00
HDF Tester
cbd9d87f75 [svn-r16018] Snapshot version 1.9 release 21 2008-11-02 06:54:52 -05:00
HDF Tester
d5913fd08f [svn-r15953] Snapshot version 1.9 release 20 2008-10-26 06:00:24 -05:00
Raymond Lu
5deed723e5 [svn-r15943] Changed the library's macros H5_USE_16_API to H5_USE_16_API_DEFAULT avoid possible conflict wi
th user's definition of H5_USE_16_API.  The H5_USE_16_API_DEFAULT is defined through
configure with the flag --with-default-api-version=v16.

Tested with h5committest.
2008-10-24 14:12:21 -05:00
HDF Tester
94c2902fc5 [svn-r15713] Snapshot version 1.9 release 19 2008-09-28 04:57:24 -05:00
HDF Tester
dcd4c0b049 [svn-r15667] Snapshot version 1.9 release 18 2008-09-21 09:08:35 -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
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
HDF Tester
529585c757 [svn-r15565] Snapshot version 1.9 release 15 2008-08-31 06:28:09 -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
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
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
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
994669e01a [svn-r14839] Purpose: Add new Windows macro for links test
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
2008-04-14 10:46:03 -05:00
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
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
Fang Guo
9aa8b4aa67 [svn-r12187] Purpose:
Maintenance on Windows
Description:
Update H5Tinit.c
Solution:

Platforms tested:
Windows XP
Misc. update:
2006-03-31 17:06:17 -05:00
MuQun Yang
36dda5514c [svn-r12141] Purpose:
portable issue on windows

Description:
setvbuf on visual studio 2005 needs the size to be greater or equal to 2.
<description of setvbuf from msdn library>
Buffer size in bytes. Allowable range: 2 <= size <=
INT_MAX (2147483647). Internally, the value supplied
for size is rounded down to the nearest multiple of 2.

h5import used linebuffer option of setvbuf for stderr and stdout and the size is
0 by default. This causes core dump with visual 2005 on windows 64-bit.

Solution:
1. Use HDsetvbuf inside h5import.c,
2. Define HDsetvbuf inside windows H5pubconf.h for windows to work around
   the core dump of h5import test. This is probably a bug inside visual studio 2005.


Platforms tested:
h5commit(shanti is down)
VS 6.0 on windows XP
VS 8.0 on windows XP-64bit
Misc. update:
2006-03-22 21:32:21 -05:00
Fang Guo
0d008c805c [svn-r11752] Purpose: Maintenance on Windows
Files updates due to the difference of copyright information
Description:

Solution:

Platforms tested:

Misc. update:
2005-12-02 10:50:05 -05:00
Fang Guo
e2f0e6a176 [svn-r11727] Purpose:
Maintenance on Windows
Description:
Comment out H5_HAVE_ATTRIBUTE on windows
Solution:

Platforms tested:

Misc. update:
2005-11-15 16:14:04 -05:00
Fang Guo
42a87cc9a9 [svn-r11666] Purpose:
Add in copyright notice
Description:

Solution:

Platforms tested:

Misc. update:
2005-11-01 14:15:15 -05:00
Fang Guo
54662429c3 [svn-r11663] Purpose:
Add copyright notice
Description:

Solution:

Platforms tested:

Misc. update:
2005-11-01 14:09:05 -05:00
Pedro Vicente Nunes
d09ca66a26 [svn-r11448] Purpose:
new features

Description:

add support for compiling the library and testphdf5 in Windows


Solution:

Platforms tested:
Linux
AIX
Solaris
Windows VC6

Misc. update:
2005-09-21 08:41:09 -05:00
Fang Guo
c8da2c7fdc [svn-r11407] Purpose:
Maintenance on Windows
Description:
Changes made for windows due to the change of h5detect.c
Solution:

Platforms tested:
MSVS 6.0, VS .Net, Intel 8.0 on Windows XP
Misc. update:
2005-09-13 14:13:42 -05:00
Fang Guo
ae138025bb [svn-r11368] Purpose:
Maintenance on Windows
Description:
Add definition for int <-> float conversion exception
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-09-07 17:17:04 -05:00
Fang Guo
7cd3b94df2 [svn-r11287] Purpose:
Maintenance on Windows
Description:
Fix typoes
H5_HAVE__SNPRINTF should be H5_HAVE_SNPRINTF
Solution:

Platforms tested:

Misc. update:
2005-08-22 13:57:50 -05:00
Fang Guo
a1e557eae3 [svn-r11271] Purpose:
Maintenance
Description:
Add some comments for future thread safe use on windows
Solution:

Platforms tested:

Misc. update:
2005-08-19 15:12:22 -05:00
Fang Guo
3bf0e04aa3 [svn-r11250] Purpose:
Maintenance on Windows
Description:
Add #define H5_HAVE_TMPFILE
Solution:

Platforms tested:

Misc. update:
2005-08-15 17:55:29 -05:00
Fang Guo
234b1830c5 [svn-r10990] Purpose:
Add new macro to remove data conversion errors on visual c++ .Net on windows XP
Description:

Solution:

Platforms tested:
Visual C++ .Net 2003 on windows XP
Misc. update:
2005-06-24 17:06:32 -05:00
Fang Guo
d732cb46bd [svn-r10799] Purpose:
Update H5pubconf.h
Description:

Solution:

Platforms tested:

Misc. update:
2005-05-25 16:04:08 -05:00
Quincey Koziol
55f8e19fc7 [svn-r10699] Purpose:
Code cleanup

Description:
    Switch name & logic from H5_LLONG_TO_FP_CAST_BROKEN to
H5_LLONG_TO_FP_CAST_WORKS, to better match the rest of the library.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-04-29 15:31:29 -05:00
MuQun Yang
c1e2a4b00f [svn-r10665] Purpose:
One dtransform test failed with Intel 8.1 C++ compiler.
Turned off the test with assertion of a macro.

Description:

Solution:

Platforms tested:
Intel C++ 8.1 on .Net 2003.

Misc. update:
2005-04-26 10:53:33 -05:00
MuQun Yang
7946059021 [svn-r10655] Purpose:
Supper 12-byte long double for intel compiler.

Description:
Long double is 12-byte at intel compiler, currently we always set long double to 8-byte.
Change this for intel compiler. This is not the compelete change. H5Tinit.c needs also to be changed to support this.

Solution:

Platforms tested:
Not test yet, since it won't affect other compilers except intel, will test soon.

Misc. update:
2005-04-25 11:47:52 -05:00
MuQun Yang
4260605b14 [svn-r10654] Purpose:
long_long to long_long data transform doesn't work with intel compiler on windows.

Description:
Turned off this test.


Solution:
Need corresponding source code changes, will talk with Leon.

Platforms tested:
VS. Net 2003 + Intel 8.1


Misc. update:
2005-04-25 11:39:39 -05:00
Fang Guo
a2c0a9bde9 [svn-r10650] Purpose:
Update header file for windows.
Description:

Solution:

Platforms tested:

Misc. update:
2005-04-22 17:08:06 -05:00
MuQun Yang
c645c5ce0d [svn-r10566] Purpose:
FOrtran is using macro FC_FUNC or H5_FC_FUNC
Has to update windows H5pubconf.h to be consistent with the
change.

Description:

Solution:

Platforms tested:

VS 6.0 on windows
Misc. update:
2005-04-06 18:47:30 -05:00
Fang Guo
60ad9bc65c [svn-r10521] Purpose:
Update windows misc file.
Description:

Solution:

Platforms tested:

Misc. update:
2005-03-31 13:53:02 -05:00