Commit Graph

8342 Commits

Author SHA1 Message Date
Quincey Koziol
88c15b1617 [svn-r11771] Purpose:
Code cleanup

Description:
    Fix a bunch of warnings flagged by Windows compilers.


Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Too minor to require h5committest
2005-12-08 13:34:51 -05:00
Albert Cheng
bfa65eed0f [svn-r11770] Updated with newly added and removed files. 2005-12-08 12:13:50 -05:00
HDF Admin
ee8efd25df [svn-r11769] Purpose:
Temporary fix.

Description:
Since the file format is unstable, we don't want the snapshot tarball
be readily available to any FTP users.  Change the snapshot archived
location to a directory that is not accessible by Anon. FTP.  If someone
wants to use one of these snapshot versions, give him/her a copy of these
files.

When file format is restored, switch this back to the previous default
location.

Platforms tested:
no test since change is pretty trivial.  I have scheduled a snapshot
release tonight to see if it will put it in the right place.
2005-12-08 11:46:10 -05:00
Albert Cheng
b10cbe3cc9 [svn-r11768] Purpose:
Feature.

Description:
Removed the entry for tflops which has retired.
Added a special --host entry for redstorm.
This allows "configure --host=redstorm" for building in RedStorm.

Platforms tested:
Red Storm.
2005-12-07 15:45:42 -05:00
Fang Guo
86b71e9586 [svn-r11767] Purpose:
Maintenance on Windows
Description:
Update expected output for C examples
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-12-06 13:11:38 -05:00
Fang Guo
1180b1bebb [svn-r11766] Purpose:
Maintenance on Windows
Description:
Update all.sln due the new changes of hdf5.dsp and hdf5dll.dsp
Solution:

Platforms tested:

Misc. update:
2005-12-06 12:55:21 -05:00
Fang Guo
16fb858103 [svn-r11765] Purpose:
Maintenance on Windows
Description:
Add H5Goh.c, H5Doh.c and H5Toh.c into hdf5dll.dsp
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-12-06 12:54:03 -05:00
Fang Guo
792b756e2b [svn-r11764] Purpose:
Maintenance on Windows
Description:
Add H5Goh.c, H5Doh.c and H5Toh.c into hdf5.dsp
Solution:

Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
2005-12-06 12:52:45 -05:00
Binh-Minh Ribler
cf1d541356 [svn-r11763] Purpose: Adding tests
Description:
    Added tests for openFile and new getObjinfo.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
    HPUX 11.00 (kelgia)
2005-12-05 16:05:33 -05:00
Binh-Minh Ribler
11d013f8cc [svn-r11762] Purpose: Adding more wrappers
Description:
    Added member function H5File::openFile and overloaded for convenience.
    Added overloaded getObjinfo to skip the middle parameter.
    Changed
        StrType(const size_t& size);
    to
        StrType(const int dummy, const size_t& size);
    because the first one clashed with
        StrType(const hid_t existing_id);

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
    HPUX 11.00 (kelgia)
2005-12-05 15:23:12 -05:00
Albert Cheng
e969226fc7 [svn-r11761] Purpose:
Unstable format version marker.

Description:
This marks the Check in baseline for compact group revisions,
which radically revises the source code for managing groups and object headers.
Earlier versions (1.7.52 or earlier) have the original format.  This version
and later have the unstable format until further notice.

Platforms tested:
h5committested.
2005-12-05 13:41:27 -05:00
Quincey Koziol
8d344f96bc [svn-r11758] Purpose:
New feature

Description:
    Add in a combination of Peter's & my code to support copying
variable-length data from one file to another, although currently only
supported with contiguous data storage.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    h5committest
2005-12-03 21:27:37 -05:00
Binh-Minh Ribler
4620776d72 [svn-r11757] Purpose: Example code improvement
Description:
    Improved the use of std members.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
    Linux 2.4 w/PGI (colonelk)
2005-12-03 07:28:55 -05:00
Binh-Minh Ribler
2b41179280 [svn-r11756] Purpose: Test improvement
Description:
    Improved the use of std members.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
    Linux 2.4 w/PGI (colonelk)
2005-12-03 07:27:14 -05:00
Binh-Minh Ribler
5ed48cf279 [svn-r11755] Purpose: Code improvement
Description:
    There was a workaround for predefined types, in the C++ library,
    implemented when the C++ library was handling the reference
    counting of the object ids on its own.  Currently, the C++ library
    is using the available APIs from the C library for that purpose,
    and there were bugs reported involving that part of the C++ library.
    So, I decided to remove the workaround completely.

    Also, improved the use of std members.

Platforms tested:
    Linux 2.4 (heping)
    SunOS 5.8 64-bit (sol)
    Linux 2.4 w/PGI (colonelk)
2005-12-03 07:21:25 -05:00
James Laird
25576025eb [svn-r11754] Purpose:
Feature

Description:
bin/reconfigure now allows users to define the paths to the autotools on their
system.  bin/reconfigure also runs the trace script when it is invoked.

Solution:
The autotools are specified using environment variables: AUTOCONF, AUTOMAKE,
ACLOCAL, AUTOHEADER, and LIBTOOL_DIR.  See bin/reconfigure for the defaults.
The version of each of the autotools is checked before they are run, so
users can't invoke the wrong version of any autotool.
The trace script is run on all the .c files in the src directory when
reconfigure is invoked.  Ideally, bin/reconfigure should be run when any new
function is added to the library, but if the tracing information is out of
date the library will still work.
The trace script has also been modified to ignore the multi and stdio file
drivers (per Quincey's suggestion).

Platforms tested:
mir, shanti
2005-12-02 13:46:20 -05:00
Fang Guo
151e0e1620 [svn-r11753] Purpose:
Description:

Solution:

Platforms tested:

Misc. update:
2005-12-02 10:52:42 -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
James Laird
c46e4e51d9 [svn-r11751] Purpose:
Cleanup

Description:
Changed comments in C++ packet table code to refer to entries as
"packets" instead of "records."

Solution:
The APIs were changed to correspond to the C API, but the documentation
wasn't.  This is fixed.

Platforms tested:
mir, shanti, sleipnir

Misc. update:
This corresponds to documentation update earlier this week.
2005-12-01 11:18:24 -05:00
Fang Guo
b6d7ebf3bb [svn-r11748] Purpose:
Maintenance on Windows
Description:
Fix some typoes
Solution:

Platforms tested:

Misc. update:
2005-11-29 14:21:22 -05:00
Albert Cheng
000da5785e [svn-r11747] Purpose:
Cleanup and new feature.

Description:
Remove old code no longer used (LOCATE_GASS, LOCATE_FORTRAN, LOCATE_HDF4.
Added new option to locate szlib.

Platforms tested:
Tested in heping and shanti.
2005-11-23 15:33:48 -05:00
Raymond Lu
5125354f7e [svn-r11742] Purpose: Minor correction.
Description: H5Eset_auto_stack() and H5Eset_auto() used FUNC_ENTER_API.  It would clear the error
stack from the previous API call.  It's better to use FUNC_ENTER_API_NOCLEAR to avoid clearing
the stack.


Platforms tested: fuss - simple change.
2005-11-18 16:18:13 -05:00
James Laird
0f870b0f47 [svn-r11741] Purpose:
Bug fix

Description:
Fortran type generation was broken in two ways.  Fixed both.

Solution:
Firstly, there were a couple of path problems.  Fixed a typo and
specified the full path of a file.
Secondly, the dependencies weren't right when building with HDF5-specific
commands (make lib, make check-s, etc.).  Tweaked dependencies
to fix the problem.

Platforms tested:
mir, modi4, sleipnir
2005-11-18 15:31:53 -05:00
Pedro Vicente Nunes
0426d8d7e1 [svn-r11740] Purpose:
code check

Description:
changed the name of a few variables that were misleading in its name

Solution:

Platforms tested:
linux

Misc. update:
2005-11-18 15:09:28 -05:00
MuQun Yang
c7e562c755 [svn-r11739] Purpose:
slight code change for efficiency of iteration of chunk address
Description:
Quincey picked this up because of my inexperience of C. A pair of redundant malloc and free calls will be removed.

Solution:

Platforms tested:
heping(Linux 2.4)
too little to be tested.

Misc. update:
2005-11-18 11:01:53 -05:00
James Laird
4f8ca8e026 [svn-r11738] Purpose:
Configure feature

Description:
Added 'make trace' target.

Solution:
Added tracing to 1.7.  This was done automatically in 1.6, but left out
of 1.7 until now (oops!).
Tracing in 1.7 only happens manually, when the user types 'make trace.'
Tracing automatically requires more framework than it's worth.
I also fixed a couple of tracing bugs and ran trace.

Platforms tested:
mir, sleipnir, modi4

Misc. update:
2005-11-18 10:55:22 -05:00
James Laird
75ea10e5f5 [svn-r11737] Purpose:
Bug fix

Description:
Before this checkin, 'gmake check-s' would fail if there was a file in
the current directory named 'check-s'.
This is fixed under gmake (not sure how to fix for other makes).

Solution:
check, progs, install, etc. are what gmake calls "phony" targets,
which means that no file should be created.  These targets can be
specified by a line of the form
.PHONY: check progs install ...
Automake adds this line for targets it knows about, but HDF5 has a
lot of custom rules.  This checkin adds a .PHONY line for those rules.
I believe that only gmake recognizes the .PHONY line (at least, pmake
doesn't seem to), but a partial solution is better than none.
This error should occur very rarely anyway (the user has to manually
create files with names like 'build-check-s' or '_test').

Platforms tested:
mir, sleipnir, modi4
2005-11-17 13:49:28 -05:00
Albert Cheng
706885260d [svn-r11736] Purpose:
Cleanup.

Description:
Removed reference to H5_HAVE_VSNPRINTF and the corresponding abort
since we do not use the home-grown potentially memory wacking version
any more.

Platforms tested:
heping.

Misc. update:
2005-11-16 13:24:44 -05:00
Albert Cheng
7fbe30d5ab [svn-r11735] Purpose:
Cleanup.

Description:
Removed the home-made version of snprintf and vsnprintf since they
do not actually enforce the size parameter correctly and could corrupt
memory or as a security hole.
This block of code has been turned off since Aug 11, 2005 for all platforms
except Tflops.  No one has reported any problem since--sort of empirical
evidence that all platforms except Tflops support both functions.
Tflops has retired in September.  So, no need to keep this block of code.

Also, fixed the HDxxx macro to call the corresponding xxx function.

Platforms tested:
Tested in heping, both serial and parallel.
2005-11-16 13:09:38 -05:00
Quincey Koziol
671187fd2b [svn-r11733] Purpose:
Code cleanup

Description:
    Added some comments about the thread-specific memory for the error and
function stacks.

    Changed H5close() to not use the function stack (since it causes it to
be re-enabled after shutting it down)

    Changed thread-safe semaphore code to not use dynamicly allocated memory.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
    Too minor to require h5committest
2005-11-15 20:01:37 -05:00
Quincey Koziol
e70783203a [svn-r11732] Purpose:
More tests

Description:
    Add more tests for proper behavior of groups with different group
creation property settings.

Platforms tested:
    FreeBSD 4.11 (sleipnir)
    Linux 2.4
    Solaris 2.8
2005-11-15 19:52:42 -05:00
Quincey Koziol
da16ec38eb [svn-r11730] Purpose:
Bug fix

Description:
    Correct use of H5Gget_objinfo() which recent compact group checkins
exposed: we were attempting to follow dangling soft links.

Solution:
    Don't follow links for H5Gget_objinfo() when initializing object tables
for h5dump.

Platforms tested:
    Solaris 2.8 w/64-bit enabled
    Linux 2.4
    FreeBSD 4.11 (sleipnir)
2005-11-15 19:46:30 -05:00
MuQun Yang
f76495cdf5 [svn-r11728] Purpose:
To support collective chunk IO, obtain the chunk addresses globally from one process.

Description:
Implement a call-back function to iterate B-tree to do the job.
Check in this code for major check-ins later.
Solution:

Platforms tested:
heping(Linux)
Should not be used by any library functions now, so won't affect library and tool tests.
No need to test on 3 platforms.


Misc. update:
2005-11-15 16:57:27 -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
James Laird
0efd9ceadf [svn-r11726] Purpose:
Bug fix

Description:
Fixed bug in hl/src Makefile that was deleting y.tab.c.
Running bin/reconfigure changed a few other files as well (somebody
probably updated Makefiles.am but forgot to bin/reconfigure).

Solution:
Automake in its wisdom adds the line "rm *.tab.c" to every distclean
in every directory.  I assume that it assumes that such files are
generated during the build.  Supplied an empty distclean-compile
target to remove this line from the Makefiles.in.

Platforms tested:
mir, sleipnir, shanti
2005-11-15 14:20:06 -05:00
Fang Guo
5b83c94b9e [svn-r11725] Purpose:
Maintenace on Windows
Description:
Add in conversion .vcproj to intel format  for objcopy.vcproj and objcopydll.vcproj

Solution:

Platforms tested:

Misc. update:
2005-11-15 12:53:16 -05:00
Fang Guo
1fc0fa056d [svn-r11724] Purpose:
Maintenance on Windows
Description:
Add in conversion .dsp to .vcproj for objcopy.dsp and objcopydll.dsp
Solution:

Platforms tested:

Misc. update:
2005-11-15 12:52:04 -05:00
Fang Guo
4ab2eeb984 [svn-r11723] Purpose:
Add in two test project files (objcopy.dsp and objcopydll.dsp)
Description:

Solution:

Platforms tested:

Misc. update:
2005-11-15 12:45:06 -05:00
Fang Guo
b4f75bc7ba [svn-r11722] Purpose:
Maintenance on Windows
Description:
Add macro H5_HLDLL before newly checked in function  hid_t H5LTtext_to_dtype(const char *text);
Solution:

Platforms tested:
Windows XP with VS 6.0
Misc. update:
2005-11-15 12:41:53 -05:00
Fang Guo
a8e74b46fc [svn-r11721] Purpose:
Maintenance on Windows
Description:
Add tests for objcopy and objcopydll into batch file
Solution:

Platforms tested:
Windows XP with VS 6.0
Misc. update:
2005-11-15 12:38:31 -05:00
Fang Guo
9895837b76 [svn-r11720] Purpose:
Maintenance on Windows
Description:
Add new test objcopydll.dsp
Solution:

Platforms tested:
Windows XP with VS 6.0
Misc. update:
2005-11-15 12:37:29 -05:00
Fang Guo
6c45185693 [svn-r11719] Purpose:
Maintenance on Windows
Description:
Add in new test objcopy.dsp
Solution:

Platforms tested:
Windows XP with VS 6.0
Misc. update:
2005-11-15 12:36:42 -05:00
Fang Guo
7764d1e544 [svn-r11718] Purpose:
Maintenance on Windows
Description:
Add newly checked in files by Quincey into hdf5dll.dsp
Solution:

Platforms tested:
Windows XP with VS 6.0
Misc. update:
2005-11-15 12:34:28 -05:00
Fang Guo
df6c7524d1 [svn-r11717] Purpose:
Maintenance on Windows
Description:
Add newly checked in files by Quincey into hdf5.dsp
Solution:

Platforms tested:
Windows XP with VS 6.0
Misc. update:
2005-11-15 12:33:26 -05:00
Fang Guo
c423a4086b [svn-r11716] Purpose:
Maintenance on windows
Description:
Add in objcopy.dsp and objcopydll.dsp
Solution:

Platforms tested:
Windows XP with VS 6.0
Misc. update:
2005-11-15 12:31:56 -05:00
Raymond Lu
2daa718b13 [svn-r11715] Purpose: Bug fix
Description:  The last checkin to add #ifdef H5_HAVE_UNISTD_H before #include<unistd.h>
didn't work because no hdf5 library header file have been included in that stage.

Solution: Changed it to #ifndef WIN32.

Platforms tested: sleipnir g++ where the complaint happened.
2005-11-15 10:08:18 -05:00
Quincey Koziol
a1708eb023 [svn-r11712] Purpose:
New feature

Description:
    Check in baseline for compact group revisions, which radically revises the
source code for managing groups and object headers.

WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!
WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!

    This initiates the "unstable" phase of the 1.7.x branch, leading up
to the 1.8.0 release.  Please test this code, but do _NOT_ keep files created
with it - the format will change again before the release and you will not
be able to read your old files!!!

WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!
WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!  WARNING!!!!


Solution:
    There's too many changes to really describe them all, but some of them
include:
    - Stop abusing the H5G_entry_t structure and split it into two separate
        structures for non-symbol table node use within the library: H5O_loc_t
        for object locations in a file and H5G_name_t to store the path to
        an opened object.  H5G_entry_t is now only used for storing symbol
        table entries on disk.

    - Retire H5G_namei() in favor of a more general mechanism for traversing
        group paths and issuing callbacks on objects located.  This gets us out
        of the business of hacking H5G_namei() for new features, generally.

    - Revised H5O* routines to take a H5O_loc_t instead of H5G_entry_t

    - Lots more...

Platforms tested:
    h5committested and maybe another dozen configurations.... :-)
2005-11-14 21:55:39 -05:00
Raymond Lu
bea1e576c5 [svn-r11711] Purpose: Bug fix for Windows
Description: Windows doesn't have unistd.h file.

Solution: Put #ifdef H5_HAVE_UNISTD_H for #include<unistd.h>.

Platforms tested: fuss - simple change.
2005-11-14 17:05:22 -05:00
Albert Cheng
485edae92b [svn-r11710] Purpose:
Bug fix.

Description:
Removed a debugging print command in the edit script.

Tested in Redstorm.
2005-11-13 21:06:52 -05:00
Fang Guo
029355ade3 [svn-r11709] Purpose:
Maintenance on Windows
Description:
Fix typos
Solution:

Platforms tested:

Misc. update:
2005-11-11 16:54:53 -05:00