11
0
forked from pool/lua-luasystem
Commit Graph

9 Commits

Author SHA256 Message Date
4496401bbd WIP fix: attempts to make the test suite to pass 2025-11-03 13:11:44 +01:00
12b7da78ce Split test phase as a special step to break luasystem-busted
dependency cycle.
2025-10-29 18:57:57 +01:00
2d28f1e105 My effort to fix the test suite were unsuccesful, so let’s just
switch of the tests for now.

- Added failing-test-04-term-setup.patch with WIP
2025-10-29 18:20:01 +01:00
d2cdfc5dc2 Change of the upstream project.
Update to 0.6.3:
  - Fix: maximum key-delay, reduced from 0.2 to 0.1 seconds to
    reduce slugginess feel on some key presses. See #69.
  - Fix: readansi now only reports printable chars as characters
    See #70.
  - Fix: readkey now ignores Windows scancodes if received. See
    #74.
  - Fix: readkey now passes errors on. See #74.
Update to 0.6.2:
  - Fix: autotermrestore didn't work because its metatable was
    overwritten.
Update to 0.6.1:
  - Docs: document readansi internal buffer for incomplete
    sequences.
  - Fix: ensure to properly parse <alt>+key key presses
Update to 0.6.0:
  - Fix: when sleep returns an error, pass that on in readkey.
  - Feat: added detachfds which will create separate file
    descriptions for stdout and stderr to ensure that related
    settings (eg. non-blocking flag) will not be shared amongst
    those streams and stdin.
Update to 0.5.1:
  - Fix: on older unixes with glibc < 2.25, fall back to
    /dev/urandom
Update to 0.5.0:
  - Feat: when detecting character display width, also accept
    unicode codepoints (integers), since the Lua utf8 library
    returns codepoints, not strings
  - Feat: allow passing in a sleep function to readkey and
    readansi
  - Fix: NetBSD fix compilation, undeclared directives
  - Refactor: random bytes; remove deprecated API usage on
    Windows, move to binary api instead of /dev/urandom file on
    linux and bsd
Update to 0.4.5:
  - Fix: suppress a warning when building with clang
  - Fix: do not rely on luaconf.h to include limits.h, fixes
    builds with latest LuaJIT (#38).
Update to 0.4.4:
  - Fix: include all objects in Makefile
Update to 0.4.3:
  - Chore: add compiler error on Windows if Virtual Terminal
    Processing is unavailable.
  - Fix: fix the freebsd build
Update to 0.4.2:
  - Fix: include additional headers for some MinGW installations
Update to 0.4.1:
  - Fix: when compiling with msys2 the conio.h header is required
Update to 0.4.0:
  - Feat: getconsoleflags and setconsoleflags for getting/setting
    the current console configuration flags on Windows
  - Feat: getconsolecp and setconsolecp for getting/setting the
    console codepage on Windows
  - Feat: getconsoleoutputcp and setconsoleoutputcp for
    getting/setting the console output codepage on Windows
  - Feat: tcgetattr and tcsetattr for getting/setting the current
    console configuration flags on Posix
  - Feat: getnonblock and setnonblock for getting/setting the
    non-blocking flag on Posix
  - Feat: bitflags: a support feature for the above flag type
    controls to facilitate bit manipulation without resorting to
    binary operations (to also support PuC Lua 5.1)
  - Feat: readkey reads a keyboard input from stdin in a
    non-blocking way (utf8, also on Windows)
  - Feat: readansi reads a keyboard input from stdin in a
    non-blocking way, parses ansi and utf8 sequences
  - Feat: termsize gets the current terminal size in rows and
    columns
  - Feat: utf8cwidth and utf8swidth for getting the display width
    (in columns) of respectively a single utf8 character, or a
    utf8 string
  - Feat: helpers; termbackup, termrestore, autotermrestore,
    and termwrap for managing the many terminal settings on all
    platforms.
Update to 0.3.0:
  - Feat: on Windows sleep now has a precision parameter
  - Feat: setenv added to set environment variables.
  - Feat: getenvs added to list environment variables.
  - Feat: getenv added to get environment variable previously set
    (Windows).
  - Feat: random added to return high-quality random bytes
  - Feat: isatty added to check if a file-handle is a tty
Remove upstreamed patches:
  - build-independent.patch
2025-10-21 01:34:30 +02:00
558b3729f3 Allow building with modern compilers. 2025-10-10 16:47:02 +02:00
9c6304f58a Accepting request 1037549 from Kernel:tools
- Fix missing dependency on lua-macros (boo#1205612)

OBS-URL: https://build.opensuse.org/request/show/1037549
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luasystem?expand=0&rev=12
2022-11-23 13:14:31 +00:00
a70e706bc7 Accepting request 871156 from home:dimstar:Factory
- Use %lua_provides: add the lua-mod_name provides/obsoletes to
  the lua version matching the distro default.

OBS-URL: https://build.opensuse.org/request/show/871156
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luasystem?expand=0&rev=10
2021-02-11 10:56:24 +00:00
9dbce25c46 Install and package also noarch parts
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luasystem?expand=0&rev=5
2020-04-01 20:21:48 +00:00
efb61a30d4 Rename files
OBS-URL: https://build.opensuse.org/package/show/devel:languages:lua/lua-luasystem?expand=0&rev=3
2019-11-03 21:44:44 +00:00