Skip to content

Commit 6c62157

Browse files
Christophe DelordChristophe Delord
authored andcommitted
remove isocline (freeze and memory leaks when a terminal is killed)
1 parent 0c55f6a commit 6c62157

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+11
-12293
lines changed

README.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,6 @@ Some modules are heavily inspired by
371371
- [lar](doc/lar.md): Simple archive format for Lua values
372372
- [linenoise](doc/linenoise.md): A small, portable GNU readline
373373
replacement with UTF-8 support
374-
- [isocline](doc/isocline.md): A portable GNU readline alternative
375374
- [json](doc/json.md): JSON Module for Lua
376375

377376
## Shared libraries
@@ -456,9 +455,6 @@ The script `lib/luax.lua` can be reused in pure Lua programs:
456455
- **[Linenoise](https://github.com/yhirose/linenoise/tree/utf8-support)**:
457456
A minimal, zero-config, BSD licensed, readline replacement ([BSD
458457
license](https://github.com/antirez/linenoise/blob/master/LICENSE))
459-
- **[Isocline](https://github.com/daanx/isoclinet)**: A portable GNU
460-
readline alternative ([MIT
461-
License](https://github.com/daanx/isocline/blob/main/LICENSE))
462458
- **[dkjson.lua](http://dkolf.de/dkjson-lua/)**: JSON Module for Lua
463459
([MIT license](http://www.lua.org/license.html))
464460
- **[CBOR](https://www.zash.se/lua-cbor.html)**: pure Lua implementation

build.lua

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -548,11 +548,6 @@ local cflags = {
548548
"-DLUAI_ASSERT",
549549
"-DLUA_USE_APICHECK",
550550
},
551-
case(mode) {
552-
fast = "-DIC_NO_DEBUG_MSG",
553-
small = "-DIC_NO_DEBUG_MSG",
554-
debug = {},
555-
}
556551
}
557552

558553
local luax_cflags = F{
@@ -821,8 +816,7 @@ local sources = F{
821816
third_party_c_files = F.flatten {
822817
ls "ext/c/**.c"
823818
: filter(function(name) return not name:match "lzlib/lib/inc" end)
824-
: filter(function(name) return not name:match "lzlib/programs" end)
825-
: filter(function(name) return not name:match "isocline/lib" end),
819+
: filter(function(name) return not name:match "lzlib/programs" end),
826820
optional(lz4) { ls "ext/opt/lz4/lib/*.c" },
827821
optional(socket) { ls "ext/opt/luasocket/*.c" },
828822
optional(ssl) { ls "ext/opt/luasec/**.c" },
@@ -952,7 +946,6 @@ rt { luax="libluax/curl/curl.lua", lua="libluax/curl/curl.lua"
952946
rt { luax="libluax/fs/fs.lua", lua={"libluax/fs/fs.lua", "libluax/fs/_fs.lua"} }
953947
rt { lua="libluax/imath/imath.lua" }
954948
rt { luax="libluax/import/import.lua", lua="libluax/import/import.lua" }
955-
rt { luax="libluax/isocline/isocline.lua", lua={"libluax/isocline/isocline.lua", "libluax/isocline/_isocline.lua"} }
956949
rt { lua="libluax/linenoise/linenoise.lua" }
957950
rt { luax="libluax/lar/lar.lua", lua="libluax/lar/lar.lua" }
958951
rt { luax="libluax/lzip/lzip.lua", lua={"libluax/lzip/lzip.lua", "libluax/lzip/_lzip.lua"} }

doc/isocline.md

Lines changed: 0 additions & 213 deletions
This file was deleted.

doc/luax.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,6 @@ Some modules are heavily inspired by
369369
- [lar](lar.md): Simple archive format for Lua values
370370
- [linenoise](linenoise.md): A small, portable GNU readline replacement
371371
with UTF-8 support
372-
- [isocline](isocline.md): A portable GNU readline alternative
373372
- [json](json.md): JSON Module for Lua
374373

375374
## Shared libraries
@@ -454,9 +453,6 @@ The script `lib/luax.lua` can be reused in pure Lua programs:
454453
- **[Linenoise](https://github.com/yhirose/linenoise/tree/utf8-support)**:
455454
A minimal, zero-config, BSD licensed, readline replacement ([BSD
456455
license](https://github.com/antirez/linenoise/blob/master/LICENSE))
457-
- **[Isocline](https://github.com/daanx/isoclinet)**: A portable GNU
458-
readline alternative ([MIT
459-
License](https://github.com/daanx/isocline/blob/main/LICENSE))
460456
- **[dkjson.lua](http://dkolf.de/dkjson-lua/)**: JSON Module for Lua
461457
([MIT license](http://www.lua.org/license.html))
462458
- **[CBOR](https://www.zash.se/lua-cbor.html)**: pure Lua implementation

doc/repl.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,6 @@ The LuaX REPL can be run in various environments:
1313
$ luax
1414
```
1515

16-
The LuaX interpreter uses a subset of
17-
[isocline](https://github.com/daanx/isocline). It provides some
18-
interesting features:
19-
20-
- works on Linux, MacOS and Windows
21-
- extensive multi-line editing mode (shift-tab)
22-
- history
23-
- unicode
24-
- undo/redo
25-
- incremental history search
26-
- brace matching
27-
- closing brace insertion
28-
- filename completion
29-
30-
Some features are not implemented (yet?): completion, hints, syntax
31-
highlighting.
32-
3316
### Shared library usable with a standard Lua interpreter
3417

3518
``` sh

doc/src/isocline.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

doc/src/luax.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ Some modules are heavily inspired by
330330
- [cbor](cbor.md): pure Lua implementation of the CBOR
331331
- [lar](lar.md): Simple archive format for Lua values
332332
- [linenoise](linenoise.md): A small, portable GNU readline replacement with UTF-8 support
333-
- [isocline](isocline.md): A portable GNU readline alternative
334333
- [json](json.md): JSON Module for Lua
335334

336335
## Shared libraries
@@ -416,9 +415,6 @@ script `lib/luax.lua` can be reused in pure Lua programs:
416415
- **[Linenoise](https://github.com/yhirose/linenoise/tree/utf8-support)**: A
417416
minimal, zero-config, BSD licensed, readline replacement ([BSD
418417
license](https://github.com/antirez/linenoise/blob/master/LICENSE))
419-
- **[Isocline](https://github.com/daanx/isoclinet)**: A portable GNU readline
420-
alternative ([MIT
421-
License](https://github.com/daanx/isocline/blob/main/LICENSE))
422418
* **[dkjson.lua](http://dkolf.de/dkjson-lua/)**: JSON Module for Lua
423419
([MIT license](http://www.lua.org/license.html))
424420
* **[CBOR](https://www.zash.se/lua-cbor.html)**: pure Lua implementation of the

ext/c/isocline/LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)