All releases tagged Minor feature enhancements


Release Notes: Declarations were moved from "seed7_05.s7i" to the new library "forloop.s7i". For loops, with traverse array elements and keys, were introduced in "seed7_05.s7i". Test cases were added to "chkbig.sd7" and "chkexc.sd7". Compiler options, to control the optimization of constant expressions, were introduced. The console handling was improved to allow writing Unicode characters to the console. The random number generator was improved. Several optimizations were done in "big_rtl.c" and "big_gmp.c". Support for 'SOC_INPUT_READY' was added to the compiler (comp.sd7).


Release Notes: Left and right shift for bigIntegers was improved to allow negative shift counts. The interpreter was improved to default to non-verbose parsing. An overloaded version of the @:= operator was added to "string.s7i". The performance of bigInteger increment and decrement functions was improved. The functions getPixelColor, pixelToColor, inputReady, and daysInMonth were added. The initialization of bigInteger constants in compiled programs was improved. The function "newPixmap" was improved to allow creating pixmaps when no window was opened. The manual and documentation comments were improved.


Release Notes: FAQ answers and documentation comments were improved. The 'str' function for 'duration' values was improved to provide microseconds (when they are not zero). Two 'getHttp' functions in "gethttp.s7i" were improved to allow redirections which refer to other redirections. Checks for left shift in "chkint.sd7" were improved. Checks for the 'pos' function in "chkstr.s7i" were improved. The performance of bigInteger increment and decrement functions was improved. Several function were moved from "drw_x11.c" to the new file "gkb_x11.c". The performance of 'strPos' in "str_rtl.c" was improved.


Release Notes: A new example program (ftp7.sd7) and an FTP Internet file transfer program was added. The "ftp.s7i" library, which supports the FTP protocol, was added. The functions 'numericAddress', 'service', and 'getHostname' were added to the "socket.s7i" library. The compiler was improved to recognize unsupported options and superfluous parameters. Various functions were added or improved in "soc_rtl.c" and "soclib.c" (some were commented out). The file "soc_rtl.c" was improved to reduce the number of compiler warnings. Documentation comments were improved in the file "socket.s7i".


Release Notes: The compiler (comp.sd7) was improved to generate less code to initialize arrays. Repeated elements in array initializations are recognized, and the initialization is done with loops instead of individual assignments. The compiler (comp.sd7) was improved to generate string literals with reduced space requirements. The function 'getArgv' in "arr_rtl.c" was changed to assume that the parameters 'arg_0' and 'exePath' are not NULL. The code to recognize constant expressions in the compiler was improved. The superfluous functions 'gkbXpos' and 'gkbYpos' were removed from "drw_dos.c".


Release Notes: The support for CGI programs in the comanche.sd7 Web server was improved. The first steps towards evaluating pure functions in the compiler (when they are called with constant parameters) were made. The compiler was improved to generate code with fewer temporary variables for the actions SET_ELEM and SET_NOT_ELEM. The function 'evaluate' (defined in "progs.s7i" and implemented in "exec.c", "prglib.c" and "prg_comp.c") was improved to work correctly when the evaluation raises an exception. The function 'uintCmpGeneric' was introduced in the file "int_rtl.c" and used in compiled programs.


Release Notes: The handling of closure parameters in the compiler was improved. A free string memory management for small strings was introduced. The "socket.s7i" library was improved to provide protocol independent network access. The function 'addrFamily' was added to the "socket.s7i" library. Several changes were made to support compiling with a C++ compiler. The macros 'likely' and 'unlikely' were added to if-statements checking for exception conditions. The compiler was improved to generate better code when accessing an array element when the array is result of another computation.


Release Notes: The comanche.sd7 Web server was improved to support CGI programs. The chapter explaining "operating system access" in the manual was improved. The function "getCgiParameters(file)" was added to "cgi.s7i". The functions "setenv" and "file(PROGRAM)" were added to "seed7_05.s7i". The interpreter and the compiler were improved to support the function "getenv". Several changes were done to support compiling with a C++ compiler. The compiler (comp.sd7) was improved to generate runtime library prototypes with constant types. The function timFromIntTimestamp was introduced in "tim_rtl.c".


Release Notes: The function convDosPath was added to the "seed7_05.s7i" library. It converts a path with backslashes and drive letters to the standard path representation. Functions with path parameters or path result were improved to accept and return file paths with the standard path representation. The functions path(PROGRAM) and dir(PROGRAM) were added to the "seed7_05.s7i" library. The function path(PROGRAM) returns the absolute path of the program. The function dir(PROGRAM) returns the directory containing the program. The function getenv was improved to work with Unicode environment variables.


Release Notes: The chapter explaining exception handling in the manual was improved. The support for bitmap fonts was improved to use fontProperties as base type. The '-' function, which computes the differance of two 'time' values (with a 'duration' result) in "time.s7i", was improved. In the file "fil_rtl.c" the functions myLseek, myFseek, and myFtell were renamed to os_lseek, os_fseek, and os_ftell respectively. The makefiles were changed to define os_fseek, os_ftell, C_COMPILER_VERSION, and GET_CC_VERSION_INFO. Documentation comments were added to the function alternate_utime in the file "tim_win.c".