Skip to content
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2019.20210429...v2019.20220507

4468b44
Compare
Choose a tag to compare

v2019

Bug fixes:

  • int64/double get truncated when using PACKAGE_DB with sqlite/mysql
  • Fix lex bug that allowed illegal $var in anonymous functions
  • prevent crash on loading invalid LPC program
  • make ed() display UTF-8 characters properly
  • load_object: fix buffer overruns on super long filenames. (#796)

Feature:

  • Added support for read_file() to read lines from end of file (#797)
Compare
Choose a tag to compare

BUG FIX:

  • Fix compile with #define NO_ADD_ACTION
  • Revert O_WILL_RESET flag value to original

STDLIB:

  • base64encode / base64decode
Compare
Choose a tag to compare

BUG FIXs:

  • various utf-8 handling
  • sprintf column mode
  • socket package under windows, local dns resolve
  • fix utf8 in efun:strsrch
  • Fix crash in PACKGE_PARSER, also fix accounting
  • Fix potential use-after-free in PCRE
  • ref counting bug for object_t (bug since 2015)
  • infinite recursion in dump_trace() caused by object_name() apply
  • UTF-8 support for explode() efun
  • Remove extra space in classes(), functions() efun

Enhancement:

  • Better memory accounting overall, in mud_status(1)
  • EFUN: reclaim_objects() now triggers memory reclaim
  • TELNET_GA behavior that works with mudlet
  • EFUN: adding file creation time for stat()
  • make it possible to catch(restore_object()) again

new EFUNS

  • pcre_match_all
  • EFUN: explode_reversible()
  • EFUN: strptime() and strftime()

Performance & Memory accounting

  • perf_counter_ns(), gives nanosecond time measuremnt
  • EFUN: dump_stralloc()
  • EFUN: dump_jemalloc() to generate memory dumps

new STDLIB:

  • new stdlib sefuns: highest, lowest, and range.
  • New stdlib sefuns: sum, array_sum, and element_of_weighted
  • new sefun reduce
  • New sefuns: percent and percent_of
Compare
Choose a tag to compare

Bug fixes since last release

  1. Add utf-8 sanitization on input, and memory corruption fixes
  2. Fixed all socket efuns on Windows.
  3. TELNET GA support restored. (fix mudlet)
  4. EFUN:
  • new EFUN: pcre_match_all
  • Fixed strsrch for UTF8
  • Fixed crash in parse_sentence()
  1. STDLIB
  • json_encode fixes
  • highest, lowest, and range. sum, array_sum, and element_of_weighted, number_string

Bug fix:

  1. ctime_r() related fixes.

Build:

  1. fix issues with clang 10, ASAN etc.
  2. use git hash as commit.
  3. upgrade backward-cpp.

Release notes:

  1. performance improvement on std/json.c , string handling and tracing.

BugFixes:

  • crash in receive_snoop()
  • fix PACKAGE_EXTERNAL

EFUN

  • secure_random(): generate true random numbers
  • telnet_nop(): send telnet NOP sequence

APPLY

  • virtual_start() for virtual objects.
  • Support X-REAL-IP in websocket connections
  • Fix that in LPC if(0.0) {true} else {false} would return true.
  • Raise default LARGEST_PRINTABLE_STRING to 65535
  • Fix mysql linking issues in win32
  • Upgrade jquery to 3.5.0

Release v2019.2020041301

This solved some problem with Lima lib (https://github.com/fluffos/lima)

Bug Fix:

  1. correctly linking jemalloc, fix fluffos/lima#6
  2. Add missing set_eval() to all call sites
  3. Use default mysql socket instead of /tmp/mysql.sock .

Major Feature

LPC Tracing:
new efun : trace_start , trace_end
Doc: https://www.fluffos.info/efun/system/trace_start.html

Tutorial: https://forum.fluffos.info/t/lpc-tracing-is-coming/1138