Commit Graph

4709 Commits

Author SHA1 Message Date
Albert Cheng
cdad459b70 [svn-r6461] Updated. 2003-03-05 06:48:13 -05:00
Albert Cheng
fe6d6071fa [svn-r6459] Purpose:
Minor purpose correction and updated Copyright notice to include 2003
Platforms tested:
    None tested.  All changes are comments.
2003-03-04 18:38:29 -05:00
Albert Cheng
b0bcccf0ee [svn-r6457] Purpose:
new feature
Description:
    Added a force mode (-force) which turns off prompting, just do it.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}? no
    [If no, why not?] It is just a shell script.  Tested it in eirene.
Misc. update:
    Will check in the updated RELEASE and document files.
2003-03-04 18:06:13 -05:00
MuQun Yang
b1caacbbf5 [svn-r6453]
Purpose:
     bug fix
Description:
To avoid warning of defined macro FUNCTION at .NET, _MSC_VER should be used instead of MSC_VER.
Solution:
change MSC_VER to _MSC_VER,furthermore, to avoid future warning,
change MSC_VER == 1300 to _MSC_VER >=1300
Platforms tested:
windows 2000,windows xp(no need to test on other platforms).
Misc. update:
2003-03-03 16:10:48 -05:00
Quincey Koziol
1083071530 [svn-r6452] Purpose:
Code cleanup

Description:
    Add B-tree node debugging routine for symbol table nodes (i.e. groups)

Platforms tested:
    FreeBSD 4.7 (sleipnir)
2003-03-03 15:06:29 -05:00
MuQun Yang
5585643bb3 [svn-r6449]
Purpose:
1.update windows release doc related to the addition of semi-automatic generated H5Tinit.c project and workspace files.
2. Make the doc more clear.
Description:
1. H5Tinit.c was manually maintained before and it might affect the users who wants to build and test from HDF5 snapshot release.
2. Make sure that we are supporting .Net only on XP and also emphasize to DLL users to the DLL critical section of the doc.

Solution:
1. Add a section for those users to semi-auto generate H5Tinit.c.
Platforms tested:
Doc files, no need to test.
Misc. update:
2003-03-03 11:17:07 -05:00
MuQun Yang
3c23f31e6b [svn-r6448]
Purpose:
   update project files, bug fix and new feature added on windows

Description:
1. bug fix
 the maually-maintained H5Tinit.c on windows gave the wrong information of the size of
data type long double due to inconsistent description of the long double at MSDN. After testing with
a real case, find the long double is treated as double on windows. The size is 8 bytes. Previously it
was set to 12.
 The alignment information of struct is missed in the old H5Tinit.c.
2. Project files updated
With the Quincey's new additions, Project files hdf5, hdf5dll,testhdf5,testhdf5dll are modified.
Add several test project files on windows, they are ntypes,ntypesdll,file_handle,file_handledll,
getname, getnamedll, set_extent and set_extentdll.
3. New features
H5Tinit.c can be automatically generated from H5detect.c. Adding a workspace and a project file
for users who may build and test HDF5 snapshotes.

Solution:
1. Use automatic-generated H5Tinit.c to replace the manually maintained H5Tinit.c
This automatic-generated H5Tinit.c has been confirmed the same on windows XP and windows 2000.

Platforms tested:
windows 2000,(since the files changed are windows specified *.zip files, it will not affect
non-windows platforms).
Only update projects all-withf90.zip without building and testing due to upcoming modification of fortran projects by
Elena.
2003-03-03 11:10:13 -05:00
HDF Admin
da3fd8f6d6 [svn-r6446] Snapshot version 1.5 release 48 2003-03-01 07:19:28 -05:00
Elena Pourmal
00cb0fc995 [svn-r6443]
Purpose:
    Bug fix
Description:
    Added tests for enumeration types.
Platforms tested:
    modi4, artabica, eirene
2003-02-27 16:29:09 -05:00
Elena Pourmal
86c1f6a750 [svn-r6442]
Purpose:
    Bug fix
Description:
    Enumeration datatype was broken in Fortran
Solution:
    Fixed C wrapper functions to pass variables correctly from
    Fortran to C layer.
Platforms tested:
    modi4, arabica, eirene
2003-02-27 16:28:01 -05:00
Pedro Vicente Nunes
478d199a62 [svn-r6441] Purpose:
h5diff bugs and enhancements
Description:

  added checking for not comparable datatypes
  added checking for the same dimensionality
  changed the functionality of -n option, to check up to n reported differences
  changed the formula for -p to relative error with absolute value
  fixed a bug on solaris, related to printf integer format (int datatype)

Platforms tested:
    w2000, linux, solaris
2003-02-27 14:51:44 -05:00
Quincey Koziol
3b6e9ff03c [svn-r6440] Purpose:
Bug fix.

Description:
    -O2 -finline-functions still causes production builds on eirene to fail.

Solution:
    Downgrade optimization on gcc 2.95.x (x<3) to -O -finline-functions

Platforms tested:
    Linux 2.2 (eirene)
2003-02-27 07:26:27 -05:00
Quincey Koziol
55a42d534a [svn-r6439] Purpose:
Bug fix w/gcc 2.95.x where x<3

Description:
    -O3 optimization level causes problems for gcc 2.95.2 on eirene

Solution:
    Only enable -O3 if using gcc 2.95.x (where x>=3) or gcc 3

    Otherwise, use older setting of -O2 -finline-functions

Platforms tested:
    FreeBSD 4.7 (sleipnir)
    Linux 2.2 (eirene)
2003-02-26 14:55:27 -05:00
Albert Cheng
425f0dad1e [svn-r6437] Description:
so_locations was not removed during distclean.
    Added it to the distclean targets.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}? No
    [If no, why not?] Tested in modi4 and eirene with C++ enabled..
2003-02-25 09:56:36 -05:00
Quincey Koziol
474a1434bd [svn-r6436] Purpose:
New internal feature

Description:
    Add internal API for building and working with heaps (H5HP).  This will be
    used for the LRU algorithm in the new metadata cache code.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir)
2003-02-24 15:25:13 -05:00
Quincey Koziol
f239b2e7f3 [svn-r6435] Purpose:
Code cleanup


Description:
    Added more information to information printed for test failure.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
2003-02-24 15:21:13 -05:00
Quincey Koziol
0ba32beed6 [svn-r6434] Purpose:
Code cleanup

Description:
    Removed extraneous __FUNCTION__ declaration that was causing warnings on
    Windows.

    Updated copyright information.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
2003-02-24 15:20:31 -05:00
Quincey Koziol
eaa30bb648 [svn-r6433] Purpose:
Code/comment cleanup

Description:
    Made more information about reference-counted strings private to the
    H5RS package by trimming the typedef used in H5RSprivate.h and switching
    from using macros for a couple of operations to using functions.

    Updated copyright information for a few of these files.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
2003-02-24 15:19:01 -05:00
Quincey Koziol
9005dfcdc2 [svn-r6431] Purpose:
Comment cleanup

Description:
    Corrected comment information.
2003-02-24 15:15:56 -05:00
Quincey Koziol
8fc3673745 [svn-r6430] Purpose:
Code cleanup (sorta)

Description:
    Updated to new copyright information as I browsed these files.
2003-02-24 15:13:07 -05:00
Pedro Vicente Nunes
7758b8182d [svn-r6429] Purpose:
removed -d , -g , -t and -v options and renamed -m to -d and -v to -l
    added output for objects that are not in one file but in the other
Platforms tested:
    windows, linux
2003-02-24 13:53:22 -05:00
Bill Wendling
7612f48943 [svn-r6428] Purpose:
Bug Fix
Description:
    Private header file was included in a public header file by mistake.
Solution:
    Put the private header file into the .c module instead.
Platforms tested:
    Linux 2.4 (see, I really did test it).
2003-02-22 16:55:27 -05:00
Bill Wendling
d45880ce1d [svn-r6427] Purpose:
Update
Description:
    Changed the H5FPinit() function to accept pointers to what the SAP
    Comm and SAP Barrier Comm should be assigned to. This is the first
    step in hopefully getting rid of the global versions of them
    altogether (but we'll see).
Platforms tested:
    Linux
2003-02-21 14:37:25 -05:00
Bill Wendling
d84e6e525e [svn-r6426] Purpose:
Update
Description:
    Final support addition for FPHDF5. Wherever there was an equivalent
    MPIO or MPIO/POSIX call/check, I placed an FPHDF5 call/check there as
    well, with the appropriate #ifdefs in place.

    The hdf5.h is updated with the H5FDfphdf5.h driver #include.
Platforms tested:
    Linux & Modi4
2003-02-21 09:04:35 -05:00
Bill Wendling
9c7b019bc5 [svn-r6425] Purpose:
Update
Description:
    Big change to the H5FD.c module:

        - Split apart H5FD_alloc and H5FD_free. H5FD_alloc was huge and
          H5FD_free had a freeing of the freelist part which I needed to
          call from the SAP.
        - Added support for FPHDF5. If it's a client, then it sends the
          allocation or free request to the SAP. The SAP will call the
          same code, but it'll actually do the allocation/freeing in that
          case.
Platforms tested:
    Linux & Modi4
2003-02-21 09:02:40 -05:00
Bill Wendling
23af46a164 [svn-r6424] Purpose:
Update
Description:
    Added support for allocating and freeing space in the file.
Platforms tested:
    Linux & Modi4
2003-02-21 08:58:10 -05:00
Bill Wendling
0dc2b9ea16 [svn-r6423] Purpose:
Update
Description:
    Added support for the allocation and freeing of space in the file.
    This information is kept on the Server.
Platforms tested:
    Linux & Modi4
2003-02-21 08:56:39 -05:00
Raymond Lu
117381d325 [svn-r6421]
Purpose:
    test program modification
Description:
    put part of code into an internal function.  Nothing serious.
Platforms tested:
    eirene
2003-02-19 12:59:46 -05:00
Raymond Lu
941509ab25 [svn-r6419]
Purpose:
    More test.
Description:
    Test independent read of groups and chunked dataset.
Solution:
    This test is similar to multiple group test.  So just add it in the
    testphdf5.c,h.
Platforms tested:
    modi4, eirene.
2003-02-18 16:50:42 -05:00
MuQun Yang
e384b7fa03 [svn-r6416]
Purpose:
windows project updating
Description:
To reflect Qunicey and Ray's changes (add/remove files and filters)
Solution:
Platforms tested:
windows 2000
Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2003-02-18 13:14:07 -05:00
Quincey Koziol
5655953a2a [svn-r6415] Purpose:
Code cleanup

Description:
    Changed hard-coded magic number (32) for the maximum number of filters
    in a filter pipeline to use a symbolic constant (H5Z_MAX_NFILTERS)
    instead.  This limit could (and probably should) be removed to allow an
    unlimited number of filters in a pipeline.

Platforms tested:
    FreeBSD 4.7 (sleipnir)
2003-02-18 07:16:27 -05:00
Albert Cheng
7ff7845b3a [svn-r6414] Purpose:
Bug fix (no id, just noticed myself)
Description:
    Added a barrier before doing file cleanup to ensure all tests are
    completed by then.
    Moved the MPI_Finalize to be very end and insert an H5close before
    it to ensure all potential MPI activities by HDF5 are done by then.
Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}?  Yes.
2003-02-18 00:12:58 -05:00
Albert Cheng
a3254796e9 [svn-r6413] Purpose:
bug fix, features.
Description:
    removed the cache of sizeof_long since it varies between 32 and 64 bits.
    Set xlc and mpcc_r as the default compiler for serial and parallel modes.
    Added -D_LARGE_FILES by default to support large file size.

    Added gcc gnu-flags when gcc compiler is used (not working yet.)
Platforms tested:
    Tested in Copper only since that is the only AIX machine on site.
2003-02-17 13:05:55 -05:00
Quincey Koziol
0475dd9a70 [svn-r6412] Purpose:
Code cleanup

Description:
    Update dependencies and clean up a few warnings.

Platforms tested:
    Linux 2.2 (eirene) w/parallel
2003-02-17 12:11:03 -05:00
Quincey Koziol
946c606452 [svn-r6411] Purpose:
Code cleanup

Description:
    Clean up miscellaneous warnings which have crept into the code.

    Fix "_POSIX_C_SOURCE not defined" warning on FreeBSD.

    Adjust gcc compiler flags to be more concise for production mode.

    Refactor the H5O code so that there is a stronger boundary between code
    in the H5O package and code in the library which just calls H5O routines.

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}
    FreeBSD 4.7 (sleipnir) serial & parallel and gcc 2.95.4 & gcc 3.2.2

Misc. update:
    Update MANIFEST if you add or remove any file.
2003-02-17 10:54:15 -05:00
Quincey Koziol
fb4be743d3 [svn-r6410] Purpose:
Bug fix.

Description:
    Correct compile errors when configured with --enable-debug=all.

Platforms tested:
    FreeBSD 4.7 (sleipnir) serial & parallel
2003-02-17 09:58:38 -05:00
HDF Admin
65edf41cc7 [svn-r6407] Snapshot version 1.5 release 47 2003-02-15 06:24:35 -05:00
Bill Wendling
ce6a77eb3e [svn-r6406] Purpose:
Update
Description:
    Since metadata doesn't use a "set view" to do I/O, I moved the check
    for the use_set_view variable down into the "real" write routine.

    Also added a check for when the server is dumping metadata to the
    file. in that case, don't write this information to the SAP...
Platforms tested:
    Linux
2003-02-14 17:06:18 -05:00
Bill Wendling
0f125bf0fc [svn-r6404] Purpose:
Bug Fix (Bug #806)
Description:
    When compiling/installing with the command "make install" (without
    performing a "make" beforehand) the tools weren't being made. This
    was because the `install' command in the Makefiles only relied upon
    public libraries, not private ones (which the one in the tools
    directory is).
Solution:
    Had the `install' command be dependent upon an "AUX_LIB" macro which
    includes libraries which are needed but aren't distributed (that is,
    they're staticly compiled).
Platforms tested:
    Linux
2003-02-14 16:17:16 -05:00
Albert Cheng
b40eef5c96 [svn-r6403] Purpose:
Updated it with the v1.4 revision.
2003-02-14 14:58:07 -05:00
Bill Wendling
6c83d3d264 [svn-r6402] Purpose:
Update
Description:
    Added the flush function.

    Modified so that it calls the FPHDF5 code for reading and writing.
    This involved splitting the write function up into three different
    parts to avoid lame goto's. There's some code which will copy a data
    xfer property list and add in there that we're "dumping" the data so
    that we can recall this layer when the SAP dumps metadata to a
    process...
Platforms tested:
    Linux
2003-02-12 16:32:42 -05:00
Bill Wendling
645b7e8c37 [svn-r6401] Purpose:
Update
Description:
    Added a "metadata flush" function which allows the clients to force a
    dump of the metadata from the SAP. This should be done before closing
    the file.

    Modified the information stored on an "open" of the file. The
    filename is unnecessary, so I got rid of it.

    More integration with the File Driver code: Passing in a data xfer
    property list.
Platforms tested:
    Linux
2003-02-12 16:30:20 -05:00
Raymond Lu
d2bfd727ca [svn-r6400]
Purpose:
    Change feature
Description:
    Switch to Fletcher32 from Adler32 checksum
Platforms tested:
    arabica, eirene, modi4
Misc. update:
    MANIFEST and RELEASE.txt updated.
2003-02-12 15:07:21 -05:00
Bill Wendling
2f8719efde [svn-r6399] Purpose:
Bug Fix
Description:
    Pesky little thing: H5GOTO_ERROR was returning NULL instead of FAIL.
Solution:
    Changed accordingly
Platforms tested:
    Linux.
2003-02-12 12:13:24 -05:00
Quincey Koziol
1074ccf4d9 [svn-r6398] Purpose:
Code cleanup

Description:
    Clean up some compiler warnings

Platforms tested:
    FreeBSD 4.7 (sleipnir)
2003-02-12 12:04:40 -05:00
MuQun Yang
bf1419ffe4 [svn-r6397]
Purpose:
update windows project files
Description:
Some new files such H5Tcommit.c is added in.
Solution:
windows 2000
Misc. update:
    Update MANIFEST if you add or remove any file.
    Update release_docs/RELEASE for bug fixes, new features, etc.
    Update applicable document files too.
2003-02-12 10:53:20 -05:00
Bill Wendling
07c40148c1 [svn-r6396] Purpose:
Bug Fix
Description:
    Some of the error conditions in the H5GOTO_ERROR macros were NULL
    instead of FAIL.
Solution:
    Changed accordingly.
Platforms tested:
    Linux
2003-02-12 09:36:32 -05:00
Quincey Koziol
7d63d5e3ff [svn-r6395] Purpose:
Code cleanup.

Description:
    Break up the ~9350 line H5T.c module into smaller pieces, which contain
    code for a particular feature or support for a datatype class.

    This should make the "main" H5T code (still in H5T.c) easier to support,
    as well as removing some of the "minor" routines from the user applications
    which don't use them (my rough estimates show about 4% reduction (~30K on
    a FreeBSD machine) in optimized, staticly-linked binaries for very simple
    programs)

Platforms tested:
    Tested h5committest {arabica (fortran), eirene (fortran, C++)
	modi4 (parallel, fortran)}

    FreeBSD 4.7 (sleipnir)

Misc. update:
    Update MANIFEST
2003-02-12 08:44:31 -05:00
Quincey Koziol
997d4e3742 [svn-r6394] Purpose:
Bug fix.

Description:
    Missed adding the dxpl to the 'flush' VFL callback in the stream driver,
    causing the C++ compiles to fail.

Solution:
    Added the dxpl parameter.

Platforms tested:
    FreeBSD 4.7 (sleipnir) w/CC=g++
2003-02-12 07:39:55 -05:00
Frank Baker
905585f913 [svn-r6393]
Purpose:
    To bring the H5Z_func_t definition from the old User's Guide
    into the Reference Manual.
Description:
    Added custom filter function H5Z_func_t definition to the
    H5Zregister function description.
    This definition will next be edited to bring it up-to-date.
Platforms tested:
    IE 5
2003-02-11 12:09:25 -05:00