Skip to content

Commit

Permalink
lang/seed7: update to 05_20220312
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gahr committed Mar 30, 2022
1 parent 45e9c89 commit a4c4591
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 27 deletions.
2 changes: 1 addition & 1 deletion 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}/
Expand Down
6 changes: 3 additions & 3 deletions 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
23 changes: 0 additions & 23 deletions lang/seed7/files/patch-fwd__x11.c

This file was deleted.

0 comments on commit a4c4591

Please sign in to comment.