Witold Filipczyk
f7bbd09c07
[view] Commented code which caused segfault
...
When document had no links, "move down" caused segfault.
Bad code was introduced with iframe code.
iframes are not ready yet.
2023-06-23 10:45:41 +02:00
Witold Filipczyk
a67188413c
[lists] LIST_HEAD -> LIST_HEAD_EL to not clash with libevent's LIST_HEAD. Also added curl implementation of ftpes and sftp
...
Implementation of ftpes and sftp is based on curl's hiperfifo example. It requires libevent.
ftpes only encrypts control channel. There were problems when both control and data were encrypted. It stucked on SIZE.
Only successful connections work, errors are not handled properly.
2023-06-19 18:43:53 +02:00
Witold Filipczyk
de285144f0
[iframes] Still not functional
...
There are bugs.
For example:
- frames borders are drawn in wrong place
- iframes are not "relative" to the document, they are drawn in the same position of the screen
even when scrolling.
- some elements of screen disappear when going back
- crashes
2023-06-10 17:57:28 +02:00
Witold Filipczyk
2aa34e0f22
[iframe] do not reset current_link
2023-06-04 17:46:22 +02:00
gabriele balducci
a96d7b3e5f
Allow building with -Dlibsixel=false
2023-05-28 10:52:07 +01:59
Witold Filipczyk
549034322f
[sixel] Allow to scroll sixels horizontally.
...
It does not work. I don't get it.
2023-05-22 20:32:57 +02:00
Witold Filipczyk
3fee0b4f6a
[sixel] Copied big framgents of code form libsixel.
...
Also hardcode 6x13 cell size. Scroll works for me.
2023-05-21 21:17:13 +02:00
Witold Filipczyk
c0a140f4f3
[sixel] Small progress.
...
You can see images. In ~/.mailcap:
image/*; img2sixel %s; copiousoutput
2023-05-19 21:31:51 +02:00
Witold Filipczyk
ee29a8877b
[line] union in place of struct (sixel)
...
Chars are accessible via ch.chars not chars as before.
2023-05-18 11:12:05 +02:00
Witold Filipczyk
8ad10015f2
[ecmascript] Changes related to events (ontest.html)
2023-05-05 13:23:35 +02:00
Witold Filipczyk
cb5916214d
[c] Let be compatible with -std=gnu90
2023-02-12 12:54:22 +01:00
Witold Filipczyk
d2bbe4cf0a
[ecmascript] Compilation fixes
2023-01-20 18:03:02 +01:00
Witold Filipczyk
c18525f481
[dump] goto next_iteration instead of continue.
2022-11-28 09:13:48 +01:00
Witold Filipczyk
023991e5c5
[dump] Check for end of link at the end of loop, not at the begining (off by one). Refs #198
2022-11-28 08:32:02 +01:00
Witold Filipczyk
8e619e4d02
[dump] Small optimisation. Refs #198
2022-11-27 19:51:59 +01:00
Witold Filipczyk
8ac424f01b
[dump] Added document.dump.terminal_hyperlinks option . Refs #198
2022-11-27 19:39:34 +01:00
Witold Filipczyk
5fa0552ab0
[exmode] Introduced 10 macro config options. macro.0 to macro.9 . Refs #196
...
They can be bind to keys. For example
set macro.0 = "set ui.show_title_bar = 0"
set macro.1 = "set ui.show_title_bar = 1"
bind "main" "z" = "macro-0"
bind "main" "Z" = "macro-1"
2022-11-13 17:45:42 +01:00
Witold Filipczyk
b67ac8926a
[mujs] KeyboardEvent
2022-11-11 19:20:24 +01:00
Witold Filipczyk
e3f83ebcc4
[quickjs] element addEventListener and KeybaordEvent
...
TODO: memory leaks
2022-11-11 11:22:37 +01:00
Witold Filipczyk
b45f1480f5
[event] For now only Spidermonkey has implemented (partially) KeyboardEvent
2022-11-10 19:44:48 +01:00
Witold Filipczyk
127b2f403b
[view] try key events only when INSERT_MODE is ON
2022-11-10 17:14:56 +01:00
Witold Filipczyk
c5569ccb27
[ecmascript] Implemented keyboardEvent in spidermonkey code.
...
It does not work well yet.
2022-11-09 19:21:16 +01:00
Witold Filipczyk
56ab960cce
[ecmascript] Added keydown and keyup code for eventListeners.
...
TODO: KeyEvent (keycode etc.)
2022-11-08 19:43:01 +01:00
Witold Filipczyk
d7f4f94a62
[click] Added eventListener. It works for these two test cases.
2022-11-07 20:59:19 +01:00
Witold Filipczyk
3330427738
[ecmascript] onkeyup and onkeydown
2022-11-03 19:30:57 +01:00
Witold Filipczyk
c2bdd5a723
[color] Restore painting of trailing spaces
2022-10-17 10:04:46 +02:00
Witold Filipczyk
7135d6db08
[color] Draw background
2022-10-16 15:53:56 +02:00
Witold Filipczyk
c086cbe26e
[color] Removed code related to draw_text_node
...
This idea failed. Code was slow.
2022-10-16 15:18:34 +02:00
Witold Filipczyk
dc3b0f0393
[view] Do not check for isprint in link title.
...
It displayed '*' for valid characters under DOS.
2022-09-01 19:36:56 +02:00
Witold Filipczyk
46860128db
[mujs] Added mujs to configure.ac and Makefiles
2022-08-21 21:33:13 +02:00
Witold Filipczyk
63027feabc
[mujs] small success window.alert('Thu');
2022-08-04 20:01:26 +02:00
Witold Filipczyk
172c32a64c
[cpp] All files suspected for any C++ relation renamed to cpp
...
Now (in meson) .c files are compiled by C compiler and .cpp by C++ compiler.
2022-07-31 16:44:11 +02:00
Witold Filipczyk
7ea04c7f0f
[isspace] Some implementations of isspace require unsigned char
2022-06-28 20:25:06 +02:00
Witold Filipczyk
4790ae9981
[smjs] Compilation fixes when -Dsm-scripting=true and -Dspidermonkey=false. Refs #176
2022-06-16 17:33:06 +02:00
Witold Filipczyk
ae23e15104
Revert "[color] Revert changes related to leading and trailing spaces and colours"
...
This reverts commit 51dd9e7e6e
.
2022-05-09 20:37:08 +02:00
Witold Filipczyk
b9188bf98c
[utf8] Fix compilation -Dutf-8=false
2022-05-07 19:31:57 +02:00
Witold Filipczyk
8ee9062955
[options] Introduced ui.background_char. Refs #142
...
Integer code of background character.
For example:
32 for space
9617 is default value (TV background char).
2022-03-25 20:47:04 +01:00
Witold Filipczyk
6d6a058e37
[viewer] Fill backgroud with Turbo Vision's char
...
It is a workaround, because I did not know how to fix issue
with shadows in 24bit mode.
2022-03-20 16:47:19 +01:00
Witold Filipczyk
1b9072307a
[background] Turbo Vision's background on startup screen
2022-03-20 14:34:19 +01:00
Witold Filipczyk
6c72b54658
[clipboard] _node
2022-03-19 10:27:12 +01:00
Witold Filipczyk
f666ea48ed
[link] removed commented code
2022-03-19 10:11:40 +01:00
Witold Filipczyk
659e8058d4
[search] removed commented code
2022-03-19 10:09:53 +01:00
Witold Filipczyk
a5d62bc4c3
[viewer] Add _node calls for "searched" color.
...
Proper handling of displaying node_number's colors will be implemented later.
2022-03-15 20:52:07 +01:00
Witold Filipczyk
0d19a1063f
[form] explicit cast
2022-02-21 19:42:30 +01:00
Witold Filipczyk
c073cba185
[form] explicit cast to char *
2022-02-21 19:40:16 +01:00
Witold Filipczyk
af06f55353
[search] changed declaration of search_function
2022-02-21 19:37:52 +01:00
Witold Filipczyk
f7d0d5f77d
[search] explicit casts to char *
2022-02-21 19:33:10 +01:00
Witold Filipczyk
c7c9295eba
[textarea] const ed
2022-02-21 19:22:45 +01:00
Witold Filipczyk
7b3ebd8fb3
[search] const in get_link_typeahead_search
2022-02-21 19:20:09 +01:00
Witold Filipczyk
020812bca2
[dump] const header
2022-02-21 19:13:37 +01:00