[Getdata-commits] SF.net SVN: getdata:[882] trunk/getdata
Scientific Database Format
Brought to you by:
ketiltrout
|
From: <ket...@us...> - 2014-03-21 00:08:05
|
Revision: 882
http://sourceforge.net/p/getdata/code/882
Author: ketiltrout
Date: 2014-03-21 00:08:01 +0000 (Fri, 21 Mar 2014)
Log Message:
-----------
Minor bug fixes.
Modified Paths:
--------------
trunk/getdata/ChangeLog
trunk/getdata/Makefile.am
trunk/getdata/NEWS
trunk/getdata/bindings/php/getdata.c
trunk/getdata/bindings/php/test/big_test.php
trunk/getdata/bindings/python/pydirfile.c
trunk/getdata/test/zzslim_get.c
Modified: trunk/getdata/ChangeLog
===================================================================
--- trunk/getdata/ChangeLog 2014-03-11 23:26:25 UTC (rev 881)
+++ trunk/getdata/ChangeLog 2014-03-21 00:08:01 UTC (rev 882)
@@ -1,3 +1,8 @@
+2014-03-20 D. V. Wiebe <ge...@ke...> svn:882
+ * bindings/php/getdata.c (gd_add_polynom gd_madd_polynom): Fix array size.
+ * bindings/python/pydirfile.c (gdpy_dirfile_getentry): Fix segfault.
+ * test/zzslim_get.c: Fix.
+
2014-03-10 D. V. Wiebe <ge...@ke...> svn:880
* bindings/matlab/gd_move_alias.c: Deleted.
* bindings/matlab/test/big_test/m: Delete test 224.
Modified: trunk/getdata/Makefile.am
===================================================================
--- trunk/getdata/Makefile.am 2014-03-11 23:26:25 UTC (rev 881)
+++ trunk/getdata/Makefile.am 2014-03-21 00:08:01 UTC (rev 882)
@@ -1,4 +1,4 @@
-# Copyright (C) 2008, 2011 D. V. Wiebe
+# Copyright (C) 2008, 2011, 2014 D. V. Wiebe
#
##########################################################################
#
@@ -18,7 +18,7 @@
# along with GetData; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-AUTOMAKE_OPTIONS = foreign dist-bzip2 check-news 1.10
+AUTOMAKE_OPTIONS = foreign dist-xz check-news 1.10
EXTRA_DIST = ChangeLog
@@ -131,9 +131,9 @@
rm -rf crlf_export
# package lists
-PACKAGES=$(distdir).tar.gz $(distdir).tar.bz2 idl_$(distdir).tar.gz \
- idl_$(distdir).tar.bz2 getdata_win-$(PACKAGE_VERSION).zip \
- matlab_$(distdir).tar.gz matlab_$(distdir).tar.bz2
+PACKAGES=$(distdir).tar.gz $(distdir).tar.xz idl_$(distdir).tar.gz \
+ idl_$(distdir).tar.xz getdata_win-$(PACKAGE_VERSION).zip \
+ matlab_$(distdir).tar.gz matlab_$(distdir).tar.xz
SIGS=$(addsuffix .sig,$(PACKAGES))
# release stuff
Modified: trunk/getdata/NEWS
===================================================================
--- trunk/getdata/NEWS 2014-03-11 23:26:25 UTC (rev 881)
+++ trunk/getdata/NEWS 2014-03-21 00:08:01 UTC (rev 882)
@@ -114,7 +114,8 @@
* The comp_scal member of the gd_entry_t object has been replaced with a flags
member, containing a flag (GD_EN_COMPSCAL) with the meaning of the former
comp_scal member. There are also flags for hiddenness (GD_EN_HIDDEN) and
- whether the scalar entries have been computed (GD_EN_CALC).
+ whether the scalar entry codes in the field definition have been
+ dereferenced (GD_EN_CALC).
* gd_[m]add() and gd_alter_entry() can now be used to set or change the
hiddenness of a field by setting or clearing the GD_EN_HIDDEN bit in the
Modified: trunk/getdata/bindings/php/getdata.c
===================================================================
--- trunk/getdata/bindings/php/getdata.c 2014-03-11 23:26:25 UTC (rev 881)
+++ trunk/getdata/bindings/php/getdata.c 2014-03-21 00:08:01 UTC (rev 882)
@@ -1949,7 +1949,7 @@
long index = 0;
zval *za;
- double a[GD_MAX_POLYORD + 1];
+ double a[2 * (GD_MAX_POLYORD + 1)];
int o;
DIRFILE *D;
@@ -3657,7 +3657,7 @@
int field_code_len, in_field_len, parent_len;
zval *za;
- double a[GD_MAX_POLYORD + 1];
+ double a[2 * (GD_MAX_POLYORD + 1)];
int o;
DIRFILE *D;
Modified: trunk/getdata/bindings/php/test/big_test.php
===================================================================
--- trunk/getdata/bindings/php/test/big_test.php 2014-03-11 23:26:25 UTC (rev 881)
+++ trunk/getdata/bindings/php/test/big_test.php 2014-03-21 00:08:01 UTC (rev 882)
@@ -1,5 +1,5 @@
<?php
-# Copyright (C) 2013 D. V. Wiebe
+# Copyright (C) 2013, 2014 D. V. Wiebe
#
##########################################################################
#
Modified: trunk/getdata/bindings/python/pydirfile.c
===================================================================
--- trunk/getdata/bindings/python/pydirfile.c 2014-03-11 23:26:25 UTC (rev 881)
+++ trunk/getdata/bindings/python/pydirfile.c 2014-03-21 00:08:01 UTC (rev 882)
@@ -751,7 +751,6 @@
if ((e = gd_error(self->D))) {
PYGD_REPORT_ERROR(self->D,e);
- gd_free_entry_strings(E);
free(E);
dreturn("%p", NULL);
return NULL;
Modified: trunk/getdata/test/zzslim_get.c
===================================================================
--- trunk/getdata/test/zzslim_get.c 2014-03-11 23:26:25 UTC (rev 881)
+++ trunk/getdata/test/zzslim_get.c 2014-03-21 00:08:01 UTC (rev 882)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2012-2013 D. V. Wiebe
+/* Copyright (C) 2012-2014 D. V. Wiebe
*
***************************************************************************
*
@@ -36,7 +36,7 @@
uint16_t c[8];
char command[4096];
uint16_t data_data[256];
- int fd, n, error, r = 0;
+ int i, fd, n, error, r = 0;
DIRFILE *D;
memset(c, 0, 8);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|