Commit Graph

10027 Commits

Author SHA1 Message Date
Quincey Koziol
579284f422 [svn-r14144] Description:
Move H5Gget_objinfo() to deprecated symbols section and retarget
internal usage to H5Lget_info()/H5Oget_info().

	Misc. other code cleanups...

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	AIX/32 5.3 (copper)
	Solaris/32 2.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-09-13 10:44:56 -05:00
Scott Wegner
15d118faed [svn-r14142] Purpose: Add files forgotten in yesterday's checkin
Description:
In my large checkin yesterday, I forgot to add a few Windows project files that were renamed.  This should bring the MANIFEST up to date.

Tested:
Will use chkmanifest after commit
2007-09-11 08:10:22 -05:00
Scott Wegner
df281766f2 [svn-r14141] Purpose: Update Windows testing documentation
Description:
There are minor changes in the testing process for Windows with the new test scripts.  Specifically, the test output is output to the screen, rather than redirected into files, by default.  Also, it is much easier to test parts modularly, and installing DLLs is one step, instead of separated batch files.

Tested:
None, only documentation changed.
2007-09-10 16:10:20 -05:00
Scott Wegner
d2818a17e8 [svn-r14140] Purpose: Fix typo from last checkin
Description:
There was a minor typo in the Windows test script for h5copy.  It was actually causing us to do extra work, so this checkin should make the test slightly more efficient, without breaking anything.

Tested:
VS2005 on WinXP
2007-09-10 16:01:49 -05:00
Quincey Koziol
1ce44ed19c [svn-r14139] Description:
Minor edits to clean up code.

Tested on:
    FreeBSD/32 6.2 (duty)
2007-09-10 14:59:38 -05:00
Scott Wegner
43bb1ba8e5 [svn-r14138] 2007-09-10 14:14:08 -05:00
Quincey Koziol
33efca34cb [svn-r14137] Description:
Correct name used for checking objects to operate on for h5repack,
exposed by recent traversal routine changes.

Tested on:
	Solaris/32 5.10 (linew) w/szip
2007-09-07 14:08:07 -05:00
Quincey Koziol
3bed870363 [svn-r14136] Description:
Move H5Gget_num_objs() and several minor macros, etc. to deprecated
symbols section, replacing it with H5Gget_info().

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	AIX/32 5.3 (copper)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-09-06 10:54:22 -05:00
Quincey Koziol
3eb8c81b80 [svn-r14134] Description:
Cast usage of hsize_t variable as array index into size_t.

Tested on:
	Linux/32 2.6 (kagiso) w/PGU compilers
2007-08-31 14:55:43 -05:00
Quincey Koziol
e4f358746f [svn-r14133] Description:
Fix naming change for FORTRAN symbol: H5G_LINK_ERROR -> H5L_TYPE_ERROR

Tested on:
	Solaris/32 5.10 (linew)
2007-08-31 14:53:03 -05:00
Quincey Koziol
5c35e64c8a [svn-r14132] Description:
Regenerate the h5diff_types.h5 file, which had somehow gotten mangled
in some earlier checkin (prior to ~2-3 days ago, at least).

	Clean up formatting a bit also..

Tested on:
	Mac OS X/32 10.4.10 (amazon)
2007-08-30 15:34:13 -05:00
Quincey Koziol
a4069db8f4 [svn-r14131] Description:
Move H5Giterate() and H5G_iterate_t to deprecated symbols section,
replacing them with H5Literate and H5L_iterate_t respectively.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	AIX/32 5.3 (copper)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-08-30 15:03:37 -05:00
Quincey Koziol
1374654210 [svn-r14130] Description:
Correct typo in FORTRAN wrapper for retrieving the comment for an object

Tested on:
	FreeBSD/64 6.2 (liberty)
2007-08-30 08:57:40 -05:00
Quincey Koziol
c50c23d387 [svn-r14129] Description:
Add H5O{set|get}_comment routines, which were overlooked before.

	Move H5G{set|get}_comment routines to deprecated code section,
replacing internal calls with H5O{set|get}_comment.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
	AIX/32 5.3 (copper)
	Mac OS X/32 10.4.10 (amazon)
2007-08-30 08:55:10 -05:00
Quincey Koziol
926a033b13 [svn-r14128] Description:
Correct typo in error returned from H5G_open_name() routine.

Tested on:
	FreeBSD/32 6.2 (duty)
2007-08-30 05:09:03 -05:00
Quincey Koziol
71d6bffdd7 [svn-r14127] Description:
Move H5Gget_linkval to deprecated symbol section and replace with
H5Lget_val for internal calls.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-08-29 18:37:41 -05:00
Quincey Koziol
db3c155bf2 [svn-r14126] Description:
Move H5Gunlink to deprecated symbol section, replacing internal calls
with H5Ldelete.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-08-29 15:44:19 -05:00
Quincey Koziol
a4c8e8fd56 [svn-r14125] Description:
Correct another typo in return value on error FAIL -> NULL

Tested on:
	FreeBSD/32 6.2 (duty)
2007-08-29 08:22:58 -05:00
Quincey Koziol
ea7b995476 [svn-r14124] Description:
Fix typo H5Gopenw -> H5Gopen2

Tested on:
	FreeBSD/32 6.2 (duty)
2007-08-29 08:19:57 -05:00
Quincey Koziol
bc07e61d29 [svn-r14123] Description:
Move H5Gmove2() to deprecated code section, replacing it with H5Lmove()
in the source code.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-08-28 17:45:23 -05:00
Quincey Koziol
cae55b647d [svn-r14122] Description:
Move H5Gmove() to deprecated code section, replacing with H5Lmove()
in source files.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-08-28 17:30:13 -05:00
Quincey Koziol
518e0ede77 [svn-r14121] Description:
Correct a couple of swapped parameters for creating soft links.

Tested on:
	FreeBSD/64 6.2 (liberty)
2007-08-28 16:49:12 -05:00
Quincey Koziol
74ceb182bd [svn-r14120] Description:
Move H5Glink2 to deprecated routines section.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-08-28 16:31:57 -05:00
Quincey Koziol
1b488cbc14 [svn-r14119] Description:
Fix typo in FORTRAN wrapper for H5Glink.

Tested on:
	FreeBSD/64 6.2 (liberty) w/FORTRAN
2007-08-28 15:10:21 -05:00
Quincey Koziol
d329016e66 [svn-r14118] Description:
Fix inverted link parameters in setup() routine.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Solaris/32 5.10 (linew)
2007-08-28 14:53:40 -05:00
Quincey Koziol
a84811bfb8 [svn-r14117] Description:
Move H5Glink() into "deprecated routines" section, replacing internal
usage with H5Lcreate_hard/H5Lcreate_soft.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Solaris/32 5.10 (linew)
2007-08-28 14:47:00 -05:00
Quincey Koziol
2785c61b8d [svn-r14116] Description:
Fix error in end_obj() macro to make it safer in situations without
enclosing braces.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
2007-08-28 10:21:59 -05:00
Quincey Koziol
ea343ef854 [svn-r14115] Description:
Remove all plain calls to H5Gopen() from source, replacing them with
either H5Gopen2().

	Add test for H5Gopen1().

	Reformatted several pieces of code, to clean them up.

Tested on:
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
	Mac OS X/32 10.4.10 (amazon)
2007-08-28 10:02:54 -05:00
Scott Wegner
eb16d8bc2b [svn-r14114] Purpose: Fix a subtle Windows bug in h5unjam
Description:
In h5unjam.c, there was a call to "open", rather than "HDopen".  This isn't a problem on most platforms, as the are equivalent.  However, on Windows, we use the HDopen macro to unconditionally set the O_BINARY flag.  This is needed to safely seek within a file.

Tested:
VS2005 on WinXP
h5committest (kagiso linew smirom)
2007-08-27 17:35:50 -05:00
Quincey Koziol
f3926484ce [svn-r14112] Description:
Avoid file size queries/comparisons when using core VFD.

Tested on:
	FreeBSD/32 6.2 (duty) w/core VFD
2007-08-24 13:41:29 -05:00
MuQun Yang
18c30d67ed [svn-r14110] Document MPI-IO compiler problem on tungsten. 2007-08-24 12:56:36 -05:00
Quincey Koziol
51073136ce [svn-r14109] Description:
Make certain to define the API function and typedef version macros
in all situations.

Tested on:
	FreeBSD/32 6.2 (duty)
	Mac OS X/32 10.4.10 (amazon)
2007-08-23 18:19:18 -05:00
Quincey Koziol
14ce8811f7 [svn-r14108] Description:
Make version macro for typedefs closer to version macro for API
functions.

Tested on:
        FreeBSD/32 6.2 (duty)
        FreeBSD/64 6.2 (liberty)
        Linux/32 2.6 (kagiso)
        Linux/64 2.6 (smirom)
        Solaris/32 5.10 (linew)
2007-08-23 17:40:22 -05:00
Quincey Koziol
63eb5b9ebb [svn-r14104] Description:
Pursue calls to H5Gcreate() relentlessly and ruthlessly exterminate
them, leaving only a few tame specimens in text files and comments.  ;-)

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
2007-08-23 15:25:25 -05:00
Raymond Lu
3183d38231 [svn-r14103] A user reported that the files generated from Lex and Yacc in the library conflict with his application with Lex and Yacc. To solve the problem of multiple definitions of Lex or Yacc functions or variables, use the -P or -p command option to change the prefix of these functions and variables from yy to H5LTyy.
Tested on kagiso, linew, smirom.
2007-08-23 14:28:40 -05:00
Quincey Koziol
f7db09fb3d [svn-r14101] Description:
Change definition of H5E_walk1_t compatibility type to match the H5E_walk_t
type in the 1.6.x library.

Tested on:
    Mac OS X/32 10.4.10 (amazon)
    Too minor to require commit test
2007-08-23 07:54:50 -05:00
Scott Wegner
2f47d558d1 [svn-r14099] Purpose: Fix Windows libtest_cstubdll output directory
Description:
Previously, the libtest_cstubdll project was creating the DLL in the project directory, rather than the Output directory.  This was a simple typo, and not caught previously because past builds had the DLL installed.  Cleaning up our batch files will make this easier to catch in the future.

Tested:
VS2005 on WinXP x64
2007-08-22 09:56:39 -05:00
Quincey Koziol
10dcf4b0e1 [svn-r14098] Description:
Clean up a few remaining API compatibility issues in the H5E API for
parallel configurations

Tested on:
	FreeBSD/64 6.2 (liberty) w/parallel
2007-08-21 16:47:41 -05:00
Quincey Koziol
cdd4606430 [svn-r14097] Description:
First real use of API versioning code, H5E routines switched to use
new API versioning scheme.

Tested on:
	Mac OS X/32 10.4.10 (amazon)
	FreeBSD/32 6.2 (duty)
	FreeBSD/64 6.2 (liberty)
	Linux/32 2.6 (kagiso)
	Linux/64 2.6 (smirom)
	Solaris/32 5.10 (linew)
2007-08-21 16:08:27 -05:00
Raymond Lu
6262a14f2e [svn-r14096] There're 3 changes in this checkin as below:
1. In H5Dwrite and H5Dread, let the data buffer point to a fake address if the application passes
     in an empty buffer.  This is mainly for MPIO programs that some processes may not have any 
     data to write or read but still participate the I/O.  This solution solves some MPI's problem
     like the ChaMPIon on tungsten which doesn't support empty buffer.
  2. The ChaMPIon on tungsten doesn't support complex derived MPI data type correctly and collective
     I/O when some processes don't have any data to write or read correctly.  Detect the compiler
     "cmpicc" in the system-specific config file and set the variables for these two cases to false.
     The PHDF5 library already has set up a way to switch collective chunked I/O to independent 
     under these two cases.
  3. A bug fix - During the work of the optimization for compound data I/O, the case for switching
     collective chunked I/O to independent I/O was leftout.  Fixed it by adding I/O caching to it in
     H5D_multi_chunk_collective_io in H5Dmpio.c.

Tested on tungsten, cobalt, and kagiso for parallel; on linew and smirom for serial.
2007-08-20 16:55:38 -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
Quincey Koziol
92bdaa7d0f [svn-r14086] Description:
Correct error in metadata cache entry logic for free space objects, where
a free space header could unpin its entry in the cache, even when the sections
for that free space manager were still in the cache and technically holding the
header pinned.  Fix problem by checking for the section info in the cache
before allowing the header to unpin its cache entry.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 10.4.10 (amazon)
    Linux/32 2.6 (chicago)
    Linux/64 2.6 (chicago2)
2007-08-14 13:41:40 -05:00
Quincey Koziol
665366d499 [svn-r14085] Description:
Refactor H5HF_size() size statistics code for fractal heap to conform to
how the rest of the fractal heap routines work.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 10.4.10 (amazon)
2007-08-14 11:04:42 -05:00
Quincey Koziol
7de10b4833 [svn-r14084] Description:
Change metadata cache protect access from "write" to "read" for the free
space header, which follows the same pattern as the fractal heap's use of
the metadata cache.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 10.4.10 (amazon)
2007-08-14 10:08:04 -05:00
Quincey Koziol
4dc989f282 [svn-r14083] Description:
Correct problem with fractal heap's free space size usage gathering
routine, which was "poisoning the cache" by loading an incorrectly initialized
piece of metadata from the file.

Tested on:
    FreeBSD/32 6.2 (duty)
    Mac OS X/32 6.2 (amazon)
2007-08-14 08:33:14 -05:00
Quincey Koziol
abd36a6f6e [svn-r14082] Description:
Fix bug with moving object header messages forward into null messages
of exactly the same size and located in an object header chunk with a gap.
(Exposed by netCDF-4 test)

Tested on:
	FreeBSD/32 6.2 (duty)
2007-08-13 23:56:54 -05:00
Albert Cheng
7e654daa46 [svn-r14081] revised it. 2007-08-13 17:52:49 -05:00
Quincey Koziol
42501313e3 [svn-r14073] Description:
Re-order several switch statements to match the ordinal numbering of
enumerated types.

Tested on:
	None - too simple to require
2007-08-10 15:50:46 -05:00
Pedro Vicente Nunes
af6284d92d [svn-r14071]
typo fix in usage message

tested: linux
2007-08-10 14:48:48 -05:00
Pedro Vicente Nunes
5dbef50ba5 [svn-r14069] typo fix in usage message
tested: linux
2007-08-10 14:35:31 -05:00