Christopher Jeffrey
|
7a8a0d2591
|
setMouse improvements. do not allow fg changes on selected items. do not bubble render events.
|
2013-08-02 05:59:54 -05:00 |
Christopher Jeffrey
|
52a9f5d182
|
fix scroll rendering for children with padding.
|
2013-08-01 20:00:24 -05:00 |
Christopher Jeffrey
|
c4a7f05025
|
obscure overlapping sides in scrolling elements.
|
2013-08-01 04:19:58 -05:00 |
Christopher Jeffrey
|
598be3bb88
|
refactor constructors.
|
2013-08-01 03:28:10 -05:00 |
Christopher Jeffrey
|
d3c34f6f89
|
optimize clickable sort. better autofocus. flush on exception.
|
2013-08-01 02:52:03 -05:00 |
Christopher Jeffrey
|
b2666ffecb
|
add event bubbling.
|
2013-08-01 01:02:16 -05:00 |
Christopher Jeffrey
|
0e047b8e51
|
minor fixes.
|
2013-07-31 19:21:10 -05:00 |
Christopher Jeffrey
|
f3df07a237
|
buffer everything. cancel acs at the end of draw() if necessary.
|
2013-07-31 17:43:03 -05:00 |
Christopher Jeffrey
|
51771dc19a
|
add log method to program object.
|
2013-07-31 00:43:24 -05:00 |
Christopher Jeffrey
|
2e58aed1ea
|
refactor position and new padding code.
|
2013-07-30 23:57:48 -05:00 |
Christopher Jeffrey
|
78a3726f2f
|
add auto-positioning which respects padding and borders.
|
2013-07-30 23:46:07 -05:00 |
Christopher Jeffrey
|
ac88ceaebe
|
remove radio-button handling from checkbox.
|
2013-07-29 19:27:15 -05:00 |
Christopher Jeffrey
|
81267dbd2a
|
move el._focus to screen._focus.
|
2013-07-29 17:40:48 -05:00 |
Christopher Jeffrey
|
af27e80447
|
fix readme typo.
|
2013-07-29 17:35:48 -05:00 |
Christopher Jeffrey
|
82322ac017
|
allow border option to be a string.
|
2013-07-29 17:22:21 -05:00 |
Christopher Jeffrey
|
1a4c0cd761
|
fix mwidth for elements with no content.
|
2013-07-29 16:49:44 -05:00 |
Christopher Jeffrey
|
36415f76b6
|
fix textbox/textarea.
|
2013-07-29 16:38:19 -05:00 |
Christopher Jeffrey
|
d2226c3295
|
improve focus. fix getCoords. readme.
|
2013-07-29 15:49:09 -05:00 |
Christopher Jeffrey
|
a3e2983b4b
|
fix form errors.
|
2013-07-29 10:40:59 -05:00 |
Christopher Jeffrey
|
6a03ad42ff
|
textbox. progressbar. misc. readme.
|
2013-07-29 09:14:03 -05:00 |
Christopher Jeffrey
|
2dfedf5e47
|
enable textbox input-on-focus.
|
2013-07-29 04:23:52 -05:00 |
Christopher Jeffrey
|
9b77e3df63
|
fix setEffects and failed fg/bg 256 color sequences.
|
2013-07-29 04:22:20 -05:00 |
Christopher Jeffrey
|
9a1411338c
|
fix small error.
|
2013-07-28 14:49:01 -05:00 |
Christopher Jeffrey
|
3bcbd9b39f
|
enable new parseTags method. clean up old code.
|
2013-07-28 14:18:28 -05:00 |
Christopher Jeffrey
|
084f28fcff
|
content attribute and tag handling.
- handle content attributes with better respect to element's style.
- add a more sophisticated tag parser.
|
2013-07-28 13:20:52 -05:00 |
Christopher Jeffrey
|
927c40d2f3
|
fix mwidth. minor.
|
2013-07-28 10:51:43 -05:00 |
Christopher Jeffrey
|
f8fbb2a0c8
|
remove dwidth characters for now.
|
2013-07-28 10:19:04 -05:00 |
Christopher Jeffrey
|
f236898f73
|
optimize shrink width.
|
2013-07-28 10:02:04 -05:00 |
Christopher Jeffrey
|
9cc1f53d9a
|
refactor wrapContent.
|
2013-07-28 09:43:28 -05:00 |
Christopher Jeffrey
|
88da43bfaf
|
fix empty lines in wrapContent.
|
2013-07-28 09:24:08 -05:00 |
Christopher Jeffrey
|
a82ad19110
|
fixed only affects one level of scrollable ancestors.
|
2013-07-28 03:01:09 -05:00 |
Christopher Jeffrey
|
38473b6bfa
|
comments. enable csr for elements with scrollbars.
|
2013-07-27 08:13:29 -05:00 |
Christopher Jeffrey
|
d9ca7112bc
|
scrollbar track.
|
2013-07-27 07:34:32 -05:00 |
Christopher Jeffrey
|
80ae319225
|
back_color_erase comments.
|
2013-07-27 06:53:09 -05:00 |
Christopher Jeffrey
|
8f989eeadd
|
fix scrollbar arithmetic.
|
2013-07-27 06:52:45 -05:00 |
Christopher Jeffrey
|
69f5993735
|
make new scrollable code compatible with get=false. add fixed option.
|
2013-07-27 05:37:53 -05:00 |
Christopher Jeffrey
|
2dc3146d1f
|
cleanup scroll.
|
2013-07-27 05:19:32 -05:00 |
Christopher Jeffrey
|
ee71a1ac61
|
more scroll work.
|
2013-07-27 05:14:02 -05:00 |
Christopher Jeffrey
|
efbae0c203
|
cleanup scroll code.
|
2013-07-26 01:45:39 -05:00 |
Christopher Jeffrey
|
8ea1fe4dab
|
working nested scrolling.
|
2013-07-26 01:38:25 -05:00 |
Christopher Jeffrey
|
ea857ea550
|
fix nested scrollable elements.
|
2013-07-25 18:09:00 -05:00 |
Christopher Jeffrey
|
19dd8a47d0
|
fix scrolling obfuscation for elements with borders.
|
2013-07-25 01:20:47 -05:00 |
Christopher Jeffrey
|
25133923e3
|
allow text to be obfuscated within child elements during a scroll.
|
2013-07-24 22:47:03 -05:00 |
Christopher Jeffrey
|
11d7a98303
|
make textbox inherit from textarea.
|
2013-07-24 20:41:11 -05:00 |
Christopher Jeffrey
|
633b76cec5
|
more textbox/textarea refactoring.
|
2013-07-24 18:20:30 -05:00 |
Christopher Jeffrey
|
c1f17e866c
|
refactor textbox and textarea render/setValue.
|
2013-07-24 18:05:56 -05:00 |
Christopher Jeffrey
|
6fde3e3a38
|
misc fixes for radiobutton, textarea, textbox, checkbox.
|
2013-07-24 17:16:55 -05:00 |
Christopher Jeffrey
|
1c9d25780a
|
add a scrollable option.
|
2013-07-24 15:39:22 -05:00 |
Christopher Jeffrey
|
5e2f1061d1
|
misc - add a blessed.js file.
|
2013-07-24 14:41:02 -05:00 |
Christopher Jeffrey
|
1b5155cfae
|
refactor and clean up program.js.
|
2013-07-24 14:17:52 -05:00 |
Christopher Jeffrey
|
2f7967031e
|
readme. move Box methods onto Element. add clearBaseLine and getContent.
|
2013-07-23 18:38:55 -05:00 |
Christopher Jeffrey
|
31030113cf
|
buffer everything - this prevents flickering on xterm and may improve terminal rendering speed.
|
2013-07-23 18:04:22 -05:00 |
Christopher Jeffrey
|
b6bee303a9
|
fix scroll obfuscation.
|
2013-07-23 16:57:30 -05:00 |
Christopher Jeffrey
|
9aaabacf68
|
fix initial setContent call. fix spawn() cursor handling.
|
2013-07-23 16:37:54 -05:00 |
Christopher Jeffrey
|
da49a89b28
|
refactor wrapContent. fix/use/improve getCoords(), scroll(), hide().
|
2013-07-23 15:40:53 -05:00 |
Christopher Jeffrey
|
76cc6d37e7
|
make text wrapping optional.
|
2013-07-23 14:43:14 -05:00 |
Christopher Jeffrey
|
f56d7386c6
|
more pre-wrap line handling improvements.
|
2013-07-23 14:37:44 -05:00 |
Christopher Jeffrey
|
36c5351fde
|
allow handling of pre-wrapped text for line methods.
|
2013-07-23 14:16:20 -05:00 |
Christopher Jeffrey
|
6bfb47632e
|
list.items fix. box line methods.
|
2013-07-23 13:31:05 -05:00 |
Christopher Jeffrey
|
b8f1241bca
|
fix scrolling glitch.
|
2013-07-23 10:38:54 -05:00 |
Christopher Jeffrey
|
73939984b4
|
misc scrollable positioning.
|
2013-07-23 09:38:30 -05:00 |
Christopher Jeffrey
|
add8aaa664
|
stop using the options object for positioning.
|
2013-07-23 07:04:52 -05:00 |
Christopher Jeffrey
|
11c6e7269f
|
matchColor and BCE tput check.
|
2013-07-23 06:34:40 -05:00 |
Christopher Jeffrey
|
8c4d70d1e1
|
fix BCE handling.
|
2013-07-23 03:07:57 -05:00 |
Christopher Jeffrey
|
346e39b723
|
cleanup. improve BCE. remove old code.
|
2013-07-21 23:53:10 -05:00 |
Christopher Jeffrey
|
00e680d413
|
work on adding back_color_erase handling, acs optimization, and other stuff ncurses usually handles.
|
2013-07-21 21:05:35 -05:00 |
Christopher Jeffrey
|
de79656b04
|
rewrite scrolling system a bit.
|
2013-07-21 05:36:45 -05:00 |
Christopher Jeffrey
|
62ebd04231
|
move el.focus code elsewhere.
|
2013-07-21 02:12:35 -05:00 |
Christopher Jeffrey
|
a98bef4c90
|
more scrolling improvements. scrolling form.
|
2013-07-21 02:03:06 -05:00 |
Christopher Jeffrey
|
7af4dbaf1c
|
allow for left/top/right/bottom padding.
|
2013-07-19 03:14:36 -05:00 |
Christopher Jeffrey
|
e33838804b
|
scrollable elements.
|
2013-07-19 01:58:55 -05:00 |
Christopher Jeffrey
|
0f4b60314b
|
allow tabbing from textboxes in forms.
|
2013-07-18 22:49:06 -05:00 |
Christopher Jeffrey
|
df317bb472
|
improve position, attribute parsing. misc.
|
2013-07-18 22:27:18 -05:00 |
Christopher Jeffrey
|
b8e0fafaeb
|
misc. options. refactor tests/bin.
|
2013-07-18 18:02:45 -05:00 |
Christopher Jeffrey
|
f03f51267b
|
only emit attach if the element was not previously attached.
|
2013-07-18 15:06:33 -05:00 |
Christopher Jeffrey
|
48c2bae2a0
|
do not violate 80 col limit.
|
2013-07-18 15:01:42 -05:00 |
Christopher Jeffrey
|
4333952081
|
fix recursion in Form object.
|
2013-07-18 14:33:00 -05:00 |
Christopher Jeffrey
|
6141b383f1
|
add a getCoords() method.
|
2013-07-18 03:56:12 -05:00 |
Christopher Jeffrey
|
3c42a91fc5
|
add wrapContent to Element prototype.
|
2013-07-18 02:44:31 -05:00 |
Christopher Jeffrey
|
42351724d3
|
move wrapContent.
|
2013-07-18 02:37:18 -05:00 |
Christopher Jeffrey
|
b46d1161c5
|
refactor responses.
|
2013-07-18 01:51:08 -05:00 |
Christopher Jeffrey
|
5c114b8b69
|
fixed shrunken centered nested elements.
|
2013-07-17 12:43:13 -05:00 |
Christopher Jeffrey
|
ab449a12e3
|
scrollbar and list attr fixes.
|
2013-07-17 12:01:54 -05:00 |
Christopher Jeffrey
|
e9f7d933bd
|
replace shrink padding code.
|
2013-07-17 05:44:58 -05:00 |
Christopher Jeffrey
|
8e81ef015b
|
refactor shrink.
|
2013-07-17 05:22:42 -05:00 |
Christopher Jeffrey
|
1ae6a19b35
|
refactor scrollbar. fix shrink comparisons.
|
2013-07-17 04:59:21 -05:00 |
Christopher Jeffrey
|
e13f0ce5d4
|
rename _lastPos to lpos.
|
2013-07-17 04:41:43 -05:00 |
Christopher Jeffrey
|
29cd1a376f
|
more Box.render refactoring. docs. misc.
|
2013-07-17 04:32:13 -05:00 |
Christopher Jeffrey
|
6f8ab54a4f
|
refactor. stop usign xi_, yi_.
|
2013-07-17 03:57:30 -05:00 |
Christopher Jeffrey
|
566b800a04
|
refactor shrink.
|
2013-07-17 03:52:21 -05:00 |
Christopher Jeffrey
|
8776ec2c2d
|
listbar and improve shrinkBox.
|
2013-07-17 03:20:37 -05:00 |
Christopher Jeffrey
|
70953689e2
|
allow style.hover and style.focus. no autofocus on buttons.
|
2013-07-17 01:55:08 -05:00 |
Christopher Jeffrey
|
c805b80209
|
do not set lastPos on render(true). remove old code.
|
2013-07-17 01:34:43 -05:00 |
Christopher Jeffrey
|
7981f8d749
|
add shrinkBox. add forms. add RadioSet. misc refactor.
|
2013-07-17 01:28:42 -05:00 |
Christopher Jeffrey
|
cac1924b14
|
docs. fix line. fix attr objects.
|
2013-07-16 22:28:56 -05:00 |
Christopher Jeffrey
|
1561bdef7d
|
add valign. simpler way of rendering padding bg.
|
2013-07-16 20:19:44 -05:00 |
Christopher Jeffrey
|
c8c0d1f269
|
have padding maintain background color.
|
2013-07-16 20:09:01 -05:00 |
Christopher Jeffrey
|
fbf08e1288
|
fix progress bar colors.
|
2013-07-16 19:23:39 -05:00 |
Christopher Jeffrey
|
8a32e87cd9
|
remove all cens() calls.
|
2013-07-16 19:13:16 -05:00 |
Christopher Jeffrey
|
aa9bd9da6a
|
permanently rename ascii->line for borders.
|
2013-07-16 19:07:46 -05:00 |
Christopher Jeffrey
|
9ed9764b74
|
fix ACS/UTF8. use style object. rename ascii to line.
|
2013-07-16 19:05:44 -05:00 |
Christopher Jeffrey
|
7e238a470e
|
itemBg, style object, el.sattr.
|
2013-07-16 12:33:55 -05:00 |
Christopher Jeffrey
|
db365a2228
|
pass object in to attr functions.
|
2013-07-16 04:23:11 -05:00 |
Christopher Jeffrey
|
0aafeb2530
|
parseContent comment.
|
2013-07-16 03:50:42 -05:00 |
Christopher Jeffrey
|
28bd6ba3e4
|
fix textareas. 1 cell margin on content for textareas.
|
2013-07-16 01:57:07 -05:00 |
Christopher Jeffrey
|
c5d47187cf
|
comments for wrapContent.
|
2013-07-16 01:42:21 -05:00 |
Christopher Jeffrey
|
edc216fa37
|
allow attributes to be functions.
|
2013-07-16 01:06:00 -05:00 |
Christopher Jeffrey
|
b266f389e9
|
fix colors.
|
2013-07-16 00:18:31 -05:00 |
Christopher Jeffrey
|
3332e9d34e
|
hex colors in program. another wrapContent fix.
|
2013-07-15 19:35:36 -05:00 |
Christopher Jeffrey
|
87dc701b46
|
misc. docs.
|
2013-07-15 18:53:04 -05:00 |
Christopher Jeffrey
|
12e7eab68d
|
docs. key() fix. wrapContent() fix. box.{insert,delete}Line fix.
|
2013-07-15 17:50:27 -05:00 |
Christopher Jeffrey
|
bc99d7fc37
|
small refactor.
|
2013-07-15 13:15:41 -05:00 |
Christopher Jeffrey
|
97b442d3ec
|
misc high level widget fixes.
|
2013-07-15 05:00:26 -05:00 |
Christopher Jeffrey
|
211491409b
|
allow multiple lines for box insert/delete lines.
|
2013-07-15 04:40:44 -05:00 |
Christopher Jeffrey
|
51413c346e
|
docs. smartCSR option. minor fixes.
|
2013-07-15 04:31:09 -05:00 |
Christopher Jeffrey
|
158572ae38
|
fix max scroll lines number.
|
2013-07-14 23:37:36 -05:00 |
Christopher Jeffrey
|
4683b1d542
|
remove old prepend/append code.
|
2013-07-14 22:13:18 -05:00 |
Christopher Jeffrey
|
aa951c640f
|
use better cleanside detection algorithm. add insert method.
|
2013-07-14 22:11:48 -05:00 |
Christopher Jeffrey
|
4541fc5c50
|
minor change to alloc.
|
2013-07-14 12:21:14 -05:00 |
Christopher Jeffrey
|
caa21ee356
|
optimize alloc+clear. add a output dump option.
|
2013-07-14 12:08:03 -05:00 |
Christopher Jeffrey
|
c9c01e0805
|
refactor. comments.
|
2013-07-14 11:58:44 -05:00 |
Christopher Jeffrey
|
5ebfb4835f
|
fix and enable cleanSides.
|
2013-07-14 11:39:03 -05:00 |
Christopher Jeffrey
|
fd5bd89d56
|
check scrollable elements for "clean" sides for CSR rendering.
|
2013-07-14 11:26:19 -05:00 |
Christopher Jeffrey
|
95848bafa3
|
automatically optimize scrollable elements for csr and il/dl.
|
2013-07-14 11:07:48 -05:00 |
Christopher Jeffrey
|
6a44fd9a35
|
misc. add sigtstp method.
|
2013-07-14 10:16:19 -05:00 |
Christopher Jeffrey
|
04b0adac56
|
fix padding implementation. tests.
|
2013-07-14 08:57:05 -05:00 |
Christopher Jeffrey
|
0c6695d236
|
colors, line, and mouses fixes.
|
2013-07-14 08:05:42 -05:00 |
Christopher Jeffrey
|
965af859b0
|
make mouse coords zero indexed.
|
2013-07-14 07:35:00 -05:00 |
Christopher Jeffrey
|
155eac8677
|
potential cursor handling during render.
|
2013-07-14 07:02:59 -05:00 |
Christopher Jeffrey
|
d0f99be764
|
lazily convert colors. other misc color fixes.
|
2013-07-14 06:57:15 -05:00 |
Christopher Jeffrey
|
5753d7b6ab
|
better color reduction.
|
2013-07-14 06:43:17 -05:00 |
Christopher Jeffrey
|
363bc44caa
|
fix terminfo if/else. detect features.
|
2013-07-14 06:24:04 -05:00 |
Christopher Jeffrey
|
ccf3794be2
|
unicode detect. docs. device attr. focus/blur. smacs checks.
|
2013-07-13 23:38:43 -05:00 |
Christopher Jeffrey
|
8aa718c280
|
comment.
|
2013-07-13 21:03:03 -05:00 |
Christopher Jeffrey
|
b5be1f318d
|
remove unnecessary characters from SCLD.
|
2013-07-13 20:54:27 -05:00 |
Christopher Jeffrey
|
3c0582c304
|
first implementation of SCLD usage.
|
2013-07-13 20:47:29 -05:00 |
Christopher Jeffrey
|
fe39c786a6
|
higher level widgets.
|
2013-07-13 20:46:25 -05:00 |
Christopher Jeffrey
|
2b15290021
|
resize delay.
|
2013-07-12 21:51:24 -05:00 |
Christopher Jeffrey
|
95c527ff73
|
save cursor position before spawning process. fixes textareas.
|
2013-07-12 11:44:04 -05:00 |
Christopher Jeffrey
|
9fd97f0b03
|
small pick method improvement.
|
2013-07-12 11:30:32 -05:00 |
Christopher Jeffrey
|
932fe2b8f6
|
comment. docs.
|
2013-07-12 10:22:06 -05:00 |
Christopher Jeffrey
|
a801b47e28
|
improve mouse events by sorting by index.
|
2013-07-12 09:14:42 -05:00 |
Christopher Jeffrey
|
7414922a76
|
add filemanager widget. g keys.
|
2013-07-12 08:28:58 -05:00 |
Christopher Jeffrey
|
5dcb8f3200
|
action event. docs.
|
2013-07-12 05:39:22 -05:00 |
Christopher Jeffrey
|
97c582164b
|
keys. no mouse focus events.
|
2013-07-12 05:11:15 -05:00 |
Christopher Jeffrey
|
87a5188de9
|
docs. keys. misc.
|
2013-07-12 04:59:58 -05:00 |
Christopher Jeffrey
|
b92c0b7758
|
drop old insert/delete line methods.
|
2013-07-12 03:54:01 -05:00 |
Christopher Jeffrey
|
933b5442bd
|
insert, set, get, delete, clear lines.
|
2013-07-12 03:52:14 -05:00 |
Christopher Jeffrey
|
42399b17ab
|
setEffects. misc fixes.
|
2013-07-12 03:34:32 -05:00 |
Christopher Jeffrey
|
3ef2048289
|
omove. misc.
|
2013-07-12 01:13:29 -05:00 |