* Update to 1.11.0.1

This commit is contained in:
D Haley 2010-11-28 00:33:57 +00:00
parent ed8f03b6e7
commit e62dcee558
9 changed files with 20 additions and 121 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
mathgl-1.10.2.1.tgz
/mathgl-1.11.0.1.tgz

View File

@ -1,34 +0,0 @@
--- examples/Makefile.am.org 2010-04-14 22:11:30.868130523 +0100
+++ examples/Makefile.am 2010-04-14 22:20:08.230133173 +0100
@@ -8,19 +8,19 @@
if USE_FLTK
bin_PROGRAMS += mgl_fltk_example
mgl_fltk_example_SOURCES = wnd_samples.cpp fltk_example.cpp
-mgl_fltk_example_LDADD = $(FLTK_LIBS) $(top_builddir)/widgets/libmgl-fltk.la
+mgl_fltk_example_LDADD = $(FLTK_LIBS) $(top_builddir)/widgets/libmgl-fltk.la $(top_builddir)/mgl/libmgl.la
mgl_fltk_example_CXXFLAGS = $(FLTK_FLAGS) $(AM_CXXFLAGS)
check_PROGRAMS += test
test_SOURCES = wnd_samples.cpp main.cpp
-test_LDADD = $(FLTK_LIBS) $(top_builddir)/widgets/libmgl-fltk.la
+test_LDADD = $(FLTK_LIBS) $(top_builddir)/widgets/libmgl-fltk.la $(top_builddir)/mgl/libmgl.la
test_CXXFLAGS = $(FLTK_FLAGS) $(AM_CXXFLAGS)
endif
if USE_GLUT
bin_PROGRAMS += mgl_glut_example
mgl_glut_example_SOURCES = wnd_samples.cpp glut_example.cpp
-mgl_glut_example_LDADD = $(top_builddir)/widgets/libmgl-glut.la
+mgl_glut_example_LDADD = $(top_builddir)/widgets/libmgl-glut.la $(top_builddir)/mgl/libmgl.la
endif
if USE_WX
@@ -36,7 +36,7 @@
bin_PROGRAMS += mgl_qt_example
mgl_qt_example_SOURCES = wnd_samples.cpp $(top_builddir)/include/mgl/mgl_qt.moc.cpp $(top_srcdir)/include/mgl/mgl_qt.h qt_example.cpp
-mgl_qt_example_LDADD = $(QT_LIBS) $(top_builddir)/widgets/libmgl-qt.la
+mgl_qt_example_LDADD = $(QT_LIBS) $(top_builddir)/widgets/libmgl-qt.la $(top_builddir)/mgl/libmgl.la
mgl_qt_example_LDFLAGS = $(QT_LDFLAGS)
mgl_qt_example_CPPFLAGS = $(QT_CPPFLAGS) $(AM_CPPFLAGS)
mgl_qt_example_CXXFLAGS = $(QT_CXXFLAGS) $(AM_CXXFLAGS)

View File

@ -0,0 +1,18 @@
--- mgl/mgl_data_io.cpp 2010-11-16 13:02:05.000000000 +0000
+++ mgl/mgl_data_io.cpp.new 2010-11-26 23:40:52.821155381 +0000
@@ -914,13 +914,13 @@
void mglData::ReadHDF4(const char *fname,const char *data)
{
#ifdef HAVE_HDF4
- int sd = SDstart(fname,DFACC_READ), nn, i;
+ int32 sd = SDstart(fname,DFACC_READ), nn, i;
if(sd==-1) return; // is not a HDF4 file
char name[64];
SDfileinfo(sd,&nn,&i);
for(i=0;i<nn;i++)
{
- int sds, rank, dims[32], type, attr, in[2]={0,0};
+ int32 sds, rank, dims[32], type, attr, in[2]={0,0};
sds = SDselect(sd,i);
SDgetinfo(sds,name,&rank,dims,&type,&attr);
if(!strcmp(name,data)) // as I understand there are possible many datas with the same name

View File

@ -1,33 +0,0 @@
--- mgl/mgl_data_io.cpp 2009-07-02 01:49:42.000000000 +1000
+++ mgl/mgl_data_io.cpp.new 2009-07-25 12:16:55.000000000 +1000
@@ -918,7 +918,7 @@
hid_t hf,hd,hs;
hsize_t dims[3];
long rank = 3, res;
- H5Eset_auto(0,0);
+ H5Eset_auto2(0,0,0);
res=H5Fis_hdf5(fname);
if(res>0 && !rewrite) hf = H5Fopen(fname, H5F_ACC_RDWR, H5P_DEFAULT);
else hf = H5Fcreate(fname, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
@@ -928,10 +928,10 @@
else { rank = 3; dims[0] = nz; dims[1] = ny; dims[2] = nx; }
hs = H5Screate_simple(rank, dims, 0);
#if(MGL_USE_DOUBLE==1)
- hd = H5Dcreate(hf, data, H5T_NATIVE_DOUBLE, hs, H5P_DEFAULT);
+ hd = H5Dcreate(hf, data, H5T_NATIVE_DOUBLE, hs, H5P_DEFAULT,H5P_DEFAULT);
H5Dwrite(hd, H5T_NATIVE_DOUBLE, hs, hs, H5P_DEFAULT, a);
#else
- hd = H5Dcreate(hf, data, H5T_NATIVE_FLOAT, hs, H5P_DEFAULT);
+ hd = H5Dcreate(hf, data, H5T_NATIVE_FLOAT, hs, H5P_DEFAULT,H5P_DEFAULT,H5P_DEFAULT);
H5Dwrite(hd, H5T_NATIVE_FLOAT, hs, hs, H5P_DEFAULT, a);
#endif
H5Dclose(hd); H5Sclose(hs); H5Fclose(hf);
@@ -943,7 +943,7 @@
hsize_t dims[3];
long rank;
hf = H5Fopen(fname, H5F_ACC_RDONLY, H5P_DEFAULT);
- hd = H5Dopen(hf,data);
+ hd = H5Dopen(hf,data,H5P_DEFAULT);
hs = H5Dget_space(hd);
rank = H5Sget_simple_extent_ndims(hs);
if(rank>0 && rank<=3)

View File

@ -1,14 +0,0 @@
--- utils/Makefile.am.orig 2010-04-14 22:08:19.024131927 +0100
+++ utils/Makefile.am 2010-04-14 22:08:40.576140435 +0100
@@ -21,9 +21,10 @@
mgl2svg_SOURCES = mgl2svg.cpp
mgl2svg_LDADD = $(top_builddir)/mgl/libmgl.la
+
if USE_FLTK
mglview_SOURCES = mglview.cpp
-mglview_LDADD = $(top_builddir)/widgets/libmgl-fltk.la
+mglview_LDADD = $(top_builddir)/widgets/libmgl-fltk.la $(top_builddir)/mgl/libmgl.la
mglview_CXXFLAGS = $(FLTK_FLAGS) $(AM_CXXFLAGS)
endif

View File

@ -1,17 +0,0 @@
--- examples/Makefile.am 2010-01-02 10:56:23.000000000 +1100
+++ examples/Makefile.am.new 2010-01-02 10:57:38.000000000 +1100
@@ -24,10 +24,10 @@
endif
if USE_WX
-bin_PROGRAMS += mgl_wx_example
-mgl_wx_example_LDADD = $(WX_LIBS) $(top_builddir)/widgets/libmgl-wx.la
-mgl_wx_example_CXXFLAGS = $(WX_FLAGS) $(AM_CXXFLAGS)
-mgl_wx_example_SOURCES = wnd_samples.cpp wx_example.cpp
+#bin_PROGRAMS += mgl_wx_example
+#mgl_wx_example_LDADD = $(WX_LIBS) $(top_builddir)/widgets/libmgl-wx.la
+#mgl_wx_example_CXXFLAGS = $(WX_FLAGS) $(AM_CXXFLAGS)
+#mgl_wx_example_SOURCES = wnd_samples.cpp wx_example.cpp
endif
if USE_QT

View File

@ -1,11 +0,0 @@
--- Makefile.am.orig 2010-04-14 22:34:02.671143647 +0100
+++ Makefile.am 2010-04-14 22:34:07.963146109 +0100
@@ -13,7 +13,7 @@
install-data-local: $(doctargets)
mkdir -p $(mgldest)
- cp -r $(top_srcdir)/fonts/*.vfm $(mgldest)
+# cp -r $(top_srcdir)/fonts/*.vfm $(mgldest)
uninstall-local:
rm -rf $(mgldest)

View File

@ -1,11 +0,0 @@
--- texinfo/png/Makefile.am 2009-07-02 01:50:09.000000000 +1000
+++ texinfo/png/Makefile.am.new 2009-07-25 12:36:15.000000000 +1000
@@ -18,7 +18,7 @@
type2.png vect3.png vectc3.png vectc.png vect.png
pngdir = $(docdir)/png
-png_DATA = all.png $(png_images)
+png_DATA = all.png
CLEANFILES = all.png $(png_images)
all.png: hotdogs.pts
$(top_builddir)/examples/mgl_example

View File

@ -1 +1 @@
4122428797fd0c25a096c377b9ffe44a mathgl-1.10.2.1.tgz
790438adb60afd25304d9d2a18c03160 mathgl-1.11.0.1.tgz