1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

477 Commits

Author SHA1 Message Date
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
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