Commit Graph

5487 Commits

Author SHA1 Message Date
Quincey Koziol
b27213f08d [svn-r7365] Purpose:
Update doc

Description:
    Update list of files that have been linted.
2003-08-14 09:27:43 -05:00
Quincey Koziol
54949c497a [svn-r7364] Purpose:
Code cleanup

Description:
    Ran lint over code & cleaned up warnings.

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    too small of changes to require h5committest
2003-08-14 08:44:59 -05:00
Quincey Koziol
f29e3e1097 [svn-r7362] Purpose:
Bug fix

Description:
    Allow a user block to be "inserted" in front of a file (probably by
writing a validly-sized userblock to a new file and then appending another
HDF5 file to the new file).

Platforms tested:
    FreeBSD 4.8 (sleipnir)
    h5committested
2003-08-14 07:18:34 -05:00
Albert Cheng
374ad0ef30 [svn-r7361] Description:
Updated the copyright notice--mostly by rearranging
some text to make them consistent.

Solution:

Platforms tested:
"h5committested"--sol is down, so, no SUn test.

Misc. update:
2003-08-13 23:58:29 -05:00
Albert Cheng
779af14613 [svn-r7359] Purpose:
New features

Description:
Add options of verbose (-v, -v9) and -fname which limits to
checking file with the file name pattern.

Solution:

Platforms tested:
Did not h5committest which does not cover this command.
Verified it by hand.

Misc. update:
2003-08-13 16:41:34 -05:00
Albert Cheng
c16a0fa8d3 [svn-r7358] Purpose:
added formal copyright notice.

Description:

Solution:

Platforms tested:
h5committested

Misc. update:
2003-08-13 09:32:29 -05:00
Dan Wells
0092d2b6de [svn-r7356]
Purpose: Bug fix.

Description: Parallel make fails because Pablo IDs are not assigned.

Solution: Extracted the Pablo IDs into header files and added them to the
pablo subdirectory instead of creating them on the fly.

Platforms tested: h5committested by Albert

Misc. update: Have updated MANIFEXT
2003-08-13 09:18:13 -05:00
Quincey Koziol
d72cdcad4d [svn-r7355] Purpose:
Code cleanup, etc.

Description:
    Previously (in versions prior to 1.7), there were two locations to
modify when an error was added to the library.  Now, with the new error API,
there were four.

Solution:
    Created a single text file (src/H5err.txt) and a perl script (bin/make_err)
which uses the text file to automatically create header files that are included
in appropriate places in the library.
    This means that there is only one file (src/H5err.txt) which needs to be
modified when a new error code is added to the library.  The automatically
generated headers depend on this file and the makefiles will take care of
running the perl script to regenerate them when the text file changes, so no
user action is required when a new error is added.

Platforms tested:
    h5committested
2003-08-12 20:58:10 -05:00
Quincey Koziol
d88b379479 [svn-r7354] Purpose:
Added new file

Description:
    Added new perl script to generate error headers from one location
(src/H5err.txt)

Platforms tested:
    h5committested
2003-08-12 20:52:39 -05:00
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