Commit Graph

198 Commits

Author SHA1 Message Date
ruki
b96a16c16f Merge pull request #37 from tqfx/patch-1
Fix the module filename on mingw
2024-06-08 22:22:01 +08:00
tqfx
e473127981 Fix the module filename on mingw
```sh
$ xmake run test dialog
lua: ./src/ltui/curses.lua:22: module 'ltui.lcurses' not found:
        no field package.preload['ltui.lcurses']
        no file 'C:\msys64\mingw64\bin\..\share\lua\5.4\ltui\lcurses.lua'
        no file 'C:\msys64\mingw64\bin\..\share\lua\5.4\ltui\lcurses\init.lua'
        no file 'C:\msys64\mingw64\bin\..\lib\lua\5.4\ltui\lcurses.lua'
        no file 'C:\msys64\mingw64\bin\..\lib\lua\5.4\ltui\lcurses\init.lua'
        no file '.\ltui\lcurses.lua'
        no file '.\ltui\lcurses\init.lua'
        no file './src/ltui\lcurses.lua'
        no file 'C:\msys64\mingw64\bin\..\lib\lua\5.4\ltui\lcurses.dll'
        no file 'C:\msys64\mingw64\bin\..\lib\lua\5.4\loadall.dll'
        no file '.\ltui\lcurses.dll'
        no file './build/ltui.dll'
        no file './build/libltui.so'
        no file './build/libltui.dylib'
        no file 'C:\msys64\mingw64\bin\..\lib\lua\5.4\ltui.dll'
        no file 'C:\msys64\mingw64\bin\..\lib\lua\5.4\loadall.dll'
        no file '.\ltui.dll'
        no file './build/ltui.dll'
        no file './build/libltui.so'
        no file './build/libltui.dylib'
stack traceback:
        [C]: in function 'require'
        ./src/ltui/curses.lua:22: in main chunk
        [C]: in function 'require'
        ./src/ltui/application.lua:26: in main chunk
        [C]: in function 'require'
        ./src/ltui.lua:26: in main chunk
        [C]: in function 'require'
        tests\dialog.lua:27: in main chunk
        [C]: in ?
error: execv(lua tests\dialog.lua) failed(1)
```
2024-06-08 18:07:36 +08:00
ruki
85038c288e Merge pull request #36 from Simon-L/master
Update ltui-2.8-1.rockspec
2024-05-28 09:41:38 +08:00
FergusL
c458663304 Update ltui-2.8-1.rockspec 2024-05-28 02:58:20 +02:00
ruki
184fb85b37 update list 2024-04-09 22:38:09 +08:00
ruki
285053d4f7 fix link 2023-02-09 13:32:38 +08:00
ruki
46fed017e3 update readme 2023-02-09 13:29:48 +08:00
ruki
b5666c35f0 fix rockspec 2022-11-30 23:23:25 +08:00
ruki
f2fc4b6e4e rename rockspec 2022-11-30 23:22:18 +08:00
ruki
8c1107932d rewrite curses 2022-11-30 23:22:11 +08:00
ruki
941e57a9fd improve base/ui 2022-11-30 00:04:41 +08:00
ruki
37a1928d99 update version 2022-09-23 00:40:10 +08:00
ruki
207da34006 fix save 2022-09-09 00:45:20 +08:00
ruki
42c59f0ffc fix save 2022-09-09 00:43:52 +08:00
ruki
ca0db88e3f add exit tip for mconfdialog 2022-09-09 00:42:50 +08:00
ruki
501e695576 improve mconfdialog 2022-09-08 10:26:18 +08:00
ruki
8372fbec3c Update program.lua 2021-12-05 16:25:57 +08:00
ruki
7f4c611b60 Update lcurses.c 2021-12-05 16:24:38 +08:00
ruki
c97f413f4c Merge pull request #29 from laelnasan/enhanced-unicode-width
enhance unicode width detection, adds test 4 utf8
2020-12-07 09:29:32 +08:00
laelnasan
7b82990bb1 back to using sum 2020-12-06 22:28:02 -03:00
laelnasan
200da90e57 using bit.bxor instead of bit.bor 2020-12-06 21:21:11 -03:00
laelnasan
a167c108dd add bit.bxor() operation 2020-12-06 21:18:30 -03:00
laelnasan
c4884f6a14 add bor() operation 2020-12-06 21:13:21 -03:00
laelnasan
67f055795a use bit.bor() instead of sum, need change bit.lua 2020-12-06 21:11:59 -03:00
laelnasan
412951b676 typo correction 2020-12-06 21:04:28 -03:00
laelnasan
e1d27466d0 Merge pull request #1 from laelnasan/rockspec-add-bit
added wcwidth, wcswidth to string, rockspec += bit
2020-12-06 21:01:31 -03:00
laelnasan
e69401cbe5 added wcwidth, wcswidth to string, rockspec += bit 2020-12-06 20:57:30 -03:00
laelnasan
ba4f587a1e enhance unicode width detection, adds test 4 utf8
Changes to be committed:
	modified:   src/ltui/label.lua
	new file:   tests/utf8dialog.lua
2020-12-06 15:02:41 -03:00
ruki
2845ba423d support luajit for bits 2020-12-06 22:20:44 +08:00
ruki
cdfbe51a38 Merge pull request #27 from laelnasan/utf8-printing-support
Utf8 printing support
2020-12-06 21:44:50 +08:00
laelnasan
20ca3e6ca2 restrict input to only valid utf8 bytes 2020-12-05 15:53:51 -03:00
laelnasan
7e0e3809d7 input control order change
Changes to be committed:
	modified:   src/ltui/textedit.lua
2020-12-05 15:00:42 -03:00
laelnasan
9e6516e257 textedit correction
Changes to be committed:
	modified:   src/ltui/textedit.lua
2020-12-05 12:25:52 -03:00
laelnasan
96f1aa0cdf code enhancement
Changes to be committed:
	modified:   src/ltui/label.lua
	modified:   src/ltui/textedit.lua
2020-12-05 11:58:19 -03:00
laelnasan
17045d8631 Supports utf8 printing and input
Changes to be committed:
	modified:   src/ltui/label.lua
	modified:   src/ltui/textedit.lua
2020-12-05 11:43:54 -03:00
ruki
a021386123 update rockspec 2020-12-03 23:01:35 +08:00
ruki
e4638e76a3 Merge pull request #25 from laelnasan/fix-scrollbar-not-found
Fix scrollbar not found error
2020-12-03 07:24:01 +08:00
laelnasan
97a5208d52 Fix scrollbar not found error
Changes to be committed:
	modified:   rockspec/ltui-2.4-1.rockspec
	modified:   src/ltui.lua
2020-12-02 16:11:52 -03:00
ruki
4a7c2f12d6 update luarocks 2020-12-01 00:36:00 +08:00
ruki
c41c47f819 update luarocks 2020-12-01 00:35:23 +08:00
ruki
116b49b159 add page down and up event 2020-12-01 00:33:58 +08:00
ruki
7d7fdcad47 fix back after scrolling 2020-12-01 00:30:24 +08:00
ruki
b491ba18a7 update rockspec 2020-11-30 22:34:03 +08:00
ruki
c54e00aafd Merge pull request #23 from tboox/scrollbar
add scrollbar
2020-11-29 22:18:47 +08:00
ruki
b014d789ff fix scroll bug 2020-11-29 22:14:41 +08:00
ruki
75b1d2e4c7 support scrollbar for menuconf 2020-11-29 21:23:37 +08:00
ruki
41a054c176 remove some comments 2020-11-29 19:29:17 +08:00
ruki
f2ba2206eb improve mconfigdialog test 2020-11-29 19:20:20 +08:00
ruki
66c7312db4 support scrollbar for choicedialog 2020-11-29 19:10:28 +08:00
ruki
3325a7394a improve mconfdialog tests 2020-11-28 22:35:39 +08:00