- Update to 05_20121021
Changes:
- The library vecfont10.s7i, which defines the standard vector font
with capital height 10, was added. Now mahjong.sd7 and shisen.sd7
use vecfont10.s7i.
- The programs mahjong.sd7, pairs.sd7, shisen.sd7 and sokoban.sd7
were improved to fit into a screen with a resolution of 1024 x 768.
- The library make.s7i was improved: The parsing of command
parameters (used by the Unix version of the echo command), was
improved. The processing of pattern rules was improved (The rule
with the shortest stem value is used, when several rules match).
- Functions to read a makefile were moved from make.s7i to the new
library makedata.s7i.
- The reading of makefiles was improved: The processing of the gmake
directives 'ifeq' and 'ifneq' was improved to allow else clauses.
The processing of the nmake directive 'if' was added. Merging of
dependencies for rules with the same target was improved.
- The parse function for time values (library time.s7i) was improved
to allow fractions of a second.
- The functions getSubNodes and getContent and a for-loop for xmlNode
values were defined in the library xmldom.s7i.
- The compiler was improved to initialize bstring literals correctly,
when pointers are 64-bit and integers are 32-bit.
- The font libraries cronos16.s7i, cronos27.s7i, modern27.s7i and
vecfont18.s7i were improved to include vectorfont.s7i.
- The font libraries stdfont10.s7i, stdfont12.s7i, stdfont14.s7i,
stdfont16.s7i, stdfont18.s7i, stdfont20.s7i and stdfont24.s7i were
improved to include bitmapfont.s7i.
- The program dnafight.sd7 was improved to limit the speed of the
animation.
- The program make7.sd7 was improved to recognize the options
correctly. Additionally make7 inherits also all improvements of
makedata.s7i and make.s7i.
- The program ftp7.sd7 was improved to accept the option -?.
- The graphic libraries drw_x11.c and drw_win.c were improved to draw
the background of maximized windows with the color of the last
clear command.
Feature safe: yes
2012-10-29 08:54:40 +00:00
|
|
|
# Created by: gahr
|
2008-07-16 22:42:13 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= seed7
|
2014-06-03 08:07:48 +00:00
|
|
|
DISTVERSION= 05_20140601
|
2008-07-16 22:42:13 +00:00
|
|
|
CATEGORIES= lang
|
2010-06-21 13:05:49 +00:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/
|
2008-07-16 22:42:13 +00:00
|
|
|
DISTNAME= ${PORTNAME}_${DISTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
- Update to 05_20121212
Changes:
* The Seed7 compiler was renamed. The new name of the Seed7 compiler
is s7c.
* Manual, FAQ, read_me files and several example programs were
updated to use the new name of the Seed7 compiler (s7c).
* A description of ltrim and rtrim and some links were added to the
manual.
* The library make.s7i and the example program make7.sd7 were
improved to execute make commands with predefined macros.
* The library makedata.s7i was improved to support dependencies
which contain a space.
* The library make.s7i was improved to support the command cp -a.
* A variant of the function popen, with the parameters 'command' and
'parameters', was added to shell.s7i.
* An explanation, why & and <& are defined for string concatenation,
was added to the FAQ.
* The program tar7.sd7 was improved to accept also DOS paths for all
file arguments.
* Documentation comments were added to progs.s7i and reference.s7i.
* The files drw_win.c, drw_x11.c and gkb_x11.c were improved to
exit a program when the close button (X) is pressed.
* The functions refFile, refLine, refParams and refSetParams in
ref_data.c were improved to raise RANGE_ERROR, when they are
called with NULL.
* The function ref_params in reflib.c was improved to call refParams.
* The makefiles were improved such that 'make s7c' generates an
executable of the Seed7 compiler.
* The makefile mk_mingc.mak, which supports the compilation of the
self extracting version of Seed7, was improved.
* The support for the unused action REF_NAME was removed.
- Reorganize installed files structure as per author's request
(see http://seed7.sourceforge.net/faq.htm#seed7_package)
- Remove article from COMMENT
2012-12-18 10:17:50 +00:00
|
|
|
COMMENT= High-level, extensible programming language
|
2008-07-16 22:42:13 +00:00
|
|
|
|
2014-06-03 08:07:48 +00:00
|
|
|
# The language libraries are licensed under the LGPL21 license. Starting from
|
|
|
|
# version 05_20140601, the compiler libraries are also distributed. These are
|
|
|
|
# licensed under the GPLv2 and can be found in ${PREFIX}/lib/seed7/lib/comp.
|
|
|
|
LICENSE= GPLv2 LGPL21
|
|
|
|
LICENSE_COMB= multi
|
- Update to 05_20120304
Changes:
* The "ftpserv.sd7" example program was improved to support the
commands RNFR and RNTO and to work correctly, when the listener
cannot open a passive data port.
* The font support was improved, such that caching of character
pixmaps works.
* Some characters in the standard bitmap fonts were added or
improved.
* The functions 'socSend' and 'socSendto' in "soc_rtl.c" were
improved to work correctly under 64-bit systems.
* The function 'fltSci' in "flt_rtl.c", was improved to avoid
a C compiler warning about the change of a constant value.
* The function 'redraw' in "drw_x11.c" was changed, such that it
does not use a parameter of type 'XExposeEvent'.
* The functions 'drwHeight', 'drwWidth', 'drwXPos' and 'drwYPos'
in "drw_x11.c" were improved to raise RANGE_ERROR when the
window does not exist.
* The function 'handleExpose' was introduced in "gkb_x11.c", to
handle the job of calling 'redraw'.
* The type 'unsigned int' was replaced by 'sysizetype' in
'findid.c', 'findid.h', 'identutl.c', 'identutl.h', 'literal.c',
'numlit.c', 'scanner.c' and 'symbol.h'.
* Some improvements were done in 'prg_comp.c', 'reflib.c',
'analyze.c', 'exec.c', 'infile.c', 'info.c' and 'typlib.c' to
reduce the number of warnings.
* Support for the unused action "ENU_SIZE" was removed.
- Add LICENSE
2012-03-06 14:17:24 +00:00
|
|
|
|
- Update to 05_20131013
Changes:
20131013:
- Libraries for TLS (Transport Layer Security), SSL (Secure Sockets
Layer) and HTTPS (HyperText Transfer Protocol Secure) support have
been added. The new libraries are: arc4.s7i, asn1.s7i, cipher.s7i,
gethttps.s7i, hmac.s7i, pkcs1.s7i, tls.s7i and x509cert.s7i.
- Comparison operators for < (proper subset) and > (proper superset)
have been added to hashsetof.s7i.
- The type digestAlgorithm and the functions msgDigest, blockSize
and digestSize have been added to msgdigest.s7i.
- The function hex has been added to bytedata.s7i.
- The example program castle.sd7 has been improved to avoid, that
an item can be dropped on an illegal place.
- The library make.s7i has been improved to accept the option -p for
the cp command.
- Documentation comments have been added to sockbase.s7i,
socket.s7i, atom.c, entutl.c, soclib.c, soc_rtl.c and striutl.c.
- The padding in the message digest functions of msgdigest.s7i has
been corrected. Now the functions pad nothing instead of 64 bytes,
when the message length is 55 (mod 64).
- The function getHttp in gethttp.s7i has been improved to use
a case-insensitive comparison for HTTP header field names.
- In exec.c the functions eval_arg_list and dump_arg_list have been
improved to avoid reading from freed memory. This occured in very
rare cases.
- The functions find_action (in actutl.c), fltParse (in flt_rtl.c),
cmdConfigValue (in cmd_rtl.c) and find_sysvar (in syvarutl.c)
have been improved to use the macros MAX_STRI_EXPORT_LEN and
max_utf8_size.
- Interpreter and runtime library have been improved to ignore the
signal SIGPIPE. Writing to a broken pipe or socket raises the
exception FILE_ERROR instead.
- The functions bln_and and bln_or in blnlib.c have been improved
to return either SYS_TRUE_OBJECT or SYS_FALSE_OBJECT.
- The program chkccomp.c has been improved to determine the
alignment used by malloc and whether an access to unaligned memory
succeeds.
- Usages of ALLOC_CHUNK in flistutl.h have been improved to allocate
aligned memory the same way as malloc returns aligned memory.
- The program chkccomp.c has been improved to define the macro
'inline', when the C compiler does not support the keyword inline.
- Occurances of 'INLINE' have been replaced with 'inline' in the
files analyze.c, atom.c, big_gmp.c, big_rtl.c, chr_rtl.c, exec.c,
findid.c, infile.c, int_rtl.c, numlit.c, parser.c, rfl_data.c,
scanner.c, striutl.c, strlib.c, str_rtl.c, syntax.c and ut8_rtl.c.
20130929:
- The functions bStriLe, bytesLe, bStriBe and bytesBe have been
added to bytedata.s7i. This functions convert an integer to a
sequence of bytes.
- The compiler has been improved to generate inline code for the
action STR_PUSH. This action is used when a character is appended
to a string (with the operator &:= ).
- The function sendGet has been added to gethttp.s7i.
- The functions str_yy_mm_dd and str_hh_mm_ss have been added to
time.s7i.
- Checks for +:= and -:= have been added to chkbig.sd7.
- Checks for bytesBe and bytesLe have been added to chkint.sd7.
- Checks for & and &:= have been added to chkstr.sd7.
- The function doLocalDeclsOfStatement has been added to the
compiler. This function is used to simplify the processing
of various statements.
- The functions that process the statement actions BIG_GROW,
BIG_LSHIFT_ASSIGN, BIG_MULT_ASSIGN, BIG_RSHIFT_ASSIGN,
BIG_SHRINK, BLN_CPY, CHR_CPY, CHR_GROW, CHR_SHRINK, ENU_CPY,
FIL_CPY, FLT_CPY, FLT_DIV_ASSIGN, FLT_GROW, FLT_MULT_ASSIGN,
FLT_SHRINK, INT_AND_ASSIGN, INT_CPY, INT_GROW, INT_LSHIFT_ASSIGN,
INT_MULT_ASSIGN, INT_OR_ASSIGN, INT_RSHIFT_ASSIGN, INT_SHRINK,
INT_URSHIFT_ASSIGN, REF_CPY, RFL_INCL, SET_EXCL, SET_INCL,
SOC_CPY, STR_PUSH and TYP_CPY in the compiler have been
simplified.
- The functions int_toBStriBe and int_toBStriLe have been added to
intlib.c.
- The functions intToBStriBe and intToBStriLe have been added to
int_rtl.c
- In big_rtl.c and big_gmp.c the functions bigFromBytesBe and
bigFromBytesLe have been renamed to bigFromByteBufferBe
respectively bigFromByteBufferLe.
- The performance of the functions bst_cmp (in bstlib.c), bstCmp
(in bst_rtl.c) and strMult (in str_rtl.c) has been improved.
- The macro 'unlikely' has been added to functions in bst_rtl.c.
2013-10-17 08:36:28 +00:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
|
2008-07-16 22:42:13 +00:00
|
|
|
USE_XORG= x11
|
|
|
|
|
2010-06-21 13:05:49 +00:00
|
|
|
ONLY_FOR_ARCHS= i386 amd64 sparc64
|
2009-11-27 08:15:19 +00:00
|
|
|
|
2009-07-08 15:03:54 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}/src
|
2008-07-16 22:42:13 +00:00
|
|
|
MAKEFILE= makefile
|
- Update to 05_20121212
Changes:
* The Seed7 compiler was renamed. The new name of the Seed7 compiler
is s7c.
* Manual, FAQ, read_me files and several example programs were
updated to use the new name of the Seed7 compiler (s7c).
* A description of ltrim and rtrim and some links were added to the
manual.
* The library make.s7i and the example program make7.sd7 were
improved to execute make commands with predefined macros.
* The library makedata.s7i was improved to support dependencies
which contain a space.
* The library make.s7i was improved to support the command cp -a.
* A variant of the function popen, with the parameters 'command' and
'parameters', was added to shell.s7i.
* An explanation, why & and <& are defined for string concatenation,
was added to the FAQ.
* The program tar7.sd7 was improved to accept also DOS paths for all
file arguments.
* Documentation comments were added to progs.s7i and reference.s7i.
* The files drw_win.c, drw_x11.c and gkb_x11.c were improved to
exit a program when the close button (X) is pressed.
* The functions refFile, refLine, refParams and refSetParams in
ref_data.c were improved to raise RANGE_ERROR, when they are
called with NULL.
* The function ref_params in reflib.c was improved to call refParams.
* The makefiles were improved such that 'make s7c' generates an
executable of the Seed7 compiler.
* The makefile mk_mingc.mak, which supports the compilation of the
self extracting version of Seed7, was improved.
* The support for the unused action REF_NAME was removed.
- Reorganize installed files structure as per author's request
(see http://seed7.sourceforge.net/faq.htm#seed7_package)
- Remove article from COMMENT
2012-12-18 10:17:50 +00:00
|
|
|
MAKE_ENV+= S7_LIB_DIR=${S7_LIB_DIR} \
|
|
|
|
SEED7_LIBRARY=${SEED7_LIBRARY} \
|
- Update to 05_20121125
20121125:
- The makefiles and the file setpaths.c were improved to accept the
macros S7_LIB_DIR (Directory with static Seed7 object libraries)
and SEED7_LIBRARY (Directory with the Seed7 include libraries).
Now the build process of a package can call make e.g. with:
make S7_LIB_DIR=/abc/seed7/bin SEED7_LIBRARY=/abc/seed7/lib depend
This way the two paths are defined in version.h. This defines them
as default paths in the interpreter executable and in the compiler.
- An explanation, what a binary Seed7 package should install, was
added to the FAQ. This can be used as guideline for Seed7 packages.
- The description of the times-operator in the manual and in
array.s7i was improved.
- A description of the function name(PROGRAM), file(PROGRAM) and
'environment' was added to the manual.
- The new library environment.s7i was added. Most of the contents of
this library was extracted from "seed7_05.sd7". The new library is
included from "seed7_05.s7i", so no change in existing programs is
necessary.
- A documentation comment for getSearchPath was added to shell.s7i.
- The functions ltrim and rtrim were added to the library string.s7i.
- Testcases for ltrim and rtrim were added to chkstr.sd7.
- The function getProgramName in arr_rtl.c was improved to do the
comparison with EXECUTABLE_FILE_EXTENSION correctly.
- The program tar7.sd7 was improved to accept also DOS paths for the
file specified with -f.
- The function homeDir was improved to work with DJGPP (either $HOME
or C:\ is used).
- The function prc_cpy in prclib.c was improved.
- The files executl.c, hshlib.c, ref_data.c, reflib.c and sctlib.c
were improved to copy the descriptor union with memcpy and to copy
the posinfo flag with SET_ANY_FLAG, when necessary.
20121104:
- The new function homeDir was added to the library osfiles.s7i.
Interpreter and compiler were improved to support homeDir.
- The libraries makedata.s7i and make.s7i were improved to support
replacement macros.
- A check for division by zero with /:= was added to chkflt.sd7.
- The compiler (comp.sd7) was improved to use definitions of
NOT_A_NUMBER, POSITIVE_INFINITY and NEGATIVE_INFINITY.
- The program chkccomp.c was improved. Now it manages the macros
likely, unlikely, UNISTD_H_PRESENT, POPEN_MISSING, os_utime_orig,
os_utime, USE_ALTERNATE_UTIME, INCLUDE_SYS_UTIME, USE_LOCALTIME_R,
USE_LOCALTIME_S, FLOAT_ZERO_DIV_ERROR, CHECK_FLOAT_DIV_BY_ZERO,
ISNAN_WITH_UNDERLINE and HOME_DIR_ENV_VAR. Additionally chkccomp.c
does not depend on the definitions of long_long_EXISTS,
long_long_SUFFIX_LL, __int64_EXISTS, __int64_SUFFIX_LL and
USE_BUILTIN_EXPECT in chkccomp.h.
- The functions flt_div and flt_div_assign in fltlib.c were improved
to work correctly when CHECK_FLOAT_DIV_BY_ZERO is defined.
- Several #defines were ommitted from the makefiles.
- Explanations of several version.h #defines were added to
read_me.txt
Feature safe: yes
2012-11-28 14:18:12 +00:00
|
|
|
C_COMPILER=${CC} \
|
|
|
|
CPLUSPLUS_COMPILER=${CPP}
|
2008-07-16 22:42:13 +00:00
|
|
|
|
- Update to 05_20121212
Changes:
* The Seed7 compiler was renamed. The new name of the Seed7 compiler
is s7c.
* Manual, FAQ, read_me files and several example programs were
updated to use the new name of the Seed7 compiler (s7c).
* A description of ltrim and rtrim and some links were added to the
manual.
* The library make.s7i and the example program make7.sd7 were
improved to execute make commands with predefined macros.
* The library makedata.s7i was improved to support dependencies
which contain a space.
* The library make.s7i was improved to support the command cp -a.
* A variant of the function popen, with the parameters 'command' and
'parameters', was added to shell.s7i.
* An explanation, why & and <& are defined for string concatenation,
was added to the FAQ.
* The program tar7.sd7 was improved to accept also DOS paths for all
file arguments.
* Documentation comments were added to progs.s7i and reference.s7i.
* The files drw_win.c, drw_x11.c and gkb_x11.c were improved to
exit a program when the close button (X) is pressed.
* The functions refFile, refLine, refParams and refSetParams in
ref_data.c were improved to raise RANGE_ERROR, when they are
called with NULL.
* The function ref_params in reflib.c was improved to call refParams.
* The makefiles were improved such that 'make s7c' generates an
executable of the Seed7 compiler.
* The makefile mk_mingc.mak, which supports the compilation of the
self extracting version of Seed7, was improved.
* The support for the unused action REF_NAME was removed.
- Reorganize installed files structure as per author's request
(see http://seed7.sourceforge.net/faq.htm#seed7_package)
- Remove article from COMMENT
2012-12-18 10:17:50 +00:00
|
|
|
SEED7_LIBRARY= ${PREFIX}/lib/${PORTNAME}/lib
|
|
|
|
S7_LIB_DIR= ${PREFIX}/lib/${PORTNAME}/bin
|
|
|
|
S7_LIBS= s7_comp.a s7_con.a s7_draw.a s7_data.a seed7_05.a
|
|
|
|
|
|
|
|
PORTEXAMPLES= *
|
|
|
|
PORTDOCS= *
|
|
|
|
|
- Update to 05_20130105
Changes:
* The Seed7 interpreter was renamed. The new name of the Seed7 interpreter
is s7.
* Manual, FAQ, read_me files and several example programs were updated to
use the new name of the Seed7 interpreter (s7).
* The build process of a package can compile interpreter and compiler with
(xx and yy must be replaced with a path):
$ make S7_LIB_DIR=xx SEED7_LIBRARY=yy depend s7 s7c
* The function drwOpen in drw_win.c was improved to hide the console
window, when the program was not started from a console.
* Descriptions of the operators 'sci' and 'exp' were added to the manual.
* Documentation comments were added to clib_file.s7i.
* In pixmap_file.s7i the functions for pixmapFontFiles were improved.
* Interpreter and compiler were improved to allow using winmain as main
function.
* In cmd_win.c the function prepareCommandLine was improved and in the
function cmdStartProcess the flag wShowWindow was changed to 1.
* The file hi.c was renamed to s7.c.
* In striutl.c the function escape_command was changed to quote commands
with special characters under windows.
* In striutl.c the function cp_to_command was improved to do a quoting
under windows, even when there are no parameters.
* Parameter names were added to null_file.s7i, osfiles.s7i, time.s7i,
pixmapfont.s7i, progs.s7i, reference.s7i, seed7_05.s7i, shell.s7i,
stritext.s7i, text.s7i, rever.sd7 and snake.sd7.
2013-01-09 16:48:22 +00:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
- Update to 05_20130908
Changes:
* The compiler has been improved to use charvalue instead of
intvalue, when characters are initialized. Thanks go to Brian
Callahan, for reporting the bug. Btw.: Brian Callahan created an
openBSD port for Seed7.
* The makefile mk_freebsd.mk has been added to support compilation
under freeBSD. Thanks go to Pietro Cerutti, for providing it.
* The makefiles mk_clang.mak and mk_freebsd.mk have been improved
to use the options -ffunction-sections, -fdata-sections and
*Wl,--strip-debug.
* The functions bStriLe2BigInt, bytesLe2BigInt, bStriBe2BigInt,
bytesBe2BigInt, bStriLe, bytesLe, bStriBe and bytesBe have been
added to bytedata.s7i. This functions convert between sequences
of bytes and bigInteger numbers.
* In bytedata.s7i the functions bytesLeAsInt and bytesBeAsInt have
been renamed to bytesLe2Int respectively bytesBe2Int.
* Parameter names have been added to seed7_05.s7i, graph_file.s7i,
graph.s7i, reference.s7i, pac.sd7, tetg.sd7, tet.sd7 and wiz.sd7.
* Checks for the Karatsuba multiplication and the functions bytesBe,
bytesLe, bytesBe2BigInt and bytesLe2BigInt have been added to
chkbig.sd7.
* Checks for set membership in character sets have been added to
chkset.sd7.
* The readability of the bitset initialisation in the compiler (s7c)
has been improved.
* Interpreter and compiler have been improved to support the new
actions BIG_FROM_BSTRI_BE, BIG_FROM_BSTRI_LE, BIG_TO_BSTRI_BE and
BIG_TO_BSTRI_LE.
* The functions bigFromBytesBe, bigFromBytesLe, bigFromBStriBe,
bigFromBStriLe, bigToBStriBe and bigToBStriLe have been added to
both, big_gmp.c and big_rtl.c.
* In big_gmp.c and big_rtl.c the function bigImport has been
rewritten to use bigFromBytesBe.
* The readability of the function uint2_mult in int_rtl.c has been
improved.
* The program chkccomp.c has been improved to check for a ones
complement inttype and if casting can be used to get the element
of a union.
* Several makefiles have been adjusted to use 'cp -p' instead of
'cp -a'. The cp command openBSD does not support -a.
* The function bigRand in big_rtl.c has been improved to avoid that
a random number is outside the required range.
2013-09-09 09:31:22 +00:00
|
|
|
MAKEFILE= mk_freebsd.mk
|
- Update to 05_20130120
Changes:
* Interpreter and compiler have been improved to support the option
*l. This option allows adding a directory to the include library
search path (e.g.: -l ../lib).
* The compiler (s7c) has been improved to support the option -b.
With -b the directory of the Seed7 runtime libraries can be
specified (e.g.: -b ../bin).
* The target s7c in the makefiles has been changed to take advantage
of the options -l and -b. Now packages can compile the Seed7
compiler without a post install step.
* Additional function variants of parseFile, parseStri and execute
have been added to the library progs.s7i. The new functions allow
a detailed specification of parse and execution options.
* The library gzip.s7c has been improved to decode also blocks with
fixed Huffman codes. This type of block is almost never used since
dynamic Huffman codes compress better.
* The parsing of bigInteger literals has been improved to support
literals with bases other than 10 (e.g.: 16#FEDCBA98765434210_).
* The integer and bigInteger functions str (conversion to string)
have been changed to use lower case characters for digits larger
than 9. Now str(48879, 16) returns "beef" instead of "BEEF".
* The program make7.sd7 and the library make.s7i have been improved
to support multiple targets and the option -C.
* The Seed7 compiler has been improved to generate special inline
code for the case that the C floating point division by zero does
not result in Infinity, -Infinity or NaN (not a number).
* The functions chkLiteral and chkBitLength as well as checks for
shifts with negative shift count have been added to the program
chkbig.sd7.
* The function check_division as well as has checks for the operator
/:= (in check_nan) have been added to the program chkflt.sd7.
* The function check_str in chkint.sd7 has been improved to check
the new behaviour of the function str with a give base.
* The makefile mk_clang.mak has been added to support compilation
with the clang C compiler.
* The explanations of possible compilation errors in src/read_me.txt
have been improved.
* The functions interpreterPath and callOwnProgram have been removed
from the libraries environment.s7i respectively shell.s7i. This
functions were not used in any example program.
* The support for the interpreter option -m (use less memory during
the analyzing phase) has been removed. On many systems it was a
noop anyway.
* Result variables have been renamed in various libraries and example
programs.
* The functions find_include_file, print_lib_path, append_to_lib_path
and init_lib_path have been moved from infile.c to the new file
libpath.c.
* The function gen_rtl_array has been defined in the new file
arrutl.c. The function is used in the files cmdlib.c (functions
cmd_pipe2, cmd_pty, cmd_start_process) and prglib.c (functions
prg_exec, prg_fil_parse, prg_str_parse).
* The interpreter/compiler improvements (option -l) and the new
function variants in progs.s7i have been realized with changes in
prg_comp.c, analyze.c, data.h, infile.c, infile.h, info.c, option.h
and s7.c.
* The functions prgExec, prgFilParse and prgStrParse in prg_comp.c
have been improved to support additional parse and execution
options.
* The function interpr has been renamed to interpret and moved from
exec.c to prg_comp.c.
* The function copy_args has been moved from prclib.c to prg_comp.c.
* In traceutl.c the function set_trace has been changed and the
function set_trace2 has been removed. The functions mapTraceFlags,
mapTraceFlags2 and set_protfile_name have been added.
* The functions uBigMultiplyAndAdd and bigParseBased have been added
to big_rtl.c:
* In big_gmp.c the functions bigBitLength, bigLShift, bigRShift,
bigLShiftAssign, bigRShiftAssign, bigParse, and bigToInt32 have
been improved and bigParseBased has been added.
* To support bigInteger literals with base the file numlit.c has been
2013-01-21 17:04:13 +00:00
|
|
|
|
2008-07-16 22:42:13 +00:00
|
|
|
post-patch:
|
2014-06-03 08:07:48 +00:00
|
|
|
${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g;' \
|
|
|
|
-e '/\.\/chkccomp/s|>>||' ${WRKSRC}/${MAKEFILE}
|
2008-07-16 22:42:13 +00:00
|
|
|
|
- Update to 05_20130805a
20130805:
* The functions hashCode in complex.s7i, duration.s7i, rational.s7i
and time.s7i have been improved to avoid an integer overflow.
Thanks to Pietro Cerutti, for reporting this problem.
* The description of the Seed7 installation in doc/install.txt has
been improved.
* The new library sha1.s7i, which defines a message digest with the
SHA-1 secure hash algorithm, has been added.
* Definitions of the operators &:= and |:= have been added to
bin32.s7i.
* The functions int64AsBytesBytesLe, int64AsEightBytesBe and
bytesBeAsInt have been added to bytedata.s7i.
* Interpreter and compiler have been improved to support the actions
INT_AND_ASSIGN and INT_OR_ASSIGN.
* A bug in the function conText (file con_win.c) has been fixed.
* Debug code has been added to kbd_inf.c and kbd_poll.c.
* The makefile mk_cygw.mak has been improved to avoid problems with
the console keyboard.
20130722:
* Spelling errors in chlog.txt, faq.htm and faq.txt have been fixed.
* The function conText (in con_win.c) has been improved to work
correctly for long strings. The underlying function WriteConsoleW
fails for string lengths above some limit between 26000 to 32000.
* The functions find_window, remove_window, gkbGetc, gkbKeyPressed,
gkbButtonPressed, gkbRawGetc, gkbWindow, gkbButtonXpos and
gkbButtonYpos have been moved from drw_win.c to the new file
gkb_win.c.
* In the functions drwPCircle, drwPFCircle, drwPFEllipse and
drwFPolyLine (file drw_win.c) wrong usages of inIntRange have been
replaced with better code.
* In con_win.c the table map_key has been improved such that kbdGetc
recognizes the key F12.
* In gkb_x11.c the functions find_window, enter_window and
remove_window have been improved.
* The makefiles mk_bcc32.mak, mk_bccv5.mak, mk_mingc.mak,
mk_mingw.mak, mk_msvc.mak, mk_msys.mak and mk_nmake.mak have been
changed to use the new file gkb_win.c.
* The program chk_all.sd7 has been improved to call chkhsh.sd7.
* The program chkhsh.sd7 has been improved.
* The compiler has been improved to generate compare functions with
the correct prototype.
* The functions bitSize and process_generic_cmp_declaration have been
added to s7c.sd7.
* In flt_rtl.c the function fltCpy has been renamed to fltCpyGeneric.
* The functions dump_hash and dump_helem have been added to
hsh_rtl.c.
* The function new_type in typeutl.c has been changed to add the new
type to the parameter owningProg instead of the global prog.
2013-08-08 12:33:55 +00:00
|
|
|
do-build:
|
2014-06-03 08:07:48 +00:00
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} depend
|
|
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} -f ${MAKEFILE} s7 s7c
|
- Update to 05_20130805a
20130805:
* The functions hashCode in complex.s7i, duration.s7i, rational.s7i
and time.s7i have been improved to avoid an integer overflow.
Thanks to Pietro Cerutti, for reporting this problem.
* The description of the Seed7 installation in doc/install.txt has
been improved.
* The new library sha1.s7i, which defines a message digest with the
SHA-1 secure hash algorithm, has been added.
* Definitions of the operators &:= and |:= have been added to
bin32.s7i.
* The functions int64AsBytesBytesLe, int64AsEightBytesBe and
bytesBeAsInt have been added to bytedata.s7i.
* Interpreter and compiler have been improved to support the actions
INT_AND_ASSIGN and INT_OR_ASSIGN.
* A bug in the function conText (file con_win.c) has been fixed.
* Debug code has been added to kbd_inf.c and kbd_poll.c.
* The makefile mk_cygw.mak has been improved to avoid problems with
the console keyboard.
20130722:
* Spelling errors in chlog.txt, faq.htm and faq.txt have been fixed.
* The function conText (in con_win.c) has been improved to work
correctly for long strings. The underlying function WriteConsoleW
fails for string lengths above some limit between 26000 to 32000.
* The functions find_window, remove_window, gkbGetc, gkbKeyPressed,
gkbButtonPressed, gkbRawGetc, gkbWindow, gkbButtonXpos and
gkbButtonYpos have been moved from drw_win.c to the new file
gkb_win.c.
* In the functions drwPCircle, drwPFCircle, drwPFEllipse and
drwFPolyLine (file drw_win.c) wrong usages of inIntRange have been
replaced with better code.
* In con_win.c the table map_key has been improved such that kbdGetc
recognizes the key F12.
* In gkb_x11.c the functions find_window, enter_window and
remove_window have been improved.
* The makefiles mk_bcc32.mak, mk_bccv5.mak, mk_mingc.mak,
mk_mingw.mak, mk_msvc.mak, mk_msys.mak and mk_nmake.mak have been
changed to use the new file gkb_win.c.
* The program chk_all.sd7 has been improved to call chkhsh.sd7.
* The program chkhsh.sd7 has been improved.
* The compiler has been improved to generate compare functions with
the correct prototype.
* The functions bitSize and process_generic_cmp_declaration have been
added to s7c.sd7.
* In flt_rtl.c the function fltCpy has been renamed to fltCpyGeneric.
* The functions dump_hash and dump_helem have been added to
hsh_rtl.c.
* The function new_type in typeutl.c has been changed to add the new
type to the parameter owningProg instead of the global prog.
2013-08-08 12:33:55 +00:00
|
|
|
|
2008-07-16 22:42:13 +00:00
|
|
|
do-install:
|
- Update to 05_20130120
Changes:
* Interpreter and compiler have been improved to support the option
*l. This option allows adding a directory to the include library
search path (e.g.: -l ../lib).
* The compiler (s7c) has been improved to support the option -b.
With -b the directory of the Seed7 runtime libraries can be
specified (e.g.: -b ../bin).
* The target s7c in the makefiles has been changed to take advantage
of the options -l and -b. Now packages can compile the Seed7
compiler without a post install step.
* Additional function variants of parseFile, parseStri and execute
have been added to the library progs.s7i. The new functions allow
a detailed specification of parse and execution options.
* The library gzip.s7c has been improved to decode also blocks with
fixed Huffman codes. This type of block is almost never used since
dynamic Huffman codes compress better.
* The parsing of bigInteger literals has been improved to support
literals with bases other than 10 (e.g.: 16#FEDCBA98765434210_).
* The integer and bigInteger functions str (conversion to string)
have been changed to use lower case characters for digits larger
than 9. Now str(48879, 16) returns "beef" instead of "BEEF".
* The program make7.sd7 and the library make.s7i have been improved
to support multiple targets and the option -C.
* The Seed7 compiler has been improved to generate special inline
code for the case that the C floating point division by zero does
not result in Infinity, -Infinity or NaN (not a number).
* The functions chkLiteral and chkBitLength as well as checks for
shifts with negative shift count have been added to the program
chkbig.sd7.
* The function check_division as well as has checks for the operator
/:= (in check_nan) have been added to the program chkflt.sd7.
* The function check_str in chkint.sd7 has been improved to check
the new behaviour of the function str with a give base.
* The makefile mk_clang.mak has been added to support compilation
with the clang C compiler.
* The explanations of possible compilation errors in src/read_me.txt
have been improved.
* The functions interpreterPath and callOwnProgram have been removed
from the libraries environment.s7i respectively shell.s7i. This
functions were not used in any example program.
* The support for the interpreter option -m (use less memory during
the analyzing phase) has been removed. On many systems it was a
noop anyway.
* Result variables have been renamed in various libraries and example
programs.
* The functions find_include_file, print_lib_path, append_to_lib_path
and init_lib_path have been moved from infile.c to the new file
libpath.c.
* The function gen_rtl_array has been defined in the new file
arrutl.c. The function is used in the files cmdlib.c (functions
cmd_pipe2, cmd_pty, cmd_start_process) and prglib.c (functions
prg_exec, prg_fil_parse, prg_str_parse).
* The interpreter/compiler improvements (option -l) and the new
function variants in progs.s7i have been realized with changes in
prg_comp.c, analyze.c, data.h, infile.c, infile.h, info.c, option.h
and s7.c.
* The functions prgExec, prgFilParse and prgStrParse in prg_comp.c
have been improved to support additional parse and execution
options.
* The function interpr has been renamed to interpret and moved from
exec.c to prg_comp.c.
* The function copy_args has been moved from prclib.c to prg_comp.c.
* In traceutl.c the function set_trace has been changed and the
function set_trace2 has been removed. The functions mapTraceFlags,
mapTraceFlags2 and set_protfile_name have been added.
* The functions uBigMultiplyAndAdd and bigParseBased have been added
to big_rtl.c:
* In big_gmp.c the functions bigBitLength, bigLShift, bigRShift,
bigLShiftAssign, bigRShiftAssign, bigParse, and bigToInt32 have
been improved and bigParseBased has been added.
* To support bigInteger literals with base the file numlit.c has been
2013-01-21 17:04:13 +00:00
|
|
|
# install interpreter and compiler
|
- Update to 05_20131013
Changes:
20131013:
- Libraries for TLS (Transport Layer Security), SSL (Secure Sockets
Layer) and HTTPS (HyperText Transfer Protocol Secure) support have
been added. The new libraries are: arc4.s7i, asn1.s7i, cipher.s7i,
gethttps.s7i, hmac.s7i, pkcs1.s7i, tls.s7i and x509cert.s7i.
- Comparison operators for < (proper subset) and > (proper superset)
have been added to hashsetof.s7i.
- The type digestAlgorithm and the functions msgDigest, blockSize
and digestSize have been added to msgdigest.s7i.
- The function hex has been added to bytedata.s7i.
- The example program castle.sd7 has been improved to avoid, that
an item can be dropped on an illegal place.
- The library make.s7i has been improved to accept the option -p for
the cp command.
- Documentation comments have been added to sockbase.s7i,
socket.s7i, atom.c, entutl.c, soclib.c, soc_rtl.c and striutl.c.
- The padding in the message digest functions of msgdigest.s7i has
been corrected. Now the functions pad nothing instead of 64 bytes,
when the message length is 55 (mod 64).
- The function getHttp in gethttp.s7i has been improved to use
a case-insensitive comparison for HTTP header field names.
- In exec.c the functions eval_arg_list and dump_arg_list have been
improved to avoid reading from freed memory. This occured in very
rare cases.
- The functions find_action (in actutl.c), fltParse (in flt_rtl.c),
cmdConfigValue (in cmd_rtl.c) and find_sysvar (in syvarutl.c)
have been improved to use the macros MAX_STRI_EXPORT_LEN and
max_utf8_size.
- Interpreter and runtime library have been improved to ignore the
signal SIGPIPE. Writing to a broken pipe or socket raises the
exception FILE_ERROR instead.
- The functions bln_and and bln_or in blnlib.c have been improved
to return either SYS_TRUE_OBJECT or SYS_FALSE_OBJECT.
- The program chkccomp.c has been improved to determine the
alignment used by malloc and whether an access to unaligned memory
succeeds.
- Usages of ALLOC_CHUNK in flistutl.h have been improved to allocate
aligned memory the same way as malloc returns aligned memory.
- The program chkccomp.c has been improved to define the macro
'inline', when the C compiler does not support the keyword inline.
- Occurances of 'INLINE' have been replaced with 'inline' in the
files analyze.c, atom.c, big_gmp.c, big_rtl.c, chr_rtl.c, exec.c,
findid.c, infile.c, int_rtl.c, numlit.c, parser.c, rfl_data.c,
scanner.c, striutl.c, strlib.c, str_rtl.c, syntax.c and ut8_rtl.c.
20130929:
- The functions bStriLe, bytesLe, bStriBe and bytesBe have been
added to bytedata.s7i. This functions convert an integer to a
sequence of bytes.
- The compiler has been improved to generate inline code for the
action STR_PUSH. This action is used when a character is appended
to a string (with the operator &:= ).
- The function sendGet has been added to gethttp.s7i.
- The functions str_yy_mm_dd and str_hh_mm_ss have been added to
time.s7i.
- Checks for +:= and -:= have been added to chkbig.sd7.
- Checks for bytesBe and bytesLe have been added to chkint.sd7.
- Checks for & and &:= have been added to chkstr.sd7.
- The function doLocalDeclsOfStatement has been added to the
compiler. This function is used to simplify the processing
of various statements.
- The functions that process the statement actions BIG_GROW,
BIG_LSHIFT_ASSIGN, BIG_MULT_ASSIGN, BIG_RSHIFT_ASSIGN,
BIG_SHRINK, BLN_CPY, CHR_CPY, CHR_GROW, CHR_SHRINK, ENU_CPY,
FIL_CPY, FLT_CPY, FLT_DIV_ASSIGN, FLT_GROW, FLT_MULT_ASSIGN,
FLT_SHRINK, INT_AND_ASSIGN, INT_CPY, INT_GROW, INT_LSHIFT_ASSIGN,
INT_MULT_ASSIGN, INT_OR_ASSIGN, INT_RSHIFT_ASSIGN, INT_SHRINK,
INT_URSHIFT_ASSIGN, REF_CPY, RFL_INCL, SET_EXCL, SET_INCL,
SOC_CPY, STR_PUSH and TYP_CPY in the compiler have been
simplified.
- The functions int_toBStriBe and int_toBStriLe have been added to
intlib.c.
- The functions intToBStriBe and intToBStriLe have been added to
int_rtl.c
- In big_rtl.c and big_gmp.c the functions bigFromBytesBe and
bigFromBytesLe have been renamed to bigFromByteBufferBe
respectively bigFromByteBufferLe.
- The performance of the functions bst_cmp (in bstlib.c), bstCmp
(in bst_rtl.c) and strMult (in str_rtl.c) has been improved.
- The macro 'unlikely' has been added to functions in bst_rtl.c.
2013-10-17 08:36:28 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/../bin/s7 ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/../prg/s7c ${STAGEDIR}${PREFIX}/bin
|
- Update to 05_20121212
Changes:
* The Seed7 compiler was renamed. The new name of the Seed7 compiler
is s7c.
* Manual, FAQ, read_me files and several example programs were
updated to use the new name of the Seed7 compiler (s7c).
* A description of ltrim and rtrim and some links were added to the
manual.
* The library make.s7i and the example program make7.sd7 were
improved to execute make commands with predefined macros.
* The library makedata.s7i was improved to support dependencies
which contain a space.
* The library make.s7i was improved to support the command cp -a.
* A variant of the function popen, with the parameters 'command' and
'parameters', was added to shell.s7i.
* An explanation, why & and <& are defined for string concatenation,
was added to the FAQ.
* The program tar7.sd7 was improved to accept also DOS paths for all
file arguments.
* Documentation comments were added to progs.s7i and reference.s7i.
* The files drw_win.c, drw_x11.c and gkb_x11.c were improved to
exit a program when the close button (X) is pressed.
* The functions refFile, refLine, refParams and refSetParams in
ref_data.c were improved to raise RANGE_ERROR, when they are
called with NULL.
* The function ref_params in reflib.c was improved to call refParams.
* The makefiles were improved such that 'make s7c' generates an
executable of the Seed7 compiler.
* The makefile mk_mingc.mak, which supports the compilation of the
self extracting version of Seed7, was improved.
* The support for the unused action REF_NAME was removed.
- Reorganize installed files structure as per author's request
(see http://seed7.sourceforge.net/faq.htm#seed7_package)
- Remove article from COMMENT
2012-12-18 10:17:50 +00:00
|
|
|
# install seed7 library
|
2014-06-03 08:07:48 +00:00
|
|
|
${INSTALL} -d ${STAGEDIR}${SEED7_LIBRARY}/comp
|
- Update to 05_20131013
Changes:
20131013:
- Libraries for TLS (Transport Layer Security), SSL (Secure Sockets
Layer) and HTTPS (HyperText Transfer Protocol Secure) support have
been added. The new libraries are: arc4.s7i, asn1.s7i, cipher.s7i,
gethttps.s7i, hmac.s7i, pkcs1.s7i, tls.s7i and x509cert.s7i.
- Comparison operators for < (proper subset) and > (proper superset)
have been added to hashsetof.s7i.
- The type digestAlgorithm and the functions msgDigest, blockSize
and digestSize have been added to msgdigest.s7i.
- The function hex has been added to bytedata.s7i.
- The example program castle.sd7 has been improved to avoid, that
an item can be dropped on an illegal place.
- The library make.s7i has been improved to accept the option -p for
the cp command.
- Documentation comments have been added to sockbase.s7i,
socket.s7i, atom.c, entutl.c, soclib.c, soc_rtl.c and striutl.c.
- The padding in the message digest functions of msgdigest.s7i has
been corrected. Now the functions pad nothing instead of 64 bytes,
when the message length is 55 (mod 64).
- The function getHttp in gethttp.s7i has been improved to use
a case-insensitive comparison for HTTP header field names.
- In exec.c the functions eval_arg_list and dump_arg_list have been
improved to avoid reading from freed memory. This occured in very
rare cases.
- The functions find_action (in actutl.c), fltParse (in flt_rtl.c),
cmdConfigValue (in cmd_rtl.c) and find_sysvar (in syvarutl.c)
have been improved to use the macros MAX_STRI_EXPORT_LEN and
max_utf8_size.
- Interpreter and runtime library have been improved to ignore the
signal SIGPIPE. Writing to a broken pipe or socket raises the
exception FILE_ERROR instead.
- The functions bln_and and bln_or in blnlib.c have been improved
to return either SYS_TRUE_OBJECT or SYS_FALSE_OBJECT.
- The program chkccomp.c has been improved to determine the
alignment used by malloc and whether an access to unaligned memory
succeeds.
- Usages of ALLOC_CHUNK in flistutl.h have been improved to allocate
aligned memory the same way as malloc returns aligned memory.
- The program chkccomp.c has been improved to define the macro
'inline', when the C compiler does not support the keyword inline.
- Occurances of 'INLINE' have been replaced with 'inline' in the
files analyze.c, atom.c, big_gmp.c, big_rtl.c, chr_rtl.c, exec.c,
findid.c, infile.c, int_rtl.c, numlit.c, parser.c, rfl_data.c,
scanner.c, striutl.c, strlib.c, str_rtl.c, syntax.c and ut8_rtl.c.
20130929:
- The functions bStriLe, bytesLe, bStriBe and bytesBe have been
added to bytedata.s7i. This functions convert an integer to a
sequence of bytes.
- The compiler has been improved to generate inline code for the
action STR_PUSH. This action is used when a character is appended
to a string (with the operator &:= ).
- The function sendGet has been added to gethttp.s7i.
- The functions str_yy_mm_dd and str_hh_mm_ss have been added to
time.s7i.
- Checks for +:= and -:= have been added to chkbig.sd7.
- Checks for bytesBe and bytesLe have been added to chkint.sd7.
- Checks for & and &:= have been added to chkstr.sd7.
- The function doLocalDeclsOfStatement has been added to the
compiler. This function is used to simplify the processing
of various statements.
- The functions that process the statement actions BIG_GROW,
BIG_LSHIFT_ASSIGN, BIG_MULT_ASSIGN, BIG_RSHIFT_ASSIGN,
BIG_SHRINK, BLN_CPY, CHR_CPY, CHR_GROW, CHR_SHRINK, ENU_CPY,
FIL_CPY, FLT_CPY, FLT_DIV_ASSIGN, FLT_GROW, FLT_MULT_ASSIGN,
FLT_SHRINK, INT_AND_ASSIGN, INT_CPY, INT_GROW, INT_LSHIFT_ASSIGN,
INT_MULT_ASSIGN, INT_OR_ASSIGN, INT_RSHIFT_ASSIGN, INT_SHRINK,
INT_URSHIFT_ASSIGN, REF_CPY, RFL_INCL, SET_EXCL, SET_INCL,
SOC_CPY, STR_PUSH and TYP_CPY in the compiler have been
simplified.
- The functions int_toBStriBe and int_toBStriLe have been added to
intlib.c.
- The functions intToBStriBe and intToBStriLe have been added to
int_rtl.c
- In big_rtl.c and big_gmp.c the functions bigFromBytesBe and
bigFromBytesLe have been renamed to bigFromByteBufferBe
respectively bigFromByteBufferLe.
- The performance of the functions bst_cmp (in bstlib.c), bstCmp
(in bst_rtl.c) and strMult (in str_rtl.c) has been improved.
- The macro 'unlikely' has been added to functions in bst_rtl.c.
2013-10-17 08:36:28 +00:00
|
|
|
cd ${WRKSRC}/../lib && ${COPYTREE_SHARE} '*.s7i' ${STAGEDIR}${SEED7_LIBRARY}
|
2014-06-03 08:07:48 +00:00
|
|
|
cd ${WRKSRC}/../lib/comp && ${COPYTREE_SHARE} '*.s7i' ${STAGEDIR}${SEED7_LIBRARY}/comp
|
- Update to 05_20121212
Changes:
* The Seed7 compiler was renamed. The new name of the Seed7 compiler
is s7c.
* Manual, FAQ, read_me files and several example programs were
updated to use the new name of the Seed7 compiler (s7c).
* A description of ltrim and rtrim and some links were added to the
manual.
* The library make.s7i and the example program make7.sd7 were
improved to execute make commands with predefined macros.
* The library makedata.s7i was improved to support dependencies
which contain a space.
* The library make.s7i was improved to support the command cp -a.
* A variant of the function popen, with the parameters 'command' and
'parameters', was added to shell.s7i.
* An explanation, why & and <& are defined for string concatenation,
was added to the FAQ.
* The program tar7.sd7 was improved to accept also DOS paths for all
file arguments.
* Documentation comments were added to progs.s7i and reference.s7i.
* The files drw_win.c, drw_x11.c and gkb_x11.c were improved to
exit a program when the close button (X) is pressed.
* The functions refFile, refLine, refParams and refSetParams in
ref_data.c were improved to raise RANGE_ERROR, when they are
called with NULL.
* The function ref_params in reflib.c was improved to call refParams.
* The makefiles were improved such that 'make s7c' generates an
executable of the Seed7 compiler.
* The makefile mk_mingc.mak, which supports the compilation of the
self extracting version of Seed7, was improved.
* The support for the unused action REF_NAME was removed.
- Reorganize installed files structure as per author's request
(see http://seed7.sourceforge.net/faq.htm#seed7_package)
- Remove article from COMMENT
2012-12-18 10:17:50 +00:00
|
|
|
# install static libraries
|
- Update to 05_20131013
Changes:
20131013:
- Libraries for TLS (Transport Layer Security), SSL (Secure Sockets
Layer) and HTTPS (HyperText Transfer Protocol Secure) support have
been added. The new libraries are: arc4.s7i, asn1.s7i, cipher.s7i,
gethttps.s7i, hmac.s7i, pkcs1.s7i, tls.s7i and x509cert.s7i.
- Comparison operators for < (proper subset) and > (proper superset)
have been added to hashsetof.s7i.
- The type digestAlgorithm and the functions msgDigest, blockSize
and digestSize have been added to msgdigest.s7i.
- The function hex has been added to bytedata.s7i.
- The example program castle.sd7 has been improved to avoid, that
an item can be dropped on an illegal place.
- The library make.s7i has been improved to accept the option -p for
the cp command.
- Documentation comments have been added to sockbase.s7i,
socket.s7i, atom.c, entutl.c, soclib.c, soc_rtl.c and striutl.c.
- The padding in the message digest functions of msgdigest.s7i has
been corrected. Now the functions pad nothing instead of 64 bytes,
when the message length is 55 (mod 64).
- The function getHttp in gethttp.s7i has been improved to use
a case-insensitive comparison for HTTP header field names.
- In exec.c the functions eval_arg_list and dump_arg_list have been
improved to avoid reading from freed memory. This occured in very
rare cases.
- The functions find_action (in actutl.c), fltParse (in flt_rtl.c),
cmdConfigValue (in cmd_rtl.c) and find_sysvar (in syvarutl.c)
have been improved to use the macros MAX_STRI_EXPORT_LEN and
max_utf8_size.
- Interpreter and runtime library have been improved to ignore the
signal SIGPIPE. Writing to a broken pipe or socket raises the
exception FILE_ERROR instead.
- The functions bln_and and bln_or in blnlib.c have been improved
to return either SYS_TRUE_OBJECT or SYS_FALSE_OBJECT.
- The program chkccomp.c has been improved to determine the
alignment used by malloc and whether an access to unaligned memory
succeeds.
- Usages of ALLOC_CHUNK in flistutl.h have been improved to allocate
aligned memory the same way as malloc returns aligned memory.
- The program chkccomp.c has been improved to define the macro
'inline', when the C compiler does not support the keyword inline.
- Occurances of 'INLINE' have been replaced with 'inline' in the
files analyze.c, atom.c, big_gmp.c, big_rtl.c, chr_rtl.c, exec.c,
findid.c, infile.c, int_rtl.c, numlit.c, parser.c, rfl_data.c,
scanner.c, striutl.c, strlib.c, str_rtl.c, syntax.c and ut8_rtl.c.
20130929:
- The functions bStriLe, bytesLe, bStriBe and bytesBe have been
added to bytedata.s7i. This functions convert an integer to a
sequence of bytes.
- The compiler has been improved to generate inline code for the
action STR_PUSH. This action is used when a character is appended
to a string (with the operator &:= ).
- The function sendGet has been added to gethttp.s7i.
- The functions str_yy_mm_dd and str_hh_mm_ss have been added to
time.s7i.
- Checks for +:= and -:= have been added to chkbig.sd7.
- Checks for bytesBe and bytesLe have been added to chkint.sd7.
- Checks for & and &:= have been added to chkstr.sd7.
- The function doLocalDeclsOfStatement has been added to the
compiler. This function is used to simplify the processing
of various statements.
- The functions that process the statement actions BIG_GROW,
BIG_LSHIFT_ASSIGN, BIG_MULT_ASSIGN, BIG_RSHIFT_ASSIGN,
BIG_SHRINK, BLN_CPY, CHR_CPY, CHR_GROW, CHR_SHRINK, ENU_CPY,
FIL_CPY, FLT_CPY, FLT_DIV_ASSIGN, FLT_GROW, FLT_MULT_ASSIGN,
FLT_SHRINK, INT_AND_ASSIGN, INT_CPY, INT_GROW, INT_LSHIFT_ASSIGN,
INT_MULT_ASSIGN, INT_OR_ASSIGN, INT_RSHIFT_ASSIGN, INT_SHRINK,
INT_URSHIFT_ASSIGN, REF_CPY, RFL_INCL, SET_EXCL, SET_INCL,
SOC_CPY, STR_PUSH and TYP_CPY in the compiler have been
simplified.
- The functions int_toBStriBe and int_toBStriLe have been added to
intlib.c.
- The functions intToBStriBe and intToBStriLe have been added to
int_rtl.c
- In big_rtl.c and big_gmp.c the functions bigFromBytesBe and
bigFromBytesLe have been renamed to bigFromByteBufferBe
respectively bigFromByteBufferLe.
- The performance of the functions bst_cmp (in bstlib.c), bstCmp
(in bst_rtl.c) and strMult (in str_rtl.c) has been improved.
- The macro 'unlikely' has been added to functions in bst_rtl.c.
2013-10-17 08:36:28 +00:00
|
|
|
${INSTALL} -d ${STAGEDIR}${S7_LIB_DIR}
|
- Update to 05_20121212
Changes:
* The Seed7 compiler was renamed. The new name of the Seed7 compiler
is s7c.
* Manual, FAQ, read_me files and several example programs were
updated to use the new name of the Seed7 compiler (s7c).
* A description of ltrim and rtrim and some links were added to the
manual.
* The library make.s7i and the example program make7.sd7 were
improved to execute make commands with predefined macros.
* The library makedata.s7i was improved to support dependencies
which contain a space.
* The library make.s7i was improved to support the command cp -a.
* A variant of the function popen, with the parameters 'command' and
'parameters', was added to shell.s7i.
* An explanation, why & and <& are defined for string concatenation,
was added to the FAQ.
* The program tar7.sd7 was improved to accept also DOS paths for all
file arguments.
* Documentation comments were added to progs.s7i and reference.s7i.
* The files drw_win.c, drw_x11.c and gkb_x11.c were improved to
exit a program when the close button (X) is pressed.
* The functions refFile, refLine, refParams and refSetParams in
ref_data.c were improved to raise RANGE_ERROR, when they are
called with NULL.
* The function ref_params in reflib.c was improved to call refParams.
* The makefiles were improved such that 'make s7c' generates an
executable of the Seed7 compiler.
* The makefile mk_mingc.mak, which supports the compilation of the
self extracting version of Seed7, was improved.
* The support for the unused action REF_NAME was removed.
- Reorganize installed files structure as per author's request
(see http://seed7.sourceforge.net/faq.htm#seed7_package)
- Remove article from COMMENT
2012-12-18 10:17:50 +00:00
|
|
|
.for s7_lib in ${S7_LIBS}
|
- Update to 05_20131013
Changes:
20131013:
- Libraries for TLS (Transport Layer Security), SSL (Secure Sockets
Layer) and HTTPS (HyperText Transfer Protocol Secure) support have
been added. The new libraries are: arc4.s7i, asn1.s7i, cipher.s7i,
gethttps.s7i, hmac.s7i, pkcs1.s7i, tls.s7i and x509cert.s7i.
- Comparison operators for < (proper subset) and > (proper superset)
have been added to hashsetof.s7i.
- The type digestAlgorithm and the functions msgDigest, blockSize
and digestSize have been added to msgdigest.s7i.
- The function hex has been added to bytedata.s7i.
- The example program castle.sd7 has been improved to avoid, that
an item can be dropped on an illegal place.
- The library make.s7i has been improved to accept the option -p for
the cp command.
- Documentation comments have been added to sockbase.s7i,
socket.s7i, atom.c, entutl.c, soclib.c, soc_rtl.c and striutl.c.
- The padding in the message digest functions of msgdigest.s7i has
been corrected. Now the functions pad nothing instead of 64 bytes,
when the message length is 55 (mod 64).
- The function getHttp in gethttp.s7i has been improved to use
a case-insensitive comparison for HTTP header field names.
- In exec.c the functions eval_arg_list and dump_arg_list have been
improved to avoid reading from freed memory. This occured in very
rare cases.
- The functions find_action (in actutl.c), fltParse (in flt_rtl.c),
cmdConfigValue (in cmd_rtl.c) and find_sysvar (in syvarutl.c)
have been improved to use the macros MAX_STRI_EXPORT_LEN and
max_utf8_size.
- Interpreter and runtime library have been improved to ignore the
signal SIGPIPE. Writing to a broken pipe or socket raises the
exception FILE_ERROR instead.
- The functions bln_and and bln_or in blnlib.c have been improved
to return either SYS_TRUE_OBJECT or SYS_FALSE_OBJECT.
- The program chkccomp.c has been improved to determine the
alignment used by malloc and whether an access to unaligned memory
succeeds.
- Usages of ALLOC_CHUNK in flistutl.h have been improved to allocate
aligned memory the same way as malloc returns aligned memory.
- The program chkccomp.c has been improved to define the macro
'inline', when the C compiler does not support the keyword inline.
- Occurances of 'INLINE' have been replaced with 'inline' in the
files analyze.c, atom.c, big_gmp.c, big_rtl.c, chr_rtl.c, exec.c,
findid.c, infile.c, int_rtl.c, numlit.c, parser.c, rfl_data.c,
scanner.c, striutl.c, strlib.c, str_rtl.c, syntax.c and ut8_rtl.c.
20130929:
- The functions bStriLe, bytesLe, bStriBe and bytesBe have been
added to bytedata.s7i. This functions convert an integer to a
sequence of bytes.
- The compiler has been improved to generate inline code for the
action STR_PUSH. This action is used when a character is appended
to a string (with the operator &:= ).
- The function sendGet has been added to gethttp.s7i.
- The functions str_yy_mm_dd and str_hh_mm_ss have been added to
time.s7i.
- Checks for +:= and -:= have been added to chkbig.sd7.
- Checks for bytesBe and bytesLe have been added to chkint.sd7.
- Checks for & and &:= have been added to chkstr.sd7.
- The function doLocalDeclsOfStatement has been added to the
compiler. This function is used to simplify the processing
of various statements.
- The functions that process the statement actions BIG_GROW,
BIG_LSHIFT_ASSIGN, BIG_MULT_ASSIGN, BIG_RSHIFT_ASSIGN,
BIG_SHRINK, BLN_CPY, CHR_CPY, CHR_GROW, CHR_SHRINK, ENU_CPY,
FIL_CPY, FLT_CPY, FLT_DIV_ASSIGN, FLT_GROW, FLT_MULT_ASSIGN,
FLT_SHRINK, INT_AND_ASSIGN, INT_CPY, INT_GROW, INT_LSHIFT_ASSIGN,
INT_MULT_ASSIGN, INT_OR_ASSIGN, INT_RSHIFT_ASSIGN, INT_SHRINK,
INT_URSHIFT_ASSIGN, REF_CPY, RFL_INCL, SET_EXCL, SET_INCL,
SOC_CPY, STR_PUSH and TYP_CPY in the compiler have been
simplified.
- The functions int_toBStriBe and int_toBStriLe have been added to
intlib.c.
- The functions intToBStriBe and intToBStriLe have been added to
int_rtl.c
- In big_rtl.c and big_gmp.c the functions bigFromBytesBe and
bigFromBytesLe have been renamed to bigFromByteBufferBe
respectively bigFromByteBufferLe.
- The performance of the functions bst_cmp (in bstlib.c), bstCmp
(in bst_rtl.c) and strMult (in str_rtl.c) has been improved.
- The macro 'unlikely' has been added to functions in bst_rtl.c.
2013-10-17 08:36:28 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../bin/${s7_lib} ${STAGEDIR}${S7_LIB_DIR}
|
- Update to 05_20121212
Changes:
* The Seed7 compiler was renamed. The new name of the Seed7 compiler
is s7c.
* Manual, FAQ, read_me files and several example programs were
updated to use the new name of the Seed7 compiler (s7c).
* A description of ltrim and rtrim and some links were added to the
manual.
* The library make.s7i and the example program make7.sd7 were
improved to execute make commands with predefined macros.
* The library makedata.s7i was improved to support dependencies
which contain a space.
* The library make.s7i was improved to support the command cp -a.
* A variant of the function popen, with the parameters 'command' and
'parameters', was added to shell.s7i.
* An explanation, why & and <& are defined for string concatenation,
was added to the FAQ.
* The program tar7.sd7 was improved to accept also DOS paths for all
file arguments.
* Documentation comments were added to progs.s7i and reference.s7i.
* The files drw_win.c, drw_x11.c and gkb_x11.c were improved to
exit a program when the close button (X) is pressed.
* The functions refFile, refLine, refParams and refSetParams in
ref_data.c were improved to raise RANGE_ERROR, when they are
called with NULL.
* The function ref_params in reflib.c was improved to call refParams.
* The makefiles were improved such that 'make s7c' generates an
executable of the Seed7 compiler.
* The makefile mk_mingc.mak, which supports the compilation of the
self extracting version of Seed7, was improved.
* The support for the unused action REF_NAME was removed.
- Reorganize installed files structure as per author's request
(see http://seed7.sourceforge.net/faq.htm#seed7_package)
- Remove article from COMMENT
2012-12-18 10:17:50 +00:00
|
|
|
.endfor
|
- Update to 05_20121125
20121125:
- The makefiles and the file setpaths.c were improved to accept the
macros S7_LIB_DIR (Directory with static Seed7 object libraries)
and SEED7_LIBRARY (Directory with the Seed7 include libraries).
Now the build process of a package can call make e.g. with:
make S7_LIB_DIR=/abc/seed7/bin SEED7_LIBRARY=/abc/seed7/lib depend
This way the two paths are defined in version.h. This defines them
as default paths in the interpreter executable and in the compiler.
- An explanation, what a binary Seed7 package should install, was
added to the FAQ. This can be used as guideline for Seed7 packages.
- The description of the times-operator in the manual and in
array.s7i was improved.
- A description of the function name(PROGRAM), file(PROGRAM) and
'environment' was added to the manual.
- The new library environment.s7i was added. Most of the contents of
this library was extracted from "seed7_05.sd7". The new library is
included from "seed7_05.s7i", so no change in existing programs is
necessary.
- A documentation comment for getSearchPath was added to shell.s7i.
- The functions ltrim and rtrim were added to the library string.s7i.
- Testcases for ltrim and rtrim were added to chkstr.sd7.
- The function getProgramName in arr_rtl.c was improved to do the
comparison with EXECUTABLE_FILE_EXTENSION correctly.
- The program tar7.sd7 was improved to accept also DOS paths for the
file specified with -f.
- The function homeDir was improved to work with DJGPP (either $HOME
or C:\ is used).
- The function prc_cpy in prclib.c was improved.
- The files executl.c, hshlib.c, ref_data.c, reflib.c and sctlib.c
were improved to copy the descriptor union with memcpy and to copy
the posinfo flag with SET_ANY_FLAG, when necessary.
20121104:
- The new function homeDir was added to the library osfiles.s7i.
Interpreter and compiler were improved to support homeDir.
- The libraries makedata.s7i and make.s7i were improved to support
replacement macros.
- A check for division by zero with /:= was added to chkflt.sd7.
- The compiler (comp.sd7) was improved to use definitions of
NOT_A_NUMBER, POSITIVE_INFINITY and NEGATIVE_INFINITY.
- The program chkccomp.c was improved. Now it manages the macros
likely, unlikely, UNISTD_H_PRESENT, POPEN_MISSING, os_utime_orig,
os_utime, USE_ALTERNATE_UTIME, INCLUDE_SYS_UTIME, USE_LOCALTIME_R,
USE_LOCALTIME_S, FLOAT_ZERO_DIV_ERROR, CHECK_FLOAT_DIV_BY_ZERO,
ISNAN_WITH_UNDERLINE and HOME_DIR_ENV_VAR. Additionally chkccomp.c
does not depend on the definitions of long_long_EXISTS,
long_long_SUFFIX_LL, __int64_EXISTS, __int64_SUFFIX_LL and
USE_BUILTIN_EXPECT in chkccomp.h.
- The functions flt_div and flt_div_assign in fltlib.c were improved
to work correctly when CHECK_FLOAT_DIV_BY_ZERO is defined.
- Several #defines were ommitted from the makefiles.
- Explanations of several version.h #defines were added to
read_me.txt
Feature safe: yes
2012-11-28 14:18:12 +00:00
|
|
|
# install PORTDOCS
|
- Update to 05_20130105
Changes:
* The Seed7 interpreter was renamed. The new name of the Seed7 interpreter
is s7.
* Manual, FAQ, read_me files and several example programs were updated to
use the new name of the Seed7 interpreter (s7).
* The build process of a package can compile interpreter and compiler with
(xx and yy must be replaced with a path):
$ make S7_LIB_DIR=xx SEED7_LIBRARY=yy depend s7 s7c
* The function drwOpen in drw_win.c was improved to hide the console
window, when the program was not started from a console.
* Descriptions of the operators 'sci' and 'exp' were added to the manual.
* Documentation comments were added to clib_file.s7i.
* In pixmap_file.s7i the functions for pixmapFontFiles were improved.
* Interpreter and compiler were improved to allow using winmain as main
function.
* In cmd_win.c the function prepareCommandLine was improved and in the
function cmdStartProcess the flag wShowWindow was changed to 1.
* The file hi.c was renamed to s7.c.
* In striutl.c the function escape_command was changed to quote commands
with special characters under windows.
* In striutl.c the function cp_to_command was improved to do a quoting
under windows, even when there are no parameters.
* Parameter names were added to null_file.s7i, osfiles.s7i, time.s7i,
pixmapfont.s7i, progs.s7i, reference.s7i, seed7_05.s7i, shell.s7i,
stritext.s7i, text.s7i, rever.sd7 and snake.sd7.
2013-01-09 16:48:22 +00:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
- Update to 05_20131013
Changes:
20131013:
- Libraries for TLS (Transport Layer Security), SSL (Secure Sockets
Layer) and HTTPS (HyperText Transfer Protocol Secure) support have
been added. The new libraries are: arc4.s7i, asn1.s7i, cipher.s7i,
gethttps.s7i, hmac.s7i, pkcs1.s7i, tls.s7i and x509cert.s7i.
- Comparison operators for < (proper subset) and > (proper superset)
have been added to hashsetof.s7i.
- The type digestAlgorithm and the functions msgDigest, blockSize
and digestSize have been added to msgdigest.s7i.
- The function hex has been added to bytedata.s7i.
- The example program castle.sd7 has been improved to avoid, that
an item can be dropped on an illegal place.
- The library make.s7i has been improved to accept the option -p for
the cp command.
- Documentation comments have been added to sockbase.s7i,
socket.s7i, atom.c, entutl.c, soclib.c, soc_rtl.c and striutl.c.
- The padding in the message digest functions of msgdigest.s7i has
been corrected. Now the functions pad nothing instead of 64 bytes,
when the message length is 55 (mod 64).
- The function getHttp in gethttp.s7i has been improved to use
a case-insensitive comparison for HTTP header field names.
- In exec.c the functions eval_arg_list and dump_arg_list have been
improved to avoid reading from freed memory. This occured in very
rare cases.
- The functions find_action (in actutl.c), fltParse (in flt_rtl.c),
cmdConfigValue (in cmd_rtl.c) and find_sysvar (in syvarutl.c)
have been improved to use the macros MAX_STRI_EXPORT_LEN and
max_utf8_size.
- Interpreter and runtime library have been improved to ignore the
signal SIGPIPE. Writing to a broken pipe or socket raises the
exception FILE_ERROR instead.
- The functions bln_and and bln_or in blnlib.c have been improved
to return either SYS_TRUE_OBJECT or SYS_FALSE_OBJECT.
- The program chkccomp.c has been improved to determine the
alignment used by malloc and whether an access to unaligned memory
succeeds.
- Usages of ALLOC_CHUNK in flistutl.h have been improved to allocate
aligned memory the same way as malloc returns aligned memory.
- The program chkccomp.c has been improved to define the macro
'inline', when the C compiler does not support the keyword inline.
- Occurances of 'INLINE' have been replaced with 'inline' in the
files analyze.c, atom.c, big_gmp.c, big_rtl.c, chr_rtl.c, exec.c,
findid.c, infile.c, int_rtl.c, numlit.c, parser.c, rfl_data.c,
scanner.c, striutl.c, strlib.c, str_rtl.c, syntax.c and ut8_rtl.c.
20130929:
- The functions bStriLe, bytesLe, bStriBe and bytesBe have been
added to bytedata.s7i. This functions convert an integer to a
sequence of bytes.
- The compiler has been improved to generate inline code for the
action STR_PUSH. This action is used when a character is appended
to a string (with the operator &:= ).
- The function sendGet has been added to gethttp.s7i.
- The functions str_yy_mm_dd and str_hh_mm_ss have been added to
time.s7i.
- Checks for +:= and -:= have been added to chkbig.sd7.
- Checks for bytesBe and bytesLe have been added to chkint.sd7.
- Checks for & and &:= have been added to chkstr.sd7.
- The function doLocalDeclsOfStatement has been added to the
compiler. This function is used to simplify the processing
of various statements.
- The functions that process the statement actions BIG_GROW,
BIG_LSHIFT_ASSIGN, BIG_MULT_ASSIGN, BIG_RSHIFT_ASSIGN,
BIG_SHRINK, BLN_CPY, CHR_CPY, CHR_GROW, CHR_SHRINK, ENU_CPY,
FIL_CPY, FLT_CPY, FLT_DIV_ASSIGN, FLT_GROW, FLT_MULT_ASSIGN,
FLT_SHRINK, INT_AND_ASSIGN, INT_CPY, INT_GROW, INT_LSHIFT_ASSIGN,
INT_MULT_ASSIGN, INT_OR_ASSIGN, INT_RSHIFT_ASSIGN, INT_SHRINK,
INT_URSHIFT_ASSIGN, REF_CPY, RFL_INCL, SET_EXCL, SET_INCL,
SOC_CPY, STR_PUSH and TYP_CPY in the compiler have been
simplified.
- The functions int_toBStriBe and int_toBStriLe have been added to
intlib.c.
- The functions intToBStriBe and intToBStriLe have been added to
int_rtl.c
- In big_rtl.c and big_gmp.c the functions bigFromBytesBe and
bigFromBytesLe have been renamed to bigFromByteBufferBe
respectively bigFromByteBufferLe.
- The performance of the functions bst_cmp (in bstlib.c), bstCmp
(in bst_rtl.c) and strMult (in str_rtl.c) has been improved.
- The macro 'unlikely' has been added to functions in bst_rtl.c.
2013-10-17 08:36:28 +00:00
|
|
|
${INSTALL} -d ${STAGEDIR}${DOCSDIR}
|
|
|
|
cd ${WRKSRC}/../doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR}
|
2008-07-16 22:42:13 +00:00
|
|
|
.endif
|
- Update to 05_20121125
20121125:
- The makefiles and the file setpaths.c were improved to accept the
macros S7_LIB_DIR (Directory with static Seed7 object libraries)
and SEED7_LIBRARY (Directory with the Seed7 include libraries).
Now the build process of a package can call make e.g. with:
make S7_LIB_DIR=/abc/seed7/bin SEED7_LIBRARY=/abc/seed7/lib depend
This way the two paths are defined in version.h. This defines them
as default paths in the interpreter executable and in the compiler.
- An explanation, what a binary Seed7 package should install, was
added to the FAQ. This can be used as guideline for Seed7 packages.
- The description of the times-operator in the manual and in
array.s7i was improved.
- A description of the function name(PROGRAM), file(PROGRAM) and
'environment' was added to the manual.
- The new library environment.s7i was added. Most of the contents of
this library was extracted from "seed7_05.sd7". The new library is
included from "seed7_05.s7i", so no change in existing programs is
necessary.
- A documentation comment for getSearchPath was added to shell.s7i.
- The functions ltrim and rtrim were added to the library string.s7i.
- Testcases for ltrim and rtrim were added to chkstr.sd7.
- The function getProgramName in arr_rtl.c was improved to do the
comparison with EXECUTABLE_FILE_EXTENSION correctly.
- The program tar7.sd7 was improved to accept also DOS paths for the
file specified with -f.
- The function homeDir was improved to work with DJGPP (either $HOME
or C:\ is used).
- The function prc_cpy in prclib.c was improved.
- The files executl.c, hshlib.c, ref_data.c, reflib.c and sctlib.c
were improved to copy the descriptor union with memcpy and to copy
the posinfo flag with SET_ANY_FLAG, when necessary.
20121104:
- The new function homeDir was added to the library osfiles.s7i.
Interpreter and compiler were improved to support homeDir.
- The libraries makedata.s7i and make.s7i were improved to support
replacement macros.
- A check for division by zero with /:= was added to chkflt.sd7.
- The compiler (comp.sd7) was improved to use definitions of
NOT_A_NUMBER, POSITIVE_INFINITY and NEGATIVE_INFINITY.
- The program chkccomp.c was improved. Now it manages the macros
likely, unlikely, UNISTD_H_PRESENT, POPEN_MISSING, os_utime_orig,
os_utime, USE_ALTERNATE_UTIME, INCLUDE_SYS_UTIME, USE_LOCALTIME_R,
USE_LOCALTIME_S, FLOAT_ZERO_DIV_ERROR, CHECK_FLOAT_DIV_BY_ZERO,
ISNAN_WITH_UNDERLINE and HOME_DIR_ENV_VAR. Additionally chkccomp.c
does not depend on the definitions of long_long_EXISTS,
long_long_SUFFIX_LL, __int64_EXISTS, __int64_SUFFIX_LL and
USE_BUILTIN_EXPECT in chkccomp.h.
- The functions flt_div and flt_div_assign in fltlib.c were improved
to work correctly when CHECK_FLOAT_DIV_BY_ZERO is defined.
- Several #defines were ommitted from the makefiles.
- Explanations of several version.h #defines were added to
read_me.txt
Feature safe: yes
2012-11-28 14:18:12 +00:00
|
|
|
# install PORTEXAMPLES
|
- Update to 05_20130505
Changes:
* Functions to compare arrays (compare, <, >, <=, >=) have been added
to the library array.s7i.
* In seed7_05.s7i the functions hashCode and compare have been
defined for enum types.
* In the library bigrat.s7i the operator parse has been improved. Now
the parse operator accepts decimal numbers with repeating decimals.
* The function integer has been added to the library integer.s7i.
This function converts a numeric string, with a specified radix, to
an integer.
* The function bigInteger has been added to the library bigint.s7i.
This function converts a numeric string, with a specified radix, to
a bigInteger.
* The files encoding.s7i, gethttp.s7i, scanfile.s7i, scanstri.s7i,
xml_ent.s7i and bas7.sd7 have been changed to use the new function
integer instead of toInt (toInt was an undocumented internal
function).
* Checks for the function integer have been added to chkint.sd7.
* Checks for the function bigInteger have been added to chkbig.sd7.
* The operator sci has been added to to the library complex.s7i. This
operater converts a complex to a string in scientific notation.
* The compiler (s7c) has been improved to support the actions
BIG_PARSE_BASED, TYP_CMP, ENU_CPY, ENU_CREATE and GEN_DESTR.
* The memory management in the interpreter has been improved. Now it
is possible that a destructor is called and the object memory is
not freed. This is used to free the memory of struct objects only,
when the usage_count reaches zero.
* The UNUSED flag was defined in data.h and used to monitor if the
object memory can be freed.
* The compiler has been improved to call the destructor for local
interface objects (In process_local_declaration process_destr_call
is called for INTERFACEOBJECT objects).
* The compiler has been improved to initialize set constants, that
are part of a data structure (In walk_const_list SETOBJECT objects
are added to set_const_table).
* The runtime library has been improved to use the action GEN_DESTR
instead of PRC_NOOP as destructor for integer and other simple
data types.
2013-05-10 12:54:35 +00:00
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
- Update to 05_20131013
Changes:
20131013:
- Libraries for TLS (Transport Layer Security), SSL (Secure Sockets
Layer) and HTTPS (HyperText Transfer Protocol Secure) support have
been added. The new libraries are: arc4.s7i, asn1.s7i, cipher.s7i,
gethttps.s7i, hmac.s7i, pkcs1.s7i, tls.s7i and x509cert.s7i.
- Comparison operators for < (proper subset) and > (proper superset)
have been added to hashsetof.s7i.
- The type digestAlgorithm and the functions msgDigest, blockSize
and digestSize have been added to msgdigest.s7i.
- The function hex has been added to bytedata.s7i.
- The example program castle.sd7 has been improved to avoid, that
an item can be dropped on an illegal place.
- The library make.s7i has been improved to accept the option -p for
the cp command.
- Documentation comments have been added to sockbase.s7i,
socket.s7i, atom.c, entutl.c, soclib.c, soc_rtl.c and striutl.c.
- The padding in the message digest functions of msgdigest.s7i has
been corrected. Now the functions pad nothing instead of 64 bytes,
when the message length is 55 (mod 64).
- The function getHttp in gethttp.s7i has been improved to use
a case-insensitive comparison for HTTP header field names.
- In exec.c the functions eval_arg_list and dump_arg_list have been
improved to avoid reading from freed memory. This occured in very
rare cases.
- The functions find_action (in actutl.c), fltParse (in flt_rtl.c),
cmdConfigValue (in cmd_rtl.c) and find_sysvar (in syvarutl.c)
have been improved to use the macros MAX_STRI_EXPORT_LEN and
max_utf8_size.
- Interpreter and runtime library have been improved to ignore the
signal SIGPIPE. Writing to a broken pipe or socket raises the
exception FILE_ERROR instead.
- The functions bln_and and bln_or in blnlib.c have been improved
to return either SYS_TRUE_OBJECT or SYS_FALSE_OBJECT.
- The program chkccomp.c has been improved to determine the
alignment used by malloc and whether an access to unaligned memory
succeeds.
- Usages of ALLOC_CHUNK in flistutl.h have been improved to allocate
aligned memory the same way as malloc returns aligned memory.
- The program chkccomp.c has been improved to define the macro
'inline', when the C compiler does not support the keyword inline.
- Occurances of 'INLINE' have been replaced with 'inline' in the
files analyze.c, atom.c, big_gmp.c, big_rtl.c, chr_rtl.c, exec.c,
findid.c, infile.c, int_rtl.c, numlit.c, parser.c, rfl_data.c,
scanner.c, striutl.c, strlib.c, str_rtl.c, syntax.c and ut8_rtl.c.
20130929:
- The functions bStriLe, bytesLe, bStriBe and bytesBe have been
added to bytedata.s7i. This functions convert an integer to a
sequence of bytes.
- The compiler has been improved to generate inline code for the
action STR_PUSH. This action is used when a character is appended
to a string (with the operator &:= ).
- The function sendGet has been added to gethttp.s7i.
- The functions str_yy_mm_dd and str_hh_mm_ss have been added to
time.s7i.
- Checks for +:= and -:= have been added to chkbig.sd7.
- Checks for bytesBe and bytesLe have been added to chkint.sd7.
- Checks for & and &:= have been added to chkstr.sd7.
- The function doLocalDeclsOfStatement has been added to the
compiler. This function is used to simplify the processing
of various statements.
- The functions that process the statement actions BIG_GROW,
BIG_LSHIFT_ASSIGN, BIG_MULT_ASSIGN, BIG_RSHIFT_ASSIGN,
BIG_SHRINK, BLN_CPY, CHR_CPY, CHR_GROW, CHR_SHRINK, ENU_CPY,
FIL_CPY, FLT_CPY, FLT_DIV_ASSIGN, FLT_GROW, FLT_MULT_ASSIGN,
FLT_SHRINK, INT_AND_ASSIGN, INT_CPY, INT_GROW, INT_LSHIFT_ASSIGN,
INT_MULT_ASSIGN, INT_OR_ASSIGN, INT_RSHIFT_ASSIGN, INT_SHRINK,
INT_URSHIFT_ASSIGN, REF_CPY, RFL_INCL, SET_EXCL, SET_INCL,
SOC_CPY, STR_PUSH and TYP_CPY in the compiler have been
simplified.
- The functions int_toBStriBe and int_toBStriLe have been added to
intlib.c.
- The functions intToBStriBe and intToBStriLe have been added to
int_rtl.c
- In big_rtl.c and big_gmp.c the functions bigFromBytesBe and
bigFromBytesLe have been renamed to bigFromByteBufferBe
respectively bigFromByteBufferLe.
- The performance of the functions bst_cmp (in bstlib.c), bstCmp
(in bst_rtl.c) and strMult (in str_rtl.c) has been improved.
- The macro 'unlikely' has been added to functions in bst_rtl.c.
2013-10-17 08:36:28 +00:00
|
|
|
${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC}/../prg && ${COPYTREE_SHARE} '*.dna *.sd7 *.dat *.s7i' ${STAGEDIR}${EXAMPLESDIR}
|
2008-07-16 22:42:13 +00:00
|
|
|
.endif
|
- Update to 20130203
Changes:
* Files to generate man pages for Seed7 interpreter and compiler have
been added to the documentation (files doc/s7.1 and doc/s7c.1).
* The makefiles have been improved to support the targets distclean
and test.
* The operators radix and RADIX have been added to the libraries
integer.s7i and bigint.s7i. This operators convert an integer
respectively bigInteger to a string. The conversion uses the
numeral system with the given base.
* The variants of the function str, which have a second parameter to
specify a numeric base, are deprecated now and will be removed in a
future release. The operators radix and RADIX should be used
instead.
* Interpreter and compiler have been improved to support the
operators radix and RADIX.
* In chkint.sd7 checks for the function str with base have been
replaced with checks for the operators radix and RADIX.
* Usages of the function str with base have been changed to usages
of the operators radix or RADIX in the files gethttp.s7i, bas7.sd7,
encoding.s7i and s7c.sd7.
* Errors in bas7.sd7, concerning the function VARPTR and the
statement OPEN, have been fixed.
* The function getLineWithMacrosApplied in makedata.s7i has been
improved to ignore space and tab characters after an escaped
newline.
* Result variables have been renamed in various libraries and example
programs.
* The currency sign character has been added to stdfont10.s7i,
stdfont12.s7i, stdfont14.s7i, stdfont16.s7i, stdfont18.s7i,
stdfont20.s7i, stdfont24.s7i, vecfont10.s7i and vecfont18.s7i.
* The file chkccomp.c has been improved to define a macro that
describes what happens, when a cast of a float to int overflows.
- This release features the inclusion of the man pages for the seed7
interpreter s7(1) and compiler s7c(1)
- Remove patch included upstream
2013-02-05 08:46:44 +00:00
|
|
|
# insall man pages
|
- Update to 05_20131013
Changes:
20131013:
- Libraries for TLS (Transport Layer Security), SSL (Secure Sockets
Layer) and HTTPS (HyperText Transfer Protocol Secure) support have
been added. The new libraries are: arc4.s7i, asn1.s7i, cipher.s7i,
gethttps.s7i, hmac.s7i, pkcs1.s7i, tls.s7i and x509cert.s7i.
- Comparison operators for < (proper subset) and > (proper superset)
have been added to hashsetof.s7i.
- The type digestAlgorithm and the functions msgDigest, blockSize
and digestSize have been added to msgdigest.s7i.
- The function hex has been added to bytedata.s7i.
- The example program castle.sd7 has been improved to avoid, that
an item can be dropped on an illegal place.
- The library make.s7i has been improved to accept the option -p for
the cp command.
- Documentation comments have been added to sockbase.s7i,
socket.s7i, atom.c, entutl.c, soclib.c, soc_rtl.c and striutl.c.
- The padding in the message digest functions of msgdigest.s7i has
been corrected. Now the functions pad nothing instead of 64 bytes,
when the message length is 55 (mod 64).
- The function getHttp in gethttp.s7i has been improved to use
a case-insensitive comparison for HTTP header field names.
- In exec.c the functions eval_arg_list and dump_arg_list have been
improved to avoid reading from freed memory. This occured in very
rare cases.
- The functions find_action (in actutl.c), fltParse (in flt_rtl.c),
cmdConfigValue (in cmd_rtl.c) and find_sysvar (in syvarutl.c)
have been improved to use the macros MAX_STRI_EXPORT_LEN and
max_utf8_size.
- Interpreter and runtime library have been improved to ignore the
signal SIGPIPE. Writing to a broken pipe or socket raises the
exception FILE_ERROR instead.
- The functions bln_and and bln_or in blnlib.c have been improved
to return either SYS_TRUE_OBJECT or SYS_FALSE_OBJECT.
- The program chkccomp.c has been improved to determine the
alignment used by malloc and whether an access to unaligned memory
succeeds.
- Usages of ALLOC_CHUNK in flistutl.h have been improved to allocate
aligned memory the same way as malloc returns aligned memory.
- The program chkccomp.c has been improved to define the macro
'inline', when the C compiler does not support the keyword inline.
- Occurances of 'INLINE' have been replaced with 'inline' in the
files analyze.c, atom.c, big_gmp.c, big_rtl.c, chr_rtl.c, exec.c,
findid.c, infile.c, int_rtl.c, numlit.c, parser.c, rfl_data.c,
scanner.c, striutl.c, strlib.c, str_rtl.c, syntax.c and ut8_rtl.c.
20130929:
- The functions bStriLe, bytesLe, bStriBe and bytesBe have been
added to bytedata.s7i. This functions convert an integer to a
sequence of bytes.
- The compiler has been improved to generate inline code for the
action STR_PUSH. This action is used when a character is appended
to a string (with the operator &:= ).
- The function sendGet has been added to gethttp.s7i.
- The functions str_yy_mm_dd and str_hh_mm_ss have been added to
time.s7i.
- Checks for +:= and -:= have been added to chkbig.sd7.
- Checks for bytesBe and bytesLe have been added to chkint.sd7.
- Checks for & and &:= have been added to chkstr.sd7.
- The function doLocalDeclsOfStatement has been added to the
compiler. This function is used to simplify the processing
of various statements.
- The functions that process the statement actions BIG_GROW,
BIG_LSHIFT_ASSIGN, BIG_MULT_ASSIGN, BIG_RSHIFT_ASSIGN,
BIG_SHRINK, BLN_CPY, CHR_CPY, CHR_GROW, CHR_SHRINK, ENU_CPY,
FIL_CPY, FLT_CPY, FLT_DIV_ASSIGN, FLT_GROW, FLT_MULT_ASSIGN,
FLT_SHRINK, INT_AND_ASSIGN, INT_CPY, INT_GROW, INT_LSHIFT_ASSIGN,
INT_MULT_ASSIGN, INT_OR_ASSIGN, INT_RSHIFT_ASSIGN, INT_SHRINK,
INT_URSHIFT_ASSIGN, REF_CPY, RFL_INCL, SET_EXCL, SET_INCL,
SOC_CPY, STR_PUSH and TYP_CPY in the compiler have been
simplified.
- The functions int_toBStriBe and int_toBStriLe have been added to
intlib.c.
- The functions intToBStriBe and intToBStriLe have been added to
int_rtl.c
- In big_rtl.c and big_gmp.c the functions bigFromBytesBe and
bigFromBytesLe have been renamed to bigFromByteBufferBe
respectively bigFromByteBufferLe.
- The performance of the functions bst_cmp (in bstlib.c), bstCmp
(in bst_rtl.c) and strMult (in str_rtl.c) has been improved.
- The macro 'unlikely' has been added to functions in bst_rtl.c.
2013-10-17 08:36:28 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../doc/s7.1 ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/../doc/s7c.1 ${STAGEDIR}${PREFIX}/man/man1
|
2008-07-16 22:42:13 +00:00
|
|
|
|
- Update to 05_20130120
Changes:
* Interpreter and compiler have been improved to support the option
*l. This option allows adding a directory to the include library
search path (e.g.: -l ../lib).
* The compiler (s7c) has been improved to support the option -b.
With -b the directory of the Seed7 runtime libraries can be
specified (e.g.: -b ../bin).
* The target s7c in the makefiles has been changed to take advantage
of the options -l and -b. Now packages can compile the Seed7
compiler without a post install step.
* Additional function variants of parseFile, parseStri and execute
have been added to the library progs.s7i. The new functions allow
a detailed specification of parse and execution options.
* The library gzip.s7c has been improved to decode also blocks with
fixed Huffman codes. This type of block is almost never used since
dynamic Huffman codes compress better.
* The parsing of bigInteger literals has been improved to support
literals with bases other than 10 (e.g.: 16#FEDCBA98765434210_).
* The integer and bigInteger functions str (conversion to string)
have been changed to use lower case characters for digits larger
than 9. Now str(48879, 16) returns "beef" instead of "BEEF".
* The program make7.sd7 and the library make.s7i have been improved
to support multiple targets and the option -C.
* The Seed7 compiler has been improved to generate special inline
code for the case that the C floating point division by zero does
not result in Infinity, -Infinity or NaN (not a number).
* The functions chkLiteral and chkBitLength as well as checks for
shifts with negative shift count have been added to the program
chkbig.sd7.
* The function check_division as well as has checks for the operator
/:= (in check_nan) have been added to the program chkflt.sd7.
* The function check_str in chkint.sd7 has been improved to check
the new behaviour of the function str with a give base.
* The makefile mk_clang.mak has been added to support compilation
with the clang C compiler.
* The explanations of possible compilation errors in src/read_me.txt
have been improved.
* The functions interpreterPath and callOwnProgram have been removed
from the libraries environment.s7i respectively shell.s7i. This
functions were not used in any example program.
* The support for the interpreter option -m (use less memory during
the analyzing phase) has been removed. On many systems it was a
noop anyway.
* Result variables have been renamed in various libraries and example
programs.
* The functions find_include_file, print_lib_path, append_to_lib_path
and init_lib_path have been moved from infile.c to the new file
libpath.c.
* The function gen_rtl_array has been defined in the new file
arrutl.c. The function is used in the files cmdlib.c (functions
cmd_pipe2, cmd_pty, cmd_start_process) and prglib.c (functions
prg_exec, prg_fil_parse, prg_str_parse).
* The interpreter/compiler improvements (option -l) and the new
function variants in progs.s7i have been realized with changes in
prg_comp.c, analyze.c, data.h, infile.c, infile.h, info.c, option.h
and s7.c.
* The functions prgExec, prgFilParse and prgStrParse in prg_comp.c
have been improved to support additional parse and execution
options.
* The function interpr has been renamed to interpret and moved from
exec.c to prg_comp.c.
* The function copy_args has been moved from prclib.c to prg_comp.c.
* In traceutl.c the function set_trace has been changed and the
function set_trace2 has been removed. The functions mapTraceFlags,
mapTraceFlags2 and set_protfile_name have been added.
* The functions uBigMultiplyAndAdd and bigParseBased have been added
to big_rtl.c:
* In big_gmp.c the functions bigBitLength, bigLShift, bigRShift,
bigLShiftAssign, bigRShiftAssign, bigParse, and bigToInt32 have
been improved and bigParseBased has been added.
* To support bigInteger literals with base the file numlit.c has been
2013-01-21 17:04:13 +00:00
|
|
|
regression-test: build
|
2013-08-27 12:51:11 +00:00
|
|
|
cd ${WRKSRC} && ${MAKE} -f ${MAKEFILE} test
|
2008-07-31 05:45:17 +00:00
|
|
|
|
- Update to 05_20130505
Changes:
* Functions to compare arrays (compare, <, >, <=, >=) have been added
to the library array.s7i.
* In seed7_05.s7i the functions hashCode and compare have been
defined for enum types.
* In the library bigrat.s7i the operator parse has been improved. Now
the parse operator accepts decimal numbers with repeating decimals.
* The function integer has been added to the library integer.s7i.
This function converts a numeric string, with a specified radix, to
an integer.
* The function bigInteger has been added to the library bigint.s7i.
This function converts a numeric string, with a specified radix, to
a bigInteger.
* The files encoding.s7i, gethttp.s7i, scanfile.s7i, scanstri.s7i,
xml_ent.s7i and bas7.sd7 have been changed to use the new function
integer instead of toInt (toInt was an undocumented internal
function).
* Checks for the function integer have been added to chkint.sd7.
* Checks for the function bigInteger have been added to chkbig.sd7.
* The operator sci has been added to to the library complex.s7i. This
operater converts a complex to a string in scientific notation.
* The compiler (s7c) has been improved to support the actions
BIG_PARSE_BASED, TYP_CMP, ENU_CPY, ENU_CREATE and GEN_DESTR.
* The memory management in the interpreter has been improved. Now it
is possible that a destructor is called and the object memory is
not freed. This is used to free the memory of struct objects only,
when the usage_count reaches zero.
* The UNUSED flag was defined in data.h and used to monitor if the
object memory can be freed.
* The compiler has been improved to call the destructor for local
interface objects (In process_local_declaration process_destr_call
is called for INTERFACEOBJECT objects).
* The compiler has been improved to initialize set constants, that
are part of a data structure (In walk_const_list SETOBJECT objects
are added to set_const_table).
* The runtime library has been improved to use the action GEN_DESTR
instead of PRC_NOOP as destructor for integer and other simple
data types.
2013-05-10 12:54:35 +00:00
|
|
|
.include <bsd.port.mk>
|