summaryrefslogtreecommitdiffstats
path: root/src/H5api_adpt.h
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r27753] Removed duplicated attribute macro checks. Moved canonical ↵Dana Robinson2015-09-101-22/+0
| | | | | | | | | attribute macro checks from src/H5api_adapt.h to H5private.h, which is where they belong anyway. Tested on: h5committest (manually inspected for attribute warnings)
* [svn-r27465] Merge dual-binary CMake changesAllen Byrne2015-08-051-9/+9
|
* [svn-r27407] Updated the H5_ATTR_* macros.Dana Robinson2015-07-181-1/+4
| | | | | | | | | | | | | - Updated the preprocessor logic that defines the H5_ATTR_* macros. The Solaris Studio compiler understands __attribute__ but not the specific attributes that we use. The H5_ATTR_* macros are now defined as blank with that compiler which significantly cleans up the warnings, making debugging easier. - Replaced a few lingering __attribute__ macros with H5_ATTR_* markup. Tested on: h5committest Solaris w/ Solaris Studio (emu)
* [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-011-0/+20
| | | | | | | | * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* [svn-r27111] move undef of __attribute__ back to private and remove its ↵Mohamad Chaarawi2015-05-261-7/+0
| | | | usage from public routines.
* [svn-r26691] Move attribute define out of dynamic block.Allen Byrne2015-04-011-3/+3
| | | | Tested: windows
* [svn-r26678] add ifdef checks and setting for __attribute__ in a public ↵Mohamad Chaarawi2015-03-311-0/+7
| | | | | | place to allow usage in public routines.
* [svn-r26594] Merge macros and fortran changes from dual_binary feature.Allen Byrne2015-03-251-179/+10
| | | | Tested: local linux
* [svn-r21366] JIRA HDFFV-2748 replace use of _WIN32 in source. Created new ↵Allen Byrne2011-09-061-11/+11
| | | | | | defines H5_HAVE_WIN32_API and H5_HAVE_VISUAL_STUDIO defines to use. These can be properly set during configurration. Tested: windows and local linux - reviewed internally
* [svn-r19917] Remove warning about H5_BUILT_AS_STATIC_LIBAllen Byrne2011-01-051-1/+1
|
* [svn-r19895] Remove use of /MT compile flag for building static libs and ↵Allen Byrne2010-12-291-0/+16
| | | | programs. Added BUILT_AS_STATIC_LIBRARY define to set the windows import/export defines correctly for static libraries.
* [svn-r19830] Fixed the name of the windows linkage define in the header. ↵Allen Byrne2010-11-191-1/+1
| | | | | | | | This corrects the inconsistent dll linkage warning when used with CMake. Changed hdf5_f90Ctest_EXPORTS to hdf5_test_f90ctub_EXPORTS. Tested: windows
* [svn-r19769] Correct comment about VS defines and next releaseAllen Byrne2010-11-121-1/+1
|
* [svn-r18908] Corrected name of cstub libraries (needed to be lowercase)Allen Byrne2010-05-261-5/+5
|
* [svn-r18765] Corrected typo in Fortran CStub DLL sectionAllen Byrne2010-05-111-1/+1
|
* [svn-r18761] File needed to correctly set new H5TOOLS_* export/import attributeAllen Byrne2010-05-111-0/+281
|
* [svn-r13766] In Visual Studio 2005 for 64-bit, _WIN32 is defined, but not ↵Scott Wegner2007-05-181-2/+2
| | | | | | | WIN32, so I've standardized all #ifdef's to use _WIN32. This should not affect any other platform. Tested: Visual Studio (32- and 64-bit) on Win XP
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r12730] Add _WIN32 macro since some windows applications need to use ↵MuQun Yang2006-10-061-1/+1
| | | | this macro rather than WIN32.
* [svn-r12700] Alert:Quincey Koziol2006-10-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | File format is not stable, don't keep files produced! Description: First stage of checkins modifying the format of groups to support creation order. Implement "dense" storage for links in groups. Try to clarify some of the symbols for the H5L API. Add the H5Pset_latest_format() flag for FAPLs, to choose to use the newest file format options (including "dense" link storage in groups) Add the H5Pset_track_creation_order() flag for GCPLs, to enable creation order tracking in groups (although no index on creation order yet). Remove --enable-group-revision configure flag, as file format issues are now handled in a backwardly/forwardly compatible way. Clean up lots of compiler warnings and other minor formatting issues. Tested on: FreeBSD/32 4.11 (sleipnir) w/threadsafe Linux/32 2.4 (heping) w/FORTRAN & C++ Linux/64 2.4 (mir) w/enable-v1.6 compa Mac OSX/32 10.4.8 (amazon) AIX 5.3 (copper) w/parallel & FORTRAN
* [svn-r11245] Purpose:Quincey Koziol2005-08-131-1/+1
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11108] Purpose:Fang Guo2005-07-221-2/+31
| | | | | | | | | | | Improvement Description: Add high level c c++ and fortran dll and tests on windows Solution: Platforms tested: MSVS 6.0 on Winodows XP, cygwin,heping and copper Misc. update:
* [svn-r9474] Purpose:MuQun Yang2004-10-271-3/+19
| | | | | | | | | | | | | | | | | Updating H5api_adpt.h to help the implementation of Fortran DLL on windows. Description: 1. More functions need to be added prefix macro for exporting and importing fortran DLL on Windows. 2. unlink was _unlink on windows and use HDunlink to specify this. Solution: Platforms tested: linux 2.4(h5committest not finished yet, but should work since the change is minor and it is passed with pgi compiler) Misc. update:
* [svn-r8467] Purpose:MuQun Yang2004-05-031-0/+14
| | | | | | | | | | | | | | | | | | Fixing building Fortran DLL on windows Description: Fortran DLL needs to separate C stub DLL from Fortran DLL. So we need to use another keyword H5_FCDLL to replace the old H5_DLL for C stub library. Solution: Add another section at H5api_adpt.h to define a macro block for Fortran C stub library. Platforms tested: Manual tests. Copper is not accessible. Only test on arabica and eirene with fortran enabled. Misc. update:
* [svn-r8241] Purpose: Bug fix (#71 in Bugzilla DB)Elena Pourmal2004-03-091-2/+2
| | | | | | | | | | | Description: C++ comment was used. That caused a problem for a user (see bug description) Solution: Changed comment to C type Platforms tested: eirene Misc. update:
* [svn-r6855] Purpose:Bill Wendling2003-05-131-0/+2
| | | | | | | | | | | | | | | | Bug Fix Description: The newly added H5TEST_DLL{VAR} macros weren't defined if it wasn't a Windows environment. Solution: "#define" them to "" and "extern" if not a WIN32 environment. Platforms tested: Linux (small change not needing full testing) Misc. update:
* [svn-r6851] Purpose:MuQun Yang2003-05-131-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | To add macro HDF5TESTDLL for windows libtest library. Description: Many HDF5 tests will use h5test.c. So we create a libtest library to 1) make tests more organized and 2) make tests more consistent with other platforms 3) reduce compiling times 4) reduce dumplicated warnings possibily generated by h5test.c However, we didn't create the corresponding libtest DLL correctly, now, some warnings are generated because of this; so for this release, we follow exactly DLL-DLL rules, to create an internal libtest DLL for our test suites. The application who used HDF5DLL will not have extra burdens to add HDF5TESTDLL and this will reflect in the release.txt Solution: USE DLL import and export library by defining macro HDF5TESTDLL and HDF5TESTUSEDLL Platforms tested: Windows 2000(the macro will not affect on non-WIN32 platforms). Misc. update:
* [svn-r6546] Purpose:Bill Wendling2003-03-311-4/+18
| | | | | | | | | | | | Update Description: Updated copyright statement in files which hadn't been updated yet. Platforms tested: Linux (Only comment change) Misc. update:
* [svn-r5931] MuQun Yang2002-09-201-12/+12
| | | | | | | | | | | | Purpose: __DLL__ is a keyword in some platforms and __DLL__ is also defined as a macro for windows DLL applications. That causes problems. Description: Solution: Use H5_DLL*** to replace __DLL***__ at all header files. Change the macro defination at H5api_adpt.h. Platforms tested: linux2.2.18smp, irix64, solaris 2.7 and windows 2000
* [svn-r4979] Purpose:Binh-Minh Ribler2002-02-181-0/+10
| | | | | | | | | | | | | | | Adding support for dll Description: Added the definition of __DLLCPP__ depending on: HDF5_CPPDLL_EXPORTS: C++ API is to be exported - this name is generated by MSVC++ when the project was created. HDF5CPP_USEDLL: C++ API dll is to be used (imported.) Any applications, that use the C++ API dll, must define this name in the project setting. On non-windows platforms, __DLLCPP__ is nil. Platforms tested: Linux 6.2 (eirene) Windows 2000
* [svn-r1052] changed the HDF5GLOBAL and HDF5DLL to __DLLVAR and __DLL__Patrick Lu1999-02-021-6/+9
| | | | also exported all the non static functions and globals variables to the dll
* [svn-r1032] Changes since 19990118Robb Matzke1999-01-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ---------------------- ./tools/h5tools.c Strings are not converted to null-padding before being printed; they are printed with whatever byte values appear in the file. ./tools/h5ls.c Now able to display attribute data type and data. Added a `-f' or `--full' switch which causes the full name of each object to be displayed instead of just the base name. Added a `-r' or `--recursive' switch that recursively prints the contents of groups, avoiding cycles. More bulletproofing for non-printable characters in things like object names, attribute names, and comment strings. We don't want listing a file to send termal escape sequences because it's sometimes possible to execute commands that way. Since h5ls doesn't usually use quotes around object names we must sometimes escape space characters. External files are listed in a table to make the output less confusing. ./tools/h5tools.c ./tools/h5tools.h Changed h5dump() to h5dump_dset() and added h5dump_mem(). Also make h5dump_fixtype() public. ./test/dtypes.c Wrote some data to an attribute to test h5ls attribute printing. ./src/H5ACprivate.h ./src/H5Apublic.h ./src/H5Dprivate.h ./src/H5Dpublic.h ./src/H5Epublic.h ./src/H5Fprivate.h ./src/H5Fpublic.h ./src/H5Gprivate.h ./src/H5HLprivate.h ./src/H5Oprivate.h ./src/H5Ppublic.h ./src/H5RApublic.h ./src/H5Rpublic.h ./src/H5Spublic.h ./src/H5Tpkg.h ./src/H5Tpublic.h ./src/H5Vprivate.h ./src/H5Zpublic.h ./src/H5private.h ./src/H5public.h Reindented function prototypes after `HDF5API' was added. Also rewrapped long lines. ./src/H5Flow.c Added an `#ifdef WIN32' around an unused variable. ./src/H5api_adpt.h Removed extra carriage returns inserted by "broken" operating system. ./src/H5Dprivate.h ./src/H5Oprivate.h ./src/H5Vprivate.h ./src/H5private.h Removed extraneous inclusion of H5api_adpt.h since it's included in H5public.h which is included by everything. ./src/Makefile.in Added H5api_adpt.h to the list of public header files to fix broken `make install'.
* [svn-r1028] new include file that is needed on NT to export functions and ↵Patrick Lu1999-01-211-0/+25
gloabls in a dll