Commit Graph

10623 Commits

Author SHA1 Message Date
Pedro Vicente Nunes
0e1432a18f [svn-r15307] moved testfiles from hl/tools/testfiles to hl/tools/gif2h5/testfiles
tested: linux
2008-07-02 08:54:35 -05:00
Pedro Vicente Nunes
cc7d722bba [svn-r15306] check in a working beta version that only processes HDF5 images
tested: linux, windows
2008-07-01 14:24:20 -05:00
Scott Wegner
5c0aa56c83 [svn-r15303] Purpose: Minor typo in Windows documentation (zlib DLL directory)
Description:
When specifying library search path in Visual Studio, use the DLL folder for zlib.  Previously we pointed to the "lib" folder, which was causing confusion.
2008-06-30 15:12:16 -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
Raymond Lu
0df059935c [svn-r15299] A modification of the changes made in last commit. The problem was that H5Tpack didn't act
correctly with nested compound datatype.  This code is better.

Tested on smirom - simple change.
2008-06-30 14:02:44 -05:00
Pedro Vicente Nunes
49e63a3beb [svn-r15296] eliminate the automatic building of h52jpeg
tested: linux
2008-06-30 12:34:37 -05:00
Quincey Koziol
0286d971c7 [svn-r15294] Description:
Switch from H5Tarray_create -> H5Tarray_create2 to avoid problem when
building with v16 APIs.

Tested on:
    Eyeballed (5 min before daily tests... :-)
2008-06-28 23:55:48 -05:00
Quincey Koziol
c9c701d0d8 [svn-r15293] Description:
Remove tools/h52jpeg from configure.in & run bin/reconfigure on kagiso
2008-06-28 23:49:09 -05:00
Pedro Vicente Nunes
cb7a01f5ce [svn-r15292] moved h52jpeg to /hl/tools/h52jpeg
tested: linux
2008-06-28 16:06:35 -05:00
Pedro Vicente Nunes
e31678c3a2 [svn-r15291] Implementation of generating more use cases (datasets of several types) for the test generator program and file
Implementation of transforming 2D datasets with integer and float classes to 8bit acceptable by the jpeg library.

tested: windows, linux
2008-06-27 14:15:53 -05:00
Raymond Lu
8776008f66 [svn-r15290] H5Tpack didn't act correctly with nested compound datatype. The new size of the type in the
inner nest wasn't passed to the outer nest.  This has been fixed.

Tested on kagiso, linew, smirom.
2008-06-27 13:46:32 -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
Pedro Vicente Nunes
a0dbf6ec46 [svn-r15280] code cleaning (for some reason svn has been duplicating blocks of code) 2008-06-25 16:12:17 -05:00
Pedro Vicente Nunes
88982c9301 [svn-r15279] more code cleaning 2008-06-25 16:08:48 -05:00
Pedro Vicente Nunes
604810e35c [svn-r15278] code cleaning and comments 2008-06-25 16:02:02 -05:00
Pedro Vicente Nunes
301c5fd218 [svn-r15277] added code for reading an image type from the command line
added a new test run for the shell script with image name specified

tested: windows, linux
2008-06-25 15:44:51 -05:00
Pedro Vicente Nunes
640e7a9bab [svn-r15276] added the code for using an image name from the command line
tested: windows, linux
2008-06-25 14:49:31 -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
Pedro Vicente Nunes
6429a086cf [svn-r15260] new location for h5copy files 2008-06-23 09:21:29 -05:00
Scott Wegner
25f247fda7 [svn-r15254] Purpose: Remove ttsafedll project from default build.
Description:
Somehow, the ttsafedll project was setup to build by default in Visual Studio .NET project files.  This causes build errors when the HDF5_EXT_PTHREAD variable isn't defined or the pthreads library path isn't setup.  It should be disabled by default.

Tested:
VS.NET on WinXP
2008-06-20 11:34:32 -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
Pedro Vicente Nunes
efc8bb49b3 [svn-r15251] Moved all h5copy testfiles from /tools/testfiles to tools/h5copy/testfiles
tested: linux
2008-06-20 10:44:45 -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
Pedro Vicente Nunes
fee6ae24aa [svn-r15248] new location for h5repack files 2008-06-20 09:24:04 -05:00
Pedro Vicente Nunes
91a0ec7b08 [svn-r15247] Moved all h5repack testfiles from /tools/testfiles to tools/h5repack/testfiles
tested: linux
2008-06-20 09:17:16 -05:00
Pedro Vicente Nunes
096b0127bc [svn-r15246] Changed the shell script to avoid doing a cd $srcdir
The name of the files are now given by its full name relative to $srcdir

To avoid the printing of the complete full path of the test file, that hides
all the other parameters for long paths, the printing of the command line 
is done first in TESTING with the name only of the test file, not its full path 

the printing in the expected output that had the file name was removed as well as 3 tests that tested error messages in which the file name was present

tested: linux (in 2 different build directories relative to $srcdir), solaris
2008-06-19 21:05:11 -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
5bb358b012 [svn-r15240] Purpose: Fix ohdr Windows timezone bug
Description:
On Windows, certain users were having trouble with the "ohdr" test, which does some processing on object header messages.  The errors were hard to reproduce on our machines, and we eventually determined that the errors were timezone-specific.

The bug is triggered on Windows when processing timestamps very near the "Epoch" (midnight on 1/1/1970)-- the mktime() function does some automatic adjustment on the time to correct for timezones.  In the USA, the correction adds a few hours; in Europe, it subtracts, thus giving us times pre-Epoch.

This only affects Windows because the Windows mktime() function cannot handle times before 1970-- other systems seemingly can.

The fix is to simply create timestamps only as early as 01/02/1970.  This way, any timezone adjustment will still be post-Epoch.

This bug only affects the ohdr test, and shouldn't be a problem in the library.  The earliest timestamps that will actually be read will be around the time HDF5 was created (~1996-7, per Quincey).

Tested:
VS2005 on WinXP
h5committest (kagiso, linew, smirom)
2008-06-19 13:46:24 -05:00
Pedro Vicente Nunes
83ddc834f4 [svn-r15238]
Moved all h5diff testfiles from /tools/testfiles to tools/h5diff/testfiles

Tested: linux, solaris
2008-06-19 10:34:12 -05:00
Scot Breitenfeld
b98dea5cf1 [svn-r15233] Description:
Added the function h5tget_native_type and associated
requirements.
2008-06-18 14:53:28 -05:00
Quincey Koziol
922a109192 [svn-r15227] Description:
Small clean up of datatype copying.

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.5.3 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2008-06-17 15:01:52 -05:00
Pedro Vicente Nunes
b7ef9f5e56 [svn-r15225] added a function that calls the jpeg library and writes a jgeg file for each HDF5 image
tested: windows, linux
2008-06-17 10:32:39 -05:00
Quincey Koziol
f7b050a66d [svn-r15224] Description:
Clean up a few more compiler warnings.

Tested on:
	FreeBSD/64 6.2 (liberty)
2008-06-17 06:06:36 -05:00
Pedro Vicente Nunes
3fd9711f62 [svn-r15223] new testfile location for h52jpeg 2008-06-16 21:03:23 -05:00
Pedro Vicente Nunes
fb81baa62c [svn-r15222] moved the h52jpeg testfiles location from /tools/testfiles to /tools/h52jpeg/testfiles
updated the shell script accordingly

tested: linux
2008-06-16 21:01:24 -05:00
Pedro Vicente Nunes
e5f8c52f06 [svn-r15220] new files for h52jpeg 2008-06-16 15:32:48 -05:00
Pedro Vicente Nunes
0df34ad232 [svn-r15219] added a test file and a test script
for now, the test script just calls the tool binary with the command line parameters, with no special
checking of the accuracy of the output contents (jpeg files)

tested: linux
2008-06-16 15:28:52 -05:00
Pedro Vicente Nunes
8d914f5a3e [svn-r15218] new test files for h52jpeg 2008-06-16 10:13:10 -05:00
Pedro Vicente Nunes
f5553240b8 [svn-r15217] added a HDF5 file generator program that reads 2 realistic images from ASCII files, a true color and a gray color image
the HDF5 file generated is used by h52jpeg to generate jpeg images

tested: windows
2008-06-16 10:11:44 -05:00
Pedro Vicente Nunes
48007db46b [svn-r15216] added code for the jpeg library to be linked in linux systems
for now, just added "-ljpeg" to the list of libraries, until a permanent solution is added to configure --with-jpeg= that would allow users to specify their own jpeg libary

tested: linux (kagiso, that has a jpeg library installed)
2008-06-16 10:06:27 -05:00
HDF Tester
e736ed88c4 [svn-r15215] Snapshot version 1.9 release 7 2008-06-15 05:26:51 -05:00
Quincey Koziol
8e4793bf31 [svn-r15213] Description:
Fix gcc 4.2 flag that was put in gcc 4.1 section

Tested on:
	Eyeballed & man pages
2008-06-13 07:27:00 -05:00
Quincey Koziol
97b6832023 [svn-r15211] Description:
Update the gcc flags for version 4.3

	Clean up warnings

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.5.3 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2008-06-12 23:52:22 -05:00
Quincey Koziol
97e6dc5d87 [svn-r15208] Description:
Add a "HDcompile_assert" macro for assertions that can/should be checked
at compile time, as opposed to run time.  (And used it for a couple of simple
cases, to begin)

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.5.3 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2008-06-12 12:51:58 -05:00
Pedro Vicente Nunes
5ad6d8c34c [svn-r15190] added code to read datasets, concatenate output names
tested: windows
2008-06-10 15:59:30 -05:00
Quincey Koziol
d0abcaaa0f [svn-r15188] Description:
Avoid leaking memory when copying the internal "shared" struct for
a named datatype when it's already been opened earlier.

Tested on:
        FreeBSD/32 6.2 (duty) in debug mode
        FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
        Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
                                in debug mode
        Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
                                in production mode
        Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
                                in production mode
        Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
                                w/szip filter, in production mode
        Mac OS X/32 10.5.3 (amazon) in debug mode
        Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
2008-06-10 12:23:52 -05:00
Mike McGreevy
9c6cbe9b10 [svn-r15187] Purpose: Disabling h52jpeg directory from being built while issues surrounding
its location and its dependencies are worked out.

Tested: kagiso
2008-06-10 10:27:57 -05:00