Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 2020 14:25:21 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r528106 - in head/lang/seed7: . files
Message-ID:  <202003091425.029EPLPu044859@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Mar  9 14:25:20 2020
New Revision: 528106
URL: https://svnweb.freebsd.org/changeset/ports/528106

Log:
  lang/seed8: update to 05_20200308
  
  20200308:
  - The new library cpio.s7i has been added. This library supports cpio
    archive files.
  - The new library rpm.s7i has been added. This library supports rpm
    archive files.
  - The new library ar.s7i has been added. This library supports ar
    archive files.
  - The new library subfile.s7i has been added. This library allows to
    open a part of an existing file as read only file.
  - The new library filebits.s7i has been added. This library defines
    file mode bits used by archive file systems.
  - The libraries bin32.s7i and bin64.s7i have been improved to support
    case statements for the types bin32 and bin64.
  - The tarHeader element 'size' has been renamed to 'fileSize' in
    tar.s7i and tar_cmds.s7i.
  - Tests for the operator 'conv' and for the functions compare(), str(),
    float(), trunc() and round() have been added to chkflt.sd7.
  - The program chkccomp.c has been improved to determine the values
    MINIMUM_TRUNC_ARGUMENT and MAXIMUM_TRUNC_ARGUMENT.
  - Definitions of MINIMUM_TRUNC_ARGUMENT and MAXIMUM_TRUNC_ARGUMENT have
    been added to cc_conf.s7i.
  - The compiler (s7c) has been improved (in comp/flt_act.s7i) such that
    the actions FLT_TRUNC and FLT_ROUND do the correct check for the
    exception RANGE_ERROR.
  - The database driver sql_oci.c has been improved to support the types
    BINARY_FLOAT and BINARY_DOUBLE.
  - Tests for FLOAT and DOUBLE fields have been added to chkdb.sd7.
  - A definition of the constant GZIP_MAGIC has been added to gzip.s7i.
  - In file.s7i and iobuffer.s7i the functions hasNext() and length()
    have been changed to use an inout parameter for the file. This fixes
    a problem in compiled programs with some file systems where also an
    inout parameter is used for the file.
  - The file db_oci.h has been improved to define SQLT_BFLOAT,
    SQLT_IBFLOAT, SQLT_BDOUBLE and SQLT_IBDOUBLE.
  - In fltlib.c the functions flt_trunc() and flt_round() have been
    improved to do the correct check for the exception RANGE_ERROR.
  
  20200209:
  - The new database driver sql_tds.c has been added. This driver uses
    the Tabular Data Stream (TDS) protocol to transfer data between
    database server and client. TDS is used by SQL Server and Sybase.
    This driver allows the connection to a SQL Server database from
    Linux.
  - The new library db_prop.s7i has been added. This library provides a
    collection of database properties.
  - The example program chkdb.sd7 has been improved:
    - Tests with comments in sql statements have been added.
    - Tests that fetch boolean values from numeric fields have been
      added.
    - Tests for date, time, datetime and timestamp fields have been
      added.
  - In the library time.s7i the function time() has been improved, to
    accept more variants of the ISO 8601 time and date format including
    variants with a time zone.
  - The interpreter (s7) has been improved to write the error message of
    a DATABASE_ERROR, if the exception is not catched.
  - In tim_rtl.c the function timUtcFromTimestamp() has been improved to
    work without calling gmtime() or gmtime_r() or gmtime_s(). Now the
    function always works with a 64-bit signed timestamp. Gmtime() uses
    time_t, which can be 32-bit or 64-bit and it can be signed or
    unsigned.
  - In tim_rtl.c the function timToTimestamp() has been improved to work
    without calling mkutc(). This way the function always works with a
    64-bit signed timestamp. Mkutc() is also defined in tim_rtl.c and it
    uses the system dependend type time_t.
  - In tim_rtl.c the functions timToOsTimestamp(), assignTime() and
    dateFromDaysSince1900() have been added and the functions
    timFromBigTimestamp() and timToBigTimestamp() have been removed.
  - In exec.c the functions par_restore() and loc_restore() have been
    improved to free unneeded memory, in case an exception has been
    raised.
  - In executl.c the function destroy_local_object() has been improved to
    optionally ignore exceptions.
  - The functions leaveExceptionHandling(), saveFailState() and
    restoreFailState() have been added to runerr.c. This function is used
    in executl.c and prclib.c.
  - In numutl.c the functions getDecimalBigRational() and
    getDecimalFloat() have been improved to accept both, a decimal point
    and a decimal comma.
  - In several database drivers the function processStatementStri() has
    been improved to replace a comment with a space.
  - Interpreter and compiler have been improved to support the actions
    SQL_ROLLBACK, SQL_GET_AUTO_COMMIT and SQL_SET_AUTO_COMMIT.
  - The functions sqlRollback(), sqlGetAutoCommit() and
    sqlSetAutoCommit() have been added to sql_cli.c, sql_lite.c,
    sql_my.c, sql_oci.c, sql_post.c and sql_rtl.c.
  - In the database driver sql_lite.c the functions sqlBindTime() and
    sqlColumnTime() have been improved to support more time and date
    formats. The function sqlColumnTime() calls assignTime() to reach
    this goal.
  - In the database driver sql_my.c the function sqlColumnTime() has
    been improved to correct values, if they are outside of the allowed
    range.
  - The database driver sql_db2.c has been improved to allow that for
    the functions SQLExecute() and SQLFetch() SUCCESS_WITH_INFO is
    treated as SQL_SUCCESS.
  - The database driver sql_post.c has been improved:
    - Inserting and selecting time fields is now supported under
      different operating systems and compilers.
    - The type preparedStmtRecord and the functions freePreparedStmt()
      and sqlPrepare() have been improved such that a prepared statement
      maintains a dbType reference instead of a connection (PGconn).
    - The functions doExecSql() and implicitCommit() have been added.
      These functions are used for autocommit and for transaction
      handling.
  - The database driver sql_oci.c has been improved:
    - The function sqlBindTime() has been improved to set the timeZone
      and to use a nanosecond as unit for the fraction of a second.
      There is also a check for situations in which the function
      OCIDateTimeConstruct() fails.
    - The function sqlColumnTime() has been improved to use the function
      OCIDateTimeGetTimeZoneOffset() to retrieve a timeZone and to use a
      nanosecond as unit for the fraction of a second.
  - The database driver sql_cli.c has been improved:
    - In case of a DATABASE_ERROR exception the native SQL error is
      assigned to the errorCode.
    - The function freePreparedStmt() has been changed to ignore
      possible errors of SQLFreeStmt().
    - Binding SQL_BLOB and SQL_CLOB parameters is supported now.
    - Retrieving SQL_SS_TIME2 and SQL_XML columns is supported now.
    - Retrieving datetime2 columns in sqlColumnTime() has been improved
      to use the function assignTime().
  - The database include files db_lite.h, db_my.h, db_oci.h and db_odbc.h
    have been improved.
  - In sql_srv.c the functions connectToServer() and
    connectToLocalServer() have been improved to return a boolean value
    instead of a SQLRETURN value.
  - In cmd_rtl.c the functions cmdSetATime() and cmdSetMTime() have been
    improved to use the new function timToOsTimestamp().
  - The function determineTdsDefines() has been added to chkccomp.c.
  - In exec.c the function suspendInterpreter() has been renamed to
    doSuspendInterpreter().

Modified:
  head/lang/seed7/Makefile
  head/lang/seed7/distinfo
  head/lang/seed7/files/patch-mk_freebsd.mk
  head/lang/seed7/pkg-plist

Modified: head/lang/seed7/Makefile
==============================================================================
--- head/lang/seed7/Makefile	Mon Mar  9 14:00:37 2020	(r528105)
+++ head/lang/seed7/Makefile	Mon Mar  9 14:25:20 2020	(r528106)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	seed7
-DISTVERSION=	05_20191229
+DISTVERSION=	05_20200308
 PORTREVISION=	0
 CATEGORIES=	lang
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/

Modified: head/lang/seed7/distinfo
==============================================================================
--- head/lang/seed7/distinfo	Mon Mar  9 14:00:37 2020	(r528105)
+++ head/lang/seed7/distinfo	Mon Mar  9 14:25:20 2020	(r528106)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1578925347
-SHA256 (seed7_05_20191229.tgz) = 9ba17b5b4bc8164ab60fd49a99afbfbdbdf81aa874c14eb1ed5b3742cb267c8c
-SIZE (seed7_05_20191229.tgz) = 3164509
+TIMESTAMP = 1583750904
+SHA256 (seed7_05_20200308.tgz) = 72ca9a0e8225dc8cfec9d59f3884ea6c3ca9fc5a5a11eade3b86acbc65bf62fd
+SIZE (seed7_05_20200308.tgz) = 3225717

Modified: head/lang/seed7/files/patch-mk_freebsd.mk
==============================================================================
--- head/lang/seed7/files/patch-mk_freebsd.mk	Mon Mar  9 14:00:37 2020	(r528105)
+++ head/lang/seed7/files/patch-mk_freebsd.mk	Mon Mar  9 14:25:20 2020	(r528106)
@@ -1,24 +1,33 @@
---- mk_freebsd.mk.orig	2020-01-14 12:29:39 UTC
+--- mk_freebsd.mk.orig	2019-12-06 15:03:22 UTC
 +++ mk_freebsd.mk
 @@ -41,14 +41,14 @@ ALL_S7_LIBS = ../bin/$(COMPILER_LIB) ../bin/$(COMP_DAT
  GET_CC_VERSION_INFO = $(CC) --version >
  
  TERMINFO_OR_TERMCAP = USE_TERMINFO
-+# CONSOLE_LIB_OBJ = kbd_rtl.o con_inf.o kbd_inf.o trm_inf.o
-+# CONSOLE_LIB_SRC = kbd_rtl.c con_inf.c kbd_inf.c trm_inf.c
 -CONSOLE_LIB_OBJ = kbd_rtl.o con_inf.o kbd_inf.o trm_inf.o
 -CONSOLE_LIB_SRC = kbd_rtl.c con_inf.c kbd_inf.c trm_inf.c
++# CONSOLE_LIB_OBJ = kbd_rtl.o con_inf.o kbd_inf.o trm_inf.o
++# CONSOLE_LIB_SRC = kbd_rtl.c con_inf.c kbd_inf.c trm_inf.c
  # TERMINFO_OR_TERMCAP = USE_TERMCAP
  # CONSOLE_LIB_OBJ = kbd_rtl.o con_inf.o kbd_inf.o trm_cap.o
  # CONSOLE_LIB_SRC = kbd_rtl.c con_inf.c kbd_inf.c trm_cap.c
  # TERMINFO_OR_TERMCAP = USE_TERMINFO
-+CONSOLE_LIB_OBJ = kbd_rtl.o con_inf.o kbd_poll.o trm_inf.o
-+CONSOLE_LIB_SRC = kbd_rtl.c con_inf.c kbd_poll.c trm_inf.c
 -# CONSOLE_LIB_OBJ = kbd_rtl.o con_inf.o kbd_poll.o trm_inf.o
 -# CONSOLE_LIB_SRC = kbd_rtl.c con_inf.c kbd_poll.c trm_inf.c
++CONSOLE_LIB_OBJ = kbd_rtl.o con_inf.o kbd_poll.o trm_inf.o
++CONSOLE_LIB_SRC = kbd_rtl.c con_inf.c kbd_poll.c trm_inf.c
  # TERMINFO_OR_TERMCAP = USE_TERMCAP
  # CONSOLE_LIB_OBJ = kbd_rtl.o con_inf.o kbd_poll.o trm_cap.o
  # CONSOLE_LIB_SRC = kbd_rtl.c con_inf.c kbd_poll.c trm_cap.c
+@@ -84,7 +84,7 @@ DOBJ = big_rtl.o big_gmp.o cmd_unx.o dir_win.o dll_unx
+ OBJ = $(MOBJ)
+ SEED7_LIB_OBJ = $(ROBJ) $(DOBJ)
+ DRAW_LIB_OBJ = gkb_rtl.o drw_x11.o gkb_x11.o fwd_x11.o
+-DATABASE_LIB_OBJ = sql_base.o sql_db2.o sql_fire.o sql_lite.o sql_my.o sql_oci.o sql_odbc.o sql_post.o sql_srv.o
++DATABASE_LIB_OBJ = sql_base.o sql_db2.o sql_fire.o sql_lite.o sql_my.o sql_oci.o sql_odbc.o sql_post.o sql_srv.o sql_tds.o
+ COMP_DATA_LIB_OBJ = typ_data.o rfl_data.o ref_data.o listutl.o flistutl.o typeutl.o datautl.o
+ COMPILER_LIB_OBJ = $(POBJ) $(LOBJ) $(EOBJ) $(AOBJ) $(GOBJ)
+ 
 @@ -168,6 +168,7 @@ chkccomp.h:
  	echo "#define POSTGRESQL_LIBRARY_PATH \"-L%%LOCALBASE%%/lib\"" >> chkccomp.h
  	echo "#define ODBC_INCLUDE_OPTIONS \"-I%%LOCALBASE%%/include\"" >> chkccomp.h

Modified: head/lang/seed7/pkg-plist
==============================================================================
--- head/lang/seed7/pkg-plist	Mon Mar  9 14:00:37 2020	(r528105)
+++ head/lang/seed7/pkg-plist	Mon Mar  9 14:25:20 2020	(r528106)
@@ -6,6 +6,7 @@ lib/seed7/bin/s7_data.a
 lib/seed7/bin/s7_draw.a
 lib/seed7/bin/seed7_05.a
 lib/seed7/lib/aes.s7i
+lib/seed7/lib/ar.s7i
 lib/seed7/lib/arc4.s7i
 lib/seed7/lib/array.s7i
 lib/seed7/lib/asn1.s7i
@@ -85,10 +86,12 @@ lib/seed7/lib/comp/type.s7i
 lib/seed7/lib/comp/ut8_act.s7i
 lib/seed7/lib/complex.s7i
 lib/seed7/lib/console.s7i
+lib/seed7/lib/cpio.s7i
 lib/seed7/lib/crc32.s7i
 lib/seed7/lib/cronos16.s7i
 lib/seed7/lib/cronos27.s7i
 lib/seed7/lib/csv.s7i
+lib/seed7/lib/db_prop.s7i
 lib/seed7/lib/deflate.s7i
 lib/seed7/lib/des.s7i
 lib/seed7/lib/dialog.s7i
@@ -104,6 +107,7 @@ lib/seed7/lib/environment.s7i
 lib/seed7/lib/external_file.s7i
 lib/seed7/lib/field.s7i
 lib/seed7/lib/file.s7i
+lib/seed7/lib/filebits.s7i
 lib/seed7/lib/filesys.s7i
 lib/seed7/lib/float.s7i
 lib/seed7/lib/font.s7i
@@ -165,6 +169,7 @@ lib/seed7/lib/rational.s7i
 lib/seed7/lib/ref_list.s7i
 lib/seed7/lib/reference.s7i
 lib/seed7/lib/reverse.s7i
+lib/seed7/lib/rpm.s7i
 lib/seed7/lib/scanfile.s7i
 lib/seed7/lib/scanstri.s7i
 lib/seed7/lib/seed7_05.s7i
@@ -191,6 +196,7 @@ lib/seed7/lib/strifile.s7i
 lib/seed7/lib/string.s7i
 lib/seed7/lib/stritext.s7i
 lib/seed7/lib/struct.s7i
+lib/seed7/lib/subfile.s7i
 lib/seed7/lib/subrange.s7i
 lib/seed7/lib/syntax.s7i
 lib/seed7/lib/tar_cmds.s7i



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202003091425.029EPLPu044859>