curses 1.4.4 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/dependabot.yml +6 -0
- data/.github/workflows/macos.yml +1 -1
- data/.github/workflows/push_gem.yml +48 -0
- data/.github/workflows/ubuntu.yml +2 -2
- data/.github/workflows/windows.yml +2 -2
- data/History.md +23 -0
- data/README.md +7 -0
- data/curses.gemspec +1 -1
- data/ext/curses/curses.c +7 -7
- data/sample/colors.rb +6 -1
- data/sample/form.rb +1 -1
- data/sample/menu.rb +2 -0
- metadata +9 -251
- data/vendor/PDCurses/.gitignore +0 -47
- data/vendor/PDCurses/.travis.yml +0 -49
- data/vendor/PDCurses/CMakeLists.txt +0 -68
- data/vendor/PDCurses/HISTORY.md +0 -2036
- data/vendor/PDCurses/IMPLEMNT.md +0 -327
- data/vendor/PDCurses/Makefile +0 -27
- data/vendor/PDCurses/README.md +0 -77
- data/vendor/PDCurses/acs_defs.h +0 -265
- data/vendor/PDCurses/appveyor.yml +0 -218
- data/vendor/PDCurses/cmake/README.md +0 -71
- data/vendor/PDCurses/cmake/build_dependencies.cmake +0 -178
- data/vendor/PDCurses/cmake/build_options.cmake +0 -25
- data/vendor/PDCurses/cmake/dll_version.cmake +0 -26
- data/vendor/PDCurses/cmake/gen_config_header.cmake +0 -43
- data/vendor/PDCurses/cmake/get_version.cmake +0 -17
- data/vendor/PDCurses/cmake/make_uninstall.cmake +0 -19
- data/vendor/PDCurses/cmake/project_common.cmake +0 -121
- data/vendor/PDCurses/cmake/resource.in.cmake +0 -52
- data/vendor/PDCurses/cmake/sdl2_ttf/CMakeLists.txt +0 -83
- data/vendor/PDCurses/cmake/target_arch.cmake +0 -36
- data/vendor/PDCurses/cmake/version.in.cmake +0 -73
- data/vendor/PDCurses/cmake/watcom_open_dos16_toolchain.cmake +0 -96
- data/vendor/PDCurses/cmake/watcom_open_dos32_toolchain.cmake +0 -106
- data/vendor/PDCurses/cmake/watcom_open_os2v2_toolchain.cmake +0 -105
- data/vendor/PDCurses/curses.h +0 -1846
- data/vendor/PDCurses/curspriv.h +0 -134
- data/vendor/PDCurses/demos/README.md +0 -25
- data/vendor/PDCurses/demos/firework.c +0 -144
- data/vendor/PDCurses/demos/newtest.c +0 -581
- data/vendor/PDCurses/demos/ozdemo.c +0 -447
- data/vendor/PDCurses/demos/ptest.c +0 -283
- data/vendor/PDCurses/demos/rain.c +0 -157
- data/vendor/PDCurses/demos/testcurs.c +0 -1607
- data/vendor/PDCurses/demos/tui.c +0 -1048
- data/vendor/PDCurses/demos/tui.h +0 -65
- data/vendor/PDCurses/demos/tuidemo.c +0 -233
- data/vendor/PDCurses/demos/version.c +0 -61
- data/vendor/PDCurses/demos/worm.c +0 -432
- data/vendor/PDCurses/demos/xmas.c +0 -955
- data/vendor/PDCurses/dos/CMakeLists.txt +0 -47
- data/vendor/PDCurses/dos/Makefile +0 -105
- data/vendor/PDCurses/dos/Makefile.bcc +0 -83
- data/vendor/PDCurses/dos/Makefile.dmc +0 -257
- data/vendor/PDCurses/dos/Makefile.msc +0 -113
- data/vendor/PDCurses/dos/Makefile.wcc +0 -107
- data/vendor/PDCurses/dos/README.md +0 -51
- data/vendor/PDCurses/dos/bccdos.lrf +0 -9
- data/vendor/PDCurses/dos/mscdos.lrf +0 -50
- data/vendor/PDCurses/dos/pdcclip.c +0 -132
- data/vendor/PDCurses/dos/pdcdisp.c +0 -135
- data/vendor/PDCurses/dos/pdcdos.h +0 -194
- data/vendor/PDCurses/dos/pdcgetsc.c +0 -98
- data/vendor/PDCurses/dos/pdckbd.c +0 -513
- data/vendor/PDCurses/dos/pdcscrn.c +0 -785
- data/vendor/PDCurses/dos/pdcsetsc.c +0 -101
- data/vendor/PDCurses/dos/pdcutil.c +0 -212
- data/vendor/PDCurses/libobjs.mif +0 -26
- data/vendor/PDCurses/makedist.mif +0 -20
- data/vendor/PDCurses/man/Makefile +0 -37
- data/vendor/PDCurses/man/README.md +0 -21
- data/vendor/PDCurses/man/intro.md +0 -361
- data/vendor/PDCurses/man/manext.c +0 -119
- data/vendor/PDCurses/man/sdl.md +0 -152
- data/vendor/PDCurses/man/sdl2.md +0 -58
- data/vendor/PDCurses/man/x11.md +0 -407
- data/vendor/PDCurses/ncurses/CMakeLists.txt +0 -66
- data/vendor/PDCurses/ncurses/README.md +0 -26
- data/vendor/PDCurses/ncurses/makefile +0 -29
- data/vendor/PDCurses/os2/CMakeLists.txt +0 -41
- data/vendor/PDCurses/os2/Makefile +0 -132
- data/vendor/PDCurses/os2/Makefile.bcc +0 -90
- data/vendor/PDCurses/os2/Makefile.wcc +0 -43
- data/vendor/PDCurses/os2/README.md +0 -43
- data/vendor/PDCurses/os2/iccos2.lrf +0 -50
- data/vendor/PDCurses/os2/iccos2.mak +0 -256
- data/vendor/PDCurses/os2/pdcclip.c +0 -188
- data/vendor/PDCurses/os2/pdcdisp.c +0 -93
- data/vendor/PDCurses/os2/pdcgetsc.c +0 -89
- data/vendor/PDCurses/os2/pdckbd.c +0 -521
- data/vendor/PDCurses/os2/pdcos2.h +0 -55
- data/vendor/PDCurses/os2/pdcscrn.c +0 -449
- data/vendor/PDCurses/os2/pdcsetsc.c +0 -112
- data/vendor/PDCurses/os2/pdcutil.c +0 -52
- data/vendor/PDCurses/panel.h +0 -56
- data/vendor/PDCurses/pdcurses/README.md +0 -25
- data/vendor/PDCurses/pdcurses/addch.c +0 -693
- data/vendor/PDCurses/pdcurses/addchstr.c +0 -245
- data/vendor/PDCurses/pdcurses/addstr.c +0 -240
- data/vendor/PDCurses/pdcurses/attr.c +0 -359
- data/vendor/PDCurses/pdcurses/beep.c +0 -68
- data/vendor/PDCurses/pdcurses/bkgd.c +0 -223
- data/vendor/PDCurses/pdcurses/border.c +0 -411
- data/vendor/PDCurses/pdcurses/clear.c +0 -159
- data/vendor/PDCurses/pdcurses/color.c +0 -298
- data/vendor/PDCurses/pdcurses/debug.c +0 -109
- data/vendor/PDCurses/pdcurses/delch.c +0 -96
- data/vendor/PDCurses/pdcurses/deleteln.c +0 -211
- data/vendor/PDCurses/pdcurses/deprec.c +0 -27
- data/vendor/PDCurses/pdcurses/getch.c +0 -417
- data/vendor/PDCurses/pdcurses/getstr.c +0 -474
- data/vendor/PDCurses/pdcurses/getyx.c +0 -139
- data/vendor/PDCurses/pdcurses/inch.c +0 -127
- data/vendor/PDCurses/pdcurses/inchstr.c +0 -214
- data/vendor/PDCurses/pdcurses/initscr.c +0 -367
- data/vendor/PDCurses/pdcurses/inopts.c +0 -324
- data/vendor/PDCurses/pdcurses/insch.c +0 -271
- data/vendor/PDCurses/pdcurses/insstr.c +0 -264
- data/vendor/PDCurses/pdcurses/instr.c +0 -246
- data/vendor/PDCurses/pdcurses/kernel.c +0 -259
- data/vendor/PDCurses/pdcurses/keyname.c +0 -157
- data/vendor/PDCurses/pdcurses/mouse.c +0 -438
- data/vendor/PDCurses/pdcurses/move.c +0 -57
- data/vendor/PDCurses/pdcurses/outopts.c +0 -159
- data/vendor/PDCurses/pdcurses/overlay.c +0 -214
- data/vendor/PDCurses/pdcurses/pad.c +0 -260
- data/vendor/PDCurses/pdcurses/panel.c +0 -633
- data/vendor/PDCurses/pdcurses/printw.c +0 -126
- data/vendor/PDCurses/pdcurses/refresh.c +0 -279
- data/vendor/PDCurses/pdcurses/scanw.c +0 -578
- data/vendor/PDCurses/pdcurses/scr_dump.c +0 -213
- data/vendor/PDCurses/pdcurses/scroll.c +0 -101
- data/vendor/PDCurses/pdcurses/slk.c +0 -591
- data/vendor/PDCurses/pdcurses/termattr.c +0 -182
- data/vendor/PDCurses/pdcurses/terminfo.c +0 -217
- data/vendor/PDCurses/pdcurses/touch.c +0 -163
- data/vendor/PDCurses/pdcurses/util.c +0 -312
- data/vendor/PDCurses/pdcurses/window.c +0 -569
- data/vendor/PDCurses/sdl1/Makefile +0 -129
- data/vendor/PDCurses/sdl1/Makefile.mng +0 -110
- data/vendor/PDCurses/sdl1/README.md +0 -31
- data/vendor/PDCurses/sdl1/deffont.h +0 -385
- data/vendor/PDCurses/sdl1/deficon.h +0 -23
- data/vendor/PDCurses/sdl1/pdcclip.c +0 -131
- data/vendor/PDCurses/sdl1/pdcdisp.c +0 -373
- data/vendor/PDCurses/sdl1/pdcgetsc.c +0 -30
- data/vendor/PDCurses/sdl1/pdckbd.c +0 -405
- data/vendor/PDCurses/sdl1/pdcscrn.c +0 -414
- data/vendor/PDCurses/sdl1/pdcsdl.h +0 -31
- data/vendor/PDCurses/sdl1/pdcsetsc.c +0 -64
- data/vendor/PDCurses/sdl1/pdcutil.c +0 -40
- data/vendor/PDCurses/sdl1/sdltest.c +0 -79
- data/vendor/PDCurses/sdl2/CMakeLists.txt +0 -76
- data/vendor/PDCurses/sdl2/Makefile +0 -135
- data/vendor/PDCurses/sdl2/Makefile.vc +0 -164
- data/vendor/PDCurses/sdl2/README.md +0 -34
- data/vendor/PDCurses/sdl2/deffont.h +0 -385
- data/vendor/PDCurses/sdl2/deficon.h +0 -23
- data/vendor/PDCurses/sdl2/pdcclip.c +0 -93
- data/vendor/PDCurses/sdl2/pdcdisp.c +0 -534
- data/vendor/PDCurses/sdl2/pdcgetsc.c +0 -30
- data/vendor/PDCurses/sdl2/pdckbd.c +0 -480
- data/vendor/PDCurses/sdl2/pdcscrn.c +0 -443
- data/vendor/PDCurses/sdl2/pdcsdl.h +0 -33
- data/vendor/PDCurses/sdl2/pdcsetsc.c +0 -67
- data/vendor/PDCurses/sdl2/pdcutil.c +0 -39
- data/vendor/PDCurses/sdl2/sdltest.c +0 -81
- data/vendor/PDCurses/term.h +0 -48
- data/vendor/PDCurses/version.mif +0 -7
- data/vendor/PDCurses/vt/CMakeLists.txt +0 -28
- data/vendor/PDCurses/vt/Makefile +0 -135
- data/vendor/PDCurses/vt/Makefile.bcc +0 -111
- data/vendor/PDCurses/vt/Makefile.dmc +0 -258
- data/vendor/PDCurses/vt/Makefile.vc +0 -144
- data/vendor/PDCurses/vt/Makefile.wcc +0 -107
- data/vendor/PDCurses/vt/README.md +0 -64
- data/vendor/PDCurses/vt/pdcclip.c +0 -20
- data/vendor/PDCurses/vt/pdcdisp.c +0 -284
- data/vendor/PDCurses/vt/pdcgetsc.c +0 -27
- data/vendor/PDCurses/vt/pdckbd.c +0 -394
- data/vendor/PDCurses/vt/pdcscrn.c +0 -434
- data/vendor/PDCurses/vt/pdcsetsc.c +0 -45
- data/vendor/PDCurses/vt/pdcutil.c +0 -43
- data/vendor/PDCurses/vt/pdcvt.h +0 -16
- data/vendor/PDCurses/watcom.mif +0 -68
- data/vendor/PDCurses/wincon/CMakeLists.txt +0 -27
- data/vendor/PDCurses/wincon/Makefile.bcc +0 -88
- data/vendor/PDCurses/wincon/Makefile.dmc +0 -256
- data/vendor/PDCurses/wincon/Makefile.lcc +0 -273
- data/vendor/PDCurses/wincon/Makefile.mng +0 -176
- data/vendor/PDCurses/wincon/Makefile.vc +0 -144
- data/vendor/PDCurses/wincon/Makefile.wcc +0 -51
- data/vendor/PDCurses/wincon/README.md +0 -85
- data/vendor/PDCurses/wincon/pdcclip.c +0 -174
- data/vendor/PDCurses/wincon/pdcdisp.c +0 -143
- data/vendor/PDCurses/wincon/pdcgetsc.c +0 -55
- data/vendor/PDCurses/wincon/pdckbd.c +0 -786
- data/vendor/PDCurses/wincon/pdcscrn.c +0 -717
- data/vendor/PDCurses/wincon/pdcsetsc.c +0 -91
- data/vendor/PDCurses/wincon/pdcurses.ico +0 -0
- data/vendor/PDCurses/wincon/pdcurses.rc +0 -28
- data/vendor/PDCurses/wincon/pdcutil.c +0 -41
- data/vendor/PDCurses/wincon/pdcwin.h +0 -31
- data/vendor/PDCurses/wingui/CMakeLists.txt +0 -27
- data/vendor/PDCurses/wingui/Makefile.bcc +0 -85
- data/vendor/PDCurses/wingui/Makefile.dmc +0 -259
- data/vendor/PDCurses/wingui/Makefile.lcc +0 -273
- data/vendor/PDCurses/wingui/Makefile.mng +0 -171
- data/vendor/PDCurses/wingui/Makefile.vc +0 -144
- data/vendor/PDCurses/wingui/Makefile.wcc +0 -51
- data/vendor/PDCurses/wingui/README.md +0 -93
- data/vendor/PDCurses/wingui/pdcclip.c +0 -174
- data/vendor/PDCurses/wingui/pdcdisp.c +0 -718
- data/vendor/PDCurses/wingui/pdcgetsc.c +0 -30
- data/vendor/PDCurses/wingui/pdckbd.c +0 -143
- data/vendor/PDCurses/wingui/pdcscrn.c +0 -2797
- data/vendor/PDCurses/wingui/pdcsetsc.c +0 -89
- data/vendor/PDCurses/wingui/pdcurses.ico +0 -0
- data/vendor/PDCurses/wingui/pdcurses.rc +0 -28
- data/vendor/PDCurses/wingui/pdcutil.c +0 -61
- data/vendor/PDCurses/wingui/pdcwin.h +0 -122
- data/vendor/PDCurses/x11/Makefile.in +0 -754
- data/vendor/PDCurses/x11/PDCurses.spec +0 -82
- data/vendor/PDCurses/x11/README.md +0 -62
- data/vendor/PDCurses/x11/ScrollBox.c +0 -319
- data/vendor/PDCurses/x11/ScrollBox.h +0 -51
- data/vendor/PDCurses/x11/ScrollBoxP.h +0 -70
- data/vendor/PDCurses/x11/aclocal.m4 +0 -994
- data/vendor/PDCurses/x11/big_icon.xbm +0 -46
- data/vendor/PDCurses/x11/compose.h +0 -201
- data/vendor/PDCurses/x11/config.guess +0 -1500
- data/vendor/PDCurses/x11/config.h.in +0 -100
- data/vendor/PDCurses/x11/config.sub +0 -1616
- data/vendor/PDCurses/x11/configure +0 -6700
- data/vendor/PDCurses/x11/configure.ac +0 -295
- data/vendor/PDCurses/x11/debian/changelog +0 -6
- data/vendor/PDCurses/x11/debian/compat +0 -1
- data/vendor/PDCurses/x11/debian/control +0 -11
- data/vendor/PDCurses/x11/debian/copyright +0 -27
- data/vendor/PDCurses/x11/debian/rules +0 -98
- data/vendor/PDCurses/x11/install-sh +0 -253
- data/vendor/PDCurses/x11/little_icon.xbm +0 -14
- data/vendor/PDCurses/x11/ncurses_cfg.h +0 -45
- data/vendor/PDCurses/x11/pdcclip.c +0 -173
- data/vendor/PDCurses/x11/pdcdisp.c +0 -85
- data/vendor/PDCurses/x11/pdcgetsc.c +0 -28
- data/vendor/PDCurses/x11/pdckbd.c +0 -104
- data/vendor/PDCurses/x11/pdcscrn.c +0 -258
- data/vendor/PDCurses/x11/pdcsetsc.c +0 -95
- data/vendor/PDCurses/x11/pdcutil.c +0 -52
- data/vendor/PDCurses/x11/pdcx11.c +0 -316
- data/vendor/PDCurses/x11/pdcx11.h +0 -191
- data/vendor/PDCurses/x11/sb.c +0 -155
- data/vendor/PDCurses/x11/x11.c +0 -3686
- data/vendor/PDCurses/x11/xcurses-config.in +0 -81
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 824110d81838895e47a1e9d7baa26934e859a0a1d05ed14c8e56ccc0110b6cfa
|
4
|
+
data.tar.gz: d00f22a7ef48b8fba6e51690a944605c03076211ce57e09a5427780e8f1f5e47
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63baa964aece83a9aef9ca28cac34f54f40c65afc7cdf5a9d74c6543fecfc97fbc184b0f373fe896dbc3627a12492e57d79e42cad51902da433563d0fa01ff6f
|
7
|
+
data.tar.gz: 6af6f9400298193f22c1e05a5ab6bd97b2971590132d142e66bf2db9194d0984805ba944a64689e9932a8a0efbe7e20cbb388e9616bf2a90b0abceabba2417ab
|
data/.github/workflows/macos.yml
CHANGED
@@ -0,0 +1,48 @@
|
|
1
|
+
name: Publish gem to rubygems.org
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
tags:
|
6
|
+
- 'v*'
|
7
|
+
|
8
|
+
permissions:
|
9
|
+
contents: read
|
10
|
+
|
11
|
+
jobs:
|
12
|
+
push:
|
13
|
+
if: github.repository == 'ruby/curses'
|
14
|
+
runs-on: ubuntu-latest
|
15
|
+
|
16
|
+
environment:
|
17
|
+
name: rubygems.org
|
18
|
+
url: https://rubygems.org/gems/curses
|
19
|
+
|
20
|
+
permissions:
|
21
|
+
contents: write
|
22
|
+
id-token: write
|
23
|
+
|
24
|
+
steps:
|
25
|
+
# Set up
|
26
|
+
- name: Harden Runner
|
27
|
+
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
|
28
|
+
with:
|
29
|
+
egress-policy: audit
|
30
|
+
|
31
|
+
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
32
|
+
|
33
|
+
- name: Set up Ruby
|
34
|
+
uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0
|
35
|
+
with:
|
36
|
+
bundler-cache: true
|
37
|
+
ruby-version: ruby
|
38
|
+
|
39
|
+
# Release
|
40
|
+
- name: Publish to RubyGems
|
41
|
+
uses: rubygems/release-gem@612653d273a73bdae1df8453e090060bb4db5f31 # v1
|
42
|
+
|
43
|
+
- name: Create GitHub release
|
44
|
+
run: |
|
45
|
+
tag_name="$(git describe --tags --abbrev=0)"
|
46
|
+
gh release create "${tag_name}" --verify-tag --draft --generate-notes
|
47
|
+
env:
|
48
|
+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
@@ -6,10 +6,10 @@ jobs:
|
|
6
6
|
test:
|
7
7
|
strategy:
|
8
8
|
matrix:
|
9
|
-
ruby: [ head, 3.
|
9
|
+
ruby: [ head, 3.3, 3.2, 3.1, 3.0 ]
|
10
10
|
runs-on: ubuntu-latest
|
11
11
|
steps:
|
12
|
-
- uses: actions/checkout@
|
12
|
+
- uses: actions/checkout@v4
|
13
13
|
- uses: ruby/setup-ruby@v1
|
14
14
|
with:
|
15
15
|
ruby-version: ${{ matrix.ruby }}
|
@@ -7,9 +7,9 @@ jobs:
|
|
7
7
|
runs-on: windows-latest
|
8
8
|
strategy:
|
9
9
|
matrix:
|
10
|
-
ruby: [ 'mingw', 'mswin', '
|
10
|
+
ruby: [ 'mingw', 'mswin', '3.3' ]
|
11
11
|
steps:
|
12
|
-
- uses: actions/checkout@
|
12
|
+
- uses: actions/checkout@v4
|
13
13
|
with:
|
14
14
|
submodules: true
|
15
15
|
- name: Set up Ruby
|
data/History.md
CHANGED
@@ -1,3 +1,26 @@
|
|
1
|
+
This file is no longer being updated after version 1.4.5.
|
2
|
+
For changes since version 1.4.5, see <URL:https://github.com/ruby/curses/releases>.
|
3
|
+
|
4
|
+
### 1.4.5 / 2024-04-24
|
5
|
+
|
6
|
+
New features:
|
7
|
+
|
8
|
+
* Add documentation of TERM.
|
9
|
+
Issue #80 by rubyFeedback.
|
10
|
+
* Add MacOS directives to install curses with menu support
|
11
|
+
Pull request #84 by AlexB52.
|
12
|
+
|
13
|
+
Bug fixes:
|
14
|
+
|
15
|
+
* Add x permissoin to samples.
|
16
|
+
Pull request #71 by dvarrui.
|
17
|
+
* Supress gem installation warning.
|
18
|
+
Issue #77 by rubyFeedback.
|
19
|
+
* Ignore Curses::UnknownCommandError.
|
20
|
+
Issue #79 by rubyFeedback.
|
21
|
+
* Fix installation problem on macOS (Apple Silicon).
|
22
|
+
Issue #85 by pusewicz.
|
23
|
+
|
1
24
|
### 1.4.4 / 2022-02-03
|
2
25
|
|
3
26
|
Bug fixes:
|
data/README.md
CHANGED
@@ -37,6 +37,13 @@ However, if you prefer ncurses to PDCurses, specify the following option:
|
|
37
37
|
|
38
38
|
On mingw, you need DevKit to compile the extension library.
|
39
39
|
|
40
|
+
On MacOS, `ncurses` menu isn't natively supported. You can install the gem with menu support using homebrew:
|
41
|
+
|
42
|
+
brew install ncurses
|
43
|
+
gem install curses -- --use-system-libraries --with-ncurses-dir=/usr/local/opt/ncurses
|
44
|
+
|
45
|
+
_with `/usr/local/opt/ncurses` the path where homebrew installed ncurses on your machine_
|
46
|
+
|
40
47
|
## Documentation
|
41
48
|
|
42
49
|
See [https://www.rubydoc.info/gems/curses](https://www.rubydoc.info/gems/curses).
|
data/curses.gemspec
CHANGED
data/ext/curses/curses.c
CHANGED
@@ -3252,7 +3252,7 @@ item_opts_off_m(VALUE obj, VALUE opts)
|
|
3252
3252
|
* Get the current option bits of the item.
|
3253
3253
|
*/
|
3254
3254
|
static VALUE
|
3255
|
-
item_opts_m(VALUE obj
|
3255
|
+
item_opts_m(VALUE obj)
|
3256
3256
|
{
|
3257
3257
|
struct itemdata *itemp;
|
3258
3258
|
|
@@ -3701,7 +3701,7 @@ menu_set_fore(VALUE obj, VALUE attr)
|
|
3701
3701
|
* This is the highlight used for selected menu items.
|
3702
3702
|
*/
|
3703
3703
|
static VALUE
|
3704
|
-
menu_get_fore(VALUE obj
|
3704
|
+
menu_get_fore(VALUE obj)
|
3705
3705
|
{
|
3706
3706
|
struct menudata *menup;
|
3707
3707
|
|
@@ -3738,7 +3738,7 @@ menu_set_back(VALUE obj, VALUE attr)
|
|
3738
3738
|
* Get the background attribute of menu.
|
3739
3739
|
*/
|
3740
3740
|
static VALUE
|
3741
|
-
menu_get_back(VALUE obj
|
3741
|
+
menu_get_back(VALUE obj)
|
3742
3742
|
{
|
3743
3743
|
struct menudata *menup;
|
3744
3744
|
|
@@ -3835,7 +3835,7 @@ menu_opts_off_m(VALUE obj, VALUE opts)
|
|
3835
3835
|
* Get the current option bits of the menu.
|
3836
3836
|
*/
|
3837
3837
|
static VALUE
|
3838
|
-
menu_opts_m(VALUE obj
|
3838
|
+
menu_opts_m(VALUE obj)
|
3839
3839
|
{
|
3840
3840
|
struct menudata *menup;
|
3841
3841
|
|
@@ -4800,11 +4800,11 @@ curses_save_key_modifiers(VALUE obj, VALUE flag)
|
|
4800
4800
|
* == Examples
|
4801
4801
|
*
|
4802
4802
|
* * hello.rb
|
4803
|
-
* :include: sample/hello.rb
|
4803
|
+
* :include: ../../sample/hello.rb
|
4804
4804
|
*
|
4805
4805
|
*
|
4806
4806
|
* * rain.rb
|
4807
|
-
* :include: sample/rain.rb
|
4807
|
+
* :include: ../../sample/rain.rb
|
4808
4808
|
*
|
4809
4809
|
*
|
4810
4810
|
*/
|
@@ -4844,7 +4844,7 @@ Init_curses(void)
|
|
4844
4844
|
* == Example
|
4845
4845
|
*
|
4846
4846
|
* * mouse.rb
|
4847
|
-
* :include: sample/mouse.rb
|
4847
|
+
* :include: ../../sample/mouse.rb
|
4848
4848
|
*
|
4849
4849
|
*/
|
4850
4850
|
cMouseEvent = rb_define_class_under(mCurses,"MouseEvent",rb_cObject);
|
data/sample/colors.rb
CHANGED
@@ -1,6 +1,11 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
1
3
|
require "curses"
|
2
4
|
include Curses
|
3
5
|
|
6
|
+
# The TERM environment variable should be set to xterm-256color etc. to
|
7
|
+
# use 256 colors. Curses.colors returns the color numbers of the terminal.
|
8
|
+
|
4
9
|
begin
|
5
10
|
init_screen
|
6
11
|
|
@@ -23,4 +28,4 @@ begin
|
|
23
28
|
|
24
29
|
ensure
|
25
30
|
close_screen
|
26
|
-
end
|
31
|
+
end
|
data/sample/form.rb
CHANGED
data/sample/menu.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: curses
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.4.
|
4
|
+
version: 1.4.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shugo Maeda
|
8
8
|
- Eric Hodel
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-06-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
|
-
description:
|
42
|
+
description:
|
43
43
|
email:
|
44
44
|
- shugo@ruby-lang.org
|
45
45
|
- drbrain@segment7.net
|
@@ -48,7 +48,9 @@ extensions:
|
|
48
48
|
- ext/curses/extconf.rb
|
49
49
|
extra_rdoc_files: []
|
50
50
|
files:
|
51
|
+
- ".github/dependabot.yml"
|
51
52
|
- ".github/workflows/macos.yml"
|
53
|
+
- ".github/workflows/push_gem.yml"
|
52
54
|
- ".github/workflows/ubuntu.yml"
|
53
55
|
- ".github/workflows/windows.yml"
|
54
56
|
- ".gitignore"
|
@@ -75,256 +77,12 @@ files:
|
|
75
77
|
- sample/rain.rb
|
76
78
|
- sample/view.rb
|
77
79
|
- sample/view2.rb
|
78
|
-
- vendor/PDCurses/.gitignore
|
79
|
-
- vendor/PDCurses/.travis.yml
|
80
|
-
- vendor/PDCurses/CMakeLists.txt
|
81
|
-
- vendor/PDCurses/HISTORY.md
|
82
|
-
- vendor/PDCurses/IMPLEMNT.md
|
83
|
-
- vendor/PDCurses/Makefile
|
84
|
-
- vendor/PDCurses/README.md
|
85
|
-
- vendor/PDCurses/acs_defs.h
|
86
|
-
- vendor/PDCurses/appveyor.yml
|
87
|
-
- vendor/PDCurses/cmake/README.md
|
88
|
-
- vendor/PDCurses/cmake/build_dependencies.cmake
|
89
|
-
- vendor/PDCurses/cmake/build_options.cmake
|
90
|
-
- vendor/PDCurses/cmake/dll_version.cmake
|
91
|
-
- vendor/PDCurses/cmake/gen_config_header.cmake
|
92
|
-
- vendor/PDCurses/cmake/get_version.cmake
|
93
|
-
- vendor/PDCurses/cmake/make_uninstall.cmake
|
94
|
-
- vendor/PDCurses/cmake/project_common.cmake
|
95
|
-
- vendor/PDCurses/cmake/resource.in.cmake
|
96
|
-
- vendor/PDCurses/cmake/sdl2_ttf/CMakeLists.txt
|
97
|
-
- vendor/PDCurses/cmake/target_arch.cmake
|
98
|
-
- vendor/PDCurses/cmake/version.in.cmake
|
99
|
-
- vendor/PDCurses/cmake/watcom_open_dos16_toolchain.cmake
|
100
|
-
- vendor/PDCurses/cmake/watcom_open_dos32_toolchain.cmake
|
101
|
-
- vendor/PDCurses/cmake/watcom_open_os2v2_toolchain.cmake
|
102
|
-
- vendor/PDCurses/curses.h
|
103
|
-
- vendor/PDCurses/curspriv.h
|
104
|
-
- vendor/PDCurses/demos/README.md
|
105
|
-
- vendor/PDCurses/demos/firework.c
|
106
|
-
- vendor/PDCurses/demos/newtest.c
|
107
|
-
- vendor/PDCurses/demos/ozdemo.c
|
108
|
-
- vendor/PDCurses/demos/ptest.c
|
109
|
-
- vendor/PDCurses/demos/rain.c
|
110
|
-
- vendor/PDCurses/demos/testcurs.c
|
111
|
-
- vendor/PDCurses/demos/tui.c
|
112
|
-
- vendor/PDCurses/demos/tui.h
|
113
|
-
- vendor/PDCurses/demos/tuidemo.c
|
114
|
-
- vendor/PDCurses/demos/version.c
|
115
|
-
- vendor/PDCurses/demos/worm.c
|
116
|
-
- vendor/PDCurses/demos/xmas.c
|
117
|
-
- vendor/PDCurses/dos/CMakeLists.txt
|
118
|
-
- vendor/PDCurses/dos/Makefile
|
119
|
-
- vendor/PDCurses/dos/Makefile.bcc
|
120
|
-
- vendor/PDCurses/dos/Makefile.dmc
|
121
|
-
- vendor/PDCurses/dos/Makefile.msc
|
122
|
-
- vendor/PDCurses/dos/Makefile.wcc
|
123
|
-
- vendor/PDCurses/dos/README.md
|
124
|
-
- vendor/PDCurses/dos/bccdos.lrf
|
125
|
-
- vendor/PDCurses/dos/mscdos.lrf
|
126
|
-
- vendor/PDCurses/dos/pdcclip.c
|
127
|
-
- vendor/PDCurses/dos/pdcdisp.c
|
128
|
-
- vendor/PDCurses/dos/pdcdos.h
|
129
|
-
- vendor/PDCurses/dos/pdcgetsc.c
|
130
|
-
- vendor/PDCurses/dos/pdckbd.c
|
131
|
-
- vendor/PDCurses/dos/pdcscrn.c
|
132
|
-
- vendor/PDCurses/dos/pdcsetsc.c
|
133
|
-
- vendor/PDCurses/dos/pdcutil.c
|
134
|
-
- vendor/PDCurses/libobjs.mif
|
135
|
-
- vendor/PDCurses/makedist.mif
|
136
|
-
- vendor/PDCurses/man/Makefile
|
137
|
-
- vendor/PDCurses/man/README.md
|
138
|
-
- vendor/PDCurses/man/intro.md
|
139
|
-
- vendor/PDCurses/man/manext.c
|
140
|
-
- vendor/PDCurses/man/sdl.md
|
141
|
-
- vendor/PDCurses/man/sdl2.md
|
142
|
-
- vendor/PDCurses/man/x11.md
|
143
|
-
- vendor/PDCurses/ncurses/CMakeLists.txt
|
144
|
-
- vendor/PDCurses/ncurses/README.md
|
145
|
-
- vendor/PDCurses/ncurses/makefile
|
146
|
-
- vendor/PDCurses/os2/CMakeLists.txt
|
147
|
-
- vendor/PDCurses/os2/Makefile
|
148
|
-
- vendor/PDCurses/os2/Makefile.bcc
|
149
|
-
- vendor/PDCurses/os2/Makefile.wcc
|
150
|
-
- vendor/PDCurses/os2/README.md
|
151
|
-
- vendor/PDCurses/os2/iccos2.lrf
|
152
|
-
- vendor/PDCurses/os2/iccos2.mak
|
153
|
-
- vendor/PDCurses/os2/pdcclip.c
|
154
|
-
- vendor/PDCurses/os2/pdcdisp.c
|
155
|
-
- vendor/PDCurses/os2/pdcgetsc.c
|
156
|
-
- vendor/PDCurses/os2/pdckbd.c
|
157
|
-
- vendor/PDCurses/os2/pdcos2.h
|
158
|
-
- vendor/PDCurses/os2/pdcscrn.c
|
159
|
-
- vendor/PDCurses/os2/pdcsetsc.c
|
160
|
-
- vendor/PDCurses/os2/pdcutil.c
|
161
|
-
- vendor/PDCurses/panel.h
|
162
|
-
- vendor/PDCurses/pdcurses/README.md
|
163
|
-
- vendor/PDCurses/pdcurses/addch.c
|
164
|
-
- vendor/PDCurses/pdcurses/addchstr.c
|
165
|
-
- vendor/PDCurses/pdcurses/addstr.c
|
166
|
-
- vendor/PDCurses/pdcurses/attr.c
|
167
|
-
- vendor/PDCurses/pdcurses/beep.c
|
168
|
-
- vendor/PDCurses/pdcurses/bkgd.c
|
169
|
-
- vendor/PDCurses/pdcurses/border.c
|
170
|
-
- vendor/PDCurses/pdcurses/clear.c
|
171
|
-
- vendor/PDCurses/pdcurses/color.c
|
172
|
-
- vendor/PDCurses/pdcurses/debug.c
|
173
|
-
- vendor/PDCurses/pdcurses/delch.c
|
174
|
-
- vendor/PDCurses/pdcurses/deleteln.c
|
175
|
-
- vendor/PDCurses/pdcurses/deprec.c
|
176
|
-
- vendor/PDCurses/pdcurses/getch.c
|
177
|
-
- vendor/PDCurses/pdcurses/getstr.c
|
178
|
-
- vendor/PDCurses/pdcurses/getyx.c
|
179
|
-
- vendor/PDCurses/pdcurses/inch.c
|
180
|
-
- vendor/PDCurses/pdcurses/inchstr.c
|
181
|
-
- vendor/PDCurses/pdcurses/initscr.c
|
182
|
-
- vendor/PDCurses/pdcurses/inopts.c
|
183
|
-
- vendor/PDCurses/pdcurses/insch.c
|
184
|
-
- vendor/PDCurses/pdcurses/insstr.c
|
185
|
-
- vendor/PDCurses/pdcurses/instr.c
|
186
|
-
- vendor/PDCurses/pdcurses/kernel.c
|
187
|
-
- vendor/PDCurses/pdcurses/keyname.c
|
188
|
-
- vendor/PDCurses/pdcurses/mouse.c
|
189
|
-
- vendor/PDCurses/pdcurses/move.c
|
190
|
-
- vendor/PDCurses/pdcurses/outopts.c
|
191
|
-
- vendor/PDCurses/pdcurses/overlay.c
|
192
|
-
- vendor/PDCurses/pdcurses/pad.c
|
193
|
-
- vendor/PDCurses/pdcurses/panel.c
|
194
|
-
- vendor/PDCurses/pdcurses/printw.c
|
195
|
-
- vendor/PDCurses/pdcurses/refresh.c
|
196
|
-
- vendor/PDCurses/pdcurses/scanw.c
|
197
|
-
- vendor/PDCurses/pdcurses/scr_dump.c
|
198
|
-
- vendor/PDCurses/pdcurses/scroll.c
|
199
|
-
- vendor/PDCurses/pdcurses/slk.c
|
200
|
-
- vendor/PDCurses/pdcurses/termattr.c
|
201
|
-
- vendor/PDCurses/pdcurses/terminfo.c
|
202
|
-
- vendor/PDCurses/pdcurses/touch.c
|
203
|
-
- vendor/PDCurses/pdcurses/util.c
|
204
|
-
- vendor/PDCurses/pdcurses/window.c
|
205
|
-
- vendor/PDCurses/sdl1/Makefile
|
206
|
-
- vendor/PDCurses/sdl1/Makefile.mng
|
207
|
-
- vendor/PDCurses/sdl1/README.md
|
208
|
-
- vendor/PDCurses/sdl1/deffont.h
|
209
|
-
- vendor/PDCurses/sdl1/deficon.h
|
210
|
-
- vendor/PDCurses/sdl1/pdcclip.c
|
211
|
-
- vendor/PDCurses/sdl1/pdcdisp.c
|
212
|
-
- vendor/PDCurses/sdl1/pdcgetsc.c
|
213
|
-
- vendor/PDCurses/sdl1/pdckbd.c
|
214
|
-
- vendor/PDCurses/sdl1/pdcscrn.c
|
215
|
-
- vendor/PDCurses/sdl1/pdcsdl.h
|
216
|
-
- vendor/PDCurses/sdl1/pdcsetsc.c
|
217
|
-
- vendor/PDCurses/sdl1/pdcutil.c
|
218
|
-
- vendor/PDCurses/sdl1/sdltest.c
|
219
|
-
- vendor/PDCurses/sdl2/CMakeLists.txt
|
220
|
-
- vendor/PDCurses/sdl2/Makefile
|
221
|
-
- vendor/PDCurses/sdl2/Makefile.vc
|
222
|
-
- vendor/PDCurses/sdl2/README.md
|
223
|
-
- vendor/PDCurses/sdl2/deffont.h
|
224
|
-
- vendor/PDCurses/sdl2/deficon.h
|
225
|
-
- vendor/PDCurses/sdl2/pdcclip.c
|
226
|
-
- vendor/PDCurses/sdl2/pdcdisp.c
|
227
|
-
- vendor/PDCurses/sdl2/pdcgetsc.c
|
228
|
-
- vendor/PDCurses/sdl2/pdckbd.c
|
229
|
-
- vendor/PDCurses/sdl2/pdcscrn.c
|
230
|
-
- vendor/PDCurses/sdl2/pdcsdl.h
|
231
|
-
- vendor/PDCurses/sdl2/pdcsetsc.c
|
232
|
-
- vendor/PDCurses/sdl2/pdcutil.c
|
233
|
-
- vendor/PDCurses/sdl2/sdltest.c
|
234
|
-
- vendor/PDCurses/term.h
|
235
|
-
- vendor/PDCurses/version.mif
|
236
|
-
- vendor/PDCurses/vt/CMakeLists.txt
|
237
|
-
- vendor/PDCurses/vt/Makefile
|
238
|
-
- vendor/PDCurses/vt/Makefile.bcc
|
239
|
-
- vendor/PDCurses/vt/Makefile.dmc
|
240
|
-
- vendor/PDCurses/vt/Makefile.vc
|
241
|
-
- vendor/PDCurses/vt/Makefile.wcc
|
242
|
-
- vendor/PDCurses/vt/README.md
|
243
|
-
- vendor/PDCurses/vt/pdcclip.c
|
244
|
-
- vendor/PDCurses/vt/pdcdisp.c
|
245
|
-
- vendor/PDCurses/vt/pdcgetsc.c
|
246
|
-
- vendor/PDCurses/vt/pdckbd.c
|
247
|
-
- vendor/PDCurses/vt/pdcscrn.c
|
248
|
-
- vendor/PDCurses/vt/pdcsetsc.c
|
249
|
-
- vendor/PDCurses/vt/pdcutil.c
|
250
|
-
- vendor/PDCurses/vt/pdcvt.h
|
251
|
-
- vendor/PDCurses/watcom.mif
|
252
|
-
- vendor/PDCurses/wincon/CMakeLists.txt
|
253
|
-
- vendor/PDCurses/wincon/Makefile.bcc
|
254
|
-
- vendor/PDCurses/wincon/Makefile.dmc
|
255
|
-
- vendor/PDCurses/wincon/Makefile.lcc
|
256
|
-
- vendor/PDCurses/wincon/Makefile.mng
|
257
|
-
- vendor/PDCurses/wincon/Makefile.vc
|
258
|
-
- vendor/PDCurses/wincon/Makefile.wcc
|
259
|
-
- vendor/PDCurses/wincon/README.md
|
260
|
-
- vendor/PDCurses/wincon/pdcclip.c
|
261
|
-
- vendor/PDCurses/wincon/pdcdisp.c
|
262
|
-
- vendor/PDCurses/wincon/pdcgetsc.c
|
263
|
-
- vendor/PDCurses/wincon/pdckbd.c
|
264
|
-
- vendor/PDCurses/wincon/pdcscrn.c
|
265
|
-
- vendor/PDCurses/wincon/pdcsetsc.c
|
266
|
-
- vendor/PDCurses/wincon/pdcurses.ico
|
267
|
-
- vendor/PDCurses/wincon/pdcurses.rc
|
268
|
-
- vendor/PDCurses/wincon/pdcutil.c
|
269
|
-
- vendor/PDCurses/wincon/pdcwin.h
|
270
|
-
- vendor/PDCurses/wingui/CMakeLists.txt
|
271
|
-
- vendor/PDCurses/wingui/Makefile.bcc
|
272
|
-
- vendor/PDCurses/wingui/Makefile.dmc
|
273
|
-
- vendor/PDCurses/wingui/Makefile.lcc
|
274
|
-
- vendor/PDCurses/wingui/Makefile.mng
|
275
|
-
- vendor/PDCurses/wingui/Makefile.vc
|
276
|
-
- vendor/PDCurses/wingui/Makefile.wcc
|
277
|
-
- vendor/PDCurses/wingui/README.md
|
278
|
-
- vendor/PDCurses/wingui/pdcclip.c
|
279
|
-
- vendor/PDCurses/wingui/pdcdisp.c
|
280
|
-
- vendor/PDCurses/wingui/pdcgetsc.c
|
281
|
-
- vendor/PDCurses/wingui/pdckbd.c
|
282
|
-
- vendor/PDCurses/wingui/pdcscrn.c
|
283
|
-
- vendor/PDCurses/wingui/pdcsetsc.c
|
284
|
-
- vendor/PDCurses/wingui/pdcurses.ico
|
285
|
-
- vendor/PDCurses/wingui/pdcurses.rc
|
286
|
-
- vendor/PDCurses/wingui/pdcutil.c
|
287
|
-
- vendor/PDCurses/wingui/pdcwin.h
|
288
|
-
- vendor/PDCurses/x11/Makefile.in
|
289
|
-
- vendor/PDCurses/x11/PDCurses.spec
|
290
|
-
- vendor/PDCurses/x11/README.md
|
291
|
-
- vendor/PDCurses/x11/ScrollBox.c
|
292
|
-
- vendor/PDCurses/x11/ScrollBox.h
|
293
|
-
- vendor/PDCurses/x11/ScrollBoxP.h
|
294
|
-
- vendor/PDCurses/x11/aclocal.m4
|
295
|
-
- vendor/PDCurses/x11/big_icon.xbm
|
296
|
-
- vendor/PDCurses/x11/compose.h
|
297
|
-
- vendor/PDCurses/x11/config.guess
|
298
|
-
- vendor/PDCurses/x11/config.h.in
|
299
|
-
- vendor/PDCurses/x11/config.sub
|
300
|
-
- vendor/PDCurses/x11/configure
|
301
|
-
- vendor/PDCurses/x11/configure.ac
|
302
|
-
- vendor/PDCurses/x11/debian/changelog
|
303
|
-
- vendor/PDCurses/x11/debian/compat
|
304
|
-
- vendor/PDCurses/x11/debian/control
|
305
|
-
- vendor/PDCurses/x11/debian/copyright
|
306
|
-
- vendor/PDCurses/x11/debian/rules
|
307
|
-
- vendor/PDCurses/x11/install-sh
|
308
|
-
- vendor/PDCurses/x11/little_icon.xbm
|
309
|
-
- vendor/PDCurses/x11/ncurses_cfg.h
|
310
|
-
- vendor/PDCurses/x11/pdcclip.c
|
311
|
-
- vendor/PDCurses/x11/pdcdisp.c
|
312
|
-
- vendor/PDCurses/x11/pdcgetsc.c
|
313
|
-
- vendor/PDCurses/x11/pdckbd.c
|
314
|
-
- vendor/PDCurses/x11/pdcscrn.c
|
315
|
-
- vendor/PDCurses/x11/pdcsetsc.c
|
316
|
-
- vendor/PDCurses/x11/pdcutil.c
|
317
|
-
- vendor/PDCurses/x11/pdcx11.c
|
318
|
-
- vendor/PDCurses/x11/pdcx11.h
|
319
|
-
- vendor/PDCurses/x11/sb.c
|
320
|
-
- vendor/PDCurses/x11/x11.c
|
321
|
-
- vendor/PDCurses/x11/xcurses-config.in
|
322
80
|
homepage: https://github.com/ruby/curses
|
323
81
|
licenses:
|
324
82
|
- Ruby
|
325
83
|
- BSD-2-Clause
|
326
84
|
metadata: {}
|
327
|
-
post_install_message:
|
85
|
+
post_install_message:
|
328
86
|
rdoc_options: []
|
329
87
|
require_paths:
|
330
88
|
- lib
|
@@ -339,8 +97,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
339
97
|
- !ruby/object:Gem::Version
|
340
98
|
version: '0'
|
341
99
|
requirements: []
|
342
|
-
rubygems_version: 3.
|
343
|
-
signing_key:
|
100
|
+
rubygems_version: 3.5.9
|
101
|
+
signing_key:
|
344
102
|
specification_version: 4
|
345
103
|
summary: A Ruby binding for curses, ncurses, and PDCurses. curses is an extension
|
346
104
|
library for text UI applications. Formerly part of the Ruby standard library, [curses
|
data/vendor/PDCurses/.gitignore
DELETED
@@ -1,47 +0,0 @@
|
|
1
|
-
*.[oa]
|
2
|
-
*.exe
|
3
|
-
firework
|
4
|
-
manext
|
5
|
-
libXCurses.so
|
6
|
-
ozdemo
|
7
|
-
newtest
|
8
|
-
ptest
|
9
|
-
rain
|
10
|
-
sdltest
|
11
|
-
testcurs
|
12
|
-
tuidemo
|
13
|
-
worm
|
14
|
-
xmas
|
15
|
-
*.sho
|
16
|
-
Makefile
|
17
|
-
config.h
|
18
|
-
config.log
|
19
|
-
config.status
|
20
|
-
PDCurses.md
|
21
|
-
xcurses-config
|
22
|
-
*.dll
|
23
|
-
wingui.gif
|
24
|
-
wingui.htm
|
25
|
-
*.bat
|
26
|
-
clock.c
|
27
|
-
clock1.c
|
28
|
-
fullscrn.c
|
29
|
-
hello
|
30
|
-
hello.c
|
31
|
-
wingui/wcr*
|
32
|
-
wingui/wct*
|
33
|
-
wingui/wc_*
|
34
|
-
wingui/wcw*
|
35
|
-
wingui/z*
|
36
|
-
wingui/scr2html.c
|
37
|
-
wingui/newtest*
|
38
|
-
wingui/*.sav
|
39
|
-
wingui/*.def
|
40
|
-
wincon/*.def
|
41
|
-
*.obj
|
42
|
-
*.bak
|
43
|
-
*.map
|
44
|
-
*.lib
|
45
|
-
m
|
46
|
-
.vscode
|
47
|
-
build
|
data/vendor/PDCurses/.travis.yml
DELETED
@@ -1,49 +0,0 @@
|
|
1
|
-
language: c
|
2
|
-
|
3
|
-
os:
|
4
|
-
- linux
|
5
|
-
- osx
|
6
|
-
|
7
|
-
compiler:
|
8
|
-
- gcc
|
9
|
-
- clang
|
10
|
-
|
11
|
-
env:
|
12
|
-
- BUILD_TYPE=Debug CMAKE_ARGS="-DPDC_WIDE=OFF -DPDC_UTF8=OFF -DPDCDEBUG=ON"
|
13
|
-
- BUILD_TYPE=Debug CMAKE_ARGS="-DPDC_WIDE=OFF -DPDC_UTF8=ON -DPDCDEBUG=ON"
|
14
|
-
- BUILD_TYPE=Debug CMAKE_ARGS="-DPDC_WIDE=ON -DPDC_UTF8=OFF -DPDCDEBUG=ON"
|
15
|
-
|
16
|
-
- BUILD_TYPE=Release CMAKE_ARGS="-DPDC_WIDE=OFF -DPDC_UTF8=OFF"
|
17
|
-
- BUILD_TYPE=Release CMAKE_ARGS="-DPDC_WIDE=OFF -DPDC_UTF8=ON"
|
18
|
-
- BUILD_TYPE=Release CMAKE_ARGS="-DPDC_WIDE=ON -DPDC_UTF8=OFF"
|
19
|
-
|
20
|
-
- BUILD_TYPE=MinSizeRel CMAKE_ARGS="-DPDC_WIDE=OFF -DPDC_UTF8=OFF"
|
21
|
-
- BUILD_TYPE=MinSizeRel CMAKE_ARGS="-DPDC_WIDE=OFF -DPDC_UTF8=ON"
|
22
|
-
- BUILD_TYPE=MinSizeRel CMAKE_ARGS="-DPDC_WIDE=ON -DPDC_UTF8=OFF"
|
23
|
-
|
24
|
-
addons:
|
25
|
-
apt:
|
26
|
-
packages:
|
27
|
-
- libncurses5-dev
|
28
|
-
- libncursesw5-dev
|
29
|
-
- libxaw7-dev
|
30
|
-
|
31
|
-
install:
|
32
|
-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"; fi
|
33
|
-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mkdir ${DEPS_DIR} && cd ${DEPS_DIR} && pwd; fi
|
34
|
-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then travis_retry wget --no-check-certificate https://cmake.org/files/v3.11/cmake-3.11.0-Linux-x86_64.tar.gz; fi
|
35
|
-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then echo "96d67e21f0983ebf0fffc5b106ec338c *cmake-3.11.0-Linux-x86_64.tar.gz" > cmake_md5.txt; fi
|
36
|
-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then md5sum -c cmake_md5.txt; fi
|
37
|
-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then tar -xvf cmake-3.11.0-Linux-x86_64.tar.gz > /dev/null; fi
|
38
|
-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mv cmake-3.11.0-Linux-x86_64 cmake-install; fi
|
39
|
-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then PATH=${DEPS_DIR}/cmake-install:${DEPS_DIR}/cmake-install/bin:$PATH; fi
|
40
|
-
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install ncurses; fi
|
41
|
-
|
42
|
-
before_script:
|
43
|
-
- cd ${TRAVIS_BUILD_DIR}
|
44
|
-
- mkdir build && cd build
|
45
|
-
- cmake -DCMAKE_VERBOSE_MAKEFILE=FALSE -DCMAKE_BUILD_TYPE=${BUILD_TYPE}
|
46
|
-
-DCMAKE_INSTALL_PREFIX=${TRAVIS_BUILD_DIR}/build/dist ${CMAKE_ARGS}
|
47
|
-
..
|
48
|
-
script:
|
49
|
-
- cmake --build . --config ${BUILD_TYPE} --target install
|