Commit Graph

25 Commits

Author SHA1 Message Date
Allen Byrne
2457d8ecaf [svn-r21366] JIRA HDFFV-2748 replace use of _WIN32 in source. Created new 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
2011-09-06 11:50:32 -05:00
Allen Byrne
5f00939eb9 [svn-r19917] Remove warning about H5_BUILT_AS_STATIC_LIB 2011-01-05 14:31:57 -05:00
Allen Byrne
86313eb281 [svn-r19895] Remove use of /MT compile flag for building static libs and programs. Added BUILT_AS_STATIC_LIBRARY define to set the windows import/export defines correctly for static libraries. 2010-12-29 13:52:34 -05:00
Allen Byrne
2f883f0881 [svn-r19830] Fixed the name of the windows linkage define in the header. This corrects the
inconsistent dll linkage warning when used with CMake. Changed hdf5_f90Ctest_EXPORTS to hdf5_test_f90ctub_EXPORTS. 

Tested: windows
2010-11-19 12:58:19 -05:00
Allen Byrne
e9670c0382 [svn-r19769] Correct comment about VS defines and next release 2010-11-12 09:27:12 -05:00
Allen Byrne
652a1c649f [svn-r18908] Corrected name of cstub libraries (needed to be lowercase) 2010-05-26 13:59:40 -05:00
Allen Byrne
33f060108b [svn-r18765] Corrected typo in Fortran CStub DLL section 2010-05-11 16:22:26 -05:00
Allen Byrne
3da997e38f [svn-r18761] File needed to correctly set new H5TOOLS_* export/import attribute 2010-05-11 15:59:55 -05:00
Scott Wegner
87a41d4286 [svn-r13766] In Visual Studio 2005 for 64-bit, _WIN32 is defined, but not 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
2007-05-18 10:14:43 -05:00
Albert Cheng
ed7d456e51 [svn-r13253] Updated all C and C++ style source code files with the THG 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.
2007-02-07 09:56:24 -05:00
MuQun Yang
df31eab474 [svn-r12730] Add _WIN32 macro since some windows applications need to use this macro rather than WIN32. 2006-10-06 15:12:44 -05:00
Quincey Koziol
a6f6462541 [svn-r12700] Alert:
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
2006-10-02 05:24:03 -05:00
Quincey Koziol
6b45f5172c [svn-r11245] Purpose:
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
2005-08-13 15:53:35 -05:00
Fang Guo
82293a2bad [svn-r11108] Purpose:
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:
2005-07-22 16:25:19 -05:00
MuQun Yang
babfbc2f9d [svn-r9474] Purpose:
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:
2004-10-27 17:41:57 -05:00
MuQun Yang
2a1e065579 [svn-r8467] Purpose:
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:
2004-05-03 10:30:10 -05:00
Elena Pourmal
66c858c269 [svn-r8241] Purpose: Bug fix (#71 in Bugzilla DB)
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:
2004-03-09 16:15:24 -05:00
Bill Wendling
699d1727e0 [svn-r6855] Purpose:
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:
2003-05-13 10:50:31 -05:00
MuQun Yang
f666340233 [svn-r6851] Purpose:
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:
2003-05-13 09:26:44 -05:00
Bill Wendling
b5d7fa02a9 [svn-r6546] Purpose:
Update

Description:
    Updated copyright statement in files which hadn't been updated yet.

Platforms tested:
    Linux (Only comment change)

Misc. update:
2003-03-31 13:30:57 -05:00
MuQun Yang
e5b28ef37b [svn-r5931]
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
2002-09-20 15:36:09 -05:00
Binh-Minh Ribler
35bdf428bd [svn-r4979] Purpose:
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
2002-02-17 20:01:17 -05:00
Patrick Lu
3234df6fb1 [svn-r1052] changed the HDF5GLOBAL and HDF5DLL to __DLLVAR and __DLL__
also exported all the non static functions and globals variables to the dll
1999-02-02 10:55:10 -05:00
Robb Matzke
a2b8da49db [svn-r1032] Changes since 19990118
----------------------

./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'.
1999-01-21 13:33:39 -05:00
Patrick Lu
6778cd8ce5 [svn-r1028] new include file that is needed on NT to export functions and gloabls in a dll 1999-01-21 11:11:12 -05:00