Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Mar 2022 08:48:21 GMT
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: a4c45911d52f - main - lang/seed7: update to 05_20220312
Message-ID:  <202203300848.22U8mLVS050279@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gahr:

URL: https://cgit.FreeBSD.org/ports/commit/?id=a4c45911d52f912867d5b5e540c070589362aed7

commit a4c45911d52f912867d5b5e540c070589362aed7
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2022-03-30 08:28:48 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2022-03-30 08:47:46 +0000

    lang/seed7: update to 05_20220312
    
    20220312:
    - Two typos in the fwd_x11.c have been fixed. Thanks to Zachary
      Menzies for pointing them out.
    - Interpreter and compiler have been improved to support Informix
      databases.
    - The example program portfwd7.sd7 has been added. Portfwd7 is a
      port forwarder to redirect network communication.
    - The run-time to write a BMP file has been reduced to 74% (measured
      with gcc and valgrind).
    - The error messages for "Match failed" and "Variable expected"
      errors have been shortened.
    - The program gkbd.sd7 has been improved to show when mouse
      buttons are pressed.
    - The browser interface in browser.s7i has been improved to support
      Chromium and Edge.
    - In http_response.s7i, the HTTP response has been improved to
      support JPEG, ICO and TIFF files.
    - The pv7 picture viewer has been improved to use the path of the
      image.
    - The function hasImageExtension() has been move from pv7.sd7 to
      the imagefile.s7i library.
    - The example program findchar.sd7 has been improved to support
      Windows/DOS paths.
    - The support for primitive actions in the compiler has been
      improved.
    - The function loadBaseDlls() has been added to sql_post.c.
    - In tls.s7i an error in processing change_cipher_spec has been
      fixed.
    - The program chkbig.sd7 has been refactored to use smaller
      functions.
    - An additional test for case statements has been added to
      chkprc.sd7.
    - The function getPixelArray() has been added to draw.s7i.
    - The function setPointerPos() has been added to graph.s7i.
    - The libraries bmp.s7i, ico.s7i and ppm.s7i have been improved to
      use the function getPixelArray() to write BMP, ICO and PPM images.
    - In the libraries bmp.s7i, gif.s7i, jpeg.s7i, png.s7i, ppm.s7i and
      tiff.s7i calls of imagePixmap() have been replaced by calls of
      getPixmap().
    - The undocumented functions imagePixmap() and getImage() have been
      renamed to getPixmap() and getPixelData() respectively.
    - The compiler (s7c) has been improved to inline the action
      DRAW_PIXEL_TO_RGB.
    - The makefiles have been improved to simplify the build system. Now
      utilies like chkccomp, wrdepend, setwpath and sudo are compiled
      with extra commands. Support for Informix databases has also been
      added.
    - Several improvements have been made in chkccomp.c:
      - It now writes more detailed error messages.
      - The function appendOption() has been improved to check if an
        option is already an element in the list.
      - The functions fileIsPresentPossiblyAfterDelay(), runTest(),
        doTestNoResultCheck(), addDynamicLibToDllListWithRpath(),
        addDynamicLib(), addDynamicLibsWithRpath() and
        determineInformixDefines() have been added.
      - Now the macros ODBC_SIZEOF_SQLWCHAR, DB2_SIZEOF_SQLWCHAR and
        INFORMIX_SIZEOF_SQLWCHAR, SQL_SERVER_SIZEOF_SQLWCHAR are
        written into version.h.
      - Macros to support Informix databases are written into version.h.
    - In sql_base.c the error message concerning the searching for
      dynamic libraries has been improved.
    - Now the static functions hasDataType() and dataTypeIsUnsigned() in
      sql_cli.c are only defined when needed.
    - In all C source files, the types wcharType and wstriType have been
      replaced by utf16charType and utf16striType respectively. This
      avoids confusion, since sizeof(wchar_t) is 2 in Windows and 4 in
      Linux/Unix/BSD (although sizeof(wcharType) was always 2).
    - Definitions of utf32charType and utf32striType have been added to
      common.h.
    - Explanations of utf16charType, utf16striType, utf32charType and
      utf32striType have been added to the manual.
    - In heaputl.h, the macros SIZ_WSTRI, MAX_WSTRI_LEN and ALLOC_WSTRI
      have been removed. Definitions of the macros SIZ_UTF16, SIZ_UTF32,
      MAX_UTF16_LEN, MAX_UTF32_LEN, ALLOC_UTF16, ALLOC_UTF32,
      REALLOC_UTF16, REALLOC_UTF32, UNALLOC_UTF16 and UNALLOC_UTF32
      have been added.
    - The database drivers sql_cli.c sql_db2.c, sql_odbc.c and sql_srv.c
      have been changed to use SQLWCHAR instead of wcharType and
      wstriType.
    - In sql_cli.c the macros SIZ_SQLWSTRI, MAX_SQLWSTRI_LEN,
      ALLOC_SQLWSTRI, UNALLOC_SQLWSTRI, stri_to_sqlwstri,
      sqlwstri_to_stri and copy_to_sqlwstri have been introduced. These
      macros allow the DB interface to work for sizeof(SQLWCHAR) == 2
      and sizeof(SQLWCHAR) == 4.
    - The Informix database driver sql_ifx.c has been added.
    - The macro BIGINT_LIB has been renamed to BIGINT_LIBRARY in
      chkccomp.c, common.h, big_gmp.c, big_rtl.c, flistutl.c and
      heaputl.h.
    - Documentation comments have been improved in bmp.s7i, ccittfax.s7i,
      draw.s7i, hmac.s7i, huffman.s7i, ico.s7i, imagefile.s7i, lzw.s7i,
      ppm.s7i,
    - In sql_base.s7i, the value DB_INFORMIX has been added to the
      enumeration type dbCategory.
    - Functions to open Informix databases have been added to
      sql_base.s7i and sqllib.c.
    - The function quoteTableNames() has been added to sql_base.s7i.
    - The program db7.sd7 has been improved to quote table names
      depending on the database type.
    - The function drwPFArc() has been added to drw_dos.c and drw_emc.c.
    - The program wrdepend.c has been improved to support
      INFORMIX_INCLUDE_OPTION.
    - The function XWarpPointer() has been added to fwd_x11.c and
      x11_x.h.
    - Interpreter and compiler have been improved to support the actions
      DRW_GET_PIXEL_ARRAY, DRW_SET_POINTER_POS and SQL_OPEN_INFORMIX.
    - The actions DRW_IMAGE, DRW_GETIMAGE and DRW_GET have been renamed
      to DRW_GET_PIXMAP_FROM_PIXELS, DRW_GET_PIXEL_DATA and
      DRW_GET_PIXMAP respectively.
    - Action and function names have been refactored to fit to each
      other. The actions DRW_CONVPOINTLIST, DRW_FPOLYLINE,
      DRW_GENPOINTLIST, DRW_GETIMAGEPIXEL, DRW_GETPIXEL, DRW_PIXELTORGB,
      DRW_POLYLINE, DRW_SETCLOSEACTION, DRW_SETCONTENT,
      DRW_SETCURSORVISIBLE, DRW_SETPOS, DRW_SETTRANSPARENTCOLOR,
      DRW_SETWINDOWNAME, DRW_TOBOTTOM and DRW_TOTOP have been renamed to
      DRW_CONV_POINT_LIST, DRW_FPOLY_LINE, DRW_GEN_POINT_LIST,
      DRW_GET_IMAGE_PIXEL, DRW_GET_PIXEL, DRW_PIXEL_TO_RGB,
      DRW_POLY_LINE, DRW_SET_CLOSE_ACTION, DRW_SET_CONTENT,
      DRW_SET_CURSOR_VISIBLE, DRW_SET_POS, DRW_SET_TRANSPARENT_COLOR,
      DRW_SET_WINDOW_NAME, DRW_TO_BOTTOM and DRW_TO_TOP respectively.
    - The file primitiv.c has been adjusted to use the new action names.
    - The files drwlib.c and drwlib.h have been refactored to use
      function names that correspond to action names.
    - In drw_rtl.c the functions memcpy_pixel() and drwRtlImage() have
      been renamed to memcpy_to_pixel() and drwGetPixmapFromPixels()
      respectively.
    - The functions memcpy_from_pixel() and drwGetPixelArray() have been
      added to drw_rtl.c.
    - In drw_win.c, the function rwGetImage() and drwGet() have been
      renamed to drwGetPixelData() and drwGetPixmap() respectively.
    - The function drwSetPointerPos() has been added to drw_win.c and
      drw_x11.c.
    - In error.c the new macro MAX_DEPTH_SHOWN defines the expression
      depth shown in "Match failed" and "Variable expected" error
      messages.
    - The functions stri_to_wstri16(), stri_to_wstri32(),
      wstri16_to_stri() and wstri32_to_stri() have been added to
      striutl.c.
    - The files comp/drw_act.s7i and comp/sql_act.s7i have been adjusted
      to support the new action names.
---
 lang/seed7/Makefile               |  2 +-
 lang/seed7/distinfo               |  6 +++---
 lang/seed7/files/patch-fwd__x11.c | 23 -----------------------
 3 files changed, 4 insertions(+), 27 deletions(-)

diff --git a/lang/seed7/Makefile b/lang/seed7/Makefile
index 1d49c0a1e524..1b5b3961dd2e 100644
--- a/lang/seed7/Makefile
+++ b/lang/seed7/Makefile
@@ -1,7 +1,7 @@
 # Created by: gahr
 
 PORTNAME=	seed7
-DISTVERSION=	05_20220130
+DISTVERSION=	05_20220312
 PORTREVISION=	0
 CATEGORIES=	lang
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/
diff --git a/lang/seed7/distinfo b/lang/seed7/distinfo
index bd9b48620c95..6649070dbe99 100644
--- a/lang/seed7/distinfo
+++ b/lang/seed7/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1646141399
-SHA256 (seed7_05_20220130.tgz) = 442dddbf979a5af8784bf8155cd70937f277f10949ce0dec9ebea4d5c1e7f10e
-SIZE (seed7_05_20220130.tgz) = 3712052
+TIMESTAMP = 1648553811
+SHA256 (seed7_05_20220312.tgz) = c0f9507a11b5ae2b261d14c839f1d0289cb33672aea13735b944c94596830760
+SIZE (seed7_05_20220312.tgz) = 3726447
diff --git a/lang/seed7/files/patch-fwd__x11.c b/lang/seed7/files/patch-fwd__x11.c
deleted file mode 100644
index da8e744abbfb..000000000000
--- a/lang/seed7/files/patch-fwd__x11.c
+++ /dev/null
@@ -1,23 +0,0 @@
---- fwd_x11.c.orig	2022-03-01 13:41:18 UTC
-+++ fwd_x11.c
-@@ -398,7 +398,7 @@ static boolType setupX11Dll (const char *dllName)
-             (ptr_XSetClipOrigin          = (tp_XSetClipOrigin)          dllFunc(x11Dll, "XSetClipOrigin"))          == NULL ||
-             (ptr_XSetForeground          = (tp_XSetForeground)          dllFunc(x11Dll, "XSetForeground"))          == NULL ||
-             (ptr_XSetFunction            = (tp_XSetFunction)            dllFunc(x11Dll, "XSetFunction"))            == NULL ||
--            (ptr_XSetLineAttributes      = (tp_XSetLineAttributes       dllFunc(x11Dll, "XSetLineAttributes"))      == NULL ||
-+            (ptr_XSetLineAttributes      = (tp_XSetLineAttributes)      dllFunc(x11Dll, "XSetLineAttributes"))      == NULL ||
-             (ptr_XSetStandardProperties  = (tp_XSetStandardProperties)  dllFunc(x11Dll, "XSetStandardProperties"))  == NULL ||
-             (ptr_XSetWMHints             = (tp_XSetWMHints)             dllFunc(x11Dll, "XSetWMHints"))             == NULL ||
-             (ptr_XSetWMProtocols         = (tp_XSetWMProtocols)         dllFunc(x11Dll, "XSetWMProtocols"))         == NULL ||
-@@ -1609,9 +1609,9 @@ int XSetLineAttributes (Display *display, GC gc, unsig
-     logFunction(printf("XSetLineAttributes(" FMT_U_MEM ", " FMT_U_MEM
-                        ", %u, %d, &d, %d)\n",
-                        (memSizeType) display, (memSizeType) gc,
--                       line_width, line_style, cap_stype, join_style););
-+                       line_width, line_style, cap_style, join_style););
-     funcResult = ptr_XSetLineAttributes(display, gc, line_width,
--                                        line_style, cap_stype, join_style);
-+                                        line_style, cap_style, join_style);
-     logFunction(printf("XSetLineAttributes --> %d\n", funcResult););
-     return funcResult;
-   } /* XSetLineAttributes */



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