Commit Graph

5328 Commits

Author SHA1 Message Date
Quincey Koziol
707e0035a9 [svn-r7353] Purpose:
Added new files

Description:
    Added new error headers & perl scripts, etc.

Platforms tested:
    h5committested
2003-08-12 20:51:16 -05:00
Quincey Koziol
7f119036d3 [svn-r7352] Purpose:
Updated dependencies

Platforms tested:
    h5committested
2003-08-12 20:50:11 -05:00
MuQun Yang
a3c2612242 [svn-r7350] Purpose:
Add a macro "elif" for the defination of haddr_t on windows.


Description:
There are no H5_SIZEOF_LONG_LONG for windows; instead H5_SIZEOF____int64 is used.
So for the following macro ifdef-block:

#if H5_SIZEOF_HADDR_T ==H5_SIZEOF_INT                                                                  #   define H5_PRINTF_HADDR_FMT  "%u"                                                                   #elif H5_SIZEOF_HADDR_T ==H5_SIZEOF_LONG                                                               #   define H5_PRINTF_HADDR_FMT  "%lu"                                                                  #elif H5_SIZEOF_HADDR_T ==H5_SIZEOF_LONG_LONG                                                          #   define H5_PRINTF_HADDR_FMT  "%"H5_PRINTF_LL_WIDTH"u"                                               #else                                                                                                  #   error "nothing appropriate for H5_PRINTF_HADDR_FMT"                                                #endif


The error will be generated.
Solution:
Add another "elif H5_SIZEOF_HADDR_T==H5_SIZEOF___INT64" after the last "elif" above so that it
can generate the correct result on windows.

Platforms tested:
Since the change is so small, only test on windows and linux.

Misc. update:
2003-08-12 11:39:32 -05:00
MuQun Yang
fc5a04a872 [svn-r7349] Purpose:
update project to include the new h5import support.

Description:
project h5import was linking with an old h5import.c file under tools/misc,
it compiled okay, but it was not doing what it is supposed to do.


Solution:
link the project with new h5import.c under tools/h5import.
A suggestion is to remove old files from CVS tree or source distribution if they are no longer useful.

Platforms tested:
windows 2000

Misc. update:
2003-08-12 11:29:03 -05:00
Elena Pourmal
f484aafef4 [svn-r7348]
Purpose: Bug fix

Description: Somehow line DEC$if defined(BUILD_HDF4_DLL) was inserted
             to the file. It should be HDF5!!!!!!!!!!!!!!!

Solution: Fixed the typo.
          Quincey, Thank you for noticing that.

Platforms tested: Will be tested on Windows.

Misc. update:
2003-08-12 09:22:39 -05:00
Quincey Koziol
9a2f9731bd [svn-r7347] Purpose:
Code cleanup & bug fix

Description:
    Clean up code, adding error checking where appropriate

    Fix a number of routines which were clearing the default error stack
before checking some information about that stack.

    Set the version # of the library correctly when it is registered.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committested
2003-08-12 08:29:41 -05:00
Albert Cheng
1c03bdd2ff [svn-r7344] Purpose:
feature

Description:
Added the checking for Makefile.
Skip checking CVS files.
Printed filename of unknown file types.

Platforms tested:
No h5committest.
Tested by hand on various files.

Misc. update:
2003-08-11 16:32:17 -05:00
Albert Cheng
641f9f2fea [svn-r7341] Purpose:
Updated, cleanup or added Copyright notice.

Platforms tested:
"h5committested"

Misc. update:
2003-08-11 14:37:59 -05:00
Albert Cheng
ecc84e19df [svn-r7340] Purpose:
updated.

Description:

Solution:

Platforms tested:

Misc. update:
2003-08-11 14:35:44 -05:00
Albert Cheng
2a5b8509c6 [svn-r7337] Purpose:
No longer needed. make check-install or make check does the
checking now.

Platforms tested:
no h5committest since I am removing a script command that is not
needed any more.

Misc. update:
no need to update doucment since it was an internal command
that was never documented.
2003-08-11 14:21:30 -05:00
Quincey Koziol
29156e97ae [svn-r7336] Purpose:
Update readme

Description:
    Noted that hobj_ref_t's and the objno field in the H5G_stat_t structure
can now be directly compared for equality by applications.
2003-08-11 07:45:23 -05:00
Quincey Koziol
6a41c76c04 [svn-r7335] Purpose:
Update docs

Description:
    Updated docs with new H5G_stat_t structure.
2003-08-11 07:44:24 -05:00
Quincey Koziol
ed92f54f9b [svn-r7334] Purpose:
Bug fix

Description:
    Object references were not getting written out correctly to the file, with
recent changes to their memory structure.

Solution:
    Convert the object references correctly.

Platforms tested:
    h5committested
2003-08-11 07:43:04 -05:00
Quincey Koziol
8de0645dfa [svn-r7332] Purpose:
Bug fix

Description:
    Correct 'make check-install' failure by restoring previous behavior.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    should be the same for all platforms, h5committest not needed.
2003-08-09 10:26:31 -05:00
Quincey Koziol
fb7b1e37cf [svn-r7331] Purpose:
Update docs

Description:
    Updated release notes with recent changes.
2003-08-08 15:01:02 -05:00
Quincey Koziol
b1c884be5a [svn-r7330] Purpose:
Update docs

Description:
    Update DDL for format change of unnamed datatypes.
2003-08-08 14:53:16 -05:00
Quincey Koziol
da29916b94 [svn-r7329] Purpose:
Refactored test output

Description:
    Chase new output format of 'objno' in DDL and XML schema output

Platforms tested:
    h5committested
2003-08-08 14:47:39 -05:00
Quincey Koziol
d309a7fa5d [svn-r7328] Purpose:
Code cleanup

Description:
    Remove recent changes which duplicated code from config/conclude.in, now
that the output of XML schema XID's is portable.

Platforms tested:
    h5committested
2003-08-08 14:41:58 -05:00
Quincey Koziol
637fe3d65b [svn-r7327] Purpose:
Refactored code

Description:
    Chase changes of 'objno' and 'fileno' fields in H5G_stat_t structure.

Platforms tested:
    h5committested
2003-08-08 14:39:10 -05:00
Quincey Koziol
4032cbf360 [svn-r7326] Purpose:
Refactored code

Description:
    Chased 'objno' and 'fileno' changes in H5G_stat_t structure, including
updating the addresses displayed.

Platforms tested:
    h5committested
2003-08-08 14:37:55 -05:00
Quincey Koziol
4de2ed16c0 [svn-r7325] Purpose:
Code cleanup

Description:
    Changed parameter from "<number>:<number>" form to "<number>"

Platforms tested:
    h5committested
2003-08-08 14:36:37 -05:00
Quincey Koziol
7e461bc202 [svn-r7324] Purpose:
Code cleanups & bug fixes

Description:
    Lots of changes to chase 'objno' and 'fileno' changes in H5G_stat_t struct,
including changing the output of object IDs from "<number>:<number>" to just
"<number>".

    Same change to XML schema XIDs from "xid_<number>-<number>" to just
"xid_<number>"

    Cleaned up a number of memory leaks

    Use the H5_PRINTF_HADDR_FMT macro for printing 'haddr_t's

Platforms tested:
    h5committested
2003-08-08 14:35:34 -05:00
Quincey Koziol
a91e5a22c4 [svn-r7323] Purpose:
Refactored code

Description:
    Added 'unsigned flags[2]' field and changed 'objno' field from 'unsigned
long[2]' to 'haddr_t' (to reflect changes in H5G_stat_t)

Platforms tested:
    h5committested
2003-08-08 14:31:37 -05:00
Quincey Koziol
64b045691c [svn-r7322] Purpose:
Refactored code

Description:
   Use H5E_BEGIN_TRY/H5E_END_TRY macros around blocks where errors shouldn't
be printed, instead of managing 'automatic error' information.

    Use new 'flags' field in table objects where appropriate

    Chase changes to 'fileno' and 'objno' fields of H5G_stat_t

Platforms tested:
    h5committested
2003-08-08 14:30:19 -05:00
Quincey Koziol
21c1f05808 [svn-r7321] Purpose:
Code cleanup & refactoring

Description:
    Use H5E_BEGIN_TRY/H5E_END_TRY macros around blocks where errors shouldn't
be printed, instead of managing 'automatic error' information.

    Changes to use new 'flags' fields in the table of objects, since the 'objno'
field can't be [ab]used any longer.

Platforms tested:
    h5committested
2003-08-08 14:27:54 -05:00
Quincey Koziol
95bf191857 [svn-r7320] Purpose:
Refactored code

Description:
    Chase changes for the 'fileno' and 'objno' fields in H5G_stat_t

Platforms tested:
    h5committested
2003-08-08 14:25:18 -05:00
Quincey Koziol
a89594728a [svn-r7319] Purpose:
Code cleanup

Description:
    Use unsigned integers to print 'haddr_t's

Platforms tested:
    h5committested
2003-08-08 14:23:40 -05:00
Quincey Koziol
f3c2fbaff5 [svn-r7318] Purpose:
Code cleanup

Description:
    Switched 'hobj_ref_t' from funny structure with array inside to just be
'haddr_t', since that was equivalent and less confusing.

Platforms tested:
    h5committested
2003-08-08 14:20:57 -05:00
Quincey Koziol
2e1ef03cef [svn-r7317] Purpose:
Feature change & code cleanup

Description:
    Changed fileno field in H5FD_t struct from 'unsigned long[2]' to just
'unsigned long'.

    Changed over code to handle the fileno change.

    Chased error API changes


Platforms tested:
    h5committested
2003-08-08 14:17:40 -05:00
Quincey Koziol
bdc659f2bb [svn-r7316] Purpose:
Code cleanup

Description:
    Removed prototype for H5F_addr_pack() routine.

Platforms tested:
    h5committested
2003-08-08 14:16:07 -05:00
Quincey Koziol
1784c3f09a [svn-r7315] Purpose:
Code cleanup

Description:
    Chase error API changes

    Removed H5F_addr_pack() routine, which is no longer necessary.

Platforms tested:
    h5committested
2003-08-08 14:15:22 -05:00
Quincey Koziol
e611371625 [svn-r7314] Purpose:
Feature change

Description:
    Change the fileno field in H5G_stat_t from 'unsigned long[2]' to just
'unsigned long'.

    Change the objno field in H5G_stat_t from 'unsigned long[2]' to 'haddr_t'

Platforms tested:
    h5committested
2003-08-08 14:14:19 -05:00
Quincey Koziol
5ce68b5506 [svn-r7313] Purpose:
Code cleanup & feature change

Description:
    Chase error API changes

    Also, switch from using 'unsigned long[2]' for the objno in the H5G_stat_t
struct to just using 'haddr_t', since 'haddr_t' is already part of the public
information for the library and the 'unsigned long[2]' form was just confusing
and obscured the issue.

Platforms tested:
    h5committested
2003-08-08 14:12:58 -05:00
Quincey Koziol
8c77305a07 [svn-r7312] Purpose:
Code cleanup

Description:
    Use H5E_BEGIN_TRY/H5E_END_TRY macros around code which shouldn't display
the error stack on failure, instead of setting and resetting the automatic
error printing routines.

Platforms tested:
    h5committested
2003-08-08 14:08:54 -05:00
Quincey Koziol
8d120c4d02 [svn-r7311] Purpose:
Bug fix

Description:
    Corrected thread-safe error checking tests to use per-thread 'automatic
    error' callbacks.

    Also, minor code cleanups

Platforms tested:
    h5committested
2003-08-08 14:06:29 -05:00
Quincey Koziol
6f26af4580 [svn-r7310] Purpose:
Code cleanup

Description:
    Chase error API revision by passing H5E_DEFAULT to H5Eclear()

Platforms tested:
    h5committested
2003-08-08 14:05:05 -05:00
Quincey Koziol
eaad7b0f21 [svn-r7309] Purpose:
Enable test

Description:
    Re-enabled error API testing

Platforms tested:
    h5committested
2003-08-08 14:04:26 -05:00
Quincey Koziol
92f5e443f8 [svn-r7308] Purpose:
Code cleanup

Description:
    Made automatic error printing routine, h5_errors(), static.

    Passed along error stack in h5_errors()

Platforms tested:
    h5committested
2003-08-08 14:03:43 -05:00
Quincey Koziol
8daa13f3cd [svn-r7307] Purpose:
Code cleanup/bug fix

Description:
    Chase error API by including error class in calls to H5Epush()

    Corrected bugs with automatic error printing routine checking

    Enabled some commented out tests.

Platforms tested:
    h5committested
2003-08-08 14:02:26 -05:00
Quincey Koziol
e5ad6fddff [svn-r7306] Purpose:
Code cleanup

Description:
    Added new macro 'H5_SIZEOF_HADDR_T' to describe the size of an 'haddr_t'

    Also added a new macro 'H5_PRINTF_HADDR_FMT' for the correct printf()
format for displaying an 'haddr_t'

Platforms tested:
    h5committested
2003-08-08 14:00:29 -05:00
Quincey Koziol
1352b673fd [svn-r7305] Purpose:
Code cleanup

Description:
    Clean up code a bit

    Chase new error API by including the error class in calls to H5E_push()

Platforms tested:
    h5committested
2003-08-08 13:58:50 -05:00
Quincey Koziol
8e9bed7d19 [svn-r7304] Purpose:
Code cleanup

Description:
    Remove some unused code and correct some error strings

Platforms tested:
    h5committested
2003-08-08 13:57:44 -05:00
Quincey Koziol
5155912a82 [svn-r7303] Purpose:
Code cleanup

Description:
    Chase new error API usage

    Protect against the current ID getting deleted during iteration over an
ID group.


Platforms tested:
    h5committested
2003-08-08 13:57:10 -05:00
Quincey Koziol
d25aefd0f3 [svn-r7302] Purpose:
Code cleanup

Description:
    Removed unused H5I_TEMPBUF group of IDs

Platforms tested:
    h5committested
2003-08-08 13:55:56 -05:00
Quincey Koziol
e1c6486a01 [svn-r7301] Purpose:
Code cleanup

Description:
    Remove comments and redundant code.

Platforms tested:
    h5committested
2003-08-08 13:54:54 -05:00
Quincey Koziol
3852a59d59 [svn-r7300] Purpose:
Code cleanup

Description:
    Use HDONE_ERROR instead of HCOMMON_ERROR

Platforms tested:
    h5committested
2003-08-08 13:54:21 -05:00
Quincey Koziol
1c1bf5dcd3 [svn-r7299] Purpose:
Code refactoring

Description:
    Chase new error API usage by adding error class to calls to H5Epush().

Platforms tested:
    h5committested
2003-08-08 13:53:49 -05:00
Quincey Koziol
7255ce7c07 [svn-r7298] Purpose:
Code cleanup & bug fix

Description:
    Refactor code to clean up

    Corrected several bugs, including problems with library termination and
        thread-safete, etc.

Platforms tested:
    h5committested
2003-08-08 13:52:00 -05:00
Quincey Koziol
1186c0b7fa [svn-r7297] Purpose:
Code cleanup

Description:
    Changed lines like:
        H5E_clear(H5E_get_my_stack());

    to:
        H5E_clear(NULL);

    which performs the same operation.

Platforms tested:
    h5committested
2003-08-08 13:47:43 -05:00
Quincey Koziol
9038dcb4b6 [svn-r7296] Purpose:
Code cleanup/bug fix

Description:
    Re-enabled calling the H5E termination routine, now that the bugs are
fixed.

    Removed tracing support for H5E_major_t and H5E_minor_t, now that they have
been removed from the library.

    Cleaned up printing of IDs in tracing routine.


Platforms tested:
    h5committested
2003-08-08 13:39:54 -05:00