Commit Graph

180 Commits

Author SHA1 Message Date
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
ruki
cd2a4c4bd6 improve textdialog 2020-11-28 22:02:56 +08:00
ruki
50434c9365 fix codestyle 2020-11-28 21:40:41 +08:00
ruki
49526b95cb improve scrollbar 2020-11-28 21:32:23 +08:00
ruki
42b9a690af resize textdialog for scrollbar 2020-11-28 20:52:40 +08:00
ruki
0903f700ca improve textdialog 2020-11-28 20:41:03 +08:00
ruki
1f9076fbd7 add scrollbar 2020-11-28 00:42:19 +08:00
ruki
11ee985740 Merge pull request #22 from laelnasan/mouse-bugfix
mouseable textedit and block mouse on dialogs
2020-11-26 10:32:19 +08:00
laelnasan
62bead3764 mouseable textedit and block mouse on dialogs
Changes to be committed:
	modified:   src/ltui/dialog.lua
	modified:   src/ltui/panel.lua
	modified:   src/ltui/textedit.lua

makes textedit selectable by mouse and grabs mouse events on dialogs
this prevents user selecting views in the background of the focused
dialog, causing errors.
2020-11-25 09:08:37 -03:00
ruki
bbcfc4b1bd improve program 2020-11-21 00:47:10 +08:00
ruki
ef250e66d0 Merge pull request #20 from tboox/mouse
add mouse support and fix code style
2020-11-20 22:31:43 +08:00
ruki
41d7af5940 improve panel 2020-11-21 00:38:24 +08:00
ruki
dac24fad54 improve panel/on_clicked 2020-11-21 00:37:16 +08:00
ruki
14fb32a16c remove boxdialog/mouseable 2020-11-21 00:36:03 +08:00
ruki
ec90d4a2a7 improve button/on_click 2020-11-21 00:35:47 +08:00
ruki
00b35c523c disable mouse for view by default 2020-11-21 00:33:23 +08:00
ruki
078b76500c fix codestyle for mouse 2020-11-20 22:48:28 +08:00
ruki
745345183b fix string.startswith 2020-11-20 09:38:24 +08:00
laelnasan
be0060b465 mouseable views - correction 2 2020-11-19 14:17:31 -03:00