mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 14:28:40 +02:00
Update change log.
This commit is contained in:
@@ -1,5 +1,45 @@
|
||||
CHANGES TO REMIND
|
||||
|
||||
* VERSION 6.1 Patch 1 - 2025-09-12
|
||||
|
||||
- NEW FEATURE: remind: Add the new --max-expr-complexity=n
|
||||
command-line argument. It is possible to write expressions that use
|
||||
enormous amounts of CPU time, such as the following:
|
||||
|
||||
FSET fib(n) iif(n <= 2, 1, fib(n-1)+fib(n-2))
|
||||
SET a fib(100)
|
||||
|
||||
That will take essentially forever to execute, but will not hit the
|
||||
built-in recursion limit. Using a command-line argument of
|
||||
--max-expr-complexity=1000000 will terminate evaluation in a few
|
||||
dozen milliseconds on modern hardware, and should not affect
|
||||
realistic reminder scripts. See the man page for details.
|
||||
|
||||
- IMPROVEMENT: remind: Add UTF-8-aware functions to complement the
|
||||
byte-aware functions that could give incorrect results by splitting
|
||||
a UTF-8 character sequence. The correspondence between old and new
|
||||
functions is:
|
||||
|
||||
NON-UTF-8-AWARE UTF-8-AWARE
|
||||
=============== ===========
|
||||
strlen mbstrlen
|
||||
substr mbsubstr
|
||||
index mbindex
|
||||
char mbchar
|
||||
asc codepoint
|
||||
|
||||
See the remind(1) man page for details.
|
||||
|
||||
- MINOR NEW FEATURE: remind: You can use hexadecimal integer constants
|
||||
like 0xFE12 in expressions. This is mostly useful for using
|
||||
codepoint() since Unicode code points are often expressed in
|
||||
hexadecimal.
|
||||
|
||||
- BUG FIX: remind: When truncating a string when executing DUMPVARS or
|
||||
during debugging of expression evaluation, Remind could sometimes
|
||||
cut the string in the middle of a UTF-8 sequence. This has been
|
||||
fixed.
|
||||
|
||||
* VERSION 6.1 Patch 0 - 2025-09-08
|
||||
|
||||
- MAJOR NEW FEATURE: remind: The TZ keyword lets you specify a time
|
||||
|
||||
Reference in New Issue
Block a user