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
Witold Filipczyk
08ef46c32e
[viewer] casts to void * in calls of open_in_new_window
2022-02-21 17:22:41 +01:00
Witold Filipczyk
e432fc8c91
[bfu] cast in call of add_dlg_button
2022-02-21 16:03:31 +01:00
Witold Filipczyk
ac485a429d
[form] const value in init_submitted_value
2022-02-18 14:27:01 +01:00
Witold Filipczyk
f3037662eb
[dump] const in dump_print
2022-02-14 20:23:38 +01:00
Witold Filipczyk
6575f71dd4
[bfu] const in load_input_history and save_input_history
2022-02-11 19:57:36 +01:00
Witold Filipczyk
9916273dd7
[text] explicit cast to char
2022-02-06 17:12:47 +01:00
Witold Filipczyk
cba95b2b30
[event] union for const/non-const void *
2022-01-30 19:19:20 +01:00
Witold Filipczyk
91bf93a784
[const] const char in base64_decode and init_submitted_value
2022-01-30 14:48:43 +01:00
Witold Filipczyk
1e4014b2c0
[search] cast
2022-01-29 11:22:39 +01:00
Witold Filipczyk
f1412534ed
[kbd] enum edit_action -> edit_action_T
2022-01-28 18:02:14 +01:00
Witold Filipczyk
44f0adb1cb
[cache] enum cache_mode -> cache_mode_T
2022-01-28 17:32:27 +01:00
Witold Filipczyk
2b9f3d5cf9
[download] enum download_flags -> download_flags_T
2022-01-28 17:26:15 +01:00
Witold Filipczyk
09e7b73a41
[renderer] enum link_state -> link_state_T, enum color_flags -> color_flags_T
2022-01-28 16:11:54 +01:00
Witold Filipczyk
5b0ec2c4f2
[form] added default
2022-01-28 15:44:49 +01:00
Witold Filipczyk
cd49b315d9
[action] enum main_action -> main_action_T
2022-01-28 15:26:43 +01:00
Witold Filipczyk
d839efc9f4
[color] enum color_mode -> color_mode_T
2022-01-28 14:42:48 +01:00
Witold Filipczyk
4837d4eb92
[viewer] cast
2022-01-26 18:18:44 +01:00
Witold Filipczyk
de2a787900
[strstr] no cast
2022-01-18 20:55:08 +01:00
Witold Filipczyk
e62b301657
[strrchr] Drop cast to const char *
2022-01-18 20:42:29 +01:00
Witold Filipczyk
53a860a3d6
[strchr] casting first parameter to const char * was not a good idea
2022-01-18 20:30:48 +01:00
Witold Filipczyk
8999a19593
[cast] Explicit casts for narrowing conversions
2022-01-17 17:07:46 +01:00
Witold Filipczyk
23f1a7cdce
[mem_align_alloc] cast
2022-01-17 15:54:50 +01:00
Witold Filipczyk
881f896e85
[mem_calloc] Cast
2022-01-16 21:08:50 +01:00
Witold Filipczyk
be8a030fa7
[mem_realloc] cast return value
2022-01-16 19:38:30 +01:00
Witold Filipczyk
20c161559c
[mem_alloc] cast return value
2022-01-16 19:09:27 +01:00
Witold Filipczyk
0e8ee7876a
[uri] 0 -> URI_NONE in get_uri to decrease number of warnings
2022-01-14 20:52:17 +01:00
Witold Filipczyk
9d02cfdc46
[search] document.browse.search.ignore_history . Default 0
...
When enabled will ignore previous searches in the typeahead mode
available by (cursor up, cursor down).
2021-11-05 16:25:17 +01:00
Witold Filipczyk
af9cf82e3d
[search] bool document.browse.search.beginning_only . Default 0
...
Whether typeahead searching should match only the beginnings of links.
2021-11-04 14:02:45 +01:00
Witold Filipczyk
26a319e581
[quickjs] form.c
2021-11-02 20:49:03 +01:00
Witold Filipczyk
dc12c13244
[quickjs] Test commit. window.alert('Blabla') works.
2021-10-17 18:17:48 +02:00
Witold Filipczyk
9f52b04f2a
[links] Added bool document.browse.links.show_goto . Refs #127
2021-09-23 11:36:26 +02:00
Witold Filipczyk
7b2179be1f
[status] window_status unconditional. Refs #128
2021-09-22 15:01:52 +02:00
Witold Filipczyk
7feb5f4140
[mouse] Show message about disabled/enabled mouse
2021-09-21 19:02:43 +02:00
Witold Filipczyk
6ffa7ec6e3
[ecmascript] Show message in status about enabling/disabling Ecmascript
2021-09-20 18:40:01 +02:00
Witold Filipczyk
929c8c9d81
[action] Added toggle-ecmascript action
2021-09-19 19:40:01 +02:00
Witold Filipczyk
30f7601650
[form] detach form view
2021-09-16 21:43:28 +02:00
Witold Filipczyk
df9cb9dc5a
[forms] Try to JS_SetElement
2021-09-16 20:26:20 +02:00
Witold Filipczyk
c30c6fa6c2
Revert "[textarea] Do not allow fs->vpos to be negative. Refs #126 "
...
This reverts commit a0eb60d4bc
.
2021-09-02 16:25:59 +02:00
Witold Filipczyk
a0eb60d4bc
[textarea] Do not allow fs->vpos to be negative. Refs #126
...
It is rather a workaround.
2021-09-01 19:56:47 +02:00
Witold Filipczyk
66305fcb50
[gettext] try system gettext. Refs #62
...
Now, only meson was changed.
-Dnls=true -Dgettext=true
2021-08-08 21:25:08 +02:00
Witold Filipczyk
857c819da1
[iframe] next|prev frame when there is no link current doc_view
2021-08-02 20:08:45 +02:00
Witold Filipczyk
f77206f369
[iframe] Check whether link was changed
2021-08-02 20:08:11 +02:00
Witold Filipczyk
9bf5494d10
[iframes] Draw frame around iframe.
2021-07-31 14:48:13 +02:00
Witold Filipczyk
a3ebbc9f02
[iframe] Fix issue with cursor position
2021-07-30 16:44:36 +02:00
Witold Filipczyk
a945d47584
[iframes] No progress today
2021-07-28 21:22:47 +02:00
Witold Filipczyk
734028277c
[iframe] Small progress.
2021-07-26 21:28:19 +02:00
Witold Filipczyk
62a08231ca
[dump] Fix for hr. Refs #106
2021-03-17 14:56:12 +01:00
sgerwk
d894f563d0
optionally, going back from initial page closes tab or elinks
2021-03-13 13:07:30 +01:00
Witold Filipczyk
f351fbcf6a
[dump] Experiment with pre_format_hook in dump. Refs #103
2021-03-07 22:07:34 +01:00
sgerwk
bd83c3e69e
alert when moving to the next match of a failed search
2021-03-03 09:33:21 +01:00
sgerwk
59d682644f
fix error message when no previous search was performed
2021-03-03 09:13:11 +01:00
Witold Filipczyk
89a5f106ef
[search] Check NULL. Refs #99
2021-02-28 16:44:17 +01:00
Witold Filipczyk
acbcfd2eba
[char] More casts to unsigned char
2021-02-27 09:51:23 +01:00
Witold Filipczyk
dfbd75c958
[select] off by two. Refs #88
...
Also changed a bit utf8_to_unicode.
2021-01-17 21:56:40 +01:00
Witold Filipczyk
0fea79cc8f
[cflags] Removed -Wno-pointer-sign
...
Likely some new bugs were introduced by this change.
The long term goal is clean compilation by g++.
2021-01-02 16:20:27 +01:00
Witold Filipczyk
08da1d87eb
[search] set searched word in setup_session. Refs #76
2020-11-04 17:26:46 +01:00
Witold Filipczyk
0989068e5c
[search] Set current_search_number to -1. Refs #76
2020-11-01 14:57:25 +01:00
Witold Filipczyk
073a4374ff
[search] Repeat searching, when pressing 'n'. Refs #76
...
On new page number_of_search_points is 0, so do search in such case,
when user pressed 'n'.
2020-10-31 22:47:17 +01:00
Witold Filipczyk
d1ecd45828
[mozjs52] It compiles, but often segfaults. No idea yet how to fix it.
2020-10-27 14:53:24 +01:00
Witold Filipczyk
1f57e72212
[mozjs24] Allow build elinks with g++
...
SpiderMonkey was updated to mozjs24. If you want to build elinks
with ecmascript support, you must compile using g++ with -fpermissive .
There is a lot of warnings.
There are some memleaks in ecmascript code, especially related to JSAutoCompartment.
I don't know yet, where and how to free it.
Debian does not support mozjs24, so I'm going to gradually update SpiderMonkey version.
2020-10-05 20:14:55 +02:00
Witold Filipczyk
3590191086
[search] Take into account vertical_overlap in vertical_scrolling to found text. Refs #68
2020-09-18 20:21:37 +02:00
Witold Filipczyk
5ad989ad43
[search] Do not scroll horizontally, when searched text is visible on screen. Refs #68
2020-09-18 10:23:00 +02:00
Witold Filipczyk
5f87bdbcb2
[meson] meson build scripts.
...
Not finished yet, but I added to motivate myself and others.
The goal is to get a few seconds faster builds.
autotools still will be available.
2020-09-05 22:06:01 +02:00
Witold Filipczyk
bec41b6e2f
[clip] Page down overlaps sometimes.
2020-08-04 19:22:31 +02:00
Witold Filipczyk
964530422a
[clipboard] Allow to enter the clipboard mode only with cursor routing. Refs #59
2020-08-04 16:07:19 +02:00
Witold Filipczyk
4bdf5fbbc4
[clipboard] Fixes
2020-08-03 18:56:26 +02:00
Witold Filipczyk
effb18d31f
[clipboard] Allow to change rectangle in both directions
2020-08-03 18:27:25 +02:00
Witold Filipczyk
ed93225510
[draw] Refresh all page, when clipboard buffer is drawn.
2020-08-03 17:22:21 +02:00
Witold Filipczyk
53002765c4
[clipboard] Off by one.
2020-08-02 16:24:00 +02:00
Witold Filipczyk
9fd79ec508
[clipboard] Show last line
2020-08-02 16:20:08 +02:00
Witold Filipczyk
b6ec0c64d5
[clipboard] Fixes.
2020-08-02 15:41:35 +02:00