Path to this page:
Subject: CVS commit: pkgsrc/devel/lua-penlight
From: Alexander Nasonov
Date: 2016-11-20 11:37:50
Message id: 20161120103750.70BB8FBA6@cvs.NetBSD.org
Log Message:
Update devel/lua-penlight to version 1.4.1.
Prompted by beta.repology.org.
## 1.4.1
### Changes
- All functions that return instances of `pl.List`, `pl.Map` and
`pl.Set` now require corresponding modules, so that their methods
always work right away.
### Fixes
- Fixed `dir.getallfiles` returning an empty array when called
without `pattern` argument.
## 1.4.0
### Changes
### Fixes
- `pl.path` covers edge cases better (e.g 'path.normpath` was broken)
- `p.dir` shell patterns fixed
- `os.tmpname` broken on modern Windows/MSVC14
- (likewise for `utils.executeex` which depends on it)
- `pretty.write` more robust and does not lose floating-point precision;
saves and restores debug hooks when loading.
- `pl.lexer` fixes: `cpp` lexer now filters space by default
- `tablex.sortv` no longer assumes that the values are all unique
- `stringx.center` is now consistent with Python; `stringx.rfind` and
`string.quote_string` fixed.
- `data.write` had a problem with default delimiter, properly
returns error now.
- `pl.Set` `+` and `-` now have correct semantics
### Features
- `pl.tablex` has `union` and `merge` convenience functions
- `pl.lapp` understands '--' meaning end of parsed arguments
- `utils.quote_arg` quotes command arguments for `os.execute`,
correctly handling all special characters.
- `utils.writefile` has optional `is_bin` argument
- 'pl.lexer' supports line numbers with string argument
- `stringx.endswith` may be passed an array of possible suffixes.
- `data.read` - in CSV mode, assume empty fields are numerical zero
Files: