summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r14004] Description:Quincey Koziol2007-07-2414-492/+889
| | | | | | | | | | | | Fix problem with datatype messages where the version of the format for a datatype message could depend on the "use the latest format" flag from the file after it was initially created. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Mac OS X/32 10.4.10 (amazon)
* [svn-r14003] Description:Quincey Koziol2007-07-242-8/+7
| | | | | | | | | | Code cleanup & whitespace fixups Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Mac OS X/32 10.4.10 (amazon)
* [svn-r14002] Description:Quincey Koziol2007-07-241-1/+1
| | | | | | | | | | Fix bug where pointer to variable was used instead of variable itself. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (kagiso) Mac OS X/32 10.4.10 (amazon)
* [svn-r13997] Moved H5D_istore_lock and H5D_istore_unlock from ↵Raymond Lu2007-07-218-179/+301
| | | | | | | | | H5D_istore_writevv and H5D_istore_readvv to H5D_chunk_write and H5D_chunk_read to avoid frequent lock and unlock and to improve some performance. Tested with h5committest on THG machines.
* [svn-r13993] Description:Quincey Koziol2007-07-211-12/+14
| | | | | | | | Correct error for checking whether an object in a file can be extended when there are no free lists maintained by the VFD. Tested on: FreeBSD/32 6.2 (duty) w/check-vfd
* [svn-r13992] Description:Quincey Koziol2007-07-211-12/+5
| | | | | | | Add some extra logging information to read & write reports. Tested on: FreeBSD/32 6.2 (duty) w/check-vfd
* [svn-r13991] Description:Quincey Koziol2007-07-201-2/+2
| | | | | | | | | Correct error in H5Gcreate() where using a non-zero local heap size hint would overwrite the default group creation property list with the non-zero size hint given, affecting all future groups created. Tested on: FreeBSD/32 6.2 (duty) w/check-vfd
* [svn-r13989] Description:Quincey Koziol2007-07-196-19/+22
| | | | | | | | | | | Rename H5A_get_version() to H5A_set_version() and actually set the attributes version in the routine. Tested on: Mac OS X/32 10.4.10 (amazon) FreeBSD/32 6.2 (duty) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13988] Description:Quincey Koziol2007-07-186-79/+117
| | | | | | | | | Fix bug where the version of an attribute would change after it was created, causing the amount of space used to encode it to change. Tested on: Mac OS X/32 10.4.10 (amazon) FreeBSD/32 6.2 (duty)
* [svn-r13986] Description:Quincey Koziol2007-07-179-23/+34
| | | | | | | | | Add flag to bypass (expensive) B-tree & heap size retrieval for internal calls to H5O_get_info(). Teted on: Mac OS X/32 10.4.10 (amazon) FreeBSD/32 6.2 (duty)
* [svn-r13984] Description:Quincey Koziol2007-07-1737-739/+707
| | | | | | | | | | | Various code cleanups and refactor recent changes for h5stat to fit into the existing library data structures better. Tested on: Mac OS X/32 10.4.10 (amazon) FreeBSD/32 6.2 (duty) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13978] purpose:Vailin Choi2007-07-1336-5/+1021
| | | | | | | | | | | | | | New feature. Description: Added routines to report on the amount of storage for: 1) 1.6 btree and heap storage info for groups 2) 1.8 btree, fractal heap storage info for groups, attributes and SOHM table 3) btree storage for chunked datasets 4) 1.8 superblock extension size. Platform tested: h5committested.
* [svn-r13972] Description:Quincey Koziol2007-07-132-0/+4
| | | | | | | | | Add --with-default-api-version configure flag. Tested on: Mac OS X/32 10.4.10 (amazon) FreeBSD/32 6.2 (duty) Linux/32 2.6 (kagiso)
* [svn-r13971] Description:Quincey Koziol2007-07-123-19/+23
| | | | | | | | | | | | | | Add --enable-deprecated-symbols configure option, to allow users to remove deprecated public API symbols at configure time. Add bin/make_vers script to bin/reconfigure actions. Run bin/reconfigure to regenerate autotool components. Tested on: Mac OS X/32 10.4.10 (amazon) FreeBSD/32 6.2 (duty) Linux/32 2.6 (kagiso)
* [svn-r13969] Description:Quincey Koziol2007-07-125-14/+119
| | | | | | | | | | | | | | | | Initial checkin of API version macro generation script (bin/make_vers), along with configuration file (src/H5vers.txt) and generated header (src/H5version.h). Right now, no version macros are defined, since the main source code and tests need to be adjusted to pay attention to the macros defined. Also, fixed makefile for generating error header files when used with GNU make. Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13961] Description:Quincey Koziol2007-07-101-45/+30
| | | | | | | | | | Remove some unnecessary code that checks for fill value buffer being NULL. Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13945] Description:Quincey Koziol2007-07-051-10/+7
| | | | | | | | | | | | | | Modify semantics for constant messages slightly, to allow them to be deleted, but not modified. This works around the issue where "old" style groups are being created with the symbol table message marked constant in the 1.6 (and prior) branch, but the 1.8 branch needs to remove the symbol table message when the group has been changed to the "new" style (upon insertion of a link that the "old" style can't handle). Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13944] Description:Quincey Koziol2007-07-051-46/+60
| | | | | | | | | Fix problem with VL-datatype fill values when shrinking dataset's dimensions Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13943] Description:Quincey Koziol2007-07-051-13/+19
| | | | | | | | | Allow H5Dset_extent() to reduce the size of dimensions that aren't unlimited Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13942] Description:Quincey Koziol2007-07-053-8/+5
| | | | | | | | | Minor code & comment cleanups Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13935] Description:Quincey Koziol2007-07-031-10/+7
| | | | | | | | | Another minor code cleanup to chunked storage "init by extent" routine. Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13933] Description:Quincey Koziol2007-07-031-59/+61
| | | | | | | | | | Finish cleaning up "initialize by extent" routine (used when shrinking a dataset's dimensions) before addressing VL-datatype fill value bug. Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13932] Description:Quincey Koziol2007-07-033-124/+125
| | | | | | | | | Move H5Dextend() to the deprecated routine list. Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13928] Purpose: 1) Moving H5_CXX_HAVE_OFFSETOF macro to ↵Mike McGreevy2007-06-292-8/+8
| | | | | | | | | | src/H5pubconf.h file. 2) Removing configuration of c++/src/H5cxx_pubconf.h file. Reasoning: the additional pubconf file caused compilation complications, this is cleaner. Tested: kagiso, smirom
* [svn-r13927] Description:Quincey Koziol2007-06-291-63/+64
| | | | | | | | Clean up the chunked storage "initialize by extent" routine, in preparation for fixing another VL-datatype fill value bug. Tested on: Mac OS X/32 10.4.10 (amazon)
* [svn-r13926] Description:Quincey Koziol2007-06-2918-587/+1178
| | | | | | | | | | | | Add small interface to "wrap" a static buffer (usually on the stack), but still allow for buffers larger than the static buffer to be allocated. This can eliminate _many_ short-lived buffer allocations in situations where the buffer is a predictable size (or at least a "very likely" size). Also, some minor code cleanups, particularly in the SOHM caching code. Tested on: Mac OS X/32 10.4.10 (amazon)
* [svn-r13925] Purpose: intermediate checkin for offsetof fix for PGI compiler.Mike McGreevy2007-06-282-10/+11
| | | | | | | | | | Description: added new configuration to generate a pubconf file in the c++/src directory, H5cxx_pubconf.h. When C++ compiler recognizes 'offsetof', the macro H5_CXX_HAVE_OFFSETOF is defined in the new pubconf file. tested: kagiso, smirom
* [svn-r13919] Description:Quincey Koziol2007-06-261-57/+14
| | | | | | | | | Clean up more redundant code for reading SOHM messages. Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13918] Description:Quincey Koziol2007-06-268-786/+872
| | | | | | | | | | Refactor fill value buffer code into one location, for better long-term maintenance. Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13917] Description:Quincey Koziol2007-06-263-4/+5
| | | | | | | | | Code & warning cleanups Tested on: Mac OS X/32 10.4.10 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13916] Purpose: Fix MinGW inconsistencyScott Wegner2007-06-261-0/+4
| | | | | | | | | | Description: Windows does not accept the buffer size parameter of setvbuf to be less than 2. Previously, we had our fix split between two files, H5private.h and the Windows H5pubconf.h. This was a problem for MinGW, because it generates its own H5private.h. This moves the fix out of H5pubconf.h and into H5private.h. This shouldn't affect other platforms. Tested: MinGW on WinXP
* [svn-r13915] Description:Quincey Koziol2007-06-262-68/+78
| | | | | | | | | Clean up SOHM code, to copy message in H5HF_op call instead of separate calls to H5HF_get_obj_len() and H5HF_read(). Tested on: Mac OS X/32 10.4.9 (amazon) Linux/32 2.6 (chicago)
* [svn-r13913] Maintenance after beta2 release: used bin/h5vers script to ↵Elena Pourmal2007-06-251-2/+2
| | | | change version number to 1.8.0-beta2poat1
* [svn-r13909] Mainetnance before createing beta2 tar ballhdf5-1_8_0-beta2Elena Pourmal2007-06-251-2/+2
| | | | Changed version number to 1.8.0-beta2
* [svn-r13893] Maintenance: Bump up version to beta2pre2 after creating a tar ↵Elena Pourmal2007-06-201-2/+2
| | | | ball for remote testing
* [svn-r13892] Maintenance: Changed library version to beta2pre1 in ↵Elena Pourmal2007-06-201-2/+2
| | | | | | | preparation for remote testing for the HDF5 1.8.0-beta2 release Platforms tested: kagiso (small change done by bin/h5vers script)
* [svn-r13885] Modify the comment from the checkin last round.Raymond Lu2007-06-192-9/+9
| | | | No test is needed.
* [svn-r13884] The second step of optimization for compound data for the ChicagoRaymond Lu2007-06-195-73/+508
| | | | | | | | | | | | | | | | | | | | | | | | | | company. The I/O is optimized when the source and destination members are a subset of each other one way or another, and the order is the same, and no conversion is needed. For example: struct source { struct destination { TYPE1 A; --> TYPE1 A; TYPE2 B; --> TYPE2 B; TYPE3 C; --> TYPE3 C; }; TYPE4 D; TYPE5 E; }; or struct destination { struct source { TYPE1 A; --> TYPE1 A; TYPE2 B; --> TYPE2 B; TYPE3 C; --> TYPE3 C; }; TYPE4 D; TYPE5 E; }; The optimization is simply moving data from the source to the appropriate places in the buffer and bypass the reading of the background data and data conversion. Tested on smirom, liberty, sol, and copper.
* [svn-r13883] Description:Quincey Koziol2007-06-191-89/+309
| | | | | | | | | | | Fixed bugs w/VL-datatype fill values for chunked dataset storage. Tested on: Mac OS X/32 10.4.9 (amazon) FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13878] Description:Quincey Koziol2007-06-191-11/+16
| | | | | | | | | Improve efficiency of writing VL-datatype fill values. Tested on: Mac OS X/32 10.4.9 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13873] Purpose: Code cleanupScott Wegner2007-06-181-9/+4
| | | | | | | | | | Description: Changed a macro in H5FDwindows.c from IO_BUF_SIZE to a more specific WINDOWS_MAX_BUF, and moved it to our H5pubconf.h, where users can customize it to their own preference. This value is needed because of a bug in the Windows _write function, it is unsafe to write buffers larger than 2GB-1 bytes in one write. Tested: VS2005 on WinXP.
* [svn-r13872] WinXP x64 does not define the error code EWOULDBLOCK, but ↵Scott Wegner2007-06-181-0/+10
| | | | | | | | instead uses its own WSAEWOULDBLOCK. Although the stream vfd isn't supported on Windows, this was requested by a user via bug #890. This won't affect any other platforms, but should help, should we ever decide to support stream vfd on Windows. Tested: kagiso, linew, smirom (via h5committest) NOT tested on Windows, as it is unsupported.
* [svn-r13870] Description:Quincey Koziol2007-06-154-85/+205
| | | | | | | | | | Fix writing variable-length datatype fill values for contiguous dataset storage Tested on: Mac OS X/32 10.4.9 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13866] Updated the open command to add the _O_BINARY flag, which ↵Scott Wegner2007-06-141-27/+31
| | | | | | | Windows needs for reading and seeking. Tested: VS.NET and VS2005 on WinXP 32-bit and x64
* [svn-r13865] Purpose: Adding a new macro, H5_HAVE_OFFSETOF.Mike McGreevy2007-06-142-2/+5
| | | | | | | | Description: When the compiler has the __offsetof__ extension, the H5_HAVE_OFFSETOF macro will be defined. When the compiler does not have the extension, the macro will remain undefined. Tested: kagiso
* [svn-r13862] Although still not completely ready, this fixes many problems ↵Scott Wegner2007-06-131-47/+64
| | | | | | | in the new Windows file driver related to writing large buffers (4GB+). sec2 is still set as the default driver on Windows. Tested: .NET on WinXP and 2005 on WinXP x64
* [svn-r13856] H5FDwindows.h is included in the hdf5.h but we didn't put it ↵MuQun Yang2007-06-124-0/+8
| | | | | | | | | | | | | | | | into Makefile.am un der /src. So when gmake check-install is run for HDF5 examples, it will fail. Th e fix is to include a macro #ifdef H5_HAVE_WINDOW around #include H5FDwindows.h so that H5FDwindows.h will only be included on windows, not on other platforms. We've fixed with the same way for other source code that includes H5FDwindows.h. This has been tested with h5committest. However, it takes a few hours to test all tests and except kagiso. Tests on linew and smirom cannot finish. It takes forever for the fheap test. And for parallel test at kagiso, ph5diff test seems to be hanged. I think all of our changes will only affect windows. So in order not to block other developers to check in their code, we just go ahead to check our changes. Kent Yang
* [svn-r13852] Added includes in various places to make it possible to set ↵Scott Wegner2007-06-116-1/+1055
| | | | | | | windows as the default vfd. Although sec2 is still default on Windows, it should now be possible to switch by simply changing H5pubconf.h . Tested: .NET 2003 on WinXP
* [svn-r13850] Description:Quincey Koziol2007-06-111-2/+2
| | | | | | | | | | | Hook "default VFD" configure macros into library. Also, make "default VFD" default to sec2 instead of nothing. Tested on: FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty) Mac OS X/32 10.4.9 (amazon)
* [svn-r13849] Purpose: adding a --with-default-vfd= flag to configuration.Mike McGreevy2007-06-111-0/+3
| | | | | | | | Description: this flag will define the macro H5_DEFAULT_VFD in src/pubconf.h and set it to be either H5FD_SEC2 or H5FD_STDIO, depending on the value set with the configuration flag (either sec2 or stdio). Tested: kagiso, smirom, linew